SwiftAccountPayload constructor

SwiftAccountPayload({
  1. String? beneficiaryName,
  2. String? beneficiaryAccountNr,
  3. String? beneficiaryAddress,
  4. String? beneficiaryCity,
  5. String? beneficiaryPhone,
  6. String? specialInstructions,
  7. String? bankSwiftCode,
  8. String? bankCountryCode,
  9. String? bankName,
  10. String? bankBranch,
  11. String? bankAddress,
  12. String? intermediarySwiftCode,
  13. String? intermediaryCountryCode,
  14. String? intermediaryName,
  15. String? intermediaryBranch,
  16. String? intermediaryAddress,
})

Implementation

factory SwiftAccountPayload({
  $core.String? beneficiaryName,
  $core.String? beneficiaryAccountNr,
  $core.String? beneficiaryAddress,
  $core.String? beneficiaryCity,
  $core.String? beneficiaryPhone,
  $core.String? specialInstructions,
  $core.String? bankSwiftCode,
  $core.String? bankCountryCode,
  $core.String? bankName,
  $core.String? bankBranch,
  $core.String? bankAddress,
  $core.String? intermediarySwiftCode,
  $core.String? intermediaryCountryCode,
  $core.String? intermediaryName,
  $core.String? intermediaryBranch,
  $core.String? intermediaryAddress,
}) {
  final $result = create();
  if (beneficiaryName != null) {
    $result.beneficiaryName = beneficiaryName;
  }
  if (beneficiaryAccountNr != null) {
    $result.beneficiaryAccountNr = beneficiaryAccountNr;
  }
  if (beneficiaryAddress != null) {
    $result.beneficiaryAddress = beneficiaryAddress;
  }
  if (beneficiaryCity != null) {
    $result.beneficiaryCity = beneficiaryCity;
  }
  if (beneficiaryPhone != null) {
    $result.beneficiaryPhone = beneficiaryPhone;
  }
  if (specialInstructions != null) {
    $result.specialInstructions = specialInstructions;
  }
  if (bankSwiftCode != null) {
    $result.bankSwiftCode = bankSwiftCode;
  }
  if (bankCountryCode != null) {
    $result.bankCountryCode = bankCountryCode;
  }
  if (bankName != null) {
    $result.bankName = bankName;
  }
  if (bankBranch != null) {
    $result.bankBranch = bankBranch;
  }
  if (bankAddress != null) {
    $result.bankAddress = bankAddress;
  }
  if (intermediarySwiftCode != null) {
    $result.intermediarySwiftCode = intermediarySwiftCode;
  }
  if (intermediaryCountryCode != null) {
    $result.intermediaryCountryCode = intermediaryCountryCode;
  }
  if (intermediaryName != null) {
    $result.intermediaryName = intermediaryName;
  }
  if (intermediaryBranch != null) {
    $result.intermediaryBranch = intermediaryBranch;
  }
  if (intermediaryAddress != null) {
    $result.intermediaryAddress = intermediaryAddress;
  }
  return $result;
}