SetupIntentPaymentMethodOptionsAcssDebit.fromJson constructor
SetupIntentPaymentMethodOptionsAcssDebit.fromJson(
- Object? json
Implementation
factory SetupIntentPaymentMethodOptionsAcssDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SetupIntentPaymentMethodOptionsAcssDebit(
currency: map['currency'] == null
? null
: SetupIntentPaymentMethodOptionsAcssDebitCurrency.fromJson(
map['currency']),
mandateOptions: map['mandate_options'] == null
? null
: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.fromJson(
map['mandate_options']),
verificationMethod: map['verification_method'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsVerificationMethod.fromJson(
map['verification_method']),
);
}