PaymentIntentPaymentMethodOptionsAuBecsDebit.fromJson constructor

PaymentIntentPaymentMethodOptionsAuBecsDebit.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentPaymentMethodOptionsAuBecsDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentPaymentMethodOptionsAuBecsDebit(
      setupFutureUsage: map['setup_future_usage'] == null
          ? null
          : CheckoutAcssDebitPaymentMethodOptionsSetupFutureUsage.fromJson(
              map['setup_future_usage']));
}