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.
 
 
 
 

41 lines
1.1 KiB

//
// RegisterRequestModel.swift
// GMERemittance
//
// Created by gme_2 on 10/09/2018.
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
class RegisterRequestModel: Serializer {
var username: String?
var nativeCountry: String?
var mobileNumber: String?
var encryptedPassword: String?
var clientId: String?
var uuid: String?
var appVersion: String?
var phoneBrand: String?
var phoneOs: String?
var fcmId: String? // device id
var osVersion: String?
var dob: String?
func serialize() -> [String : String] {
var dict = ["":""]
dict["username"] = self.username ?? ""
dict["password"] = self.encryptedPassword ?? ""
dict["nativecountry"] = self.nativeCountry ?? ""
dict["mobilenumber"] = self.mobileNumber ?? ""
dict["clientId"] = self.clientId ?? ""
dict["uuid"] = self.uuid ?? ""
dict["appVersion"] = self.appVersion ?? ""
dict["phoneBrand"] = self.phoneBrand ?? ""
dict["phoneOs"] = self.phoneOs ?? ""
dict["fcmId"] = self.fcmId ?? ""
dict["osVersion"] = self.osVersion ?? ""
dict["Dob"] = self.dob ?? ""
return dict
}
}