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.

21 lines
429 B

  1. //
  2. // FetchRecipientsModel.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 16/08/2019.
  6. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import ObjectMapper
  9. struct FetchRecipientsModel: Mappable {
  10. var recipients: [Recipient]?
  11. var accounts: [Account]?
  12. init?(map: Map) {}
  13. mutating func mapping(map: Map) {
  14. recipients <- map["Receivers"]
  15. accounts <- map["accounts"]
  16. }
  17. }