Browse Source

Resend api success response

master
preyearegmi 6 years ago
parent
commit
fe25b99d7d
  1. 4
      app/src/main/java/com/gmeremit/online/gmeremittance_native/resendV2/presenter/resend/ReSendMoneyV2Presenter.java
  2. 60
      app/src/main/java/com/gmeremit/online/gmeremittance_native/sendmoneyV2/model/SendMoneyAPIRequestBody.java

4
app/src/main/java/com/gmeremit/online/gmeremittance_native/resendV2/presenter/resend/ReSendMoneyV2Presenter.java

@ -1,5 +1,7 @@
package com.gmeremit.online.gmeremittance_native.resendV2.presenter.resend; 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.R;
import com.gmeremit.online.gmeremittance_native.autodebitV2.model.autodebitaccountlisting.WebRequestModel; import com.gmeremit.online.gmeremittance_native.autodebitV2.model.autodebitaccountlisting.WebRequestModel;
import com.gmeremit.online.gmeremittance_native.base.BasePresenter; import com.gmeremit.online.gmeremittance_native.base.BasePresenter;
@ -236,7 +238,7 @@ public class ReSendMoneyV2Presenter extends BasePresenter implements ReSendMoney
resendRelatedData.getExRate().setPaymentType(previousTransactionRelatedData.getSelectedAutoDebitAccount().getType()); resendRelatedData.getExRate().setPaymentType(previousTransactionRelatedData.getSelectedAutoDebitAccount().getType());
resendRelatedData.getExRate().setUserId(gateway.getUserID()); resendRelatedData.getExRate().setUserId(gateway.getUserID());
Log.d("RESENDREQUESTMODEL",resendRelatedData.getRemitDetail().toString());
getExRateFromNetwork(); getExRateFromNetwork();
} }

60
app/src/main/java/com/gmeremit/online/gmeremittance_native/sendmoneyV2/model/SendMoneyAPIRequestBody.java

@ -5,95 +5,95 @@ import com.google.gson.annotations.SerializedName;
public class SendMoneyAPIRequestBody { public class SendMoneyAPIRequestBody {
@SerializedName("user")
@SerializedName("User")
@Expose @Expose
private String user; private String user;
@SerializedName("senderId")
@SerializedName("SenderId")
@Expose @Expose
private String senderId; private String senderId;
@SerializedName("receiverId")
@SerializedName("ReceiverId")
@Expose @Expose
private String receiverId; private String receiverId;
@SerializedName("deliveryMethodId")
@SerializedName("DeliveryMethodId")
@Expose @Expose
private String deliveryMethodId; private String deliveryMethodId;
@SerializedName("pBranch")
@SerializedName("PBranch")
@Expose @Expose
private String pBranch; private String pBranch;
@SerializedName("pAgent")
@SerializedName("PAgent")
@Expose @Expose
private String pAgent; private String pAgent;
@SerializedName("pCurr")
@SerializedName("PCurr")
@Expose @Expose
private String pCurr; private String pCurr;
@SerializedName("collCurr")
@SerializedName("CollCurr")
@Expose @Expose
private String collCurr; private String collCurr;
@SerializedName("collAmt")
@SerializedName("CollAmt")
@Expose @Expose
private String collAmt; private String collAmt;
@SerializedName("payoutAmt")
@SerializedName("PayoutAmt")
@Expose @Expose
private String payoutAmt; private String payoutAmt;
@SerializedName("transferAmt")
@SerializedName("TransferAmt")
@Expose @Expose
private String transferAmt; private String transferAmt;
@SerializedName("serviceCharge")
@SerializedName("ServiceCharge")
@Expose @Expose
private String serviceCharge; private String serviceCharge;
@SerializedName("discount")
@SerializedName("Discount")
@Expose @Expose
private String discount; private String discount;
@SerializedName("exRate")
@SerializedName("ExRate")
@Expose @Expose
private String exRate; private String exRate;
@SerializedName("calBy")
@SerializedName("CalBy")
@Expose @Expose
private String calBy; private String calBy;
@SerializedName("purposeOfRemittance")
@SerializedName("PurposeOfRemittance")
@Expose @Expose
private String purposeOfRemittance; private String purposeOfRemittance;
@SerializedName("sourceOfFund")
@SerializedName("SourceOfFund")
@Expose @Expose
private String sourceOfFund; private String sourceOfFund;
@SerializedName("relWithSender")
@SerializedName("RelWithSender")
@Expose @Expose
private String relWithSender; private String relWithSender;
@SerializedName("occupation")
@SerializedName("Occupation")
@Expose @Expose
private String occupation; private String occupation;
@SerializedName("ipAddress")
@SerializedName("IpAddress")
@Expose @Expose
private String ipAddress; private String ipAddress;
@SerializedName("rState")
@SerializedName("RState")
@Expose @Expose
private String rState; private String rState;
@SerializedName("rLocation")
@SerializedName("RLocation")
@Expose @Expose
private String rLocation; private String rLocation;
@SerializedName("tpExRate")
@SerializedName("TpExRate")
@Expose @Expose
private String tpExRate; private String tpExRate;
@SerializedName("tpPCurr")
@SerializedName("TpPCurr")
@Expose @Expose
private String tpPCurr; private String tpPCurr;
@SerializedName("payOutPartner")
@SerializedName("PayOutPartner")
@Expose @Expose
private String payOutPartner; private String payOutPartner;
@SerializedName("foreX_SESSION_ID")
@SerializedName("ForeX_SESSION_ID")
@Expose @Expose
private String foreXSESSIONID; private String foreXSESSIONID;
@SerializedName("paymentType")
@SerializedName("PaymentType")
@Expose @Expose
private String paymentType; private String paymentType;
@SerializedName("isAgreed")
@SerializedName("IsAgreed")
@Expose @Expose
private String isAgreed; private String isAgreed;
@SerializedName("txnPassword")
@SerializedName("TxnPassword")
@Expose @Expose
private String txnPassword; private String txnPassword;
@SerializedName("receiverAccountNo")
@SerializedName("ReceiverAccountNo")
@Expose @Expose
private String receiverAccountNo; private String receiverAccountNo;

Loading…
Cancel
Save