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