Browse Source

Before applying usecases

master
Preyea Regmi 5 years ago
parent
commit
124de86383
  1. BIN
      .idea/caches/build_file_checksums.ser
  2. 6
      app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientaddV3/ValidationRuleModel.java
  3. 8
      app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/AgentV3Model.java
  4. 35
      app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/Branch.java
  5. 78
      app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/BranchV3Model.java
  6. 404
      app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/ReceiverInfoV3Model.java

BIN
.idea/caches/build_file_checksums.ser

6
app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientaddV3/ValidationRuleModel.java

@ -14,13 +14,13 @@ public class ValidationRuleModel {
@SerializedName("FieldRequired")
@Expose
private Boolean fieldRequired;
@SerializedName("MaxFieldLength")
@SerializedName("MaxLength")
@Expose
private Integer maxFieldLength;
@SerializedName("MinFieldLength")
@SerializedName("MinLength")
@Expose
private Integer minFieldLength;
@SerializedName("KeyboardType")
@SerializedName("Keyboard")
@Expose
private String keyboardType;
@SerializedName("LocalKeyboardAllow")

8
app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/AgentV3Model.java

@ -19,7 +19,7 @@ public class AgentV3Model implements Parcelable {
private String localizedName;
@SerializedName("branch")
@Expose
private Branch branch;
private BranchV3Model branch;
@SerializedName("accountNo")
@Expose
private String accountNo;
@ -48,11 +48,11 @@ public class AgentV3Model implements Parcelable {
this.localizedName = localizedName;
}
public Branch getBranch() {
public BranchV3Model getBranch() {
return branch;
}
public void setBranch(Branch branch) {
public void setBranch(BranchV3Model branch) {
this.branch = branch;
}
@ -86,7 +86,7 @@ public class AgentV3Model implements Parcelable {
this.id = in.readString();
this.name = in.readString();
this.localizedName = in.readString();
this.branch = in.readParcelable(Branch.class.getClassLoader());
this.branch = in.readParcelable(BranchV3Model.class.getClassLoader());
this.accountNo = in.readString();
}

35
app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/Branch.java

@ -1,35 +0,0 @@
package com.gmeremit.online.gmeremittance_native.recipientV3.model.recipientlistingV3;
import android.os.Parcel;
import android.os.Parcelable;
public class Branch implements Parcelable {
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
}
public Branch() {
}
protected Branch(Parcel in) {
}
public static final Parcelable.Creator<Branch> CREATOR = new Parcelable.Creator<Branch>() {
@Override
public Branch createFromParcel(Parcel source) {
return new Branch(source);
}
@Override
public Branch[] newArray(int size) {
return new Branch[size];
}
};
}

78
app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/BranchV3Model.java

@ -0,0 +1,78 @@
package com.gmeremit.online.gmeremittance_native.recipientV3.model.recipientlistingV3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class BranchV3Model implements Parcelable {
@SerializedName("id")
@Expose
private String id;
@SerializedName("name")
@Expose
private String name;
@SerializedName("localizedName")
@Expose
private String localizedName;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getLocalizedName() {
return localizedName;
}
public void setLocalizedName(String localizedName) {
this.localizedName = localizedName;
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.id);
dest.writeString(this.name);
dest.writeString(this.localizedName);
}
public BranchV3Model() {
}
protected BranchV3Model(Parcel in) {
this.id = in.readString();
this.name = in.readString();
this.localizedName = in.readString();
}
public static final Creator<BranchV3Model> CREATOR = new Creator<BranchV3Model>() {
@Override
public BranchV3Model createFromParcel(Parcel source) {
return new BranchV3Model(source);
}
@Override
public BranchV3Model[] newArray(int size) {
return new BranchV3Model[size];
}
};
}

404
app/src/main/java/com/gmeremit/online/gmeremittance_native/recipientV3/model/recipientlistingV3/ReceiverInfoV3Model.java

@ -8,6 +8,30 @@ import com.google.gson.annotations.SerializedName;
public class ReceiverInfoV3Model implements Parcelable {
@SerializedName("firstName")
@Expose
private String firstName;
@SerializedName("middleName")
@Expose
private String middleName;
@SerializedName("lastName1")
@Expose
private String lastName1;
@SerializedName("lastName2")
@Expose
private String lastName2;
@SerializedName("localFirstName")
@Expose
private String localFirstName;
@SerializedName("localMiddleName")
@Expose
private String localMiddleName;
@SerializedName("localLastName1")
@Expose
private String localLastName1;
@SerializedName("localLastName2")
@Expose
private String localLastName2;
@SerializedName("id")
@Expose
private String id;
@ -23,6 +47,139 @@ public class ReceiverInfoV3Model implements Parcelable {
@SerializedName("agent")
@Expose
private AgentV3Model agent;
@SerializedName("receiverId")
@Expose
private String receiverId;
@SerializedName("membershipId")
@Expose
private String membershipId;
@SerializedName("country")
@Expose
private String country;
@SerializedName("countryId")
@Expose
private String countryId;
@SerializedName("countryCode")
@Expose
private String countryCode;
@SerializedName("address")
@Expose
private String address;
@SerializedName("state")
@Expose
private String state;
@SerializedName("stateId")
@Expose
private String stateId;
@SerializedName("zipCode")
@Expose
private String zipCode;
@SerializedName("city")
@Expose
private String city;
@SerializedName("email")
@Expose
private String email;
@SerializedName("homePhone")
@Expose
private String homePhone;
@SerializedName("workPhone")
@Expose
private String workPhone;
@SerializedName("mobile")
@Expose
private String mobile;
@SerializedName("relationship")
@Expose
private String relationship;
@SerializedName("relationshipId")
@Expose
private String relationshipId;
@SerializedName("district")
@Expose
private String district;
@SerializedName("districtId")
@Expose
private String districtId;
@SerializedName("purposeOfRemit")
@Expose
private String purposeOfRemit;
@SerializedName("purposeOfRemitId")
@Expose
private String purposeOfRemitId;
@SerializedName("fullName")
@Expose
private String fullName;
@SerializedName("idType")
@Expose
private String idType;
@SerializedName("idNumber")
@Expose
private String idNumber;
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getMiddleName() {
return middleName;
}
public void setMiddleName(String middleName) {
this.middleName = middleName;
}
public String getLastName1() {
return lastName1;
}
public void setLastName1(String lastName1) {
this.lastName1 = lastName1;
}
public String getLastName2() {
return lastName2;
}
public void setLastName2(String lastName2) {
this.lastName2 = lastName2;
}
public String getLocalFirstName() {
return localFirstName;
}
public void setLocalFirstName(String localFirstName) {
this.localFirstName = localFirstName;
}
public String getLocalMiddleName() {
return localMiddleName;
}
public void setLocalMiddleName(String localMiddleName) {
this.localMiddleName = localMiddleName;
}
public String getLocalLastName1() {
return localLastName1;
}
public void setLocalLastName1(String localLastName1) {
this.localLastName1 = localLastName1;
}
public String getLocalLastName2() {
return localLastName2;
}
public void setLocalLastName2(String localLastName2) {
this.localLastName2 = localLastName2;
}
public String getId() {
return id;
@ -64,6 +221,189 @@ public class ReceiverInfoV3Model implements Parcelable {
this.agent = agent;
}
public String getReceiverId() {
return receiverId;
}
public void setReceiverId(String receiverId) {
this.receiverId = receiverId;
}
public String getMembershipId() {
return membershipId;
}
public void setMembershipId(String membershipId) {
this.membershipId = membershipId;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getCountryId() {
return countryId;
}
public void setCountryId(String countryId) {
this.countryId = countryId;
}
public String getCountryCode() {
return countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getStateId() {
return stateId;
}
public void setStateId(String stateId) {
this.stateId = stateId;
}
public String getZipCode() {
return zipCode;
}
public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getHomePhone() {
return homePhone;
}
public void setHomePhone(String homePhone) {
this.homePhone = homePhone;
}
public String getWorkPhone() {
return workPhone;
}
public void setWorkPhone(String workPhone) {
this.workPhone = workPhone;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getRelationship() {
return relationship;
}
public void setRelationship(String relationship) {
this.relationship = relationship;
}
public String getRelationshipId() {
return relationshipId;
}
public void setRelationshipId(String relationshipId) {
this.relationshipId = relationshipId;
}
public String getDistrict() {
return district;
}
public void setDistrict(String district) {
this.district = district;
}
public String getDistrictId() {
return districtId;
}
public void setDistrictId(String districtId) {
this.districtId = districtId;
}
public String getPurposeOfRemit() {
return purposeOfRemit;
}
public void setPurposeOfRemit(String purposeOfRemit) {
this.purposeOfRemit = purposeOfRemit;
}
public String getPurposeOfRemitId() {
return purposeOfRemitId;
}
public void setPurposeOfRemitId(String purposeOfRemitId) {
this.purposeOfRemitId = purposeOfRemitId;
}
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public String getIdType() {
return idType;
}
public void setIdType(String idType) {
this.idType = idType;
}
public String getIdNumber() {
return idNumber;
}
public void setIdNumber(String idNumber) {
this.idNumber = idNumber;
}
@Override
public int describeContents() {
@ -72,25 +412,87 @@ public class ReceiverInfoV3Model implements Parcelable {
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.firstName);
dest.writeString(this.middleName);
dest.writeString(this.lastName1);
dest.writeString(this.lastName2);
dest.writeString(this.localFirstName);
dest.writeString(this.localMiddleName);
dest.writeString(this.localLastName1);
dest.writeString(this.localLastName2);
dest.writeString(this.id);
dest.writeString(this.name);
dest.writeString(this.localizedName);
dest.writeParcelable(this.paymentMethod, flags);
dest.writeParcelable(this.agent, flags);
dest.writeString(this.receiverId);
dest.writeString(this.membershipId);
dest.writeString(this.country);
dest.writeString(this.countryId);
dest.writeString(this.countryCode);
dest.writeString(this.address);
dest.writeString(this.state);
dest.writeString(this.stateId);
dest.writeString(this.zipCode);
dest.writeString(this.city);
dest.writeString(this.email);
dest.writeString(this.homePhone);
dest.writeString(this.workPhone);
dest.writeString(this.mobile);
dest.writeString(this.relationship);
dest.writeString(this.relationshipId);
dest.writeString(this.district);
dest.writeString(this.districtId);
dest.writeString(this.purposeOfRemit);
dest.writeString(this.purposeOfRemitId);
dest.writeString(this.fullName);
dest.writeString(this.idType);
dest.writeString(this.idNumber);
}
public ReceiverInfoV3Model() {
}
protected ReceiverInfoV3Model(Parcel in) {
this.firstName = in.readString();
this.middleName = in.readString();
this.lastName1 = in.readString();
this.lastName2 = in.readString();
this.localFirstName = in.readString();
this.localMiddleName = in.readString();
this.localLastName1 = in.readString();
this.localLastName2 = in.readString();
this.id = in.readString();
this.name = in.readString();
this.localizedName = in.readString();
this.paymentMethod = in.readParcelable(PaymentMethodV3Model.class.getClassLoader());
this.agent = in.readParcelable(AgentV3Model.class.getClassLoader());
this.receiverId = in.readString();
this.membershipId = in.readString();
this.country = in.readString();
this.countryId = in.readString();
this.countryCode = in.readString();
this.address = in.readString();
this.state = in.readString();
this.stateId = in.readString();
this.zipCode = in.readString();
this.city = in.readString();
this.email = in.readString();
this.homePhone = in.readString();
this.workPhone = in.readString();
this.mobile = in.readString();
this.relationship = in.readString();
this.relationshipId = in.readString();
this.district = in.readString();
this.districtId = in.readString();
this.purposeOfRemit = in.readString();
this.purposeOfRemitId = in.readString();
this.fullName = in.readString();
this.idType = in.readString();
this.idNumber = in.readString();
}
public static final Parcelable.Creator<ReceiverInfoV3Model> CREATOR = new Parcelable.Creator<ReceiverInfoV3Model>() {
public static final Creator<ReceiverInfoV3Model> CREATOR = new Creator<ReceiverInfoV3Model>() {
@Override
public ReceiverInfoV3Model createFromParcel(Parcel source) {
return new ReceiverInfoV3Model(source);

Loading…
Cancel
Save