PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.fromJson constructor
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.fromJson(
- Object? json
Implementation
factory PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit(
customMandateUrl: map['custom_mandate_url'] == null
? null
: (map['custom_mandate_url'] as String),
intervalDescription: map['interval_description'] == null
? null
: (map['interval_description'] as String),
paymentSchedule: map['payment_schedule'] == null
? null
: CheckoutAcssDebitMandateOptionsPaymentSchedule.fromJson(
map['payment_schedule']),
transactionType: map['transaction_type'] == null
? null
: CheckoutAcssDebitMandateOptionsTransactionType.fromJson(
map['transaction_type']),
);
}