Coupon constructor

Coupon({
  1. String? id,
  2. String? object,
  3. int? amountOff,
  4. int? created,
  5. String? currency,
  6. String? duration,
  7. int? durationInMonths,
  8. bool? livemode,
  9. int? maxRedemptions,
  10. Map<String, dynamic>? metadata,
  11. String? name,
  12. double? percentOff,
  13. int? redeemBy,
  14. int? timesRedeemed,
  15. bool? valid,
})

Implementation

Coupon({
  this.id,
  this.object,
  this.amountOff,
  this.created,
  this.currency,
  this.duration,
  this.durationInMonths,
  this.livemode,
  this.maxRedemptions,
  this.metadata,
  this.name,
  this.percentOff,
  this.redeemBy,
  this.timesRedeemed,
  this.valid,
});