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.
 
 
 
 

34 lines
870 B

//
// ExchangeRateRequestModel.swift
// GME Remit
//
// Created by InKwon James Kim on 12/08/2019.
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
struct ExchangeRateRequestModel: RequestModelType {
let senderAmount: String
let senderCurrency: String
let senderCountryID: String
let recipientAmount: String
let recipientCurrency: String
let recipientCountryID: String
let recipientCountry: String
let serviceType: String
let calcBy: String
func serialize() -> [String : String] {
return [
"cAmount": senderAmount,
"sCurrency": senderCurrency,
"pAmount": recipientAmount,
"pCurrency": recipientCurrency,
"pCountry": recipientCountryID,
"serviceType": serviceType,
"calcBy": calcBy,
"sCountry": senderCountryID,
"pCountryName": recipientCountry
]
}
}