PromotionCodeCreateOptions constructor

const PromotionCodeCreateOptions({
  1. bool? active,
  2. String? code,
  3. required String coupon,
  4. String? customer,
  5. List<String>? expand,
  6. DateTime? expiresAt,
  7. int? maxRedemptions,
  8. Map<String, String>? metadata,
  9. PromotionCodeRestrictions? restrictions,
})

Implementation

const PromotionCodeCreateOptions({
  this.active,
  this.code,
  required this.coupon,
  this.customer,
  this.expand,
  this.expiresAt,
  this.maxRedemptions,
  this.metadata,
  this.restrictions,
});