CheckoutUsBankAccountPaymentMethodOptions.fromJson constructor
CheckoutUsBankAccountPaymentMethodOptions.fromJson(
- Object? json
Implementation
factory CheckoutUsBankAccountPaymentMethodOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return CheckoutUsBankAccountPaymentMethodOptions(
financialConnections: map['financial_connections'] == null
? null
: LinkedAccountOptionsUsBankAccount.fromJson(
map['financial_connections']),
setupFutureUsage: map['setup_future_usage'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsSetupFutureUsage.fromJson(
map['setup_future_usage']),
verificationMethod: map['verification_method'] == null
? null
: CheckoutUsBankAccountPaymentMethodOptionsVerificationMethod
.fromJson(map['verification_method']),
);
}