|
|
@ -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); |
|
|
|