From 9bd99db22bec3a3a177b0e4bb864e292927b9e7e Mon Sep 17 00:00:00 2001 From: deependra-chansoliya-d11 Date: Sat, 10 Feb 2024 23:59:02 +0530 Subject: [PATCH] Changed phone datatype from Integer to String --- .../Model/Ptsv2paymentsBuyerInformation.java | 8 ++++---- .../Riskv1authenticationsBuyerInformation.java | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/Model/Ptsv2paymentsBuyerInformation.java b/src/main/java/Model/Ptsv2paymentsBuyerInformation.java index 8504639ab..5c0e62c99 100644 --- a/src/main/java/Model/Ptsv2paymentsBuyerInformation.java +++ b/src/main/java/Model/Ptsv2paymentsBuyerInformation.java @@ -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; @@ -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; } @@ -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; } diff --git a/src/main/java/Model/Riskv1authenticationsBuyerInformation.java b/src/main/java/Model/Riskv1authenticationsBuyerInformation.java index 009e7b918..471ec9d04 100644 --- a/src/main/java/Model/Riskv1authenticationsBuyerInformation.java +++ b/src/main/java/Model/Riskv1authenticationsBuyerInformation.java @@ -38,10 +38,10 @@ public class Riskv1authenticationsBuyerInformation { private List 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; @@ -87,25 +87,25 @@ public void setPersonalIdentification(List