@ -112,6 +112,9 @@ public class ReceiverInfoV3Model implements Parcelable {
@SerializedName ( "nativeCountryCode" )
@Expose
private String nativeCountryCode ;
@SerializedName ( "isPartnerChanged" )
@Expose
private String isPartnerChanged ;
public String getFirstName ( ) {
return firstName ;
@ -369,6 +372,14 @@ public class ReceiverInfoV3Model implements Parcelable {
this . nativeCountryCode = nativeCountryCode ;
}
public String getIsPartnerChanged ( ) {
return isPartnerChanged ;
}
public void setIsPartnerChanged ( String isPartnerChanged ) {
this . isPartnerChanged = isPartnerChanged ;
}
public void updateSelectedServiceTypeData ( ServiceTypeModel selectedServiceType ) {
this . agent = new AgentV3Model ( selectedServiceType . getId ( ) , selectedServiceType . getDescription ( ) , "" , null , "" ) ;
printLog ( ) ;
@ -380,43 +391,6 @@ public class ReceiverInfoV3Model implements Parcelable {
}
@Override
public String toString ( ) {
return "ReceiverInfoV3Model{" +
"firstName='" + firstName + '\'' +
", middleName='" + middleName + '\'' +
", lastName='" + lastName + '\'' +
", localFirstName='" + localFirstName + '\'' +
", localMiddleName='" + localMiddleName + '\'' +
", localLastName='" + localLastName + '\'' +
", fullName='" + fullName + '\'' +
", localFullName='" + localFullName + '\'' +
", paymentMethod=" + paymentMethod +
", agent=" + agent +
", receiverId='" + receiverId + '\'' +
", country='" + country + '\'' +
", countryId='" + countryId + '\'' +
", countryCode='" + countryCode + '\'' +
", address='" + address + '\'' +
", state='" + state + '\'' +
", stateId='" + stateId + '\'' +
", city='" + city + '\'' +
", email='" + email + '\'' +
", mobile='" + mobile + '\'' +
", relationship='" + relationship + '\'' +
", relationshipId='" + relationshipId + '\'' +
", district='" + district + '\'' +
", districtId='" + districtId + '\'' +
", purposeOfRemit='" + purposeOfRemit + '\'' +
", purposeOfRemitId='" + purposeOfRemitId + '\'' +
", idType='" + idType + '\'' +
", idNumber='" + idNumber + '\'' +
", payoutPartner='" + payoutPartner + '\'' +
", nativeCountry='" + nativeCountry + '\'' +
", nativeCountryId='" + nativeCountryId + '\'' +
", nativeCountryCode='" + nativeCountryCode + '\'' +
'}' ;
}
public ReceiverInfoV3Model ( ) {
}
@ -463,6 +437,11 @@ public class ReceiverInfoV3Model implements Parcelable {
}
public boolean hasPartnerChanged ( )
{
return "1" . equalsIgnoreCase ( isPartnerChanged ) ;
}
@Override
public int describeContents ( ) {
@ -503,6 +482,7 @@ public class ReceiverInfoV3Model implements Parcelable {
dest . writeString ( this . nativeCountry ) ;
dest . writeString ( this . nativeCountryId ) ;
dest . writeString ( this . nativeCountryCode ) ;
dest . writeString ( this . isPartnerChanged ) ;
}
protected ReceiverInfoV3Model ( Parcel in ) {
@ -538,6 +518,7 @@ public class ReceiverInfoV3Model implements Parcelable {
this . nativeCountry = in . readString ( ) ;
this . nativeCountryId = in . readString ( ) ;
this . nativeCountryCode = in . readString ( ) ;
this . isPartnerChanged = in . readString ( ) ;
}
public static final Creator < ReceiverInfoV3Model > CREATOR = new Creator < ReceiverInfoV3Model > ( ) {