AccountCapabilities.fromJson constructor
AccountCapabilities.fromJson(
- Object? json
Implementation
factory AccountCapabilities.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountCapabilities(
acssDebitPayments: map['acss_debit_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['acss_debit_payments']),
affirmPayments: map['affirm_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['affirm_payments']),
afterpayClearpayPayments: map['afterpay_clearpay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['afterpay_clearpay_payments']),
amazonPayPayments: map['amazon_pay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['amazon_pay_payments']),
auBecsDebitPayments: map['au_becs_debit_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['au_becs_debit_payments']),
bacsDebitPayments: map['bacs_debit_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['bacs_debit_payments']),
bancontactPayments: map['bancontact_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['bancontact_payments']),
bankTransferPayments: map['bank_transfer_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['bank_transfer_payments']),
blikPayments: map['blik_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['blik_payments']),
boletoPayments: map['boleto_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['boleto_payments']),
cardIssuing: map['card_issuing'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['card_issuing']),
cardPayments: map['card_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['card_payments']),
cartesBancairesPayments: map['cartes_bancaires_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['cartes_bancaires_payments']),
cashappPayments: map['cashapp_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['cashapp_payments']),
epsPayments: map['eps_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['eps_payments']),
fpxPayments: map['fpx_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['fpx_payments']),
giropayPayments: map['giropay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['giropay_payments']),
grabpayPayments: map['grabpay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['grabpay_payments']),
idealPayments: map['ideal_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['ideal_payments']),
indiaInternationalPayments: map['india_international_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['india_international_payments']),
jcbPayments: map['jcb_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['jcb_payments']),
klarnaPayments: map['klarna_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['klarna_payments']),
konbiniPayments: map['konbini_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['konbini_payments']),
legacyPayments: map['legacy_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['legacy_payments']),
linkPayments: map['link_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['link_payments']),
mobilepayPayments: map['mobilepay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['mobilepay_payments']),
oxxoPayments: map['oxxo_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['oxxo_payments']),
p24Payments: map['p24_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['p24_payments']),
paynowPayments: map['paynow_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['paynow_payments']),
promptpayPayments: map['promptpay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['promptpay_payments']),
revolutPayPayments: map['revolut_pay_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['revolut_pay_payments']),
sepaDebitPayments: map['sepa_debit_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['sepa_debit_payments']),
sofortPayments: map['sofort_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['sofort_payments']),
swishPayments: map['swish_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['swish_payments']),
taxReportingUs1099K: map['tax_reporting_us_1099_k'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['tax_reporting_us_1099_k']),
taxReportingUs1099Misc: map['tax_reporting_us_1099_misc'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['tax_reporting_us_1099_misc']),
transfers: map['transfers'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['transfers']),
treasury: map['treasury'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['treasury']),
usBankAccountAchPayments: map['us_bank_account_ach_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(
map['us_bank_account_ach_payments']),
zipPayments: map['zip_payments'] == null
? null
: AccountCapabilitiesAcssDebitPayments.fromJson(map['zip_payments']),
);
}