|
|
@ -75,6 +75,16 @@ class ExchangeRateViewControllerV2: UIViewController { |
|
|
|
let reciepientAmount = self.reciepientTextField.text! |
|
|
|
print("sender textfield \(senderAmount)") |
|
|
|
print("reciepientTextfield \(reciepientAmount)") |
|
|
|
let recipientCurrency = self.selectedExchageRateModel?.currency ?? "" |
|
|
|
|
|
|
|
let param: [String: Any] = |
|
|
|
[ |
|
|
|
"cAmt" : senderAmount, |
|
|
|
"pAmt" : reciepientAmount, |
|
|
|
"cCurrency" : "KRW", |
|
|
|
"pCurrency" : recipientCurrency |
|
|
|
] |
|
|
|
|
|
|
|
// todo send to api for calculation |
|
|
|
|
|
|
|
} |
|
|
|