PaymentIntentCreateOptionsPaymentMethodOptionsAuBecsDebit.fromJson constructor

PaymentIntentCreateOptionsPaymentMethodOptionsAuBecsDebit.fromJson(
  1. Object? json
)

Implementation

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