The e-cigarette giant will have to pay out $13 million within 30 days and the remaining $27 million over the next six years.