Beneficiary constructor

Beneficiary({
  1. required String id,
  2. required String bankAccountHolderName,
  3. required String name,
  4. String? email,
  5. List<PaymentType?>? paymentTypes,
  6. List<String>? beneficiaryAddress,
  7. String? beneficiaryCountry,
  8. EntityType? beneficiaryEntityType,
  9. String? beneficiaryCompanyName,
  10. String? beneficiaryFirstName,
  11. String? beneficiaryLastName,
  12. String? beneficiaryCity,
  13. String? beneficiaryPostcode,
  14. String? beneficiaryStateOrProvince,
  15. String? beneficiaryDateOfBirth,
  16. EntityType? beneficiaryIdentificationType,
  17. String? beneficiaryIdentificationValue,
  18. String? bankCountry,
  19. String? bankName,
  20. List<String>? bankAddress,
  21. BankAccountType? bankAccountType,
  22. String? onBehalfOf,
  23. String? currency,
  24. String? accountNumber,
  25. RoutingCodeType? routingCodeType1,
  26. String? routingCodeValue1,
  27. RoutingCodeType? routingCodeType2,
  28. String? routingCodeValue2,
  29. String? bicSwift,
  30. String? iban,
  31. bool? defaultBeneficiary,
  32. String? creatorContactId,
  33. String? beneficiaryExternalReference,
  34. DateTime? createdAt,
  35. DateTime? updatedAt,
})

Implementation

Beneficiary({
  required this.id,
  required this.bankAccountHolderName,
  required this.name,
  this.email,
  this.paymentTypes,
  this.beneficiaryAddress,
  this.beneficiaryCountry,
  this.beneficiaryEntityType,
  this.beneficiaryCompanyName,
  this.beneficiaryFirstName,
  this.beneficiaryLastName,
  this.beneficiaryCity,
  this.beneficiaryPostcode,
  this.beneficiaryStateOrProvince,
  this.beneficiaryDateOfBirth,
  this.beneficiaryIdentificationType,
  this.beneficiaryIdentificationValue,
  this.bankCountry,
  this.bankName,
  this.bankAddress,
  this.bankAccountType,
  this.onBehalfOf,
  this.currency,
  this.accountNumber,
  this.routingCodeType1,
  this.routingCodeValue1,
  this.routingCodeType2,
  this.routingCodeValue2,
  this.bicSwift,
  this.iban,
  this.defaultBeneficiary,
  this.creatorContactId,
  this.beneficiaryExternalReference,
  this.createdAt,
  this.updatedAt,
});