PaymentIntentCreateOptionsPaymentMethodOptionsUsBankAccountMandateOptions.fromJson constructor
PaymentIntentCreateOptionsPaymentMethodOptionsUsBankAccountMandateOptions.fromJson(
- Object? json
Implementation
factory PaymentIntentCreateOptionsPaymentMethodOptionsUsBankAccountMandateOptions.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentCreateOptionsPaymentMethodOptionsUsBankAccountMandateOptions(
collectionMethod: map['collection_method'] == null
? null
: PaymentIntentCollectionMethod.fromJson(map['collection_method']));
}