Coupon constructor

Coupon({
  1. int? id,
  2. String? code,
  3. DiscountTypeEnum? discountType,
  4. String? description,
  5. double? lessonDiscount,
  6. int? applyStudent,
  7. int? applyTutor,
  8. DateTime? startAt,
  9. DateTime? endAt,
  10. int? originalUnitPriceInCents,
  11. int? presentUnitPriceInCents,
  12. int? originalAmountInCents,
  13. int? presentAmountInCents,
  14. int? eligibleMinBookingNumber,
})

Returns a new Coupon instance.

Implementation

Coupon({
  this.id,
  this.code,
  this.discountType,
  this.description,
  this.lessonDiscount,
  this.applyStudent,
  this.applyTutor,
  this.startAt,
  this.endAt,
  this.originalUnitPriceInCents,
  this.presentUnitPriceInCents,
  this.originalAmountInCents,
  this.presentAmountInCents,
  this.eligibleMinBookingNumber,
});