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.
44 lines
788 B
44 lines
788 B
//
|
|
// SuccessMessage.swift
|
|
// GMERemittance
|
|
//
|
|
// Created by gme_2 on 02/10/2018.
|
|
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import ObjectMapper
|
|
|
|
class SuccessMessage: Mappable {
|
|
var message: String?
|
|
var extra: String?
|
|
var yearlyLimit: String?
|
|
|
|
required init?(map: Map) {
|
|
|
|
}
|
|
|
|
func mapping(map: Map) {
|
|
message <- map["Message"]
|
|
extra <- map["Extra"]
|
|
yearlyLimit <- map["Extra2"]
|
|
}
|
|
}
|
|
|
|
class SuccessMessageContainer: Mappable {
|
|
var errorCode: String?
|
|
var message: String?
|
|
var id: String?
|
|
var data: SuccessMessage?
|
|
|
|
required init?(map: Map) {
|
|
|
|
}
|
|
|
|
func mapping(map: Map) {
|
|
errorCode <- map["ErrorCode"]
|
|
id <- map["Id"]
|
|
message <- map["Msg"]
|
|
data <- map["Data"]
|
|
}
|
|
}
|