|
|
@ -29,7 +29,7 @@ extension SendMoneyPaymentModePresenter: SendMoneyPaymentModeModuleInterface { |
|
|
|
} |
|
|
|
|
|
|
|
func validate(model: SendMoneyAccountValidationRequestModel) { |
|
|
|
|
|
|
|
view?.showLoading() |
|
|
|
let params: [String: String] = |
|
|
|
[ |
|
|
|
"IdType" : model.idType ?? "", |
|
|
@ -45,7 +45,10 @@ extension SendMoneyPaymentModePresenter: SendMoneyPaymentModeModuleInterface { |
|
|
|
"BankCode": model.bankCode ?? "", |
|
|
|
"Amount": model.amount ?? "", |
|
|
|
"PayoutPartner": model.payoutPartner ?? "", |
|
|
|
"ProcessId": model.processId ?? "" |
|
|
|
"ProcessId": model.processId ?? "", |
|
|
|
"BankId": model.BankId ?? "", |
|
|
|
"ReceiverCountryId": model.ReceiverCountryId ?? "", |
|
|
|
"deliveryMethodId": model.deliveryMethodId ?? "" |
|
|
|
] |
|
|
|
|
|
|
|
self.interactor?.validateAccountNumber(params: params) |
|
|
@ -67,6 +70,7 @@ extension SendMoneyPaymentModePresenter: SendMoneyPaymentModeInteractorOutput { |
|
|
|
} |
|
|
|
|
|
|
|
func success() { |
|
|
|
view?.hideLoading() |
|
|
|
self.view?.success() |
|
|
|
} |
|
|
|
} |