CountryBasedPaymentAccountPayload constructor
CountryBasedPaymentAccountPayload({
- String? countryCode,
- Iterable<
String> ? acceptedCountryCodes, - BankAccountPayload? bankAccountPayload,
- CashDepositAccountPayload? cashDepositAccountPayload,
- SepaAccountPayload? sepaAccountPayload,
- WesternUnionAccountPayload? westernUnionAccountPayload,
- SepaInstantAccountPayload? sepaInstantAccountPayload,
- F2FAccountPayload? f2fAccountPayload,
- UpiAccountPayload? upiAccountPayload,
- PaytmAccountPayload? paytmAccountPayload,
- IfscBasedAccountPayload? ifscBasedAccountPayload,
- NequiAccountPayload? nequiAccountPayload,
- BizumAccountPayload? bizumAccountPayload,
- PixAccountPayload? pixAccountPayload,
- SatispayAccountPayload? satispayAccountPayload,
- StrikeAccountPayload? strikeAccountPayload,
- TikkieAccountPayload? tikkieAccountPayload,
- TransferwiseUsdAccountPayload? transferwiseUsdAccountPayload,
- SwiftAccountPayload? swiftAccountPayload,
Implementation
factory CountryBasedPaymentAccountPayload({
$core.String? countryCode,
$core.Iterable<$core.String>? acceptedCountryCodes,
BankAccountPayload? bankAccountPayload,
CashDepositAccountPayload? cashDepositAccountPayload,
SepaAccountPayload? sepaAccountPayload,
WesternUnionAccountPayload? westernUnionAccountPayload,
SepaInstantAccountPayload? sepaInstantAccountPayload,
F2FAccountPayload? f2fAccountPayload,
UpiAccountPayload? upiAccountPayload,
PaytmAccountPayload? paytmAccountPayload,
IfscBasedAccountPayload? ifscBasedAccountPayload,
NequiAccountPayload? nequiAccountPayload,
BizumAccountPayload? bizumAccountPayload,
PixAccountPayload? pixAccountPayload,
SatispayAccountPayload? satispayAccountPayload,
StrikeAccountPayload? strikeAccountPayload,
TikkieAccountPayload? tikkieAccountPayload,
TransferwiseUsdAccountPayload? transferwiseUsdAccountPayload,
SwiftAccountPayload? swiftAccountPayload,
}) {
final $result = create();
if (countryCode != null) {
$result.countryCode = countryCode;
}
if (acceptedCountryCodes != null) {
$result.acceptedCountryCodes.addAll(acceptedCountryCodes);
}
if (bankAccountPayload != null) {
$result.bankAccountPayload = bankAccountPayload;
}
if (cashDepositAccountPayload != null) {
$result.cashDepositAccountPayload = cashDepositAccountPayload;
}
if (sepaAccountPayload != null) {
$result.sepaAccountPayload = sepaAccountPayload;
}
if (westernUnionAccountPayload != null) {
$result.westernUnionAccountPayload = westernUnionAccountPayload;
}
if (sepaInstantAccountPayload != null) {
$result.sepaInstantAccountPayload = sepaInstantAccountPayload;
}
if (f2fAccountPayload != null) {
$result.f2fAccountPayload = f2fAccountPayload;
}
if (upiAccountPayload != null) {
$result.upiAccountPayload = upiAccountPayload;
}
if (paytmAccountPayload != null) {
$result.paytmAccountPayload = paytmAccountPayload;
}
if (ifscBasedAccountPayload != null) {
$result.ifscBasedAccountPayload = ifscBasedAccountPayload;
}
if (nequiAccountPayload != null) {
$result.nequiAccountPayload = nequiAccountPayload;
}
if (bizumAccountPayload != null) {
$result.bizumAccountPayload = bizumAccountPayload;
}
if (pixAccountPayload != null) {
$result.pixAccountPayload = pixAccountPayload;
}
if (satispayAccountPayload != null) {
$result.satispayAccountPayload = satispayAccountPayload;
}
if (strikeAccountPayload != null) {
$result.strikeAccountPayload = strikeAccountPayload;
}
if (tikkieAccountPayload != null) {
$result.tikkieAccountPayload = tikkieAccountPayload;
}
if (transferwiseUsdAccountPayload != null) {
$result.transferwiseUsdAccountPayload = transferwiseUsdAccountPayload;
}
if (swiftAccountPayload != null) {
$result.swiftAccountPayload = swiftAccountPayload;
}
return $result;
}