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.

33 lines
772 B

  1. //
  2. // RechargeHistory.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 2019/11/04.
  6. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import ObjectMapper
  9. struct RechargeHistory: Mappable {
  10. var cardName: String?
  11. var requestTime: String?
  12. var phoneNo: String?
  13. var chargeType: String?
  14. var productPrice: String?
  15. var status: String?
  16. var controlNo: String?
  17. var errorMessage: String?
  18. init?(map: Map) {}
  19. mutating func mapping(map: Map) {
  20. cardName <- map["CardName"]
  21. requestTime <- map["RequestTime"]
  22. phoneNo <- map["PhoneNo"]
  23. chargeType <- map["ChargeType"]
  24. productPrice <- map["ProductPrice"]
  25. status <- map["Status"]
  26. controlNo <- map["ControllNo"]
  27. errorMessage <- map["ErrorMsg"]
  28. }
  29. }