You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

  1. //
  2. // SaveRecipientModel.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 22/08/2019.
  6. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. struct ValidateAccountRequest {
  9. let firstName: String
  10. let lastName: String
  11. let accountNumber: String
  12. let accountType: String
  13. let amount: String
  14. let processID: String
  15. let payoutPartner: String
  16. var country: CountryAndServiceModel?
  17. var paymentMethod: PaymentServiceType?
  18. var bank: SendMoneyBank?
  19. var branch: BranchModel?
  20. // let idType: ReceiverIdType
  21. init(
  22. firstName: String,
  23. lastName: String,
  24. accountType: String,
  25. accountNumber: String,
  26. amount: String = "10000.0",
  27. processID: String = "",
  28. payoutPartner: String,
  29. country: CountryAndServiceModel?,
  30. paymentMethod: PaymentServiceType?,
  31. bank: SendMoneyBank?,
  32. branch: BranchModel?
  33. // idType: ReceiverIdType
  34. ) {
  35. self.firstName = firstName
  36. self.lastName = lastName
  37. // self.idType = idType
  38. self.accountType = accountType
  39. self.accountNumber = accountNumber
  40. self.country = country
  41. self.paymentMethod = paymentMethod
  42. self.bank = bank
  43. self.amount = amount
  44. self.processID = processID
  45. self.payoutPartner = payoutPartner
  46. self.branch = branch
  47. }
  48. }