PaymentMethodOptionsBancontact.fromJson constructor
PaymentMethodOptionsBancontact.fromJson(
- Object? json
Implementation
factory PaymentMethodOptionsBancontact.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodOptionsBancontact(
preferredLanguage:
InvoicePaymentMethodOptionsBancontactPreferredLanguage.fromJson(
map['preferred_language']),
setupFutureUsage: map['setup_future_usage'] == null
? null
: CheckoutLinkPaymentMethodOptionsSetupFutureUsage.fromJson(
map['setup_future_usage']),
);
}