ChargeRequestMessage constructor

ChargeRequestMessage({
  1. String? method,
  2. String token = '',
  3. String customerPaymentMethodId = '',
  4. bool restrictPaymentMethod = false,
  5. String customerId = '',
  6. String invoiceId = '',
  7. String email = '',
  8. int months = 1,
  9. int? discountCents,
  10. List<InvoiceItem>? invoiceItems,
  11. PayerModel? payerCustomer,
  12. int? bankSlipExtraDays,
  13. bool keepDunning = false,
})

Implementation

ChargeRequestMessage({
  this.method,
  this.token = '',
  this.customerPaymentMethodId = '',
  this.restrictPaymentMethod = false,
  this.customerId = '',
  this.invoiceId = '',
  this.email = '',
  this.months = 1,
  this.discountCents,
  this.invoiceItems,
  this.payerCustomer,
  this.bankSlipExtraDays,
  this.keepDunning = false,
});