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;
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;
@ -236,7 +238,7 @@ public class ReSendMoneyV2Presenter extends BasePresenter implements ReSendMoney
resendRelatedData.getExRate().setPaymentType(previousTransactionRelatedData.getSelectedAutoDebitAccount().getType());
resendRelatedData.getExRate().setUserId(gateway.getUserID());
Log.d("RESENDREQUESTMODEL",resendRelatedData.getRemitDetail().toString());
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 {
@SerializedName("user")
@SerializedName("User")
@Expose
private String user;
@SerializedName("senderId")
@SerializedName("SenderId")
@Expose
private String senderId;
@SerializedName("receiverId")
@SerializedName("ReceiverId")
@Expose
private String receiverId;
@SerializedName("deliveryMethodId")
@SerializedName("DeliveryMethodId")
@Expose
private String deliveryMethodId;
@SerializedName("pBranch")
@SerializedName("PBranch")
@Expose
private String pBranch;
@SerializedName("pAgent")
@SerializedName("PAgent")
@Expose
private String pAgent;
@SerializedName("pCurr")
@SerializedName("PCurr")
@Expose
private String pCurr;
@SerializedName("collCurr")
@SerializedName("CollCurr")
@Expose
private String collCurr;
@SerializedName("collAmt")
@SerializedName("CollAmt")
@Expose
private String collAmt;
@SerializedName("payoutAmt")
@SerializedName("PayoutAmt")
@Expose
private String payoutAmt;
@SerializedName("transferAmt")
@SerializedName("TransferAmt")
@Expose
private String transferAmt;
@SerializedName("serviceCharge")
@SerializedName("ServiceCharge")
@Expose
private String serviceCharge;
@SerializedName("discount")
@SerializedName("Discount")
@Expose
private String discount;
@SerializedName("exRate")
@SerializedName("ExRate")
@Expose
private String exRate;
@SerializedName("calBy")
@SerializedName("CalBy")
@Expose
private String calBy;
@SerializedName("purposeOfRemittance")
@SerializedName("PurposeOfRemittance")
@Expose
private String purposeOfRemittance;
@SerializedName("sourceOfFund")
@SerializedName("SourceOfFund")
@Expose
private String sourceOfFund;
@SerializedName("relWithSender")
@SerializedName("RelWithSender")
@Expose
private String relWithSender;
@SerializedName("occupation")
@SerializedName("Occupation")
@Expose
private String occupation;
@SerializedName("ipAddress")
@SerializedName("IpAddress")
@Expose
private String ipAddress;
@SerializedName("rState")
@SerializedName("RState")
@Expose
private String rState;
@SerializedName("rLocation")
@SerializedName("RLocation")
@Expose
private String rLocation;
@SerializedName("tpExRate")
@SerializedName("TpExRate")
@Expose
private String tpExRate;
@SerializedName("tpPCurr")
@SerializedName("TpPCurr")
@Expose
private String tpPCurr;
@SerializedName("payOutPartner")
@SerializedName("PayOutPartner")
@Expose
private String payOutPartner;
@SerializedName("foreX_SESSION_ID")
@SerializedName("ForeX_SESSION_ID")
@Expose
private String foreXSESSIONID;
@SerializedName("paymentType")
@SerializedName("PaymentType")
@Expose
private String paymentType;
@SerializedName("isAgreed")
@SerializedName("IsAgreed")
@Expose
private String isAgreed;
@SerializedName("txnPassword")
@SerializedName("TxnPassword")
@Expose
private String txnPassword;
@SerializedName("receiverAccountNo")
@SerializedName("ReceiverAccountNo")
@Expose
private String receiverAccountNo;

Loading…
Cancel
Save