|
|
@ -1,7 +1,5 @@ |
|
|
|
package com.gmeremit.online.gmeremittance_native.resendV2.presenter.resend; |
|
|
|
|
|
|
|
import android.util.Log; |
|
|
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.R; |
|
|
|
import com.gmeremit.online.gmeremittance_native.autodebitV2.model.autodebitaccountlisting.WebRequestModel; |
|
|
|
import com.gmeremit.online.gmeremittance_native.base.BasePresenter; |
|
|
@ -11,7 +9,6 @@ import com.gmeremit.online.gmeremittance_native.homeV2.model.UserInfoModelV2; |
|
|
|
import com.gmeremit.online.gmeremittance_native.resendV2.gateway.resend.ReSendMoneyV2Gateway; |
|
|
|
import com.gmeremit.online.gmeremittance_native.resendV2.model.resend.ResendRelatedDataModel; |
|
|
|
import com.gmeremit.online.gmeremittance_native.resendV2.model.transactionlisting.PreviousTransactionRelatedData; |
|
|
|
import com.gmeremit.online.gmeremittance_native.sendmoneyV2.model.SendMoneyAPIRequestBody; |
|
|
|
import com.gmeremit.online.gmeremittance_native.sendmoneyV2.model.SendMoneyTransactionResponseBody; |
|
|
|
import com.gmeremit.online.gmeremittance_native.sendmoneyV2.model.verification.VerificationViewModel; |
|
|
|
import com.gmeremit.online.gmeremittance_native.transactionpasspromt.PasswordPromptListener; |
|
|
@ -147,6 +144,16 @@ public class ReSendMoneyV2Presenter extends BasePresenter implements ReSendMoney |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String getSelectedCurrency() { |
|
|
|
return resendRelatedData.getExRate().getPCurrency(); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String getSelectedCountry() { |
|
|
|
return resendRelatedData.getReceiver().getRCountryCode(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void performSendMoneyTransaction(String password) { |
|
|
|
|
|
|
@ -215,7 +222,7 @@ public class ReSendMoneyV2Presenter extends BasePresenter implements ReSendMoney |
|
|
|
resendRelatedData.getExRate().setPaymentType(previousTransactionRelatedData.getSelectedAutoDebitAccount().getType()); |
|
|
|
resendRelatedData.getExRate().setUserId(gateway.getUserID()); |
|
|
|
|
|
|
|
Log.d("ResendRelatedData",resendRelatedData.getRemitDetail().toString()); |
|
|
|
|
|
|
|
getExRateFromNetwork(); |
|
|
|
} |
|
|
|
|
|
|
|