CollectBankAccountForSetupParams constructor
const
CollectBankAccountForSetupParams({
- @JsonKey.new(name: 'payment_method_type') required String paymentMethodType,
- @JsonKey.new(name: 'payment_method_data') CollectBankAccountForSetupMethodData? paymentMethodData,
Implementation
const factory CollectBankAccountForSetupParams({
/// 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')
CollectBankAccountForSetupMethodData? paymentMethodData,
}) = _CollectBankAccountForSetupParams;