CustomerDiscount constructor
const
CustomerDiscount({
- String? checkoutSession,
- required Coupon coupon,
- BankAccountCustomerOrId? customer,
- DateTime? end,
- required String id,
- String? invoice,
- String? invoiceItem,
- PromotionCodeOrId? promotionCode,
- required DateTime start,
- String? subscription,
Describes the current discount active on the customer, if there is one.
Implementation
const CustomerDiscount({
this.checkoutSession,
required this.coupon,
this.customer,
this.end,
required this.id,
this.invoice,
this.invoiceItem,
this.promotionCode,
required this.start,
this.subscription,
});