CollectBankAccountForPaymentParams constructor
const
CollectBankAccountForPaymentParams({
- @JsonKey.new(name: 'payment_method_type') required String paymentMethodType,
- @JsonKey.new(name: 'payment_method_data') CollectBankAccountForPaymentMethodData? paymentMethodData,
Implementation
const factory CollectBankAccountForPaymentParams({
/// The type of payment method to collect. Currently only
/// `us_bank_account` is supported.
@JsonKey(name: 'payment_method_type') required String paymentMethodType,
/// Payment method data to prefill, including billing details.
@JsonKey(name: 'payment_method_data')
CollectBankAccountForPaymentMethodData? paymentMethodData,
}) = _CollectBankAccountForPaymentParams;