Coupon constructor
Coupon({
- int? id,
- String? code,
- DiscountTypeEnum? discountType,
- String? description,
- double? lessonDiscount,
- int? applyStudent,
- int? applyTutor,
- DateTime? startAt,
- DateTime? endAt,
- int? originalUnitPriceInCents,
- int? presentUnitPriceInCents,
- int? originalAmountInCents,
- int? presentAmountInCents,
- 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,
});