CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransfer.fromJson constructor
CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransfer.fromJson(
- Object? json
Implementation
factory CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransfer.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransfer(
euBankTransfer: map['eu_bank_transfer'] == null
? null
: CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceEuBankTransfer
.fromJson(map['eu_bank_transfer']),
gbBankTransfer: map['gb_bank_transfer'] == null
? null
: CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer
.fromJson(map['gb_bank_transfer']),
jpBankTransfer: map['jp_bank_transfer'] == null
? null
: CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer
.fromJson(map['jp_bank_transfer']),
reference: map['reference'] == null ? null : (map['reference'] as String),
type:
CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferType
.fromJson(map['type']),
usBankTransfer: map['us_bank_transfer'] == null
? null
: CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer
.fromJson(map['us_bank_transfer']),
);
}