SessionAcssDebit.fromJson constructor
SessionAcssDebit.fromJson(
- Object? json
Implementation
factory SessionAcssDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SessionAcssDebit(
currency: map['currency'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsCurrency.fromJson(
map['currency']),
mandateOptions: map['mandate_options'] == null
? null
: SessionMandateOptions.fromJson(map['mandate_options']),
setupFutureUsage: map['setup_future_usage'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsSetupFutureUsage.fromJson(
map['setup_future_usage']),
verificationMethod: map['verification_method'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsVerificationMethod.fromJson(
map['verification_method']),
);
}