BankAccountPayload constructor
BankAccountPayload({
- String? holderName,
- String? bankName,
- String? bankId,
- String? branchId,
- String? accountNr,
- String? accountType,
- String? holderTaxId,
- @Deprecated('This field is deprecated.') String? email,
- NationalBankAccountPayload? nationalBankAccountPayload,
- SameBankAccountPayload? sameBankAccontPayload,
- SpecificBanksAccountPayload? specificBanksAccountPayload,
- String? nationalAccountId,
- AchTransferAccountPayload? achTransferAccountPayload,
- DomesticWireTransferAccountPayload? domesticWireTransferAccountPayload,
Implementation
factory BankAccountPayload({
$core.String? holderName,
$core.String? bankName,
$core.String? bankId,
$core.String? branchId,
$core.String? accountNr,
$core.String? accountType,
$core.String? holderTaxId,
@$core.Deprecated('This field is deprecated.')
$core.String? email,
NationalBankAccountPayload? nationalBankAccountPayload,
SameBankAccountPayload? sameBankAccontPayload,
SpecificBanksAccountPayload? specificBanksAccountPayload,
$core.String? nationalAccountId,
AchTransferAccountPayload? achTransferAccountPayload,
DomesticWireTransferAccountPayload? domesticWireTransferAccountPayload,
}) {
final $result = create();
if (holderName != null) {
$result.holderName = holderName;
}
if (bankName != null) {
$result.bankName = bankName;
}
if (bankId != null) {
$result.bankId = bankId;
}
if (branchId != null) {
$result.branchId = branchId;
}
if (accountNr != null) {
$result.accountNr = accountNr;
}
if (accountType != null) {
$result.accountType = accountType;
}
if (holderTaxId != null) {
$result.holderTaxId = holderTaxId;
}
if (email != null) {
// ignore: deprecated_member_use_from_same_package
$result.email = email;
}
if (nationalBankAccountPayload != null) {
$result.nationalBankAccountPayload = nationalBankAccountPayload;
}
if (sameBankAccontPayload != null) {
$result.sameBankAccontPayload = sameBankAccontPayload;
}
if (specificBanksAccountPayload != null) {
$result.specificBanksAccountPayload = specificBanksAccountPayload;
}
if (nationalAccountId != null) {
$result.nationalAccountId = nationalAccountId;
}
if (achTransferAccountPayload != null) {
$result.achTransferAccountPayload = achTransferAccountPayload;
}
if (domesticWireTransferAccountPayload != null) {
$result.domesticWireTransferAccountPayload = domesticWireTransferAccountPayload;
}
return $result;
}