Sub2ApiAdminCreatePromoCodeRequest constructor

const Sub2ApiAdminCreatePromoCodeRequest({
  1. required Sub2ApiDecimal bonusAmount,
  2. Sub2ApiPromoCode? code,
  3. int maxUses = 0,
  4. DateTime? expiresAt,
  5. String notes = '',
})

Implementation

const Sub2ApiAdminCreatePromoCodeRequest({
  required this.bonusAmount,
  this.code,
  this.maxUses = 0,
  this.expiresAt,
  this.notes = '',
});