CollectBankAccountParams constructor
- @JsonSerializable(explicitToJson: true)
const
CollectBankAccountParams(
{ - required BillingDetails billingDetails,
- @Default(PaymentMethodType.USBankAccount) PaymentMethodType paymentMethodType,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory CollectBankAccountParams({
/// Billingdetails of the account holder
///
/// It is required to fill in the name in the billing details
required BillingDetails billingDetails,
/// The paymentmethod type. At this point only method [PaymentMethodType.USBankAccount]
/// is supported.
@Default(PaymentMethodType.USBankAccount)
PaymentMethodType paymentMethodType,
}) = _CollectBankAccountParams;