Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed phone datatype from Integer to String #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/Model/Ptsv2paymentsBuyerInformation.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class Ptsv2paymentsBuyerInformation {
private String language = null;

@SerializedName("mobilePhone")
private Integer mobilePhone = null;
private String mobilePhone = null;

public Ptsv2paymentsBuyerInformation merchantCustomerId(String merchantCustomerId) {
this.merchantCustomerId = merchantCustomerId;
Expand Down Expand Up @@ -210,7 +210,7 @@ public void setLanguage(String language) {
this.language = language;
}

public Ptsv2paymentsBuyerInformation mobilePhone(Integer mobilePhone) {
public Ptsv2paymentsBuyerInformation mobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
return this;
}
Expand All @@ -220,11 +220,11 @@ public Ptsv2paymentsBuyerInformation mobilePhone(Integer mobilePhone) {
* @return mobilePhone
**/
@ApiModelProperty(value = "Cardholder's mobile phone number. **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions. ")
public Integer getMobilePhone() {
public String getMobilePhone() {
return mobilePhone;
}

public void setMobilePhone(Integer mobilePhone) {
public void setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
}

Expand Down
18 changes: 9 additions & 9 deletions src/main/java/Model/Riskv1authenticationsBuyerInformation.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public class Riskv1authenticationsBuyerInformation {
private List<Ptsv2paymentsBuyerInformationPersonalIdentification> personalIdentification = null;

@SerializedName("mobilePhone")
private Integer mobilePhone = null;
private String mobilePhone = null;

@SerializedName("workPhone")
private Integer workPhone = null;
private String workPhone = null;

public Riskv1authenticationsBuyerInformation merchantCustomerId(String merchantCustomerId) {
this.merchantCustomerId = merchantCustomerId;
Expand Down Expand Up @@ -87,25 +87,25 @@ public void setPersonalIdentification(List<Ptsv2paymentsBuyerInformationPersonal
this.personalIdentification = personalIdentification;
}

public Riskv1authenticationsBuyerInformation mobilePhone(Integer mobilePhone) {
public Riskv1authenticationsBuyerInformation mobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
return this;
}

/**
* Cardholder&#39;s mobile phone number. **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
* Cardholder&#39;s mobile phone number. **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
* @return mobilePhone
**/
@ApiModelProperty(required = true, value = "Cardholder's mobile phone number. **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions. ")
public Integer getMobilePhone() {
public String getMobilePhone() {
return mobilePhone;
}

public void setMobilePhone(Integer mobilePhone) {
public void setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
}

public Riskv1authenticationsBuyerInformation workPhone(Integer workPhone) {
public Riskv1authenticationsBuyerInformation workPhone(String workPhone) {
this.workPhone = workPhone;
return this;
}
Expand All @@ -115,11 +115,11 @@ public Riskv1authenticationsBuyerInformation workPhone(Integer workPhone) {
* @return workPhone
**/
@ApiModelProperty(value = "Cardholder's work phone number.")
public Integer getWorkPhone() {
public String getWorkPhone() {
return workPhone;
}

public void setWorkPhone(Integer workPhone) {
public void setWorkPhone(String workPhone) {
this.workPhone = workPhone;
}

Expand Down