toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.accountHolderName != null) data['accountHolderName'] = this.accountHolderName;
if (this.accountHolderType != null) data['accountHolderType'] = this.accountHolderType;
if (this.accountNumber != null) data['accountNumber'] = this.accountNumber;
if (this.bankName != null) data['bankName'] = this.bankName;
if (this.countryCode != null) data['countryCode'] = this.countryCode;
if (this.currency != null) data['currency'] = this.currency;
if (this.fingerprint != null) data['fingerprint'] = this.fingerprint;
data['last4'] = this.last4;
if (this.routingNumber != null) data['routingNumber'] = this.routingNumber;
return data;
}