|
|
@ -35,7 +35,7 @@ class SendMoneyRequestModel { |
|
|
|
var transactionPassword: String? |
|
|
|
var autoDebitAccount: Account? |
|
|
|
var isUseBiometric: Bool? |
|
|
|
var discountedFee: Bool? |
|
|
|
var discountedFee: String? |
|
|
|
} |
|
|
|
|
|
|
|
class SendMoneyParentViewController: UIViewController { |
|
|
@ -110,6 +110,7 @@ class SendMoneyParentViewController: UIViewController { |
|
|
|
self.requestModel.paymemtMode?.payCurrency = receipient?.paymentMethod?.currency |
|
|
|
self.requestModel.paymemtMode?.payoutPartner = receipient?.payoutPartner |
|
|
|
self.requestModel.paymemtMode?.accountNumber = receipient?.agent?.accountNumber |
|
|
|
self.requestModel.discountedFee = cddiModel.discountedFee |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -384,7 +385,7 @@ class SendMoneyParentViewController: UIViewController { |
|
|
|
verificationViewController.reciepient = self.receipient |
|
|
|
verificationViewController.requestModel = self.requestModel |
|
|
|
verificationViewController.actionDelegate = self |
|
|
|
|
|
|
|
// verificationViewController.discountedFee = self. |
|
|
|
self.addChild(verificationViewController) |
|
|
|
|
|
|
|
UIView.transition( |
|
|
@ -456,6 +457,7 @@ extension SendMoneyParentViewController: SendMoneyExchangeRateActionDelegate { |
|
|
|
func continueToVerificationAction(model: CDDIRequestData) { |
|
|
|
self.cddiModel = model |
|
|
|
print("model:\(model)") |
|
|
|
self.requestModel.discountedFee = model.discountedFee |
|
|
|
self.addVerificationViewController() |
|
|
|
self.state = StateButtons.verification |
|
|
|
} |
|
|
|