SetupIntentUsBankAccount.fromJson constructor
SetupIntentUsBankAccount.fromJson(
- Object? json
Implementation
factory SetupIntentUsBankAccount.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SetupIntentUsBankAccount(
financialConnections: map['financial_connections'] == null
? null
: PaymentIntentFinancialConnections.fromJson(
map['financial_connections']),
mandateOptions: map['mandate_options'] == null
? null
: PaymentIntentCreateOptionsPaymentMethodOptionsUsBankAccountMandateOptions
.fromJson(map['mandate_options']),
networks: map['networks'] == null
? null
: PaymentIntentNetworks.fromJson(map['networks']),
verificationMethod: map['verification_method'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsVerificationMethod.fromJson(
map['verification_method']),
);
}