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.
 
 
 
 

47 lines
886 B

//
// AutoRefund.swift
// GME Remit
//
// Created by Mac on 11/21/18.
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
import ObjectMapper
class AutoRefund: Mappable {
var currentBalance: String?
var minAmount: String?
var chargeAmount: String?
required init?(map: Map) {
}
func mapping(map: Map) {
chargeAmount <- map["RefundCharge"]
minAmount <- map["MinimumAmount"]
currentBalance <- map["CurrentBalance"]
}
}
class AutoRefundContainer: Mappable {
var errorCode: String?
var message: String?
var id: String?
var data: AutoRefund?
required init?(map: Map) {
}
func mapping(map: Map) {
errorCode <- map["ErrorCode"]
message <- map["Msg"]
id <- map["Id"]
data <- map["Data"]
}
}