From a76baf1a8d3e40cb30476c23282f775b215966cc Mon Sep 17 00:00:00 2001 From: mahmishr Date: Fri, 13 Dec 2024 12:44:23 +0530 Subject: [PATCH 01/21] multithreading client repo Merchantconfig modifications --- src/main/java/Invokers/ApiClient.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 7611d1a68..843ee900b 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1355,8 +1355,11 @@ public Call buildCall(String path, String method, List queryParams, Object public void callAuthenticationHeader(String method, String path, Object body, List queryParams) { + //not setting few values to MC double check if anything ahed is impacted try { - merchantConfig.setRequestType(method); + String requestType = method; + String requestTarget = null; + if (queryParams != null && !queryParams.isEmpty()) { StringBuilder url = new StringBuilder(); @@ -1377,10 +1380,10 @@ public void callAuthenticationHeader(String method, String path, Object body, Li url.append(escapeString(param.getName())).append("=").append(escapeString(value)); } } - merchantConfig.setRequestTarget(url.toString()); + requestTarget= url.toString(); } } else { - merchantConfig.setRequestTarget(path); + requestTarget =path; } Authorization authorization = new Authorization(); @@ -1395,11 +1398,11 @@ public void callAuthenticationHeader(String method, String path, Object body, Li } logger.debug("HTTP Request Body:\n" + requestBody); - merchantConfig.setRequestData(requestBody); +// merchantConfig.setRequestData(requestBody); authorization.setJWTRequestBody(requestBody); - boolean isMerchantDetails = merchantConfig.validateMerchantDetails(); + boolean isMerchantDetails = merchantConfig.validateMerchantDetails(requestType); - merchantConfig.setRequestHost(merchantConfig.getRequestHost().trim()); +// merchantConfig.setRequestHost(merchantConfig.getRequestHost().trim()); if (isMerchantDetails && !merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.MUTUALAUTH)) { @@ -1414,7 +1417,7 @@ public void callAuthenticationHeader(String method, String path, Object body, Li if (method.equalsIgnoreCase("POST") || method.equalsIgnoreCase("PUT") || method.equalsIgnoreCase("PATCH")) { - PayloadDigest payloadDigest = new PayloadDigest(merchantConfig); + PayloadDigest payloadDigest = new PayloadDigest(requestBody); String digest = payloadDigest.getDigest(); addDefaultHeader("Digest", digest); } From a671e3514b1fdded1973bd687f058351097247a6 Mon Sep 17 00:00:00 2001 From: mahmishr Date: Mon, 16 Dec 2024 14:05:58 +0530 Subject: [PATCH 02/21] local changes for testing --- src/main/java/Invokers/ApiClient.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 843ee900b..cc98d2a1d 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1357,7 +1357,6 @@ public void callAuthenticationHeader(String method, String path, Object body, Li //not setting few values to MC double check if anything ahed is impacted try { - String requestType = method; String requestTarget = null; @@ -1400,9 +1399,9 @@ public void callAuthenticationHeader(String method, String path, Object body, Li logger.debug("HTTP Request Body:\n" + requestBody); // merchantConfig.setRequestData(requestBody); authorization.setJWTRequestBody(requestBody); - boolean isMerchantDetails = merchantConfig.validateMerchantDetails(requestType); + boolean isMerchantDetails = merchantConfig.validateMerchantDetails(method); -// merchantConfig.setRequestHost(merchantConfig.getRequestHost().trim()); + merchantConfig.setRequestHost(merchantConfig.getRequestHost().trim()); if (isMerchantDetails && !merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.MUTUALAUTH)) { From a75922f06cc3247f47a74d23a93b43b419afb3e7 Mon Sep 17 00:00:00 2001 From: mahmishr Date: Tue, 17 Dec 2024 11:30:07 +0530 Subject: [PATCH 03/21] merchant config modifications for token gen in client repo --- src/main/java/Invokers/ApiClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index cc98d2a1d..bdd1cba45 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1405,7 +1405,7 @@ public void callAuthenticationHeader(String method, String path, Object body, Li if (isMerchantDetails && !merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.MUTUALAUTH)) { - String token = authorization.getToken(merchantConfig); + String token = authorization.getToken(merchantConfig, method, requestBody); if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.HTTP)) { addDefaultHeader("Date", PropertiesUtil.date); From bca735febe3e6f6e1a2d4a30c5cffbd907fa90e1 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Tue, 17 Dec 2024 15:25:04 +0530 Subject: [PATCH 04/21] Removed fields with null values from models --- .../libraries/okhttp-gson/pojo.mustache | 214 ++++++++++++++++++ .../cybersource-java-template/pojo.mustache | 4 +- 2 files changed, 216 insertions(+), 2 deletions(-) create mode 100644 generator/cybersource-java-template/libraries/okhttp-gson/pojo.mustache diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/pojo.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/pojo.mustache new file mode 100644 index 000000000..775c7e0ac --- /dev/null +++ b/generator/cybersource-java-template/libraries/okhttp-gson/pojo.mustache @@ -0,0 +1,214 @@ +/** + * {{#description}}{{.}}{{/description}}{{^description}}{{classname}}{{/description}} + */{{#description}} +@ApiModel(description = "{{{description}}}"){{/description}} +{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcelableModel}}implements Parcelable {{#serializableModel}}, Serializable {{/serializableModel}}{{/parcelableModel}}{{^parcelableModel}}{{#serializableModel}}implements Serializable {{/serializableModel}}{{/parcelableModel}}{ +{{#serializableModel}} + private static final long serialVersionUID = 1L; + +{{/serializableModel}} + {{#vars}} + {{#isEnum}} + {{^isContainer}} +{{>modelInnerEnum}} + {{/isContainer}} + {{/isEnum}} + {{#items.isEnum}} + {{#items}} + {{^isContainer}} +{{>modelInnerEnum}} + {{/isContainer}} + {{/items}} + {{/items.isEnum}} + {{#jackson}} + @JsonProperty("{{baseName}}") + {{#withXml}} + @JacksonXmlProperty({{#isXmlAttribute}}isAttribute = true, {{/isXmlAttribute}}{{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}localName = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}") + {{/withXml}} + {{/jackson}} + {{#withXml}} + {{#isXmlAttribute}} + @XmlAttribute(name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}") + {{/isXmlAttribute}} + {{^isXmlAttribute}} + @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}") + {{/isXmlAttribute}} + {{/withXml}} + {{#gson}} + @SerializedName("{{baseName}}") + {{/gson}} + {{#isContainer}} + private {{{datatypeWithEnum}}} {{name}}{{#required}} = {{{defaultValue}}}{{/required}}{{^required}} = null{{/required}}; + {{/isContainer}} + {{^isContainer}} + private {{{datatypeWithEnum}}} {{name}} = {{{defaultValue}}}; + {{/isContainer}} + + {{/vars}} + {{#vars}} + {{^isReadOnly}} + public {{classname}} {{name}}({{{datatypeWithEnum}}} {{name}}) { + this.{{name}} = {{name}}; + return this; + } + {{#isListContainer}} + + public {{classname}} add{{nameInCamelCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) { + {{^required}} + if (this.{{name}} == null) { + this.{{name}} = {{{defaultValue}}}; + } + {{/required}} + this.{{name}}.add({{name}}Item); + return this; + } + {{/isListContainer}} + {{#isMapContainer}} + + public {{classname}} put{{nameInCamelCase}}Item(String key, {{{items.datatypeWithEnum}}} {{name}}Item) { + {{^required}} + if (this.{{name}} == null) { + this.{{name}} = {{{defaultValue}}}; + } + {{/required}} + this.{{name}}.put(key, {{name}}Item); + return this; + } + {{/isMapContainer}} + + {{/isReadOnly}} + /** + {{#description}} + * {{description}} + {{/description}} + {{^description}} + * Get {{name}} + {{/description}} + {{#minimum}} + * minimum: {{minimum}} + {{/minimum}} + {{#maximum}} + * maximum: {{maximum}} + {{/maximum}} + * @return {{name}} + **/ +{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}} @ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}") +{{#vendorExtensions.extraAnnotation}} + {{{vendorExtensions.extraAnnotation}}} +{{/vendorExtensions.extraAnnotation}} + public {{{datatypeWithEnum}}} {{getter}}() { + return {{name}}; + } + {{^isReadOnly}} + + public void {{setter}}({{{datatypeWithEnum}}} {{name}}) { + this.{{name}} = {{name}}; + } + {{/isReadOnly}} + + {{/vars}} + +{{^supportJava6}} + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + }{{#hasVars}} + {{classname}} {{classVarName}} = ({{classname}}) o; + return {{#vars}}Objects.equals(this.{{name}}, {{classVarName}}.{{name}}){{#hasMore}} && + {{/hasMore}}{{/vars}}{{#parent}} && + super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}} + return {{#parent}}super.equals(o){{/parent}}{{^parent}}true{{/parent}};{{/hasVars}} + } + + @Override + public int hashCode() { + return Objects.hash({{#vars}}{{name}}{{#hasMore}}, {{/hasMore}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}}); + } + +{{/supportJava6}} +{{#supportJava6}} + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + }{{#hasVars}} + {{classname}} {{classVarName}} = ({{classname}}) o; + return {{#vars}}ObjectUtils.equals(this.{{name}}, {{classVarName}}.{{name}}){{#hasMore}} && + {{/hasMore}}{{/vars}}{{#parent}} && + super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}} + return true;{{/hasVars}} + } + + @Override + public int hashCode() { + return ObjectUtils.hashCodeMulti({{#vars}}{{name}}{{#hasMore}}, {{/hasMore}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}}); + } + +{{/supportJava6}} + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class {{classname}} {\n"); + {{#parent}}sb.append(" ").append(toIndentedString(super.toString())).append("\n");{{/parent}} + {{#vars}}if ({{name}} != null) sb.append(" {{name}}: ").append(toIndentedString({{name}})).append("\n"); + {{/vars}}sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + + {{#parcelableModel}} + public void writeToParcel(Parcel out, int flags) { + {{#parent}} super.writeToParcel(out, flags); {{/parent}} {{#vars}} + out.writeValue({{name}}); + {{/vars}} + } + + public {{classname}}() { + super(); + } + + {{classname}}(Parcel in) { + {{#parent}} super(in); {{/parent}} + {{#vars}} + {{#isPrimitiveType}} + {{name}} = ({{{datatypeWithEnum}}})in.readValue(null); + {{/isPrimitiveType}} + {{^isPrimitiveType}} + {{name}} = ({{{datatypeWithEnum}}})in.readValue({{complexType}}.class.getClassLoader()); + {{/isPrimitiveType}} + {{/vars}} + } + + public int describeContents() { + return 0; + } + + public static final Parcelable.Creator<{{classname}}> CREATOR = new Parcelable.Creator<{{classname}}>() { + public {{classname}} createFromParcel(Parcel in) { + return new {{classname}}(in); + } + public {{classname}}[] newArray(int size) { + return new {{classname}}[size]; + } + }; + {{/parcelableModel}} +} diff --git a/generator/cybersource-java-template/pojo.mustache b/generator/cybersource-java-template/pojo.mustache index d0a4c70f3..775c7e0ac 100644 --- a/generator/cybersource-java-template/pojo.mustache +++ b/generator/cybersource-java-template/pojo.mustache @@ -159,7 +159,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcela StringBuilder sb = new StringBuilder(); sb.append("class {{classname}} {\n"); {{#parent}}sb.append(" ").append(toIndentedString(super.toString())).append("\n");{{/parent}} - {{#vars}}sb.append(" {{name}}: ").append(toIndentedString({{name}})).append("\n"); + {{#vars}}if ({{name}} != null) sb.append(" {{name}}: ").append(toIndentedString({{name}})).append("\n"); {{/vars}}sb.append("}"); return sb.toString(); } @@ -170,7 +170,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcela */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } From 5752d89b5ce5f590a184d105cfe93e1edd653d2d Mon Sep 17 00:00:00 2001 From: mahmishr Date: Wed, 18 Dec 2024 02:15:43 +0530 Subject: [PATCH 05/21] jwt n oauth changes in client --- src/main/java/Invokers/ApiClient.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index bdd1cba45..cbe628a71 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1318,7 +1318,7 @@ public Call buildCall(String path, String method, List queryParams, Object Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - if(merchantConfig.getDefaultHeaders() != null && !merchantConfig.getDefaultHeaders().isEmpty()) { + if(merchantConfig.getDefaultHeaders() != null && !merchantConfig.getDefaultHeaders().isEmpty()) { //check fr this test case for (Entry header : merchantConfig.getDefaultHeaders().entrySet()) { if(!header.getKey().equalsIgnoreCase("Authorization") && !header.getKey().equalsIgnoreCase("Signature")){ addDefaultHeader(header.getKey(), header.getValue()); @@ -1355,7 +1355,6 @@ public Call buildCall(String path, String method, List queryParams, Object public void callAuthenticationHeader(String method, String path, Object body, List queryParams) { - //not setting few values to MC double check if anything ahed is impacted try { String requestTarget = null; From 9070316ac49460fc27b660095e78be72a7e8b1cb Mon Sep 17 00:00:00 2001 From: mahmishr Date: Thu, 19 Dec 2024 01:38:32 +0530 Subject: [PATCH 06/21] beautification --- src/main/java/Invokers/ApiClient.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index cbe628a71..1fb3ccee6 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1435,9 +1435,11 @@ public void callAuthenticationHeader(String method, String path, Object body, Li } catch (ConfigException e) { logger.error(e.getMessage()); + } catch (NullPointerException e){ + logger.error(e); } - } + } /** * Build an HTTP request with the given options. From e7a28d928dae1d08f0310532b5b156c22b8a3206 Mon Sep 17 00:00:00 2001 From: mahmishr Date: Fri, 27 Dec 2024 14:05:38 +0530 Subject: [PATCH 07/21] bug fix client --- src/main/java/Invokers/ApiClient.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 1fb3ccee6..bd232e3b1 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1358,7 +1358,6 @@ public void callAuthenticationHeader(String method, String path, Object body, Li try { String requestTarget = null; - if (queryParams != null && !queryParams.isEmpty()) { StringBuilder url = new StringBuilder(); url.append(path); @@ -1396,7 +1395,6 @@ public void callAuthenticationHeader(String method, String path, Object body, Li } logger.debug("HTTP Request Body:\n" + requestBody); -// merchantConfig.setRequestData(requestBody); authorization.setJWTRequestBody(requestBody); boolean isMerchantDetails = merchantConfig.validateMerchantDetails(method); @@ -1404,7 +1402,7 @@ public void callAuthenticationHeader(String method, String path, Object body, Li if (isMerchantDetails && !merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.MUTUALAUTH)) { - String token = authorization.getToken(merchantConfig, method, requestBody); + String token = authorization.getToken(merchantConfig, method, requestBody, requestTarget); if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.HTTP)) { addDefaultHeader("Date", PropertiesUtil.date); From 9dac5d4f3b6d2d5e9ecf5d3c8233a42fbb814fc9 Mon Sep 17 00:00:00 2001 From: gaubansa Date: Sat, 28 Dec 2024 19:26:19 +0530 Subject: [PATCH 08/21] fixing resBody and reqHeaders in multithread --- src/main/java/Invokers/ApiClient.java | 52 ++++++++++++++------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index bd232e3b1..4acd60aeb 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -144,8 +144,6 @@ public class ApiClient { public String responseCode; public String status; - public InputStream responseBody; - public String respBody; public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); @@ -1035,7 +1033,9 @@ public T deserialize(Response response, Type returnType) throws ApiException // Handle file downloading. return (T) downloadFileFromResponse(response); } - + + String respBody = null; + try { if (response.body() != null) respBody = response.body().string(); @@ -1191,8 +1191,9 @@ public ApiResponse execute(Call call, Type returnType) throws ApiExceptio try { this.apiRequestMetrics.setComputeTime((System.nanoTime() - this.getComputationStartTime()) / 1000000); Response response = call.execute(); - responseCode = String.valueOf(response.code()); - status = response.message(); + String responseCode = String.valueOf(response.code()); + this.status = response.message(); + this.responseCode= responseCode; logger.debug("Network Response :\n" + json.serialize(response.headers())); @@ -1317,16 +1318,19 @@ public T handleResponse(Response response, Type returnType) throws ApiExcept public Call buildCall(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - if(merchantConfig.getDefaultHeaders() != null && !merchantConfig.getDefaultHeaders().isEmpty()) { //check fr this test case + + //create reqHeader parameter here + Map requestHeaderMap = new HashMap(); + + if(merchantConfig.getDefaultHeaders() != null && !merchantConfig.getDefaultHeaders().isEmpty()) { for (Entry header : merchantConfig.getDefaultHeaders().entrySet()) { if(!header.getKey().equalsIgnoreCase("Authorization") && !header.getKey().equalsIgnoreCase("Signature")){ - addDefaultHeader(header.getKey(), header.getValue()); + requestHeaderMap.put(header.getKey(), header.getValue()); } } } - callAuthenticationHeader(method, path, body, queryParams); + callAuthenticationHeader(method, path, body, queryParams,requestHeaderMap); if (merchantConfig.isEnableClientCert()) { addClientCertToKeyStore(); @@ -1339,10 +1343,11 @@ public Call buildCall(String path, String method, List queryParams, Object headerParams.put("Accept", defaultAcceptHeader); } - headerParams.putAll(defaultHeaderMap); + headerParams.putAll(requestHeaderMap); logger.info("Request Header Parameters:\n{}", new PrettyPrintingMap(headerParams)); + //till here completed Request request = buildRequest(path, method, queryParams, body, headerParams, formParams, authNames, progressRequestListener); return httpClient.newCall(request); @@ -1353,7 +1358,7 @@ public Call buildCall(String path, String method, List queryParams, Object * */ - public void callAuthenticationHeader(String method, String path, Object body, List queryParams) { + public void callAuthenticationHeader(String method, String path, Object body, List queryParams, Map requestHeaderMap) { try { String requestTarget = null; @@ -1395,40 +1400,37 @@ public void callAuthenticationHeader(String method, String path, Object body, Li } logger.debug("HTTP Request Body:\n" + requestBody); - authorization.setJWTRequestBody(requestBody); boolean isMerchantDetails = merchantConfig.validateMerchantDetails(method); - merchantConfig.setRequestHost(merchantConfig.getRequestHost().trim()); - if (isMerchantDetails && !merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.MUTUALAUTH)) { - String token = authorization.getToken(merchantConfig, method, requestBody, requestTarget); + String date = PropertiesUtil.getNewDate(); + String token = authorization.getToken(merchantConfig, method, requestBody, requestTarget, date); if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.HTTP)) { - - addDefaultHeader("Date", PropertiesUtil.date); - addDefaultHeader("Host", merchantConfig.getRequestHost().trim()); - addDefaultHeader("v-c-merchant-id", merchantConfig.getMerchantID()); - addDefaultHeader("Signature", token); - addDefaultHeader("User-Agent", "Mozilla/5.0"); + requestHeaderMap.put("Date", date); + requestHeaderMap.put("Host", merchantConfig.getRequestHost().trim()); + requestHeaderMap.put("v-c-merchant-id", merchantConfig.getMerchantID()); + requestHeaderMap.put("Signature", token); + requestHeaderMap.put("User-Agent", "Mozilla/5.0"); if (method.equalsIgnoreCase("POST") || method.equalsIgnoreCase("PUT") || method.equalsIgnoreCase("PATCH")) { PayloadDigest payloadDigest = new PayloadDigest(requestBody); String digest = payloadDigest.getDigest(); - addDefaultHeader("Digest", digest); + requestHeaderMap.put("Digest", digest); } } else if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.JWT)) { token = "Bearer " + token; - addDefaultHeader("Authorization", token); + requestHeaderMap.put("Authorization", token); } else if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.OAUTH)) { token = "Bearer " + token; - addDefaultHeader("Authorization", token); + requestHeaderMap.put("Authorization", token); } } if (versionInfo != null && !versionInfo.isEmpty()) { - addDefaultHeader("v-c-client-id", "cybs-rest-sdk-java-" + versionInfo); + requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-" + versionInfo); } } catch (ConfigException e) { From 7ff2834c4b356bcd5820c187d3e42a52350043c7 Mon Sep 17 00:00:00 2001 From: gaubansa Date: Tue, 31 Dec 2024 14:16:18 +0530 Subject: [PATCH 09/21] added fixApiClient changes in mustache file --- .../libraries/okhttp-gson/ApiClient.mustache | 57 ++++++++++--------- src/main/java/Invokers/ApiClient.java | 18 +++--- 2 files changed, 37 insertions(+), 38 deletions(-) diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache index 7611d1a68..bec13e45d 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache @@ -144,8 +144,6 @@ public class ApiClient { public String responseCode; public String status; - public InputStream responseBody; - public String respBody; public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); @@ -1036,6 +1034,8 @@ public class ApiClient { return (T) downloadFileFromResponse(response); } + String respBody = null; + try { if (response.body() != null) respBody = response.body().string(); @@ -1191,8 +1191,9 @@ public class ApiClient { try { this.apiRequestMetrics.setComputeTime((System.nanoTime() - this.getComputationStartTime()) / 1000000); Response response = call.execute(); - responseCode = String.valueOf(response.code()); - status = response.message(); + String responseCode = String.valueOf(response.code()); + this.status = response.message(); + this.responseCode= responseCode; logger.debug("Network Response :\n" + json.serialize(response.headers())); @@ -1317,16 +1318,19 @@ public class ApiClient { public Call buildCall(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - + + //create reqHeader parameter here + Map requestHeaderMap = new HashMap(); + if(merchantConfig.getDefaultHeaders() != null && !merchantConfig.getDefaultHeaders().isEmpty()) { for (Entry header : merchantConfig.getDefaultHeaders().entrySet()) { if(!header.getKey().equalsIgnoreCase("Authorization") && !header.getKey().equalsIgnoreCase("Signature")){ - addDefaultHeader(header.getKey(), header.getValue()); + requestHeaderMap.put(header.getKey(), header.getValue()); } } } - callAuthenticationHeader(method, path, body, queryParams); + callAuthenticationHeader(method, path, body, queryParams, requestHeaderMap); if (merchantConfig.isEnableClientCert()) { addClientCertToKeyStore(); @@ -1339,7 +1343,7 @@ public class ApiClient { headerParams.put("Accept", defaultAcceptHeader); } - headerParams.putAll(defaultHeaderMap); + headerParams.putAll(requestHeaderMap); logger.info("Request Header Parameters:\n{}", new PrettyPrintingMap(headerParams)); @@ -1353,10 +1357,10 @@ public class ApiClient { * */ - public void callAuthenticationHeader(String method, String path, Object body, List queryParams) { + public void callAuthenticationHeader(String method, String path, Object body, List queryParams, Map requestHeaderMap) { try { - merchantConfig.setRequestType(method); + String requestTarget = null; if (queryParams != null && !queryParams.isEmpty()) { StringBuilder url = new StringBuilder(); @@ -1377,10 +1381,10 @@ public class ApiClient { url.append(escapeString(param.getName())).append("=").append(escapeString(value)); } } - merchantConfig.setRequestTarget(url.toString()); + requestTarget= url.toString(); } } else { - merchantConfig.setRequestTarget(path); + requestTarget =path; } Authorization authorization = new Authorization(); @@ -1395,41 +1399,38 @@ public class ApiClient { } logger.debug("HTTP Request Body:\n" + requestBody); - merchantConfig.setRequestData(requestBody); - authorization.setJWTRequestBody(requestBody); - boolean isMerchantDetails = merchantConfig.validateMerchantDetails(); - - merchantConfig.setRequestHost(merchantConfig.getRequestHost().trim()); + boolean isMerchantDetails = merchantConfig.validateMerchantDetails(method); if (isMerchantDetails && !merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.MUTUALAUTH)) { - String token = authorization.getToken(merchantConfig); + String date = PropertiesUtil.getNewDate(); + String token = authorization.getToken(merchantConfig, method, requestBody, requestTarget, date); if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.HTTP)) { - addDefaultHeader("Date", PropertiesUtil.date); - addDefaultHeader("Host", merchantConfig.getRequestHost().trim()); - addDefaultHeader("v-c-merchant-id", merchantConfig.getMerchantID()); - addDefaultHeader("Signature", token); - addDefaultHeader("User-Agent", "Mozilla/5.0"); + requestHeaderMap.put("Date", date); + requestHeaderMap.put("Host", merchantConfig.getRequestHost().trim()); + requestHeaderMap.put("v-c-merchant-id", merchantConfig.getMerchantID()); + requestHeaderMap.put("Signature", token); + requestHeaderMap.put("User-Agent", "Mozilla/5.0"); if (method.equalsIgnoreCase("POST") || method.equalsIgnoreCase("PUT") || method.equalsIgnoreCase("PATCH")) { - PayloadDigest payloadDigest = new PayloadDigest(merchantConfig); + PayloadDigest payloadDigest = new PayloadDigest(requestBody); String digest = payloadDigest.getDigest(); - addDefaultHeader("Digest", digest); + requestHeaderMap.put("Digest", digest); } } else if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.JWT)) { token = "Bearer " + token; - addDefaultHeader("Authorization", token); + requestHeaderMap.put("Authorization", token); } else if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.OAUTH)) { token = "Bearer " + token; - addDefaultHeader("Authorization", token); + requestHeaderMap.put("Authorization", token); } } if (versionInfo != null && !versionInfo.isEmpty()) { - addDefaultHeader("v-c-client-id", "cybs-rest-sdk-java-" + versionInfo); + requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-" + versionInfo); } } catch (ConfigException e) { diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 4acd60aeb..bec13e45d 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1033,9 +1033,9 @@ public T deserialize(Response response, Type returnType) throws ApiException // Handle file downloading. return (T) downloadFileFromResponse(response); } - + String respBody = null; - + try { if (response.body() != null) respBody = response.body().string(); @@ -1318,19 +1318,19 @@ public T handleResponse(Response response, Type returnType) throws ApiExcept public Call buildCall(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - + //create reqHeader parameter here Map requestHeaderMap = new HashMap(); - + if(merchantConfig.getDefaultHeaders() != null && !merchantConfig.getDefaultHeaders().isEmpty()) { for (Entry header : merchantConfig.getDefaultHeaders().entrySet()) { if(!header.getKey().equalsIgnoreCase("Authorization") && !header.getKey().equalsIgnoreCase("Signature")){ - requestHeaderMap.put(header.getKey(), header.getValue()); + requestHeaderMap.put(header.getKey(), header.getValue()); } } } - callAuthenticationHeader(method, path, body, queryParams,requestHeaderMap); + callAuthenticationHeader(method, path, body, queryParams, requestHeaderMap); if (merchantConfig.isEnableClientCert()) { addClientCertToKeyStore(); @@ -1347,7 +1347,6 @@ public Call buildCall(String path, String method, List queryParams, Object logger.info("Request Header Parameters:\n{}", new PrettyPrintingMap(headerParams)); - //till here completed Request request = buildRequest(path, method, queryParams, body, headerParams, formParams, authNames, progressRequestListener); return httpClient.newCall(request); @@ -1407,6 +1406,7 @@ public void callAuthenticationHeader(String method, String path, Object body, Li String date = PropertiesUtil.getNewDate(); String token = authorization.getToken(merchantConfig, method, requestBody, requestTarget, date); if (merchantConfig.getAuthenticationType().equalsIgnoreCase(GlobalLabelParameters.HTTP)) { + requestHeaderMap.put("Date", date); requestHeaderMap.put("Host", merchantConfig.getRequestHost().trim()); requestHeaderMap.put("v-c-merchant-id", merchantConfig.getMerchantID()); @@ -1435,11 +1435,9 @@ public void callAuthenticationHeader(String method, String path, Object body, Li } catch (ConfigException e) { logger.error(e.getMessage()); - } catch (NullPointerException e){ - logger.error(e); } - } + } /** * Build an HTTP request with the given options. From 60f41dc440c7ed2d13ccc2705936c2bc24a91d40 Mon Sep 17 00:00:00 2001 From: gaubansa Date: Wed, 8 Jan 2025 11:39:44 +0530 Subject: [PATCH 10/21] adding message variable in ApiResponse class --- src/main/java/Invokers/ApiClient.java | 2 +- src/main/java/Invokers/ApiResponse.java | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index bec13e45d..912810b3d 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -1209,7 +1209,7 @@ public ApiResponse execute(Call call, Type returnType) throws ApiExceptio logger.info("HTTP Response Body :\n{}", data); - return new ApiResponse(response.code(), response.headers().toMultimap(), data); + return new ApiResponse(response.code(), response.headers().toMultimap(), response.message(), data); } catch (IOException e) { logger.error("ApiException : " + e.getMessage()); throw new ApiException(e); diff --git a/src/main/java/Invokers/ApiResponse.java b/src/main/java/Invokers/ApiResponse.java index 95554d189..6288e867b 100644 --- a/src/main/java/Invokers/ApiResponse.java +++ b/src/main/java/Invokers/ApiResponse.java @@ -25,13 +25,14 @@ public class ApiResponse { final private int statusCode; final private Map> headers; final private T data; + final private String message; /** * @param statusCode The status code of HTTP response * @param headers The headers of HTTP response */ - public ApiResponse(int statusCode, Map> headers) { - this(statusCode, headers, null); + public ApiResponse(int statusCode, Map> headers, String message) { + this(statusCode, headers, message, null); } /** @@ -39,9 +40,10 @@ public ApiResponse(int statusCode, Map> headers) { * @param headers The headers of HTTP response * @param data The object deserialized from response bod */ - public ApiResponse(int statusCode, Map> headers, T data) { + public ApiResponse(int statusCode, Map> headers, String message, T data) { this.statusCode = statusCode; this.headers = headers; + this.message= message; this.data = data; } @@ -56,4 +58,8 @@ public Map> getHeaders() { public T getData() { return data; } + + public String getMessage() { + return message; + } } From 428af6a6ae1bde089ebac4a30107dfa89e15c98d Mon Sep 17 00:00:00 2001 From: gaubansa Date: Wed, 8 Jan 2025 11:43:25 +0530 Subject: [PATCH 11/21] changes for message in apiResponse added in mustache --- .../libraries/okhttp-gson/ApiClient.mustache | 2 +- .../libraries/okhttp-gson/ApiResponse.mustache | 12 +++++++++--- src/main/java/Invokers/ApiResponse.java | 6 +++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache index bec13e45d..912810b3d 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache @@ -1209,7 +1209,7 @@ public class ApiClient { logger.info("HTTP Response Body :\n{}", data); - return new ApiResponse(response.code(), response.headers().toMultimap(), data); + return new ApiResponse(response.code(), response.headers().toMultimap(), response.message(), data); } catch (IOException e) { logger.error("ApiException : " + e.getMessage()); throw new ApiException(e); diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/ApiResponse.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/ApiResponse.mustache index 390939369..ac923a407 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/ApiResponse.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/ApiResponse.mustache @@ -14,13 +14,14 @@ public class ApiResponse { final private int statusCode; final private Map> headers; final private T data; + final private String message; /** * @param statusCode The status code of HTTP response * @param headers The headers of HTTP response */ - public ApiResponse(int statusCode, Map> headers) { - this(statusCode, headers, null); + public ApiResponse(int statusCode, Map> headers, String message) { + this(statusCode, headers, message, null); } /** @@ -28,9 +29,10 @@ public class ApiResponse { * @param headers The headers of HTTP response * @param data The object deserialized from response bod */ - public ApiResponse(int statusCode, Map> headers, T data) { + public ApiResponse(int statusCode, Map> headers, String message, T data) { this.statusCode = statusCode; this.headers = headers; + this.message= message; this.data = data; } @@ -45,4 +47,8 @@ public class ApiResponse { public T getData() { return data; } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/Invokers/ApiResponse.java b/src/main/java/Invokers/ApiResponse.java index 6288e867b..de9e19eff 100644 --- a/src/main/java/Invokers/ApiResponse.java +++ b/src/main/java/Invokers/ApiResponse.java @@ -59,7 +59,7 @@ public T getData() { return data; } - public String getMessage() { - return message; - } + public String getMessage() { + return message; + } } From e2006b3c7938d4e2eb42886cca84bac0805001ae Mon Sep 17 00:00:00 2001 From: gaubansa Date: Wed, 8 Jan 2025 11:49:49 +0530 Subject: [PATCH 12/21] adding setComputation in httpInfo in mustache file --- .../libraries/okhttp-gson/api.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache index 6c3808637..3a2645f9c 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache @@ -200,7 +200,6 @@ public class {{classname}} { */ public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException { logger.info("CALL TO METHOD '{{operationId}}' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); {{#returnType}}ApiResponse<{{{returnType}}}> {{localVariablePrefix}}resp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{#returnType}} logger.info("CALL TO METHOD '{{operationId}}' ENDED"); @@ -215,6 +214,7 @@ public class {{classname}} { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<{{#vendorExtensions.x-streaming}}InputStream{{/vendorExtensions.x-streaming}}{{^vendorExtensions.x-streaming}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/vendorExtensions.x-streaming}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call {{localVariablePrefix}}call = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null, null); {{#returnType}}Type {{localVariablePrefix}}localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); return {{localVariablePrefix}}apiClient.execute({{localVariablePrefix}}call, {{localVariablePrefix}}localVarReturnType);{{/returnType}}{{^returnType}}return {{localVariablePrefix}}apiClient.execute({{localVariablePrefix}}call);{{/returnType}} From 6d86c177e40ca6be38bfd6dcaadf27d4c85d0f82 Mon Sep 17 00:00:00 2001 From: gaubansa Date: Wed, 8 Jan 2025 11:53:48 +0530 Subject: [PATCH 13/21] changes for computation time in api classes in sdk --- src/main/java/Api/BatchesApi.java | 8 ++++---- src/main/java/Api/BillingAgreementsApi.java | 6 +++--- src/main/java/Api/BinLookupApi.java | 2 +- src/main/java/Api/CaptureApi.java | 2 +- src/main/java/Api/ChargebackDetailsApi.java | 2 +- src/main/java/Api/ChargebackSummariesApi.java | 2 +- src/main/java/Api/ConversionDetailsApi.java | 2 +- src/main/java/Api/CreateNewWebhooksApi.java | 6 +++--- src/main/java/Api/CreditApi.java | 2 +- src/main/java/Api/CustomerApi.java | 8 ++++---- .../java/Api/CustomerPaymentInstrumentApi.java | 10 +++++----- .../java/Api/CustomerShippingAddressApi.java | 10 +++++----- src/main/java/Api/DecisionManagerApi.java | 10 +++++----- src/main/java/Api/DownloadDtdApi.java | 2 +- src/main/java/Api/DownloadXsdApi.java | 2 +- src/main/java/Api/EmvTagDetailsApi.java | 4 ++-- src/main/java/Api/FlexApiApi.java | 2 +- src/main/java/Api/InstrumentIdentifierApi.java | 12 ++++++------ .../Api/InterchangeClearingLevelDetailsApi.java | 2 +- src/main/java/Api/InvoiceSettingsApi.java | 4 ++-- src/main/java/Api/InvoicesApi.java | 12 ++++++------ src/main/java/Api/ManageWebhooksApi.java | 10 +++++----- src/main/java/Api/MerchantBoardingApi.java | 4 ++-- src/main/java/Api/MicroformIntegrationApi.java | 2 +- src/main/java/Api/NetFundingsApi.java | 2 +- src/main/java/Api/NotificationOfChangesApi.java | 2 +- src/main/java/Api/OrdersApi.java | 4 ++-- src/main/java/Api/PayerAuthenticationApi.java | 6 +++--- src/main/java/Api/PaymentBatchSummariesApi.java | 2 +- src/main/java/Api/PaymentInstrumentApi.java | 8 ++++---- src/main/java/Api/PaymentsApi.java | 12 ++++++------ src/main/java/Api/PayoutsApi.java | 2 +- src/main/java/Api/PlansApi.java | 16 ++++++++-------- .../java/Api/PurchaseAndRefundDetailsApi.java | 2 +- src/main/java/Api/PushFundsApi.java | 2 +- src/main/java/Api/RefundApi.java | 4 ++-- src/main/java/Api/ReplayWebhooksApi.java | 2 +- src/main/java/Api/ReportDefinitionsApi.java | 4 ++-- src/main/java/Api/ReportDownloadsApi.java | 2 +- src/main/java/Api/ReportSubscriptionsApi.java | 10 +++++----- src/main/java/Api/ReportsApi.java | 6 +++--- src/main/java/Api/RetrievalDetailsApi.java | 2 +- src/main/java/Api/RetrievalSummariesApi.java | 2 +- src/main/java/Api/ReversalApi.java | 4 ++-- src/main/java/Api/SearchTransactionsApi.java | 4 ++-- src/main/java/Api/SecureFileShareApi.java | 4 ++-- src/main/java/Api/SubscriptionsApi.java | 16 ++++++++-------- src/main/java/Api/TaxesApi.java | 4 ++-- src/main/java/Api/TokenApi.java | 2 +- src/main/java/Api/TransactionBatchesApi.java | 6 +++--- src/main/java/Api/TransactionDetailsApi.java | 2 +- src/main/java/Api/TransientTokenDataApi.java | 4 ++-- .../Api/UnifiedCheckoutCaptureContextApi.java | 2 +- src/main/java/Api/UserManagementApi.java | 2 +- src/main/java/Api/UserManagementSearchApi.java | 2 +- src/main/java/Api/VerificationApi.java | 4 ++-- src/main/java/Api/VoidApi.java | 10 +++++----- 57 files changed, 141 insertions(+), 141 deletions(-) diff --git a/src/main/java/Api/BatchesApi.java b/src/main/java/Api/BatchesApi.java index 723a75486..16556a3b3 100644 --- a/src/main/java/Api/BatchesApi.java +++ b/src/main/java/Api/BatchesApi.java @@ -159,7 +159,6 @@ private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final Prog */ public InlineResponse2007 getBatchReport(String batchId) throws ApiException { logger.info("CALL TO METHOD 'getBatchReport' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getBatchReportWithHttpInfo(batchId); logger.info("CALL TO METHOD 'getBatchReport' ENDED"); return resp.getData(); @@ -173,6 +172,7 @@ public InlineResponse2007 getBatchReport(String batchId) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -304,7 +304,6 @@ private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final Prog */ public InlineResponse2006 getBatchStatus(String batchId) throws ApiException { logger.info("CALL TO METHOD 'getBatchStatus' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getBatchStatusWithHttpInfo(batchId); logger.info("CALL TO METHOD 'getBatchStatus' ENDED"); return resp.getData(); @@ -318,6 +317,7 @@ public InlineResponse2006 getBatchStatus(String batchId) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -456,7 +456,6 @@ private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, S */ public InlineResponse2005 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException { logger.info("CALL TO METHOD 'getBatchesList' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate); logger.info("CALL TO METHOD 'getBatchesList' ENDED"); return resp.getData(); @@ -473,6 +472,7 @@ public InlineResponse2005 getBatchesList(Long offset, Long limit, String fromDat * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -603,7 +603,6 @@ private okhttp3.Call postBatchValidateBeforeCall(Body body, final ProgressRespon */ public InlineResponse202 postBatch(Body body) throws ApiException { logger.info("CALL TO METHOD 'postBatch' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postBatchWithHttpInfo(body); logger.info("CALL TO METHOD 'postBatch' ENDED"); return resp.getData(); @@ -617,6 +616,7 @@ public InlineResponse202 postBatch(Body body) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postBatchWithHttpInfo(Body body) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postBatchValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/BillingAgreementsApi.java b/src/main/java/Api/BillingAgreementsApi.java index a26de693f..2daeb0972 100644 --- a/src/main/java/Api/BillingAgreementsApi.java +++ b/src/main/java/Api/BillingAgreementsApi.java @@ -166,7 +166,6 @@ private okhttp3.Call billingAgreementsDeRegistrationValidateBeforeCall(ModifyBil */ public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistration(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException { logger.info("CALL TO METHOD 'billingAgreementsDeRegistration' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = billingAgreementsDeRegistrationWithHttpInfo(modifyBillingAgreement, id); logger.info("CALL TO METHOD 'billingAgreementsDeRegistration' ENDED"); return resp.getData(); @@ -181,6 +180,7 @@ public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistratio * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse billingAgreementsDeRegistrationWithHttpInfo(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = billingAgreementsDeRegistrationValidateBeforeCall(modifyBillingAgreement, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -318,7 +318,6 @@ private okhttp3.Call billingAgreementsIntimationValidateBeforeCall(IntimateBilli */ public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException { logger.info("CALL TO METHOD 'billingAgreementsIntimation' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = billingAgreementsIntimationWithHttpInfo(intimateBillingAgreement, id); logger.info("CALL TO METHOD 'billingAgreementsIntimation' ENDED"); return resp.getData(); @@ -333,6 +332,7 @@ public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingA * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse billingAgreementsIntimationWithHttpInfo(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = billingAgreementsIntimationValidateBeforeCall(intimateBillingAgreement, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -461,7 +461,6 @@ private okhttp3.Call billingAgreementsRegistrationValidateBeforeCall(CreateBilli */ public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration(CreateBillingAgreement createBillingAgreement) throws ApiException { logger.info("CALL TO METHOD 'billingAgreementsRegistration' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = billingAgreementsRegistrationWithHttpInfo(createBillingAgreement); logger.info("CALL TO METHOD 'billingAgreementsRegistration' ENDED"); return resp.getData(); @@ -475,6 +474,7 @@ public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration( * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse billingAgreementsRegistrationWithHttpInfo(CreateBillingAgreement createBillingAgreement) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = billingAgreementsRegistrationValidateBeforeCall(createBillingAgreement, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/BinLookupApi.java b/src/main/java/Api/BinLookupApi.java index 9a015aaec..6bf623c44 100644 --- a/src/main/java/Api/BinLookupApi.java +++ b/src/main/java/Api/BinLookupApi.java @@ -154,7 +154,6 @@ private okhttp3.Call getAccountInfoValidateBeforeCall(CreateBinLookupRequest cre */ public InlineResponse2011 getAccountInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException { logger.info("CALL TO METHOD 'getAccountInfo' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getAccountInfoWithHttpInfo(createBinLookupRequest); logger.info("CALL TO METHOD 'getAccountInfo' ENDED"); return resp.getData(); @@ -168,6 +167,7 @@ public InlineResponse2011 getAccountInfo(CreateBinLookupRequest createBinLookupR * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getAccountInfoWithHttpInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAccountInfoValidateBeforeCall(createBinLookupRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/CaptureApi.java b/src/main/java/Api/CaptureApi.java index aa4827dcd..5f7036329 100644 --- a/src/main/java/Api/CaptureApi.java +++ b/src/main/java/Api/CaptureApi.java @@ -162,7 +162,6 @@ private okhttp3.Call capturePaymentValidateBeforeCall(CapturePaymentRequest capt */ public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'capturePayment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = capturePaymentWithHttpInfo(capturePaymentRequest, id); logger.info("CALL TO METHOD 'capturePayment' ENDED"); return resp.getData(); @@ -177,6 +176,7 @@ public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse capturePaymentWithHttpInfo(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = capturePaymentValidateBeforeCall(capturePaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ChargebackDetailsApi.java b/src/main/java/Api/ChargebackDetailsApi.java index 2f6bbe7f6..974ab8ec8 100644 --- a/src/main/java/Api/ChargebackDetailsApi.java +++ b/src/main/java/Api/ChargebackDetailsApi.java @@ -170,7 +170,6 @@ private okhttp3.Call getChargebackDetailsValidateBeforeCall(DateTime startTime, */ public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getChargebackDetails' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getChargebackDetailsWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getChargebackDetails' ENDED"); return resp.getData(); @@ -186,6 +185,7 @@ public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getChargebackDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getChargebackDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ChargebackSummariesApi.java b/src/main/java/Api/ChargebackSummariesApi.java index 1aaf1c573..ada3d0ffc 100644 --- a/src/main/java/Api/ChargebackSummariesApi.java +++ b/src/main/java/Api/ChargebackSummariesApi.java @@ -170,7 +170,6 @@ private okhttp3.Call getChargebackSummariesValidateBeforeCall(DateTime startTime */ public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getChargebackSummaries' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getChargebackSummariesWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getChargebackSummaries' ENDED"); return resp.getData(); @@ -186,6 +185,7 @@ public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateT * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getChargebackSummariesWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getChargebackSummariesValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ConversionDetailsApi.java b/src/main/java/Api/ConversionDetailsApi.java index ee5f4e5aa..b8f1298b8 100644 --- a/src/main/java/Api/ConversionDetailsApi.java +++ b/src/main/java/Api/ConversionDetailsApi.java @@ -171,7 +171,6 @@ private okhttp3.Call getConversionDetailValidateBeforeCall(DateTime startTime, D */ public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getConversionDetail' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getConversionDetailWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getConversionDetail' ENDED"); return resp.getData(); @@ -187,6 +186,7 @@ public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime s * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getConversionDetailWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getConversionDetailValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/CreateNewWebhooksApi.java b/src/main/java/Api/CreateNewWebhooksApi.java index dcb816c8d..63b7cccf6 100644 --- a/src/main/java/Api/CreateNewWebhooksApi.java +++ b/src/main/java/Api/CreateNewWebhooksApi.java @@ -149,7 +149,6 @@ private okhttp3.Call createWebhookSubscriptionValidateBeforeCall(CreateWebhookRe */ public InlineResponse2014 createWebhookSubscription(CreateWebhookRequest createWebhookRequest) throws ApiException { logger.info("CALL TO METHOD 'createWebhookSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createWebhookSubscriptionWithHttpInfo(createWebhookRequest); logger.info("CALL TO METHOD 'createWebhookSubscription' ENDED"); return resp.getData(); @@ -163,6 +162,7 @@ public InlineResponse2014 createWebhookSubscription(CreateWebhookRequest createW * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createWebhookSubscriptionWithHttpInfo(CreateWebhookRequest createWebhookRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createWebhookSubscriptionValidateBeforeCall(createWebhookRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -295,7 +295,6 @@ private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizati */ public List findProductsToSubscribe(String organizationId) throws ApiException { logger.info("CALL TO METHOD 'findProductsToSubscribe' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId); logger.info("CALL TO METHOD 'findProductsToSubscribe' ENDED"); return resp.getData(); @@ -309,6 +308,7 @@ public List findProductsToSubscribe(String organizationId) t * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -455,7 +455,6 @@ private okhttp3.Call saveSymEgressKeyValidateBeforeCall(String vCSenderOrganizat */ public InlineResponse2013 saveSymEgressKey(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException { logger.info("CALL TO METHOD 'saveSymEgressKey' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = saveSymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey); logger.info("CALL TO METHOD 'saveSymEgressKey' ENDED"); return resp.getData(); @@ -472,6 +471,7 @@ public InlineResponse2013 saveSymEgressKey(String vCSenderOrganizationId, String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse saveSymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = saveSymEgressKeyValidateBeforeCall(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/CreditApi.java b/src/main/java/Api/CreditApi.java index ebf3dbd7d..ca1bc8f95 100644 --- a/src/main/java/Api/CreditApi.java +++ b/src/main/java/Api/CreditApi.java @@ -153,7 +153,6 @@ private okhttp3.Call createCreditValidateBeforeCall(CreateCreditRequest createCr */ public PtsV2CreditsPost201Response createCredit(CreateCreditRequest createCreditRequest) throws ApiException { logger.info("CALL TO METHOD 'createCredit' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createCreditWithHttpInfo(createCreditRequest); logger.info("CALL TO METHOD 'createCredit' ENDED"); return resp.getData(); @@ -167,6 +166,7 @@ public PtsV2CreditsPost201Response createCredit(CreateCreditRequest createCredit * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createCreditWithHttpInfo(CreateCreditRequest createCreditRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createCreditValidateBeforeCall(createCreditRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/CustomerApi.java b/src/main/java/Api/CustomerApi.java index de76748d8..3db8e9164 100644 --- a/src/main/java/Api/CustomerApi.java +++ b/src/main/java/Api/CustomerApi.java @@ -165,7 +165,6 @@ private okhttp3.Call deleteCustomerValidateBeforeCall(String customerId, String */ public void deleteCustomer(String customerId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'deleteCustomer' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deleteCustomerWithHttpInfo(customerId, profileId); } @@ -179,6 +178,7 @@ public void deleteCustomer(String customerId, String profileId) throws ApiExcept * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deleteCustomerWithHttpInfo(String customerId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteCustomerValidateBeforeCall(customerId, profileId, null, null); return apiClient.execute(call); } @@ -313,7 +313,6 @@ private okhttp3.Call getCustomerValidateBeforeCall(String customerId, String pro */ public PostCustomerRequest getCustomer(String customerId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'getCustomer' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getCustomerWithHttpInfo(customerId, profileId); logger.info("CALL TO METHOD 'getCustomer' ENDED"); return resp.getData(); @@ -328,6 +327,7 @@ public PostCustomerRequest getCustomer(String customerId, String profileId) thro * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCustomerWithHttpInfo(String customerId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerValidateBeforeCall(customerId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -473,7 +473,6 @@ private okhttp3.Call patchCustomerValidateBeforeCall(String customerId, PatchCus */ public PatchCustomerRequest patchCustomer(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchCustomer' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = patchCustomerWithHttpInfo(customerId, patchCustomerRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchCustomer' ENDED"); return resp.getData(); @@ -490,6 +489,7 @@ public PatchCustomerRequest patchCustomer(String customerId, PatchCustomerReques * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse patchCustomerWithHttpInfo(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchCustomerValidateBeforeCall(customerId, patchCustomerRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -624,7 +624,6 @@ private okhttp3.Call postCustomerValidateBeforeCall(PostCustomerRequest postCust */ public PostCustomerRequest postCustomer(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postCustomer' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postCustomerWithHttpInfo(postCustomerRequest, profileId); logger.info("CALL TO METHOD 'postCustomer' ENDED"); return resp.getData(); @@ -639,6 +638,7 @@ public PostCustomerRequest postCustomer(PostCustomerRequest postCustomerRequest, * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postCustomerWithHttpInfo(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postCustomerValidateBeforeCall(postCustomerRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/CustomerPaymentInstrumentApi.java b/src/main/java/Api/CustomerPaymentInstrumentApi.java index fdbaddde6..e4ea77906 100644 --- a/src/main/java/Api/CustomerPaymentInstrumentApi.java +++ b/src/main/java/Api/CustomerPaymentInstrumentApi.java @@ -175,7 +175,6 @@ private okhttp3.Call deleteCustomerPaymentInstrumentValidateBeforeCall(String cu */ public void deleteCustomerPaymentInstrument(String customerId, String paymentInstrumentId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'deleteCustomerPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deleteCustomerPaymentInstrumentWithHttpInfo(customerId, paymentInstrumentId, profileId); } @@ -190,6 +189,7 @@ public void deleteCustomerPaymentInstrument(String customerId, String paymentIns * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deleteCustomerPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteCustomerPaymentInstrumentValidateBeforeCall(customerId, paymentInstrumentId, profileId, null, null); return apiClient.execute(call); } @@ -334,7 +334,6 @@ private okhttp3.Call getCustomerPaymentInstrumentValidateBeforeCall(String custo */ public PostCustomerPaymentInstrumentRequest getCustomerPaymentInstrument(String customerId, String paymentInstrumentId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'getCustomerPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getCustomerPaymentInstrumentWithHttpInfo(customerId, paymentInstrumentId, profileId); logger.info("CALL TO METHOD 'getCustomerPaymentInstrument' ENDED"); return resp.getData(); @@ -350,6 +349,7 @@ public PostCustomerPaymentInstrumentRequest getCustomerPaymentInstrument(String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCustomerPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerPaymentInstrumentValidateBeforeCall(customerId, paymentInstrumentId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -495,7 +495,6 @@ private okhttp3.Call getCustomerPaymentInstrumentsListValidateBeforeCall(String */ public PaymentInstrumentList getCustomerPaymentInstrumentsList(String customerId, String profileId, Long offset, Long limit) throws ApiException { logger.info("CALL TO METHOD 'getCustomerPaymentInstrumentsList' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getCustomerPaymentInstrumentsListWithHttpInfo(customerId, profileId, offset, limit); logger.info("CALL TO METHOD 'getCustomerPaymentInstrumentsList' ENDED"); return resp.getData(); @@ -512,6 +511,7 @@ public PaymentInstrumentList getCustomerPaymentInstrumentsList(String customerId * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCustomerPaymentInstrumentsListWithHttpInfo(String customerId, String profileId, Long offset, Long limit) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerPaymentInstrumentsListValidateBeforeCall(customerId, profileId, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -668,7 +668,6 @@ private okhttp3.Call patchCustomersPaymentInstrumentValidateBeforeCall(String cu */ public PatchCustomerPaymentInstrumentRequest patchCustomersPaymentInstrument(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchCustomersPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = patchCustomersPaymentInstrumentWithHttpInfo(customerId, paymentInstrumentId, patchCustomerPaymentInstrumentRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchCustomersPaymentInstrument' ENDED"); return resp.getData(); @@ -686,6 +685,7 @@ public PatchCustomerPaymentInstrumentRequest patchCustomersPaymentInstrument(Str * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse patchCustomersPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchCustomersPaymentInstrumentValidateBeforeCall(customerId, paymentInstrumentId, patchCustomerPaymentInstrumentRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -830,7 +830,6 @@ private okhttp3.Call postCustomerPaymentInstrumentValidateBeforeCall(String cust */ public PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrument(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postCustomerPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postCustomerPaymentInstrumentWithHttpInfo(customerId, postCustomerPaymentInstrumentRequest, profileId); logger.info("CALL TO METHOD 'postCustomerPaymentInstrument' ENDED"); return resp.getData(); @@ -846,6 +845,7 @@ public PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrument(String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postCustomerPaymentInstrumentWithHttpInfo(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postCustomerPaymentInstrumentValidateBeforeCall(customerId, postCustomerPaymentInstrumentRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/CustomerShippingAddressApi.java b/src/main/java/Api/CustomerShippingAddressApi.java index 9c4ed7e49..3a0afe673 100644 --- a/src/main/java/Api/CustomerShippingAddressApi.java +++ b/src/main/java/Api/CustomerShippingAddressApi.java @@ -175,7 +175,6 @@ private okhttp3.Call deleteCustomerShippingAddressValidateBeforeCall(String cust */ public void deleteCustomerShippingAddress(String customerId, String shippingAddressId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'deleteCustomerShippingAddress' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deleteCustomerShippingAddressWithHttpInfo(customerId, shippingAddressId, profileId); } @@ -190,6 +189,7 @@ public void deleteCustomerShippingAddress(String customerId, String shippingAddr * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deleteCustomerShippingAddressWithHttpInfo(String customerId, String shippingAddressId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteCustomerShippingAddressValidateBeforeCall(customerId, shippingAddressId, profileId, null, null); return apiClient.execute(call); } @@ -334,7 +334,6 @@ private okhttp3.Call getCustomerShippingAddressValidateBeforeCall(String custome */ public PostCustomerShippingAddressRequest getCustomerShippingAddress(String customerId, String shippingAddressId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'getCustomerShippingAddress' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getCustomerShippingAddressWithHttpInfo(customerId, shippingAddressId, profileId); logger.info("CALL TO METHOD 'getCustomerShippingAddress' ENDED"); return resp.getData(); @@ -350,6 +349,7 @@ public PostCustomerShippingAddressRequest getCustomerShippingAddress(String cust * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCustomerShippingAddressWithHttpInfo(String customerId, String shippingAddressId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerShippingAddressValidateBeforeCall(customerId, shippingAddressId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -495,7 +495,6 @@ private okhttp3.Call getCustomerShippingAddressesListValidateBeforeCall(String c */ public ShippingAddressListForCustomer getCustomerShippingAddressesList(String customerId, String profileId, Long offset, Long limit) throws ApiException { logger.info("CALL TO METHOD 'getCustomerShippingAddressesList' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getCustomerShippingAddressesListWithHttpInfo(customerId, profileId, offset, limit); logger.info("CALL TO METHOD 'getCustomerShippingAddressesList' ENDED"); return resp.getData(); @@ -512,6 +511,7 @@ public ShippingAddressListForCustomer getCustomerShippingAddressesList(String cu * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCustomerShippingAddressesListWithHttpInfo(String customerId, String profileId, Long offset, Long limit) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerShippingAddressesListValidateBeforeCall(customerId, profileId, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -668,7 +668,6 @@ private okhttp3.Call patchCustomersShippingAddressValidateBeforeCall(String cust */ public PatchCustomerShippingAddressRequest patchCustomersShippingAddress(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchCustomersShippingAddress' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = patchCustomersShippingAddressWithHttpInfo(customerId, shippingAddressId, patchCustomerShippingAddressRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchCustomersShippingAddress' ENDED"); return resp.getData(); @@ -686,6 +685,7 @@ public PatchCustomerShippingAddressRequest patchCustomersShippingAddress(String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse patchCustomersShippingAddressWithHttpInfo(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchCustomersShippingAddressValidateBeforeCall(customerId, shippingAddressId, patchCustomerShippingAddressRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -830,7 +830,6 @@ private okhttp3.Call postCustomerShippingAddressValidateBeforeCall(String custom */ public PostCustomerShippingAddressRequest postCustomerShippingAddress(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postCustomerShippingAddress' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postCustomerShippingAddressWithHttpInfo(customerId, postCustomerShippingAddressRequest, profileId); logger.info("CALL TO METHOD 'postCustomerShippingAddress' ENDED"); return resp.getData(); @@ -846,6 +845,7 @@ public PostCustomerShippingAddressRequest postCustomerShippingAddress(String cus * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postCustomerShippingAddressWithHttpInfo(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postCustomerShippingAddressValidateBeforeCall(customerId, postCustomerShippingAddressRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/DecisionManagerApi.java b/src/main/java/Api/DecisionManagerApi.java index 239b78b99..449da606a 100644 --- a/src/main/java/Api/DecisionManagerApi.java +++ b/src/main/java/Api/DecisionManagerApi.java @@ -176,7 +176,6 @@ private okhttp3.Call actionDecisionManagerCaseValidateBeforeCall(String id, Case */ public InlineResponse200 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException { logger.info("CALL TO METHOD 'actionDecisionManagerCase' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = actionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest); logger.info("CALL TO METHOD 'actionDecisionManagerCase' ENDED"); return resp.getData(); @@ -191,6 +190,7 @@ public InlineResponse200 actionDecisionManagerCase(String id, CaseManagementActi * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = actionDecisionManagerCaseValidateBeforeCall(id, caseManagementActionsRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -328,7 +328,6 @@ private okhttp3.Call addNegativeValidateBeforeCall(String type, AddNegativeListR */ public RiskV1UpdatePost201Response addNegative(String type, AddNegativeListRequest addNegativeListRequest) throws ApiException { logger.info("CALL TO METHOD 'addNegative' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = addNegativeWithHttpInfo(type, addNegativeListRequest); logger.info("CALL TO METHOD 'addNegative' ENDED"); return resp.getData(); @@ -343,6 +342,7 @@ public RiskV1UpdatePost201Response addNegative(String type, AddNegativeListReque * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse addNegativeWithHttpInfo(String type, AddNegativeListRequest addNegativeListRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = addNegativeValidateBeforeCall(type, addNegativeListRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -480,7 +480,6 @@ private okhttp3.Call commentDecisionManagerCaseValidateBeforeCall(String id, Cas */ public InlineResponse201 commentDecisionManagerCase(String id, CaseManagementCommentsRequest caseManagementCommentsRequest) throws ApiException { logger.info("CALL TO METHOD 'commentDecisionManagerCase' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = commentDecisionManagerCaseWithHttpInfo(id, caseManagementCommentsRequest); logger.info("CALL TO METHOD 'commentDecisionManagerCase' ENDED"); return resp.getData(); @@ -495,6 +494,7 @@ public InlineResponse201 commentDecisionManagerCase(String id, CaseManagementCom * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse commentDecisionManagerCaseWithHttpInfo(String id, CaseManagementCommentsRequest caseManagementCommentsRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = commentDecisionManagerCaseValidateBeforeCall(id, caseManagementCommentsRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -623,7 +623,6 @@ private okhttp3.Call createBundledDecisionManagerCaseValidateBeforeCall(CreateBu */ public RiskV1DecisionsPost201Response createBundledDecisionManagerCase(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest) throws ApiException { logger.info("CALL TO METHOD 'createBundledDecisionManagerCase' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createBundledDecisionManagerCaseWithHttpInfo(createBundledDecisionManagerCaseRequest); logger.info("CALL TO METHOD 'createBundledDecisionManagerCase' ENDED"); return resp.getData(); @@ -637,6 +636,7 @@ public RiskV1DecisionsPost201Response createBundledDecisionManagerCase(CreateBun * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createBundledDecisionManagerCaseWithHttpInfo(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createBundledDecisionManagerCaseValidateBeforeCall(createBundledDecisionManagerCaseRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -773,7 +773,6 @@ private okhttp3.Call fraudUpdateValidateBeforeCall(String id, FraudMarkingAction */ public RiskV1UpdatePost201Response fraudUpdate(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException { logger.info("CALL TO METHOD 'fraudUpdate' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = fraudUpdateWithHttpInfo(id, fraudMarkingActionRequest); logger.info("CALL TO METHOD 'fraudUpdate' ENDED"); return resp.getData(); @@ -788,6 +787,7 @@ public RiskV1UpdatePost201Response fraudUpdate(String id, FraudMarkingActionRequ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse fraudUpdateWithHttpInfo(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = fraudUpdateValidateBeforeCall(id, fraudMarkingActionRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/DownloadDtdApi.java b/src/main/java/Api/DownloadDtdApi.java index e98749d49..029b557fd 100644 --- a/src/main/java/Api/DownloadDtdApi.java +++ b/src/main/java/Api/DownloadDtdApi.java @@ -152,7 +152,6 @@ private okhttp3.Call getDTDV2ValidateBeforeCall(String reportDefinitionNameVersi */ public void getDTDV2(String reportDefinitionNameVersion) throws ApiException { logger.info("CALL TO METHOD 'getDTDV2' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); getDTDV2WithHttpInfo(reportDefinitionNameVersion); } @@ -165,6 +164,7 @@ public void getDTDV2(String reportDefinitionNameVersion) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getDTDV2WithHttpInfo(String reportDefinitionNameVersion) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getDTDV2ValidateBeforeCall(reportDefinitionNameVersion, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/DownloadXsdApi.java b/src/main/java/Api/DownloadXsdApi.java index 96cd218ad..85103b845 100644 --- a/src/main/java/Api/DownloadXsdApi.java +++ b/src/main/java/Api/DownloadXsdApi.java @@ -152,7 +152,6 @@ private okhttp3.Call getXSDV2ValidateBeforeCall(String reportDefinitionNameVersi */ public void getXSDV2(String reportDefinitionNameVersion) throws ApiException { logger.info("CALL TO METHOD 'getXSDV2' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); getXSDV2WithHttpInfo(reportDefinitionNameVersion); } @@ -165,6 +164,7 @@ public void getXSDV2(String reportDefinitionNameVersion) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getXSDV2WithHttpInfo(String reportDefinitionNameVersion) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getXSDV2ValidateBeforeCall(reportDefinitionNameVersion, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/EmvTagDetailsApi.java b/src/main/java/Api/EmvTagDetailsApi.java index a10f74a3b..ef9fba537 100644 --- a/src/main/java/Api/EmvTagDetailsApi.java +++ b/src/main/java/Api/EmvTagDetailsApi.java @@ -147,7 +147,6 @@ private okhttp3.Call getEmvTagsValidateBeforeCall(final ProgressResponseBody.Pro */ public TssV2GetEmvTags200Response getEmvTags() throws ApiException { logger.info("CALL TO METHOD 'getEmvTags' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getEmvTagsWithHttpInfo(); logger.info("CALL TO METHOD 'getEmvTags' ENDED"); return resp.getData(); @@ -160,6 +159,7 @@ public TssV2GetEmvTags200Response getEmvTags() throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getEmvTagsWithHttpInfo() throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getEmvTagsValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -286,7 +286,6 @@ private okhttp3.Call parseEmvTagsValidateBeforeCall(Body body, final ProgressRes */ public TssV2PostEmvTags200Response parseEmvTags(Body body) throws ApiException { logger.info("CALL TO METHOD 'parseEmvTags' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = parseEmvTagsWithHttpInfo(body); logger.info("CALL TO METHOD 'parseEmvTags' ENDED"); return resp.getData(); @@ -300,6 +299,7 @@ public TssV2PostEmvTags200Response parseEmvTags(Body body) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse parseEmvTagsWithHttpInfo(Body body) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = parseEmvTagsValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/FlexApiApi.java b/src/main/java/Api/FlexApiApi.java index 2af1056a0..245b1d4f0 100644 --- a/src/main/java/Api/FlexApiApi.java +++ b/src/main/java/Api/FlexApiApi.java @@ -151,7 +151,6 @@ private okhttp3.Call generateFlexAPICaptureContextValidateBeforeCall(GenerateFle */ public String generateFlexAPICaptureContext(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException { logger.info("CALL TO METHOD 'generateFlexAPICaptureContext' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = generateFlexAPICaptureContextWithHttpInfo(generateFlexAPICaptureContextRequest); logger.info("CALL TO METHOD 'generateFlexAPICaptureContext' ENDED"); return resp.getData(); @@ -165,6 +164,7 @@ public String generateFlexAPICaptureContext(GenerateFlexAPICaptureContextRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse generateFlexAPICaptureContextWithHttpInfo(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = generateFlexAPICaptureContextValidateBeforeCall(generateFlexAPICaptureContextRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java index 36ba14d3d..a117871ab 100644 --- a/src/main/java/Api/InstrumentIdentifierApi.java +++ b/src/main/java/Api/InstrumentIdentifierApi.java @@ -167,7 +167,6 @@ private okhttp3.Call deleteInstrumentIdentifierValidateBeforeCall(String instrum */ public void deleteInstrumentIdentifier(String instrumentIdentifierId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'deleteInstrumentIdentifier' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deleteInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, profileId); } @@ -181,6 +180,7 @@ public void deleteInstrumentIdentifier(String instrumentIdentifierId, String pro * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deleteInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, null, null); return apiClient.execute(call); } @@ -315,7 +315,6 @@ private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrument */ public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrumentIdentifierId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'getInstrumentIdentifier' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, profileId); logger.info("CALL TO METHOD 'getInstrumentIdentifier' ENDED"); return resp.getData(); @@ -330,6 +329,7 @@ public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrument * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -474,7 +474,6 @@ private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBefore */ public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(String instrumentIdentifierId, String profileId, Long offset, Long limit) throws ApiException { logger.info("CALL TO METHOD 'getInstrumentIdentifierPaymentInstrumentsList' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(instrumentIdentifierId, profileId, offset, limit); logger.info("CALL TO METHOD 'getInstrumentIdentifierPaymentInstrumentsList' ENDED"); return resp.getData(); @@ -491,6 +490,7 @@ public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(Stri * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(String instrumentIdentifierId, String profileId, Long offset, Long limit) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(instrumentIdentifierId, profileId, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -638,7 +638,6 @@ private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrume */ public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchInstrumentIdentifier' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = patchInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchInstrumentIdentifier' ENDED"); return resp.getData(); @@ -655,6 +654,7 @@ public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrum * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse patchInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -789,7 +789,6 @@ private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentId */ public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postInstrumentIdentifier' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postInstrumentIdentifierWithHttpInfo(postInstrumentIdentifierRequest, profileId); logger.info("CALL TO METHOD 'postInstrumentIdentifier' ENDED"); return resp.getData(); @@ -804,6 +803,7 @@ public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentId * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postInstrumentIdentifierWithHttpInfo(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postInstrumentIdentifierValidateBeforeCall(postInstrumentIdentifierRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -944,7 +944,6 @@ private okhttp3.Call postInstrumentIdentifierEnrollmentValidateBeforeCall(String */ public void postInstrumentIdentifierEnrollment(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postInstrumentIdentifierEnrollment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); postInstrumentIdentifierEnrollmentWithHttpInfo(instrumentIdentifierId, postInstrumentIdentifierEnrollmentRequest, profileId); } @@ -959,6 +958,7 @@ public void postInstrumentIdentifierEnrollment(String instrumentIdentifierId, Po * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postInstrumentIdentifierEnrollmentWithHttpInfo(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postInstrumentIdentifierEnrollmentValidateBeforeCall(instrumentIdentifierId, postInstrumentIdentifierEnrollmentRequest, profileId, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/InterchangeClearingLevelDetailsApi.java b/src/main/java/Api/InterchangeClearingLevelDetailsApi.java index 7da0b75e9..f81fc5dfb 100644 --- a/src/main/java/Api/InterchangeClearingLevelDetailsApi.java +++ b/src/main/java/Api/InterchangeClearingLevelDetailsApi.java @@ -170,7 +170,6 @@ private okhttp3.Call getInterchangeClearingLevelDetailsValidateBeforeCall(DateTi */ public ReportingV3InterchangeClearingLevelDetailsGet200Response getInterchangeClearingLevelDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getInterchangeClearingLevelDetails' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getInterchangeClearingLevelDetailsWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getInterchangeClearingLevelDetails' ENDED"); return resp.getData(); @@ -186,6 +185,7 @@ public ReportingV3InterchangeClearingLevelDetailsGet200Response getInterchangeCl * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getInterchangeClearingLevelDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInterchangeClearingLevelDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/InvoiceSettingsApi.java b/src/main/java/Api/InvoiceSettingsApi.java index 1e869977e..e7618477d 100644 --- a/src/main/java/Api/InvoiceSettingsApi.java +++ b/src/main/java/Api/InvoiceSettingsApi.java @@ -148,7 +148,6 @@ private okhttp3.Call getInvoiceSettingsValidateBeforeCall(final ProgressResponse */ public InvoicingV2InvoiceSettingsGet200Response getInvoiceSettings() throws ApiException { logger.info("CALL TO METHOD 'getInvoiceSettings' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getInvoiceSettingsWithHttpInfo(); logger.info("CALL TO METHOD 'getInvoiceSettings' ENDED"); return resp.getData(); @@ -161,6 +160,7 @@ public InvoicingV2InvoiceSettingsGet200Response getInvoiceSettings() throws ApiE * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getInvoiceSettingsWithHttpInfo() throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInvoiceSettingsValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -287,7 +287,6 @@ private okhttp3.Call updateInvoiceSettingsValidateBeforeCall(InvoiceSettingsRequ */ public InvoicingV2InvoiceSettingsGet200Response updateInvoiceSettings(InvoiceSettingsRequest invoiceSettingsRequest) throws ApiException { logger.info("CALL TO METHOD 'updateInvoiceSettings' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = updateInvoiceSettingsWithHttpInfo(invoiceSettingsRequest); logger.info("CALL TO METHOD 'updateInvoiceSettings' ENDED"); return resp.getData(); @@ -301,6 +300,7 @@ public InvoicingV2InvoiceSettingsGet200Response updateInvoiceSettings(InvoiceSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updateInvoiceSettingsWithHttpInfo(InvoiceSettingsRequest invoiceSettingsRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateInvoiceSettingsValidateBeforeCall(invoiceSettingsRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/InvoicesApi.java b/src/main/java/Api/InvoicesApi.java index 9e77d249d..2876fd150 100644 --- a/src/main/java/Api/InvoicesApi.java +++ b/src/main/java/Api/InvoicesApi.java @@ -158,7 +158,6 @@ private okhttp3.Call createInvoiceValidateBeforeCall(CreateInvoiceRequest create */ public InvoicingV2InvoicesPost201Response createInvoice(CreateInvoiceRequest createInvoiceRequest) throws ApiException { logger.info("CALL TO METHOD 'createInvoice' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createInvoiceWithHttpInfo(createInvoiceRequest); logger.info("CALL TO METHOD 'createInvoice' ENDED"); return resp.getData(); @@ -172,6 +171,7 @@ public InvoicingV2InvoicesPost201Response createInvoice(CreateInvoiceRequest cre * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createInvoiceWithHttpInfo(CreateInvoiceRequest createInvoiceRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createInvoiceValidateBeforeCall(createInvoiceRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -318,7 +318,6 @@ private okhttp3.Call getAllInvoicesValidateBeforeCall(Integer offset, Integer li */ public InvoicingV2InvoicesAllGet200Response getAllInvoices(Integer offset, Integer limit, String status) throws ApiException { logger.info("CALL TO METHOD 'getAllInvoices' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getAllInvoicesWithHttpInfo(offset, limit, status); logger.info("CALL TO METHOD 'getAllInvoices' ENDED"); return resp.getData(); @@ -334,6 +333,7 @@ public InvoicingV2InvoicesAllGet200Response getAllInvoices(Integer offset, Integ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getAllInvoicesWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllInvoicesValidateBeforeCall(offset, limit, status, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -467,7 +467,6 @@ private okhttp3.Call getInvoiceValidateBeforeCall(String id, final ProgressRespo */ public InvoicingV2InvoicesGet200Response getInvoice(String id) throws ApiException { logger.info("CALL TO METHOD 'getInvoice' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getInvoiceWithHttpInfo(id); logger.info("CALL TO METHOD 'getInvoice' ENDED"); return resp.getData(); @@ -481,6 +480,7 @@ public InvoicingV2InvoicesGet200Response getInvoice(String id) throws ApiExcepti * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getInvoiceWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInvoiceValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -612,7 +612,6 @@ private okhttp3.Call performCancelActionValidateBeforeCall(String id, final Prog */ public InvoicingV2InvoicesPost201Response performCancelAction(String id) throws ApiException { logger.info("CALL TO METHOD 'performCancelAction' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = performCancelActionWithHttpInfo(id); logger.info("CALL TO METHOD 'performCancelAction' ENDED"); return resp.getData(); @@ -626,6 +625,7 @@ public InvoicingV2InvoicesPost201Response performCancelAction(String id) throws * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse performCancelActionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = performCancelActionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -757,7 +757,6 @@ private okhttp3.Call performSendActionValidateBeforeCall(String id, final Progre */ public InvoicingV2InvoicesPost201Response performSendAction(String id) throws ApiException { logger.info("CALL TO METHOD 'performSendAction' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = performSendActionWithHttpInfo(id); logger.info("CALL TO METHOD 'performSendAction' ENDED"); return resp.getData(); @@ -771,6 +770,7 @@ public InvoicingV2InvoicesPost201Response performSendAction(String id) throws Ap * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse performSendActionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = performSendActionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -907,7 +907,6 @@ private okhttp3.Call updateInvoiceValidateBeforeCall(String id, UpdateInvoiceReq */ public InvoicingV2InvoicesPost201Response updateInvoice(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException { logger.info("CALL TO METHOD 'updateInvoice' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = updateInvoiceWithHttpInfo(id, updateInvoiceRequest); logger.info("CALL TO METHOD 'updateInvoice' ENDED"); return resp.getData(); @@ -922,6 +921,7 @@ public InvoicingV2InvoicesPost201Response updateInvoice(String id, UpdateInvoice * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updateInvoiceWithHttpInfo(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateInvoiceValidateBeforeCall(id, updateInvoiceRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ManageWebhooksApi.java b/src/main/java/Api/ManageWebhooksApi.java index 2bdf5d50c..3c050e867 100644 --- a/src/main/java/Api/ManageWebhooksApi.java +++ b/src/main/java/Api/ManageWebhooksApi.java @@ -159,7 +159,6 @@ private okhttp3.Call deleteWebhookSubscriptionValidateBeforeCall(String webhookI */ public void deleteWebhookSubscription(String webhookId) throws ApiException { logger.info("CALL TO METHOD 'deleteWebhookSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deleteWebhookSubscriptionWithHttpInfo(webhookId); } @@ -172,6 +171,7 @@ public void deleteWebhookSubscription(String webhookId) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deleteWebhookSubscriptionWithHttpInfo(String webhookId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteWebhookSubscriptionValidateBeforeCall(webhookId, null, null); return apiClient.execute(call); } @@ -302,7 +302,6 @@ private okhttp3.Call getWebhookSubscriptionByIdValidateBeforeCall(String webhook */ public InlineResponse2004 getWebhookSubscriptionById(String webhookId) throws ApiException { logger.info("CALL TO METHOD 'getWebhookSubscriptionById' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getWebhookSubscriptionByIdWithHttpInfo(webhookId); logger.info("CALL TO METHOD 'getWebhookSubscriptionById' ENDED"); return resp.getData(); @@ -316,6 +315,7 @@ public InlineResponse2004 getWebhookSubscriptionById(String webhookId) throws Ap * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getWebhookSubscriptionByIdWithHttpInfo(String webhookId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getWebhookSubscriptionByIdValidateBeforeCall(webhookId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -469,7 +469,6 @@ private okhttp3.Call getWebhookSubscriptionsByOrgValidateBeforeCall(String organ */ public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException { logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' ENDED"); return resp.getData(); @@ -485,6 +484,7 @@ public List getWebhookSubscriptionsByOrg(String organization * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -639,7 +639,6 @@ private okhttp3.Call saveAsymEgressKeyValidateBeforeCall(String vCSenderOrganiza */ public InlineResponse2015 saveAsymEgressKey(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId) throws ApiException { logger.info("CALL TO METHOD 'saveAsymEgressKey' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = saveAsymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId); logger.info("CALL TO METHOD 'saveAsymEgressKey' ENDED"); return resp.getData(); @@ -656,6 +655,7 @@ public InlineResponse2015 saveAsymEgressKey(String vCSenderOrganizationId, Strin * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse saveAsymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = saveAsymEgressKeyValidateBeforeCall(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -789,7 +789,6 @@ private okhttp3.Call updateWebhookSubscriptionValidateBeforeCall(String webhookI */ public void updateWebhookSubscription(String webhookId, UpdateWebhookRequest updateWebhookRequest) throws ApiException { logger.info("CALL TO METHOD 'updateWebhookSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); updateWebhookSubscriptionWithHttpInfo(webhookId, updateWebhookRequest); } @@ -803,6 +802,7 @@ public void updateWebhookSubscription(String webhookId, UpdateWebhookRequest upd * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updateWebhookSubscriptionWithHttpInfo(String webhookId, UpdateWebhookRequest updateWebhookRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateWebhookSubscriptionValidateBeforeCall(webhookId, updateWebhookRequest, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/MerchantBoardingApi.java b/src/main/java/Api/MerchantBoardingApi.java index e914cc786..7dd891e9b 100644 --- a/src/main/java/Api/MerchantBoardingApi.java +++ b/src/main/java/Api/MerchantBoardingApi.java @@ -160,7 +160,6 @@ private okhttp3.Call getRegistrationValidateBeforeCall(String registrationId, fi */ public InlineResponse2001 getRegistration(String registrationId) throws ApiException { logger.info("CALL TO METHOD 'getRegistration' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getRegistrationWithHttpInfo(registrationId); logger.info("CALL TO METHOD 'getRegistration' ENDED"); return resp.getData(); @@ -174,6 +173,7 @@ public InlineResponse2001 getRegistration(String registrationId) throws ApiExcep * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -305,7 +305,6 @@ private okhttp3.Call postRegistrationValidateBeforeCall(PostRegistrationBody pos */ public InlineResponse2012 postRegistration(PostRegistrationBody postRegistrationBody, String vCIdempotencyId) throws ApiException { logger.info("CALL TO METHOD 'postRegistration' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postRegistrationWithHttpInfo(postRegistrationBody, vCIdempotencyId); logger.info("CALL TO METHOD 'postRegistration' ENDED"); return resp.getData(); @@ -320,6 +319,7 @@ public InlineResponse2012 postRegistration(PostRegistrationBody postRegistration * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postRegistrationWithHttpInfo(PostRegistrationBody postRegistrationBody, String vCIdempotencyId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postRegistrationValidateBeforeCall(postRegistrationBody, vCIdempotencyId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/MicroformIntegrationApi.java b/src/main/java/Api/MicroformIntegrationApi.java index e1015c588..a2db8a45d 100644 --- a/src/main/java/Api/MicroformIntegrationApi.java +++ b/src/main/java/Api/MicroformIntegrationApi.java @@ -151,7 +151,6 @@ private okhttp3.Call generateCaptureContextValidateBeforeCall(GenerateCaptureCon */ public String generateCaptureContext(GenerateCaptureContextRequest generateCaptureContextRequest) throws ApiException { logger.info("CALL TO METHOD 'generateCaptureContext' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = generateCaptureContextWithHttpInfo(generateCaptureContextRequest); logger.info("CALL TO METHOD 'generateCaptureContext' ENDED"); return resp.getData(); @@ -165,6 +164,7 @@ public String generateCaptureContext(GenerateCaptureContextRequest generateCaptu * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse generateCaptureContextWithHttpInfo(GenerateCaptureContextRequest generateCaptureContextRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = generateCaptureContextValidateBeforeCall(generateCaptureContextRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/NetFundingsApi.java b/src/main/java/Api/NetFundingsApi.java index 508b29670..3b7d49ce4 100644 --- a/src/main/java/Api/NetFundingsApi.java +++ b/src/main/java/Api/NetFundingsApi.java @@ -175,7 +175,6 @@ private okhttp3.Call getNetFundingDetailsValidateBeforeCall(DateTime startTime, */ public ReportingV3NetFundingsGet200Response getNetFundingDetails(DateTime startTime, DateTime endTime, String organizationId, String groupName) throws ApiException { logger.info("CALL TO METHOD 'getNetFundingDetails' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getNetFundingDetailsWithHttpInfo(startTime, endTime, organizationId, groupName); logger.info("CALL TO METHOD 'getNetFundingDetails' ENDED"); return resp.getData(); @@ -192,6 +191,7 @@ public ReportingV3NetFundingsGet200Response getNetFundingDetails(DateTime startT * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getNetFundingDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String groupName) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getNetFundingDetailsValidateBeforeCall(startTime, endTime, organizationId, groupName, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/NotificationOfChangesApi.java b/src/main/java/Api/NotificationOfChangesApi.java index b8b07313d..0984811ba 100644 --- a/src/main/java/Api/NotificationOfChangesApi.java +++ b/src/main/java/Api/NotificationOfChangesApi.java @@ -167,7 +167,6 @@ private okhttp3.Call getNotificationOfChangeReportValidateBeforeCall(DateTime st */ public ReportingV3NotificationofChangesGet200Response getNotificationOfChangeReport(DateTime startTime, DateTime endTime) throws ApiException { logger.info("CALL TO METHOD 'getNotificationOfChangeReport' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getNotificationOfChangeReportWithHttpInfo(startTime, endTime); logger.info("CALL TO METHOD 'getNotificationOfChangeReport' ENDED"); return resp.getData(); @@ -182,6 +181,7 @@ public ReportingV3NotificationofChangesGet200Response getNotificationOfChangeRep * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getNotificationOfChangeReportWithHttpInfo(DateTime startTime, DateTime endTime) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getNotificationOfChangeReportValidateBeforeCall(startTime, endTime, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/OrdersApi.java b/src/main/java/Api/OrdersApi.java index 451cf6d0d..ec64ab899 100644 --- a/src/main/java/Api/OrdersApi.java +++ b/src/main/java/Api/OrdersApi.java @@ -155,7 +155,6 @@ private okhttp3.Call createOrderValidateBeforeCall(CreateOrderRequest createOrde */ public PtsV2CreateOrderPost201Response createOrder(CreateOrderRequest createOrderRequest) throws ApiException { logger.info("CALL TO METHOD 'createOrder' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createOrderWithHttpInfo(createOrderRequest); logger.info("CALL TO METHOD 'createOrder' ENDED"); return resp.getData(); @@ -169,6 +168,7 @@ public PtsV2CreateOrderPost201Response createOrder(CreateOrderRequest createOrde * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createOrderWithHttpInfo(CreateOrderRequest createOrderRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createOrderValidateBeforeCall(createOrderRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -305,7 +305,6 @@ private okhttp3.Call updateOrderValidateBeforeCall(String id, UpdateOrderRequest */ public PtsV2UpdateOrderPatch201Response updateOrder(String id, UpdateOrderRequest updateOrderRequest) throws ApiException { logger.info("CALL TO METHOD 'updateOrder' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = updateOrderWithHttpInfo(id, updateOrderRequest); logger.info("CALL TO METHOD 'updateOrder' ENDED"); return resp.getData(); @@ -320,6 +319,7 @@ public PtsV2UpdateOrderPatch201Response updateOrder(String id, UpdateOrderReques * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updateOrderWithHttpInfo(String id, UpdateOrderRequest updateOrderRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateOrderValidateBeforeCall(id, updateOrderRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PayerAuthenticationApi.java b/src/main/java/Api/PayerAuthenticationApi.java index 9f8f1ffc9..bb11b81ce 100644 --- a/src/main/java/Api/PayerAuthenticationApi.java +++ b/src/main/java/Api/PayerAuthenticationApi.java @@ -158,7 +158,6 @@ private okhttp3.Call checkPayerAuthEnrollmentValidateBeforeCall(CheckPayerAuthEn */ public RiskV1AuthenticationsPost201Response checkPayerAuthEnrollment(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest) throws ApiException { logger.info("CALL TO METHOD 'checkPayerAuthEnrollment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = checkPayerAuthEnrollmentWithHttpInfo(checkPayerAuthEnrollmentRequest); logger.info("CALL TO METHOD 'checkPayerAuthEnrollment' ENDED"); return resp.getData(); @@ -172,6 +171,7 @@ public RiskV1AuthenticationsPost201Response checkPayerAuthEnrollment(CheckPayerA * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse checkPayerAuthEnrollmentWithHttpInfo(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = checkPayerAuthEnrollmentValidateBeforeCall(checkPayerAuthEnrollmentRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -299,7 +299,6 @@ private okhttp3.Call payerAuthSetupValidateBeforeCall(PayerAuthSetupRequest paye */ public RiskV1AuthenticationSetupsPost201Response payerAuthSetup(PayerAuthSetupRequest payerAuthSetupRequest) throws ApiException { logger.info("CALL TO METHOD 'payerAuthSetup' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = payerAuthSetupWithHttpInfo(payerAuthSetupRequest); logger.info("CALL TO METHOD 'payerAuthSetup' ENDED"); return resp.getData(); @@ -313,6 +312,7 @@ public RiskV1AuthenticationSetupsPost201Response payerAuthSetup(PayerAuthSetupRe * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse payerAuthSetupWithHttpInfo(PayerAuthSetupRequest payerAuthSetupRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = payerAuthSetupValidateBeforeCall(payerAuthSetupRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -440,7 +440,6 @@ private okhttp3.Call validateAuthenticationResultsValidateBeforeCall(ValidateReq */ public RiskV1AuthenticationResultsPost201Response validateAuthenticationResults(ValidateRequest validateRequest) throws ApiException { logger.info("CALL TO METHOD 'validateAuthenticationResults' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = validateAuthenticationResultsWithHttpInfo(validateRequest); logger.info("CALL TO METHOD 'validateAuthenticationResults' ENDED"); return resp.getData(); @@ -454,6 +453,7 @@ public RiskV1AuthenticationResultsPost201Response validateAuthenticationResults( * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse validateAuthenticationResultsWithHttpInfo(ValidateRequest validateRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = validateAuthenticationResultsValidateBeforeCall(validateRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PaymentBatchSummariesApi.java b/src/main/java/Api/PaymentBatchSummariesApi.java index b3b3c7b0b..2e9eb9216 100644 --- a/src/main/java/Api/PaymentBatchSummariesApi.java +++ b/src/main/java/Api/PaymentBatchSummariesApi.java @@ -183,7 +183,6 @@ private okhttp3.Call getPaymentBatchSummaryValidateBeforeCall(DateTime startTime */ public ReportingV3PaymentBatchSummariesGet200Response getPaymentBatchSummary(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek) throws ApiException { logger.info("CALL TO METHOD 'getPaymentBatchSummary' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPaymentBatchSummaryWithHttpInfo(startTime, endTime, organizationId, rollUp, breakdown, startDayOfWeek); logger.info("CALL TO METHOD 'getPaymentBatchSummary' ENDED"); return resp.getData(); @@ -202,6 +201,7 @@ public ReportingV3PaymentBatchSummariesGet200Response getPaymentBatchSummary(Dat * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPaymentBatchSummaryWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentBatchSummaryValidateBeforeCall(startTime, endTime, organizationId, rollUp, breakdown, startDayOfWeek, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java index 2e6a9d616..3a40d8729 100644 --- a/src/main/java/Api/PaymentInstrumentApi.java +++ b/src/main/java/Api/PaymentInstrumentApi.java @@ -165,7 +165,6 @@ private okhttp3.Call deletePaymentInstrumentValidateBeforeCall(String paymentIns */ public void deletePaymentInstrument(String paymentInstrumentId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'deletePaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deletePaymentInstrumentWithHttpInfo(paymentInstrumentId, profileId); } @@ -179,6 +178,7 @@ public void deletePaymentInstrument(String paymentInstrumentId, String profileId * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deletePaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deletePaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, null, null); return apiClient.execute(call); } @@ -313,7 +313,6 @@ private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstru */ public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumentId, String profileId) throws ApiException { logger.info("CALL TO METHOD 'getPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPaymentInstrumentWithHttpInfo(paymentInstrumentId, profileId); logger.info("CALL TO METHOD 'getPaymentInstrument' ENDED"); return resp.getData(); @@ -328,6 +327,7 @@ public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumen * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -473,7 +473,6 @@ private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInst */ public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = patchPaymentInstrumentWithHttpInfo(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchPaymentInstrument' ENDED"); return resp.getData(); @@ -490,6 +489,7 @@ public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstru * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse patchPaymentInstrumentWithHttpInfo(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchPaymentInstrumentValidateBeforeCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -624,7 +624,6 @@ private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrume */ public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postPaymentInstrument' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postPaymentInstrumentWithHttpInfo(postPaymentInstrumentRequest, profileId); logger.info("CALL TO METHOD 'postPaymentInstrument' ENDED"); return resp.getData(); @@ -639,6 +638,7 @@ public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentR * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postPaymentInstrumentValidateBeforeCall(postPaymentInstrumentRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PaymentsApi.java b/src/main/java/Api/PaymentsApi.java index 083b2d7fd..71f108a23 100644 --- a/src/main/java/Api/PaymentsApi.java +++ b/src/main/java/Api/PaymentsApi.java @@ -172,7 +172,6 @@ private okhttp3.Call createOrderRequestValidateBeforeCall(OrderPaymentRequest or */ public PtsV2PaymentsOrderPost201Response createOrderRequest(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'createOrderRequest' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createOrderRequestWithHttpInfo(orderPaymentRequest, id); logger.info("CALL TO METHOD 'createOrderRequest' ENDED"); return resp.getData(); @@ -187,6 +186,7 @@ public PtsV2PaymentsOrderPost201Response createOrderRequest(OrderPaymentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createOrderRequestWithHttpInfo(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createOrderRequestValidateBeforeCall(orderPaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -315,7 +315,6 @@ private okhttp3.Call createPaymentValidateBeforeCall(CreatePaymentRequest create */ public PtsV2PaymentsPost201Response createPayment(CreatePaymentRequest createPaymentRequest) throws ApiException { logger.info("CALL TO METHOD 'createPayment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createPaymentWithHttpInfo(createPaymentRequest); logger.info("CALL TO METHOD 'createPayment' ENDED"); return resp.getData(); @@ -329,6 +328,7 @@ public PtsV2PaymentsPost201Response createPayment(CreatePaymentRequest createPay * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createPaymentWithHttpInfo(CreatePaymentRequest createPaymentRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPaymentValidateBeforeCall(createPaymentRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -456,7 +456,6 @@ private okhttp3.Call createSessionRequestValidateBeforeCall(CreateSessionReq cre */ public PtsV2PaymentsPost201Response2 createSessionRequest(CreateSessionReq createSessionReq) throws ApiException { logger.info("CALL TO METHOD 'createSessionRequest' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createSessionRequestWithHttpInfo(createSessionReq); logger.info("CALL TO METHOD 'createSessionRequest' ENDED"); return resp.getData(); @@ -470,6 +469,7 @@ public PtsV2PaymentsPost201Response2 createSessionRequest(CreateSessionReq creat * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createSessionRequestWithHttpInfo(CreateSessionReq createSessionReq) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSessionRequestValidateBeforeCall(createSessionReq, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -606,7 +606,6 @@ private okhttp3.Call incrementAuthValidateBeforeCall(String id, IncrementAuthReq */ public PtsV2IncrementalAuthorizationPatch201Response incrementAuth(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException { logger.info("CALL TO METHOD 'incrementAuth' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = incrementAuthWithHttpInfo(id, incrementAuthRequest); logger.info("CALL TO METHOD 'incrementAuth' ENDED"); return resp.getData(); @@ -621,6 +620,7 @@ public PtsV2IncrementalAuthorizationPatch201Response incrementAuth(String id, In * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse incrementAuthWithHttpInfo(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = incrementAuthValidateBeforeCall(id, incrementAuthRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -758,7 +758,6 @@ private okhttp3.Call refreshPaymentStatusValidateBeforeCall(String id, RefreshPa */ public PtsV2PaymentsPost201Response1 refreshPaymentStatus(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException { logger.info("CALL TO METHOD 'refreshPaymentStatus' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = refreshPaymentStatusWithHttpInfo(id, refreshPaymentStatusRequest); logger.info("CALL TO METHOD 'refreshPaymentStatus' ENDED"); return resp.getData(); @@ -773,6 +772,7 @@ public PtsV2PaymentsPost201Response1 refreshPaymentStatus(String id, RefreshPaym * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse refreshPaymentStatusWithHttpInfo(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = refreshPaymentStatusValidateBeforeCall(id, refreshPaymentStatusRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -910,7 +910,6 @@ private okhttp3.Call updateSessionReqValidateBeforeCall(CreateSessionRequest cre */ public PtsV2PaymentsPost201Response2 updateSessionReq(CreateSessionRequest createSessionRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'updateSessionReq' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = updateSessionReqWithHttpInfo(createSessionRequest, id); logger.info("CALL TO METHOD 'updateSessionReq' ENDED"); return resp.getData(); @@ -925,6 +924,7 @@ public PtsV2PaymentsPost201Response2 updateSessionReq(CreateSessionRequest creat * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updateSessionReqWithHttpInfo(CreateSessionRequest createSessionRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateSessionReqValidateBeforeCall(createSessionRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PayoutsApi.java b/src/main/java/Api/PayoutsApi.java index aa8e3ceb7..824d307e2 100644 --- a/src/main/java/Api/PayoutsApi.java +++ b/src/main/java/Api/PayoutsApi.java @@ -153,7 +153,6 @@ private okhttp3.Call octCreatePaymentValidateBeforeCall(OctCreatePaymentRequest */ public PtsV2PayoutsPost201Response octCreatePayment(OctCreatePaymentRequest octCreatePaymentRequest) throws ApiException { logger.info("CALL TO METHOD 'octCreatePayment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = octCreatePaymentWithHttpInfo(octCreatePaymentRequest); logger.info("CALL TO METHOD 'octCreatePayment' ENDED"); return resp.getData(); @@ -167,6 +166,7 @@ public PtsV2PayoutsPost201Response octCreatePayment(OctCreatePaymentRequest octC * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse octCreatePaymentWithHttpInfo(OctCreatePaymentRequest octCreatePaymentRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = octCreatePaymentValidateBeforeCall(octCreatePaymentRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PlansApi.java b/src/main/java/Api/PlansApi.java index ebe79bad3..f81c851d2 100644 --- a/src/main/java/Api/PlansApi.java +++ b/src/main/java/Api/PlansApi.java @@ -165,7 +165,6 @@ private okhttp3.Call activatePlanValidateBeforeCall(String id, final ProgressRes */ public ActivateDeactivatePlanResponse activatePlan(String id) throws ApiException { logger.info("CALL TO METHOD 'activatePlan' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = activatePlanWithHttpInfo(id); logger.info("CALL TO METHOD 'activatePlan' ENDED"); return resp.getData(); @@ -179,6 +178,7 @@ public ActivateDeactivatePlanResponse activatePlan(String id) throws ApiExceptio * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse activatePlanWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = activatePlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -306,7 +306,6 @@ private okhttp3.Call createPlanValidateBeforeCall(CreatePlanRequest createPlanRe */ public CreatePlanResponse createPlan(CreatePlanRequest createPlanRequest) throws ApiException { logger.info("CALL TO METHOD 'createPlan' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createPlanWithHttpInfo(createPlanRequest); logger.info("CALL TO METHOD 'createPlan' ENDED"); return resp.getData(); @@ -320,6 +319,7 @@ public CreatePlanResponse createPlan(CreatePlanRequest createPlanRequest) throws * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createPlanWithHttpInfo(CreatePlanRequest createPlanRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPlanValidateBeforeCall(createPlanRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -451,7 +451,6 @@ private okhttp3.Call deactivatePlanValidateBeforeCall(String id, final ProgressR */ public ActivateDeactivatePlanResponse deactivatePlan(String id) throws ApiException { logger.info("CALL TO METHOD 'deactivatePlan' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = deactivatePlanWithHttpInfo(id); logger.info("CALL TO METHOD 'deactivatePlan' ENDED"); return resp.getData(); @@ -465,6 +464,7 @@ public ActivateDeactivatePlanResponse deactivatePlan(String id) throws ApiExcept * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deactivatePlanWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deactivatePlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -596,7 +596,6 @@ private okhttp3.Call deletePlanValidateBeforeCall(String id, final ProgressRespo */ public DeletePlanResponse deletePlan(String id) throws ApiException { logger.info("CALL TO METHOD 'deletePlan' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = deletePlanWithHttpInfo(id); logger.info("CALL TO METHOD 'deletePlan' ENDED"); return resp.getData(); @@ -610,6 +609,7 @@ public DeletePlanResponse deletePlan(String id) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deletePlanWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deletePlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -741,7 +741,6 @@ private okhttp3.Call getPlanValidateBeforeCall(String id, final ProgressResponse */ public GetPlanResponse getPlan(String id) throws ApiException { logger.info("CALL TO METHOD 'getPlan' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPlanWithHttpInfo(id); logger.info("CALL TO METHOD 'getPlan' ENDED"); return resp.getData(); @@ -755,6 +754,7 @@ public GetPlanResponse getPlan(String id) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPlanWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -877,7 +877,6 @@ private okhttp3.Call getPlanCodeValidateBeforeCall(final ProgressResponseBody.Pr */ public GetPlanCodeResponse getPlanCode() throws ApiException { logger.info("CALL TO METHOD 'getPlanCode' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPlanCodeWithHttpInfo(); logger.info("CALL TO METHOD 'getPlanCode' ENDED"); return resp.getData(); @@ -890,6 +889,7 @@ public GetPlanCodeResponse getPlanCode() throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPlanCodeWithHttpInfo() throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPlanCodeValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1031,7 +1031,6 @@ private okhttp3.Call getPlansValidateBeforeCall(Integer offset, Integer limit, S */ public GetAllPlansResponse getPlans(Integer offset, Integer limit, String code, String status, String name) throws ApiException { logger.info("CALL TO METHOD 'getPlans' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPlansWithHttpInfo(offset, limit, code, status, name); logger.info("CALL TO METHOD 'getPlans' ENDED"); return resp.getData(); @@ -1049,6 +1048,7 @@ public GetAllPlansResponse getPlans(Integer offset, Integer limit, String code, * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPlansWithHttpInfo(Integer offset, Integer limit, String code, String status, String name) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPlansValidateBeforeCall(offset, limit, code, status, name, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1189,7 +1189,6 @@ private okhttp3.Call updatePlanValidateBeforeCall(String id, UpdatePlanRequest u */ public UpdatePlanResponse updatePlan(String id, UpdatePlanRequest updatePlanRequest) throws ApiException { logger.info("CALL TO METHOD 'updatePlan' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = updatePlanWithHttpInfo(id, updatePlanRequest); logger.info("CALL TO METHOD 'updatePlan' ENDED"); return resp.getData(); @@ -1204,6 +1203,7 @@ public UpdatePlanResponse updatePlan(String id, UpdatePlanRequest updatePlanRequ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updatePlanWithHttpInfo(String id, UpdatePlanRequest updatePlanRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updatePlanValidateBeforeCall(id, updatePlanRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PurchaseAndRefundDetailsApi.java b/src/main/java/Api/PurchaseAndRefundDetailsApi.java index cf8df70da..d80bf20dc 100644 --- a/src/main/java/Api/PurchaseAndRefundDetailsApi.java +++ b/src/main/java/Api/PurchaseAndRefundDetailsApi.java @@ -191,7 +191,6 @@ private okhttp3.Call getPurchaseAndRefundDetailsValidateBeforeCall(DateTime star */ public ReportingV3PurchaseRefundDetailsGet200Response getPurchaseAndRefundDetails(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit) throws ApiException { logger.info("CALL TO METHOD 'getPurchaseAndRefundDetails' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPurchaseAndRefundDetailsWithHttpInfo(startTime, endTime, organizationId, paymentSubtype, viewBy, groupName, offset, limit); logger.info("CALL TO METHOD 'getPurchaseAndRefundDetails' ENDED"); return resp.getData(); @@ -212,6 +211,7 @@ public ReportingV3PurchaseRefundDetailsGet200Response getPurchaseAndRefundDetail * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPurchaseAndRefundDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPurchaseAndRefundDetailsValidateBeforeCall(startTime, endTime, organizationId, paymentSubtype, viewBy, groupName, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/PushFundsApi.java b/src/main/java/Api/PushFundsApi.java index 5e959a3ab..8a9fcfbf1 100644 --- a/src/main/java/Api/PushFundsApi.java +++ b/src/main/java/Api/PushFundsApi.java @@ -215,7 +215,6 @@ private okhttp3.Call createPushFundsTransferValidateBeforeCall(PushFundsRequest */ public PushFunds201Response createPushFundsTransfer(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId) throws ApiException { logger.info("CALL TO METHOD 'createPushFundsTransfer' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createPushFundsTransferWithHttpInfo(pushFundsRequest, contentType, xRequestid, vCMerchantId, vCPermissions, vCCorrelationId, vCOrganizationId); logger.info("CALL TO METHOD 'createPushFundsTransfer' ENDED"); return resp.getData(); @@ -235,6 +234,7 @@ public PushFunds201Response createPushFundsTransfer(PushFundsRequest pushFundsRe * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createPushFundsTransferWithHttpInfo(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPushFundsTransferValidateBeforeCall(pushFundsRequest, contentType, xRequestid, vCMerchantId, vCPermissions, vCCorrelationId, vCOrganizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/RefundApi.java b/src/main/java/Api/RefundApi.java index e1fd0cc1d..864dc2e3b 100644 --- a/src/main/java/Api/RefundApi.java +++ b/src/main/java/Api/RefundApi.java @@ -163,7 +163,6 @@ private okhttp3.Call refundCaptureValidateBeforeCall(RefundCaptureRequest refund */ public PtsV2PaymentsRefundPost201Response refundCapture(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'refundCapture' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = refundCaptureWithHttpInfo(refundCaptureRequest, id); logger.info("CALL TO METHOD 'refundCapture' ENDED"); return resp.getData(); @@ -178,6 +177,7 @@ public PtsV2PaymentsRefundPost201Response refundCapture(RefundCaptureRequest ref * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse refundCaptureWithHttpInfo(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = refundCaptureValidateBeforeCall(refundCaptureRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -315,7 +315,6 @@ private okhttp3.Call refundPaymentValidateBeforeCall(RefundPaymentRequest refund */ public PtsV2PaymentsRefundPost201Response refundPayment(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'refundPayment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = refundPaymentWithHttpInfo(refundPaymentRequest, id); logger.info("CALL TO METHOD 'refundPayment' ENDED"); return resp.getData(); @@ -330,6 +329,7 @@ public PtsV2PaymentsRefundPost201Response refundPayment(RefundPaymentRequest ref * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse refundPaymentWithHttpInfo(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = refundPaymentValidateBeforeCall(refundPaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ReplayWebhooksApi.java b/src/main/java/Api/ReplayWebhooksApi.java index 35df63130..3ea140594 100644 --- a/src/main/java/Api/ReplayWebhooksApi.java +++ b/src/main/java/Api/ReplayWebhooksApi.java @@ -153,7 +153,6 @@ private okhttp3.Call replayPreviousWebhooksValidateBeforeCall(String webhookId, */ public void replayPreviousWebhooks(String webhookId, ReplayWebhooksRequest replayWebhooksRequest) throws ApiException { logger.info("CALL TO METHOD 'replayPreviousWebhooks' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); replayPreviousWebhooksWithHttpInfo(webhookId, replayWebhooksRequest); } @@ -167,6 +166,7 @@ public void replayPreviousWebhooks(String webhookId, ReplayWebhooksRequest repla * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse replayPreviousWebhooksWithHttpInfo(String webhookId, ReplayWebhooksRequest replayWebhooksRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = replayPreviousWebhooksValidateBeforeCall(webhookId, replayWebhooksRequest, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/ReportDefinitionsApi.java b/src/main/java/Api/ReportDefinitionsApi.java index 601474276..9d03cbf3e 100644 --- a/src/main/java/Api/ReportDefinitionsApi.java +++ b/src/main/java/Api/ReportDefinitionsApi.java @@ -168,7 +168,6 @@ private okhttp3.Call getResourceInfoByReportDefinitionValidateBeforeCall(String */ public ReportingV3ReportDefinitionsNameGet200Response getResourceInfoByReportDefinition(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getResourceInfoByReportDefinition' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getResourceInfoByReportDefinitionWithHttpInfo(reportDefinitionName, subscriptionType, reportMimeType, organizationId); logger.info("CALL TO METHOD 'getResourceInfoByReportDefinition' ENDED"); return resp.getData(); @@ -185,6 +184,7 @@ public ReportingV3ReportDefinitionsNameGet200Response getResourceInfoByReportDef * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getResourceInfoByReportDefinitionWithHttpInfo(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getResourceInfoByReportDefinitionValidateBeforeCall(reportDefinitionName, subscriptionType, reportMimeType, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -318,7 +318,6 @@ private okhttp3.Call getResourceV2InfoValidateBeforeCall(String subscriptionType */ public ReportingV3ReportDefinitionsGet200Response getResourceV2Info(String subscriptionType, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getResourceV2Info' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getResourceV2InfoWithHttpInfo(subscriptionType, organizationId); logger.info("CALL TO METHOD 'getResourceV2Info' ENDED"); return resp.getData(); @@ -333,6 +332,7 @@ public ReportingV3ReportDefinitionsGet200Response getResourceV2Info(String subsc * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getResourceV2InfoWithHttpInfo(String subscriptionType, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getResourceV2InfoValidateBeforeCall(subscriptionType, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ReportDownloadsApi.java b/src/main/java/Api/ReportDownloadsApi.java index 6cf0b0f34..62afbcd5e 100644 --- a/src/main/java/Api/ReportDownloadsApi.java +++ b/src/main/java/Api/ReportDownloadsApi.java @@ -169,7 +169,6 @@ private okhttp3.Call downloadReportValidateBeforeCall(LocalDate reportDate, Stri */ public void downloadReport(LocalDate reportDate, String reportName, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'downloadReport' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); downloadReportWithHttpInfo(reportDate, reportName, organizationId); } @@ -184,6 +183,7 @@ public void downloadReport(LocalDate reportDate, String reportName, String organ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse downloadReportWithHttpInfo(LocalDate reportDate, String reportName, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = downloadReportValidateBeforeCall(reportDate, reportName, organizationId, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/ReportSubscriptionsApi.java b/src/main/java/Api/ReportSubscriptionsApi.java index 3bd7f8a35..4f3ddb23b 100644 --- a/src/main/java/Api/ReportSubscriptionsApi.java +++ b/src/main/java/Api/ReportSubscriptionsApi.java @@ -158,7 +158,6 @@ private okhttp3.Call createStandardOrClassicSubscriptionValidateBeforeCall(Prede */ public void createStandardOrClassicSubscription(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'createStandardOrClassicSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); createStandardOrClassicSubscriptionWithHttpInfo(predefinedSubscriptionRequestBean, organizationId); } @@ -172,6 +171,7 @@ public void createStandardOrClassicSubscription(PredefinedSubscriptionRequestBea * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createStandardOrClassicSubscriptionWithHttpInfo(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createStandardOrClassicSubscriptionValidateBeforeCall(predefinedSubscriptionRequestBean, organizationId, null, null); return apiClient.execute(call); } @@ -301,7 +301,6 @@ private okhttp3.Call createSubscriptionValidateBeforeCall(CreateReportSubscripti */ public void createSubscription(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'createSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); createSubscriptionWithHttpInfo(createReportSubscriptionRequest, organizationId); } @@ -315,6 +314,7 @@ public void createSubscription(CreateReportSubscriptionRequest createReportSubsc * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createSubscriptionWithHttpInfo(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSubscriptionValidateBeforeCall(createReportSubscriptionRequest, organizationId, null, null); return apiClient.execute(call); } @@ -448,7 +448,6 @@ private okhttp3.Call deleteSubscriptionValidateBeforeCall(String reportName, Str */ public void deleteSubscription(String reportName, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'deleteSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); deleteSubscriptionWithHttpInfo(reportName, organizationId); } @@ -462,6 +461,7 @@ public void deleteSubscription(String reportName, String organizationId) throws * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse deleteSubscriptionWithHttpInfo(String reportName, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteSubscriptionValidateBeforeCall(reportName, organizationId, null, null); return apiClient.execute(call); } @@ -587,7 +587,6 @@ private okhttp3.Call getAllSubscriptionsValidateBeforeCall(String organizationId */ public ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions(String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getAllSubscriptions' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getAllSubscriptionsWithHttpInfo(organizationId); logger.info("CALL TO METHOD 'getAllSubscriptions' ENDED"); return resp.getData(); @@ -601,6 +600,7 @@ public ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions(String o * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getAllSubscriptionsWithHttpInfo(String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllSubscriptionsValidateBeforeCall(organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -736,7 +736,6 @@ private okhttp3.Call getSubscriptionValidateBeforeCall(String reportName, String */ public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription(String reportName, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getSubscriptionWithHttpInfo(reportName, organizationId); logger.info("CALL TO METHOD 'getSubscription' ENDED"); return resp.getData(); @@ -751,6 +750,7 @@ public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getSubscriptionWithHttpInfo(String reportName, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSubscriptionValidateBeforeCall(reportName, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ReportsApi.java b/src/main/java/Api/ReportsApi.java index 3f31d8065..427ef8ca6 100644 --- a/src/main/java/Api/ReportsApi.java +++ b/src/main/java/Api/ReportsApi.java @@ -157,7 +157,6 @@ private okhttp3.Call createReportValidateBeforeCall(CreateAdhocReportRequest cre */ public void createReport(CreateAdhocReportRequest createAdhocReportRequest, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'createReport' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); createReportWithHttpInfo(createAdhocReportRequest, organizationId); } @@ -171,6 +170,7 @@ public void createReport(CreateAdhocReportRequest createAdhocReportRequest, Stri * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createReportWithHttpInfo(CreateAdhocReportRequest createAdhocReportRequest, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createReportValidateBeforeCall(createAdhocReportRequest, organizationId, null, null); return apiClient.execute(call); } @@ -305,7 +305,6 @@ private okhttp3.Call getReportByReportIdValidateBeforeCall(String reportId, Stri */ public ReportingV3ReportsIdGet200Response getReportByReportId(String reportId, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getReportByReportId' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getReportByReportIdWithHttpInfo(reportId, organizationId); logger.info("CALL TO METHOD 'getReportByReportId' ENDED"); return resp.getData(); @@ -320,6 +319,7 @@ public ReportingV3ReportsIdGet200Response getReportByReportId(String reportId, S * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getReportByReportIdWithHttpInfo(String reportId, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getReportByReportIdValidateBeforeCall(reportId, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -497,7 +497,6 @@ private okhttp3.Call searchReportsValidateBeforeCall(DateTime startTime, DateTim */ public ReportingV3ReportsGet200Response searchReports(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus) throws ApiException { logger.info("CALL TO METHOD 'searchReports' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = searchReportsWithHttpInfo(startTime, endTime, timeQueryType, organizationId, reportMimeType, reportFrequency, reportName, reportDefinitionId, reportStatus); logger.info("CALL TO METHOD 'searchReports' ENDED"); return resp.getData(); @@ -519,6 +518,7 @@ public ReportingV3ReportsGet200Response searchReports(DateTime startTime, DateTi * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse searchReportsWithHttpInfo(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = searchReportsValidateBeforeCall(startTime, endTime, timeQueryType, organizationId, reportMimeType, reportFrequency, reportName, reportDefinitionId, reportStatus, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/RetrievalDetailsApi.java b/src/main/java/Api/RetrievalDetailsApi.java index 9c6fb089b..a8f3e06b8 100644 --- a/src/main/java/Api/RetrievalDetailsApi.java +++ b/src/main/java/Api/RetrievalDetailsApi.java @@ -170,7 +170,6 @@ private okhttp3.Call getRetrievalDetailsValidateBeforeCall(DateTime startTime, D */ public ReportingV3RetrievalDetailsGet200Response getRetrievalDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getRetrievalDetails' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getRetrievalDetailsWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getRetrievalDetails' ENDED"); return resp.getData(); @@ -186,6 +185,7 @@ public ReportingV3RetrievalDetailsGet200Response getRetrievalDetails(DateTime st * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getRetrievalDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRetrievalDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/RetrievalSummariesApi.java b/src/main/java/Api/RetrievalSummariesApi.java index 9eed6c25b..2a31a2ef6 100644 --- a/src/main/java/Api/RetrievalSummariesApi.java +++ b/src/main/java/Api/RetrievalSummariesApi.java @@ -170,7 +170,6 @@ private okhttp3.Call getRetrievalSummaryValidateBeforeCall(DateTime startTime, D */ public ReportingV3RetrievalSummariesGet200Response getRetrievalSummary(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getRetrievalSummary' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getRetrievalSummaryWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getRetrievalSummary' ENDED"); return resp.getData(); @@ -186,6 +185,7 @@ public ReportingV3RetrievalSummariesGet200Response getRetrievalSummary(DateTime * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getRetrievalSummaryWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRetrievalSummaryValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/ReversalApi.java b/src/main/java/Api/ReversalApi.java index c5d577ce3..36acd560a 100644 --- a/src/main/java/Api/ReversalApi.java +++ b/src/main/java/Api/ReversalApi.java @@ -163,7 +163,6 @@ private okhttp3.Call authReversalValidateBeforeCall(String id, AuthReversalReque */ public PtsV2PaymentsReversalsPost201Response authReversal(String id, AuthReversalRequest authReversalRequest) throws ApiException { logger.info("CALL TO METHOD 'authReversal' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = authReversalWithHttpInfo(id, authReversalRequest); logger.info("CALL TO METHOD 'authReversal' ENDED"); return resp.getData(); @@ -178,6 +177,7 @@ public PtsV2PaymentsReversalsPost201Response authReversal(String id, AuthReversa * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse authReversalWithHttpInfo(String id, AuthReversalRequest authReversalRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = authReversalValidateBeforeCall(id, authReversalRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -306,7 +306,6 @@ private okhttp3.Call mitReversalValidateBeforeCall(MitReversalRequest mitReversa */ public PtsV2PaymentsReversalsPost201Response mitReversal(MitReversalRequest mitReversalRequest) throws ApiException { logger.info("CALL TO METHOD 'mitReversal' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = mitReversalWithHttpInfo(mitReversalRequest); logger.info("CALL TO METHOD 'mitReversal' ENDED"); return resp.getData(); @@ -320,6 +319,7 @@ public PtsV2PaymentsReversalsPost201Response mitReversal(MitReversalRequest mitR * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse mitReversalWithHttpInfo(MitReversalRequest mitReversalRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = mitReversalValidateBeforeCall(mitReversalRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/SearchTransactionsApi.java b/src/main/java/Api/SearchTransactionsApi.java index ded5ab0cd..523bd89d4 100644 --- a/src/main/java/Api/SearchTransactionsApi.java +++ b/src/main/java/Api/SearchTransactionsApi.java @@ -153,7 +153,6 @@ private okhttp3.Call createSearchValidateBeforeCall(CreateSearchRequest createSe */ public TssV2TransactionsPost201Response createSearch(CreateSearchRequest createSearchRequest) throws ApiException { logger.info("CALL TO METHOD 'createSearch' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createSearchWithHttpInfo(createSearchRequest); logger.info("CALL TO METHOD 'createSearch' ENDED"); return resp.getData(); @@ -167,6 +166,7 @@ public TssV2TransactionsPost201Response createSearch(CreateSearchRequest createS * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createSearchWithHttpInfo(CreateSearchRequest createSearchRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSearchValidateBeforeCall(createSearchRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -298,7 +298,6 @@ private okhttp3.Call getSearchValidateBeforeCall(String searchId, final Progress */ public TssV2TransactionsPost201Response getSearch(String searchId) throws ApiException { logger.info("CALL TO METHOD 'getSearch' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getSearchWithHttpInfo(searchId); logger.info("CALL TO METHOD 'getSearch' ENDED"); return resp.getData(); @@ -312,6 +311,7 @@ public TssV2TransactionsPost201Response getSearch(String searchId) throws ApiExc * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getSearchWithHttpInfo(String searchId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSearchValidateBeforeCall(searchId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/SecureFileShareApi.java b/src/main/java/Api/SecureFileShareApi.java index eda431cb6..7506f2a8f 100644 --- a/src/main/java/Api/SecureFileShareApi.java +++ b/src/main/java/Api/SecureFileShareApi.java @@ -159,7 +159,6 @@ private okhttp3.Call getFileValidateBeforeCall(String fileId, String organizatio */ public void getFile(String fileId, String organizationId) throws ApiException { logger.info("CALL TO METHOD 'getFile' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); getFileWithHttpInfo(fileId, organizationId); } @@ -173,6 +172,7 @@ public void getFile(String fileId, String organizationId) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getFileWithHttpInfo(String fileId, String organizationId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getFileValidateBeforeCall(fileId, organizationId, null, null); return apiClient.execute(call); } @@ -322,7 +322,6 @@ private okhttp3.Call getFileDetailValidateBeforeCall(LocalDate startDate, LocalD */ public V1FileDetailsGet200Response getFileDetail(LocalDate startDate, LocalDate endDate, String organizationId, String name) throws ApiException { logger.info("CALL TO METHOD 'getFileDetail' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getFileDetailWithHttpInfo(startDate, endDate, organizationId, name); logger.info("CALL TO METHOD 'getFileDetail' ENDED"); return resp.getData(); @@ -339,6 +338,7 @@ public V1FileDetailsGet200Response getFileDetail(LocalDate startDate, LocalDate * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getFileDetailWithHttpInfo(LocalDate startDate, LocalDate endDate, String organizationId, String name) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getFileDetailValidateBeforeCall(startDate, endDate, organizationId, name, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/SubscriptionsApi.java b/src/main/java/Api/SubscriptionsApi.java index c3eafcd99..e9481e0b2 100644 --- a/src/main/java/Api/SubscriptionsApi.java +++ b/src/main/java/Api/SubscriptionsApi.java @@ -167,7 +167,6 @@ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, final Pro */ public ActivateSubscriptionResponse activateSubscription(String id) throws ApiException { logger.info("CALL TO METHOD 'activateSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = activateSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'activateSubscription' ENDED"); return resp.getData(); @@ -181,6 +180,7 @@ public ActivateSubscriptionResponse activateSubscription(String id) throws ApiEx * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse activateSubscriptionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -312,7 +312,6 @@ private okhttp3.Call cancelSubscriptionValidateBeforeCall(String id, final Progr */ public CancelSubscriptionResponse cancelSubscription(String id) throws ApiException { logger.info("CALL TO METHOD 'cancelSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = cancelSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'cancelSubscription' ENDED"); return resp.getData(); @@ -326,6 +325,7 @@ public CancelSubscriptionResponse cancelSubscription(String id) throws ApiExcept * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse cancelSubscriptionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = cancelSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -453,7 +453,6 @@ private okhttp3.Call createSubscriptionValidateBeforeCall(CreateSubscriptionRequ */ public CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest createSubscriptionRequest) throws ApiException { logger.info("CALL TO METHOD 'createSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = createSubscriptionWithHttpInfo(createSubscriptionRequest); logger.info("CALL TO METHOD 'createSubscription' ENDED"); return resp.getData(); @@ -467,6 +466,7 @@ public CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest c * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse createSubscriptionWithHttpInfo(CreateSubscriptionRequest createSubscriptionRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSubscriptionValidateBeforeCall(createSubscriptionRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -605,7 +605,6 @@ private okhttp3.Call getAllSubscriptionsValidateBeforeCall(Integer offset, Integ */ public GetAllSubscriptionsResponse getAllSubscriptions(Integer offset, Integer limit, String code, String status) throws ApiException { logger.info("CALL TO METHOD 'getAllSubscriptions' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getAllSubscriptionsWithHttpInfo(offset, limit, code, status); logger.info("CALL TO METHOD 'getAllSubscriptions' ENDED"); return resp.getData(); @@ -622,6 +621,7 @@ public GetAllSubscriptionsResponse getAllSubscriptions(Integer offset, Integer l * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getAllSubscriptionsWithHttpInfo(Integer offset, Integer limit, String code, String status) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllSubscriptionsValidateBeforeCall(offset, limit, code, status, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -756,7 +756,6 @@ private okhttp3.Call getSubscriptionValidateBeforeCall(String id, final Progress */ public GetSubscriptionResponse getSubscription(String id) throws ApiException { logger.info("CALL TO METHOD 'getSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'getSubscription' ENDED"); return resp.getData(); @@ -770,6 +769,7 @@ public GetSubscriptionResponse getSubscription(String id) throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getSubscriptionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -892,7 +892,6 @@ private okhttp3.Call getSubscriptionCodeValidateBeforeCall(final ProgressRespons */ public GetSubscriptionCodeResponse getSubscriptionCode() throws ApiException { logger.info("CALL TO METHOD 'getSubscriptionCode' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getSubscriptionCodeWithHttpInfo(); logger.info("CALL TO METHOD 'getSubscriptionCode' ENDED"); return resp.getData(); @@ -905,6 +904,7 @@ public GetSubscriptionCodeResponse getSubscriptionCode() throws ApiException { * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getSubscriptionCodeWithHttpInfo() throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSubscriptionCodeValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1035,7 +1035,6 @@ private okhttp3.Call suspendSubscriptionValidateBeforeCall(String id, final Prog */ public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiException { logger.info("CALL TO METHOD 'suspendSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = suspendSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'suspendSubscription' ENDED"); return resp.getData(); @@ -1049,6 +1048,7 @@ public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiExce * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse suspendSubscriptionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = suspendSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1185,7 +1185,6 @@ private okhttp3.Call updateSubscriptionValidateBeforeCall(String id, UpdateSubsc */ public UpdateSubscriptionResponse updateSubscription(String id, UpdateSubscription updateSubscription) throws ApiException { logger.info("CALL TO METHOD 'updateSubscription' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = updateSubscriptionWithHttpInfo(id, updateSubscription); logger.info("CALL TO METHOD 'updateSubscription' ENDED"); return resp.getData(); @@ -1200,6 +1199,7 @@ public UpdateSubscriptionResponse updateSubscription(String id, UpdateSubscripti * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse updateSubscriptionWithHttpInfo(String id, UpdateSubscription updateSubscription) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateSubscriptionValidateBeforeCall(id, updateSubscription, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/TaxesApi.java b/src/main/java/Api/TaxesApi.java index cfb68962b..b804e6be3 100644 --- a/src/main/java/Api/TaxesApi.java +++ b/src/main/java/Api/TaxesApi.java @@ -156,7 +156,6 @@ private okhttp3.Call calculateTaxValidateBeforeCall(TaxRequest taxRequest, final */ public VasV2PaymentsPost201Response calculateTax(TaxRequest taxRequest) throws ApiException { logger.info("CALL TO METHOD 'calculateTax' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = calculateTaxWithHttpInfo(taxRequest); logger.info("CALL TO METHOD 'calculateTax' ENDED"); return resp.getData(); @@ -170,6 +169,7 @@ public VasV2PaymentsPost201Response calculateTax(TaxRequest taxRequest) throws A * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse calculateTaxWithHttpInfo(TaxRequest taxRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = calculateTaxValidateBeforeCall(taxRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -306,7 +306,6 @@ private okhttp3.Call voidTaxValidateBeforeCall(VoidTaxRequest voidTaxRequest, St */ public VasV2TaxVoid200Response voidTax(VoidTaxRequest voidTaxRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'voidTax' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = voidTaxWithHttpInfo(voidTaxRequest, id); logger.info("CALL TO METHOD 'voidTax' ENDED"); return resp.getData(); @@ -321,6 +320,7 @@ public VasV2TaxVoid200Response voidTax(VoidTaxRequest voidTaxRequest, String id) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse voidTaxWithHttpInfo(VoidTaxRequest voidTaxRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidTaxValidateBeforeCall(voidTaxRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/TokenApi.java b/src/main/java/Api/TokenApi.java index 41ec7462a..c5fb1f763 100644 --- a/src/main/java/Api/TokenApi.java +++ b/src/main/java/Api/TokenApi.java @@ -168,7 +168,6 @@ private okhttp3.Call postTokenPaymentCredentialsValidateBeforeCall(String tokenI */ public String postTokenPaymentCredentials(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException { logger.info("CALL TO METHOD 'postTokenPaymentCredentials' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postTokenPaymentCredentialsWithHttpInfo(tokenId, postPaymentCredentialsRequest, profileId); logger.info("CALL TO METHOD 'postTokenPaymentCredentials' ENDED"); return resp.getData(); @@ -184,6 +183,7 @@ public String postTokenPaymentCredentials(String tokenId, PostPaymentCredentials * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse postTokenPaymentCredentialsWithHttpInfo(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postTokenPaymentCredentialsValidateBeforeCall(tokenId, postPaymentCredentialsRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/TransactionBatchesApi.java b/src/main/java/Api/TransactionBatchesApi.java index c426ddcb9..f4fbbee51 100644 --- a/src/main/java/Api/TransactionBatchesApi.java +++ b/src/main/java/Api/TransactionBatchesApi.java @@ -166,7 +166,6 @@ private okhttp3.Call getTransactionBatchDetailsValidateBeforeCall(String id, Loc */ public void getTransactionBatchDetails(String id, LocalDate uploadDate, String status) throws ApiException { logger.info("CALL TO METHOD 'getTransactionBatchDetails' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); getTransactionBatchDetailsWithHttpInfo(id, uploadDate, status); } @@ -181,6 +180,7 @@ public void getTransactionBatchDetails(String id, LocalDate uploadDate, String s * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getTransactionBatchDetailsWithHttpInfo(String id, LocalDate uploadDate, String status) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionBatchDetailsValidateBeforeCall(id, uploadDate, status, null, null); return apiClient.execute(call); } @@ -312,7 +312,6 @@ private okhttp3.Call getTransactionBatchIdValidateBeforeCall(String id, final Pr */ public PtsV1TransactionBatchesIdGet200Response getTransactionBatchId(String id) throws ApiException { logger.info("CALL TO METHOD 'getTransactionBatchId' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getTransactionBatchIdWithHttpInfo(id); logger.info("CALL TO METHOD 'getTransactionBatchId' ENDED"); return resp.getData(); @@ -326,6 +325,7 @@ public PtsV1TransactionBatchesIdGet200Response getTransactionBatchId(String id) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getTransactionBatchIdWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionBatchIdValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -468,7 +468,6 @@ private okhttp3.Call getTransactionBatchesValidateBeforeCall(DateTime startTime, */ public PtsV1TransactionBatchesGet200Response getTransactionBatches(DateTime startTime, DateTime endTime) throws ApiException { logger.info("CALL TO METHOD 'getTransactionBatches' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getTransactionBatchesWithHttpInfo(startTime, endTime); logger.info("CALL TO METHOD 'getTransactionBatches' ENDED"); return resp.getData(); @@ -483,6 +482,7 @@ public PtsV1TransactionBatchesGet200Response getTransactionBatches(DateTime star * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getTransactionBatchesWithHttpInfo(DateTime startTime, DateTime endTime) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionBatchesValidateBeforeCall(startTime, endTime, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/TransactionDetailsApi.java b/src/main/java/Api/TransactionDetailsApi.java index ce620ac6e..d1a3caf42 100644 --- a/src/main/java/Api/TransactionDetailsApi.java +++ b/src/main/java/Api/TransactionDetailsApi.java @@ -154,7 +154,6 @@ private okhttp3.Call getTransactionValidateBeforeCall(String id, final ProgressR */ public TssV2TransactionsGet200Response getTransaction(String id) throws ApiException { logger.info("CALL TO METHOD 'getTransaction' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getTransactionWithHttpInfo(id); logger.info("CALL TO METHOD 'getTransaction' ENDED"); return resp.getData(); @@ -168,6 +167,7 @@ public TssV2TransactionsGet200Response getTransaction(String id) throws ApiExcep * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getTransactionWithHttpInfo(String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/TransientTokenDataApi.java b/src/main/java/Api/TransientTokenDataApi.java index 2a246a635..230fa8e55 100644 --- a/src/main/java/Api/TransientTokenDataApi.java +++ b/src/main/java/Api/TransientTokenDataApi.java @@ -153,7 +153,6 @@ private okhttp3.Call getPaymentCredentialsForTransientTokenValidateBeforeCall(St */ public String getPaymentCredentialsForTransientToken(String paymentCredentialsReference) throws ApiException { logger.info("CALL TO METHOD 'getPaymentCredentialsForTransientToken' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getPaymentCredentialsForTransientTokenWithHttpInfo(paymentCredentialsReference); logger.info("CALL TO METHOD 'getPaymentCredentialsForTransientToken' ENDED"); return resp.getData(); @@ -167,6 +166,7 @@ public String getPaymentCredentialsForTransientToken(String paymentCredentialsRe * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPaymentCredentialsForTransientTokenWithHttpInfo(String paymentCredentialsReference) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentCredentialsForTransientTokenValidateBeforeCall(paymentCredentialsReference, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -297,7 +297,6 @@ private okhttp3.Call getTransactionForTransientTokenValidateBeforeCall(String tr */ public void getTransactionForTransientToken(String transientToken) throws ApiException { logger.info("CALL TO METHOD 'getTransactionForTransientToken' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); getTransactionForTransientTokenWithHttpInfo(transientToken); } @@ -310,6 +309,7 @@ public void getTransactionForTransientToken(String transientToken) throws ApiExc * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getTransactionForTransientTokenWithHttpInfo(String transientToken) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionForTransientTokenValidateBeforeCall(transientToken, null, null); return apiClient.execute(call); } diff --git a/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java b/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java index a1d82eaf9..300ac51b5 100644 --- a/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java +++ b/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java @@ -151,7 +151,6 @@ private okhttp3.Call generateUnifiedCheckoutCaptureContextValidateBeforeCall(Gen */ public String generateUnifiedCheckoutCaptureContext(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest) throws ApiException { logger.info("CALL TO METHOD 'generateUnifiedCheckoutCaptureContext' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = generateUnifiedCheckoutCaptureContextWithHttpInfo(generateUnifiedCheckoutCaptureContextRequest); logger.info("CALL TO METHOD 'generateUnifiedCheckoutCaptureContext' ENDED"); return resp.getData(); @@ -165,6 +164,7 @@ public String generateUnifiedCheckoutCaptureContext(GenerateUnifiedCheckoutCaptu * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse generateUnifiedCheckoutCaptureContextWithHttpInfo(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = generateUnifiedCheckoutCaptureContextValidateBeforeCall(generateUnifiedCheckoutCaptureContextRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/UserManagementApi.java b/src/main/java/Api/UserManagementApi.java index 409450425..11a53c169 100644 --- a/src/main/java/Api/UserManagementApi.java +++ b/src/main/java/Api/UserManagementApi.java @@ -162,7 +162,6 @@ private okhttp3.Call getUsersValidateBeforeCall(String organizationId, String us */ public UmsV1UsersGet200Response getUsers(String organizationId, String userName, String permissionId, String roleId) throws ApiException { logger.info("CALL TO METHOD 'getUsers' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = getUsersWithHttpInfo(organizationId, userName, permissionId, roleId); logger.info("CALL TO METHOD 'getUsers' ENDED"); return resp.getData(); @@ -179,6 +178,7 @@ public UmsV1UsersGet200Response getUsers(String organizationId, String userName, * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getUsersWithHttpInfo(String organizationId, String userName, String permissionId, String roleId) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getUsersValidateBeforeCall(organizationId, userName, permissionId, roleId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/UserManagementSearchApi.java b/src/main/java/Api/UserManagementSearchApi.java index 714ae13f1..7de28cec4 100644 --- a/src/main/java/Api/UserManagementSearchApi.java +++ b/src/main/java/Api/UserManagementSearchApi.java @@ -152,7 +152,6 @@ private okhttp3.Call searchUsersValidateBeforeCall(SearchRequest searchRequest, */ public UmsV1UsersGet200Response searchUsers(SearchRequest searchRequest) throws ApiException { logger.info("CALL TO METHOD 'searchUsers' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = searchUsersWithHttpInfo(searchRequest); logger.info("CALL TO METHOD 'searchUsers' ENDED"); return resp.getData(); @@ -166,6 +165,7 @@ public UmsV1UsersGet200Response searchUsers(SearchRequest searchRequest) throws * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse searchUsersWithHttpInfo(SearchRequest searchRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = searchUsersValidateBeforeCall(searchRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/VerificationApi.java b/src/main/java/Api/VerificationApi.java index 85d042d6d..8751520af 100644 --- a/src/main/java/Api/VerificationApi.java +++ b/src/main/java/Api/VerificationApi.java @@ -155,7 +155,6 @@ private okhttp3.Call validateExportComplianceValidateBeforeCall(ValidateExportCo */ public RiskV1ExportComplianceInquiriesPost201Response validateExportCompliance(ValidateExportComplianceRequest validateExportComplianceRequest) throws ApiException { logger.info("CALL TO METHOD 'validateExportCompliance' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = validateExportComplianceWithHttpInfo(validateExportComplianceRequest); logger.info("CALL TO METHOD 'validateExportCompliance' ENDED"); return resp.getData(); @@ -169,6 +168,7 @@ public RiskV1ExportComplianceInquiriesPost201Response validateExportCompliance(V * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse validateExportComplianceWithHttpInfo(ValidateExportComplianceRequest validateExportComplianceRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = validateExportComplianceValidateBeforeCall(validateExportComplianceRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -296,7 +296,6 @@ private okhttp3.Call verifyCustomerAddressValidateBeforeCall(VerifyCustomerAddre */ public RiskV1AddressVerificationsPost201Response verifyCustomerAddress(VerifyCustomerAddressRequest verifyCustomerAddressRequest) throws ApiException { logger.info("CALL TO METHOD 'verifyCustomerAddress' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = verifyCustomerAddressWithHttpInfo(verifyCustomerAddressRequest); logger.info("CALL TO METHOD 'verifyCustomerAddress' ENDED"); return resp.getData(); @@ -310,6 +309,7 @@ public RiskV1AddressVerificationsPost201Response verifyCustomerAddress(VerifyCus * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse verifyCustomerAddressWithHttpInfo(VerifyCustomerAddressRequest verifyCustomerAddressRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = verifyCustomerAddressValidateBeforeCall(verifyCustomerAddressRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); diff --git a/src/main/java/Api/VoidApi.java b/src/main/java/Api/VoidApi.java index 795a6ca79..82240c887 100644 --- a/src/main/java/Api/VoidApi.java +++ b/src/main/java/Api/VoidApi.java @@ -157,7 +157,6 @@ private okhttp3.Call mitVoidValidateBeforeCall(MitVoidRequest mitVoidRequest, fi */ public PtsV2PaymentsVoidsPost201Response mitVoid(MitVoidRequest mitVoidRequest) throws ApiException { logger.info("CALL TO METHOD 'mitVoid' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = mitVoidWithHttpInfo(mitVoidRequest); logger.info("CALL TO METHOD 'mitVoid' ENDED"); return resp.getData(); @@ -171,6 +170,7 @@ public PtsV2PaymentsVoidsPost201Response mitVoid(MitVoidRequest mitVoidRequest) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse mitVoidWithHttpInfo(MitVoidRequest mitVoidRequest) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = mitVoidValidateBeforeCall(mitVoidRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -307,7 +307,6 @@ private okhttp3.Call voidCaptureValidateBeforeCall(VoidCaptureRequest voidCaptur */ public PtsV2PaymentsVoidsPost201Response voidCapture(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'voidCapture' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = voidCaptureWithHttpInfo(voidCaptureRequest, id); logger.info("CALL TO METHOD 'voidCapture' ENDED"); return resp.getData(); @@ -322,6 +321,7 @@ public PtsV2PaymentsVoidsPost201Response voidCapture(VoidCaptureRequest voidCapt * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidCaptureValidateBeforeCall(voidCaptureRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -459,7 +459,6 @@ private okhttp3.Call voidCreditValidateBeforeCall(VoidCreditRequest voidCreditRe */ public PtsV2PaymentsVoidsPost201Response voidCredit(VoidCreditRequest voidCreditRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'voidCredit' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = voidCreditWithHttpInfo(voidCreditRequest, id); logger.info("CALL TO METHOD 'voidCredit' ENDED"); return resp.getData(); @@ -474,6 +473,7 @@ public PtsV2PaymentsVoidsPost201Response voidCredit(VoidCreditRequest voidCredit * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidCreditValidateBeforeCall(voidCreditRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -611,7 +611,6 @@ private okhttp3.Call voidPaymentValidateBeforeCall(VoidPaymentRequest voidPaymen */ public PtsV2PaymentsVoidsPost201Response voidPayment(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'voidPayment' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = voidPaymentWithHttpInfo(voidPaymentRequest, id); logger.info("CALL TO METHOD 'voidPayment' ENDED"); return resp.getData(); @@ -626,6 +625,7 @@ public PtsV2PaymentsVoidsPost201Response voidPayment(VoidPaymentRequest voidPaym * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidPaymentValidateBeforeCall(voidPaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -763,7 +763,6 @@ private okhttp3.Call voidRefundValidateBeforeCall(VoidRefundRequest voidRefundRe */ public PtsV2PaymentsVoidsPost201Response voidRefund(VoidRefundRequest voidRefundRequest, String id) throws ApiException { logger.info("CALL TO METHOD 'voidRefund' STARTED"); - this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = voidRefundWithHttpInfo(voidRefundRequest, id); logger.info("CALL TO METHOD 'voidRefund' ENDED"); return resp.getData(); @@ -778,6 +777,7 @@ public PtsV2PaymentsVoidsPost201Response voidRefund(VoidRefundRequest voidRefund * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse voidRefundWithHttpInfo(VoidRefundRequest voidRefundRequest, String id) throws ApiException { + this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidRefundValidateBeforeCall(voidRefundRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); From 919164132f17e414fae83c4624fdee67c166fb9d Mon Sep 17 00:00:00 2001 From: gnongsie Date: Thu, 9 Jan 2025 16:22:53 +0530 Subject: [PATCH 14/21] Add javadoc for non-singleton fields --- .../libraries/okhttp-gson/ApiClient.mustache | 14 ++++++++++++-- src/main/java/Invokers/ApiClient.java | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache index 912810b3d..9204daee4 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache @@ -142,8 +142,18 @@ public class ApiClient { */ public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; - public String responseCode; - public String status; + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String responseCode; + + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String status; + public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 912810b3d..9204daee4 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -142,8 +142,18 @@ public class ApiClient { */ public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; - public String responseCode; - public String status; + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String responseCode; + + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String status; + public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); From caddb44748cae1121def68f429bf32e0fb4033a6 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Thu, 9 Jan 2025 16:32:45 +0530 Subject: [PATCH 15/21] Formatting fixes --- .../libraries/okhttp-gson/ApiClient.mustache | 26 +++++++++---------- src/main/java/Invokers/ApiClient.java | 26 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache index 9204daee4..16548d116 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache @@ -142,17 +142,17 @@ public class ApiClient { */ public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; - /** - * Use this field ONLY IF you have more than one instance of ApiClient. - * This field should NOT be used/accessed for a singleton object. - */ - public String responseCode; - - /** - * Use this field ONLY IF you have more than one instance of ApiClient. - * This field should NOT be used/accessed for a singleton object. - */ - public String status; + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String responseCode; + + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String status; public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); @@ -1203,7 +1203,7 @@ public class ApiClient { Response response = call.execute(); String responseCode = String.valueOf(response.code()); this.status = response.message(); - this.responseCode= responseCode; + this.responseCode = responseCode; logger.debug("Network Response :\n" + json.serialize(response.headers())); @@ -1394,7 +1394,7 @@ public class ApiClient { requestTarget= url.toString(); } } else { - requestTarget =path; + requestTarget = path; } Authorization authorization = new Authorization(); diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 9204daee4..a049480a5 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -142,17 +142,17 @@ public class ApiClient { */ public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; - /** - * Use this field ONLY IF you have more than one instance of ApiClient. - * This field should NOT be used/accessed for a singleton object. - */ - public String responseCode; - - /** - * Use this field ONLY IF you have more than one instance of ApiClient. - * This field should NOT be used/accessed for a singleton object. - */ - public String status; + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String responseCode; + + /** + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ + public String status; public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); @@ -1203,7 +1203,7 @@ public ApiResponse execute(Call call, Type returnType) throws ApiExceptio Response response = call.execute(); String responseCode = String.valueOf(response.code()); this.status = response.message(); - this.responseCode= responseCode; + this.responseCode = responseCode; logger.debug("Network Response :\n" + json.serialize(response.headers())); @@ -1394,7 +1394,7 @@ public void callAuthenticationHeader(String method, String path, Object body, Li requestTarget= url.toString(); } } else { - requestTarget =path; + requestTarget = path; } Authorization authorization = new Authorization(); From 638f7eaef54586caddf0cde035db05294a85bbdf Mon Sep 17 00:00:00 2001 From: gaubansa Date: Wed, 15 Jan 2025 14:51:54 +0530 Subject: [PATCH 16/21] Removed fields with null values from models in sdk --- .../Accountupdaterv1batchesIncluded.java | 6 +- ...Accountupdaterv1batchesIncludedTokens.java | 10 +- .../Model/ActivateDeactivatePlanResponse.java | 14 +- .../Model/ActivateSubscriptionResponse.java | 14 +- ...iptionResponseSubscriptionInformation.java | 8 +- .../java/Model/AddNegativeListRequest.java | 16 +-- src/main/java/Model/AuthReversalRequest.java | 18 +-- ...v1binlookupClientReferenceInformation.java | 12 +- .../Binv1binlookupPaymentInformation.java | 12 +- .../Binv1binlookupPaymentInformationCard.java | 6 +- .../Binv1binlookupProcessingInformation.java | 8 +- ...kupProcessingInformationPayoutOptions.java | 12 +- .../Model/Binv1binlookupTokenInformation.java | 8 +- ...ingv1registrationsDocumentInformation.java | 6 +- ...onsDocumentInformationSignedDocuments.java | 6 +- ...v1registrationsIntegrationInformation.java | 8 +- ...strationsIntegrationInformationOauth2.java | 8 +- ...rationInformationTenantConfigurations.java | 8 +- ...tegrationInformationTenantInformation.java | 6 +- ...1registrationsOrganizationInformation.java | 24 ++-- ...izationInformationBusinessInformation.java | 32 ++--- ...InformationBusinessInformationAddress.java | 16 +-- ...ionBusinessInformationBusinessContact.java | 14 +- ...gistrationsOrganizationInformationKYC.java | 30 ++-- ...ationInformationKYCDepositBankAccount.java | 12 +- ...trationsOrganizationInformationOwners.java | 36 ++--- ...dingv1registrationsProductInformation.java | 6 +- ...onsProductInformationSelectedProducts.java | 12 +- ...1registrationsRegistrationInformation.java | 18 +-- src/main/java/Model/Body.java | 12 +- .../Model/CancelSubscriptionResponse.java | 14 +- ...iptionResponseSubscriptionInformation.java | 8 +- .../java/Model/CapturePaymentRequest.java | 32 ++--- src/main/java/Model/CardProcessingConfig.java | 8 +- .../Model/CardProcessingConfigCommon.java | 68 ++++----- .../CardProcessingConfigCommonAcquirer.java | 18 +-- .../CardProcessingConfigCommonCurrencies.java | 24 ++-- ...CardProcessingConfigCommonCurrencies1.java | 24 ++-- ...igCommonMerchantDescriptorInformation.java | 22 +-- ...ardProcessingConfigCommonPaymentTypes.java | 10 +- .../CardProcessingConfigCommonProcessors.java | 132 +++++++++--------- .../Model/CardProcessingConfigFeatures.java | 8 +- ...rocessingConfigFeaturesCardNotPresent.java | 18 +-- ...nfigFeaturesCardNotPresentInstallment.java | 10 +- ...ngConfigFeaturesCardNotPresentPayouts.java | 22 +-- ...aturesCardNotPresentPayoutsCurrencies.java | 24 ++-- ...onfigFeaturesCardNotPresentProcessors.java | 24 ++-- ...rdProcessingConfigFeaturesCardPresent.java | 10 +- ...ngConfigFeaturesCardPresentProcessors.java | 22 +-- .../Model/CaseManagementActionsRequest.java | 8 +- .../Model/CaseManagementCommentsRequest.java | 6 +- .../CheckPayerAuthEnrollmentRequest.java | 32 ++--- .../java/Model/CommerceSolutionsProducts.java | 10 +- ...mmerceSolutionsProductsAccountUpdater.java | 8 +- ...ccountUpdaterConfigurationInformation.java | 8 +- ...onfigurationInformationConfigurations.java | 14 +- ...gurationInformationConfigurationsAmex.java | 14 +- ...onInformationConfigurationsMasterCard.java | 12 +- ...gurationInformationConfigurationsVisa.java | 12 +- .../CommerceSolutionsProductsBinLookup.java | 8 +- ...uctsBinLookupConfigurationInformation.java | 6 +- ...onfigurationInformationConfigurations.java | 12 +- ...merceSolutionsProductsTokenManagement.java | 8 +- ...kenManagementConfigurationInformation.java | 8 +- ...onfigurationInformationConfigurations.java | 8 +- ...urationInformationConfigurationsVault.java | 18 +-- .../java/Model/CreateAdhocReportRequest.java | 26 ++-- .../java/Model/CreateBillingAgreement.java | 26 ++-- .../java/Model/CreateBinLookupRequest.java | 12 +- ...eateBundledDecisionManagerCaseRequest.java | 36 ++--- src/main/java/Model/CreateCreditRequest.java | 36 ++--- src/main/java/Model/CreateInvoiceRequest.java | 10 +- src/main/java/Model/CreateOrderRequest.java | 14 +- src/main/java/Model/CreatePaymentRequest.java | 60 ++++---- src/main/java/Model/CreatePlanRequest.java | 10 +- src/main/java/Model/CreatePlanResponse.java | 14 +- .../CreatePlanResponsePlanInformation.java | 8 +- .../CreateReportSubscriptionRequest.java | 30 ++-- src/main/java/Model/CreateSearchRequest.java | 20 +-- src/main/java/Model/CreateSessionReq.java | 26 ++-- src/main/java/Model/CreateSessionRequest.java | 26 ++-- .../java/Model/CreateSubscriptionRequest.java | 16 +-- .../Model/CreateSubscriptionResponse.java | 14 +- .../CreateSubscriptionResponseLinks.java | 14 +- ...iptionResponseSubscriptionInformation.java | 8 +- src/main/java/Model/CreateWebhookRequest.java | 24 ++-- src/main/java/Model/DeletePlanResponse.java | 8 +- src/main/java/Model/DmConfig.java | 12 +- src/main/java/Model/DmConfigOrganization.java | 6 +- .../java/Model/DmConfigPortfolioControls.java | 12 +- .../java/Model/DmConfigProcessingOptions.java | 8 +- src/main/java/Model/DmConfigThirdparty.java | 6 +- .../Model/DmConfigThirdpartyProvider.java | 18 +-- .../DmConfigThirdpartyProviderAccurint.java | 10 +- ...ThirdpartyProviderAccurintCredentials.java | 8 +- .../DmConfigThirdpartyProviderCredilink.java | 18 +-- ...hirdpartyProviderCredilinkCredentials.java | 10 +- .../DmConfigThirdpartyProviderEkata.java | 18 +-- ...figThirdpartyProviderEkataCredentials.java | 6 +- .../DmConfigThirdpartyProviderEmailage.java | 18 +-- .../DmConfigThirdpartyProviderPerseuss.java | 14 +- .../DmConfigThirdpartyProviderSignifyd.java | 10 +- ...ThirdpartyProviderSignifydCredentials.java | 12 +- .../DmConfigThirdpartyProviderTargus.java | 14 +- ...igThirdpartyProviderTargusCredentials.java | 10 +- src/main/java/Model/ECheckConfig.java | 10 +- src/main/java/Model/ECheckConfigCommon.java | 16 +-- .../Model/ECheckConfigCommonInternalOnly.java | 10 +- ...eckConfigCommonInternalOnlyProcessors.java | 24 ++-- .../Model/ECheckConfigCommonProcessors.java | 20 +-- src/main/java/Model/ECheckConfigFeatures.java | 6 +- ...onfigFeaturesAccountValidationService.java | 8 +- ...sAccountValidationServiceInternalOnly.java | 6 +- ...lidationServiceInternalOnlyProcessors.java | 6 +- ...resAccountValidationServiceProcessors.java | 32 ++--- .../java/Model/ECheckConfigUnderwriting.java | 28 ++-- src/main/java/Model/Flexv2sessionsFields.java | 8 +- .../Flexv2sessionsFieldsOrderInformation.java | 10 +- ...nsFieldsOrderInformationAmountDetails.java | 8 +- ...erInformationAmountDetailsTotalAmount.java | 8 +- ...2sessionsFieldsOrderInformationBillTo.java | 30 ++-- ...2sessionsFieldsOrderInformationShipTo.java | 26 ++-- ...lexv2sessionsFieldsPaymentInformation.java | 6 +- ...2sessionsFieldsPaymentInformationCard.java | 14 +- .../java/Model/FraudMarkingActionRequest.java | 8 +- .../Model/GenerateCaptureContextRequest.java | 12 +- .../GenerateFlexAPICaptureContextRequest.java | 6 +- ...eUnifiedCheckoutCaptureContextRequest.java | 22 +-- src/main/java/Model/GetAllPlansResponse.java | 12 +- .../java/Model/GetAllPlansResponseLinks.java | 10 +- .../GetAllPlansResponseOrderInformation.java | 6 +- ...ResponseOrderInformationAmountDetails.java | 10 +- .../GetAllPlansResponsePlanInformation.java | 16 +-- ...sResponsePlanInformationBillingCycles.java | 6 +- ...sResponsePlanInformationBillingPeriod.java | 8 +- .../java/Model/GetAllPlansResponsePlans.java | 12 +- .../Model/GetAllSubscriptionsResponse.java | 12 +- .../GetAllSubscriptionsResponseLinks.java | 12 +- ...SubscriptionsResponseOrderInformation.java | 8 +- ...iptionsResponseOrderInformationBillTo.java | 8 +- ...bscriptionsResponsePaymentInformation.java | 6 +- ...onsResponsePaymentInformationCustomer.java | 6 +- ...lSubscriptionsResponsePlanInformation.java | 12 +- ...sResponsePlanInformationBillingCycles.java | 8 +- ...ptionsResponseSubscriptionInformation.java | 14 +- ...AllSubscriptionsResponseSubscriptions.java | 16 +-- src/main/java/Model/GetPlanCodeResponse.java | 8 +- src/main/java/Model/GetPlanResponse.java | 14 +- .../Model/GetSubscriptionCodeResponse.java | 8 +- .../java/Model/GetSubscriptionResponse.java | 18 +-- src/main/java/Model/IncrementAuthRequest.java | 14 +- src/main/java/Model/InlineResponse200.java | 12 +- src/main/java/Model/InlineResponse2001.java | 18 +-- ...ineResponse2001IntegrationInformation.java | 8 +- ...rationInformationTenantConfigurations.java | 14 +- src/main/java/Model/InlineResponse2002.java | 10 +- src/main/java/Model/InlineResponse2003.java | 32 ++--- src/main/java/Model/InlineResponse2004.java | 32 ++--- src/main/java/Model/InlineResponse2005.java | 18 +-- .../Model/InlineResponse2005Embedded.java | 6 +- .../InlineResponse2005EmbeddedBatches.java | 24 ++-- .../InlineResponse2005EmbeddedLinks.java | 6 +- ...nlineResponse2005EmbeddedLinksReports.java | 6 +- .../InlineResponse2005EmbeddedTotals.java | 14 +- .../java/Model/InlineResponse2005Links.java | 8 +- src/main/java/Model/InlineResponse2006.java | 24 ++-- .../java/Model/InlineResponse2006Billing.java | 12 +- .../java/Model/InlineResponse2006Links.java | 8 +- .../Model/InlineResponse2006LinksReport.java | 6 +- src/main/java/Model/InlineResponse2007.java | 24 ++-- .../java/Model/InlineResponse2007Records.java | 10 +- .../InlineResponse2007ResponseRecord.java | 24 ++-- ...se2007ResponseRecordAdditionalUpdates.java | 14 +- .../Model/InlineResponse2007SourceRecord.java | 20 +-- .../java/Model/InlineResponse200Embedded.java | 8 +- .../InlineResponse200EmbeddedCapture.java | 8 +- ...InlineResponse200EmbeddedCaptureLinks.java | 6 +- ...neResponse200EmbeddedCaptureLinksSelf.java | 8 +- .../InlineResponse200EmbeddedReversal.java | 8 +- ...nlineResponse200EmbeddedReversalLinks.java | 6 +- ...eResponse200EmbeddedReversalLinksSelf.java | 8 +- src/main/java/Model/InlineResponse201.java | 10 +- src/main/java/Model/InlineResponse2011.java | 16 +-- .../InlineResponse2011IssuerInformation.java | 14 +- ...Response2011PaymentAccountInformation.java | 10 +- ...onse2011PaymentAccountInformationCard.java | 16 +-- ...11PaymentAccountInformationCardBrands.java | 8 +- ...2011PaymentAccountInformationFeatures.java | 26 ++-- ...e2011PaymentAccountInformationNetwork.java | 6 +- .../InlineResponse2011PayoutInformation.java | 10 +- ...esponse2011PayoutInformationPullFunds.java | 8 +- ...esponse2011PayoutInformationPushFunds.java | 32 ++--- src/main/java/Model/InlineResponse2012.java | 22 +-- ...ineResponse2012IntegrationInformation.java | 6 +- ...rationInformationTenantConfigurations.java | 12 +- ...neResponse2012OrganizationInformation.java | 10 +- ...eResponse2012ProductInformationSetups.java | 8 +- ...neResponse2012RegistrationInformation.java | 10 +- .../java/Model/InlineResponse2012Setups.java | 12 +- ...neResponse2012SetupsCommerceSolutions.java | 10 +- .../InlineResponse2012SetupsPayments.java | 40 +++--- ...ponse2012SetupsPaymentsCardProcessing.java | 8 +- ...entsCardProcessingConfigurationStatus.java | 18 +-- ...mentsCardProcessingSubscriptionStatus.java | 14 +- ...onse2012SetupsPaymentsDigitalPayments.java | 6 +- .../Model/InlineResponse2012SetupsRisk.java | 8 +- ...eResponse2012SetupsValueAddedServices.java | 8 +- src/main/java/Model/InlineResponse2013.java | 12 +- .../InlineResponse2013KeyInformation.java | 26 ++-- ...nse2013KeyInformationErrorInformation.java | 8 +- ...KeyInformationErrorInformationDetails.java | 8 +- src/main/java/Model/InlineResponse2014.java | 34 ++--- src/main/java/Model/InlineResponse2015.java | 12 +- src/main/java/Model/InlineResponse202.java | 10 +- .../java/Model/InlineResponse202Links.java | 8 +- .../Model/InlineResponse202LinksStatus.java | 6 +- src/main/java/Model/InlineResponse400.java | 6 +- src/main/java/Model/InlineResponse4001.java | 14 +- .../java/Model/InlineResponse4001Details.java | 8 +- src/main/java/Model/InlineResponse4002.java | 14 +- src/main/java/Model/InlineResponse4003.java | 14 +- src/main/java/Model/InlineResponse4004.java | 14 +- src/main/java/Model/InlineResponse4005.java | 16 +-- .../java/Model/InlineResponse4005Fields.java | 10 +- src/main/java/Model/InlineResponse4006.java | 14 +- .../java/Model/InlineResponse4006Details.java | 8 +- .../java/Model/InlineResponse400Details.java | 8 +- .../java/Model/InlineResponse400Errors.java | 10 +- src/main/java/Model/InlineResponse401.java | 18 +-- .../java/Model/InlineResponse401Fields.java | 10 +- .../java/Model/InlineResponse401Links.java | 6 +- .../Model/InlineResponse401LinksSelf.java | 6 +- src/main/java/Model/InlineResponse403.java | 6 +- src/main/java/Model/InlineResponse4031.java | 14 +- .../java/Model/InlineResponse403Errors.java | 8 +- src/main/java/Model/InlineResponse404.java | 8 +- src/main/java/Model/InlineResponse4041.java | 14 +- src/main/java/Model/InlineResponse4042.java | 10 +- .../java/Model/InlineResponse4042Details.java | 8 +- src/main/java/Model/InlineResponse409.java | 6 +- .../java/Model/InlineResponse409Errors.java | 8 +- src/main/java/Model/InlineResponse410.java | 6 +- .../java/Model/InlineResponse410Errors.java | 8 +- src/main/java/Model/InlineResponse412.java | 6 +- .../java/Model/InlineResponse412Errors.java | 8 +- src/main/java/Model/InlineResponse422.java | 14 +- src/main/java/Model/InlineResponse4221.java | 14 +- src/main/java/Model/InlineResponse424.java | 6 +- .../java/Model/InlineResponse424Errors.java | 8 +- src/main/java/Model/InlineResponse500.java | 6 +- src/main/java/Model/InlineResponse5001.java | 14 +- src/main/java/Model/InlineResponse5002.java | 12 +- .../java/Model/InlineResponse500Errors.java | 8 +- src/main/java/Model/InlineResponse502.java | 14 +- src/main/java/Model/InlineResponse503.java | 14 +- .../java/Model/InlineResponseDefault.java | 8 +- .../Model/InlineResponseDefaultLinks.java | 10 +- .../Model/InlineResponseDefaultLinksNext.java | 10 +- .../InlineResponseDefaultResponseStatus.java | 14 +- ...eResponseDefaultResponseStatusDetails.java | 8 +- .../java/Model/IntimateBillingAgreement.java | 14 +- .../java/Model/InvoiceSettingsRequest.java | 6 +- ...oicingV2InvoiceSettingsGet200Response.java | 8 +- ...200ResponseInvoiceSettingsInformation.java | 30 ++-- ...InvoiceSettingsInformationHeaderStyle.java | 8 +- .../InvoicingV2InvoicesAllGet200Response.java | 12 +- ...sAllGet200ResponseCustomerInformation.java | 8 +- ...esAllGet200ResponseInvoiceInformation.java | 6 +- ...ngV2InvoicesAllGet200ResponseInvoices.java | 16 +-- ...icingV2InvoicesAllGet200ResponseLinks.java | 12 +- ...icesAllGet200ResponseOrderInformation.java | 6 +- ...ResponseOrderInformationAmountDetails.java | 8 +- .../InvoicingV2InvoicesAllGet400Response.java | 14 +- .../InvoicingV2InvoicesAllGet404Response.java | 14 +- .../InvoicingV2InvoicesAllGet502Response.java | 12 +- .../InvoicingV2InvoicesGet200Response.java | 20 +-- ...2InvoicesGet200ResponseInvoiceHistory.java | 10 +- ...oicesGet200ResponseTransactionDetails.java | 8 +- .../InvoicingV2InvoicesPost201Response.java | 18 +-- ...icesPost201ResponseInvoiceInformation.java | 18 +-- ...voicesPost201ResponseOrderInformation.java | 8 +- ...ResponseOrderInformationAmountDetails.java | 22 +-- .../InvoicingV2InvoicesPost202Response.java | 14 +- ...iceSettingsInvoiceSettingsInformation.java | 28 ++-- ...nvoicingv2invoicesCustomerInformation.java | 12 +- ...gv2invoicesCustomerInformationCompany.java | 6 +- ...Invoicingv2invoicesInvoiceInformation.java | 20 +-- .../Invoicingv2invoicesOrderInformation.java | 8 +- ...invoicesOrderInformationAmountDetails.java | 20 +-- ...sOrderInformationAmountDetailsFreight.java | 12 +- ...derInformationAmountDetailsTaxDetails.java | 10 +- ...ngv2invoicesOrderInformationLineItems.java | 22 +-- ...voicingv2invoicesidInvoiceInformation.java | 14 +- ...sv2keysasymClientReferenceInformation.java | 6 +- .../Kmsegressv2keysasymKeyInformation.java | 22 +-- ...ssv2keyssymClientReferenceInformation.java | 6 +- .../Kmsegressv2keyssymKeyInformation.java | 22 +-- .../MerchantInitiatedTransactionObject.java | 12 +- ...rmv2sessionsCheckoutApiInitialization.java | 24 ++-- src/main/java/Model/MitReversalRequest.java | 14 +- src/main/java/Model/MitVoidRequest.java | 12 +- .../java/Model/ModifyBillingAgreement.java | 26 ++-- ...onsv1productsorganizationIdEventTypes.java | 18 +-- ...scriptionsv1webhooksNotificationScope.java | 8 +- ...cationsubscriptionsv1webhooksProducts.java | 8 +- ...ionsubscriptionsv1webhooksRetryPolicy.java | 20 +-- ...subscriptionsv1webhooksSecurityPolicy.java | 8 +- ...ubscriptionsv1webhooksSecurityPolicy1.java | 10 +- ...ptionsv1webhooksSecurityPolicy1Config.java | 12 +- ...SecurityPolicy1ConfigAdditionalConfig.java | 12 +- ...iptionsv1webhooksSecurityPolicyConfig.java | 10 +- ...hookswebhookIdreplaysByDeliveryStatus.java | 16 +-- .../java/Model/OctCreatePaymentRequest.java | 18 +-- src/main/java/Model/OrderPaymentRequest.java | 12 +- ...PatchCustomerPaymentInstrumentRequest.java | 36 ++--- src/main/java/Model/PatchCustomerRequest.java | 24 ++-- .../PatchCustomerShippingAddressRequest.java | 16 +-- .../PatchInstrumentIdentifierRequest.java | 30 ++-- .../Model/PatchPaymentInstrumentRequest.java | 36 ++--- src/main/java/Model/PayerAuthConfig.java | 6 +- .../java/Model/PayerAuthConfigCardTypes.java | 20 +-- .../Model/PayerAuthConfigCardTypesCB.java | 12 +- .../PayerAuthConfigCardTypesJCBJSecure.java | 12 +- ...ayerAuthConfigCardTypesVerifiedByVisa.java | 10 +- ...nfigCardTypesVerifiedByVisaCurrencies.java | 10 +- .../java/Model/PayerAuthSetupRequest.java | 12 +- .../java/Model/PaymentInstrumentList.java | 16 +-- .../java/Model/PaymentInstrumentList1.java | 16 +-- .../Model/PaymentInstrumentList1Embedded.java | 6 +- ...aymentInstrumentList1EmbeddedEmbedded.java | 6 +- ...rumentList1EmbeddedPaymentInstruments.java | 36 ++--- .../Model/PaymentInstrumentListEmbedded.java | 6 +- .../Model/PaymentInstrumentListLinks.java | 14 +- .../PaymentInstrumentListLinksFirst.java | 6 +- .../Model/PaymentInstrumentListLinksLast.java | 6 +- .../Model/PaymentInstrumentListLinksNext.java | 6 +- .../Model/PaymentInstrumentListLinksPrev.java | 6 +- .../Model/PaymentInstrumentListLinksSelf.java | 6 +- src/main/java/Model/PaymentsProducts.java | 42 +++--- .../PaymentsProductsCardPresentConnect.java | 8 +- ...resentConnectConfigurationInformation.java | 8 +- ...onfigurationInformationConfigurations.java | 6 +- ...PresentConnectSubscriptionInformation.java | 10 +- .../Model/PaymentsProductsCardProcessing.java | 8 +- ...ardProcessingConfigurationInformation.java | 8 +- ...CardProcessingSubscriptionInformation.java | 12 +- ...essingSubscriptionInformationFeatures.java | 8 +- .../PaymentsProductsCurrencyConversion.java | 8 +- ...ncyConversionConfigurationInformation.java | 8 +- ...onfigurationInformationConfigurations.java | 6 +- ...onInformationConfigurationsProcessors.java | 8 +- .../PaymentsProductsCybsReadyTerminal.java | 6 +- .../PaymentsProductsDifferentialFee.java | 6 +- ...ifferentialFeeSubscriptionInformation.java | 12 +- ...ialFeeSubscriptionInformationFeatures.java | 6 +- ...scriptionInformationFeaturesSurcharge.java | 8 +- .../PaymentsProductsDigitalPayments.java | 6 +- ...igitalPaymentsSubscriptionInformation.java | 12 +- ...ymentsSubscriptionInformationFeatures.java | 8 +- .../java/Model/PaymentsProductsECheck.java | 8 +- ...roductsECheckConfigurationInformation.java | 8 +- ...ProductsECheckSubscriptionInformation.java | 12 +- .../PaymentsProductsPayerAuthentication.java | 8 +- ...uthenticationConfigurationInformation.java | 8 +- ...AuthenticationSubscriptionInformation.java | 10 +- .../java/Model/PaymentsProductsPayouts.java | 8 +- ...oductsPayoutsConfigurationInformation.java | 6 +- ...onfigurationInformationConfigurations.java | 8 +- ...rmationConfigurationsProcessorAccount.java | 10 +- ...ionInformationConfigurationsPullfunds.java | 20 +-- ...ionInformationConfigurationsPushfunds.java | 24 ++-- .../PaymentsProductsSecureAcceptance.java | 8 +- ...ureAcceptanceConfigurationInformation.java | 8 +- .../Model/PaymentsProductsServiceFee.java | 8 +- ...ctsServiceFeeConfigurationInformation.java | 6 +- ...onfigurationInformationConfigurations.java | 14 +- ...tionConfigurationsMerchantInformation.java | 10 +- ...ationConfigurationsPaymentInformation.java | 14 +- ...tionInformationConfigurationsProducts.java | 8 +- src/main/java/Model/PaymentsProductsTax.java | 6 +- .../PaymentsProductsVirtualTerminal.java | 8 +- ...rtualTerminalConfigurationInformation.java | 8 +- .../PaymentsStrongAuthIssuerInformation.java | 14 +- .../PostCustomerPaymentInstrumentRequest.java | 36 ++--- src/main/java/Model/PostCustomerRequest.java | 24 ++-- .../PostCustomerShippingAddressRequest.java | 16 +-- ...InstrumentIdentifierEnrollmentRequest.java | 30 ++-- .../PostInstrumentIdentifierRequest.java | 30 ++-- .../Model/PostPaymentCredentialsRequest.java | 6 +- .../Model/PostPaymentInstrumentRequest.java | 36 ++--- src/main/java/Model/PostRegistrationBody.java | 14 +- .../PredefinedSubscriptionRequestBean.java | 24 ++-- ...PtsV1TransactionBatchesGet200Response.java | 10 +- ...TransactionBatchesGet200ResponseLinks.java | 6 +- ...sactionBatchesGet200ResponseLinksSelf.java | 8 +- ...tchesGet200ResponseTransactionBatches.java | 18 +-- ...PtsV1TransactionBatchesGet400Response.java | 8 +- ...BatchesGet400ResponseErrorInformation.java | 10 +- ...Get400ResponseErrorInformationDetails.java | 8 +- ...PtsV1TransactionBatchesGet500Response.java | 8 +- ...BatchesGet500ResponseErrorInformation.java | 8 +- ...sV1TransactionBatchesIdGet200Response.java | 20 +-- ...ansactionBatchesIdGet200ResponseLinks.java | 6 +- ...chesIdGet200ResponseLinksTransactions.java | 8 +- ...CreateBillingAgreementPost201Response.java | 24 ++-- ...ntPost201ResponseAgreementInformation.java | 16 +-- ...201ResponseClientReferenceInformation.java | 6 +- ...Post201ResponseInstallmentInformation.java | 6 +- ...eBillingAgreementPost201ResponseLinks.java | 12 +- ...ntPost201ResponseProcessorInformation.java | 14 +- ...reementPost201ResponseRiskInformation.java | 6 +- ...sponseRiskInformationProcessorResults.java | 6 +- ...CreateBillingAgreementPost400Response.java | 16 +-- ...CreateBillingAgreementPost502Response.java | 14 +- .../PtsV2CreateOrderPost201Response.java | 20 +-- ...eOrderPost201ResponseBuyerInformation.java | 6 +- ...erPost201ResponseProcessorInformation.java | 10 +- .../PtsV2CreateOrderPost400Response.java | 12 +- .../Model/PtsV2CreditsPost201Response.java | 28 ++-- .../Model/PtsV2CreditsPost201Response1.java | 14 +- ...sPost201Response1ProcessorInformation.java | 8 +- ...itsPost201ResponseCreditAmountDetails.java | 8 +- ...ditsPost201ResponsePaymentInformation.java | 14 +- ...sPost201ResponseProcessingInformation.java | 10 +- ...cessingInformationBankTransferOptions.java | 6 +- ...rementalAuthorizationPatch201Response.java | 24 ++-- ...201ResponseClientReferenceInformation.java | 6 +- ...ationPatch201ResponseErrorInformation.java | 10 +- ...talAuthorizationPatch201ResponseLinks.java | 6 +- ...ationPatch201ResponseOrderInformation.java | 8 +- ...esponseOrderInformationInvoiceDetails.java | 6 +- ...ionPatch201ResponsePaymentInformation.java | 6 +- ...onsePaymentInformationAccountFeatures.java | 6 +- ...nPatch201ResponseProcessorInformation.java | 20 +-- ...rementalAuthorizationPatch400Response.java | 14 +- ...ModifyBillingAgreementPost201Response.java | 26 ++-- ...ntPost201ResponseAgreementInformation.java | 20 +-- ...yBillingAgreementPost201ResponseLinks.java | 8 +- ...eementPost201ResponseOrderInformation.java | 8 +- ...Post201ResponseOrderInformationBillTo.java | 22 +-- ...Post201ResponseOrderInformationShipTo.java | 20 +-- ...mentPost201ResponsePaymentInformation.java | 8 +- ...Post201ResponsePaymentInformationBank.java | 6 +- ...t201ResponsePaymentInformationEWallet.java | 6 +- .../PtsV2PaymentsCapturesPost201Response.java | 26 ++-- ...apturesPost201ResponseEmbeddedActions.java | 6 +- ...st201ResponseEmbeddedActionsApCapture.java | 6 +- ...2PaymentsCapturesPost201ResponseLinks.java | 10 +- ...pturesPost201ResponseOrderInformation.java | 8 +- ...ResponseOrderInformationAmountDetails.java | 10 +- ...esponseOrderInformationInvoiceDetails.java | 8 +- ...Post201ResponsePointOfSaleInformation.java | 6 +- ...sPost201ResponseProcessingInformation.java | 8 +- ...esPost201ResponseProcessorInformation.java | 16 +-- .../PtsV2PaymentsCapturesPost400Response.java | 14 +- .../PtsV2PaymentsOrderPost201Response.java | 26 ++-- ...sOrderPost201ResponseBuyerInformation.java | 6 +- ...uyerInformationPersonalIdentification.java | 8 +- ...sOrderPost201ResponseOrderInformation.java | 12 +- ...ResponseOrderInformationAmountDetails.java | 8 +- ...Post201ResponseOrderInformationBillTo.java | 32 ++--- ...Post201ResponseOrderInformationShipTo.java | 24 ++-- ...sponseOrderInformationShippingDetails.java | 6 +- ...rderPost201ResponsePaymentInformation.java | 6 +- ...t201ResponsePaymentInformationEWallet.java | 12 +- ...rPost201ResponseProcessingInformation.java | 6 +- ...erPost201ResponseProcessorInformation.java | 12 +- ...eProcessorInformationSellerProtection.java | 8 +- .../Model/PtsV2PaymentsPost201Response.java | 52 +++---- .../Model/PtsV2PaymentsPost201Response1.java | 20 +-- ...mentsPost201Response1OrderInformation.java | 8 +- ...ost201Response1OrderInformationBillTo.java | 26 ++-- ...ost201Response1OrderInformationShipTo.java | 22 +-- ...ntsPost201Response1PaymentInformation.java | 10 +- ...ost201Response1PaymentInformationBank.java | 6 +- ...esponse1PaymentInformationBankAccount.java | 6 +- ...esponse1PaymentInformationPaymentType.java | 6 +- ...e1PaymentInformationPaymentTypeMethod.java | 6 +- ...sPost201Response1ProcessorInformation.java | 16 +-- ...st201Response1ProcessorInformationAvs.java | 6 +- .../Model/PtsV2PaymentsPost201Response2.java | 24 ++-- ...mentsPost201Response2OrderInformation.java | 6 +- ...esponse2OrderInformationAmountDetails.java | 6 +- ...ntsPost201Response2PaymentInformation.java | 6 +- ...201Response2PaymentInformationEWallet.java | 6 +- ...sPost201Response2ProcessorInformation.java | 14 +- ...ymentsPost201ResponseBuyerInformation.java | 16 +-- ...201ResponseClientReferenceInformation.java | 10 +- ...onseConsumerAuthenticationInformation.java | 88 ++++++------ ...eConsumerAuthenticationInformationIvr.java | 22 +-- ...cationInformationStrongAuthentication.java | 6 +- ...aymentsPost201ResponseEmbeddedActions.java | 14 +- ...Post201ResponseEmbeddedActionsCAPTURE.java | 10 +- ...EmbeddedActionsCONSUMERAUTHENTICATION.java | 10 +- ...ost201ResponseEmbeddedActionsDECISION.java | 10 +- ...onseEmbeddedActionsWATCHLISTSCREENING.java | 10 +- ...ymentsPost201ResponseErrorInformation.java | 10 +- ...ost201ResponseErrorInformationDetails.java | 8 +- ...Post201ResponseInstallmentInformation.java | 56 ++++---- ...mentsPost201ResponseIssuerInformation.java | 14 +- .../PtsV2PaymentsPost201ResponseLinks.java | 18 +-- ...PtsV2PaymentsPost201ResponseLinksSelf.java | 8 +- ...ntsPost201ResponseMerchantInformation.java | 10 +- ...MerchantInformationMerchantDescriptor.java | 8 +- ...ymentsPost201ResponseOrderInformation.java | 14 +- ...ResponseOrderInformationAmountDetails.java | 28 ++-- ...Post201ResponseOrderInformationBillTo.java | 30 ++-- ...esponseOrderInformationInvoiceDetails.java | 10 +- ...seOrderInformationRewardPointsDetails.java | 16 +-- ...Post201ResponseOrderInformationShipTo.java | 22 +-- ...t201ResponsePaymentAccountInformation.java | 6 +- ...ResponsePaymentAccountInformationCard.java | 16 +-- ...entsPost201ResponsePaymentInformation.java | 32 ++--- ...onsePaymentInformationAccountFeatures.java | 40 +++--- ...entInformationAccountFeaturesBalances.java | 12 +- ...Post201ResponsePaymentInformationBank.java | 8 +- ...ResponsePaymentInformationBankAccount.java | 6 +- ...t201ResponsePaymentInformationEWallet.java | 8 +- ...aymentInformationInstrumentIdentifier.java | 8 +- ...sponsePaymentInformationTokenizedCard.java | 20 +-- ...201ResponsePaymentInsightsInformation.java | 8 +- ...ymentInsightsInformationOrchestration.java | 6 +- ...ntInsightsInformationResponseInsights.java | 10 +- ...Post201ResponsePointOfSaleInformation.java | 10 +- ...t201ResponsePointOfSaleInformationEmv.java | 10 +- ...sPost201ResponseProcessingInformation.java | 14 +- ...cessingInformationBankTransferOptions.java | 8 +- ...seProcessingInformationCaptureOptions.java | 6 +- ...tsPost201ResponseProcessorInformation.java | 92 ++++++------ ...seProcessorInformationAchVerification.java | 8 +- ...ost201ResponseProcessorInformationAvs.java | 8 +- ...eProcessorInformationCardVerification.java | 8 +- ...rmationConsumerAuthenticationResponse.java | 8 +- ...1ResponseProcessorInformationCustomer.java | 6 +- ...ormationElectronicVerificationResults.java | 40 +++--- ...nseProcessorInformationMerchantAdvice.java | 10 +- ...01ResponseProcessorInformationRouting.java | 10 +- ...eProcessorInformationSellerProtection.java | 12 +- ...aymentsPost201ResponseRiskInformation.java | 26 ++-- ...st201ResponseRiskInformationInfoCodes.java | 22 +-- ...st201ResponseRiskInformationIpAddress.java | 18 +-- ...sponseRiskInformationProcessorResults.java | 8 +- ...Post201ResponseRiskInformationProfile.java | 10 +- ...tsPost201ResponseRiskInformationRules.java | 8 +- ...tsPost201ResponseRiskInformationScore.java | 10 +- ...sPost201ResponseRiskInformationTravel.java | 12 +- ...formationTravelActualFinalDestination.java | 12 +- ...seRiskInformationTravelFirstDeparture.java | 12 +- ...RiskInformationTravelFirstDestination.java | 12 +- ...eRiskInformationTravelLastDestination.java | 12 +- ...ost201ResponseRiskInformationVelocity.java | 8 +- ...sponseRiskInformationVelocityMorphing.java | 10 +- ...ymentsPost201ResponseTokenInformation.java | 16 +-- ...st201ResponseTokenInformationCustomer.java | 6 +- ...eTokenInformationInstrumentIdentifier.java | 8 +- ...onseTokenInformationPaymentInstrument.java | 6 +- ...sponseTokenInformationShippingAddress.java | 6 +- ...ResponseWatchlistScreeningInformation.java | 10 +- ...atchlistScreeningInformationWatchList.java | 6 +- ...tScreeningInformationWatchListMatches.java | 12 +- .../Model/PtsV2PaymentsPost400Response.java | 14 +- .../Model/PtsV2PaymentsPost502Response.java | 12 +- .../PtsV2PaymentsRefundPost201Response.java | 24 ++-- ...201ResponseClientReferenceInformation.java | 12 +- ...sV2PaymentsRefundPost201ResponseLinks.java | 8 +- ...RefundPost201ResponseOrderInformation.java | 8 +- ...ResponseOrderInformationAmountDetails.java | 14 +- ...ndPost201ResponseProcessorInformation.java | 22 +-- ...undPost201ResponseRefundAmountDetails.java | 10 +- .../PtsV2PaymentsRefundPost400Response.java | 14 +- ...PtsV2PaymentsReversalsPost201Response.java | 26 ++-- ...st201ResponseAuthorizationInformation.java | 10 +- ...rsalsPost201ResponseIssuerInformation.java | 6 +- ...lsPost201ResponseProcessorInformation.java | 20 +-- ...sPost201ResponseReversalAmountDetails.java | 10 +- ...PtsV2PaymentsReversalsPost400Response.java | 14 +- .../PtsV2PaymentsVoidsPost201Response.java | 20 +-- ...dsPost201ResponseProcessorInformation.java | 10 +- ...VoidsPost201ResponseVoidAmountDetails.java | 10 +- .../PtsV2PaymentsVoidsPost400Response.java | 14 +- .../Model/PtsV2PayoutsPost201Response.java | 30 ++-- ...ayoutsPost201ResponseErrorInformation.java | 10 +- ...youtsPost201ResponseIssuerInformation.java | 6 +- ...utsPost201ResponseMerchantInformation.java | 6 +- ...MerchantInformationMerchantDescriptor.java | 10 +- ...ayoutsPost201ResponseOrderInformation.java | 6 +- ...ResponseOrderInformationAmountDetails.java | 12 +- ...tsPost201ResponseProcessorInformation.java | 14 +- ...tsPost201ResponseRecipientInformation.java | 6 +- ...st201ResponseRecipientInformationCard.java | 8 +- .../Model/PtsV2PayoutsPost400Response.java | 14 +- .../PtsV2UpdateOrderPatch201Response.java | 8 +- ...ushfundstransferAggregatorInformation.java | 12 +- ...nsferAggregatorInformationSubMerchant.java | 6 +- ...ndstransferClientReferenceInformation.java | 12 +- ...1pushfundstransferMerchantInformation.java | 6 +- ...tsv1pushfundstransferOrderInformation.java | 6 +- ...transferOrderInformationAmountDetails.java | 14 +- ...undstransferPointOfServiceInformation.java | 6 +- ...stransferPointOfServiceInformationEmv.java | 6 +- ...ushfundstransferProcessingInformation.java | 18 +-- ...erProcessingInformationPayoutsOptions.java | 14 +- ...pushfundstransferRecipientInformation.java | 36 ++--- ...ecipientInformationPaymentInformation.java | 6 +- ...ientInformationPaymentInformationCard.java | 20 +-- ...rmationPaymentInformationCardCustomer.java | 6 +- ...ntInformationCardInstrumentIdentifier.java | 6 +- ...ymentInformationCardPaymentInstrument.java | 6 +- ...ientInformationPersonalIdentification.java | 12 +- ...sv1pushfundstransferSenderInformation.java | 46 +++--- ...fundstransferSenderInformationAccount.java | 8 +- ...erSenderInformationPaymentInformation.java | 6 +- ...nderInformationPaymentInformationCard.java | 16 +-- ...nderInformationPersonalIdentification.java | 12 +- ...illingagreementsAggregatorInformation.java | 8 +- ...billingagreementsAgreementInformation.java | 8 +- ...tsv2billingagreementsBuyerInformation.java | 12 +- ...gagreementsClientReferenceInformation.java | 22 +-- ...entsConsumerAuthenticationInformation.java | 12 +- ...sv2billingagreementsDeviceInformation.java | 10 +- ...llingagreementsInstallmentInformation.java | 22 +-- ...2billingagreementsMerchantInformation.java | 18 +-- ...MerchantInformationMerchantDescriptor.java | 12 +- ...tsv2billingagreementsOrderInformation.java | 8 +- ...llingagreementsOrderInformationBillTo.java | 36 ++--- ...v2billingagreementsPaymentInformation.java | 12 +- ...llingagreementsPaymentInformationBank.java | 12 +- ...reementsPaymentInformationBankAccount.java | 6 +- ...llingagreementsPaymentInformationCard.java | 14 +- ...reementsPaymentInformationPaymentType.java | 8 +- ...tsPaymentInformationPaymentTypeMethod.java | 6 +- ...ementsPaymentInformationTokenizedCard.java | 16 +-- ...illingagreementsProcessingInformation.java | 8 +- ...llingagreementsidAgreementInformation.java | 8 +- ...v2billingagreementsidBuyerInformation.java | 10 +- ...lingagreementsidProcessingInformation.java | 8 +- .../Ptsv2creditsInstallmentInformation.java | 6 +- .../Ptsv2creditsProcessingInformation.java | 42 +++--- ...cessingInformationBankTransferOptions.java | 18 +-- ...InformationElectronicBenefitsTransfer.java | 6 +- ...cessingInformationJapanPaymentOptions.java | 8 +- ...sProcessingInformationPurchaseOptions.java | 8 +- ...itsProcessingInformationRefundOptions.java | 6 +- .../Ptsv2creditsRecipientInformation.java | 8 +- .../Model/Ptsv2creditsSenderInformation.java | 16 +-- .../Ptsv2creditsSenderInformationAccount.java | 8 +- ...tsv2intentsClientReferenceInformation.java | 6 +- .../Ptsv2intentsMerchantInformation.java | 10 +- ...MerchantInformationMerchantDescriptor.java | 8 +- .../Model/Ptsv2intentsOrderInformation.java | 14 +- ...2intentsOrderInformationAmountDetails.java | 20 +-- .../Ptsv2intentsOrderInformationBillTo.java | 6 +- ...intentsOrderInformationInvoiceDetails.java | 6 +- ...Ptsv2intentsOrderInformationLineItems.java | 20 +-- .../Ptsv2intentsOrderInformationShipTo.java | 22 +-- .../Model/Ptsv2intentsPaymentInformation.java | 6 +- ...2intentsPaymentInformationPaymentType.java | 8 +- ...tsPaymentInformationPaymentTypeMethod.java | 6 +- .../Ptsv2intentsProcessingInformation.java | 10 +- ...essingInformationAuthorizationOptions.java | 6 +- .../Ptsv2intentsidMerchantInformation.java | 6 +- .../Model/Ptsv2intentsidOrderInformation.java | 12 +- .../Ptsv2intentsidProcessingInformation.java | 6 +- ...paymentreferencesAgreementInformation.java | 8 +- ...tsv2paymentreferencesBuyerInformation.java | 14 +- ...sv2paymentreferencesDeviceInformation.java | 12 +- ...2paymentreferencesMerchantInformation.java | 14 +- ...tsv2paymentreferencesOrderInformation.java | 16 +-- ...ferencesOrderInformationAmountDetails.java | 30 ++-- ...ymentreferencesOrderInformationBillTo.java | 6 +- ...erencesOrderInformationInvoiceDetails.java | 8 +- ...ntreferencesOrderInformationLineItems.java | 26 ++-- ...ymentreferencesOrderInformationShipTo.java | 40 +++--- ...v2paymentreferencesPaymentInformation.java | 14 +- ...ymentreferencesPaymentInformationBank.java | 8 +- ...ferencesPaymentInformationBankAccount.java | 8 +- ...ymentreferencesPaymentInformationCard.java | 16 +-- ...ntreferencesPaymentInformationEWallet.java | 6 +- ...ntreferencesPaymentInformationOptions.java | 6 +- ...aymentreferencesProcessingInformation.java | 10 +- ...sv2paymentreferencesTravelInformation.java | 6 +- ...referencesTravelInformationAutoRental.java | 18 +-- .../Ptsv2paymentreferencesUserInterface.java | 10 +- ...v2paymentreferencesUserInterfaceColor.java | 22 +-- ...ntreferencesidintentsOrderInformation.java | 6 +- ...referencesidintentsPaymentInformation.java | 8 +- ...cesidintentsPaymentInformationEWallet.java | 6 +- ...erencesidintentsProcessingInformation.java | 6 +- .../Ptsv2paymentsAcquirerInformation.java | 14 +- .../Ptsv2paymentsAggregatorInformation.java | 10 +- ...mentsAggregatorInformationSubMerchant.java | 26 ++-- .../Ptsv2paymentsAgreementInformation.java | 8 +- .../Model/Ptsv2paymentsBuyerInformation.java | 26 ++-- ...uyerInformationPersonalIdentification.java | 12 +- ...sv2paymentsClientReferenceInformation.java | 22 +-- ...entsClientReferenceInformationPartner.java | 12 +- ...entsConsumerAuthenticationInformation.java | 122 ++++++++-------- ...cationInformationStrongAuthentication.java | 20 +-- ...StrongAuthenticationIssuerInformation.java | 6 +- .../Model/Ptsv2paymentsDeviceInformation.java | 52 +++---- ...Ptsv2paymentsDeviceInformationRawData.java | 8 +- .../Ptsv2paymentsHealthCareInformation.java | 6 +- ...ntsHealthCareInformationAmountDetails.java | 8 +- ...Ptsv2paymentsHostedPaymentInformation.java | 10 +- ...entsHostedPaymentInformationUserAgent.java | 8 +- .../Ptsv2paymentsInstallmentInformation.java | 34 ++--- .../Model/Ptsv2paymentsInvoiceDetails.java | 6 +- .../Model/Ptsv2paymentsIssuerInformation.java | 6 +- ...sv2paymentsMerchantDefinedInformation.java | 8 +- ...mentsMerchantDefinedSecureInformation.java | 12 +- .../Ptsv2paymentsMerchantInformation.java | 40 +++--- ...MerchantInformationMerchantDescriptor.java | 32 ++--- ...rchantInformationServiceFeeDescriptor.java | 10 +- ...ntsMerchantInformationServiceLocation.java | 12 +- .../Model/Ptsv2paymentsOrderInformation.java | 34 ++--- ...paymentsOrderInformationAmountDetails.java | 64 ++++----- ...ionAmountDetailsAmexAdditionalAmounts.java | 8 +- ...mationAmountDetailsCurrencyConversion.java | 10 +- ...rInformationAmountDetailsOctsurcharge.java | 6 +- ...ntsOrderInformationAmountDetailsOrder.java | 22 +-- ...rderInformationAmountDetailsSurcharge.java | 8 +- ...derInformationAmountDetailsTaxDetails.java | 20 +-- .../Ptsv2paymentsOrderInformationBillTo.java | 52 +++---- ...paymentsOrderInformationBillToCompany.java | 18 +-- ...aymentsOrderInformationInvoiceDetails.java | 42 +++--- ...voiceDetailsTransactionAdviceAddendum.java | 6 +- ...tsv2paymentsOrderInformationLineItems.java | 78 +++++------ ...tsv2paymentsOrderInformationPassenger.java | 20 +-- .../Ptsv2paymentsOrderInformationShipTo.java | 42 +++--- ...ymentsOrderInformationShippingDetails.java | 12 +- .../Ptsv2paymentsPaymentInformation.java | 36 ++--- .../Ptsv2paymentsPaymentInformationBank.java | 14 +- ...paymentsPaymentInformationBankAccount.java | 16 +-- .../Ptsv2paymentsPaymentInformationCard.java | 36 ++--- ...sv2paymentsPaymentInformationCustomer.java | 8 +- ...paymentsPaymentInformationDirectDebit.java | 6 +- ...sPaymentInformationDirectDebitMandate.java | 6 +- ...tsv2paymentsPaymentInformationEWallet.java | 8 +- ...v2paymentsPaymentInformationFluidData.java | 12 +- ...aymentInformationInstrumentIdentifier.java | 6 +- ...paymentsPaymentInformationLegacyToken.java | 6 +- ...tsv2paymentsPaymentInformationOptions.java | 6 +- ...entInformationPaymentAccountReference.java | 6 +- ...tsPaymentInformationPaymentInstrument.java | 6 +- ...paymentsPaymentInformationPaymentType.java | 10 +- ...tsPaymentInformationPaymentTypeMethod.java | 8 +- .../Ptsv2paymentsPaymentInformationSepa.java | 6 +- ...entsPaymentInformationSepaDirectDebit.java | 12 +- ...entsPaymentInformationShippingAddress.java | 6 +- ...ymentsPaymentInformationTokenizedCard.java | 28 ++-- .../Ptsv2paymentsPointOfSaleInformation.java | 62 ++++---- ...tsv2paymentsPointOfSaleInformationEmv.java | 20 +-- .../Ptsv2paymentsProcessingInformation.java | 88 ++++++------ ...essingInformationAuthorizationOptions.java | 72 +++++----- ...ormationAuthorizationOptionsInitiator.java | 16 +-- ...InitiatorMerchantInitiatedTransaction.java | 10 +- ...cessingInformationBankTransferOptions.java | 26 ++-- ...tsProcessingInformationCaptureOptions.java | 14 +- ...InformationElectronicBenefitsTransfer.java | 8 +- ...cessingInformationJapanPaymentOptions.java | 24 ++-- ...InformationJapanPaymentOptionsBonuses.java | 8 +- ...mentsProcessingInformationLoanOptions.java | 8 +- ...sProcessingInformationPurchaseOptions.java | 10 +- ...ProcessingInformationRecurringOptions.java | 12 +- .../Ptsv2paymentsProcessorInformation.java | 10 +- ...cessorInformationAuthorizationOptions.java | 6 +- ...2paymentsProcessorInformationReversal.java | 6 +- .../Ptsv2paymentsPromotionInformation.java | 8 +- .../Ptsv2paymentsRecipientInformation.java | 28 ++-- ...v2paymentsRecurringPaymentInformation.java | 26 ++-- .../Model/Ptsv2paymentsRiskInformation.java | 12 +- ...2paymentsRiskInformationAuxiliaryData.java | 8 +- ...v2paymentsRiskInformationBuyerHistory.java | 24 ++-- ...InformationBuyerHistoryAccountHistory.java | 10 +- ...nformationBuyerHistoryCustomerAccount.java | 16 +-- .../Ptsv2paymentsRiskInformationProfile.java | 6 +- .../Model/Ptsv2paymentsSenderInformation.java | 18 +-- .../Model/Ptsv2paymentsTokenInformation.java | 16 +-- ...entsTokenInformationPaymentInstrument.java | 8 +- ...ymentsTokenInformationShippingAddress.java | 8 +- ...formationTokenProvisioningInformation.java | 12 +- .../Model/Ptsv2paymentsTravelInformation.java | 16 +-- .../Ptsv2paymentsTravelInformationAgency.java | 8 +- ...v2paymentsTravelInformationAutoRental.java | 96 ++++++------- ...velInformationAutoRentalRentalAddress.java | 20 +-- ...velInformationAutoRentalReturnAddress.java | 18 +-- ...TravelInformationAutoRentalTaxDetails.java | 18 +-- ...Ptsv2paymentsTravelInformationLodging.java | 96 ++++++------- ...2paymentsTravelInformationLodgingRoom.java | 8 +- ...Ptsv2paymentsTravelInformationTransit.java | 6 +- ...ymentsTravelInformationTransitAirline.java | 96 ++++++------- ...ionTransitAirlineAncillaryInformation.java | 14 +- ...sitAirlineAncillaryInformationService.java | 8 +- ...tsTravelInformationTransitAirlineLegs.java | 44 +++--- ...InformationTransitAirlineTicketIssuer.java | 18 +-- ...2paymentsTravelInformationVehicleData.java | 8 +- ...paymentsWatchlistScreeningInformation.java | 14 +- ...sWatchlistScreeningInformationWeights.java | 10 +- ...2paymentsidClientReferenceInformation.java | 16 +-- ...tsidClientReferenceInformationPartner.java | 10 +- .../Ptsv2paymentsidMerchantInformation.java | 6 +- .../Ptsv2paymentsidOrderInformation.java | 6 +- ...ymentsidOrderInformationAmountDetails.java | 8 +- .../Ptsv2paymentsidProcessingInformation.java | 6 +- ...essingInformationAuthorizationOptions.java | 6 +- ...ormationAuthorizationOptionsInitiator.java | 8 +- .../Ptsv2paymentsidTravelInformation.java | 6 +- ...ymentsidcapturesAggregatorInformation.java | 10 +- ...turesAggregatorInformationSubMerchant.java | 22 +-- ...sv2paymentsidcapturesBuyerInformation.java | 16 +-- ...uyerInformationPersonalIdentification.java | 6 +- ...v2paymentsidcapturesDeviceInformation.java | 10 +- ...mentsidcapturesInstallmentInformation.java | 54 +++---- ...paymentsidcapturesMerchantInformation.java | 16 +-- ...sv2paymentsidcapturesOrderInformation.java | 16 +-- ...capturesOrderInformationAmountDetails.java | 44 +++--- ...mentsidcapturesOrderInformationBillTo.java | 34 ++--- ...apturesOrderInformationInvoiceDetails.java | 20 +-- ...mentsidcapturesOrderInformationShipTo.java | 14 +- ...pturesOrderInformationShippingDetails.java | 6 +- ...2paymentsidcapturesPaymentInformation.java | 10 +- ...mentsidcapturesPaymentInformationCard.java | 8 +- ...capturesPaymentInformationPaymentType.java | 6 +- ...esPaymentInformationPaymentTypeMethod.java | 6 +- ...mentsidcapturesPointOfSaleInformation.java | 8 +- ...tsidcapturesPointOfSaleInformationEmv.java | 10 +- ...ymentsidcapturesProcessingInformation.java | 32 ++--- ...essingInformationAuthorizationOptions.java | 10 +- ...esProcessingInformationCaptureOptions.java | 12 +- ...tsidrefundsClientReferenceInformation.java | 24 ++-- ...2paymentsidrefundsMerchantInformation.java | 14 +- ...tsv2paymentsidrefundsOrderInformation.java | 16 +-- ...ntsidrefundsOrderInformationLineItems.java | 48 +++---- ...v2paymentsidrefundsPaymentInformation.java | 28 ++-- ...ymentsidrefundsPaymentInformationBank.java | 12 +- ...drefundsPaymentInformationBankAccount.java | 14 +- ...ymentsidrefundsPaymentInformationCard.java | 28 ++-- ...ntsidrefundsPaymentInformationEWallet.java | 6 +- ...drefundsPaymentInformationPaymentType.java | 10 +- ...ymentsidrefundsPointOfSaleInformation.java | 6 +- ...aymentsidrefundsProcessingInformation.java | 26 ++-- ...ProcessingInformationRecurringOptions.java | 8 +- ...ndsProcessingInformationRefundOptions.java | 6 +- ...idreversalsClientReferenceInformation.java | 22 +-- ...salsClientReferenceInformationPartner.java | 10 +- ...v2paymentsidreversalsOrderInformation.java | 8 +- ...eversalsOrderInformationAmountDetails.java | 6 +- ...sidreversalsOrderInformationLineItems.java | 8 +- ...paymentsidreversalsPaymentInformation.java | 6 +- ...eversalsPaymentInformationPaymentType.java | 6 +- ...lsPaymentInformationPaymentTypeMethod.java | 6 +- ...entsidreversalsPointOfSaleInformation.java | 6 +- ...sidreversalsPointOfSaleInformationEmv.java | 6 +- ...mentsidreversalsProcessingInformation.java | 18 +-- ...aymentsidreversalsReversalInformation.java | 8 +- ...rsalsReversalInformationAmountDetails.java | 8 +- ...v2paymentsidvoidsAgreementInformation.java | 6 +- ...sv2paymentsidvoidsMerchantInformation.java | 6 +- .../Ptsv2paymentsidvoidsOrderInformation.java | 6 +- ...tsv2paymentsidvoidsPaymentInformation.java | 6 +- ...2paymentsidvoidsProcessingInformation.java | 6 +- ...tsv2payoutsClientReferenceInformation.java | 12 +- .../Ptsv2payoutsMerchantInformation.java | 12 +- ...MerchantInformationMerchantDescriptor.java | 18 +-- .../Model/Ptsv2payoutsOrderInformation.java | 10 +- ...2payoutsOrderInformationAmountDetails.java | 10 +- ...rderInformationAmountDetailsSurcharge.java | 6 +- .../Ptsv2payoutsOrderInformationBillTo.java | 24 ++-- .../Model/Ptsv2payoutsPaymentInformation.java | 14 +- .../Ptsv2payoutsPaymentInformationCard.java | 14 +- .../Ptsv2payoutsProcessingInformation.java | 20 +-- ...tsProcessingInformationFundingOptions.java | 6 +- ...ingInformationFundingOptionsInitiator.java | 6 +- ...tsProcessingInformationPayoutsOptions.java | 14 +- .../Ptsv2payoutsRecipientInformation.java | 22 +-- .../Model/Ptsv2payoutsSenderInformation.java | 40 +++--- .../Ptsv2payoutsSenderInformationAccount.java | 8 +- ...shpaymentstatusidAgreementInformation.java | 6 +- ...entstatusidClientReferenceInformation.java | 8 +- ...reshpaymentstatusidPaymentInformation.java | 8 +- ...entstatusidPaymentInformationCustomer.java | 6 +- ...statusidPaymentInformationPaymentType.java | 8 +- ...hpaymentstatusidProcessingInformation.java | 6 +- .../Ptsv2voidsProcessingInformation.java | 6 +- src/main/java/Model/PushFunds201Response.java | 30 ++-- ...201ResponseClientReferenceInformation.java | 8 +- .../PushFunds201ResponseErrorInformation.java | 10 +- ...nds201ResponseErrorInformationDetails.java | 8 +- .../java/Model/PushFunds201ResponseLinks.java | 12 +- .../PushFunds201ResponseLinksCustomer.java | 8 +- ...s201ResponseLinksInstrumentIdentifier.java | 8 +- ...unds201ResponseLinksPaymentInstrument.java | 8 +- .../Model/PushFunds201ResponseLinksSelf.java | 8 +- ...shFunds201ResponseMerchantInformation.java | 6 +- ...MerchantInformationMerchantDescriptor.java | 10 +- .../PushFunds201ResponseOrderInformation.java | 6 +- ...ResponseOrderInformationAmountDetails.java | 12 +- ...ushFunds201ResponsePaymentInformation.java | 6 +- ...sponsePaymentInformationTokenizedCard.java | 6 +- ...Funds201ResponseProcessingInformation.java | 6 +- ...cessingInformationDomesticNationalNet.java | 6 +- ...hFunds201ResponseProcessorInformation.java | 24 ++-- ...01ResponseProcessorInformationRouting.java | 6 +- ...esponseProcessorInformationSettlement.java | 10 +- ...hFunds201ResponseRecipientInformation.java | 8 +- ...ds201ResponseRecipientInformationCard.java | 8 +- src/main/java/Model/PushFunds400Response.java | 16 +-- .../Model/PushFunds400ResponseDetails.java | 8 +- src/main/java/Model/PushFunds401Response.java | 12 +- src/main/java/Model/PushFunds404Response.java | 12 +- src/main/java/Model/PushFunds502Response.java | 14 +- src/main/java/Model/PushFundsRequest.java | 20 +-- .../Rbsv1plansClientReferenceInformation.java | 14 +- .../Model/Rbsv1plansOrderInformation.java | 6 +- ...sv1plansOrderInformationAmountDetails.java | 10 +- .../java/Model/Rbsv1plansPlanInformation.java | 16 +-- ...bsv1plansPlanInformationBillingCycles.java | 6 +- .../Model/Rbsv1plansidPlanInformation.java | 16 +-- .../Rbsv1plansidProcessingInformation.java | 6 +- ...InformationSubscriptionBillingOptions.java | 6 +- ...bscriptionsClientReferenceInformation.java | 16 +-- .../Rbsv1subscriptionsPaymentInformation.java | 6 +- ...bscriptionsPaymentInformationCustomer.java | 6 +- .../Rbsv1subscriptionsPlanInformation.java | 8 +- ...sv1subscriptionsProcessingInformation.java | 8 +- ...essingInformationAuthorizationOptions.java | 6 +- ...ormationAuthorizationOptionsInitiator.java | 6 +- ...1subscriptionsSubscriptionInformation.java | 12 +- .../Rbsv1subscriptionsidOrderInformation.java | 6 +- ...ptionsidOrderInformationAmountDetails.java | 8 +- .../Rbsv1subscriptionsidPlanInformation.java | 6 +- ...ubscriptionsidSubscriptionInformation.java | 12 +- .../Model/RefreshPaymentStatusRequest.java | 12 +- src/main/java/Model/RefundCaptureRequest.java | 28 ++-- src/main/java/Model/RefundPaymentRequest.java | 28 ++-- .../java/Model/ReplayWebhooksRequest.java | 8 +- ...tingV3ChargebackDetailsGet200Response.java | 12 +- ...etailsGet200ResponseChargebackDetails.java | 50 +++---- ...ngV3ChargebackSummariesGet200Response.java | 12 +- ...riesGet200ResponseChargebackSummaries.java | 10 +- ...tingV3ConversionDetailsGet200Response.java | 12 +- ...etailsGet200ResponseConversionDetails.java | 24 ++-- ...3ConversionDetailsGet200ResponseNotes.java | 10 +- ...ngeClearingLevelDetailsGet200Response.java | 10 +- ...sponseInterchangeClearingLevelDetails.java | 106 +++++++------- .../ReportingV3NetFundingsGet200Response.java | 20 +-- ...ingsGet200ResponseNetFundingSummaries.java | 20 +-- ...tFundingsGet200ResponseTotalPurchases.java | 8 +- ...V3NotificationofChangesGet200Response.java | 6 +- ...esGet200ResponseNotificationOfChanges.java | 20 +-- ...V3PaymentBatchSummariesGet200Response.java | 10 +- ...esGet200ResponsePaymentBatchSummaries.java | 28 ++-- ...V3PurchaseRefundDetailsGet200Response.java | 22 +-- ...ndDetailsGet200ResponseAuthorizations.java | 20 +-- ...ilsGet200ResponseFeeAndFundingDetails.java | 30 ++-- ...haseRefundDetailsGet200ResponseOthers.java | 18 +-- ...ndDetailsGet200ResponseRequestDetails.java | 16 +-- ...tailsGet200ResponseSettlementStatuses.java | 14 +- ...efundDetailsGet200ResponseSettlements.java | 30 ++-- ...tingV3ReportDefinitionsGet200Response.java | 6 +- ...itionsGet200ResponseReportDefinitions.java | 18 +-- ...V3ReportDefinitionsNameGet200Response.java | 20 +-- ...finitionsNameGet200ResponseAttributes.java | 22 +-- ...ionsNameGet200ResponseDefaultSettings.java | 20 +-- ...ngV3ReportSubscriptionsGet200Response.java | 6 +- ...scriptionsGet200ResponseSubscriptions.java | 32 ++--- .../ReportingV3ReportsGet200Response.java | 6 +- .../ReportingV3ReportsGet200ResponseLink.java | 6 +- ...portsGet200ResponseLinkReportDownload.java | 8 +- ...ortsGet200ResponseReportSearchResults.java | 36 ++--- .../ReportingV3ReportsIdGet200Response.java | 32 ++--- ...rtingV3RetrievalDetailsGet200Response.java | 12 +- ...DetailsGet200ResponseRetrievalDetails.java | 48 +++---- ...ingV3RetrievalSummariesGet200Response.java | 12 +- ...ortingv3ReportDownloadsGet400Response.java | 12 +- ...3ReportDownloadsGet400ResponseDetails.java | 8 +- .../Reportingv3reportsReportFilters.java | 12 +- .../Reportingv3reportsReportPreferences.java | 10 +- src/main/java/Model/RiskProducts.java | 8 +- .../Model/RiskProductsDecisionManager.java | 8 +- ...cisionManagerConfigurationInformation.java | 8 +- ...RiskProductsFraudManagementEssentials.java | 8 +- ...entEssentialsConfigurationInformation.java | 6 +- ...V1AddressVerificationsPost201Response.java | 22 +-- ...esponseAddressVerificationInformation.java | 20 +-- ...AddressVerificationInformationBarCode.java | 8 +- ...erificationInformationStandardAddress.java | 26 ++-- ...ionInformationStandardAddressAddress1.java | 8 +- ...ationsPost201ResponseErrorInformation.java | 10 +- ...1AuthenticationResultsPost201Response.java | 20 +-- ...onseConsumerAuthenticationInformation.java | 66 ++++----- ...V1AuthenticationSetupsPost201Response.java | 18 +-- ...onseConsumerAuthenticationInformation.java | 10 +- ...SetupsPost201ResponseErrorInformation.java | 10 +- .../RiskV1AuthenticationsPost201Response.java | 22 +-- ...ationsPost201ResponseErrorInformation.java | 10 +- .../RiskV1AuthenticationsPost400Response.java | 14 +- ...RiskV1AuthenticationsPost400Response1.java | 14 +- .../Model/RiskV1DecisionsPost201Response.java | 28 ++-- ...201ResponseClientReferenceInformation.java | 10 +- ...onseConsumerAuthenticationInformation.java | 96 ++++++------- ...isionsPost201ResponseErrorInformation.java | 10 +- ...isionsPost201ResponseOrderInformation.java | 6 +- ...ResponseOrderInformationAmountDetails.java | 6 +- ...ionsPost201ResponsePaymentInformation.java | 14 +- .../Model/RiskV1DecisionsPost400Response.java | 14 +- .../RiskV1DecisionsPost400Response1.java | 14 +- ...ortComplianceInquiriesPost201Response.java | 22 +-- ...uiriesPost201ResponseErrorInformation.java | 10 +- .../Model/RiskV1UpdatePost201Response.java | 14 +- ...1addressverificationsBuyerInformation.java | 6 +- ...1addressverificationsOrderInformation.java | 10 +- ...ssverificationsOrderInformationBillTo.java | 20 +-- ...erificationsOrderInformationLineItems.java | 16 +-- ...ssverificationsOrderInformationShipTo.java | 20 +-- ...ultsConsumerAuthenticationInformation.java | 20 +-- ...uthenticationresultsDeviceInformation.java | 6 +- ...authenticationresultsOrderInformation.java | 6 +- ...nresultsOrderInformationAmountDetails.java | 8 +- ...thenticationresultsPaymentInformation.java | 12 +- ...ticationresultsPaymentInformationCard.java | 12 +- ...ionresultsPaymentInformationFluidData.java | 12 +- ...esultsPaymentInformationTokenizedCard.java | 14 +- ...Riskv1authenticationsBuyerInformation.java | 12 +- ...iskv1authenticationsDeviceInformation.java | 32 ++--- ...Riskv1authenticationsOrderInformation.java | 22 +-- ...icationsOrderInformationAmountDetails.java | 8 +- ...authenticationsOrderInformationBillTo.java | 26 ++-- ...henticationsOrderInformationLineItems.java | 44 +++--- ...skv1authenticationsPaymentInformation.java | 12 +- ...enticationsPaymentInformationCustomer.java | 8 +- ...ationsPaymentInformationTokenizedCard.java | 18 +-- .../Riskv1authenticationsRiskInformation.java | 6 +- ...iskv1authenticationsTravelInformation.java | 10 +- ...ationsetupsClientReferenceInformation.java | 12 +- ...uthenticationsetupsPaymentInformation.java | 12 +- ...nticationsetupsPaymentInformationCard.java | 12 +- ...ationsetupsPaymentInformationCustomer.java | 6 +- ...tionsetupsPaymentInformationFluidData.java | 12 +- ...setupsPaymentInformationTokenizedCard.java | 14 +- ...enticationsetupsProcessingInformation.java | 8 +- ...1authenticationsetupsTokenInformation.java | 8 +- .../Riskv1decisionsAcquirerInformation.java | 12 +- .../Riskv1decisionsBuyerInformation.java | 14 +- ...v1decisionsClientReferenceInformation.java | 12 +- ...ionsClientReferenceInformationPartner.java | 8 +- ...ionsConsumerAuthenticationInformation.java | 88 ++++++------ ...cationInformationStrongAuthentication.java | 6 +- .../Riskv1decisionsDeviceInformation.java | 42 +++--- ...v1decisionsMerchantDefinedInformation.java | 8 +- .../Riskv1decisionsMerchantInformation.java | 8 +- ...MerchantInformationMerchantDescriptor.java | 8 +- .../Riskv1decisionsOrderInformation.java | 30 ++-- ...ecisionsOrderInformationAmountDetails.java | 8 +- ...Riskv1decisionsOrderInformationBillTo.java | 24 ++-- ...kv1decisionsOrderInformationLineItems.java | 38 ++--- ...Riskv1decisionsOrderInformationShipTo.java | 32 ++--- ...isionsOrderInformationShippingDetails.java | 10 +- .../Riskv1decisionsPaymentInformation.java | 14 +- ...Riskv1decisionsPaymentInformationCard.java | 14 +- ...isionsPaymentInformationTokenizedCard.java | 14 +- .../Riskv1decisionsProcessingInformation.java | 6 +- .../Riskv1decisionsProcessorInformation.java | 8 +- ...iskv1decisionsProcessorInformationAvs.java | 6 +- ...sProcessorInformationCardVerification.java | 6 +- .../Model/Riskv1decisionsRiskInformation.java | 12 +- .../Riskv1decisionsTokenInformation.java | 6 +- .../Riskv1decisionsTravelInformation.java | 18 +-- .../Riskv1decisionsTravelInformationLegs.java | 12 +- ...1decisionsTravelInformationPassengers.java | 8 +- ...decisionsidactionsDecisionInformation.java | 8 +- ...cisionsidactionsProcessingInformation.java | 6 +- ...skv1decisionsidmarkingRiskInformation.java | 6 +- ...dmarkingRiskInformationMarkingDetails.java | 12 +- ...tcomplianceinquiriesDeviceInformation.java | 8 +- ...einquiriesExportComplianceInformation.java | 10 +- ...rtcomplianceinquiriesOrderInformation.java | 10 +- ...lianceinquiriesOrderInformationBillTo.java | 28 ++-- ...nquiriesOrderInformationBillToCompany.java | 6 +- ...nceinquiriesOrderInformationLineItems.java | 20 +-- ...lianceinquiriesOrderInformationShipTo.java | 10 +- ...iskv1liststypeentriesBuyerInformation.java | 6 +- ...typeentriesClientReferenceInformation.java | 10 +- ...skv1liststypeentriesDeviceInformation.java | 8 +- ...iskv1liststypeentriesOrderInformation.java | 12 +- ...ststypeentriesOrderInformationAddress.java | 16 +-- ...iststypeentriesOrderInformationBillTo.java | 26 ++-- ...stypeentriesOrderInformationLineItems.java | 6 +- ...iststypeentriesOrderInformationShipTo.java | 16 +-- ...kv1liststypeentriesPaymentInformation.java | 8 +- ...iststypeentriesPaymentInformationBank.java | 12 +- ...iststypeentriesPaymentInformationCard.java | 10 +- ...Riskv1liststypeentriesRiskInformation.java | 6 +- ...eentriesRiskInformationMarkingDetails.java | 12 +- src/main/java/Model/SAConfig.java | 18 +-- src/main/java/Model/SAConfigCheckout.java | 12 +- .../Model/SAConfigContactInformation.java | 12 +- .../java/Model/SAConfigNotifications.java | 8 +- ...figNotificationsCustomerNotifications.java | 26 ++-- ...figNotificationsMerchantNotifications.java | 18 +-- .../java/Model/SAConfigPaymentMethods.java | 6 +- src/main/java/Model/SAConfigPaymentTypes.java | 6 +- .../Model/SAConfigPaymentTypesCardTypes.java | 12 +- ...SAConfigPaymentTypesCardTypesDiscover.java | 28 ++-- src/main/java/Model/SAConfigService.java | 30 ++-- src/main/java/Model/SaveAsymEgressKey.java | 10 +- src/main/java/Model/SaveSymEgressKey.java | 10 +- src/main/java/Model/SearchRequest.java | 12 +- .../Model/ShippingAddressListForCustomer.java | 16 +-- ...hippingAddressListForCustomerEmbedded.java | 6 +- .../ShippingAddressListForCustomerLinks.java | 14 +- ...ppingAddressListForCustomerLinksFirst.java | 6 +- ...ippingAddressListForCustomerLinksLast.java | 6 +- ...ippingAddressListForCustomerLinksNext.java | 6 +- ...ippingAddressListForCustomerLinksPrev.java | 6 +- ...ippingAddressListForCustomerLinksSelf.java | 6 +- .../Model/SuspendSubscriptionResponse.java | 14 +- ...iptionResponseSubscriptionInformation.java | 8 +- src/main/java/Model/TaxRequest.java | 14 +- .../java/Model/TmsAuthorizationOptions.java | 6 +- .../TmsAuthorizationOptionsInitiator.java | 6 +- ...InitiatorMerchantInitiatedTransaction.java | 8 +- .../TmsEmbeddedInstrumentIdentifier.java | 30 ++-- ...beddedInstrumentIdentifierBankAccount.java | 8 +- ...TmsEmbeddedInstrumentIdentifierBillTo.java | 16 +-- .../TmsEmbeddedInstrumentIdentifierCard.java | 12 +- ...TmsEmbeddedInstrumentIdentifierIssuer.java | 6 +- .../TmsEmbeddedInstrumentIdentifierLinks.java | 8 +- ...mentIdentifierLinksPaymentInstruments.java | 6 +- ...EmbeddedInstrumentIdentifierLinksSelf.java | 6 +- ...sEmbeddedInstrumentIdentifierMetadata.java | 6 +- ...rumentIdentifierProcessingInformation.java | 6 +- .../java/Model/TmsNetworkTokenServices.java | 16 +-- ...enServicesAmericanExpressTokenService.java | 16 +-- ...cesMastercardDigitalEnablementService.java | 14 +- .../TmsNetworkTokenServicesNotifications.java | 8 +- ...etworkTokenServicesPaymentCredentials.java | 8 +- ...kTokenServicesSynchronousProvisioning.java | 8 +- ...sNetworkTokenServicesVisaTokenService.java | 16 +-- src/main/java/Model/TmsNullify.java | 16 +-- .../TmsPaymentInstrumentProcessingInfo.java | 10 +- ...mentProcessingInfoBankTransferOptions.java | 6 +- .../java/Model/TmsSensitivePrivileges.java | 6 +- src/main/java/Model/TmsTokenFormats.java | 12 +- src/main/java/Model/Tmsv2TokenizedCard.java | 28 ++-- .../java/Model/Tmsv2TokenizedCardCard.java | 10 +- .../Model/Tmsv2TokenizedCardMetadata.java | 6 +- .../Tmsv2TokenizedCardMetadataCardArt.java | 18 +-- ...zedCardMetadataCardArtBackgroundAsset.java | 8 +- ...rdMetadataCardArtBackgroundAssetLinks.java | 6 +- ...tadataCardArtBackgroundAssetLinksSelf.java | 6 +- ...izedCardMetadataCardArtBrandLogoAsset.java | 8 +- ...ardMetadataCardArtBrandLogoAssetLinks.java | 6 +- ...etadataCardArtBrandLogoAssetLinksSelf.java | 6 +- ...edCardMetadataCardArtCoBrandLogoAsset.java | 8 +- ...dMetadataCardArtCoBrandLogoAssetLinks.java | 6 +- ...adataCardArtCoBrandLogoAssetLinksSelf.java | 6 +- ...nizedCardMetadataCardArtCombinedAsset.java | 8 +- ...CardMetadataCardArtCombinedAssetLinks.java | 6 +- ...MetadataCardArtCombinedAssetLinksSelf.java | 6 +- ...TokenizedCardMetadataCardArtIconAsset.java | 8 +- ...izedCardMetadataCardArtIconAssetLinks.java | 6 +- ...CardMetadataCardArtIconAssetLinksSelf.java | 6 +- ...zedCardMetadataCardArtIssuerLogoAsset.java | 8 +- ...rdMetadataCardArtIssuerLogoAssetLinks.java | 6 +- ...tadataCardArtIssuerLogoAssetLinksSelf.java | 6 +- .../Model/Tmsv2customersBuyerInformation.java | 8 +- ...v2customersClientReferenceInformation.java | 6 +- ...msv2customersDefaultPaymentInstrument.java | 6 +- .../Tmsv2customersDefaultShippingAddress.java | 6 +- .../java/Model/Tmsv2customersEmbedded.java | 8 +- ...omersEmbeddedDefaultPaymentInstrument.java | 36 ++--- ...edDefaultPaymentInstrumentBankAccount.java | 6 +- ...mbeddedDefaultPaymentInstrumentBillTo.java | 26 ++-- ...aultPaymentInstrumentBuyerInformation.java | 12 +- ...entInstrumentBuyerInformationIssuedBy.java | 6 +- ...uyerInformationPersonalIdentification.java | 10 +- ...sEmbeddedDefaultPaymentInstrumentCard.java | 22 +-- ...entInstrumentCardTokenizedInformation.java | 8 +- ...eddedDefaultPaymentInstrumentEmbedded.java | 6 +- ...PaymentInstrumentInstrumentIdentifier.java | 6 +- ...EmbeddedDefaultPaymentInstrumentLinks.java | 8 +- ...ddedDefaultPaymentInstrumentLinksSelf.java | 6 +- ...tPaymentInstrumentMerchantInformation.java | 6 +- ...MerchantInformationMerchantDescriptor.java | 6 +- ...eddedDefaultPaymentInstrumentMetadata.java | 6 +- ...stomersEmbeddedDefaultShippingAddress.java | 16 +-- ...rsEmbeddedDefaultShippingAddressLinks.java | 8 +- ...edDefaultShippingAddressLinksCustomer.java | 6 +- ...beddedDefaultShippingAddressLinksSelf.java | 6 +- ...mbeddedDefaultShippingAddressMetadata.java | 6 +- ...sEmbeddedDefaultShippingAddressShipTo.java | 26 ++-- src/main/java/Model/Tmsv2customersLinks.java | 10 +- ...Tmsv2customersLinksPaymentInstruments.java | 6 +- .../java/Model/Tmsv2customersLinksSelf.java | 6 +- .../Tmsv2customersLinksShippingAddress.java | 6 +- ...v2customersMerchantDefinedInformation.java | 8 +- .../java/Model/Tmsv2customersMetadata.java | 6 +- .../Tmsv2customersObjectInformation.java | 8 +- src/main/java/Model/TokenPermissions.java | 20 +-- .../Model/TssV2GetEmvTags200Response.java | 6 +- ...EmvTags200ResponseEmvTagBreakdownList.java | 8 +- .../Model/TssV2PostEmvTags200Response.java | 6 +- ...EmvTags200ResponseEmvTagBreakdownList.java | 14 +- ...stEmvTags200ResponseParsedEMVTagsList.java | 10 +- .../TssV2TransactionsGet200Response.java | 64 ++++----- ...sGet200ResponseApplicationInformation.java | 14 +- ...nseApplicationInformationApplications.java | 20 +-- ...actionsGet200ResponseBuyerInformation.java | 8 +- ...200ResponseClientReferenceInformation.java | 16 +-- ...onseClientReferenceInformationPartner.java | 8 +- ...onseConsumerAuthenticationInformation.java | 14 +- ...cationInformationStrongAuthentication.java | 14 +- ...ctionsGet200ResponseDeviceInformation.java | 10 +- ...actionsGet200ResponseErrorInformation.java | 10 +- ...Get200ResponseFraudMarkingInformation.java | 6 +- ...sGet200ResponseInstallmentInformation.java | 8 +- .../TssV2TransactionsGet200ResponseLinks.java | 8 +- ...ionsGet200ResponseMerchantInformation.java | 6 +- ...MerchantInformationMerchantDescriptor.java | 6 +- ...actionsGet200ResponseOrderInformation.java | 16 +-- ...ResponseOrderInformationAmountDetails.java | 18 +-- ...sGet200ResponseOrderInformationBillTo.java | 32 ++--- ...esponseOrderInformationInvoiceDetails.java | 6 +- ...t200ResponseOrderInformationLineItems.java | 18 +-- ...sGet200ResponseOrderInformationShipTo.java | 24 ++-- ...sponseOrderInformationShippingDetails.java | 10 +- ...tionsGet200ResponsePaymentInformation.java | 32 ++--- ...onsePaymentInformationAccountFeatures.java | 10 +- ...sGet200ResponsePaymentInformationBank.java | 18 +-- ...ResponsePaymentInformationBankAccount.java | 18 +-- ...ResponsePaymentInformationBankMandate.java | 10 +- ...et200ResponsePaymentInformationBrands.java | 8 +- ...sGet200ResponsePaymentInformationCard.java | 28 ++-- ...200ResponsePaymentInformationCustomer.java | 8 +- ...200ResponsePaymentInformationFeatures.java | 18 +-- ...00ResponsePaymentInformationFluidData.java | 6 +- ...aymentInformationInstrumentIdentifier.java | 6 +- ...t200ResponsePaymentInformationInvoice.java | 10 +- ...sePaymentInformationIssuerInformation.java | 12 +- ...t200ResponsePaymentInformationNetwork.java | 6 +- ...ResponsePaymentInformationPaymentType.java | 10 +- ...ansactionsGet200ResponsePayoutOptions.java | 6 +- ...sGet200ResponsePointOfSaleInformation.java | 14 +- ...nsGet200ResponseProcessingInformation.java | 26 ++-- ...essingInformationAuthorizationOptions.java | 16 +-- ...ormationAuthorizationOptionsInitiator.java | 12 +- ...cessingInformationBankTransferOptions.java | 6 +- ...seProcessingInformationCaptureOptions.java | 8 +- ...cessingInformationJapanPaymentOptions.java | 22 +-- ...onsGet200ResponseProcessorInformation.java | 34 ++--- ...ormationElectronicVerificationResults.java | 24 ++-- ...essorInformationMultiProcessorRouting.java | 12 +- ...ResponseProcessorInformationProcessor.java | 6 +- ...00ResponseRecurringPaymentInformation.java | 6 +- ...sactionsGet200ResponseRiskInformation.java | 16 +-- ...sGet200ResponseRiskInformationProfile.java | 8 +- ...onsGet200ResponseRiskInformationRules.java | 8 +- ...onsGet200ResponseRiskInformationScore.java | 8 +- ...ctionsGet200ResponseSenderInformation.java | 6 +- ...actionsGet200ResponseTokenInformation.java | 16 +-- ...ResponseUnscheduledPaymentInformation.java | 6 +- .../TssV2TransactionsPost201Response.java | 32 ++--- ...V2TransactionsPost201ResponseEmbedded.java | 6 +- ...esponseEmbeddedApplicationInformation.java | 14 +- ...dedApplicationInformationApplications.java | 22 +-- ...nseEmbeddedClientReferenceInformation.java | 12 +- ...ddedClientReferenceInformationPartner.java | 6 +- ...ddedConsumerAuthenticationInformation.java | 10 +- ...st201ResponseEmbeddedErrorInformation.java | 6 +- ...nsactionsPost201ResponseEmbeddedLinks.java | 6 +- ...01ResponseEmbeddedMerchantInformation.java | 6 +- ...st201ResponseEmbeddedOrderInformation.java | 10 +- ...esponseEmbeddedOrderInformationBillTo.java | 16 +-- ...esponseEmbeddedOrderInformationShipTo.java | 14 +- ...201ResponseEmbeddedPaymentInformation.java | 12 +- ...esponseEmbeddedPaymentInformationBank.java | 6 +- ...EmbeddedPaymentInformationBankAccount.java | 8 +- ...esponseEmbeddedPaymentInformationCard.java | 10 +- ...EmbeddedPaymentInformationPaymentType.java | 8 +- ...esponseEmbeddedPointOfSaleInformation.java | 14 +- ...EmbeddedPointOfSaleInformationPartner.java | 6 +- ...ResponseEmbeddedProcessingInformation.java | 12 +- ...1ResponseEmbeddedProcessorInformation.java | 10 +- ...ost201ResponseEmbeddedRiskInformation.java | 6 +- ...ponseEmbeddedRiskInformationProviders.java | 6 +- ...edRiskInformationProvidersFingerprint.java | 10 +- ...1ResponseEmbeddedTransactionSummaries.java | 44 +++--- ...ansactionsemvTagDetailsEmvDetailsList.java | 8 +- .../java/Model/UmsV1UsersGet200Response.java | 6 +- ...UsersGet200ResponseAccountInformation.java | 20 +-- ...UsersGet200ResponseContactInformation.java | 12 +- ...Get200ResponseOrganizationInformation.java | 6 +- .../Model/UmsV1UsersGet200ResponseUsers.java | 12 +- src/main/java/Model/UpdateInvoiceRequest.java | 10 +- src/main/java/Model/UpdateOrderRequest.java | 14 +- src/main/java/Model/UpdatePlanRequest.java | 10 +- src/main/java/Model/UpdatePlanResponse.java | 14 +- .../UpdatePlanResponsePlanInformation.java | 8 +- src/main/java/Model/UpdateSubscription.java | 14 +- .../Model/UpdateSubscriptionResponse.java | 14 +- src/main/java/Model/UpdateWebhookRequest.java | 28 ++-- .../Upv1capturecontextsCaptureMandate.java | 24 ++-- ...turecontextsCheckoutApiInitialization.java | 24 ++-- .../Upv1capturecontextsOrderInformation.java | 10 +- ...contextsOrderInformationAmountDetails.java | 8 +- ...capturecontextsOrderInformationBillTo.java | 42 +++--- ...contextsOrderInformationBillToCompany.java | 26 ++-- ...capturecontextsOrderInformationShipTo.java | 28 ++-- .../Model/V1FileDetailsGet200Response.java | 8 +- ...1FileDetailsGet200ResponseFileDetails.java | 18 +-- .../V1FileDetailsGet200ResponseLinks.java | 8 +- ...V1FileDetailsGet200ResponseLinksFiles.java | 10 +- .../V1FileDetailsGet200ResponseLinksSelf.java | 8 +- src/main/java/Model/VTConfig.java | 8 +- .../java/Model/VTConfigCardNotPresent.java | 8 +- ...ardNotPresentGlobalPaymentInformation.java | 10 +- ...balPaymentInformationBasicInformation.java | 28 ++-- ...tInformationMerchantDefinedDataFields.java | 84 +++++------ ...lPaymentInformationPaymentInformation.java | 50 +++---- ...onfigCardNotPresentReceiptInformation.java | 10 +- ...PresentReceiptInformationEmailReceipt.java | 6 +- ...ardNotPresentReceiptInformationHeader.java | 6 +- ...entReceiptInformationOrderInformation.java | 8 +- .../ValidateExportComplianceRequest.java | 14 +- src/main/java/Model/ValidateRequest.java | 18 +-- .../Model/ValueAddedServicesProducts.java | 8 +- .../Model/VasV2PaymentsPost201Response.java | 18 +-- .../VasV2PaymentsPost201ResponseLinks.java | 6 +- ...ymentsPost201ResponseOrderInformation.java | 16 +-- ...1ResponseOrderInformationJurisdiction.java | 22 +-- ...t201ResponseOrderInformationLineItems.java | 14 +- ...201ResponseOrderInformationTaxDetails.java | 8 +- ...PaymentsPost201ResponseTaxInformation.java | 12 +- .../Model/VasV2PaymentsPost400Response.java | 14 +- .../java/Model/VasV2TaxVoid200Response.java | 14 +- ...V2TaxVoid200ResponseVoidAmountDetails.java | 8 +- .../Model/VasV2TaxVoidsPost400Response.java | 14 +- .../java/Model/Vasv2taxBuyerInformation.java | 6 +- .../Vasv2taxClientReferenceInformation.java | 10 +- .../Model/Vasv2taxMerchantInformation.java | 6 +- .../java/Model/Vasv2taxOrderInformation.java | 20 +-- .../Model/Vasv2taxOrderInformationBillTo.java | 16 +-- ...asv2taxOrderInformationInvoiceDetails.java | 6 +- .../Vasv2taxOrderInformationLineItems.java | 32 ++--- ...sv2taxOrderInformationOrderAcceptance.java | 12 +- .../Vasv2taxOrderInformationOrderOrigin.java | 12 +- .../Model/Vasv2taxOrderInformationShipTo.java | 18 +-- ...sv2taxOrderInformationShippingDetails.java | 12 +- .../java/Model/Vasv2taxTaxInformation.java | 22 +-- .../Vasv2taxidClientReferenceInformation.java | 10 +- ...axidClientReferenceInformationPartner.java | 8 +- .../Model/VerifyCustomerAddressRequest.java | 10 +- src/main/java/Model/VoidCaptureRequest.java | 16 +-- src/main/java/Model/VoidCreditRequest.java | 16 +-- src/main/java/Model/VoidPaymentRequest.java | 16 +-- src/main/java/Model/VoidRefundRequest.java | 16 +-- src/main/java/Model/VoidTaxRequest.java | 6 +- 1358 files changed, 9552 insertions(+), 9552 deletions(-) diff --git a/src/main/java/Model/Accountupdaterv1batchesIncluded.java b/src/main/java/Model/Accountupdaterv1batchesIncluded.java index 4c6977761..36266be91 100644 --- a/src/main/java/Model/Accountupdaterv1batchesIncluded.java +++ b/src/main/java/Model/Accountupdaterv1batchesIncluded.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Accountupdaterv1batchesIncluded {\n"); - sb.append(" tokens: ").append(toIndentedString(tokens)).append("\n"); + if (tokens != null) sb.append(" tokens: ").append(toIndentedString(tokens)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Accountupdaterv1batchesIncludedTokens.java b/src/main/java/Model/Accountupdaterv1batchesIncludedTokens.java index fbaa48f39..a797eb96a 100644 --- a/src/main/java/Model/Accountupdaterv1batchesIncludedTokens.java +++ b/src/main/java/Model/Accountupdaterv1batchesIncludedTokens.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Accountupdaterv1batchesIncludedTokens {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ActivateDeactivatePlanResponse.java b/src/main/java/Model/ActivateDeactivatePlanResponse.java index 9314f5704..6322c885a 100644 --- a/src/main/java/Model/ActivateDeactivatePlanResponse.java +++ b/src/main/java/Model/ActivateDeactivatePlanResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ActivateDeactivatePlanResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ActivateSubscriptionResponse.java b/src/main/java/Model/ActivateSubscriptionResponse.java index c6086829d..a7bdcadd6 100644 --- a/src/main/java/Model/ActivateSubscriptionResponse.java +++ b/src/main/java/Model/ActivateSubscriptionResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ActivateSubscriptionResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ActivateSubscriptionResponseSubscriptionInformation.java b/src/main/java/Model/ActivateSubscriptionResponseSubscriptionInformation.java index 995040fe2..6834cecfa 100644 --- a/src/main/java/Model/ActivateSubscriptionResponseSubscriptionInformation.java +++ b/src/main/java/Model/ActivateSubscriptionResponseSubscriptionInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ActivateSubscriptionResponseSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/AddNegativeListRequest.java b/src/main/java/Model/AddNegativeListRequest.java index 11d19ef39..aba4f419b 100644 --- a/src/main/java/Model/AddNegativeListRequest.java +++ b/src/main/java/Model/AddNegativeListRequest.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AddNegativeListRequest {\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/AuthReversalRequest.java b/src/main/java/Model/AuthReversalRequest.java index a5e39c939..557e75dc5 100644 --- a/src/main/java/Model/AuthReversalRequest.java +++ b/src/main/java/Model/AuthReversalRequest.java @@ -213,13 +213,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AuthReversalRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" reversalInformation: ").append(toIndentedString(reversalInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (reversalInformation != null) sb.append(" reversalInformation: ").append(toIndentedString(reversalInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -230,10 +230,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Binv1binlookupClientReferenceInformation.java b/src/main/java/Model/Binv1binlookupClientReferenceInformation.java index 9a6584a67..1ad95464e 100644 --- a/src/main/java/Model/Binv1binlookupClientReferenceInformation.java +++ b/src/main/java/Model/Binv1binlookupClientReferenceInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Binv1binlookupClientReferenceInformation {\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Binv1binlookupPaymentInformation.java b/src/main/java/Model/Binv1binlookupPaymentInformation.java index 31f9dfdce..d27d54abd 100644 --- a/src/main/java/Model/Binv1binlookupPaymentInformation.java +++ b/src/main/java/Model/Binv1binlookupPaymentInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Binv1binlookupPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Binv1binlookupPaymentInformationCard.java b/src/main/java/Model/Binv1binlookupPaymentInformationCard.java index 3a9cf0275..b36506f74 100644 --- a/src/main/java/Model/Binv1binlookupPaymentInformationCard.java +++ b/src/main/java/Model/Binv1binlookupPaymentInformationCard.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Binv1binlookupPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Binv1binlookupProcessingInformation.java b/src/main/java/Model/Binv1binlookupProcessingInformation.java index ab9b723e5..0d8de49e7 100644 --- a/src/main/java/Model/Binv1binlookupProcessingInformation.java +++ b/src/main/java/Model/Binv1binlookupProcessingInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Binv1binlookupProcessingInformation {\n"); - sb.append(" binSource: ").append(toIndentedString(binSource)).append("\n"); - sb.append(" payoutOptions: ").append(toIndentedString(payoutOptions)).append("\n"); + if (binSource != null) sb.append(" binSource: ").append(toIndentedString(binSource)).append("\n"); + if (payoutOptions != null) sb.append(" payoutOptions: ").append(toIndentedString(payoutOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Binv1binlookupProcessingInformationPayoutOptions.java b/src/main/java/Model/Binv1binlookupProcessingInformationPayoutOptions.java index a4dbfd5d4..cab50b3c9 100644 --- a/src/main/java/Model/Binv1binlookupProcessingInformationPayoutOptions.java +++ b/src/main/java/Model/Binv1binlookupProcessingInformationPayoutOptions.java @@ -49,7 +49,7 @@ public Binv1binlookupProcessingInformationPayoutOptions payoutInquiry(Boolean pa * @return payoutInquiry **/ @ApiModelProperty(value = "If `true` then provide attributes related to fund transfer/payouts. If payout information not found then response will have standard account lookup. Possible values: - true - false ") - public Boolean isPayoutInquiry() { + public Boolean PayoutInquiry() { return payoutInquiry; } @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Binv1binlookupProcessingInformationPayoutOptions {\n"); - sb.append(" payoutInquiry: ").append(toIndentedString(payoutInquiry)).append("\n"); - sb.append(" networkId: ").append(toIndentedString(networkId)).append("\n"); - sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); + if (payoutInquiry != null) sb.append(" payoutInquiry: ").append(toIndentedString(payoutInquiry)).append("\n"); + if (networkId != null) sb.append(" networkId: ").append(toIndentedString(networkId)).append("\n"); + if (acquirerBin != null) sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Binv1binlookupTokenInformation.java b/src/main/java/Model/Binv1binlookupTokenInformation.java index 19172906c..dff219edb 100644 --- a/src/main/java/Model/Binv1binlookupTokenInformation.java +++ b/src/main/java/Model/Binv1binlookupTokenInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Binv1binlookupTokenInformation {\n"); - sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); - sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); + if (jti != null) sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); + if (transientTokenJwt != null) sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsDocumentInformation.java b/src/main/java/Model/Boardingv1registrationsDocumentInformation.java index 054e19012..ba1a7a128 100644 --- a/src/main/java/Model/Boardingv1registrationsDocumentInformation.java +++ b/src/main/java/Model/Boardingv1registrationsDocumentInformation.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsDocumentInformation {\n"); - sb.append(" signedDocuments: ").append(toIndentedString(signedDocuments)).append("\n"); + if (signedDocuments != null) sb.append(" signedDocuments: ").append(toIndentedString(signedDocuments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsDocumentInformationSignedDocuments.java b/src/main/java/Model/Boardingv1registrationsDocumentInformationSignedDocuments.java index 0724b8dd3..4010d771e 100644 --- a/src/main/java/Model/Boardingv1registrationsDocumentInformationSignedDocuments.java +++ b/src/main/java/Model/Boardingv1registrationsDocumentInformationSignedDocuments.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsDocumentInformationSignedDocuments {\n"); - sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); + if (documentId != null) sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsIntegrationInformation.java b/src/main/java/Model/Boardingv1registrationsIntegrationInformation.java index 1342a5350..99b024e59 100644 --- a/src/main/java/Model/Boardingv1registrationsIntegrationInformation.java +++ b/src/main/java/Model/Boardingv1registrationsIntegrationInformation.java @@ -116,8 +116,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsIntegrationInformation {\n"); - sb.append(" oauth2: ").append(toIndentedString(oauth2)).append("\n"); - sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); + if (oauth2 != null) sb.append(" oauth2: ").append(toIndentedString(oauth2)).append("\n"); + if (tenantConfigurations != null) sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -128,10 +128,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsIntegrationInformationOauth2.java b/src/main/java/Model/Boardingv1registrationsIntegrationInformationOauth2.java index dfdd9ea23..a08ad265c 100644 --- a/src/main/java/Model/Boardingv1registrationsIntegrationInformationOauth2.java +++ b/src/main/java/Model/Boardingv1registrationsIntegrationInformationOauth2.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsIntegrationInformationOauth2 {\n"); - sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (clientId != null) sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.java b/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.java index 258e63189..30187c541 100644 --- a/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.java +++ b/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsIntegrationInformationTenantConfigurations {\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" tenantInformation: ").append(toIndentedString(tenantInformation)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (tenantInformation != null) sb.append(" tenantInformation: ").append(toIndentedString(tenantInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantInformation.java b/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantInformation.java index 50ef54f33..146579fec 100644 --- a/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantInformation.java +++ b/src/main/java/Model/Boardingv1registrationsIntegrationInformationTenantInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsIntegrationInformationTenantInformation {\n"); - sb.append(" tenantId: ").append(toIndentedString(tenantId)).append("\n"); + if (tenantId != null) sb.append(" tenantId: ").append(toIndentedString(tenantId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformation.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformation.java index 9e72444ae..350e17294 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformation.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformation.java @@ -152,7 +152,7 @@ public Boardingv1registrationsOrganizationInformation configurable(Boolean confi * @return configurable **/ @ApiModelProperty(example = "false", value = "This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration.") - public Boolean isConfigurable() { + public Boolean Configurable() { return configurable; } @@ -254,15 +254,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformation {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" parentOrganizationId: ").append(toIndentedString(parentOrganizationId)).append("\n"); - sb.append(" childOrganizations: ").append(toIndentedString(childOrganizations)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" configurable: ").append(toIndentedString(configurable)).append("\n"); - sb.append(" businessInformation: ").append(toIndentedString(businessInformation)).append("\n"); - sb.append(" KYC: ").append(toIndentedString(KYC)).append("\n"); - sb.append(" owners: ").append(toIndentedString(owners)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (parentOrganizationId != null) sb.append(" parentOrganizationId: ").append(toIndentedString(parentOrganizationId)).append("\n"); + if (childOrganizations != null) sb.append(" childOrganizations: ").append(toIndentedString(childOrganizations)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (configurable != null) sb.append(" configurable: ").append(toIndentedString(configurable)).append("\n"); + if (businessInformation != null) sb.append(" businessInformation: ").append(toIndentedString(businessInformation)).append("\n"); + if (KYC != null) sb.append(" KYC: ").append(toIndentedString(KYC)).append("\n"); + if (owners != null) sb.append(" owners: ").append(toIndentedString(owners)).append("\n"); sb.append("}"); return sb.toString(); } @@ -273,10 +273,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.java index 8da3e4b99..afbeb5973 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.java @@ -363,20 +363,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformationBusinessInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" doingBusinessAs: ").append(toIndentedString(doingBusinessAs)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); - sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n"); - sb.append(" websiteUrl: ").append(toIndentedString(websiteUrl)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" businessContact: ").append(toIndentedString(businessContact)).append("\n"); - sb.append(" technicalContact: ").append(toIndentedString(technicalContact)).append("\n"); - sb.append(" emergencyContact: ").append(toIndentedString(emergencyContact)).append("\n"); - sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (doingBusinessAs != null) sb.append(" doingBusinessAs: ").append(toIndentedString(doingBusinessAs)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (startDate != null) sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (timeZone != null) sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n"); + if (websiteUrl != null) sb.append(" websiteUrl: ").append(toIndentedString(websiteUrl)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (businessContact != null) sb.append(" businessContact: ").append(toIndentedString(businessContact)).append("\n"); + if (technicalContact != null) sb.append(" technicalContact: ").append(toIndentedString(technicalContact)).append("\n"); + if (emergencyContact != null) sb.append(" emergencyContact: ").append(toIndentedString(emergencyContact)).append("\n"); + if (merchantCategoryCode != null) sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -387,10 +387,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.java index 8eb9f75f0..3ef27f882 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformationBusinessInformationAddress {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.java index 55e50e910..e840b2c43 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYC.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYC.java index e8c311469..ff0942cd0 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYC.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYC.java @@ -113,7 +113,7 @@ public Boardingv1registrationsOrganizationInformationKYC offerSubscriptions(Bool * @return offerSubscriptions **/ @ApiModelProperty(example = "true", required = true, value = "") - public Boolean isOfferSubscriptions() { + public Boolean OfferSubscriptions() { return offerSubscriptions; } @@ -318,18 +318,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformationKYC {\n"); - sb.append(" whenIsCustomerCharged: ").append(toIndentedString(whenIsCustomerCharged)).append("\n"); - sb.append(" whenIsCustomerChargedDescription: ").append(toIndentedString(whenIsCustomerChargedDescription)).append("\n"); - sb.append(" offerSubscriptions: ").append(toIndentedString(offerSubscriptions)).append("\n"); - sb.append(" monthlySubscriptionPercent: ").append(toIndentedString(monthlySubscriptionPercent)).append("\n"); - sb.append(" quarterlySubscriptionPercent: ").append(toIndentedString(quarterlySubscriptionPercent)).append("\n"); - sb.append(" semiAnnualSubscriptionPercent: ").append(toIndentedString(semiAnnualSubscriptionPercent)).append("\n"); - sb.append(" annualSubscriptionPercent: ").append(toIndentedString(annualSubscriptionPercent)).append("\n"); - sb.append(" timeToProductDelivery: ").append(toIndentedString(timeToProductDelivery)).append("\n"); - sb.append(" estimatedMonthlySales: ").append(toIndentedString(estimatedMonthlySales)).append("\n"); - sb.append(" averageOrderAmount: ").append(toIndentedString(averageOrderAmount)).append("\n"); - sb.append(" largestExpectedOrderAmount: ").append(toIndentedString(largestExpectedOrderAmount)).append("\n"); - sb.append(" depositBankAccount: ").append(toIndentedString(depositBankAccount)).append("\n"); + if (whenIsCustomerCharged != null) sb.append(" whenIsCustomerCharged: ").append(toIndentedString(whenIsCustomerCharged)).append("\n"); + if (whenIsCustomerChargedDescription != null) sb.append(" whenIsCustomerChargedDescription: ").append(toIndentedString(whenIsCustomerChargedDescription)).append("\n"); + if (offerSubscriptions != null) sb.append(" offerSubscriptions: ").append(toIndentedString(offerSubscriptions)).append("\n"); + if (monthlySubscriptionPercent != null) sb.append(" monthlySubscriptionPercent: ").append(toIndentedString(monthlySubscriptionPercent)).append("\n"); + if (quarterlySubscriptionPercent != null) sb.append(" quarterlySubscriptionPercent: ").append(toIndentedString(quarterlySubscriptionPercent)).append("\n"); + if (semiAnnualSubscriptionPercent != null) sb.append(" semiAnnualSubscriptionPercent: ").append(toIndentedString(semiAnnualSubscriptionPercent)).append("\n"); + if (annualSubscriptionPercent != null) sb.append(" annualSubscriptionPercent: ").append(toIndentedString(annualSubscriptionPercent)).append("\n"); + if (timeToProductDelivery != null) sb.append(" timeToProductDelivery: ").append(toIndentedString(timeToProductDelivery)).append("\n"); + if (estimatedMonthlySales != null) sb.append(" estimatedMonthlySales: ").append(toIndentedString(estimatedMonthlySales)).append("\n"); + if (averageOrderAmount != null) sb.append(" averageOrderAmount: ").append(toIndentedString(averageOrderAmount)).append("\n"); + if (largestExpectedOrderAmount != null) sb.append(" largestExpectedOrderAmount: ").append(toIndentedString(largestExpectedOrderAmount)).append("\n"); + if (depositBankAccount != null) sb.append(" depositBankAccount: ").append(toIndentedString(depositBankAccount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -340,10 +340,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.java index 65d4907b0..467f6769b 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformationKYCDepositBankAccount {\n"); - sb.append(" accountHolderName: ").append(toIndentedString(accountHolderName)).append("\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" accountRoutingNumber: ").append(toIndentedString(accountRoutingNumber)).append("\n"); - sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + if (accountHolderName != null) sb.append(" accountHolderName: ").append(toIndentedString(accountHolderName)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (accountRoutingNumber != null) sb.append(" accountRoutingNumber: ").append(toIndentedString(accountRoutingNumber)).append("\n"); + if (accountNumber != null) sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsOrganizationInformationOwners.java b/src/main/java/Model/Boardingv1registrationsOrganizationInformationOwners.java index fb6b9b5d2..8745e7a66 100644 --- a/src/main/java/Model/Boardingv1registrationsOrganizationInformationOwners.java +++ b/src/main/java/Model/Boardingv1registrationsOrganizationInformationOwners.java @@ -156,7 +156,7 @@ public Boardingv1registrationsOrganizationInformationOwners isPrimary(Boolean is * @return isPrimary **/ @ApiModelProperty(example = "true", required = true, value = "Determines whether the owner is the Primary owner of the organization") - public Boolean isIsPrimary() { + public Boolean IsPrimary() { return isPrimary; } @@ -246,7 +246,7 @@ public Boardingv1registrationsOrganizationInformationOwners hasSignificantRespon * @return hasSignificantResponsability **/ @ApiModelProperty(example = "true", required = true, value = "Determines whether owner has significant responsibility to control, manage or direct the company") - public Boolean isHasSignificantResponsability() { + public Boolean HasSignificantResponsability() { return hasSignificantResponsability; } @@ -363,20 +363,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsOrganizationInformationOwners {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" birthDate: ").append(toIndentedString(birthDate)).append("\n"); - sb.append(" isPrimary: ").append(toIndentedString(isPrimary)).append("\n"); - sb.append(" ssn: ").append(toIndentedString(ssn)).append("\n"); - sb.append(" passportNumber: ").append(toIndentedString(passportNumber)).append("\n"); - sb.append(" passportCountry: ").append(toIndentedString(passportCountry)).append("\n"); - sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); - sb.append(" hasSignificantResponsability: ").append(toIndentedString(hasSignificantResponsability)).append("\n"); - sb.append(" ownershipPercentage: ").append(toIndentedString(ownershipPercentage)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (birthDate != null) sb.append(" birthDate: ").append(toIndentedString(birthDate)).append("\n"); + if (isPrimary != null) sb.append(" isPrimary: ").append(toIndentedString(isPrimary)).append("\n"); + if (ssn != null) sb.append(" ssn: ").append(toIndentedString(ssn)).append("\n"); + if (passportNumber != null) sb.append(" passportNumber: ").append(toIndentedString(passportNumber)).append("\n"); + if (passportCountry != null) sb.append(" passportCountry: ").append(toIndentedString(passportCountry)).append("\n"); + if (jobTitle != null) sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); + if (hasSignificantResponsability != null) sb.append(" hasSignificantResponsability: ").append(toIndentedString(hasSignificantResponsability)).append("\n"); + if (ownershipPercentage != null) sb.append(" ownershipPercentage: ").append(toIndentedString(ownershipPercentage)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); sb.append("}"); return sb.toString(); } @@ -387,10 +387,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsProductInformation.java b/src/main/java/Model/Boardingv1registrationsProductInformation.java index d09b76963..084fc7c31 100644 --- a/src/main/java/Model/Boardingv1registrationsProductInformation.java +++ b/src/main/java/Model/Boardingv1registrationsProductInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsProductInformation {\n"); - sb.append(" selectedProducts: ").append(toIndentedString(selectedProducts)).append("\n"); + if (selectedProducts != null) sb.append(" selectedProducts: ").append(toIndentedString(selectedProducts)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsProductInformationSelectedProducts.java b/src/main/java/Model/Boardingv1registrationsProductInformationSelectedProducts.java index 293a7ec83..3cf38f351 100644 --- a/src/main/java/Model/Boardingv1registrationsProductInformationSelectedProducts.java +++ b/src/main/java/Model/Boardingv1registrationsProductInformationSelectedProducts.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsProductInformationSelectedProducts {\n"); - sb.append(" payments: ").append(toIndentedString(payments)).append("\n"); - sb.append(" risk: ").append(toIndentedString(risk)).append("\n"); - sb.append(" commerceSolutions: ").append(toIndentedString(commerceSolutions)).append("\n"); - sb.append(" valueAddedServices: ").append(toIndentedString(valueAddedServices)).append("\n"); + if (payments != null) sb.append(" payments: ").append(toIndentedString(payments)).append("\n"); + if (risk != null) sb.append(" risk: ").append(toIndentedString(risk)).append("\n"); + if (commerceSolutions != null) sb.append(" commerceSolutions: ").append(toIndentedString(commerceSolutions)).append("\n"); + if (valueAddedServices != null) sb.append(" valueAddedServices: ").append(toIndentedString(valueAddedServices)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Boardingv1registrationsRegistrationInformation.java b/src/main/java/Model/Boardingv1registrationsRegistrationInformation.java index 3dd392e90..f0f2f171b 100644 --- a/src/main/java/Model/Boardingv1registrationsRegistrationInformation.java +++ b/src/main/java/Model/Boardingv1registrationsRegistrationInformation.java @@ -180,13 +180,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Boardingv1registrationsRegistrationInformation {\n"); - sb.append(" boardingRegistrationId: ").append(toIndentedString(boardingRegistrationId)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" boardingPackageId: ").append(toIndentedString(boardingPackageId)).append("\n"); - sb.append(" boardingFlow: ").append(toIndentedString(boardingFlow)).append("\n"); - sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); - sb.append(" salesRepId: ").append(toIndentedString(salesRepId)).append("\n"); + if (boardingRegistrationId != null) sb.append(" boardingRegistrationId: ").append(toIndentedString(boardingRegistrationId)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (boardingPackageId != null) sb.append(" boardingPackageId: ").append(toIndentedString(boardingPackageId)).append("\n"); + if (boardingFlow != null) sb.append(" boardingFlow: ").append(toIndentedString(boardingFlow)).append("\n"); + if (mode != null) sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); + if (salesRepId != null) sb.append(" salesRepId: ").append(toIndentedString(salesRepId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -197,10 +197,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Body.java b/src/main/java/Model/Body.java index b3f5f94ec..0eef68fe3 100644 --- a/src/main/java/Model/Body.java +++ b/src/main/java/Model/Body.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Body {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).append("\n"); - sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); - sb.append(" notificationEmail: ").append(toIndentedString(notificationEmail)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (included != null) sb.append(" included: ").append(toIndentedString(included)).append("\n"); + if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (notificationEmail != null) sb.append(" notificationEmail: ").append(toIndentedString(notificationEmail)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CancelSubscriptionResponse.java b/src/main/java/Model/CancelSubscriptionResponse.java index 0f58fb268..6765ebc71 100644 --- a/src/main/java/Model/CancelSubscriptionResponse.java +++ b/src/main/java/Model/CancelSubscriptionResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CancelSubscriptionResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CancelSubscriptionResponseSubscriptionInformation.java b/src/main/java/Model/CancelSubscriptionResponseSubscriptionInformation.java index e806c35ca..0087c9c13 100644 --- a/src/main/java/Model/CancelSubscriptionResponseSubscriptionInformation.java +++ b/src/main/java/Model/CancelSubscriptionResponseSubscriptionInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CancelSubscriptionResponseSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CapturePaymentRequest.java b/src/main/java/Model/CapturePaymentRequest.java index eadb4ce2c..d7d48f163 100644 --- a/src/main/java/Model/CapturePaymentRequest.java +++ b/src/main/java/Model/CapturePaymentRequest.java @@ -384,20 +384,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CapturePaymentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" merchantDefinedSecureInformation: ").append(toIndentedString(merchantDefinedSecureInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (merchantDefinedSecureInformation != null) sb.append(" merchantDefinedSecureInformation: ").append(toIndentedString(merchantDefinedSecureInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -408,10 +408,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfig.java b/src/main/java/Model/CardProcessingConfig.java index c922eef87..3bf72a7f8 100644 --- a/src/main/java/Model/CardProcessingConfig.java +++ b/src/main/java/Model/CardProcessingConfig.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfig {\n"); - sb.append(" common: ").append(toIndentedString(common)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (common != null) sb.append(" common: ").append(toIndentedString(common)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommon.java b/src/main/java/Model/CardProcessingConfigCommon.java index e5f2dc878..8deb7e94c 100644 --- a/src/main/java/Model/CardProcessingConfigCommon.java +++ b/src/main/java/Model/CardProcessingConfigCommon.java @@ -193,7 +193,7 @@ public CardProcessingConfigCommon enablePartialAuth(Boolean enablePartialAuth) { * @return enablePartialAuth **/ @ApiModelProperty(value = "Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcnp, cp, hybridNoNo
") - public Boolean isEnablePartialAuth() { + public Boolean EnablePartialAuth() { return enablePartialAuth; } @@ -265,7 +265,7 @@ public CardProcessingConfigCommon enableSplitShipment(Boolean enableSplitShipmen * @return enableSplitShipment **/ @ApiModelProperty(value = "Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors. ") - public Boolean isEnableSplitShipment() { + public Boolean EnableSplitShipment() { return enableSplitShipment; } @@ -283,7 +283,7 @@ public CardProcessingConfigCommon enableInterchangeOptimization(Boolean enableIn * @return enableInterchangeOptimization **/ @ApiModelProperty(value = "Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors.") - public Boolean isEnableInterchangeOptimization() { + public Boolean EnableInterchangeOptimization() { return enableInterchangeOptimization; } @@ -355,7 +355,7 @@ public CardProcessingConfigCommon allowCapturesGreaterThanAuthorizations(Boolean * @return allowCapturesGreaterThanAuthorizations **/ @ApiModelProperty(value = "Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.") - public Boolean isAllowCapturesGreaterThanAuthorizations() { + public Boolean AllowCapturesGreaterThanAuthorizations() { return allowCapturesGreaterThanAuthorizations; } @@ -373,7 +373,7 @@ public CardProcessingConfigCommon enableDuplicateMerchantReferenceNumberBlocking * @return enableDuplicateMerchantReferenceNumberBlocking **/ @ApiModelProperty(value = "Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors.") - public Boolean isEnableDuplicateMerchantReferenceNumberBlocking() { + public Boolean EnableDuplicateMerchantReferenceNumberBlocking() { return enableDuplicateMerchantReferenceNumberBlocking; } @@ -391,7 +391,7 @@ public CardProcessingConfigCommon domesticMerchantId(Boolean domesticMerchantId) * @return domesticMerchantId **/ @ApiModelProperty(value = "This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors.") - public Boolean isDomesticMerchantId() { + public Boolean DomesticMerchantId() { return domesticMerchantId; } @@ -463,7 +463,7 @@ public CardProcessingConfigCommon preferCobadgedSecondaryBrand(Boolean preferCob * @return preferCobadgedSecondaryBrand **/ @ApiModelProperty(value = "It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors.") - public Boolean isPreferCobadgedSecondaryBrand() { + public Boolean PreferCobadgedSecondaryBrand() { return preferCobadgedSecondaryBrand; } @@ -499,7 +499,7 @@ public CardProcessingConfigCommon governmentControlled(Boolean governmentControl * @return governmentControlled **/ @ApiModelProperty(value = "Indicates whether the merchant is government controlled. Applicable for VPC processors.") - public Boolean isGovernmentControlled() { + public Boolean GovernmentControlled() { return governmentControlled; } @@ -517,7 +517,7 @@ public CardProcessingConfigCommon dropBillingInfo(Boolean dropBillingInfo) { * @return dropBillingInfo **/ @ApiModelProperty(value = "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request.") - public Boolean isDropBillingInfo() { + public Boolean DropBillingInfo() { return dropBillingInfo; } @@ -571,29 +571,29 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommon {\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); - sb.append(" amexVendorCode: ").append(toIndentedString(amexVendorCode)).append("\n"); - sb.append(" defaultAuthTypeCode: ").append(toIndentedString(defaultAuthTypeCode)).append("\n"); - sb.append(" masterCardAssignedId: ").append(toIndentedString(masterCardAssignedId)).append("\n"); - sb.append(" enablePartialAuth: ").append(toIndentedString(enablePartialAuth)).append("\n"); - sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n"); - sb.append(" sicCode: ").append(toIndentedString(sicCode)).append("\n"); - sb.append(" foodAndConsumerServiceId: ").append(toIndentedString(foodAndConsumerServiceId)).append("\n"); - sb.append(" enableSplitShipment: ").append(toIndentedString(enableSplitShipment)).append("\n"); - sb.append(" enableInterchangeOptimization: ").append(toIndentedString(enableInterchangeOptimization)).append("\n"); - sb.append(" visaDelegatedAuthenticationId: ").append(toIndentedString(visaDelegatedAuthenticationId)).append("\n"); - sb.append(" creditCardRefundLimitPercent: ").append(toIndentedString(creditCardRefundLimitPercent)).append("\n"); - sb.append(" businessCenterCreditCardRefundLimitPercent: ").append(toIndentedString(businessCenterCreditCardRefundLimitPercent)).append("\n"); - sb.append(" allowCapturesGreaterThanAuthorizations: ").append(toIndentedString(allowCapturesGreaterThanAuthorizations)).append("\n"); - sb.append(" enableDuplicateMerchantReferenceNumberBlocking: ").append(toIndentedString(enableDuplicateMerchantReferenceNumberBlocking)).append("\n"); - sb.append(" domesticMerchantId: ").append(toIndentedString(domesticMerchantId)).append("\n"); - sb.append(" processLevel3Data: ").append(toIndentedString(processLevel3Data)).append("\n"); - sb.append(" subMerchantId: ").append(toIndentedString(subMerchantId)).append("\n"); - sb.append(" subMerchantBusinessName: ").append(toIndentedString(subMerchantBusinessName)).append("\n"); - sb.append(" preferCobadgedSecondaryBrand: ").append(toIndentedString(preferCobadgedSecondaryBrand)).append("\n"); - sb.append(" merchantDescriptorInformation: ").append(toIndentedString(merchantDescriptorInformation)).append("\n"); - sb.append(" governmentControlled: ").append(toIndentedString(governmentControlled)).append("\n"); - sb.append(" dropBillingInfo: ").append(toIndentedString(dropBillingInfo)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (amexVendorCode != null) sb.append(" amexVendorCode: ").append(toIndentedString(amexVendorCode)).append("\n"); + if (defaultAuthTypeCode != null) sb.append(" defaultAuthTypeCode: ").append(toIndentedString(defaultAuthTypeCode)).append("\n"); + if (masterCardAssignedId != null) sb.append(" masterCardAssignedId: ").append(toIndentedString(masterCardAssignedId)).append("\n"); + if (enablePartialAuth != null) sb.append(" enablePartialAuth: ").append(toIndentedString(enablePartialAuth)).append("\n"); + if (merchantCategoryCode != null) sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n"); + if (sicCode != null) sb.append(" sicCode: ").append(toIndentedString(sicCode)).append("\n"); + if (foodAndConsumerServiceId != null) sb.append(" foodAndConsumerServiceId: ").append(toIndentedString(foodAndConsumerServiceId)).append("\n"); + if (enableSplitShipment != null) sb.append(" enableSplitShipment: ").append(toIndentedString(enableSplitShipment)).append("\n"); + if (enableInterchangeOptimization != null) sb.append(" enableInterchangeOptimization: ").append(toIndentedString(enableInterchangeOptimization)).append("\n"); + if (visaDelegatedAuthenticationId != null) sb.append(" visaDelegatedAuthenticationId: ").append(toIndentedString(visaDelegatedAuthenticationId)).append("\n"); + if (creditCardRefundLimitPercent != null) sb.append(" creditCardRefundLimitPercent: ").append(toIndentedString(creditCardRefundLimitPercent)).append("\n"); + if (businessCenterCreditCardRefundLimitPercent != null) sb.append(" businessCenterCreditCardRefundLimitPercent: ").append(toIndentedString(businessCenterCreditCardRefundLimitPercent)).append("\n"); + if (allowCapturesGreaterThanAuthorizations != null) sb.append(" allowCapturesGreaterThanAuthorizations: ").append(toIndentedString(allowCapturesGreaterThanAuthorizations)).append("\n"); + if (enableDuplicateMerchantReferenceNumberBlocking != null) sb.append(" enableDuplicateMerchantReferenceNumberBlocking: ").append(toIndentedString(enableDuplicateMerchantReferenceNumberBlocking)).append("\n"); + if (domesticMerchantId != null) sb.append(" domesticMerchantId: ").append(toIndentedString(domesticMerchantId)).append("\n"); + if (processLevel3Data != null) sb.append(" processLevel3Data: ").append(toIndentedString(processLevel3Data)).append("\n"); + if (subMerchantId != null) sb.append(" subMerchantId: ").append(toIndentedString(subMerchantId)).append("\n"); + if (subMerchantBusinessName != null) sb.append(" subMerchantBusinessName: ").append(toIndentedString(subMerchantBusinessName)).append("\n"); + if (preferCobadgedSecondaryBrand != null) sb.append(" preferCobadgedSecondaryBrand: ").append(toIndentedString(preferCobadgedSecondaryBrand)).append("\n"); + if (merchantDescriptorInformation != null) sb.append(" merchantDescriptorInformation: ").append(toIndentedString(merchantDescriptorInformation)).append("\n"); + if (governmentControlled != null) sb.append(" governmentControlled: ").append(toIndentedString(governmentControlled)).append("\n"); + if (dropBillingInfo != null) sb.append(" dropBillingInfo: ").append(toIndentedString(dropBillingInfo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -604,10 +604,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommonAcquirer.java b/src/main/java/Model/CardProcessingConfigCommonAcquirer.java index 1c7d6561b..a8e5746ce 100644 --- a/src/main/java/Model/CardProcessingConfigCommonAcquirer.java +++ b/src/main/java/Model/CardProcessingConfigCommonAcquirer.java @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommonAcquirer {\n"); - sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n"); - sb.append(" interbankCardAssociationId: ").append(toIndentedString(interbankCardAssociationId)).append("\n"); - sb.append(" discoverInstitutionId: ").append(toIndentedString(discoverInstitutionId)).append("\n"); - sb.append(" unionPayInstitutionId: ").append(toIndentedString(unionPayInstitutionId)).append("\n"); - sb.append(" dinersClubInstitutionId: ").append(toIndentedString(dinersClubInstitutionId)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" fileDestinationBin: ").append(toIndentedString(fileDestinationBin)).append("\n"); + if (institutionId != null) sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n"); + if (interbankCardAssociationId != null) sb.append(" interbankCardAssociationId: ").append(toIndentedString(interbankCardAssociationId)).append("\n"); + if (discoverInstitutionId != null) sb.append(" discoverInstitutionId: ").append(toIndentedString(discoverInstitutionId)).append("\n"); + if (unionPayInstitutionId != null) sb.append(" unionPayInstitutionId: ").append(toIndentedString(unionPayInstitutionId)).append("\n"); + if (dinersClubInstitutionId != null) sb.append(" dinersClubInstitutionId: ").append(toIndentedString(dinersClubInstitutionId)).append("\n"); + if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (fileDestinationBin != null) sb.append(" fileDestinationBin: ").append(toIndentedString(fileDestinationBin)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommonCurrencies.java b/src/main/java/Model/CardProcessingConfigCommonCurrencies.java index 55b8a7a9d..532f1c566 100644 --- a/src/main/java/Model/CardProcessingConfigCommonCurrencies.java +++ b/src/main/java/Model/CardProcessingConfigCommonCurrencies.java @@ -62,7 +62,7 @@ public CardProcessingConfigCommonCurrencies enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -80,7 +80,7 @@ public CardProcessingConfigCommonCurrencies enabledCardPresent(Boolean enabledCa * @return enabledCardPresent **/ @ApiModelProperty(value = "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled.") - public Boolean isEnabledCardPresent() { + public Boolean EnabledCardPresent() { return enabledCardPresent; } @@ -98,7 +98,7 @@ public CardProcessingConfigCommonCurrencies enabledCardNotPresent(Boolean enable * @return enabledCardNotPresent **/ @ApiModelProperty(value = "Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled.") - public Boolean isEnabledCardNotPresent() { + public Boolean EnabledCardNotPresent() { return enabledCardNotPresent; } @@ -216,13 +216,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommonCurrencies {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enabledCardPresent: ").append(toIndentedString(enabledCardPresent)).append("\n"); - sb.append(" enabledCardNotPresent: ").append(toIndentedString(enabledCardNotPresent)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" terminalIds: ").append(toIndentedString(terminalIds)).append("\n"); - sb.append(" serviceEnablementNumber: ").append(toIndentedString(serviceEnablementNumber)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabledCardPresent != null) sb.append(" enabledCardPresent: ").append(toIndentedString(enabledCardPresent)).append("\n"); + if (enabledCardNotPresent != null) sb.append(" enabledCardNotPresent: ").append(toIndentedString(enabledCardNotPresent)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (terminalIds != null) sb.append(" terminalIds: ").append(toIndentedString(terminalIds)).append("\n"); + if (serviceEnablementNumber != null) sb.append(" serviceEnablementNumber: ").append(toIndentedString(serviceEnablementNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -233,10 +233,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommonCurrencies1.java b/src/main/java/Model/CardProcessingConfigCommonCurrencies1.java index 3bfbca71d..eaf25f6bb 100644 --- a/src/main/java/Model/CardProcessingConfigCommonCurrencies1.java +++ b/src/main/java/Model/CardProcessingConfigCommonCurrencies1.java @@ -62,7 +62,7 @@ public CardProcessingConfigCommonCurrencies1 enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -80,7 +80,7 @@ public CardProcessingConfigCommonCurrencies1 enabledCardPresent(Boolean enabledC * @return enabledCardPresent **/ @ApiModelProperty(value = "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. ") - public Boolean isEnabledCardPresent() { + public Boolean EnabledCardPresent() { return enabledCardPresent; } @@ -98,7 +98,7 @@ public CardProcessingConfigCommonCurrencies1 enabledCardNotPresent(Boolean enabl * @return enabledCardNotPresent **/ @ApiModelProperty(value = "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. ") - public Boolean isEnabledCardNotPresent() { + public Boolean EnabledCardNotPresent() { return enabledCardNotPresent; } @@ -216,13 +216,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommonCurrencies1 {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enabledCardPresent: ").append(toIndentedString(enabledCardPresent)).append("\n"); - sb.append(" enabledCardNotPresent: ").append(toIndentedString(enabledCardNotPresent)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" terminalIds: ").append(toIndentedString(terminalIds)).append("\n"); - sb.append(" serviceEnablementNumber: ").append(toIndentedString(serviceEnablementNumber)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabledCardPresent != null) sb.append(" enabledCardPresent: ").append(toIndentedString(enabledCardPresent)).append("\n"); + if (enabledCardNotPresent != null) sb.append(" enabledCardNotPresent: ").append(toIndentedString(enabledCardNotPresent)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (terminalIds != null) sb.append(" terminalIds: ").append(toIndentedString(terminalIds)).append("\n"); + if (serviceEnablementNumber != null) sb.append(" serviceEnablementNumber: ").append(toIndentedString(serviceEnablementNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -233,10 +233,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java b/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java index 4a7a8ca7c..d26baedbd 100644 --- a/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java +++ b/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommonMerchantDescriptorInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" city: ").append(toIndentedString(city)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" street: ").append(toIndentedString(street)).append("\n"); - sb.append(" zip: ").append(toIndentedString(zip)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" countryOfOrigin: ").append(toIndentedString(countryOfOrigin)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (city != null) sb.append(" city: ").append(toIndentedString(city)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (street != null) sb.append(" street: ").append(toIndentedString(street)).append("\n"); + if (zip != null) sb.append(" zip: ").append(toIndentedString(zip)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (countryOfOrigin != null) sb.append(" countryOfOrigin: ").append(toIndentedString(countryOfOrigin)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommonPaymentTypes.java b/src/main/java/Model/CardProcessingConfigCommonPaymentTypes.java index c55137f23..f3ca5e094 100644 --- a/src/main/java/Model/CardProcessingConfigCommonPaymentTypes.java +++ b/src/main/java/Model/CardProcessingConfigCommonPaymentTypes.java @@ -49,7 +49,7 @@ public CardProcessingConfigCommonPaymentTypes enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommonPaymentTypes {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigCommonProcessors.java b/src/main/java/Model/CardProcessingConfigCommonProcessors.java index 459529054..409556b5e 100644 --- a/src/main/java/Model/CardProcessingConfigCommonProcessors.java +++ b/src/main/java/Model/CardProcessingConfigCommonProcessors.java @@ -436,7 +436,7 @@ public CardProcessingConfigCommonProcessors allowMultipleBills(Boolean allowMult * @return allowMultipleBills **/ @ApiModelProperty(value = "Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, hybridYesNo
American Express DirectcnpNoNo
") - public Boolean isAllowMultipleBills() { + public Boolean AllowMultipleBills() { return allowMultipleBills; } @@ -454,7 +454,7 @@ public CardProcessingConfigCommonProcessors allowMerchantDescriptorOverride(Bool * @return allowMerchantDescriptorOverride **/ @ApiModelProperty(value = "Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors.") - public Boolean isAllowMerchantDescriptorOverride() { + public Boolean AllowMerchantDescriptorOverride() { return allowMerchantDescriptorOverride; } @@ -490,7 +490,7 @@ public CardProcessingConfigCommonProcessors fireSafetyIndicator(Boolean fireSafe * @return fireSafetyIndicator **/ @ApiModelProperty(value = "Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors.") - public Boolean isFireSafetyIndicator() { + public Boolean FireSafetyIndicator() { return fireSafetyIndicator; } @@ -508,7 +508,7 @@ public CardProcessingConfigCommonProcessors quasiCash(Boolean quasiCash) { * @return quasiCash **/ @ApiModelProperty(value = "To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoNo
") - public Boolean isQuasiCash() { + public Boolean QuasiCash() { return quasiCash; } @@ -562,7 +562,7 @@ public CardProcessingConfigCommonProcessors enableLongTransRefNo(Boolean enableL * @return enableLongTransRefNo **/ @ApiModelProperty(value = "Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
") - public Boolean isEnableLongTransRefNo() { + public Boolean EnableLongTransRefNo() { return enableLongTransRefNo; } @@ -580,7 +580,7 @@ public CardProcessingConfigCommonProcessors enableLevel2(Boolean enableLevel2) { * @return enableLevel2 **/ @ApiModelProperty(value = "Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
") - public Boolean isEnableLevel2() { + public Boolean EnableLevel2() { return enableLevel2; } @@ -598,7 +598,7 @@ public CardProcessingConfigCommonProcessors enableMultipleTransactionAdviceAdden * @return enableMultipleTransactionAdviceAddendum **/ @ApiModelProperty(value = "This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer's American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
") - public Boolean isEnableMultipleTransactionAdviceAddendum() { + public Boolean EnableMultipleTransactionAdviceAddendum() { return enableMultipleTransactionAdviceAddendum; } @@ -634,7 +634,7 @@ public CardProcessingConfigCommonProcessors enableMultiLineItems(Boolean enableM * @return enableMultiLineItems **/ @ApiModelProperty(value = "This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
") - public Boolean isEnableMultiLineItems() { + public Boolean EnableMultiLineItems() { return enableMultiLineItems; } @@ -652,7 +652,7 @@ public CardProcessingConfigCommonProcessors enableTransactionReferenceNumber(Boo * @return enableTransactionReferenceNumber **/ @ApiModelProperty(value = "To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors.") - public Boolean isEnableTransactionReferenceNumber() { + public Boolean EnableTransactionReferenceNumber() { return enableTransactionReferenceNumber; } @@ -670,7 +670,7 @@ public CardProcessingConfigCommonProcessors enableAutoAuthReversalAfterVoid(Bool * @return enableAutoAuthReversalAfterVoid **/ @ApiModelProperty(value = "Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
") - public Boolean isEnableAutoAuthReversalAfterVoid() { + public Boolean EnableAutoAuthReversalAfterVoid() { return enableAutoAuthReversalAfterVoid; } @@ -688,7 +688,7 @@ public CardProcessingConfigCommonProcessors enableExpresspayPanTranslation(Boole * @return enableExpresspayPanTranslation **/ @ApiModelProperty(value = "When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor.") - public Boolean isEnableExpresspayPanTranslation() { + public Boolean EnableExpresspayPanTranslation() { return enableExpresspayPanTranslation; } @@ -706,7 +706,7 @@ public CardProcessingConfigCommonProcessors enableCreditAuth(Boolean enableCredi * @return enableCreditAuth **/ @ApiModelProperty(value = "Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements.") - public Boolean isEnableCreditAuth() { + public Boolean EnableCreditAuth() { return enableCreditAuth; } @@ -742,7 +742,7 @@ public CardProcessingConfigCommonProcessors sendAmexLevel2Data(Boolean sendAmexL * @return sendAmexLevel2Data **/ @ApiModelProperty(value = "Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor.") - public Boolean isSendAmexLevel2Data() { + public Boolean SendAmexLevel2Data() { return sendAmexLevel2Data; } @@ -940,7 +940,7 @@ public CardProcessingConfigCommonProcessors enableLeastCostRouting(Boolean enabl * @return enableLeastCostRouting **/ @ApiModelProperty(value = "Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors.") - public Boolean isEnableLeastCostRouting() { + public Boolean EnableLeastCostRouting() { return enableLeastCostRouting; } @@ -958,7 +958,7 @@ public CardProcessingConfigCommonProcessors enableCVVResponseIndicator(Boolean e * @return enableCVVResponseIndicator **/ @ApiModelProperty(value = "This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors.") - public Boolean isEnableCVVResponseIndicator() { + public Boolean EnableCVVResponseIndicator() { return enableCVVResponseIndicator; } @@ -994,7 +994,7 @@ public CardProcessingConfigCommonProcessors enablePosNetworkSwitching(Boolean en * @return enablePosNetworkSwitching **/ @ApiModelProperty(value = "'POS Network Switching' or 'Alternate Routing' means merchant can process PIN Debit transactions without a PIN. Set the value to 'Yes' if it is supported. Applicable for FDI Global (fdiglobal) processor.") - public Boolean isEnablePosNetworkSwitching() { + public Boolean EnablePosNetworkSwitching() { return enablePosNetworkSwitching; } @@ -1012,7 +1012,7 @@ public CardProcessingConfigCommonProcessors enableDynamicCurrencyConversion(Bool * @return enableDynamicCurrencyConversion **/ @ApiModelProperty(value = "Enable dynamic currency conversion for a merchant.") - public Boolean isEnableDynamicCurrencyConversion() { + public Boolean EnableDynamicCurrencyConversion() { return enableDynamicCurrencyConversion; } @@ -1108,53 +1108,53 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigCommonProcessors {\n"); - sb.append(" batchGroup: ").append(toIndentedString(batchGroup)).append("\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" merchantVerificationValue: ").append(toIndentedString(merchantVerificationValue)).append("\n"); - sb.append(" abaNumber: ").append(toIndentedString(abaNumber)).append("\n"); - sb.append(" acquirer: ").append(toIndentedString(acquirer)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); - sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); - sb.append(" visaAggregatorId: ").append(toIndentedString(visaAggregatorId)).append("\n"); - sb.append(" amexAggregatorId: ").append(toIndentedString(amexAggregatorId)).append("\n"); - sb.append(" masterCardAggregatorId: ").append(toIndentedString(masterCardAggregatorId)).append("\n"); - sb.append(" sicCode: ").append(toIndentedString(sicCode)).append("\n"); - sb.append(" allowMultipleBills: ").append(toIndentedString(allowMultipleBills)).append("\n"); - sb.append(" allowMerchantDescriptorOverride: ").append(toIndentedString(allowMerchantDescriptorOverride)).append("\n"); - sb.append(" enhancedData: ").append(toIndentedString(enhancedData)).append("\n"); - sb.append(" fireSafetyIndicator: ").append(toIndentedString(fireSafetyIndicator)).append("\n"); - sb.append(" quasiCash: ").append(toIndentedString(quasiCash)).append("\n"); - sb.append(" acquirerMerchantId: ").append(toIndentedString(acquirerMerchantId)).append("\n"); - sb.append(" avsFormat: ").append(toIndentedString(avsFormat)).append("\n"); - sb.append(" enableLongTransRefNo: ").append(toIndentedString(enableLongTransRefNo)).append("\n"); - sb.append(" enableLevel2: ").append(toIndentedString(enableLevel2)).append("\n"); - sb.append(" enableMultipleTransactionAdviceAddendum: ").append(toIndentedString(enableMultipleTransactionAdviceAddendum)).append("\n"); - sb.append(" amexTransactionAdviceAddendum1: ").append(toIndentedString(amexTransactionAdviceAddendum1)).append("\n"); - sb.append(" enableMultiLineItems: ").append(toIndentedString(enableMultiLineItems)).append("\n"); - sb.append(" enableTransactionReferenceNumber: ").append(toIndentedString(enableTransactionReferenceNumber)).append("\n"); - sb.append(" enableAutoAuthReversalAfterVoid: ").append(toIndentedString(enableAutoAuthReversalAfterVoid)).append("\n"); - sb.append(" enableExpresspayPanTranslation: ").append(toIndentedString(enableExpresspayPanTranslation)).append("\n"); - sb.append(" enableCreditAuth: ").append(toIndentedString(enableCreditAuth)).append("\n"); - sb.append(" industryCode: ").append(toIndentedString(industryCode)).append("\n"); - sb.append(" sendAmexLevel2Data: ").append(toIndentedString(sendAmexLevel2Data)).append("\n"); - sb.append(" softDescriptorType: ").append(toIndentedString(softDescriptorType)).append("\n"); - sb.append(" vitalNumber: ").append(toIndentedString(vitalNumber)).append("\n"); - sb.append(" bankNumber: ").append(toIndentedString(bankNumber)).append("\n"); - sb.append(" chainNumber: ").append(toIndentedString(chainNumber)).append("\n"); - sb.append(" merchantBinNumber: ").append(toIndentedString(merchantBinNumber)).append("\n"); - sb.append(" merchantLocationNumber: ").append(toIndentedString(merchantLocationNumber)).append("\n"); - sb.append(" storeID: ").append(toIndentedString(storeID)).append("\n"); - sb.append(" travelAgencyCode: ").append(toIndentedString(travelAgencyCode)).append("\n"); - sb.append(" travelAgencyName: ").append(toIndentedString(travelAgencyName)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); - sb.append(" enableLeastCostRouting: ").append(toIndentedString(enableLeastCostRouting)).append("\n"); - sb.append(" enableCVVResponseIndicator: ").append(toIndentedString(enableCVVResponseIndicator)).append("\n"); - sb.append(" enableMultiCurrencyProcessing: ").append(toIndentedString(enableMultiCurrencyProcessing)).append("\n"); - sb.append(" enablePosNetworkSwitching: ").append(toIndentedString(enablePosNetworkSwitching)).append("\n"); - sb.append(" enableDynamicCurrencyConversion: ").append(toIndentedString(enableDynamicCurrencyConversion)).append("\n"); - sb.append(" merchantTier: ").append(toIndentedString(merchantTier)).append("\n"); + if (batchGroup != null) sb.append(" batchGroup: ").append(toIndentedString(batchGroup)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (merchantVerificationValue != null) sb.append(" merchantVerificationValue: ").append(toIndentedString(merchantVerificationValue)).append("\n"); + if (abaNumber != null) sb.append(" abaNumber: ").append(toIndentedString(abaNumber)).append("\n"); + if (acquirer != null) sb.append(" acquirer: ").append(toIndentedString(acquirer)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (paymentTypes != null) sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + if (visaAggregatorId != null) sb.append(" visaAggregatorId: ").append(toIndentedString(visaAggregatorId)).append("\n"); + if (amexAggregatorId != null) sb.append(" amexAggregatorId: ").append(toIndentedString(amexAggregatorId)).append("\n"); + if (masterCardAggregatorId != null) sb.append(" masterCardAggregatorId: ").append(toIndentedString(masterCardAggregatorId)).append("\n"); + if (sicCode != null) sb.append(" sicCode: ").append(toIndentedString(sicCode)).append("\n"); + if (allowMultipleBills != null) sb.append(" allowMultipleBills: ").append(toIndentedString(allowMultipleBills)).append("\n"); + if (allowMerchantDescriptorOverride != null) sb.append(" allowMerchantDescriptorOverride: ").append(toIndentedString(allowMerchantDescriptorOverride)).append("\n"); + if (enhancedData != null) sb.append(" enhancedData: ").append(toIndentedString(enhancedData)).append("\n"); + if (fireSafetyIndicator != null) sb.append(" fireSafetyIndicator: ").append(toIndentedString(fireSafetyIndicator)).append("\n"); + if (quasiCash != null) sb.append(" quasiCash: ").append(toIndentedString(quasiCash)).append("\n"); + if (acquirerMerchantId != null) sb.append(" acquirerMerchantId: ").append(toIndentedString(acquirerMerchantId)).append("\n"); + if (avsFormat != null) sb.append(" avsFormat: ").append(toIndentedString(avsFormat)).append("\n"); + if (enableLongTransRefNo != null) sb.append(" enableLongTransRefNo: ").append(toIndentedString(enableLongTransRefNo)).append("\n"); + if (enableLevel2 != null) sb.append(" enableLevel2: ").append(toIndentedString(enableLevel2)).append("\n"); + if (enableMultipleTransactionAdviceAddendum != null) sb.append(" enableMultipleTransactionAdviceAddendum: ").append(toIndentedString(enableMultipleTransactionAdviceAddendum)).append("\n"); + if (amexTransactionAdviceAddendum1 != null) sb.append(" amexTransactionAdviceAddendum1: ").append(toIndentedString(amexTransactionAdviceAddendum1)).append("\n"); + if (enableMultiLineItems != null) sb.append(" enableMultiLineItems: ").append(toIndentedString(enableMultiLineItems)).append("\n"); + if (enableTransactionReferenceNumber != null) sb.append(" enableTransactionReferenceNumber: ").append(toIndentedString(enableTransactionReferenceNumber)).append("\n"); + if (enableAutoAuthReversalAfterVoid != null) sb.append(" enableAutoAuthReversalAfterVoid: ").append(toIndentedString(enableAutoAuthReversalAfterVoid)).append("\n"); + if (enableExpresspayPanTranslation != null) sb.append(" enableExpresspayPanTranslation: ").append(toIndentedString(enableExpresspayPanTranslation)).append("\n"); + if (enableCreditAuth != null) sb.append(" enableCreditAuth: ").append(toIndentedString(enableCreditAuth)).append("\n"); + if (industryCode != null) sb.append(" industryCode: ").append(toIndentedString(industryCode)).append("\n"); + if (sendAmexLevel2Data != null) sb.append(" sendAmexLevel2Data: ").append(toIndentedString(sendAmexLevel2Data)).append("\n"); + if (softDescriptorType != null) sb.append(" softDescriptorType: ").append(toIndentedString(softDescriptorType)).append("\n"); + if (vitalNumber != null) sb.append(" vitalNumber: ").append(toIndentedString(vitalNumber)).append("\n"); + if (bankNumber != null) sb.append(" bankNumber: ").append(toIndentedString(bankNumber)).append("\n"); + if (chainNumber != null) sb.append(" chainNumber: ").append(toIndentedString(chainNumber)).append("\n"); + if (merchantBinNumber != null) sb.append(" merchantBinNumber: ").append(toIndentedString(merchantBinNumber)).append("\n"); + if (merchantLocationNumber != null) sb.append(" merchantLocationNumber: ").append(toIndentedString(merchantLocationNumber)).append("\n"); + if (storeID != null) sb.append(" storeID: ").append(toIndentedString(storeID)).append("\n"); + if (travelAgencyCode != null) sb.append(" travelAgencyCode: ").append(toIndentedString(travelAgencyCode)).append("\n"); + if (travelAgencyName != null) sb.append(" travelAgencyName: ").append(toIndentedString(travelAgencyName)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (enableLeastCostRouting != null) sb.append(" enableLeastCostRouting: ").append(toIndentedString(enableLeastCostRouting)).append("\n"); + if (enableCVVResponseIndicator != null) sb.append(" enableCVVResponseIndicator: ").append(toIndentedString(enableCVVResponseIndicator)).append("\n"); + if (enableMultiCurrencyProcessing != null) sb.append(" enableMultiCurrencyProcessing: ").append(toIndentedString(enableMultiCurrencyProcessing)).append("\n"); + if (enablePosNetworkSwitching != null) sb.append(" enablePosNetworkSwitching: ").append(toIndentedString(enablePosNetworkSwitching)).append("\n"); + if (enableDynamicCurrencyConversion != null) sb.append(" enableDynamicCurrencyConversion: ").append(toIndentedString(enableDynamicCurrencyConversion)).append("\n"); + if (merchantTier != null) sb.append(" merchantTier: ").append(toIndentedString(merchantTier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1165,10 +1165,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeatures.java b/src/main/java/Model/CardProcessingConfigFeatures.java index 7ffc2df11..a663c5b0d 100644 --- a/src/main/java/Model/CardProcessingConfigFeatures.java +++ b/src/main/java/Model/CardProcessingConfigFeatures.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeatures {\n"); - sb.append(" cardNotPresent: ").append(toIndentedString(cardNotPresent)).append("\n"); - sb.append(" cardPresent: ").append(toIndentedString(cardPresent)).append("\n"); + if (cardNotPresent != null) sb.append(" cardNotPresent: ").append(toIndentedString(cardNotPresent)).append("\n"); + if (cardPresent != null) sb.append(" cardPresent: ").append(toIndentedString(cardPresent)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresent.java b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresent.java index bcc0b394f..729058e25 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresent.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresent.java @@ -85,7 +85,7 @@ public CardProcessingConfigFeaturesCardNotPresent ignoreAddressVerificationSyste * @return ignoreAddressVerificationSystem **/ @ApiModelProperty(value = "Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors.") - public Boolean isIgnoreAddressVerificationSystem() { + public Boolean IgnoreAddressVerificationSystem() { return ignoreAddressVerificationSystem; } @@ -103,7 +103,7 @@ public CardProcessingConfigFeaturesCardNotPresent visaStraightThroughProcessingO * @return visaStraightThroughProcessingOnly **/ @ApiModelProperty(value = "Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors.") - public Boolean isVisaStraightThroughProcessingOnly() { + public Boolean VisaStraightThroughProcessingOnly() { return visaStraightThroughProcessingOnly; } @@ -175,11 +175,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardNotPresent {\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); - sb.append(" ignoreAddressVerificationSystem: ").append(toIndentedString(ignoreAddressVerificationSystem)).append("\n"); - sb.append(" visaStraightThroughProcessingOnly: ").append(toIndentedString(visaStraightThroughProcessingOnly)).append("\n"); - sb.append(" amexTransactionAdviceAddendum1: ").append(toIndentedString(amexTransactionAdviceAddendum1)).append("\n"); - sb.append(" installment: ").append(toIndentedString(installment)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (ignoreAddressVerificationSystem != null) sb.append(" ignoreAddressVerificationSystem: ").append(toIndentedString(ignoreAddressVerificationSystem)).append("\n"); + if (visaStraightThroughProcessingOnly != null) sb.append(" visaStraightThroughProcessingOnly: ").append(toIndentedString(visaStraightThroughProcessingOnly)).append("\n"); + if (amexTransactionAdviceAddendum1 != null) sb.append(" amexTransactionAdviceAddendum1: ").append(toIndentedString(amexTransactionAdviceAddendum1)).append("\n"); + if (installment != null) sb.append(" installment: ").append(toIndentedString(installment)).append("\n"); sb.append("}"); return sb.toString(); } @@ -190,10 +190,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentInstallment.java b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentInstallment.java index 2fc96f14a..ab511429d 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentInstallment.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentInstallment.java @@ -45,7 +45,7 @@ public CardProcessingConfigFeaturesCardNotPresentInstallment enableInstallment(B * @return enableInstallment **/ @ApiModelProperty(value = "This flag is to enable for installment plan programs. Applicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
American Express DirectcnpNoNo
") - public Boolean isEnableInstallment() { + public Boolean EnableInstallment() { return enableInstallment; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardNotPresentInstallment {\n"); - sb.append(" enableInstallment: ").append(toIndentedString(enableInstallment)).append("\n"); - sb.append(" installmentPlan: ").append(toIndentedString(installmentPlan)).append("\n"); + if (enableInstallment != null) sb.append(" enableInstallment: ").append(toIndentedString(enableInstallment)).append("\n"); + if (installmentPlan != null) sb.append(" installmentPlan: ").append(toIndentedString(installmentPlan)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayouts.java b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayouts.java index 8f74c0041..636ca5ca7 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayouts.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayouts.java @@ -262,15 +262,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardNotPresentPayouts {\n"); - sb.append(" reimbursementCode: ").append(toIndentedString(reimbursementCode)).append("\n"); - sb.append(" acquiringInstitutionId: ").append(toIndentedString(acquiringInstitutionId)).append("\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); - sb.append(" merchantAbaNumber: ").append(toIndentedString(merchantAbaNumber)).append("\n"); - sb.append(" networkOrder: ").append(toIndentedString(networkOrder)).append("\n"); - sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (reimbursementCode != null) sb.append(" reimbursementCode: ").append(toIndentedString(reimbursementCode)).append("\n"); + if (acquiringInstitutionId != null) sb.append(" acquiringInstitutionId: ").append(toIndentedString(acquiringInstitutionId)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (financialInstitutionId != null) sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); + if (merchantAbaNumber != null) sb.append(" merchantAbaNumber: ").append(toIndentedString(merchantAbaNumber)).append("\n"); + if (networkOrder != null) sb.append(" networkOrder: ").append(toIndentedString(networkOrder)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -281,10 +281,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies.java b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies.java index 371e9ff90..b4961351a 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies.java @@ -62,7 +62,7 @@ public CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies enabled(Boole * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -80,7 +80,7 @@ public CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies enabledCardPr * @return enabledCardPresent **/ @ApiModelProperty(value = "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. ") - public Boolean isEnabledCardPresent() { + public Boolean EnabledCardPresent() { return enabledCardPresent; } @@ -98,7 +98,7 @@ public CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies enabledCardNo * @return enabledCardNotPresent **/ @ApiModelProperty(value = "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. ") - public Boolean isEnabledCardNotPresent() { + public Boolean EnabledCardNotPresent() { return enabledCardNotPresent; } @@ -216,13 +216,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardNotPresentPayoutsCurrencies {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enabledCardPresent: ").append(toIndentedString(enabledCardPresent)).append("\n"); - sb.append(" enabledCardNotPresent: ").append(toIndentedString(enabledCardNotPresent)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" terminalIds: ").append(toIndentedString(terminalIds)).append("\n"); - sb.append(" serviceEnablementNumber: ").append(toIndentedString(serviceEnablementNumber)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabledCardPresent != null) sb.append(" enabledCardPresent: ").append(toIndentedString(enabledCardPresent)).append("\n"); + if (enabledCardNotPresent != null) sb.append(" enabledCardNotPresent: ").append(toIndentedString(enabledCardNotPresent)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (terminalIds != null) sb.append(" terminalIds: ").append(toIndentedString(terminalIds)).append("\n"); + if (serviceEnablementNumber != null) sb.append(" serviceEnablementNumber: ").append(toIndentedString(serviceEnablementNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -233,10 +233,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentProcessors.java b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentProcessors.java index 6a27233cc..35add305f 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentProcessors.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardNotPresentProcessors.java @@ -58,7 +58,7 @@ public CardProcessingConfigFeaturesCardNotPresentProcessors relaxAddressVerifica * @return relaxAddressVerificationSystem **/ @ApiModelProperty(value = "Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration. Applicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, hybridNoYes
American Express DirectcnpNoNo
American Express DirectcpNoYes
American Express DirecthybridYesYes
") - public Boolean isRelaxAddressVerificationSystem() { + public Boolean RelaxAddressVerificationSystem() { return relaxAddressVerificationSystem; } @@ -76,7 +76,7 @@ public CardProcessingConfigFeaturesCardNotPresentProcessors relaxAddressVerifica * @return relaxAddressVerificationSystemAllowZipWithoutCountry **/ @ApiModelProperty(value = "Allows Zip code without country. Applicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, bothNoYes
American Express Directcp, hybridNoYes
American Express DirectcnpNoNo
") - public Boolean isRelaxAddressVerificationSystemAllowZipWithoutCountry() { + public Boolean RelaxAddressVerificationSystemAllowZipWithoutCountry() { return relaxAddressVerificationSystemAllowZipWithoutCountry; } @@ -94,7 +94,7 @@ public CardProcessingConfigFeaturesCardNotPresentProcessors relaxAddressVerifica * @return relaxAddressVerificationSystemAllowExpiredCard **/ @ApiModelProperty(value = "Allows transactions that use an expired card. Applicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors. Validation details (for selected processors)...
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, hybridNoYes
American Express Directcp, hybridNoYes
American Express DirectcnpNoNo
") - public Boolean isRelaxAddressVerificationSystemAllowExpiredCard() { + public Boolean RelaxAddressVerificationSystemAllowExpiredCard() { return relaxAddressVerificationSystemAllowExpiredCard; } @@ -112,7 +112,7 @@ public CardProcessingConfigFeaturesCardNotPresentProcessors enableEmsTransaction * @return enableEmsTransactionRiskScore **/ @ApiModelProperty(value = "MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors.") - public Boolean isEnableEmsTransactionRiskScore() { + public Boolean EnableEmsTransactionRiskScore() { return enableEmsTransactionRiskScore; } @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardNotPresentProcessors {\n"); - sb.append(" relaxAddressVerificationSystem: ").append(toIndentedString(relaxAddressVerificationSystem)).append("\n"); - sb.append(" relaxAddressVerificationSystemAllowZipWithoutCountry: ").append(toIndentedString(relaxAddressVerificationSystemAllowZipWithoutCountry)).append("\n"); - sb.append(" relaxAddressVerificationSystemAllowExpiredCard: ").append(toIndentedString(relaxAddressVerificationSystemAllowExpiredCard)).append("\n"); - sb.append(" enableEmsTransactionRiskScore: ").append(toIndentedString(enableEmsTransactionRiskScore)).append("\n"); - sb.append(" prestigiousPropertyIndicator: ").append(toIndentedString(prestigiousPropertyIndicator)).append("\n"); - sb.append(" payouts: ").append(toIndentedString(payouts)).append("\n"); + if (relaxAddressVerificationSystem != null) sb.append(" relaxAddressVerificationSystem: ").append(toIndentedString(relaxAddressVerificationSystem)).append("\n"); + if (relaxAddressVerificationSystemAllowZipWithoutCountry != null) sb.append(" relaxAddressVerificationSystemAllowZipWithoutCountry: ").append(toIndentedString(relaxAddressVerificationSystemAllowZipWithoutCountry)).append("\n"); + if (relaxAddressVerificationSystemAllowExpiredCard != null) sb.append(" relaxAddressVerificationSystemAllowExpiredCard: ").append(toIndentedString(relaxAddressVerificationSystemAllowExpiredCard)).append("\n"); + if (enableEmsTransactionRiskScore != null) sb.append(" enableEmsTransactionRiskScore: ").append(toIndentedString(enableEmsTransactionRiskScore)).append("\n"); + if (prestigiousPropertyIndicator != null) sb.append(" prestigiousPropertyIndicator: ").append(toIndentedString(prestigiousPropertyIndicator)).append("\n"); + if (payouts != null) sb.append(" payouts: ").append(toIndentedString(payouts)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardPresent.java b/src/main/java/Model/CardProcessingConfigFeaturesCardPresent.java index bdf661fa2..b7ef80ebf 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardPresent.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardPresent.java @@ -75,7 +75,7 @@ public CardProcessingConfigFeaturesCardPresent enableTerminalIdLookup(Boolean en * @return enableTerminalIdLookup **/ @ApiModelProperty(value = "Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor.") - public Boolean isEnableTerminalIdLookup() { + public Boolean EnableTerminalIdLookup() { return enableTerminalIdLookup; } @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardPresent {\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); - sb.append(" enableTerminalIdLookup: ").append(toIndentedString(enableTerminalIdLookup)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (enableTerminalIdLookup != null) sb.append(" enableTerminalIdLookup: ").append(toIndentedString(enableTerminalIdLookup)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CardProcessingConfigFeaturesCardPresentProcessors.java b/src/main/java/Model/CardProcessingConfigFeaturesCardPresentProcessors.java index 5d044989b..47f9799a0 100644 --- a/src/main/java/Model/CardProcessingConfigFeaturesCardPresentProcessors.java +++ b/src/main/java/Model/CardProcessingConfigFeaturesCardPresentProcessors.java @@ -106,7 +106,7 @@ public CardProcessingConfigFeaturesCardPresentProcessors disablePointOfSaleTermi * @return disablePointOfSaleTerminalIdValidation **/ @ApiModelProperty(value = "Disables terminal ID validation. Applicable for VPC processors.") - public Boolean isDisablePointOfSaleTerminalIdValidation() { + public Boolean DisablePointOfSaleTerminalIdValidation() { return disablePointOfSaleTerminalIdValidation; } @@ -178,7 +178,7 @@ public CardProcessingConfigFeaturesCardPresentProcessors enablePinTranslation(Bo * @return enablePinTranslation **/ @ApiModelProperty(value = "Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors.") - public Boolean isEnablePinTranslation() { + public Boolean EnablePinTranslation() { return enablePinTranslation; } @@ -216,13 +216,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardPresentProcessors {\n"); - sb.append(" defaultPointOfSaleTerminalId: ").append(toIndentedString(defaultPointOfSaleTerminalId)).append("\n"); - sb.append(" pointOfSaleTerminalIds: ").append(toIndentedString(pointOfSaleTerminalIds)).append("\n"); - sb.append(" disablePointOfSaleTerminalIdValidation: ").append(toIndentedString(disablePointOfSaleTerminalIdValidation)).append("\n"); - sb.append(" pinDebitNetworkOrder: ").append(toIndentedString(pinDebitNetworkOrder)).append("\n"); - sb.append(" pinDebitReimbursementCode: ").append(toIndentedString(pinDebitReimbursementCode)).append("\n"); - sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); - sb.append(" enablePinTranslation: ").append(toIndentedString(enablePinTranslation)).append("\n"); + if (defaultPointOfSaleTerminalId != null) sb.append(" defaultPointOfSaleTerminalId: ").append(toIndentedString(defaultPointOfSaleTerminalId)).append("\n"); + if (pointOfSaleTerminalIds != null) sb.append(" pointOfSaleTerminalIds: ").append(toIndentedString(pointOfSaleTerminalIds)).append("\n"); + if (disablePointOfSaleTerminalIdValidation != null) sb.append(" disablePointOfSaleTerminalIdValidation: ").append(toIndentedString(disablePointOfSaleTerminalIdValidation)).append("\n"); + if (pinDebitNetworkOrder != null) sb.append(" pinDebitNetworkOrder: ").append(toIndentedString(pinDebitNetworkOrder)).append("\n"); + if (pinDebitReimbursementCode != null) sb.append(" pinDebitReimbursementCode: ").append(toIndentedString(pinDebitReimbursementCode)).append("\n"); + if (financialInstitutionId != null) sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); + if (enablePinTranslation != null) sb.append(" enablePinTranslation: ").append(toIndentedString(enablePinTranslation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -233,10 +233,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CaseManagementActionsRequest.java b/src/main/java/Model/CaseManagementActionsRequest.java index 149217825..5f440664d 100644 --- a/src/main/java/Model/CaseManagementActionsRequest.java +++ b/src/main/java/Model/CaseManagementActionsRequest.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CaseManagementActionsRequest {\n"); - sb.append(" decisionInformation: ").append(toIndentedString(decisionInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (decisionInformation != null) sb.append(" decisionInformation: ").append(toIndentedString(decisionInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CaseManagementCommentsRequest.java b/src/main/java/Model/CaseManagementCommentsRequest.java index 15edd579c..f6fa387e2 100644 --- a/src/main/java/Model/CaseManagementCommentsRequest.java +++ b/src/main/java/Model/CaseManagementCommentsRequest.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CaseManagementCommentsRequest {\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CheckPayerAuthEnrollmentRequest.java b/src/main/java/Model/CheckPayerAuthEnrollmentRequest.java index 6879548d4..e09a0f499 100644 --- a/src/main/java/Model/CheckPayerAuthEnrollmentRequest.java +++ b/src/main/java/Model/CheckPayerAuthEnrollmentRequest.java @@ -384,20 +384,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CheckPayerAuthEnrollmentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); - sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (acquirerInformation != null) sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); + if (recurringPaymentInformation != null) sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -408,10 +408,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProducts.java b/src/main/java/Model/CommerceSolutionsProducts.java index 8f3807e79..26b39cb8d 100644 --- a/src/main/java/Model/CommerceSolutionsProducts.java +++ b/src/main/java/Model/CommerceSolutionsProducts.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProducts {\n"); - sb.append(" tokenManagement: ").append(toIndentedString(tokenManagement)).append("\n"); - sb.append(" accountUpdater: ").append(toIndentedString(accountUpdater)).append("\n"); - sb.append(" binLookup: ").append(toIndentedString(binLookup)).append("\n"); + if (tokenManagement != null) sb.append(" tokenManagement: ").append(toIndentedString(tokenManagement)).append("\n"); + if (accountUpdater != null) sb.append(" accountUpdater: ").append(toIndentedString(accountUpdater)).append("\n"); + if (binLookup != null) sb.append(" binLookup: ").append(toIndentedString(binLookup)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java index be5b839e1..cc713b39a 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsAccountUpdater {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.java index dca8b8027..01a7e8dc3 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.java index aee0923e2..e5e763bfb 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.java @@ -170,11 +170,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations {\n"); - sb.append(" masterCard: ").append(toIndentedString(masterCard)).append("\n"); - sb.append(" visa: ").append(toIndentedString(visa)).append("\n"); - sb.append(" amex: ").append(toIndentedString(amex)).append("\n"); - sb.append(" preferredDay: ").append(toIndentedString(preferredDay)).append("\n"); - sb.append(" daysWindow: ").append(toIndentedString(daysWindow)).append("\n"); + if (masterCard != null) sb.append(" masterCard: ").append(toIndentedString(masterCard)).append("\n"); + if (visa != null) sb.append(" visa: ").append(toIndentedString(visa)).append("\n"); + if (amex != null) sb.append(" amex: ").append(toIndentedString(amex)).append("\n"); + if (preferredDay != null) sb.append(" preferredDay: ").append(toIndentedString(preferredDay)).append("\n"); + if (daysWindow != null) sb.append(" daysWindow: ").append(toIndentedString(daysWindow)).append("\n"); sb.append("}"); return sb.toString(); } @@ -185,10 +185,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.java index d28e4c4d0..14be78624 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.java @@ -105,7 +105,7 @@ public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurat * @return active **/ @ApiModelProperty(value = "") - public Boolean isActive() { + public Boolean Active() { return active; } @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex {\n"); - sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); - sb.append(" seNumber: ").append(toIndentedString(seNumber)).append("\n"); - sb.append(" subscriberId: ").append(toIndentedString(subscriberId)).append("\n"); - sb.append(" active: ").append(toIndentedString(active)).append("\n"); + if (mode != null) sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); + if (seNumber != null) sb.append(" seNumber: ").append(toIndentedString(seNumber)).append("\n"); + if (subscriberId != null) sb.append(" subscriberId: ").append(toIndentedString(subscriberId)).append("\n"); + if (active != null) sb.append(" active: ").append(toIndentedString(active)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.java index 276f99c89..aeccf5070 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.java @@ -84,7 +84,7 @@ public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurat * @return active **/ @ApiModelProperty(value = "") - public Boolean isActive() { + public Boolean Active() { return active; } @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard {\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" interbankCardAssociationNumber: ").append(toIndentedString(interbankCardAssociationNumber)).append("\n"); - sb.append(" active: ").append(toIndentedString(active)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (interbankCardAssociationNumber != null) sb.append(" interbankCardAssociationNumber: ").append(toIndentedString(interbankCardAssociationNumber)).append("\n"); + if (active != null) sb.append(" active: ").append(toIndentedString(active)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.java index 4bc36ca2c..c5d9a3b00 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.java @@ -84,7 +84,7 @@ public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurat * @return active **/ @ApiModelProperty(value = "") - public Boolean isActive() { + public Boolean Active() { return active; } @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa {\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" segmentId: ").append(toIndentedString(segmentId)).append("\n"); - sb.append(" active: ").append(toIndentedString(active)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (segmentId != null) sb.append(" segmentId: ").append(toIndentedString(segmentId)).append("\n"); + if (active != null) sb.append(" active: ").append(toIndentedString(active)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsBinLookup.java b/src/main/java/Model/CommerceSolutionsProductsBinLookup.java index 41ac9b85e..9bbe145e5 100644 --- a/src/main/java/Model/CommerceSolutionsProductsBinLookup.java +++ b/src/main/java/Model/CommerceSolutionsProductsBinLookup.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsBinLookup {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.java b/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.java index 047f570f9..2d31a96f1 100644 --- a/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.java +++ b/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsBinLookupConfigurationInformation {\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.java b/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.java index 6ff3e1cc0..3e6d3f413 100644 --- a/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.java +++ b/src/main/java/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.java @@ -45,7 +45,7 @@ public CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations * @return isPayoutOptionsEnabled **/ @ApiModelProperty(value = "This flag indicates if the merchant is configured to make payout calls") - public Boolean isIsPayoutOptionsEnabled() { + public Boolean IsPayoutOptionsEnabled() { return isPayoutOptionsEnabled; } @@ -63,7 +63,7 @@ public CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations * @return isAccountPrefixEnabled **/ @ApiModelProperty(value = "This flag indicates if the merchant is configured to receive account prefix") - public Boolean isIsAccountPrefixEnabled() { + public Boolean IsAccountPrefixEnabled() { return isAccountPrefixEnabled; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations {\n"); - sb.append(" isPayoutOptionsEnabled: ").append(toIndentedString(isPayoutOptionsEnabled)).append("\n"); - sb.append(" isAccountPrefixEnabled: ").append(toIndentedString(isAccountPrefixEnabled)).append("\n"); + if (isPayoutOptionsEnabled != null) sb.append(" isPayoutOptionsEnabled: ").append(toIndentedString(isPayoutOptionsEnabled)).append("\n"); + if (isAccountPrefixEnabled != null) sb.append(" isAccountPrefixEnabled: ").append(toIndentedString(isAccountPrefixEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java b/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java index a6efab68a..f4be0ff96 100644 --- a/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java +++ b/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsTokenManagement {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.java b/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.java index d1e956707..18fc3996f 100644 --- a/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.java +++ b/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsTokenManagementConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.java b/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.java index 6a902f799..9a827a55d 100644 --- a/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.java +++ b/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations {\n"); - sb.append(" parentProfileId: ").append(toIndentedString(parentProfileId)).append("\n"); - sb.append(" vault: ").append(toIndentedString(vault)).append("\n"); + if (parentProfileId != null) sb.append(" parentProfileId: ").append(toIndentedString(parentProfileId)).append("\n"); + if (vault != null) sb.append(" vault: ").append(toIndentedString(vault)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault.java b/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault.java index 43cf03483..be695ca03 100644 --- a/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault.java +++ b/src/main/java/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault.java @@ -211,13 +211,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault {\n"); - sb.append(" defaultTokenType: ").append(toIndentedString(defaultTokenType)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" tokenFormats: ").append(toIndentedString(tokenFormats)).append("\n"); - sb.append(" tokenPermissions: ").append(toIndentedString(tokenPermissions)).append("\n"); - sb.append(" sensitivePrivileges: ").append(toIndentedString(sensitivePrivileges)).append("\n"); - sb.append(" nullify: ").append(toIndentedString(nullify)).append("\n"); - sb.append(" networkTokenServices: ").append(toIndentedString(networkTokenServices)).append("\n"); + if (defaultTokenType != null) sb.append(" defaultTokenType: ").append(toIndentedString(defaultTokenType)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); + if (tokenFormats != null) sb.append(" tokenFormats: ").append(toIndentedString(tokenFormats)).append("\n"); + if (tokenPermissions != null) sb.append(" tokenPermissions: ").append(toIndentedString(tokenPermissions)).append("\n"); + if (sensitivePrivileges != null) sb.append(" sensitivePrivileges: ").append(toIndentedString(sensitivePrivileges)).append("\n"); + if (nullify != null) sb.append(" nullify: ").append(toIndentedString(nullify)).append("\n"); + if (networkTokenServices != null) sb.append(" networkTokenServices: ").append(toIndentedString(networkTokenServices)).append("\n"); sb.append("}"); return sb.toString(); } @@ -228,10 +228,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateAdhocReportRequest.java b/src/main/java/Model/CreateAdhocReportRequest.java index 30a50fe10..017253d27 100644 --- a/src/main/java/Model/CreateAdhocReportRequest.java +++ b/src/main/java/Model/CreateAdhocReportRequest.java @@ -307,17 +307,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateAdhocReportRequest {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); - sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" reportStartTime: ").append(toIndentedString(reportStartTime)).append("\n"); - sb.append(" reportEndTime: ").append(toIndentedString(reportEndTime)).append("\n"); - sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); - sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); - sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (reportDefinitionName != null) sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); + if (reportFields != null) sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (reportStartTime != null) sb.append(" reportStartTime: ").append(toIndentedString(reportStartTime)).append("\n"); + if (reportEndTime != null) sb.append(" reportEndTime: ").append(toIndentedString(reportEndTime)).append("\n"); + if (reportFilters != null) sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); + if (reportPreferences != null) sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); + if (groupName != null) sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -328,10 +328,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateBillingAgreement.java b/src/main/java/Model/CreateBillingAgreement.java index 3cec19ec1..01c4e2b92 100644 --- a/src/main/java/Model/CreateBillingAgreement.java +++ b/src/main/java/Model/CreateBillingAgreement.java @@ -305,17 +305,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateBillingAgreement {\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -326,10 +326,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateBinLookupRequest.java b/src/main/java/Model/CreateBinLookupRequest.java index 7cc359a7e..e55941290 100644 --- a/src/main/java/Model/CreateBinLookupRequest.java +++ b/src/main/java/Model/CreateBinLookupRequest.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateBinLookupRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateBundledDecisionManagerCaseRequest.java b/src/main/java/Model/CreateBundledDecisionManagerCaseRequest.java index f4695f34e..26a543c2b 100644 --- a/src/main/java/Model/CreateBundledDecisionManagerCaseRequest.java +++ b/src/main/java/Model/CreateBundledDecisionManagerCaseRequest.java @@ -430,22 +430,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateBundledDecisionManagerCaseRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); - sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (acquirerInformation != null) sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); + if (recurringPaymentInformation != null) sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (watchlistScreeningInformation != null) sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -456,10 +456,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateCreditRequest.java b/src/main/java/Model/CreateCreditRequest.java index 60ae8b2cf..2b9e40dd9 100644 --- a/src/main/java/Model/CreateCreditRequest.java +++ b/src/main/java/Model/CreateCreditRequest.java @@ -430,22 +430,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateCreditRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" merchantDefinedSecureInformation: ").append(toIndentedString(merchantDefinedSecureInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); - sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); - sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (merchantDefinedSecureInformation != null) sb.append(" merchantDefinedSecureInformation: ").append(toIndentedString(merchantDefinedSecureInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); + if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); + if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -456,10 +456,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateInvoiceRequest.java b/src/main/java/Model/CreateInvoiceRequest.java index 25f3dfdca..cd102308a 100644 --- a/src/main/java/Model/CreateInvoiceRequest.java +++ b/src/main/java/Model/CreateInvoiceRequest.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateInvoiceRequest {\n"); - sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); - sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (customerInformation != null) sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); + if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateOrderRequest.java b/src/main/java/Model/CreateOrderRequest.java index 134f5d784..ffde08604 100644 --- a/src/main/java/Model/CreateOrderRequest.java +++ b/src/main/java/Model/CreateOrderRequest.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateOrderRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreatePaymentRequest.java b/src/main/java/Model/CreatePaymentRequest.java index eb3863943..0c4fa16a6 100644 --- a/src/main/java/Model/CreatePaymentRequest.java +++ b/src/main/java/Model/CreatePaymentRequest.java @@ -706,34 +706,34 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreatePaymentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); - sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" merchantDefinedSecureInformation: ").append(toIndentedString(merchantDefinedSecureInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" healthCareInformation: ").append(toIndentedString(healthCareInformation)).append("\n"); - sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); - sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); - sb.append(" hostedPaymentInformation: ").append(toIndentedString(hostedPaymentInformation)).append("\n"); - sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); + if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (merchantDefinedSecureInformation != null) sb.append(" merchantDefinedSecureInformation: ").append(toIndentedString(merchantDefinedSecureInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (healthCareInformation != null) sb.append(" healthCareInformation: ").append(toIndentedString(healthCareInformation)).append("\n"); + if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (acquirerInformation != null) sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); + if (recurringPaymentInformation != null) sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); + if (hostedPaymentInformation != null) sb.append(" hostedPaymentInformation: ").append(toIndentedString(hostedPaymentInformation)).append("\n"); + if (watchlistScreeningInformation != null) sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -744,10 +744,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreatePlanRequest.java b/src/main/java/Model/CreatePlanRequest.java index 9428e4b46..c92baca64 100644 --- a/src/main/java/Model/CreatePlanRequest.java +++ b/src/main/java/Model/CreatePlanRequest.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreatePlanRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreatePlanResponse.java b/src/main/java/Model/CreatePlanResponse.java index f8cc15c43..936f4937c 100644 --- a/src/main/java/Model/CreatePlanResponse.java +++ b/src/main/java/Model/CreatePlanResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreatePlanResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreatePlanResponsePlanInformation.java b/src/main/java/Model/CreatePlanResponsePlanInformation.java index 07b73acde..a22e34533 100644 --- a/src/main/java/Model/CreatePlanResponsePlanInformation.java +++ b/src/main/java/Model/CreatePlanResponsePlanInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreatePlanResponsePlanInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateReportSubscriptionRequest.java b/src/main/java/Model/CreateReportSubscriptionRequest.java index 200a38b95..b603cb6bd 100644 --- a/src/main/java/Model/CreateReportSubscriptionRequest.java +++ b/src/main/java/Model/CreateReportSubscriptionRequest.java @@ -358,19 +358,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateReportSubscriptionRequest {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); - sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); - sb.append(" reportInterval: ").append(toIndentedString(reportInterval)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); - sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); - sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); - sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (reportDefinitionName != null) sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); + if (reportFields != null) sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportFrequency != null) sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); + if (reportInterval != null) sb.append(" reportInterval: ").append(toIndentedString(reportInterval)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (startDay != null) sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); + if (reportFilters != null) sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); + if (reportPreferences != null) sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); + if (groupName != null) sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -381,10 +381,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSearchRequest.java b/src/main/java/Model/CreateSearchRequest.java index a02a54b6d..e695c320a 100644 --- a/src/main/java/Model/CreateSearchRequest.java +++ b/src/main/java/Model/CreateSearchRequest.java @@ -60,7 +60,7 @@ public CreateSearchRequest save(Boolean save) { * @return save **/ @ApiModelProperty(value = "Indicates whether or not you want to save this search request for future use. The options are: * `true` * `false` (default value) If set to `true`, this field returns `searchID` in the response. You can use this value to retrieve the details of the saved search. ") - public Boolean isSave() { + public Boolean Save() { return save; } @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSearchRequest {\n"); - sb.append(" save: ").append(toIndentedString(save)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + if (save != null) sb.append(" save: ").append(toIndentedString(save)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (query != null) sb.append(" query: ").append(toIndentedString(query)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSessionReq.java b/src/main/java/Model/CreateSessionReq.java index 2eab268fc..034f0ed9d 100644 --- a/src/main/java/Model/CreateSessionReq.java +++ b/src/main/java/Model/CreateSessionReq.java @@ -315,17 +315,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSessionReq {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" userInterface: ").append(toIndentedString(userInterface)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (userInterface != null) sb.append(" userInterface: ").append(toIndentedString(userInterface)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -336,10 +336,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSessionRequest.java b/src/main/java/Model/CreateSessionRequest.java index 3bf38a7a0..d5a27182e 100644 --- a/src/main/java/Model/CreateSessionRequest.java +++ b/src/main/java/Model/CreateSessionRequest.java @@ -315,17 +315,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSessionRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" userInterface: ").append(toIndentedString(userInterface)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (userInterface != null) sb.append(" userInterface: ").append(toIndentedString(userInterface)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -336,10 +336,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSubscriptionRequest.java b/src/main/java/Model/CreateSubscriptionRequest.java index 4b4050cef..1346b5e78 100644 --- a/src/main/java/Model/CreateSubscriptionRequest.java +++ b/src/main/java/Model/CreateSubscriptionRequest.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSubscriptionRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSubscriptionResponse.java b/src/main/java/Model/CreateSubscriptionResponse.java index 5d32e39ff..8c94e4082 100644 --- a/src/main/java/Model/CreateSubscriptionResponse.java +++ b/src/main/java/Model/CreateSubscriptionResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSubscriptionResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSubscriptionResponseLinks.java b/src/main/java/Model/CreateSubscriptionResponseLinks.java index 4dd7cfe28..f82681839 100644 --- a/src/main/java/Model/CreateSubscriptionResponseLinks.java +++ b/src/main/java/Model/CreateSubscriptionResponseLinks.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSubscriptionResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" update: ").append(toIndentedString(update)).append("\n"); - sb.append(" cancel: ").append(toIndentedString(cancel)).append("\n"); - sb.append(" suspend: ").append(toIndentedString(suspend)).append("\n"); - sb.append(" activate: ").append(toIndentedString(activate)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (update != null) sb.append(" update: ").append(toIndentedString(update)).append("\n"); + if (cancel != null) sb.append(" cancel: ").append(toIndentedString(cancel)).append("\n"); + if (suspend != null) sb.append(" suspend: ").append(toIndentedString(suspend)).append("\n"); + if (activate != null) sb.append(" activate: ").append(toIndentedString(activate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateSubscriptionResponseSubscriptionInformation.java b/src/main/java/Model/CreateSubscriptionResponseSubscriptionInformation.java index d24c34fe6..fd63669b9 100644 --- a/src/main/java/Model/CreateSubscriptionResponseSubscriptionInformation.java +++ b/src/main/java/Model/CreateSubscriptionResponseSubscriptionInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSubscriptionResponseSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/CreateWebhookRequest.java b/src/main/java/Model/CreateWebhookRequest.java index 8a581ae7c..f7b72fdbd 100644 --- a/src/main/java/Model/CreateWebhookRequest.java +++ b/src/main/java/Model/CreateWebhookRequest.java @@ -284,16 +284,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateWebhookRequest {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); - sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); - sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); sb.append("}"); return sb.toString(); } @@ -304,10 +304,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DeletePlanResponse.java b/src/main/java/Model/DeletePlanResponse.java index 95b1ee8a0..f23bd5a48 100644 --- a/src/main/java/Model/DeletePlanResponse.java +++ b/src/main/java/Model/DeletePlanResponse.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DeletePlanResponse {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfig.java b/src/main/java/Model/DmConfig.java index efcd1c32c..0ba1e3c27 100644 --- a/src/main/java/Model/DmConfig.java +++ b/src/main/java/Model/DmConfig.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfig {\n"); - sb.append(" processingOptions: ").append(toIndentedString(processingOptions)).append("\n"); - sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); - sb.append(" portfolioControls: ").append(toIndentedString(portfolioControls)).append("\n"); - sb.append(" thirdparty: ").append(toIndentedString(thirdparty)).append("\n"); + if (processingOptions != null) sb.append(" processingOptions: ").append(toIndentedString(processingOptions)).append("\n"); + if (organization != null) sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); + if (portfolioControls != null) sb.append(" portfolioControls: ").append(toIndentedString(portfolioControls)).append("\n"); + if (thirdparty != null) sb.append(" thirdparty: ").append(toIndentedString(thirdparty)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigOrganization.java b/src/main/java/Model/DmConfigOrganization.java index fc9f0a65e..a67606e9a 100644 --- a/src/main/java/Model/DmConfigOrganization.java +++ b/src/main/java/Model/DmConfigOrganization.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigOrganization {\n"); - sb.append(" hierarchyGroup: ").append(toIndentedString(hierarchyGroup)).append("\n"); + if (hierarchyGroup != null) sb.append(" hierarchyGroup: ").append(toIndentedString(hierarchyGroup)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigPortfolioControls.java b/src/main/java/Model/DmConfigPortfolioControls.java index 73293ec45..9a3489fc6 100644 --- a/src/main/java/Model/DmConfigPortfolioControls.java +++ b/src/main/java/Model/DmConfigPortfolioControls.java @@ -45,7 +45,7 @@ public DmConfigPortfolioControls hideRiskMenus(Boolean hideRiskMenus) { * @return hideRiskMenus **/ @ApiModelProperty(value = "") - public Boolean isHideRiskMenus() { + public Boolean HideRiskMenus() { return hideRiskMenus; } @@ -63,7 +63,7 @@ public DmConfigPortfolioControls hideRiskTransactionData(Boolean hideRiskTransac * @return hideRiskTransactionData **/ @ApiModelProperty(value = "") - public Boolean isHideRiskTransactionData() { + public Boolean HideRiskTransactionData() { return hideRiskTransactionData; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigPortfolioControls {\n"); - sb.append(" hideRiskMenus: ").append(toIndentedString(hideRiskMenus)).append("\n"); - sb.append(" hideRiskTransactionData: ").append(toIndentedString(hideRiskTransactionData)).append("\n"); + if (hideRiskMenus != null) sb.append(" hideRiskMenus: ").append(toIndentedString(hideRiskMenus)).append("\n"); + if (hideRiskTransactionData != null) sb.append(" hideRiskTransactionData: ").append(toIndentedString(hideRiskTransactionData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigProcessingOptions.java b/src/main/java/Model/DmConfigProcessingOptions.java index 11443d43c..7e5b58c77 100644 --- a/src/main/java/Model/DmConfigProcessingOptions.java +++ b/src/main/java/Model/DmConfigProcessingOptions.java @@ -42,7 +42,7 @@ public DmConfigProcessingOptions stepUpAuthEnabled(Boolean stepUpAuthEnabled) { * @return stepUpAuthEnabled **/ @ApiModelProperty(value = "") - public Boolean isStepUpAuthEnabled() { + public Boolean StepUpAuthEnabled() { return stepUpAuthEnabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigProcessingOptions {\n"); - sb.append(" stepUpAuthEnabled: ").append(toIndentedString(stepUpAuthEnabled)).append("\n"); + if (stepUpAuthEnabled != null) sb.append(" stepUpAuthEnabled: ").append(toIndentedString(stepUpAuthEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdparty.java b/src/main/java/Model/DmConfigThirdparty.java index 57de9c63c..5e2a117e4 100644 --- a/src/main/java/Model/DmConfigThirdparty.java +++ b/src/main/java/Model/DmConfigThirdparty.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdparty {\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProvider.java b/src/main/java/Model/DmConfigThirdpartyProvider.java index 0593f2783..f131c44bc 100644 --- a/src/main/java/Model/DmConfigThirdpartyProvider.java +++ b/src/main/java/Model/DmConfigThirdpartyProvider.java @@ -213,13 +213,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProvider {\n"); - sb.append(" accurint: ").append(toIndentedString(accurint)).append("\n"); - sb.append(" credilink: ").append(toIndentedString(credilink)).append("\n"); - sb.append(" ekata: ").append(toIndentedString(ekata)).append("\n"); - sb.append(" emailage: ").append(toIndentedString(emailage)).append("\n"); - sb.append(" perseuss: ").append(toIndentedString(perseuss)).append("\n"); - sb.append(" signifyd: ").append(toIndentedString(signifyd)).append("\n"); - sb.append(" targus: ").append(toIndentedString(targus)).append("\n"); + if (accurint != null) sb.append(" accurint: ").append(toIndentedString(accurint)).append("\n"); + if (credilink != null) sb.append(" credilink: ").append(toIndentedString(credilink)).append("\n"); + if (ekata != null) sb.append(" ekata: ").append(toIndentedString(ekata)).append("\n"); + if (emailage != null) sb.append(" emailage: ").append(toIndentedString(emailage)).append("\n"); + if (perseuss != null) sb.append(" perseuss: ").append(toIndentedString(perseuss)).append("\n"); + if (signifyd != null) sb.append(" signifyd: ").append(toIndentedString(signifyd)).append("\n"); + if (targus != null) sb.append(" targus: ").append(toIndentedString(targus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -230,10 +230,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderAccurint.java b/src/main/java/Model/DmConfigThirdpartyProviderAccurint.java index 6b6f7f178..29f334e17 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderAccurint.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderAccurint.java @@ -46,7 +46,7 @@ public DmConfigThirdpartyProviderAccurint enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderAccurint {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderAccurintCredentials.java b/src/main/java/Model/DmConfigThirdpartyProviderAccurintCredentials.java index d181df7d1..5c59981bc 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderAccurintCredentials.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderAccurintCredentials.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderAccurintCredentials {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + if (username != null) sb.append(" username: ").append(toIndentedString(username)).append("\n"); + if (password != null) sb.append(" password: ").append(toIndentedString(password)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderCredilink.java b/src/main/java/Model/DmConfigThirdpartyProviderCredilink.java index 6f40c6dcc..2b6ad2f0b 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderCredilink.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderCredilink.java @@ -52,7 +52,7 @@ public DmConfigThirdpartyProviderCredilink enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -70,7 +70,7 @@ public DmConfigThirdpartyProviderCredilink enableRealTime(Boolean enableRealTime * @return enableRealTime **/ @ApiModelProperty(value = "") - public Boolean isEnableRealTime() { + public Boolean EnableRealTime() { return enableRealTime; } @@ -88,7 +88,7 @@ public DmConfigThirdpartyProviderCredilink useCybsCredentials(Boolean useCybsCre * @return useCybsCredentials **/ @ApiModelProperty(value = "") - public Boolean isUseCybsCredentials() { + public Boolean UseCybsCredentials() { return useCybsCredentials; } @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderCredilink {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); - sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enableRealTime != null) sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); + if (useCybsCredentials != null) sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderCredilinkCredentials.java b/src/main/java/Model/DmConfigThirdpartyProviderCredilinkCredentials.java index c5d6bc674..2ff73388f 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderCredilinkCredentials.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderCredilinkCredentials.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderCredilinkCredentials {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" sigla: ").append(toIndentedString(sigla)).append("\n"); + if (username != null) sb.append(" username: ").append(toIndentedString(username)).append("\n"); + if (password != null) sb.append(" password: ").append(toIndentedString(password)).append("\n"); + if (sigla != null) sb.append(" sigla: ").append(toIndentedString(sigla)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderEkata.java b/src/main/java/Model/DmConfigThirdpartyProviderEkata.java index d15677bd0..0b817b1b2 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderEkata.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderEkata.java @@ -52,7 +52,7 @@ public DmConfigThirdpartyProviderEkata enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -70,7 +70,7 @@ public DmConfigThirdpartyProviderEkata enableRealTime(Boolean enableRealTime) { * @return enableRealTime **/ @ApiModelProperty(value = "") - public Boolean isEnableRealTime() { + public Boolean EnableRealTime() { return enableRealTime; } @@ -88,7 +88,7 @@ public DmConfigThirdpartyProviderEkata useCybsCredentials(Boolean useCybsCredent * @return useCybsCredentials **/ @ApiModelProperty(value = "") - public Boolean isUseCybsCredentials() { + public Boolean UseCybsCredentials() { return useCybsCredentials; } @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderEkata {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); - sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enableRealTime != null) sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); + if (useCybsCredentials != null) sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderEkataCredentials.java b/src/main/java/Model/DmConfigThirdpartyProviderEkataCredentials.java index 73a591f5b..0bdb38276 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderEkataCredentials.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderEkataCredentials.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderEkataCredentials {\n"); - sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); + if (apiKey != null) sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderEmailage.java b/src/main/java/Model/DmConfigThirdpartyProviderEmailage.java index 4eed36c11..783b4401a 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderEmailage.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderEmailage.java @@ -52,7 +52,7 @@ public DmConfigThirdpartyProviderEmailage enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -70,7 +70,7 @@ public DmConfigThirdpartyProviderEmailage enableRealTime(Boolean enableRealTime) * @return enableRealTime **/ @ApiModelProperty(value = "") - public Boolean isEnableRealTime() { + public Boolean EnableRealTime() { return enableRealTime; } @@ -88,7 +88,7 @@ public DmConfigThirdpartyProviderEmailage useCybsCredentials(Boolean useCybsCred * @return useCybsCredentials **/ @ApiModelProperty(value = "") - public Boolean isUseCybsCredentials() { + public Boolean UseCybsCredentials() { return useCybsCredentials; } @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderEmailage {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); - sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enableRealTime != null) sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); + if (useCybsCredentials != null) sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderPerseuss.java b/src/main/java/Model/DmConfigThirdpartyProviderPerseuss.java index e7ceea354..896195cc6 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderPerseuss.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderPerseuss.java @@ -49,7 +49,7 @@ public DmConfigThirdpartyProviderPerseuss enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -67,7 +67,7 @@ public DmConfigThirdpartyProviderPerseuss enableRealTime(Boolean enableRealTime) * @return enableRealTime **/ @ApiModelProperty(value = "") - public Boolean isEnableRealTime() { + public Boolean EnableRealTime() { return enableRealTime; } @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderPerseuss {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enableRealTime != null) sb.append(" enableRealTime: ").append(toIndentedString(enableRealTime)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderSignifyd.java b/src/main/java/Model/DmConfigThirdpartyProviderSignifyd.java index 0a935c7ee..6dc8951e7 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderSignifyd.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderSignifyd.java @@ -46,7 +46,7 @@ public DmConfigThirdpartyProviderSignifyd enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderSignifyd {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderSignifydCredentials.java b/src/main/java/Model/DmConfigThirdpartyProviderSignifydCredentials.java index a596bf5d7..ffec0158b 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderSignifydCredentials.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderSignifydCredentials.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderSignifydCredentials {\n"); - sb.append(" teamId: ").append(toIndentedString(teamId)).append("\n"); - sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); - sb.append(" secretKeyid: ").append(toIndentedString(secretKeyid)).append("\n"); - sb.append(" secretKey: ").append(toIndentedString(secretKey)).append("\n"); + if (teamId != null) sb.append(" teamId: ").append(toIndentedString(teamId)).append("\n"); + if (apiKey != null) sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); + if (secretKeyid != null) sb.append(" secretKeyid: ").append(toIndentedString(secretKeyid)).append("\n"); + if (secretKey != null) sb.append(" secretKey: ").append(toIndentedString(secretKey)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderTargus.java b/src/main/java/Model/DmConfigThirdpartyProviderTargus.java index cff10f428..bc89f93c9 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderTargus.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderTargus.java @@ -49,7 +49,7 @@ public DmConfigThirdpartyProviderTargus enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -67,7 +67,7 @@ public DmConfigThirdpartyProviderTargus useCybsCredentials(Boolean useCybsCreden * @return useCybsCredentials **/ @ApiModelProperty(value = "") - public Boolean isUseCybsCredentials() { + public Boolean UseCybsCredentials() { return useCybsCredentials; } @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderTargus {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); - sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (useCybsCredentials != null) sb.append(" useCybsCredentials: ").append(toIndentedString(useCybsCredentials)).append("\n"); + if (credentials != null) sb.append(" credentials: ").append(toIndentedString(credentials)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/DmConfigThirdpartyProviderTargusCredentials.java b/src/main/java/Model/DmConfigThirdpartyProviderTargusCredentials.java index 8d516d70b..d640ff13c 100644 --- a/src/main/java/Model/DmConfigThirdpartyProviderTargusCredentials.java +++ b/src/main/java/Model/DmConfigThirdpartyProviderTargusCredentials.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DmConfigThirdpartyProviderTargusCredentials {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" serviceId: ").append(toIndentedString(serviceId)).append("\n"); + if (username != null) sb.append(" username: ").append(toIndentedString(username)).append("\n"); + if (password != null) sb.append(" password: ").append(toIndentedString(password)).append("\n"); + if (serviceId != null) sb.append(" serviceId: ").append(toIndentedString(serviceId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfig.java b/src/main/java/Model/ECheckConfig.java index bea93875e..bf857cdc6 100644 --- a/src/main/java/Model/ECheckConfig.java +++ b/src/main/java/Model/ECheckConfig.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfig {\n"); - sb.append(" common: ").append(toIndentedString(common)).append("\n"); - sb.append(" underwriting: ").append(toIndentedString(underwriting)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (common != null) sb.append(" common: ").append(toIndentedString(common)).append("\n"); + if (underwriting != null) sb.append(" underwriting: ").append(toIndentedString(underwriting)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigCommon.java b/src/main/java/Model/ECheckConfigCommon.java index c927ebdd3..46394ee0e 100644 --- a/src/main/java/Model/ECheckConfigCommon.java +++ b/src/main/java/Model/ECheckConfigCommon.java @@ -197,12 +197,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigCommon {\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); - sb.append(" internalOnly: ").append(toIndentedString(internalOnly)).append("\n"); - sb.append(" accountHolderName: ").append(toIndentedString(accountHolderName)).append("\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" accountRoutingNumber: ").append(toIndentedString(accountRoutingNumber)).append("\n"); - sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (internalOnly != null) sb.append(" internalOnly: ").append(toIndentedString(internalOnly)).append("\n"); + if (accountHolderName != null) sb.append(" accountHolderName: ").append(toIndentedString(accountHolderName)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (accountRoutingNumber != null) sb.append(" accountRoutingNumber: ").append(toIndentedString(accountRoutingNumber)).append("\n"); + if (accountNumber != null) sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -213,10 +213,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigCommonInternalOnly.java b/src/main/java/Model/ECheckConfigCommonInternalOnly.java index f1a9e0459..1a1fa1250 100644 --- a/src/main/java/Model/ECheckConfigCommonInternalOnly.java +++ b/src/main/java/Model/ECheckConfigCommonInternalOnly.java @@ -49,7 +49,7 @@ public ECheckConfigCommonInternalOnly displayEcheckInfo(Boolean displayEcheckInf * @return displayEcheckInfo **/ @ApiModelProperty(value = "*NEW* Used by EBC UI always set to true") - public Boolean isDisplayEcheckInfo() { + public Boolean DisplayEcheckInfo() { return displayEcheckInfo; } @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigCommonInternalOnly {\n"); - sb.append(" displayEcheckInfo: ").append(toIndentedString(displayEcheckInfo)).append("\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (displayEcheckInfo != null) sb.append(" displayEcheckInfo: ").append(toIndentedString(displayEcheckInfo)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigCommonInternalOnlyProcessors.java b/src/main/java/Model/ECheckConfigCommonInternalOnlyProcessors.java index b55a58e10..617376a35 100644 --- a/src/main/java/Model/ECheckConfigCommonInternalOnlyProcessors.java +++ b/src/main/java/Model/ECheckConfigCommonInternalOnlyProcessors.java @@ -61,7 +61,7 @@ public ECheckConfigCommonInternalOnlyProcessors enableCCS(Boolean enableCCS) { * @return enableCCS **/ @ApiModelProperty(value = "*NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform. Applicable for VPC and amexdirect processors. ") - public Boolean isEnableCCS() { + public Boolean EnableCCS() { return enableCCS; } @@ -97,7 +97,7 @@ public ECheckConfigCommonInternalOnlyProcessors enable15anTransactionReferenceNu * @return enable15anTransactionReferenceNumber **/ @ApiModelProperty(value = "*NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS") - public Boolean isEnable15anTransactionReferenceNumber() { + public Boolean Enable15anTransactionReferenceNumber() { return enable15anTransactionReferenceNumber; } @@ -169,7 +169,7 @@ public ECheckConfigCommonInternalOnlyProcessors setCompletedState(Boolean setCom * @return setCompletedState **/ @ApiModelProperty(value = "*Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES.") - public Boolean isSetCompletedState() { + public Boolean SetCompletedState() { return setCompletedState; } @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigCommonInternalOnlyProcessors {\n"); - sb.append(" enableCCS: ").append(toIndentedString(enableCCS)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" enable15anTransactionReferenceNumber: ").append(toIndentedString(enable15anTransactionReferenceNumber)).append("\n"); - sb.append(" portalSupportedPaytypes: ").append(toIndentedString(portalSupportedPaytypes)).append("\n"); - sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); - sb.append(" verificationLevel: ").append(toIndentedString(verificationLevel)).append("\n"); - sb.append(" setCompletedState: ").append(toIndentedString(setCompletedState)).append("\n"); + if (enableCCS != null) sb.append(" enableCCS: ").append(toIndentedString(enableCCS)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (enable15anTransactionReferenceNumber != null) sb.append(" enable15anTransactionReferenceNumber: ").append(toIndentedString(enable15anTransactionReferenceNumber)).append("\n"); + if (portalSupportedPaytypes != null) sb.append(" portalSupportedPaytypes: ").append(toIndentedString(portalSupportedPaytypes)).append("\n"); + if (settlementMethod != null) sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); + if (verificationLevel != null) sb.append(" verificationLevel: ").append(toIndentedString(verificationLevel)).append("\n"); + if (setCompletedState != null) sb.append(" setCompletedState: ").append(toIndentedString(setCompletedState)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigCommonProcessors.java b/src/main/java/Model/ECheckConfigCommonProcessors.java index 5746b1cef..be1a0fdbb 100644 --- a/src/main/java/Model/ECheckConfigCommonProcessors.java +++ b/src/main/java/Model/ECheckConfigCommonProcessors.java @@ -112,7 +112,7 @@ public ECheckConfigCommonProcessors enableAccuityForAvs(Boolean enableAccuityFor * @return enableAccuityForAvs **/ @ApiModelProperty(value = "*NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise") - public Boolean isEnableAccuityForAvs() { + public Boolean EnableAccuityForAvs() { return enableAccuityForAvs; } @@ -148,7 +148,7 @@ public ECheckConfigCommonProcessors setCompletedState(Boolean setCompletedState) * @return setCompletedState **/ @ApiModelProperty(value = "*Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES.") - public Boolean isSetCompletedState() { + public Boolean SetCompletedState() { return setCompletedState; } @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigCommonProcessors {\n"); - sb.append(" companyEntryDescription: ").append(toIndentedString(companyEntryDescription)).append("\n"); - sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); - sb.append(" batchGroup: ").append(toIndentedString(batchGroup)).append("\n"); - sb.append(" enableAccuityForAvs: ").append(toIndentedString(enableAccuityForAvs)).append("\n"); - sb.append(" accuityCheckType: ").append(toIndentedString(accuityCheckType)).append("\n"); - sb.append(" setCompletedState: ").append(toIndentedString(setCompletedState)).append("\n"); + if (companyEntryDescription != null) sb.append(" companyEntryDescription: ").append(toIndentedString(companyEntryDescription)).append("\n"); + if (companyId != null) sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); + if (batchGroup != null) sb.append(" batchGroup: ").append(toIndentedString(batchGroup)).append("\n"); + if (enableAccuityForAvs != null) sb.append(" enableAccuityForAvs: ").append(toIndentedString(enableAccuityForAvs)).append("\n"); + if (accuityCheckType != null) sb.append(" accuityCheckType: ").append(toIndentedString(accuityCheckType)).append("\n"); + if (setCompletedState != null) sb.append(" setCompletedState: ").append(toIndentedString(setCompletedState)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigFeatures.java b/src/main/java/Model/ECheckConfigFeatures.java index 90cf1147d..3d0a5cd20 100644 --- a/src/main/java/Model/ECheckConfigFeatures.java +++ b/src/main/java/Model/ECheckConfigFeatures.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigFeatures {\n"); - sb.append(" accountValidationService: ").append(toIndentedString(accountValidationService)).append("\n"); + if (accountValidationService != null) sb.append(" accountValidationService: ").append(toIndentedString(accountValidationService)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigFeaturesAccountValidationService.java b/src/main/java/Model/ECheckConfigFeaturesAccountValidationService.java index f113f3b57..3f86d48a2 100644 --- a/src/main/java/Model/ECheckConfigFeaturesAccountValidationService.java +++ b/src/main/java/Model/ECheckConfigFeaturesAccountValidationService.java @@ -109,8 +109,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigFeaturesAccountValidationService {\n"); - sb.append(" internalOnly: ").append(toIndentedString(internalOnly)).append("\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (internalOnly != null) sb.append(" internalOnly: ").append(toIndentedString(internalOnly)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -121,10 +121,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnly.java b/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnly.java index ff71d7e17..37764a601 100644 --- a/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnly.java +++ b/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnly.java @@ -86,7 +86,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigFeaturesAccountValidationServiceInternalOnly {\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -97,10 +97,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnlyProcessors.java b/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnlyProcessors.java index ea944c40f..04e5e8ece 100644 --- a/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnlyProcessors.java +++ b/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceInternalOnlyProcessors.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigFeaturesAccountValidationServiceInternalOnlyProcessors {\n"); - sb.append(" avsVersion: ").append(toIndentedString(avsVersion)).append("\n"); + if (avsVersion != null) sb.append(" avsVersion: ").append(toIndentedString(avsVersion)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceProcessors.java b/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceProcessors.java index e19cb21ef..3d121b513 100644 --- a/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceProcessors.java +++ b/src/main/java/Model/ECheckConfigFeaturesAccountValidationServiceProcessors.java @@ -67,7 +67,7 @@ public ECheckConfigFeaturesAccountValidationServiceProcessors avsAccountOwnershi * @return avsAccountOwnershipService **/ @ApiModelProperty(value = "*NEW* Determined in WF eTicket if account has opted into the Account Ownership Service.") - public Boolean isAvsAccountOwnershipService() { + public Boolean AvsAccountOwnershipService() { return avsAccountOwnershipService; } @@ -85,7 +85,7 @@ public ECheckConfigFeaturesAccountValidationServiceProcessors avsAccountStatusSe * @return avsAccountStatusService **/ @ApiModelProperty(value = "*NEW* Determined in WF eTicket if account has opted into the Account Status Service.") - public Boolean isAvsAccountStatusService() { + public Boolean AvsAccountStatusService() { return avsAccountStatusService; } @@ -103,7 +103,7 @@ public ECheckConfigFeaturesAccountValidationServiceProcessors avsSignedAgreement * @return avsSignedAgreement **/ @ApiModelProperty(value = "*NEW* Taken from Addendum Agreement Column in boarding form.") - public Boolean isAvsSignedAgreement() { + public Boolean AvsSignedAgreement() { return avsSignedAgreement; } @@ -157,7 +157,7 @@ public ECheckConfigFeaturesAccountValidationServiceProcessors enableAvs(Boolean * @return enableAvs **/ @ApiModelProperty(value = "*NEW*") - public Boolean isEnableAvs() { + public Boolean EnableAvs() { return enableAvs; } @@ -211,7 +211,7 @@ public ECheckConfigFeaturesAccountValidationServiceProcessors enableAvsTokenCrea * @return enableAvsTokenCreation **/ @ApiModelProperty(value = "*NEW* Applicable if the merchant wants to run AVS on token creation requests only.") - public Boolean isEnableAvsTokenCreation() { + public Boolean EnableAvsTokenCreation() { return enableAvsTokenCreation; } @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigFeaturesAccountValidationServiceProcessors {\n"); - sb.append(" avsAccountOwnershipService: ").append(toIndentedString(avsAccountOwnershipService)).append("\n"); - sb.append(" avsAccountStatusService: ").append(toIndentedString(avsAccountStatusService)).append("\n"); - sb.append(" avsSignedAgreement: ").append(toIndentedString(avsSignedAgreement)).append("\n"); - sb.append(" avsCalculatedResponseBehavior: ").append(toIndentedString(avsCalculatedResponseBehavior)).append("\n"); - sb.append(" avsAdditionalId: ").append(toIndentedString(avsAdditionalId)).append("\n"); - sb.append(" enableAvs: ").append(toIndentedString(enableAvs)).append("\n"); - sb.append(" avsEntityId: ").append(toIndentedString(avsEntityId)).append("\n"); - sb.append(" avsResultMode: ").append(toIndentedString(avsResultMode)).append("\n"); - sb.append(" enableAvsTokenCreation: ").append(toIndentedString(enableAvsTokenCreation)).append("\n"); + if (avsAccountOwnershipService != null) sb.append(" avsAccountOwnershipService: ").append(toIndentedString(avsAccountOwnershipService)).append("\n"); + if (avsAccountStatusService != null) sb.append(" avsAccountStatusService: ").append(toIndentedString(avsAccountStatusService)).append("\n"); + if (avsSignedAgreement != null) sb.append(" avsSignedAgreement: ").append(toIndentedString(avsSignedAgreement)).append("\n"); + if (avsCalculatedResponseBehavior != null) sb.append(" avsCalculatedResponseBehavior: ").append(toIndentedString(avsCalculatedResponseBehavior)).append("\n"); + if (avsAdditionalId != null) sb.append(" avsAdditionalId: ").append(toIndentedString(avsAdditionalId)).append("\n"); + if (enableAvs != null) sb.append(" enableAvs: ").append(toIndentedString(enableAvs)).append("\n"); + if (avsEntityId != null) sb.append(" avsEntityId: ").append(toIndentedString(avsEntityId)).append("\n"); + if (avsResultMode != null) sb.append(" avsResultMode: ").append(toIndentedString(avsResultMode)).append("\n"); + if (enableAvsTokenCreation != null) sb.append(" enableAvsTokenCreation: ").append(toIndentedString(enableAvsTokenCreation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ECheckConfigUnderwriting.java b/src/main/java/Model/ECheckConfigUnderwriting.java index 539f00524..00cd1de49 100644 --- a/src/main/java/Model/ECheckConfigUnderwriting.java +++ b/src/main/java/Model/ECheckConfigUnderwriting.java @@ -88,7 +88,7 @@ public ECheckConfigUnderwriting enableHold(Boolean enableHold) { * @return enableHold **/ @ApiModelProperty(required = true, value = "Mandatory Determines whether CYBS has placed the merchant on a funding hold This will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant. ") - public Boolean isEnableHold() { + public Boolean EnableHold() { return enableHold; } @@ -142,7 +142,7 @@ public ECheckConfigUnderwriting enableCredits(Boolean enableCredits) { * @return enableCredits **/ @ApiModelProperty(value = "Optional Allow Credits (True/False) ") - public Boolean isEnableCredits() { + public Boolean EnableCredits() { return enableCredits; } @@ -273,16 +273,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ECheckConfigUnderwriting {\n"); - sb.append(" standardEntryClassCodes: ").append(toIndentedString(standardEntryClassCodes)).append("\n"); - sb.append(" enableHold: ").append(toIndentedString(enableHold)).append("\n"); - sb.append(" monthlyTotalTransactionAmountLimit: ").append(toIndentedString(monthlyTotalTransactionAmountLimit)).append("\n"); - sb.append(" holdingDays: ").append(toIndentedString(holdingDays)).append("\n"); - sb.append(" enableCredits: ").append(toIndentedString(enableCredits)).append("\n"); - sb.append(" transactionAmountLimit: ").append(toIndentedString(transactionAmountLimit)).append("\n"); - sb.append(" riskReserveMethod: ").append(toIndentedString(riskReserveMethod)).append("\n"); - sb.append(" riskReserveRate: ").append(toIndentedString(riskReserveRate)).append("\n"); - sb.append(" riskReserveTargetAmount: ").append(toIndentedString(riskReserveTargetAmount)).append("\n"); - sb.append(" solutionOrganizationId: ").append(toIndentedString(solutionOrganizationId)).append("\n"); + if (standardEntryClassCodes != null) sb.append(" standardEntryClassCodes: ").append(toIndentedString(standardEntryClassCodes)).append("\n"); + if (enableHold != null) sb.append(" enableHold: ").append(toIndentedString(enableHold)).append("\n"); + if (monthlyTotalTransactionAmountLimit != null) sb.append(" monthlyTotalTransactionAmountLimit: ").append(toIndentedString(monthlyTotalTransactionAmountLimit)).append("\n"); + if (holdingDays != null) sb.append(" holdingDays: ").append(toIndentedString(holdingDays)).append("\n"); + if (enableCredits != null) sb.append(" enableCredits: ").append(toIndentedString(enableCredits)).append("\n"); + if (transactionAmountLimit != null) sb.append(" transactionAmountLimit: ").append(toIndentedString(transactionAmountLimit)).append("\n"); + if (riskReserveMethod != null) sb.append(" riskReserveMethod: ").append(toIndentedString(riskReserveMethod)).append("\n"); + if (riskReserveRate != null) sb.append(" riskReserveRate: ").append(toIndentedString(riskReserveRate)).append("\n"); + if (riskReserveTargetAmount != null) sb.append(" riskReserveTargetAmount: ").append(toIndentedString(riskReserveTargetAmount)).append("\n"); + if (solutionOrganizationId != null) sb.append(" solutionOrganizationId: ").append(toIndentedString(solutionOrganizationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -293,10 +293,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFields.java b/src/main/java/Model/Flexv2sessionsFields.java index 3a4803c08..33738bf47 100644 --- a/src/main/java/Model/Flexv2sessionsFields.java +++ b/src/main/java/Model/Flexv2sessionsFields.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFields {\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java index 5c0806962..e5fe4c50c 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java index 45705b78f..b1706bf8b 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java index 02621a92c..0ce66b308 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java @@ -42,7 +42,7 @@ public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount required(Boo * @return required **/ @ApiModelProperty(value = "") - public Boolean isRequired() { + public Boolean Required() { return required; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount {\n"); - sb.append(" required: ").append(toIndentedString(required)).append("\n"); + if (required != null) sb.append(" required: ").append(toIndentedString(required)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java index 3544356c2..06c658005 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java @@ -339,19 +339,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); sb.append("}"); return sb.toString(); } @@ -362,10 +362,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java index 66626a5be..99fb7e7d4 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java @@ -295,17 +295,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsOrderInformationShipTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); sb.append("}"); return sb.toString(); } @@ -316,10 +316,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java index 5b3bb0d5b..b8365c3e6 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java +++ b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java index efc29790b..9c3d2466c 100644 --- a/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java +++ b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Flexv2sessionsFieldsPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/FraudMarkingActionRequest.java b/src/main/java/Model/FraudMarkingActionRequest.java index d4c70b3b0..831660768 100644 --- a/src/main/java/Model/FraudMarkingActionRequest.java +++ b/src/main/java/Model/FraudMarkingActionRequest.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FraudMarkingActionRequest {\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GenerateCaptureContextRequest.java b/src/main/java/Model/GenerateCaptureContextRequest.java index be7582f5d..ce192ac3b 100644 --- a/src/main/java/Model/GenerateCaptureContextRequest.java +++ b/src/main/java/Model/GenerateCaptureContextRequest.java @@ -160,10 +160,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GenerateCaptureContextRequest {\n"); - sb.append(" clientVersion: ").append(toIndentedString(clientVersion)).append("\n"); - sb.append(" targetOrigins: ").append(toIndentedString(targetOrigins)).append("\n"); - sb.append(" allowedCardNetworks: ").append(toIndentedString(allowedCardNetworks)).append("\n"); - sb.append(" checkoutApiInitialization: ").append(toIndentedString(checkoutApiInitialization)).append("\n"); + if (clientVersion != null) sb.append(" clientVersion: ").append(toIndentedString(clientVersion)).append("\n"); + if (targetOrigins != null) sb.append(" targetOrigins: ").append(toIndentedString(targetOrigins)).append("\n"); + if (allowedCardNetworks != null) sb.append(" allowedCardNetworks: ").append(toIndentedString(allowedCardNetworks)).append("\n"); + if (checkoutApiInitialization != null) sb.append(" checkoutApiInitialization: ").append(toIndentedString(checkoutApiInitialization)).append("\n"); sb.append("}"); return sb.toString(); } @@ -174,10 +174,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java b/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java index 417c81e6c..56e893709 100644 --- a/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java +++ b/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GenerateFlexAPICaptureContextRequest {\n"); - sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + if (fields != null) sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java b/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java index becd24d1e..1a0ef6692 100644 --- a/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java +++ b/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java @@ -279,15 +279,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GenerateUnifiedCheckoutCaptureContextRequest {\n"); - sb.append(" clientVersion: ").append(toIndentedString(clientVersion)).append("\n"); - sb.append(" targetOrigins: ").append(toIndentedString(targetOrigins)).append("\n"); - sb.append(" allowedCardNetworks: ").append(toIndentedString(allowedCardNetworks)).append("\n"); - sb.append(" allowedPaymentTypes: ").append(toIndentedString(allowedPaymentTypes)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - sb.append(" captureMandate: ").append(toIndentedString(captureMandate)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" checkoutApiInitialization: ").append(toIndentedString(checkoutApiInitialization)).append("\n"); + if (clientVersion != null) sb.append(" clientVersion: ").append(toIndentedString(clientVersion)).append("\n"); + if (targetOrigins != null) sb.append(" targetOrigins: ").append(toIndentedString(targetOrigins)).append("\n"); + if (allowedCardNetworks != null) sb.append(" allowedCardNetworks: ").append(toIndentedString(allowedCardNetworks)).append("\n"); + if (allowedPaymentTypes != null) sb.append(" allowedPaymentTypes: ").append(toIndentedString(allowedPaymentTypes)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); + if (captureMandate != null) sb.append(" captureMandate: ").append(toIndentedString(captureMandate)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (checkoutApiInitialization != null) sb.append(" checkoutApiInitialization: ").append(toIndentedString(checkoutApiInitialization)).append("\n"); sb.append("}"); return sb.toString(); } @@ -298,10 +298,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponse.java b/src/main/java/Model/GetAllPlansResponse.java index 33a137c46..037179453 100644 --- a/src/main/java/Model/GetAllPlansResponse.java +++ b/src/main/java/Model/GetAllPlansResponse.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - sb.append(" plans: ").append(toIndentedString(plans)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (plans != null) sb.append(" plans: ").append(toIndentedString(plans)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponseLinks.java b/src/main/java/Model/GetAllPlansResponseLinks.java index 4864007c7..b8cc530af 100644 --- a/src/main/java/Model/GetAllPlansResponseLinks.java +++ b/src/main/java/Model/GetAllPlansResponseLinks.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" previous: ").append(toIndentedString(previous)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (next != null) sb.append(" next: ").append(toIndentedString(next)).append("\n"); + if (previous != null) sb.append(" previous: ").append(toIndentedString(previous)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponseOrderInformation.java b/src/main/java/Model/GetAllPlansResponseOrderInformation.java index 3768abf95..6d5250220 100644 --- a/src/main/java/Model/GetAllPlansResponseOrderInformation.java +++ b/src/main/java/Model/GetAllPlansResponseOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponseOrderInformationAmountDetails.java b/src/main/java/Model/GetAllPlansResponseOrderInformationAmountDetails.java index 8949e7631..ead70eb9c 100644 --- a/src/main/java/Model/GetAllPlansResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/GetAllPlansResponseOrderInformationAmountDetails.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponseOrderInformationAmountDetails {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" billingAmount: ").append(toIndentedString(billingAmount)).append("\n"); - sb.append(" setupFee: ").append(toIndentedString(setupFee)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (billingAmount != null) sb.append(" billingAmount: ").append(toIndentedString(billingAmount)).append("\n"); + if (setupFee != null) sb.append(" setupFee: ").append(toIndentedString(setupFee)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponsePlanInformation.java b/src/main/java/Model/GetAllPlansResponsePlanInformation.java index a540001b5..c5a10a64d 100644 --- a/src/main/java/Model/GetAllPlansResponsePlanInformation.java +++ b/src/main/java/Model/GetAllPlansResponsePlanInformation.java @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponsePlanInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); - sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (billingPeriod != null) sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); + if (billingCycles != null) sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponsePlanInformationBillingCycles.java b/src/main/java/Model/GetAllPlansResponsePlanInformationBillingCycles.java index c95a9abd0..baeeabd79 100644 --- a/src/main/java/Model/GetAllPlansResponsePlanInformationBillingCycles.java +++ b/src/main/java/Model/GetAllPlansResponsePlanInformationBillingCycles.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponsePlanInformationBillingCycles {\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponsePlanInformationBillingPeriod.java b/src/main/java/Model/GetAllPlansResponsePlanInformationBillingPeriod.java index fb8c07507..7d395501d 100644 --- a/src/main/java/Model/GetAllPlansResponsePlanInformationBillingPeriod.java +++ b/src/main/java/Model/GetAllPlansResponsePlanInformationBillingPeriod.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponsePlanInformationBillingPeriod {\n"); - sb.append(" length: ").append(toIndentedString(length)).append("\n"); - sb.append(" unit: ").append(toIndentedString(unit)).append("\n"); + if (length != null) sb.append(" length: ").append(toIndentedString(length)).append("\n"); + if (unit != null) sb.append(" unit: ").append(toIndentedString(unit)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllPlansResponsePlans.java b/src/main/java/Model/GetAllPlansResponsePlans.java index 0262a41b9..b891ef607 100644 --- a/src/main/java/Model/GetAllPlansResponsePlans.java +++ b/src/main/java/Model/GetAllPlansResponsePlans.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllPlansResponsePlans {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponse.java b/src/main/java/Model/GetAllSubscriptionsResponse.java index 1e8d84ca5..838faa20e 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponse.java +++ b/src/main/java/Model/GetAllSubscriptionsResponse.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - sb.append(" subscriptions: ").append(toIndentedString(subscriptions)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (subscriptions != null) sb.append(" subscriptions: ").append(toIndentedString(subscriptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponseLinks.java b/src/main/java/Model/GetAllSubscriptionsResponseLinks.java index 6d2b8a1fb..6e62bd41b 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponseLinks.java +++ b/src/main/java/Model/GetAllSubscriptionsResponseLinks.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" cancel: ").append(toIndentedString(cancel)).append("\n"); - sb.append(" suspend: ").append(toIndentedString(suspend)).append("\n"); - sb.append(" activate: ").append(toIndentedString(activate)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (cancel != null) sb.append(" cancel: ").append(toIndentedString(cancel)).append("\n"); + if (suspend != null) sb.append(" suspend: ").append(toIndentedString(suspend)).append("\n"); + if (activate != null) sb.append(" activate: ").append(toIndentedString(activate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponseOrderInformation.java b/src/main/java/Model/GetAllSubscriptionsResponseOrderInformation.java index 5654e1db6..85d5b7d1f 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponseOrderInformation.java +++ b/src/main/java/Model/GetAllSubscriptionsResponseOrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponseOrderInformationBillTo.java b/src/main/java/Model/GetAllSubscriptionsResponseOrderInformationBillTo.java index d87ce501f..dad6c94f1 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponseOrderInformationBillTo.java +++ b/src/main/java/Model/GetAllSubscriptionsResponseOrderInformationBillTo.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponseOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformation.java b/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformation.java index 7247d5224..30b5ea699 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformation.java +++ b/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponsePaymentInformation {\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformationCustomer.java b/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformationCustomer.java index 99ed0f115..dc2297b07 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformationCustomer.java +++ b/src/main/java/Model/GetAllSubscriptionsResponsePaymentInformationCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponsePaymentInformationCustomer {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponsePlanInformation.java b/src/main/java/Model/GetAllSubscriptionsResponsePlanInformation.java index 7888486a1..c2b63b06f 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponsePlanInformation.java +++ b/src/main/java/Model/GetAllSubscriptionsResponsePlanInformation.java @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponsePlanInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); - sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (billingPeriod != null) sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); + if (billingCycles != null) sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponsePlanInformationBillingCycles.java b/src/main/java/Model/GetAllSubscriptionsResponsePlanInformationBillingCycles.java index abb1ff674..e672611ee 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponsePlanInformationBillingCycles.java +++ b/src/main/java/Model/GetAllSubscriptionsResponsePlanInformationBillingCycles.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponsePlanInformationBillingCycles {\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); - sb.append(" current: ").append(toIndentedString(current)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (current != null) sb.append(" current: ").append(toIndentedString(current)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponseSubscriptionInformation.java b/src/main/java/Model/GetAllSubscriptionsResponseSubscriptionInformation.java index e2601307e..ec1d907ed 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponseSubscriptionInformation.java +++ b/src/main/java/Model/GetAllSubscriptionsResponseSubscriptionInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponseSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (planId != null) sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (startDate != null) sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java b/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java index f36cad4a4..b1b99a827 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java +++ b/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetAllSubscriptionsResponseSubscriptions {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetPlanCodeResponse.java b/src/main/java/Model/GetPlanCodeResponse.java index dae392005..b435d8558 100644 --- a/src/main/java/Model/GetPlanCodeResponse.java +++ b/src/main/java/Model/GetPlanCodeResponse.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetPlanCodeResponse {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetPlanResponse.java b/src/main/java/Model/GetPlanResponse.java index 867c8df4f..ca242af48 100644 --- a/src/main/java/Model/GetPlanResponse.java +++ b/src/main/java/Model/GetPlanResponse.java @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetPlanResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetSubscriptionCodeResponse.java b/src/main/java/Model/GetSubscriptionCodeResponse.java index 5daf58109..27a53255b 100644 --- a/src/main/java/Model/GetSubscriptionCodeResponse.java +++ b/src/main/java/Model/GetSubscriptionCodeResponse.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetSubscriptionCodeResponse {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/GetSubscriptionResponse.java b/src/main/java/Model/GetSubscriptionResponse.java index 880c7baa8..6cf7e5067 100644 --- a/src/main/java/Model/GetSubscriptionResponse.java +++ b/src/main/java/Model/GetSubscriptionResponse.java @@ -211,13 +211,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetSubscriptionResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -228,10 +228,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/IncrementAuthRequest.java b/src/main/java/Model/IncrementAuthRequest.java index 031d2d1f8..f3096de56 100644 --- a/src/main/java/Model/IncrementAuthRequest.java +++ b/src/main/java/Model/IncrementAuthRequest.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class IncrementAuthRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200.java b/src/main/java/Model/InlineResponse200.java index 8f3c0e3dc..d06347004 100644 --- a/src/main/java/Model/InlineResponse200.java +++ b/src/main/java/Model/InlineResponse200.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200 {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2001.java b/src/main/java/Model/InlineResponse2001.java index f58216672..720c79aba 100644 --- a/src/main/java/Model/InlineResponse2001.java +++ b/src/main/java/Model/InlineResponse2001.java @@ -232,13 +232,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2001 {\n"); - sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); - sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); - sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); - sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); - sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); - sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); + if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (productInformation != null) sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); + if (productInformationSetups != null) sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); + if (documentInformation != null) sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -249,10 +249,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2001IntegrationInformation.java b/src/main/java/Model/InlineResponse2001IntegrationInformation.java index 674be3c73..f4557bcfa 100644 --- a/src/main/java/Model/InlineResponse2001IntegrationInformation.java +++ b/src/main/java/Model/InlineResponse2001IntegrationInformation.java @@ -116,8 +116,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2001IntegrationInformation {\n"); - sb.append(" oauth2: ").append(toIndentedString(oauth2)).append("\n"); - sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); + if (oauth2 != null) sb.append(" oauth2: ").append(toIndentedString(oauth2)).append("\n"); + if (tenantConfigurations != null) sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -128,10 +128,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2001IntegrationInformationTenantConfigurations.java b/src/main/java/Model/InlineResponse2001IntegrationInformationTenantConfigurations.java index eeda8f719..cf65b31d3 100644 --- a/src/main/java/Model/InlineResponse2001IntegrationInformationTenantConfigurations.java +++ b/src/main/java/Model/InlineResponse2001IntegrationInformationTenantConfigurations.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2001IntegrationInformationTenantConfigurations {\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" tenantConfigurationId: ").append(toIndentedString(tenantConfigurationId)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" tenantInformation: ").append(toIndentedString(tenantInformation)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (tenantConfigurationId != null) sb.append(" tenantConfigurationId: ").append(toIndentedString(tenantConfigurationId)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (tenantInformation != null) sb.append(" tenantInformation: ").append(toIndentedString(tenantInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2002.java b/src/main/java/Model/InlineResponse2002.java index f908ecc34..aa2c6173b 100644 --- a/src/main/java/Model/InlineResponse2002.java +++ b/src/main/java/Model/InlineResponse2002.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2002 {\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2003.java b/src/main/java/Model/InlineResponse2003.java index cd16304c8..660df7067 100644 --- a/src/main/java/Model/InlineResponse2003.java +++ b/src/main/java/Model/InlineResponse2003.java @@ -383,20 +383,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2003 {\n"); - sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" products: ").append(toIndentedString(products)).append("\n"); - sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); - sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); + if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); + if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); + if (additionalAttributes != null) sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -407,10 +407,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2004.java b/src/main/java/Model/InlineResponse2004.java index 7f359ea06..766ee9687 100644 --- a/src/main/java/Model/InlineResponse2004.java +++ b/src/main/java/Model/InlineResponse2004.java @@ -383,20 +383,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2004 {\n"); - sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" products: ").append(toIndentedString(products)).append("\n"); - sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); - sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); + if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); + if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); + if (additionalAttributes != null) sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -407,10 +407,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005.java b/src/main/java/Model/InlineResponse2005.java index 62d0b95f9..f7bd3783c 100644 --- a/src/main/java/Model/InlineResponse2005.java +++ b/src/main/java/Model/InlineResponse2005.java @@ -218,13 +218,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005 {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -235,10 +235,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005Embedded.java b/src/main/java/Model/InlineResponse2005Embedded.java index 9b014a7fa..964c80dac 100644 --- a/src/main/java/Model/InlineResponse2005Embedded.java +++ b/src/main/java/Model/InlineResponse2005Embedded.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005Embedded {\n"); - sb.append(" batches: ").append(toIndentedString(batches)).append("\n"); + if (batches != null) sb.append(" batches: ").append(toIndentedString(batches)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005EmbeddedBatches.java b/src/main/java/Model/InlineResponse2005EmbeddedBatches.java index 8ece17ed2..cdd0a94dc 100644 --- a/src/main/java/Model/InlineResponse2005EmbeddedBatches.java +++ b/src/main/java/Model/InlineResponse2005EmbeddedBatches.java @@ -284,16 +284,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005EmbeddedBatches {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); - sb.append(" batchModifiedDate: ").append(toIndentedString(batchModifiedDate)).append("\n"); - sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - sb.append(" tokenSource: ").append(toIndentedString(tokenSource)).append("\n"); - sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); - sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); + if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (batchModifiedDate != null) sb.append(" batchModifiedDate: ").append(toIndentedString(batchModifiedDate)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); + if (tokenSource != null) sb.append(" tokenSource: ").append(toIndentedString(tokenSource)).append("\n"); + if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); sb.append("}"); return sb.toString(); } @@ -304,10 +304,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005EmbeddedLinks.java b/src/main/java/Model/InlineResponse2005EmbeddedLinks.java index addfa50b4..c66250182 100644 --- a/src/main/java/Model/InlineResponse2005EmbeddedLinks.java +++ b/src/main/java/Model/InlineResponse2005EmbeddedLinks.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005EmbeddedLinks {\n"); - sb.append(" reports: ").append(toIndentedString(reports)).append("\n"); + if (reports != null) sb.append(" reports: ").append(toIndentedString(reports)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005EmbeddedLinksReports.java b/src/main/java/Model/InlineResponse2005EmbeddedLinksReports.java index f380d5f08..2ee924292 100644 --- a/src/main/java/Model/InlineResponse2005EmbeddedLinksReports.java +++ b/src/main/java/Model/InlineResponse2005EmbeddedLinksReports.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005EmbeddedLinksReports {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005EmbeddedTotals.java b/src/main/java/Model/InlineResponse2005EmbeddedTotals.java index 1a79d8814..50c3a9a1e 100644 --- a/src/main/java/Model/InlineResponse2005EmbeddedTotals.java +++ b/src/main/java/Model/InlineResponse2005EmbeddedTotals.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005EmbeddedTotals {\n"); - sb.append(" acceptedRecords: ").append(toIndentedString(acceptedRecords)).append("\n"); - sb.append(" rejectedRecords: ").append(toIndentedString(rejectedRecords)).append("\n"); - sb.append(" updatedRecords: ").append(toIndentedString(updatedRecords)).append("\n"); - sb.append(" caResponses: ").append(toIndentedString(caResponses)).append("\n"); - sb.append(" caResponsesOmitted: ").append(toIndentedString(caResponsesOmitted)).append("\n"); + if (acceptedRecords != null) sb.append(" acceptedRecords: ").append(toIndentedString(acceptedRecords)).append("\n"); + if (rejectedRecords != null) sb.append(" rejectedRecords: ").append(toIndentedString(rejectedRecords)).append("\n"); + if (updatedRecords != null) sb.append(" updatedRecords: ").append(toIndentedString(updatedRecords)).append("\n"); + if (caResponses != null) sb.append(" caResponses: ").append(toIndentedString(caResponses)).append("\n"); + if (caResponsesOmitted != null) sb.append(" caResponsesOmitted: ").append(toIndentedString(caResponsesOmitted)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2005Links.java b/src/main/java/Model/InlineResponse2005Links.java index a95ddf363..0e762e935 100644 --- a/src/main/java/Model/InlineResponse2005Links.java +++ b/src/main/java/Model/InlineResponse2005Links.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005Links {\n"); - sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (rel != null) sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2006.java b/src/main/java/Model/InlineResponse2006.java index 26b800cf2..7acae4882 100644 --- a/src/main/java/Model/InlineResponse2006.java +++ b/src/main/java/Model/InlineResponse2006.java @@ -275,16 +275,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2006 {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); - sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); - sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); - sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); + if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); + if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); + if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append("}"); return sb.toString(); } @@ -295,10 +295,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2006Billing.java b/src/main/java/Model/InlineResponse2006Billing.java index 6c8700428..6d497f287 100644 --- a/src/main/java/Model/InlineResponse2006Billing.java +++ b/src/main/java/Model/InlineResponse2006Billing.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2006Billing {\n"); - sb.append(" nan: ").append(toIndentedString(nan)).append("\n"); - sb.append(" ned: ").append(toIndentedString(ned)).append("\n"); - sb.append(" acl: ").append(toIndentedString(acl)).append("\n"); - sb.append(" cch: ").append(toIndentedString(cch)).append("\n"); + if (nan != null) sb.append(" nan: ").append(toIndentedString(nan)).append("\n"); + if (ned != null) sb.append(" ned: ").append(toIndentedString(ned)).append("\n"); + if (acl != null) sb.append(" acl: ").append(toIndentedString(acl)).append("\n"); + if (cch != null) sb.append(" cch: ").append(toIndentedString(cch)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2006Links.java b/src/main/java/Model/InlineResponse2006Links.java index f6a412f73..336502496 100644 --- a/src/main/java/Model/InlineResponse2006Links.java +++ b/src/main/java/Model/InlineResponse2006Links.java @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2006Links {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" report: ").append(toIndentedString(report)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (report != null) sb.append(" report: ").append(toIndentedString(report)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2006LinksReport.java b/src/main/java/Model/InlineResponse2006LinksReport.java index c58e8be9a..369566b12 100644 --- a/src/main/java/Model/InlineResponse2006LinksReport.java +++ b/src/main/java/Model/InlineResponse2006LinksReport.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2006LinksReport {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2007.java b/src/main/java/Model/InlineResponse2007.java index 0b9f9197e..fa2ec54d6 100644 --- a/src/main/java/Model/InlineResponse2007.java +++ b/src/main/java/Model/InlineResponse2007.java @@ -285,16 +285,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007 {\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" reportCreatedDate: ").append(toIndentedString(reportCreatedDate)).append("\n"); - sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); - sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); - sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); - sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); - sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); - sb.append(" records: ").append(toIndentedString(records)).append("\n"); + if (version != null) sb.append(" version: ").append(toIndentedString(version)).append("\n"); + if (reportCreatedDate != null) sb.append(" reportCreatedDate: ").append(toIndentedString(reportCreatedDate)).append("\n"); + if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); + if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); + if (records != null) sb.append(" records: ").append(toIndentedString(records)).append("\n"); sb.append("}"); return sb.toString(); } @@ -305,10 +305,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2007Records.java b/src/main/java/Model/InlineResponse2007Records.java index 056381af1..2ca757891 100644 --- a/src/main/java/Model/InlineResponse2007Records.java +++ b/src/main/java/Model/InlineResponse2007Records.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007Records {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" sourceRecord: ").append(toIndentedString(sourceRecord)).append("\n"); - sb.append(" responseRecord: ").append(toIndentedString(responseRecord)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (sourceRecord != null) sb.append(" sourceRecord: ").append(toIndentedString(sourceRecord)).append("\n"); + if (responseRecord != null) sb.append(" responseRecord: ").append(toIndentedString(responseRecord)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2007ResponseRecord.java b/src/main/java/Model/InlineResponse2007ResponseRecord.java index 681e3e74b..ea0d8d2b0 100644 --- a/src/main/java/Model/InlineResponse2007ResponseRecord.java +++ b/src/main/java/Model/InlineResponse2007ResponseRecord.java @@ -283,16 +283,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007ResponseRecord {\n"); - sb.append(" response: ").append(toIndentedString(response)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" instrumentIdentifierId: ").append(toIndentedString(instrumentIdentifierId)).append("\n"); - sb.append(" instrumentIdentifierCreated: ").append(toIndentedString(instrumentIdentifierCreated)).append("\n"); - sb.append(" cardNumber: ").append(toIndentedString(cardNumber)).append("\n"); - sb.append(" cardExpiryMonth: ").append(toIndentedString(cardExpiryMonth)).append("\n"); - sb.append(" cardExpiryYear: ").append(toIndentedString(cardExpiryYear)).append("\n"); - sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); - sb.append(" additionalUpdates: ").append(toIndentedString(additionalUpdates)).append("\n"); + if (response != null) sb.append(" response: ").append(toIndentedString(response)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (token != null) sb.append(" token: ").append(toIndentedString(token)).append("\n"); + if (instrumentIdentifierId != null) sb.append(" instrumentIdentifierId: ").append(toIndentedString(instrumentIdentifierId)).append("\n"); + if (instrumentIdentifierCreated != null) sb.append(" instrumentIdentifierCreated: ").append(toIndentedString(instrumentIdentifierCreated)).append("\n"); + if (cardNumber != null) sb.append(" cardNumber: ").append(toIndentedString(cardNumber)).append("\n"); + if (cardExpiryMonth != null) sb.append(" cardExpiryMonth: ").append(toIndentedString(cardExpiryMonth)).append("\n"); + if (cardExpiryYear != null) sb.append(" cardExpiryYear: ").append(toIndentedString(cardExpiryYear)).append("\n"); + if (cardType != null) sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); + if (additionalUpdates != null) sb.append(" additionalUpdates: ").append(toIndentedString(additionalUpdates)).append("\n"); sb.append("}"); return sb.toString(); } @@ -303,10 +303,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2007ResponseRecordAdditionalUpdates.java b/src/main/java/Model/InlineResponse2007ResponseRecordAdditionalUpdates.java index 5d43de52d..6436f1414 100644 --- a/src/main/java/Model/InlineResponse2007ResponseRecordAdditionalUpdates.java +++ b/src/main/java/Model/InlineResponse2007ResponseRecordAdditionalUpdates.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007ResponseRecordAdditionalUpdates {\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); - sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (paymentInstrumentId != null) sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); + if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2007SourceRecord.java b/src/main/java/Model/InlineResponse2007SourceRecord.java index d59c56ab1..b215edbf3 100644 --- a/src/main/java/Model/InlineResponse2007SourceRecord.java +++ b/src/main/java/Model/InlineResponse2007SourceRecord.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007SourceRecord {\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); - sb.append(" instrumentIdentifierId: ").append(toIndentedString(instrumentIdentifierId)).append("\n"); - sb.append(" cardNumber: ").append(toIndentedString(cardNumber)).append("\n"); - sb.append(" cardExpiryMonth: ").append(toIndentedString(cardExpiryMonth)).append("\n"); - sb.append(" cardExpiryYear: ").append(toIndentedString(cardExpiryYear)).append("\n"); - sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); + if (token != null) sb.append(" token: ").append(toIndentedString(token)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (paymentInstrumentId != null) sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); + if (instrumentIdentifierId != null) sb.append(" instrumentIdentifierId: ").append(toIndentedString(instrumentIdentifierId)).append("\n"); + if (cardNumber != null) sb.append(" cardNumber: ").append(toIndentedString(cardNumber)).append("\n"); + if (cardExpiryMonth != null) sb.append(" cardExpiryMonth: ").append(toIndentedString(cardExpiryMonth)).append("\n"); + if (cardExpiryYear != null) sb.append(" cardExpiryYear: ").append(toIndentedString(cardExpiryYear)).append("\n"); + if (cardType != null) sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200Embedded.java b/src/main/java/Model/InlineResponse200Embedded.java index f6b6f95e7..a4ac2d7b5 100644 --- a/src/main/java/Model/InlineResponse200Embedded.java +++ b/src/main/java/Model/InlineResponse200Embedded.java @@ -99,8 +99,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200Embedded {\n"); - sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); - sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); + if (capture != null) sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); + if (reversal != null) sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); sb.append("}"); return sb.toString(); } @@ -111,10 +111,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200EmbeddedCapture.java b/src/main/java/Model/InlineResponse200EmbeddedCapture.java index 08af23603..45ffa8bbb 100644 --- a/src/main/java/Model/InlineResponse200EmbeddedCapture.java +++ b/src/main/java/Model/InlineResponse200EmbeddedCapture.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200EmbeddedCapture {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200EmbeddedCaptureLinks.java b/src/main/java/Model/InlineResponse200EmbeddedCaptureLinks.java index 330099d47..efa224784 100644 --- a/src/main/java/Model/InlineResponse200EmbeddedCaptureLinks.java +++ b/src/main/java/Model/InlineResponse200EmbeddedCaptureLinks.java @@ -76,7 +76,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200EmbeddedCaptureLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -87,10 +87,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200EmbeddedCaptureLinksSelf.java b/src/main/java/Model/InlineResponse200EmbeddedCaptureLinksSelf.java index 2de2bae72..95ff3303d 100644 --- a/src/main/java/Model/InlineResponse200EmbeddedCaptureLinksSelf.java +++ b/src/main/java/Model/InlineResponse200EmbeddedCaptureLinksSelf.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200EmbeddedCaptureLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200EmbeddedReversal.java b/src/main/java/Model/InlineResponse200EmbeddedReversal.java index a2ff4b97c..99caee4c3 100644 --- a/src/main/java/Model/InlineResponse200EmbeddedReversal.java +++ b/src/main/java/Model/InlineResponse200EmbeddedReversal.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200EmbeddedReversal {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200EmbeddedReversalLinks.java b/src/main/java/Model/InlineResponse200EmbeddedReversalLinks.java index c82ee3a75..cb8e37308 100644 --- a/src/main/java/Model/InlineResponse200EmbeddedReversalLinks.java +++ b/src/main/java/Model/InlineResponse200EmbeddedReversalLinks.java @@ -76,7 +76,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200EmbeddedReversalLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -87,10 +87,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse200EmbeddedReversalLinksSelf.java b/src/main/java/Model/InlineResponse200EmbeddedReversalLinksSelf.java index 68bab1468..456005cef 100644 --- a/src/main/java/Model/InlineResponse200EmbeddedReversalLinksSelf.java +++ b/src/main/java/Model/InlineResponse200EmbeddedReversalLinksSelf.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200EmbeddedReversalLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse201.java b/src/main/java/Model/InlineResponse201.java index ea5b4209d..98ab9e66b 100644 --- a/src/main/java/Model/InlineResponse201.java +++ b/src/main/java/Model/InlineResponse201.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse201 {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011.java b/src/main/java/Model/InlineResponse2011.java index eff98dccd..41df13807 100644 --- a/src/main/java/Model/InlineResponse2011.java +++ b/src/main/java/Model/InlineResponse2011.java @@ -187,12 +187,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011 {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" paymentAccountInformation: ").append(toIndentedString(paymentAccountInformation)).append("\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" payoutInformation: ").append(toIndentedString(payoutInformation)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (paymentAccountInformation != null) sb.append(" paymentAccountInformation: ").append(toIndentedString(paymentAccountInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (payoutInformation != null) sb.append(" payoutInformation: ").append(toIndentedString(payoutInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -203,10 +203,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011IssuerInformation.java b/src/main/java/Model/InlineResponse2011IssuerInformation.java index 388de227c..67aa61521 100644 --- a/src/main/java/Model/InlineResponse2011IssuerInformation.java +++ b/src/main/java/Model/InlineResponse2011IssuerInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011IssuerInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" binLength: ").append(toIndentedString(binLength)).append("\n"); - sb.append(" accountPrefix: ").append(toIndentedString(accountPrefix)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (binLength != null) sb.append(" binLength: ").append(toIndentedString(binLength)).append("\n"); + if (accountPrefix != null) sb.append(" accountPrefix: ").append(toIndentedString(accountPrefix)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformation.java b/src/main/java/Model/InlineResponse2011PaymentAccountInformation.java index 33ce827aa..c99ff2f0c 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformation.java +++ b/src/main/java/Model/InlineResponse2011PaymentAccountInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PaymentAccountInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); - sb.append(" network: ").append(toIndentedString(network)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java b/src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java index efc89f48e..e1a8daca3 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java +++ b/src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java @@ -195,12 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PaymentAccountInformationCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" maxLength: ").append(toIndentedString(maxLength)).append("\n"); - sb.append(" credentialType: ").append(toIndentedString(credentialType)).append("\n"); - sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (brandName != null) sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (maxLength != null) sb.append(" maxLength: ").append(toIndentedString(maxLength)).append("\n"); + if (credentialType != null) sb.append(" credentialType: ").append(toIndentedString(credentialType)).append("\n"); + if (brands != null) sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); sb.append("}"); return sb.toString(); } @@ -211,10 +211,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java b/src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java index 00d3c0b81..5fdbaec81 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java +++ b/src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PaymentAccountInformationCardBrands {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (brandName != null) sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java b/src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java index f700f2749..eadeb1ece 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java +++ b/src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java @@ -192,7 +192,7 @@ public InlineResponse2011PaymentAccountInformationFeatures corporatePurchase(Boo * @return corporatePurchase **/ @ApiModelProperty(value = "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards. Possible values: - `true` - `false` ") - public Boolean isCorporatePurchase() { + public Boolean CorporatePurchase() { return corporatePurchase; } @@ -210,7 +210,7 @@ public InlineResponse2011PaymentAccountInformationFeatures healthCard(Boolean he * @return healthCard **/ @ApiModelProperty(value = "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs. Possible values: - `true` - `false` ") - public Boolean isHealthCard() { + public Boolean HealthCard() { return healthCard; } @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PaymentAccountInformationFeatures {\n"); - sb.append(" accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n"); - sb.append(" accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n"); - sb.append(" cardProduct: ").append(toIndentedString(cardProduct)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" acceptanceLevel: ").append(toIndentedString(acceptanceLevel)).append("\n"); - sb.append(" cardPlatform: ").append(toIndentedString(cardPlatform)).append("\n"); - sb.append(" comboCard: ").append(toIndentedString(comboCard)).append("\n"); - sb.append(" corporatePurchase: ").append(toIndentedString(corporatePurchase)).append("\n"); - sb.append(" healthCard: ").append(toIndentedString(healthCard)).append("\n"); + if (accountFundingSource != null) sb.append(" accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n"); + if (accountFundingSourceSubType != null) sb.append(" accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n"); + if (cardProduct != null) sb.append(" cardProduct: ").append(toIndentedString(cardProduct)).append("\n"); + if (messageType != null) sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + if (acceptanceLevel != null) sb.append(" acceptanceLevel: ").append(toIndentedString(acceptanceLevel)).append("\n"); + if (cardPlatform != null) sb.append(" cardPlatform: ").append(toIndentedString(cardPlatform)).append("\n"); + if (comboCard != null) sb.append(" comboCard: ").append(toIndentedString(comboCard)).append("\n"); + if (corporatePurchase != null) sb.append(" corporatePurchase: ").append(toIndentedString(corporatePurchase)).append("\n"); + if (healthCard != null) sb.append(" healthCard: ").append(toIndentedString(healthCard)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java b/src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java index 800edae72..adaf403d6 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java +++ b/src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PaymentAccountInformationNetwork {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PayoutInformation.java b/src/main/java/Model/InlineResponse2011PayoutInformation.java index 7bb707e56..cdf4184b7 100644 --- a/src/main/java/Model/InlineResponse2011PayoutInformation.java +++ b/src/main/java/Model/InlineResponse2011PayoutInformation.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PayoutInformation {\n"); - sb.append(" pushFunds: ").append(toIndentedString(pushFunds)).append("\n"); - sb.append(" pullFunds: ").append(toIndentedString(pullFunds)).append("\n"); - sb.append(" geoRestrictionIndicator: ").append(toIndentedString(geoRestrictionIndicator)).append("\n"); + if (pushFunds != null) sb.append(" pushFunds: ").append(toIndentedString(pushFunds)).append("\n"); + if (pullFunds != null) sb.append(" pullFunds: ").append(toIndentedString(pullFunds)).append("\n"); + if (geoRestrictionIndicator != null) sb.append(" geoRestrictionIndicator: ").append(toIndentedString(geoRestrictionIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PayoutInformationPullFunds.java b/src/main/java/Model/InlineResponse2011PayoutInformationPullFunds.java index 45e9b887a..3a1b02712 100644 --- a/src/main/java/Model/InlineResponse2011PayoutInformationPullFunds.java +++ b/src/main/java/Model/InlineResponse2011PayoutInformationPullFunds.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PayoutInformationPullFunds {\n"); - sb.append(" domesticParticipant: ").append(toIndentedString(domesticParticipant)).append("\n"); - sb.append(" crossBorderParticipant: ").append(toIndentedString(crossBorderParticipant)).append("\n"); + if (domesticParticipant != null) sb.append(" domesticParticipant: ").append(toIndentedString(domesticParticipant)).append("\n"); + if (crossBorderParticipant != null) sb.append(" crossBorderParticipant: ").append(toIndentedString(crossBorderParticipant)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2011PayoutInformationPushFunds.java b/src/main/java/Model/InlineResponse2011PayoutInformationPushFunds.java index 253540b23..589dc67dd 100644 --- a/src/main/java/Model/InlineResponse2011PayoutInformationPushFunds.java +++ b/src/main/java/Model/InlineResponse2011PayoutInformationPushFunds.java @@ -360,20 +360,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2011PayoutInformationPushFunds {\n"); - sb.append(" moneyTransferFastFundsCrossBorder: ").append(toIndentedString(moneyTransferFastFundsCrossBorder)).append("\n"); - sb.append(" moneyTransferFastFundsDomestic: ").append(toIndentedString(moneyTransferFastFundsDomestic)).append("\n"); - sb.append(" moneyTransferCrossBorder: ").append(toIndentedString(moneyTransferCrossBorder)).append("\n"); - sb.append(" moneyTransferDomestic: ").append(toIndentedString(moneyTransferDomestic)).append("\n"); - sb.append(" nonMoneyTransferFastFundsCrossBorder: ").append(toIndentedString(nonMoneyTransferFastFundsCrossBorder)).append("\n"); - sb.append(" nonMoneyTransferFastFundsDomestic: ").append(toIndentedString(nonMoneyTransferFastFundsDomestic)).append("\n"); - sb.append(" nonMoneyTransferCrossBorder: ").append(toIndentedString(nonMoneyTransferCrossBorder)).append("\n"); - sb.append(" nonMoneyTransferDomestic: ").append(toIndentedString(nonMoneyTransferDomestic)).append("\n"); - sb.append(" onlineGamblingFastFundsCrossBorder: ").append(toIndentedString(onlineGamblingFastFundsCrossBorder)).append("\n"); - sb.append(" onlineGamblingFastFundsDomestic: ").append(toIndentedString(onlineGamblingFastFundsDomestic)).append("\n"); - sb.append(" onlineGamblingCrossBorder: ").append(toIndentedString(onlineGamblingCrossBorder)).append("\n"); - sb.append(" onlineGamblingDomestic: ").append(toIndentedString(onlineGamblingDomestic)).append("\n"); - sb.append(" domesticParticipant: ").append(toIndentedString(domesticParticipant)).append("\n"); - sb.append(" crossBorderParticipant: ").append(toIndentedString(crossBorderParticipant)).append("\n"); + if (moneyTransferFastFundsCrossBorder != null) sb.append(" moneyTransferFastFundsCrossBorder: ").append(toIndentedString(moneyTransferFastFundsCrossBorder)).append("\n"); + if (moneyTransferFastFundsDomestic != null) sb.append(" moneyTransferFastFundsDomestic: ").append(toIndentedString(moneyTransferFastFundsDomestic)).append("\n"); + if (moneyTransferCrossBorder != null) sb.append(" moneyTransferCrossBorder: ").append(toIndentedString(moneyTransferCrossBorder)).append("\n"); + if (moneyTransferDomestic != null) sb.append(" moneyTransferDomestic: ").append(toIndentedString(moneyTransferDomestic)).append("\n"); + if (nonMoneyTransferFastFundsCrossBorder != null) sb.append(" nonMoneyTransferFastFundsCrossBorder: ").append(toIndentedString(nonMoneyTransferFastFundsCrossBorder)).append("\n"); + if (nonMoneyTransferFastFundsDomestic != null) sb.append(" nonMoneyTransferFastFundsDomestic: ").append(toIndentedString(nonMoneyTransferFastFundsDomestic)).append("\n"); + if (nonMoneyTransferCrossBorder != null) sb.append(" nonMoneyTransferCrossBorder: ").append(toIndentedString(nonMoneyTransferCrossBorder)).append("\n"); + if (nonMoneyTransferDomestic != null) sb.append(" nonMoneyTransferDomestic: ").append(toIndentedString(nonMoneyTransferDomestic)).append("\n"); + if (onlineGamblingFastFundsCrossBorder != null) sb.append(" onlineGamblingFastFundsCrossBorder: ").append(toIndentedString(onlineGamblingFastFundsCrossBorder)).append("\n"); + if (onlineGamblingFastFundsDomestic != null) sb.append(" onlineGamblingFastFundsDomestic: ").append(toIndentedString(onlineGamblingFastFundsDomestic)).append("\n"); + if (onlineGamblingCrossBorder != null) sb.append(" onlineGamblingCrossBorder: ").append(toIndentedString(onlineGamblingCrossBorder)).append("\n"); + if (onlineGamblingDomestic != null) sb.append(" onlineGamblingDomestic: ").append(toIndentedString(onlineGamblingDomestic)).append("\n"); + if (domesticParticipant != null) sb.append(" domesticParticipant: ").append(toIndentedString(domesticParticipant)).append("\n"); + if (crossBorderParticipant != null) sb.append(" crossBorderParticipant: ").append(toIndentedString(crossBorderParticipant)).append("\n"); sb.append("}"); return sb.toString(); } @@ -384,10 +384,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012.java b/src/main/java/Model/InlineResponse2012.java index 9adcc167d..fb3de2ce8 100644 --- a/src/main/java/Model/InlineResponse2012.java +++ b/src/main/java/Model/InlineResponse2012.java @@ -257,15 +257,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012 {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); - sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); - sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); - sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); + if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (productInformationSetups != null) sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -276,10 +276,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012IntegrationInformation.java b/src/main/java/Model/InlineResponse2012IntegrationInformation.java index 4291d1046..2457364f8 100644 --- a/src/main/java/Model/InlineResponse2012IntegrationInformation.java +++ b/src/main/java/Model/InlineResponse2012IntegrationInformation.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012IntegrationInformation {\n"); - sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); + if (tenantConfigurations != null) sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012IntegrationInformationTenantConfigurations.java b/src/main/java/Model/InlineResponse2012IntegrationInformationTenantConfigurations.java index 071035712..e75d93e62 100644 --- a/src/main/java/Model/InlineResponse2012IntegrationInformationTenantConfigurations.java +++ b/src/main/java/Model/InlineResponse2012IntegrationInformationTenantConfigurations.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012IntegrationInformationTenantConfigurations {\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" tenantConfigurationId: ").append(toIndentedString(tenantConfigurationId)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (tenantConfigurationId != null) sb.append(" tenantConfigurationId: ").append(toIndentedString(tenantConfigurationId)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012OrganizationInformation.java b/src/main/java/Model/InlineResponse2012OrganizationInformation.java index cf74774bd..a35317ea7 100644 --- a/src/main/java/Model/InlineResponse2012OrganizationInformation.java +++ b/src/main/java/Model/InlineResponse2012OrganizationInformation.java @@ -128,9 +128,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012OrganizationInformation {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" parentOrganizationId: ").append(toIndentedString(parentOrganizationId)).append("\n"); - sb.append(" childOrganizations: ").append(toIndentedString(childOrganizations)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (parentOrganizationId != null) sb.append(" parentOrganizationId: ").append(toIndentedString(parentOrganizationId)).append("\n"); + if (childOrganizations != null) sb.append(" childOrganizations: ").append(toIndentedString(childOrganizations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -141,10 +141,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012ProductInformationSetups.java b/src/main/java/Model/InlineResponse2012ProductInformationSetups.java index 04eebba9c..105219e5a 100644 --- a/src/main/java/Model/InlineResponse2012ProductInformationSetups.java +++ b/src/main/java/Model/InlineResponse2012ProductInformationSetups.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012ProductInformationSetups {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" setups: ").append(toIndentedString(setups)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (setups != null) sb.append(" setups: ").append(toIndentedString(setups)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012RegistrationInformation.java b/src/main/java/Model/InlineResponse2012RegistrationInformation.java index 3f5aa3dfa..cb54af113 100644 --- a/src/main/java/Model/InlineResponse2012RegistrationInformation.java +++ b/src/main/java/Model/InlineResponse2012RegistrationInformation.java @@ -109,9 +109,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012RegistrationInformation {\n"); - sb.append(" boardingPackageId: ").append(toIndentedString(boardingPackageId)).append("\n"); - sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); - sb.append(" salesRepId: ").append(toIndentedString(salesRepId)).append("\n"); + if (boardingPackageId != null) sb.append(" boardingPackageId: ").append(toIndentedString(boardingPackageId)).append("\n"); + if (mode != null) sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); + if (salesRepId != null) sb.append(" salesRepId: ").append(toIndentedString(salesRepId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -122,10 +122,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012Setups.java b/src/main/java/Model/InlineResponse2012Setups.java index 72feb7fa2..96fe90985 100644 --- a/src/main/java/Model/InlineResponse2012Setups.java +++ b/src/main/java/Model/InlineResponse2012Setups.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012Setups {\n"); - sb.append(" payments: ").append(toIndentedString(payments)).append("\n"); - sb.append(" risk: ").append(toIndentedString(risk)).append("\n"); - sb.append(" commerceSolutions: ").append(toIndentedString(commerceSolutions)).append("\n"); - sb.append(" valueAddedServices: ").append(toIndentedString(valueAddedServices)).append("\n"); + if (payments != null) sb.append(" payments: ").append(toIndentedString(payments)).append("\n"); + if (risk != null) sb.append(" risk: ").append(toIndentedString(risk)).append("\n"); + if (commerceSolutions != null) sb.append(" commerceSolutions: ").append(toIndentedString(commerceSolutions)).append("\n"); + if (valueAddedServices != null) sb.append(" valueAddedServices: ").append(toIndentedString(valueAddedServices)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsCommerceSolutions.java b/src/main/java/Model/InlineResponse2012SetupsCommerceSolutions.java index bdcfd8f4b..828592dca 100644 --- a/src/main/java/Model/InlineResponse2012SetupsCommerceSolutions.java +++ b/src/main/java/Model/InlineResponse2012SetupsCommerceSolutions.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsCommerceSolutions {\n"); - sb.append(" tokenManagement: ").append(toIndentedString(tokenManagement)).append("\n"); - sb.append(" accountUpdater: ").append(toIndentedString(accountUpdater)).append("\n"); - sb.append(" binLookup: ").append(toIndentedString(binLookup)).append("\n"); + if (tokenManagement != null) sb.append(" tokenManagement: ").append(toIndentedString(tokenManagement)).append("\n"); + if (accountUpdater != null) sb.append(" accountUpdater: ").append(toIndentedString(accountUpdater)).append("\n"); + if (binLookup != null) sb.append(" binLookup: ").append(toIndentedString(binLookup)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsPayments.java b/src/main/java/Model/InlineResponse2012SetupsPayments.java index a208e28b6..f3d060a77 100644 --- a/src/main/java/Model/InlineResponse2012SetupsPayments.java +++ b/src/main/java/Model/InlineResponse2012SetupsPayments.java @@ -450,24 +450,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsPayments {\n"); - sb.append(" cardProcessing: ").append(toIndentedString(cardProcessing)).append("\n"); - sb.append(" cardPresentConnect: ").append(toIndentedString(cardPresentConnect)).append("\n"); - sb.append(" eCheck: ").append(toIndentedString(eCheck)).append("\n"); - sb.append(" payerAuthentication: ").append(toIndentedString(payerAuthentication)).append("\n"); - sb.append(" digitalPayments: ").append(toIndentedString(digitalPayments)).append("\n"); - sb.append(" secureAcceptance: ").append(toIndentedString(secureAcceptance)).append("\n"); - sb.append(" virtualTerminal: ").append(toIndentedString(virtualTerminal)).append("\n"); - sb.append(" currencyConversion: ").append(toIndentedString(currencyConversion)).append("\n"); - sb.append(" tax: ").append(toIndentedString(tax)).append("\n"); - sb.append(" customerInvoicing: ").append(toIndentedString(customerInvoicing)).append("\n"); - sb.append(" recurringBilling: ").append(toIndentedString(recurringBilling)).append("\n"); - sb.append(" cybsReadyTerminal: ").append(toIndentedString(cybsReadyTerminal)).append("\n"); - sb.append(" paymentOrchestration: ").append(toIndentedString(paymentOrchestration)).append("\n"); - sb.append(" payouts: ").append(toIndentedString(payouts)).append("\n"); - sb.append(" payByLink: ").append(toIndentedString(payByLink)).append("\n"); - sb.append(" unifiedCheckout: ").append(toIndentedString(unifiedCheckout)).append("\n"); - sb.append(" receivablesManager: ").append(toIndentedString(receivablesManager)).append("\n"); - sb.append(" serviceFee: ").append(toIndentedString(serviceFee)).append("\n"); + if (cardProcessing != null) sb.append(" cardProcessing: ").append(toIndentedString(cardProcessing)).append("\n"); + if (cardPresentConnect != null) sb.append(" cardPresentConnect: ").append(toIndentedString(cardPresentConnect)).append("\n"); + if (eCheck != null) sb.append(" eCheck: ").append(toIndentedString(eCheck)).append("\n"); + if (payerAuthentication != null) sb.append(" payerAuthentication: ").append(toIndentedString(payerAuthentication)).append("\n"); + if (digitalPayments != null) sb.append(" digitalPayments: ").append(toIndentedString(digitalPayments)).append("\n"); + if (secureAcceptance != null) sb.append(" secureAcceptance: ").append(toIndentedString(secureAcceptance)).append("\n"); + if (virtualTerminal != null) sb.append(" virtualTerminal: ").append(toIndentedString(virtualTerminal)).append("\n"); + if (currencyConversion != null) sb.append(" currencyConversion: ").append(toIndentedString(currencyConversion)).append("\n"); + if (tax != null) sb.append(" tax: ").append(toIndentedString(tax)).append("\n"); + if (customerInvoicing != null) sb.append(" customerInvoicing: ").append(toIndentedString(customerInvoicing)).append("\n"); + if (recurringBilling != null) sb.append(" recurringBilling: ").append(toIndentedString(recurringBilling)).append("\n"); + if (cybsReadyTerminal != null) sb.append(" cybsReadyTerminal: ").append(toIndentedString(cybsReadyTerminal)).append("\n"); + if (paymentOrchestration != null) sb.append(" paymentOrchestration: ").append(toIndentedString(paymentOrchestration)).append("\n"); + if (payouts != null) sb.append(" payouts: ").append(toIndentedString(payouts)).append("\n"); + if (payByLink != null) sb.append(" payByLink: ").append(toIndentedString(payByLink)).append("\n"); + if (unifiedCheckout != null) sb.append(" unifiedCheckout: ").append(toIndentedString(unifiedCheckout)).append("\n"); + if (receivablesManager != null) sb.append(" receivablesManager: ").append(toIndentedString(receivablesManager)).append("\n"); + if (serviceFee != null) sb.append(" serviceFee: ").append(toIndentedString(serviceFee)).append("\n"); sb.append("}"); return sb.toString(); } @@ -478,10 +478,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessing.java b/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessing.java index 4be80dc6f..990f2e946 100644 --- a/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessing.java +++ b/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessing.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsPaymentsCardProcessing {\n"); - sb.append(" subscriptionStatus: ").append(toIndentedString(subscriptionStatus)).append("\n"); - sb.append(" configurationStatus: ").append(toIndentedString(configurationStatus)).append("\n"); + if (subscriptionStatus != null) sb.append(" subscriptionStatus: ").append(toIndentedString(subscriptionStatus)).append("\n"); + if (configurationStatus != null) sb.append(" configurationStatus: ").append(toIndentedString(configurationStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingConfigurationStatus.java b/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingConfigurationStatus.java index 4ee4fdb8e..c4bd59321 100644 --- a/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingConfigurationStatus.java +++ b/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingConfigurationStatus.java @@ -218,13 +218,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsPaymentsCardProcessingConfigurationStatus {\n"); - sb.append(" configurationId: ").append(toIndentedString(configurationId)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (configurationId != null) sb.append(" configurationId: ").append(toIndentedString(configurationId)).append("\n"); + if (version != null) sb.append(" version: ").append(toIndentedString(version)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -235,10 +235,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingSubscriptionStatus.java b/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingSubscriptionStatus.java index 0261b9ca3..6998266c5 100644 --- a/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingSubscriptionStatus.java +++ b/src/main/java/Model/InlineResponse2012SetupsPaymentsCardProcessingSubscriptionStatus.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsPaymentsCardProcessingSubscriptionStatus {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsPaymentsDigitalPayments.java b/src/main/java/Model/InlineResponse2012SetupsPaymentsDigitalPayments.java index 0208bb8ac..40406f835 100644 --- a/src/main/java/Model/InlineResponse2012SetupsPaymentsDigitalPayments.java +++ b/src/main/java/Model/InlineResponse2012SetupsPaymentsDigitalPayments.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsPaymentsDigitalPayments {\n"); - sb.append(" subscriptionStatus: ").append(toIndentedString(subscriptionStatus)).append("\n"); + if (subscriptionStatus != null) sb.append(" subscriptionStatus: ").append(toIndentedString(subscriptionStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsRisk.java b/src/main/java/Model/InlineResponse2012SetupsRisk.java index 553228487..f786b7dc6 100644 --- a/src/main/java/Model/InlineResponse2012SetupsRisk.java +++ b/src/main/java/Model/InlineResponse2012SetupsRisk.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsRisk {\n"); - sb.append(" fraudManagementEssentials: ").append(toIndentedString(fraudManagementEssentials)).append("\n"); - sb.append(" decisionManager: ").append(toIndentedString(decisionManager)).append("\n"); + if (fraudManagementEssentials != null) sb.append(" fraudManagementEssentials: ").append(toIndentedString(fraudManagementEssentials)).append("\n"); + if (decisionManager != null) sb.append(" decisionManager: ").append(toIndentedString(decisionManager)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2012SetupsValueAddedServices.java b/src/main/java/Model/InlineResponse2012SetupsValueAddedServices.java index 0bcd598eb..9187f0923 100644 --- a/src/main/java/Model/InlineResponse2012SetupsValueAddedServices.java +++ b/src/main/java/Model/InlineResponse2012SetupsValueAddedServices.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2012SetupsValueAddedServices {\n"); - sb.append(" reporting: ").append(toIndentedString(reporting)).append("\n"); - sb.append(" transactionSearch: ").append(toIndentedString(transactionSearch)).append("\n"); + if (reporting != null) sb.append(" reporting: ").append(toIndentedString(reporting)).append("\n"); + if (transactionSearch != null) sb.append(" transactionSearch: ").append(toIndentedString(transactionSearch)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2013.java b/src/main/java/Model/InlineResponse2013.java index df0868ff1..956d116eb 100644 --- a/src/main/java/Model/InlineResponse2013.java +++ b/src/main/java/Model/InlineResponse2013.java @@ -143,10 +143,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2013 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (keyInformation != null) sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -157,10 +157,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2013KeyInformation.java b/src/main/java/Model/InlineResponse2013KeyInformation.java index 91ad738ee..37ecee09f 100644 --- a/src/main/java/Model/InlineResponse2013KeyInformation.java +++ b/src/main/java/Model/InlineResponse2013KeyInformation.java @@ -296,17 +296,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2013KeyInformation {\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); - sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" clientKeyId: ").append(toIndentedString(clientKeyId)).append("\n"); - sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + if (tenant != null) sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (clientKeyId != null) sb.append(" clientKeyId: ").append(toIndentedString(clientKeyId)).append("\n"); + if (keyId != null) sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); + if (key != null) sb.append(" key: ").append(toIndentedString(key)).append("\n"); + if (keyType != null) sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (expirationDate != null) sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -317,10 +317,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2013KeyInformationErrorInformation.java b/src/main/java/Model/InlineResponse2013KeyInformationErrorInformation.java index d65f803c9..91731ab3e 100644 --- a/src/main/java/Model/InlineResponse2013KeyInformationErrorInformation.java +++ b/src/main/java/Model/InlineResponse2013KeyInformationErrorInformation.java @@ -107,8 +107,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2013KeyInformationErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -119,10 +119,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2013KeyInformationErrorInformationDetails.java b/src/main/java/Model/InlineResponse2013KeyInformationErrorInformationDetails.java index fdcd29dff..61ea0370e 100644 --- a/src/main/java/Model/InlineResponse2013KeyInformationErrorInformationDetails.java +++ b/src/main/java/Model/InlineResponse2013KeyInformationErrorInformationDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2013KeyInformationErrorInformationDetails {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2014.java b/src/main/java/Model/InlineResponse2014.java index 766f6dc98..3c7a6baf9 100644 --- a/src/main/java/Model/InlineResponse2014.java +++ b/src/main/java/Model/InlineResponse2014.java @@ -404,21 +404,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2014 {\n"); - sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); - sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); - sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); + if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); + if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); + if (additionalAttributes != null) sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -429,10 +429,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse2015.java b/src/main/java/Model/InlineResponse2015.java index 5e5def644..17b879ee2 100644 --- a/src/main/java/Model/InlineResponse2015.java +++ b/src/main/java/Model/InlineResponse2015.java @@ -143,10 +143,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2015 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (keyInformation != null) sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -157,10 +157,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse202.java b/src/main/java/Model/InlineResponse202.java index db206ba41..510b2bd17 100644 --- a/src/main/java/Model/InlineResponse202.java +++ b/src/main/java/Model/InlineResponse202.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse202 {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - sb.append(" batchItemCount: ").append(toIndentedString(batchItemCount)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); + if (batchItemCount != null) sb.append(" batchItemCount: ").append(toIndentedString(batchItemCount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse202Links.java b/src/main/java/Model/InlineResponse202Links.java index 35a3b9b53..347be7b88 100644 --- a/src/main/java/Model/InlineResponse202Links.java +++ b/src/main/java/Model/InlineResponse202Links.java @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse202Links {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse202LinksStatus.java b/src/main/java/Model/InlineResponse202LinksStatus.java index 221e73ab8..1627a590e 100644 --- a/src/main/java/Model/InlineResponse202LinksStatus.java +++ b/src/main/java/Model/InlineResponse202LinksStatus.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse202LinksStatus {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse400.java b/src/main/java/Model/InlineResponse400.java index e21132cf9..4ff892a29 100644 --- a/src/main/java/Model/InlineResponse400.java +++ b/src/main/java/Model/InlineResponse400.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse400 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4001.java b/src/main/java/Model/InlineResponse4001.java index 6a9870a99..c3da432ad 100644 --- a/src/main/java/Model/InlineResponse4001.java +++ b/src/main/java/Model/InlineResponse4001.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4001 {\n"); - sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); - sb.append(" informationLink: ").append(toIndentedString(informationLink)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (correlationId != null) sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (informationLink != null) sb.append(" informationLink: ").append(toIndentedString(informationLink)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4001Details.java b/src/main/java/Model/InlineResponse4001Details.java index 047a19a5c..0a78bbe7d 100644 --- a/src/main/java/Model/InlineResponse4001Details.java +++ b/src/main/java/Model/InlineResponse4001Details.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4001Details {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4002.java b/src/main/java/Model/InlineResponse4002.java index a33d5e96e..194227986 100644 --- a/src/main/java/Model/InlineResponse4002.java +++ b/src/main/java/Model/InlineResponse4002.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4002 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4003.java b/src/main/java/Model/InlineResponse4003.java index 42815606c..36d8be41c 100644 --- a/src/main/java/Model/InlineResponse4003.java +++ b/src/main/java/Model/InlineResponse4003.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4003 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4004.java b/src/main/java/Model/InlineResponse4004.java index b821daa8b..6f4987345 100644 --- a/src/main/java/Model/InlineResponse4004.java +++ b/src/main/java/Model/InlineResponse4004.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4004 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4005.java b/src/main/java/Model/InlineResponse4005.java index 66a4d6041..e193e241a 100644 --- a/src/main/java/Model/InlineResponse4005.java +++ b/src/main/java/Model/InlineResponse4005.java @@ -196,12 +196,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4005 {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); - sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); - sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); - sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (localizationKey != null) sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); + if (correlationId != null) sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); + if (detail != null) sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); + if (fields != null) sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); sb.append("}"); return sb.toString(); } @@ -212,10 +212,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4005Fields.java b/src/main/java/Model/InlineResponse4005Fields.java index fc7c87203..18fcfd6fa 100644 --- a/src/main/java/Model/InlineResponse4005Fields.java +++ b/src/main/java/Model/InlineResponse4005Fields.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4005Fields {\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); + if (path != null) sb.append(" path: ").append(toIndentedString(path)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (localizationKey != null) sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4006.java b/src/main/java/Model/InlineResponse4006.java index 9f99a1cba..b33e5df63 100644 --- a/src/main/java/Model/InlineResponse4006.java +++ b/src/main/java/Model/InlineResponse4006.java @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4006 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4006Details.java b/src/main/java/Model/InlineResponse4006Details.java index fc04d628b..e9e90aadb 100644 --- a/src/main/java/Model/InlineResponse4006Details.java +++ b/src/main/java/Model/InlineResponse4006Details.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4006Details {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse400Details.java b/src/main/java/Model/InlineResponse400Details.java index 866b4af33..563ba2cc8 100644 --- a/src/main/java/Model/InlineResponse400Details.java +++ b/src/main/java/Model/InlineResponse400Details.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse400Details {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse400Errors.java b/src/main/java/Model/InlineResponse400Errors.java index 44de3ed8c..245b782e0 100644 --- a/src/main/java/Model/InlineResponse400Errors.java +++ b/src/main/java/Model/InlineResponse400Errors.java @@ -94,9 +94,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse400Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -107,10 +107,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse401.java b/src/main/java/Model/InlineResponse401.java index 4e4c28035..df1e23a17 100644 --- a/src/main/java/Model/InlineResponse401.java +++ b/src/main/java/Model/InlineResponse401.java @@ -218,13 +218,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse401 {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); - sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); - sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); - sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (correlationId != null) sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); + if (detail != null) sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); + if (fields != null) sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + if (localizationKey != null) sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -235,10 +235,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse401Fields.java b/src/main/java/Model/InlineResponse401Fields.java index 55c42a1a3..fb89283c7 100644 --- a/src/main/java/Model/InlineResponse401Fields.java +++ b/src/main/java/Model/InlineResponse401Fields.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse401Fields {\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); + if (path != null) sb.append(" path: ").append(toIndentedString(path)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (localizationKey != null) sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse401Links.java b/src/main/java/Model/InlineResponse401Links.java index 70d16af57..ecade5a7c 100644 --- a/src/main/java/Model/InlineResponse401Links.java +++ b/src/main/java/Model/InlineResponse401Links.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse401Links {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse401LinksSelf.java b/src/main/java/Model/InlineResponse401LinksSelf.java index fc4139fea..c33069a08 100644 --- a/src/main/java/Model/InlineResponse401LinksSelf.java +++ b/src/main/java/Model/InlineResponse401LinksSelf.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse401LinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse403.java b/src/main/java/Model/InlineResponse403.java index 78c90dc62..30d8d2c44 100644 --- a/src/main/java/Model/InlineResponse403.java +++ b/src/main/java/Model/InlineResponse403.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse403 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4031.java b/src/main/java/Model/InlineResponse4031.java index ffc19f8e4..437282a91 100644 --- a/src/main/java/Model/InlineResponse4031.java +++ b/src/main/java/Model/InlineResponse4031.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4031 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse403Errors.java b/src/main/java/Model/InlineResponse403Errors.java index c21dae03c..764862c0a 100644 --- a/src/main/java/Model/InlineResponse403Errors.java +++ b/src/main/java/Model/InlineResponse403Errors.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse403Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse404.java b/src/main/java/Model/InlineResponse404.java index 5ab3f99a7..a3ca735a7 100644 --- a/src/main/java/Model/InlineResponse404.java +++ b/src/main/java/Model/InlineResponse404.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse404 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4041.java b/src/main/java/Model/InlineResponse4041.java index 2a1d3bd4c..3777405eb 100644 --- a/src/main/java/Model/InlineResponse4041.java +++ b/src/main/java/Model/InlineResponse4041.java @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4041 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4042.java b/src/main/java/Model/InlineResponse4042.java index ee5017199..4a05592e4 100644 --- a/src/main/java/Model/InlineResponse4042.java +++ b/src/main/java/Model/InlineResponse4042.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4042 {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4042Details.java b/src/main/java/Model/InlineResponse4042Details.java index b58f3d774..fe7a6d0fb 100644 --- a/src/main/java/Model/InlineResponse4042Details.java +++ b/src/main/java/Model/InlineResponse4042Details.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4042Details {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse409.java b/src/main/java/Model/InlineResponse409.java index bf4bb5141..8dd8bf0be 100644 --- a/src/main/java/Model/InlineResponse409.java +++ b/src/main/java/Model/InlineResponse409.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse409 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse409Errors.java b/src/main/java/Model/InlineResponse409Errors.java index 378f72fb7..a036b7928 100644 --- a/src/main/java/Model/InlineResponse409Errors.java +++ b/src/main/java/Model/InlineResponse409Errors.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse409Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse410.java b/src/main/java/Model/InlineResponse410.java index b1a09022e..a0d5951f5 100644 --- a/src/main/java/Model/InlineResponse410.java +++ b/src/main/java/Model/InlineResponse410.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse410 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse410Errors.java b/src/main/java/Model/InlineResponse410Errors.java index 5f055b6a1..a4de12918 100644 --- a/src/main/java/Model/InlineResponse410Errors.java +++ b/src/main/java/Model/InlineResponse410Errors.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse410Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse412.java b/src/main/java/Model/InlineResponse412.java index 4fab597a2..cd1e50922 100644 --- a/src/main/java/Model/InlineResponse412.java +++ b/src/main/java/Model/InlineResponse412.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse412 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse412Errors.java b/src/main/java/Model/InlineResponse412Errors.java index 9f4482286..6e551c498 100644 --- a/src/main/java/Model/InlineResponse412Errors.java +++ b/src/main/java/Model/InlineResponse412Errors.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse412Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse422.java b/src/main/java/Model/InlineResponse422.java index f979cc81e..2763850de 100644 --- a/src/main/java/Model/InlineResponse422.java +++ b/src/main/java/Model/InlineResponse422.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse422 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse4221.java b/src/main/java/Model/InlineResponse4221.java index 11004ac67..a4f82c32f 100644 --- a/src/main/java/Model/InlineResponse4221.java +++ b/src/main/java/Model/InlineResponse4221.java @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4221 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse424.java b/src/main/java/Model/InlineResponse424.java index ce65f63d4..ab0dea1fc 100644 --- a/src/main/java/Model/InlineResponse424.java +++ b/src/main/java/Model/InlineResponse424.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse424 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse424Errors.java b/src/main/java/Model/InlineResponse424Errors.java index 5222b53a2..c6e917406 100644 --- a/src/main/java/Model/InlineResponse424Errors.java +++ b/src/main/java/Model/InlineResponse424Errors.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse424Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse500.java b/src/main/java/Model/InlineResponse500.java index 16b6b3668..5da2511d0 100644 --- a/src/main/java/Model/InlineResponse500.java +++ b/src/main/java/Model/InlineResponse500.java @@ -68,7 +68,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse500 {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -79,10 +79,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse5001.java b/src/main/java/Model/InlineResponse5001.java index eb2ed76f6..11b9925f7 100644 --- a/src/main/java/Model/InlineResponse5001.java +++ b/src/main/java/Model/InlineResponse5001.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse5001 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse5002.java b/src/main/java/Model/InlineResponse5002.java index eeff56b2e..2dd6fe658 100644 --- a/src/main/java/Model/InlineResponse5002.java +++ b/src/main/java/Model/InlineResponse5002.java @@ -132,10 +132,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse5002 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -146,10 +146,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse500Errors.java b/src/main/java/Model/InlineResponse500Errors.java index 6635dbb36..7a367d7df 100644 --- a/src/main/java/Model/InlineResponse500Errors.java +++ b/src/main/java/Model/InlineResponse500Errors.java @@ -78,8 +78,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse500Errors {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -90,10 +90,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse502.java b/src/main/java/Model/InlineResponse502.java index 344139bb8..3e7f4c262 100644 --- a/src/main/java/Model/InlineResponse502.java +++ b/src/main/java/Model/InlineResponse502.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse502 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponse503.java b/src/main/java/Model/InlineResponse503.java index e3d5fc6a6..44f3b3a7d 100644 --- a/src/main/java/Model/InlineResponse503.java +++ b/src/main/java/Model/InlineResponse503.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse503 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponseDefault.java b/src/main/java/Model/InlineResponseDefault.java index 08a562933..4cb18fb2c 100644 --- a/src/main/java/Model/InlineResponseDefault.java +++ b/src/main/java/Model/InlineResponseDefault.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponseDefault {\n"); - sb.append(" responseStatus: ").append(toIndentedString(responseStatus)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (responseStatus != null) sb.append(" responseStatus: ").append(toIndentedString(responseStatus)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponseDefaultLinks.java b/src/main/java/Model/InlineResponseDefaultLinks.java index 201a81ff7..70291b89f 100644 --- a/src/main/java/Model/InlineResponseDefaultLinks.java +++ b/src/main/java/Model/InlineResponseDefaultLinks.java @@ -137,9 +137,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponseDefaultLinks {\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" documentation: ").append(toIndentedString(documentation)).append("\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (next != null) sb.append(" next: ").append(toIndentedString(next)).append("\n"); + if (documentation != null) sb.append(" documentation: ").append(toIndentedString(documentation)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -150,10 +150,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponseDefaultLinksNext.java b/src/main/java/Model/InlineResponseDefaultLinksNext.java index 1c0bfae71..470217ef8 100644 --- a/src/main/java/Model/InlineResponseDefaultLinksNext.java +++ b/src/main/java/Model/InlineResponseDefaultLinksNext.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponseDefaultLinksNext {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponseDefaultResponseStatus.java b/src/main/java/Model/InlineResponseDefaultResponseStatus.java index 68b2c6a3c..11ecae724 100644 --- a/src/main/java/Model/InlineResponseDefaultResponseStatus.java +++ b/src/main/java/Model/InlineResponseDefaultResponseStatus.java @@ -174,11 +174,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponseDefaultResponseStatus {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (correlationId != null) sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -189,10 +189,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java b/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java index 9fc0ee60b..1219bfb6d 100644 --- a/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java +++ b/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponseDefaultResponseStatusDetails {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/IntimateBillingAgreement.java b/src/main/java/Model/IntimateBillingAgreement.java index 979f651f2..e4ab649bc 100644 --- a/src/main/java/Model/IntimateBillingAgreement.java +++ b/src/main/java/Model/IntimateBillingAgreement.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class IntimateBillingAgreement {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoiceSettingsRequest.java b/src/main/java/Model/InvoiceSettingsRequest.java index 55b9a79b2..1cf33c1b9 100644 --- a/src/main/java/Model/InvoiceSettingsRequest.java +++ b/src/main/java/Model/InvoiceSettingsRequest.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoiceSettingsRequest {\n"); - sb.append(" invoiceSettingsInformation: ").append(toIndentedString(invoiceSettingsInformation)).append("\n"); + if (invoiceSettingsInformation != null) sb.append(" invoiceSettingsInformation: ").append(toIndentedString(invoiceSettingsInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java index abc1167fe..2d07a7938 100644 --- a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java +++ b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoiceSettingsGet200Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" invoiceSettingsInformation: ").append(toIndentedString(invoiceSettingsInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (invoiceSettingsInformation != null) sb.append(" invoiceSettingsInformation: ").append(toIndentedString(invoiceSettingsInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.java b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.java index 9148e296b..f9ede3c79 100644 --- a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.java +++ b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.java @@ -124,7 +124,7 @@ public InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation enable * @return enableReminders **/ @ApiModelProperty(value = "Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due.") - public Boolean isEnableReminders() { + public Boolean EnableReminders() { return enableReminders; } @@ -196,7 +196,7 @@ public InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation payerA * @return payerAuthentication3DSVersion **/ @ApiModelProperty(value = "The 3D Secure payer authentication status for a merchant's invoice payments.") - public Boolean isPayerAuthentication3DSVersion() { + public Boolean PayerAuthentication3DSVersion() { return payerAuthentication3DSVersion; } @@ -214,7 +214,7 @@ public InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation showVa * @return showVatNumber **/ @ApiModelProperty(value = "Display VAT number on Invoice.") - public Boolean isShowVatNumber() { + public Boolean ShowVatNumber() { return showVatNumber; } @@ -273,16 +273,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation {\n"); - sb.append(" merchantLogo: ").append(toIndentedString(merchantLogo)).append("\n"); - sb.append(" merchantDisplayName: ").append(toIndentedString(merchantDisplayName)).append("\n"); - sb.append(" customEmailMessage: ").append(toIndentedString(customEmailMessage)).append("\n"); - sb.append(" enableReminders: ").append(toIndentedString(enableReminders)).append("\n"); - sb.append(" headerStyle: ").append(toIndentedString(headerStyle)).append("\n"); - sb.append(" deliveryLanguage: ").append(toIndentedString(deliveryLanguage)).append("\n"); - sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n"); - sb.append(" payerAuthentication3DSVersion: ").append(toIndentedString(payerAuthentication3DSVersion)).append("\n"); - sb.append(" showVatNumber: ").append(toIndentedString(showVatNumber)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (merchantLogo != null) sb.append(" merchantLogo: ").append(toIndentedString(merchantLogo)).append("\n"); + if (merchantDisplayName != null) sb.append(" merchantDisplayName: ").append(toIndentedString(merchantDisplayName)).append("\n"); + if (customEmailMessage != null) sb.append(" customEmailMessage: ").append(toIndentedString(customEmailMessage)).append("\n"); + if (enableReminders != null) sb.append(" enableReminders: ").append(toIndentedString(enableReminders)).append("\n"); + if (headerStyle != null) sb.append(" headerStyle: ").append(toIndentedString(headerStyle)).append("\n"); + if (deliveryLanguage != null) sb.append(" deliveryLanguage: ").append(toIndentedString(deliveryLanguage)).append("\n"); + if (defaultCurrencyCode != null) sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n"); + if (payerAuthentication3DSVersion != null) sb.append(" payerAuthentication3DSVersion: ").append(toIndentedString(payerAuthentication3DSVersion)).append("\n"); + if (showVatNumber != null) sb.append(" showVatNumber: ").append(toIndentedString(showVatNumber)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -293,10 +293,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.java b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.java index 6a224b65c..2799b6668 100644 --- a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.java +++ b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle {\n"); - sb.append(" fontColor: ").append(toIndentedString(fontColor)).append("\n"); - sb.append(" backgroundColor: ").append(toIndentedString(backgroundColor)).append("\n"); + if (fontColor != null) sb.append(" fontColor: ").append(toIndentedString(fontColor)).append("\n"); + if (backgroundColor != null) sb.append(" backgroundColor: ").append(toIndentedString(backgroundColor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200Response.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200Response.java index 309cba80c..5ae5223fc 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200Response.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" totalInvoices: ").append(toIndentedString(totalInvoices)).append("\n"); - sb.append(" invoices: ").append(toIndentedString(invoices)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (totalInvoices != null) sb.append(" totalInvoices: ").append(toIndentedString(totalInvoices)).append("\n"); + if (invoices != null) sb.append(" invoices: ").append(toIndentedString(invoices)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseCustomerInformation.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseCustomerInformation.java index e6d19000d..052a55973 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseCustomerInformation.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseCustomerInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200ResponseCustomerInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoiceInformation.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoiceInformation.java index 00b8216f6..b347990ee 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoiceInformation.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoiceInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200ResponseInvoiceInformation {\n"); - sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); + if (dueDate != null) sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoices.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoices.java index cfa2e01ac..1efc91803 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoices.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseInvoices.java @@ -189,12 +189,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200ResponseInvoices {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); - sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (customerInformation != null) sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); + if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -205,10 +205,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseLinks.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseLinks.java index 35f154cee..56d1783aa 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseLinks.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseLinks.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" update: ").append(toIndentedString(update)).append("\n"); - sb.append(" deliver: ").append(toIndentedString(deliver)).append("\n"); - sb.append(" cancel: ").append(toIndentedString(cancel)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (update != null) sb.append(" update: ").append(toIndentedString(update)).append("\n"); + if (deliver != null) sb.append(" deliver: ").append(toIndentedString(deliver)).append("\n"); + if (cancel != null) sb.append(" cancel: ").append(toIndentedString(cancel)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformation.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformation.java index 0151cfcce..dd0b9a9e5 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformation.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails.java b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails.java index 195f09fbe..cbe5f5498 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet400Response.java b/src/main/java/Model/InvoicingV2InvoicesAllGet400Response.java index 1fa581740..9d1926d3f 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet400Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet404Response.java b/src/main/java/Model/InvoicingV2InvoicesAllGet404Response.java index b459824c3..6f714daf1 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet404Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet404Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet404Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesAllGet502Response.java b/src/main/java/Model/InvoicingV2InvoicesAllGet502Response.java index 9e4de06e4..bd776f0e8 100644 --- a/src/main/java/Model/InvoicingV2InvoicesAllGet502Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesAllGet502Response.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesAllGet502Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesGet200Response.java b/src/main/java/Model/InvoicingV2InvoicesGet200Response.java index 902ca309c..055d270ae 100644 --- a/src/main/java/Model/InvoicingV2InvoicesGet200Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesGet200Response.java @@ -243,14 +243,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesGet200Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); - sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" invoiceHistory: ").append(toIndentedString(invoiceHistory)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (customerInformation != null) sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); + if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (invoiceHistory != null) sb.append(" invoiceHistory: ").append(toIndentedString(invoiceHistory)).append("\n"); sb.append("}"); return sb.toString(); } @@ -261,10 +261,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesGet200ResponseInvoiceHistory.java b/src/main/java/Model/InvoicingV2InvoicesGet200ResponseInvoiceHistory.java index 5e87ccdde..42d3a6c9e 100644 --- a/src/main/java/Model/InvoicingV2InvoicesGet200ResponseInvoiceHistory.java +++ b/src/main/java/Model/InvoicingV2InvoicesGet200ResponseInvoiceHistory.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesGet200ResponseInvoiceHistory {\n"); - sb.append(" event: ").append(toIndentedString(event)).append("\n"); - sb.append(" date: ").append(toIndentedString(date)).append("\n"); - sb.append(" transactionDetails: ").append(toIndentedString(transactionDetails)).append("\n"); + if (event != null) sb.append(" event: ").append(toIndentedString(event)).append("\n"); + if (date != null) sb.append(" date: ").append(toIndentedString(date)).append("\n"); + if (transactionDetails != null) sb.append(" transactionDetails: ").append(toIndentedString(transactionDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesGet200ResponseTransactionDetails.java b/src/main/java/Model/InvoicingV2InvoicesGet200ResponseTransactionDetails.java index a273a4496..22ba87665 100644 --- a/src/main/java/Model/InvoicingV2InvoicesGet200ResponseTransactionDetails.java +++ b/src/main/java/Model/InvoicingV2InvoicesGet200ResponseTransactionDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesGet200ResponseTransactionDetails {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesPost201Response.java b/src/main/java/Model/InvoicingV2InvoicesPost201Response.java index 5c3f540a0..02d51c612 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPost201Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesPost201Response.java @@ -210,13 +210,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); - sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (customerInformation != null) sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); + if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -227,10 +227,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseInvoiceInformation.java b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseInvoiceInformation.java index 2c9ef9474..9f4311a44 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseInvoiceInformation.java +++ b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseInvoiceInformation.java @@ -113,7 +113,7 @@ public InvoicingV2InvoicesPost201ResponseInvoiceInformation allowPartialPayments * @return allowPartialPayments **/ @ApiModelProperty(value = "If set to `true`, the payer can make a partial invoice payment.") - public Boolean isAllowPartialPayments() { + public Boolean AllowPartialPayments() { return allowPartialPayments; } @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesPost201ResponseInvoiceInformation {\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); - sb.append(" allowPartialPayments: ").append(toIndentedString(allowPartialPayments)).append("\n"); - sb.append(" paymentLink: ").append(toIndentedString(paymentLink)).append("\n"); - sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (dueDate != null) sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); + if (allowPartialPayments != null) sb.append(" allowPartialPayments: ").append(toIndentedString(allowPartialPayments)).append("\n"); + if (paymentLink != null) sb.append(" paymentLink: ").append(toIndentedString(paymentLink)).append("\n"); + if (deliveryMode != null) sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformation.java b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformation.java index 076398cff..0588742ce 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformation.java +++ b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformation.java @@ -109,8 +109,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesPost201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append("}"); return sb.toString(); } @@ -121,10 +121,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails.java index 745f0f53a..274e6b486 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails.java @@ -254,15 +254,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" balanceAmount: ").append(toIndentedString(balanceAmount)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountPercent: ").append(toIndentedString(discountPercent)).append("\n"); - sb.append(" subAmount: ").append(toIndentedString(subAmount)).append("\n"); - sb.append(" minimumPartialAmount: ").append(toIndentedString(minimumPartialAmount)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" freight: ").append(toIndentedString(freight)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (balanceAmount != null) sb.append(" balanceAmount: ").append(toIndentedString(balanceAmount)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountPercent != null) sb.append(" discountPercent: ").append(toIndentedString(discountPercent)).append("\n"); + if (subAmount != null) sb.append(" subAmount: ").append(toIndentedString(subAmount)).append("\n"); + if (minimumPartialAmount != null) sb.append(" minimumPartialAmount: ").append(toIndentedString(minimumPartialAmount)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (freight != null) sb.append(" freight: ").append(toIndentedString(freight)).append("\n"); sb.append("}"); return sb.toString(); } @@ -273,10 +273,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/InvoicingV2InvoicesPost202Response.java b/src/main/java/Model/InvoicingV2InvoicesPost202Response.java index f586d5097..d60994b0e 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPost202Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesPost202Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InvoicingV2InvoicesPost202Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoiceSettingsInvoiceSettingsInformation.java b/src/main/java/Model/Invoicingv2invoiceSettingsInvoiceSettingsInformation.java index 41e9444a9..8712baf76 100644 --- a/src/main/java/Model/Invoicingv2invoiceSettingsInvoiceSettingsInformation.java +++ b/src/main/java/Model/Invoicingv2invoiceSettingsInvoiceSettingsInformation.java @@ -124,7 +124,7 @@ public Invoicingv2invoiceSettingsInvoiceSettingsInformation enableReminders(Bool * @return enableReminders **/ @ApiModelProperty(value = "Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due.") - public Boolean isEnableReminders() { + public Boolean EnableReminders() { return enableReminders; } @@ -214,7 +214,7 @@ public Invoicingv2invoiceSettingsInvoiceSettingsInformation showVatNumber(Boolea * @return showVatNumber **/ @ApiModelProperty(value = "Display VAT number on Invoice.") - public Boolean isShowVatNumber() { + public Boolean ShowVatNumber() { return showVatNumber; } @@ -273,16 +273,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoiceSettingsInvoiceSettingsInformation {\n"); - sb.append(" merchantLogo: ").append(toIndentedString(merchantLogo)).append("\n"); - sb.append(" merchantDisplayName: ").append(toIndentedString(merchantDisplayName)).append("\n"); - sb.append(" customEmailMessage: ").append(toIndentedString(customEmailMessage)).append("\n"); - sb.append(" enableReminders: ").append(toIndentedString(enableReminders)).append("\n"); - sb.append(" headerStyle: ").append(toIndentedString(headerStyle)).append("\n"); - sb.append(" deliveryLanguage: ").append(toIndentedString(deliveryLanguage)).append("\n"); - sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n"); - sb.append(" payerAuthenticationInInvoicing: ").append(toIndentedString(payerAuthenticationInInvoicing)).append("\n"); - sb.append(" showVatNumber: ").append(toIndentedString(showVatNumber)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (merchantLogo != null) sb.append(" merchantLogo: ").append(toIndentedString(merchantLogo)).append("\n"); + if (merchantDisplayName != null) sb.append(" merchantDisplayName: ").append(toIndentedString(merchantDisplayName)).append("\n"); + if (customEmailMessage != null) sb.append(" customEmailMessage: ").append(toIndentedString(customEmailMessage)).append("\n"); + if (enableReminders != null) sb.append(" enableReminders: ").append(toIndentedString(enableReminders)).append("\n"); + if (headerStyle != null) sb.append(" headerStyle: ").append(toIndentedString(headerStyle)).append("\n"); + if (deliveryLanguage != null) sb.append(" deliveryLanguage: ").append(toIndentedString(deliveryLanguage)).append("\n"); + if (defaultCurrencyCode != null) sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n"); + if (payerAuthenticationInInvoicing != null) sb.append(" payerAuthenticationInInvoicing: ").append(toIndentedString(payerAuthenticationInInvoicing)).append("\n"); + if (showVatNumber != null) sb.append(" showVatNumber: ").append(toIndentedString(showVatNumber)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -293,10 +293,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesCustomerInformation.java b/src/main/java/Model/Invoicingv2invoicesCustomerInformation.java index 23b4a4ec7..a4072ce75 100644 --- a/src/main/java/Model/Invoicingv2invoicesCustomerInformation.java +++ b/src/main/java/Model/Invoicingv2invoicesCustomerInformation.java @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesCustomerInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesCustomerInformationCompany.java b/src/main/java/Model/Invoicingv2invoicesCustomerInformationCompany.java index 9fd5cfeeb..2e18274c4 100644 --- a/src/main/java/Model/Invoicingv2invoicesCustomerInformationCompany.java +++ b/src/main/java/Model/Invoicingv2invoicesCustomerInformationCompany.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesCustomerInformationCompany {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesInvoiceInformation.java b/src/main/java/Model/Invoicingv2invoicesInvoiceInformation.java index 216b10b39..dcb161d0f 100644 --- a/src/main/java/Model/Invoicingv2invoicesInvoiceInformation.java +++ b/src/main/java/Model/Invoicingv2invoicesInvoiceInformation.java @@ -113,7 +113,7 @@ public Invoicingv2invoicesInvoiceInformation sendImmediately(Boolean sendImmedia * @return sendImmediately **/ @ApiModelProperty(value = "If set to `true`, we send the invoice immediately. If set to `false`, the invoice remains in draft mode.") - public Boolean isSendImmediately() { + public Boolean SendImmediately() { return sendImmediately; } @@ -131,7 +131,7 @@ public Invoicingv2invoicesInvoiceInformation allowPartialPayments(Boolean allowP * @return allowPartialPayments **/ @ApiModelProperty(value = "If set to `true`, the payer can make a partial invoice payment.") - public Boolean isAllowPartialPayments() { + public Boolean AllowPartialPayments() { return allowPartialPayments; } @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesInvoiceInformation {\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); - sb.append(" sendImmediately: ").append(toIndentedString(sendImmediately)).append("\n"); - sb.append(" allowPartialPayments: ").append(toIndentedString(allowPartialPayments)).append("\n"); - sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (dueDate != null) sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); + if (sendImmediately != null) sb.append(" sendImmediately: ").append(toIndentedString(sendImmediately)).append("\n"); + if (allowPartialPayments != null) sb.append(" allowPartialPayments: ").append(toIndentedString(allowPartialPayments)).append("\n"); + if (deliveryMode != null) sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesOrderInformation.java b/src/main/java/Model/Invoicingv2invoicesOrderInformation.java index 409be7ad3..57ccaa64a 100644 --- a/src/main/java/Model/Invoicingv2invoicesOrderInformation.java +++ b/src/main/java/Model/Invoicingv2invoicesOrderInformation.java @@ -109,8 +109,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append("}"); return sb.toString(); } @@ -121,10 +121,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetails.java b/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetails.java index ef1166f76..72ec72997 100644 --- a/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetails.java +++ b/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetails.java @@ -232,14 +232,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountPercent: ").append(toIndentedString(discountPercent)).append("\n"); - sb.append(" subAmount: ").append(toIndentedString(subAmount)).append("\n"); - sb.append(" minimumPartialAmount: ").append(toIndentedString(minimumPartialAmount)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" freight: ").append(toIndentedString(freight)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountPercent != null) sb.append(" discountPercent: ").append(toIndentedString(discountPercent)).append("\n"); + if (subAmount != null) sb.append(" subAmount: ").append(toIndentedString(subAmount)).append("\n"); + if (minimumPartialAmount != null) sb.append(" minimumPartialAmount: ").append(toIndentedString(minimumPartialAmount)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (freight != null) sb.append(" freight: ").append(toIndentedString(freight)).append("\n"); sb.append("}"); return sb.toString(); } @@ -250,10 +250,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsFreight.java b/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsFreight.java index 6d2476f9e..ad87b9fa4 100644 --- a/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsFreight.java +++ b/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsFreight.java @@ -67,7 +67,7 @@ public Invoicingv2invoicesOrderInformationAmountDetailsFreight taxable(Boolean t * @return taxable **/ @ApiModelProperty(value = "Flag that indicates whether an order is taxable. This value must be true if the sum of all _lineItems[].taxAmount_ values > 0. If you do not include any `lineItems[].taxAmount` values in your request, CyberSource does not include `invoiceDetails.taxable` in the data it sends to the processor. Possible values: - **true** - **false** ") - public Boolean isTaxable() { + public Boolean Taxable() { return taxable; } @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesOrderInformationAmountDetailsFreight {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); - sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (taxable != null) sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); + if (taxRate != null) sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.java b/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.java index 4b3b523da..352e7cde7 100644 --- a/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.java +++ b/src/main/java/Model/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (rate != null) sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesOrderInformationLineItems.java b/src/main/java/Model/Invoicingv2invoicesOrderInformationLineItems.java index 61b5f164a..e571df186 100644 --- a/src/main/java/Model/Invoicingv2invoicesOrderInformationLineItems.java +++ b/src/main/java/Model/Invoicingv2invoicesOrderInformationLineItems.java @@ -253,15 +253,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesOrderInformationLineItems {\n"); - sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (productSku != null) sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountRate != null) sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxRate != null) sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -272,10 +272,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Invoicingv2invoicesidInvoiceInformation.java b/src/main/java/Model/Invoicingv2invoicesidInvoiceInformation.java index c98753322..9ebf2c4fc 100644 --- a/src/main/java/Model/Invoicingv2invoicesidInvoiceInformation.java +++ b/src/main/java/Model/Invoicingv2invoicesidInvoiceInformation.java @@ -89,7 +89,7 @@ public Invoicingv2invoicesidInvoiceInformation allowPartialPayments(Boolean allo * @return allowPartialPayments **/ @ApiModelProperty(value = "If set to `true`, the payer can make a partial invoice payment.") - public Boolean isAllowPartialPayments() { + public Boolean AllowPartialPayments() { return allowPartialPayments; } @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoicingv2invoicesidInvoiceInformation {\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); - sb.append(" allowPartialPayments: ").append(toIndentedString(allowPartialPayments)).append("\n"); - sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (dueDate != null) sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); + if (allowPartialPayments != null) sb.append(" allowPartialPayments: ").append(toIndentedString(allowPartialPayments)).append("\n"); + if (deliveryMode != null) sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Kmsegressv2keysasymClientReferenceInformation.java b/src/main/java/Model/Kmsegressv2keysasymClientReferenceInformation.java index 86bb5cd65..9fb2b109b 100644 --- a/src/main/java/Model/Kmsegressv2keysasymClientReferenceInformation.java +++ b/src/main/java/Model/Kmsegressv2keysasymClientReferenceInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Kmsegressv2keysasymClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Kmsegressv2keysasymKeyInformation.java b/src/main/java/Model/Kmsegressv2keysasymKeyInformation.java index 31f235df4..5352e3b9e 100644 --- a/src/main/java/Model/Kmsegressv2keysasymKeyInformation.java +++ b/src/main/java/Model/Kmsegressv2keysasymKeyInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Kmsegressv2keysasymKeyInformation {\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); - sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); - sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" pub: ").append(toIndentedString(pub)).append("\n"); - sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); - sb.append(" pvt: ").append(toIndentedString(pvt)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" expiryDuration: ").append(toIndentedString(expiryDuration)).append("\n"); + if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + if (tenant != null) sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); + if (keyType != null) sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (pub != null) sb.append(" pub: ").append(toIndentedString(pub)).append("\n"); + if (keyId != null) sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); + if (pvt != null) sb.append(" pvt: ").append(toIndentedString(pvt)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (expiryDuration != null) sb.append(" expiryDuration: ").append(toIndentedString(expiryDuration)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Kmsegressv2keyssymClientReferenceInformation.java b/src/main/java/Model/Kmsegressv2keyssymClientReferenceInformation.java index 963f42120..97b023500 100644 --- a/src/main/java/Model/Kmsegressv2keyssymClientReferenceInformation.java +++ b/src/main/java/Model/Kmsegressv2keyssymClientReferenceInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Kmsegressv2keyssymClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Kmsegressv2keyssymKeyInformation.java b/src/main/java/Model/Kmsegressv2keyssymKeyInformation.java index cc9b8c63c..b90113a2f 100644 --- a/src/main/java/Model/Kmsegressv2keyssymKeyInformation.java +++ b/src/main/java/Model/Kmsegressv2keyssymKeyInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Kmsegressv2keyssymKeyInformation {\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); - sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); - sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" clientKeyId: ").append(toIndentedString(clientKeyId)).append("\n"); - sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" expiryDuration: ").append(toIndentedString(expiryDuration)).append("\n"); + if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + if (tenant != null) sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); + if (keyType != null) sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (clientKeyId != null) sb.append(" clientKeyId: ").append(toIndentedString(clientKeyId)).append("\n"); + if (keyId != null) sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); + if (key != null) sb.append(" key: ").append(toIndentedString(key)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (expiryDuration != null) sb.append(" expiryDuration: ").append(toIndentedString(expiryDuration)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/MerchantInitiatedTransactionObject.java b/src/main/java/Model/MerchantInitiatedTransactionObject.java index d9b917ff2..487a077c2 100644 --- a/src/main/java/Model/MerchantInitiatedTransactionObject.java +++ b/src/main/java/Model/MerchantInitiatedTransactionObject.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class MerchantInitiatedTransactionObject {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); - sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); - sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (previousTransactionId != null) sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); + if (originalAuthorizedAmount != null) sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); + if (agreementId != null) sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java b/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java index 57931abf2..932b3194e 100644 --- a/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java +++ b/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java @@ -273,16 +273,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Microformv2sessionsCheckoutApiInitialization {\n"); - sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); - sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - sb.append(" transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - sb.append(" overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n"); - sb.append(" unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).append("\n"); + if (profileId != null) sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); + if (accessKey != null) sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (transactionUuid != null) sb.append(" transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); + if (overrideCustomReceiptPage != null) sb.append(" overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n"); + if (unsignedFieldNames != null) sb.append(" unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).append("\n"); sb.append("}"); return sb.toString(); } @@ -293,10 +293,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/MitReversalRequest.java b/src/main/java/Model/MitReversalRequest.java index fbef099cd..e6a978d29 100644 --- a/src/main/java/Model/MitReversalRequest.java +++ b/src/main/java/Model/MitReversalRequest.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class MitReversalRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" reversalInformation: ").append(toIndentedString(reversalInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (reversalInformation != null) sb.append(" reversalInformation: ").append(toIndentedString(reversalInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/MitVoidRequest.java b/src/main/java/Model/MitVoidRequest.java index d9912bf36..fcbd9b228 100644 --- a/src/main/java/Model/MitVoidRequest.java +++ b/src/main/java/Model/MitVoidRequest.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class MitVoidRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ModifyBillingAgreement.java b/src/main/java/Model/ModifyBillingAgreement.java index aeba79ef8..1804f251c 100644 --- a/src/main/java/Model/ModifyBillingAgreement.java +++ b/src/main/java/Model/ModifyBillingAgreement.java @@ -305,17 +305,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ModifyBillingAgreement {\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -326,10 +326,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.java b/src/main/java/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.java index a8addf316..97c192e2b 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.java +++ b/src/main/java/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.java @@ -108,7 +108,7 @@ public Notificationsubscriptionsv1productsorganizationIdEventTypes timeSensitivi * @return timeSensitivity **/ @ApiModelProperty(value = "") - public Boolean isTimeSensitivity() { + public Boolean TimeSensitivity() { return timeSensitivity; } @@ -126,7 +126,7 @@ public Notificationsubscriptionsv1productsorganizationIdEventTypes payloadEncryp * @return payloadEncryption **/ @ApiModelProperty(value = "") - public Boolean isPayloadEncryption() { + public Boolean PayloadEncryption() { return payloadEncryption; } @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1productsorganizationIdEventTypes {\n"); - sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); - sb.append(" timeSensitivity: ").append(toIndentedString(timeSensitivity)).append("\n"); - sb.append(" payloadEncryption: ").append(toIndentedString(payloadEncryption)).append("\n"); + if (eventName != null) sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + if (displayName != null) sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + if (frequency != null) sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); + if (timeSensitivity != null) sb.append(" timeSensitivity: ").append(toIndentedString(timeSensitivity)).append("\n"); + if (payloadEncryption != null) sb.append(" payloadEncryption: ").append(toIndentedString(payloadEncryption)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksNotificationScope.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksNotificationScope.java index 32fc44726..912d58d7a 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksNotificationScope.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksNotificationScope.java @@ -106,8 +106,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksNotificationScope {\n"); - sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); - sb.append(" scopeData: ").append(toIndentedString(scopeData)).append("\n"); + if (scope != null) sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + if (scopeData != null) sb.append(" scopeData: ").append(toIndentedString(scopeData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -118,10 +118,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksProducts.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksProducts.java index 40c15baf5..d4cd40ec8 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksProducts.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksProducts.java @@ -106,8 +106,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksProducts {\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -118,10 +118,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksRetryPolicy.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksRetryPolicy.java index 0c728b018..0a6fddf0e 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksRetryPolicy.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksRetryPolicy.java @@ -240,14 +240,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksRetryPolicy {\n"); - sb.append(" algorithm: ").append(toIndentedString(algorithm)).append("\n"); - sb.append(" firstRetry: ").append(toIndentedString(firstRetry)).append("\n"); - sb.append(" interval: ").append(toIndentedString(interval)).append("\n"); - sb.append(" numberOfRetries: ").append(toIndentedString(numberOfRetries)).append("\n"); - sb.append(" deactivateFlag: ").append(toIndentedString(deactivateFlag)).append("\n"); - sb.append(" repeatSequenceCount: ").append(toIndentedString(repeatSequenceCount)).append("\n"); - sb.append(" repeatSequenceWaitTime: ").append(toIndentedString(repeatSequenceWaitTime)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); + if (algorithm != null) sb.append(" algorithm: ").append(toIndentedString(algorithm)).append("\n"); + if (firstRetry != null) sb.append(" firstRetry: ").append(toIndentedString(firstRetry)).append("\n"); + if (interval != null) sb.append(" interval: ").append(toIndentedString(interval)).append("\n"); + if (numberOfRetries != null) sb.append(" numberOfRetries: ").append(toIndentedString(numberOfRetries)).append("\n"); + if (deactivateFlag != null) sb.append(" deactivateFlag: ").append(toIndentedString(deactivateFlag)).append("\n"); + if (repeatSequenceCount != null) sb.append(" repeatSequenceCount: ").append(toIndentedString(repeatSequenceCount)).append("\n"); + if (repeatSequenceWaitTime != null) sb.append(" repeatSequenceWaitTime: ").append(toIndentedString(repeatSequenceWaitTime)).append("\n"); + if (additionalAttributes != null) sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -258,10 +258,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.java index a95a507e6..74087a1bb 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksSecurityPolicy {\n"); - sb.append(" securityType: ").append(toIndentedString(securityType)).append("\n"); - sb.append(" config: ").append(toIndentedString(config)).append("\n"); + if (securityType != null) sb.append(" securityType: ").append(toIndentedString(securityType)).append("\n"); + if (config != null) sb.append(" config: ").append(toIndentedString(config)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.java index 5adf411a9..c7d29705c 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksSecurityPolicy1 {\n"); - sb.append(" securityType: ").append(toIndentedString(securityType)).append("\n"); - sb.append(" proxyType: ").append(toIndentedString(proxyType)).append("\n"); - sb.append(" config: ").append(toIndentedString(config)).append("\n"); + if (securityType != null) sb.append(" securityType: ").append(toIndentedString(securityType)).append("\n"); + if (proxyType != null) sb.append(" proxyType: ").append(toIndentedString(proxyType)).append("\n"); + if (config != null) sb.append(" config: ").append(toIndentedString(config)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.java index ec9fabdc4..2a099a3b8 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.java @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksSecurityPolicy1Config {\n"); - sb.append(" oAuthTokenExpiry: ").append(toIndentedString(oAuthTokenExpiry)).append("\n"); - sb.append(" oAuthURL: ").append(toIndentedString(oAuthURL)).append("\n"); - sb.append(" oAuthTokenType: ").append(toIndentedString(oAuthTokenType)).append("\n"); - sb.append(" additionalConfig: ").append(toIndentedString(additionalConfig)).append("\n"); + if (oAuthTokenExpiry != null) sb.append(" oAuthTokenExpiry: ").append(toIndentedString(oAuthTokenExpiry)).append("\n"); + if (oAuthURL != null) sb.append(" oAuthURL: ").append(toIndentedString(oAuthURL)).append("\n"); + if (oAuthTokenType != null) sb.append(" oAuthTokenType: ").append(toIndentedString(oAuthTokenType)).append("\n"); + if (additionalConfig != null) sb.append(" additionalConfig: ").append(toIndentedString(additionalConfig)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.java index 319f08ea7..32e603708 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig {\n"); - sb.append(" aud: ").append(toIndentedString(aud)).append("\n"); - sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); - sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); - sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + if (aud != null) sb.append(" aud: ").append(toIndentedString(aud)).append("\n"); + if (clientId != null) sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); + if (keyId != null) sb.append(" keyId: ").append(toIndentedString(keyId)).append("\n"); + if (scope != null) sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.java b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.java index 15ed4d49a..7a11a8fc0 100644 --- a/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.java +++ b/src/main/java/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Notificationsubscriptionsv1webhooksSecurityPolicyConfig {\n"); - sb.append(" oAuthTokenExpiry: ").append(toIndentedString(oAuthTokenExpiry)).append("\n"); - sb.append(" oAuthURL: ").append(toIndentedString(oAuthURL)).append("\n"); - sb.append(" oAuthTokenType: ").append(toIndentedString(oAuthTokenType)).append("\n"); + if (oAuthTokenExpiry != null) sb.append(" oAuthTokenExpiry: ").append(toIndentedString(oAuthTokenExpiry)).append("\n"); + if (oAuthURL != null) sb.append(" oAuthURL: ").append(toIndentedString(oAuthURL)).append("\n"); + if (oAuthTokenType != null) sb.append(" oAuthTokenType: ").append(toIndentedString(oAuthTokenType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.java b/src/main/java/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.java index 2958d2c10..4781158d0 100644 --- a/src/main/java/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.java +++ b/src/main/java/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Nrtfv1webhookswebhookIdreplaysByDeliveryStatus {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" hoursBack: ").append(toIndentedString(hoursBack)).append("\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (hoursBack != null) sb.append(" hoursBack: ").append(toIndentedString(hoursBack)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (eventType != null) sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/OctCreatePaymentRequest.java b/src/main/java/Model/OctCreatePaymentRequest.java index 2f6b8ebb4..dbf6f2d03 100644 --- a/src/main/java/Model/OctCreatePaymentRequest.java +++ b/src/main/java/Model/OctCreatePaymentRequest.java @@ -213,13 +213,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OctCreatePaymentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); - sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); + if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -230,10 +230,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/OrderPaymentRequest.java b/src/main/java/Model/OrderPaymentRequest.java index d08f1a0f1..4bf0cc3bc 100644 --- a/src/main/java/Model/OrderPaymentRequest.java +++ b/src/main/java/Model/OrderPaymentRequest.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderPaymentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java b/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java index 9f5aade61..1a6f52c77 100644 --- a/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java +++ b/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java @@ -139,7 +139,7 @@ public PatchCustomerPaymentInstrumentRequest _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -365,21 +365,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PatchCustomerPaymentInstrumentRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -390,10 +390,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PatchCustomerRequest.java b/src/main/java/Model/PatchCustomerRequest.java index d8063d40f..6039937da 100644 --- a/src/main/java/Model/PatchCustomerRequest.java +++ b/src/main/java/Model/PatchCustomerRequest.java @@ -291,16 +291,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PatchCustomerRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" objectInformation: ").append(toIndentedString(objectInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); - sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (objectInformation != null) sb.append(" objectInformation: ").append(toIndentedString(objectInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (defaultPaymentInstrument != null) sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); + if (defaultShippingAddress != null) sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -311,10 +311,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PatchCustomerShippingAddressRequest.java b/src/main/java/Model/PatchCustomerShippingAddressRequest.java index 98a971f1a..7ef059172 100644 --- a/src/main/java/Model/PatchCustomerShippingAddressRequest.java +++ b/src/main/java/Model/PatchCustomerShippingAddressRequest.java @@ -93,7 +93,7 @@ public PatchCustomerShippingAddressRequest _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PatchCustomerShippingAddressRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PatchInstrumentIdentifierRequest.java b/src/main/java/Model/PatchInstrumentIdentifierRequest.java index 7da103539..1d9aef9e4 100644 --- a/src/main/java/Model/PatchInstrumentIdentifierRequest.java +++ b/src/main/java/Model/PatchInstrumentIdentifierRequest.java @@ -329,19 +329,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PatchInstrumentIdentifierRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (tokenProvisioningInformation != null) sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -352,10 +352,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PatchPaymentInstrumentRequest.java b/src/main/java/Model/PatchPaymentInstrumentRequest.java index 74a9dad00..41cdc942c 100644 --- a/src/main/java/Model/PatchPaymentInstrumentRequest.java +++ b/src/main/java/Model/PatchPaymentInstrumentRequest.java @@ -139,7 +139,7 @@ public PatchPaymentInstrumentRequest _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -365,21 +365,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PatchPaymentInstrumentRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -390,10 +390,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthConfig.java b/src/main/java/Model/PayerAuthConfig.java index 3522839aa..2fb96e527 100644 --- a/src/main/java/Model/PayerAuthConfig.java +++ b/src/main/java/Model/PayerAuthConfig.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthConfig {\n"); - sb.append(" cardTypes: ").append(toIndentedString(cardTypes)).append("\n"); + if (cardTypes != null) sb.append(" cardTypes: ").append(toIndentedString(cardTypes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthConfigCardTypes.java b/src/main/java/Model/PayerAuthConfigCardTypes.java index 80583a5a4..259cdd432 100644 --- a/src/main/java/Model/PayerAuthConfigCardTypes.java +++ b/src/main/java/Model/PayerAuthConfigCardTypes.java @@ -231,14 +231,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthConfigCardTypes {\n"); - sb.append(" verifiedByVisa: ").append(toIndentedString(verifiedByVisa)).append("\n"); - sb.append(" masterCardSecureCode: ").append(toIndentedString(masterCardSecureCode)).append("\n"); - sb.append(" amexSafeKey: ").append(toIndentedString(amexSafeKey)).append("\n"); - sb.append(" jCBJSecure: ").append(toIndentedString(jCBJSecure)).append("\n"); - sb.append(" dinersClubInternationalProtectBuy: ").append(toIndentedString(dinersClubInternationalProtectBuy)).append("\n"); - sb.append(" ELO: ").append(toIndentedString(ELO)).append("\n"); - sb.append(" UPI: ").append(toIndentedString(UPI)).append("\n"); - sb.append(" CB: ").append(toIndentedString(CB)).append("\n"); + if (verifiedByVisa != null) sb.append(" verifiedByVisa: ").append(toIndentedString(verifiedByVisa)).append("\n"); + if (masterCardSecureCode != null) sb.append(" masterCardSecureCode: ").append(toIndentedString(masterCardSecureCode)).append("\n"); + if (amexSafeKey != null) sb.append(" amexSafeKey: ").append(toIndentedString(amexSafeKey)).append("\n"); + if (jCBJSecure != null) sb.append(" jCBJSecure: ").append(toIndentedString(jCBJSecure)).append("\n"); + if (dinersClubInternationalProtectBuy != null) sb.append(" dinersClubInternationalProtectBuy: ").append(toIndentedString(dinersClubInternationalProtectBuy)).append("\n"); + if (ELO != null) sb.append(" ELO: ").append(toIndentedString(ELO)).append("\n"); + if (UPI != null) sb.append(" UPI: ").append(toIndentedString(UPI)).append("\n"); + if (CB != null) sb.append(" CB: ").append(toIndentedString(CB)).append("\n"); sb.append("}"); return sb.toString(); } @@ -249,10 +249,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthConfigCardTypesCB.java b/src/main/java/Model/PayerAuthConfigCardTypesCB.java index cda2a828e..fb0dd30b1 100644 --- a/src/main/java/Model/PayerAuthConfigCardTypesCB.java +++ b/src/main/java/Model/PayerAuthConfigCardTypesCB.java @@ -69,7 +69,7 @@ public PayerAuthConfigCardTypesCB enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthConfigCardTypesCB {\n"); - sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + if (requestorId != null) sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthConfigCardTypesJCBJSecure.java b/src/main/java/Model/PayerAuthConfigCardTypesJCBJSecure.java index d2b999d35..4b77a8138 100644 --- a/src/main/java/Model/PayerAuthConfigCardTypesJCBJSecure.java +++ b/src/main/java/Model/PayerAuthConfigCardTypesJCBJSecure.java @@ -69,7 +69,7 @@ public PayerAuthConfigCardTypesJCBJSecure enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthConfigCardTypesJCBJSecure {\n"); - sb.append(" securePasswordForJCB: ").append(toIndentedString(securePasswordForJCB)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + if (securePasswordForJCB != null) sb.append(" securePasswordForJCB: ").append(toIndentedString(securePasswordForJCB)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisa.java b/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisa.java index e66706c20..b72a5a906 100644 --- a/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisa.java +++ b/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisa.java @@ -48,7 +48,7 @@ public PayerAuthConfigCardTypesVerifiedByVisa enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -107,8 +107,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthConfigCardTypesVerifiedByVisa {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); sb.append("}"); return sb.toString(); } @@ -119,10 +119,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisaCurrencies.java b/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisaCurrencies.java index cbb071889..9315f1f33 100644 --- a/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisaCurrencies.java +++ b/src/main/java/Model/PayerAuthConfigCardTypesVerifiedByVisaCurrencies.java @@ -128,9 +128,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthConfigCardTypesVerifiedByVisaCurrencies {\n"); - sb.append(" currencyCodes: ").append(toIndentedString(currencyCodes)).append("\n"); - sb.append(" acquirerId: ").append(toIndentedString(acquirerId)).append("\n"); - sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); + if (currencyCodes != null) sb.append(" currencyCodes: ").append(toIndentedString(currencyCodes)).append("\n"); + if (acquirerId != null) sb.append(" acquirerId: ").append(toIndentedString(acquirerId)).append("\n"); + if (processorMerchantId != null) sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -141,10 +141,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PayerAuthSetupRequest.java b/src/main/java/Model/PayerAuthSetupRequest.java index 69e4e5824..90e7d53d5 100644 --- a/src/main/java/Model/PayerAuthSetupRequest.java +++ b/src/main/java/Model/PayerAuthSetupRequest.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PayerAuthSetupRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentList.java b/src/main/java/Model/PaymentInstrumentList.java index a1ade1359..8e0c9862c 100644 --- a/src/main/java/Model/PaymentInstrumentList.java +++ b/src/main/java/Model/PaymentInstrumentList.java @@ -150,12 +150,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentList {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentList1.java b/src/main/java/Model/PaymentInstrumentList1.java index a84317fbe..24c4fb2d1 100644 --- a/src/main/java/Model/PaymentInstrumentList1.java +++ b/src/main/java/Model/PaymentInstrumentList1.java @@ -150,12 +150,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentList1 {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentList1Embedded.java b/src/main/java/Model/PaymentInstrumentList1Embedded.java index f6b9eb714..f93f20d86 100644 --- a/src/main/java/Model/PaymentInstrumentList1Embedded.java +++ b/src/main/java/Model/PaymentInstrumentList1Embedded.java @@ -69,7 +69,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentList1Embedded {\n"); - sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); + if (paymentInstruments != null) sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -80,10 +80,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentList1EmbeddedEmbedded.java b/src/main/java/Model/PaymentInstrumentList1EmbeddedEmbedded.java index 332f0cf7e..74e0676cc 100644 --- a/src/main/java/Model/PaymentInstrumentList1EmbeddedEmbedded.java +++ b/src/main/java/Model/PaymentInstrumentList1EmbeddedEmbedded.java @@ -76,7 +76,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentList1EmbeddedEmbedded {\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -87,10 +87,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java b/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java index 1c5a91e70..505d2b06a 100644 --- a/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java +++ b/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java @@ -139,7 +139,7 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments _default(Boolean _defaul * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -365,21 +365,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentList1EmbeddedPaymentInstruments {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -390,10 +390,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListEmbedded.java b/src/main/java/Model/PaymentInstrumentListEmbedded.java index 70026513f..e6857543a 100644 --- a/src/main/java/Model/PaymentInstrumentListEmbedded.java +++ b/src/main/java/Model/PaymentInstrumentListEmbedded.java @@ -69,7 +69,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListEmbedded {\n"); - sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); + if (paymentInstruments != null) sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -80,10 +80,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListLinks.java b/src/main/java/Model/PaymentInstrumentListLinks.java index 33fb09353..3a595978c 100644 --- a/src/main/java/Model/PaymentInstrumentListLinks.java +++ b/src/main/java/Model/PaymentInstrumentListLinks.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" first: ").append(toIndentedString(first)).append("\n"); - sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" last: ").append(toIndentedString(last)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (first != null) sb.append(" first: ").append(toIndentedString(first)).append("\n"); + if (prev != null) sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + if (next != null) sb.append(" next: ").append(toIndentedString(next)).append("\n"); + if (last != null) sb.append(" last: ").append(toIndentedString(last)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListLinksFirst.java b/src/main/java/Model/PaymentInstrumentListLinksFirst.java index 8e41c691d..c0766dd7b 100644 --- a/src/main/java/Model/PaymentInstrumentListLinksFirst.java +++ b/src/main/java/Model/PaymentInstrumentListLinksFirst.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListLinksFirst {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListLinksLast.java b/src/main/java/Model/PaymentInstrumentListLinksLast.java index 63defcfca..36fa07396 100644 --- a/src/main/java/Model/PaymentInstrumentListLinksLast.java +++ b/src/main/java/Model/PaymentInstrumentListLinksLast.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListLinksLast {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListLinksNext.java b/src/main/java/Model/PaymentInstrumentListLinksNext.java index 8f2a864cd..a2567488e 100644 --- a/src/main/java/Model/PaymentInstrumentListLinksNext.java +++ b/src/main/java/Model/PaymentInstrumentListLinksNext.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListLinksNext {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListLinksPrev.java b/src/main/java/Model/PaymentInstrumentListLinksPrev.java index 7fdddcfe2..14f4b86c2 100644 --- a/src/main/java/Model/PaymentInstrumentListLinksPrev.java +++ b/src/main/java/Model/PaymentInstrumentListLinksPrev.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListLinksPrev {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentInstrumentListLinksSelf.java b/src/main/java/Model/PaymentInstrumentListLinksSelf.java index 3e7d9cb96..7e12cfe3d 100644 --- a/src/main/java/Model/PaymentInstrumentListLinksSelf.java +++ b/src/main/java/Model/PaymentInstrumentListLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentInstrumentListLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProducts.java b/src/main/java/Model/PaymentsProducts.java index bfbb473f2..54081067e 100644 --- a/src/main/java/Model/PaymentsProducts.java +++ b/src/main/java/Model/PaymentsProducts.java @@ -483,25 +483,25 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProducts {\n"); - sb.append(" cardProcessing: ").append(toIndentedString(cardProcessing)).append("\n"); - sb.append(" cardPresentConnect: ").append(toIndentedString(cardPresentConnect)).append("\n"); - sb.append(" cybsReadyTerminal: ").append(toIndentedString(cybsReadyTerminal)).append("\n"); - sb.append(" eCheck: ").append(toIndentedString(eCheck)).append("\n"); - sb.append(" payerAuthentication: ").append(toIndentedString(payerAuthentication)).append("\n"); - sb.append(" digitalPayments: ").append(toIndentedString(digitalPayments)).append("\n"); - sb.append(" secureAcceptance: ").append(toIndentedString(secureAcceptance)).append("\n"); - sb.append(" virtualTerminal: ").append(toIndentedString(virtualTerminal)).append("\n"); - sb.append(" currencyConversion: ").append(toIndentedString(currencyConversion)).append("\n"); - sb.append(" tax: ").append(toIndentedString(tax)).append("\n"); - sb.append(" customerInvoicing: ").append(toIndentedString(customerInvoicing)).append("\n"); - sb.append(" recurringBilling: ").append(toIndentedString(recurringBilling)).append("\n"); - sb.append(" paymentOrchestration: ").append(toIndentedString(paymentOrchestration)).append("\n"); - sb.append(" payouts: ").append(toIndentedString(payouts)).append("\n"); - sb.append(" differentialFee: ").append(toIndentedString(differentialFee)).append("\n"); - sb.append(" payByLink: ").append(toIndentedString(payByLink)).append("\n"); - sb.append(" unifiedCheckout: ").append(toIndentedString(unifiedCheckout)).append("\n"); - sb.append(" receivablesManager: ").append(toIndentedString(receivablesManager)).append("\n"); - sb.append(" serviceFee: ").append(toIndentedString(serviceFee)).append("\n"); + if (cardProcessing != null) sb.append(" cardProcessing: ").append(toIndentedString(cardProcessing)).append("\n"); + if (cardPresentConnect != null) sb.append(" cardPresentConnect: ").append(toIndentedString(cardPresentConnect)).append("\n"); + if (cybsReadyTerminal != null) sb.append(" cybsReadyTerminal: ").append(toIndentedString(cybsReadyTerminal)).append("\n"); + if (eCheck != null) sb.append(" eCheck: ").append(toIndentedString(eCheck)).append("\n"); + if (payerAuthentication != null) sb.append(" payerAuthentication: ").append(toIndentedString(payerAuthentication)).append("\n"); + if (digitalPayments != null) sb.append(" digitalPayments: ").append(toIndentedString(digitalPayments)).append("\n"); + if (secureAcceptance != null) sb.append(" secureAcceptance: ").append(toIndentedString(secureAcceptance)).append("\n"); + if (virtualTerminal != null) sb.append(" virtualTerminal: ").append(toIndentedString(virtualTerminal)).append("\n"); + if (currencyConversion != null) sb.append(" currencyConversion: ").append(toIndentedString(currencyConversion)).append("\n"); + if (tax != null) sb.append(" tax: ").append(toIndentedString(tax)).append("\n"); + if (customerInvoicing != null) sb.append(" customerInvoicing: ").append(toIndentedString(customerInvoicing)).append("\n"); + if (recurringBilling != null) sb.append(" recurringBilling: ").append(toIndentedString(recurringBilling)).append("\n"); + if (paymentOrchestration != null) sb.append(" paymentOrchestration: ").append(toIndentedString(paymentOrchestration)).append("\n"); + if (payouts != null) sb.append(" payouts: ").append(toIndentedString(payouts)).append("\n"); + if (differentialFee != null) sb.append(" differentialFee: ").append(toIndentedString(differentialFee)).append("\n"); + if (payByLink != null) sb.append(" payByLink: ").append(toIndentedString(payByLink)).append("\n"); + if (unifiedCheckout != null) sb.append(" unifiedCheckout: ").append(toIndentedString(unifiedCheckout)).append("\n"); + if (receivablesManager != null) sb.append(" receivablesManager: ").append(toIndentedString(receivablesManager)).append("\n"); + if (serviceFee != null) sb.append(" serviceFee: ").append(toIndentedString(serviceFee)).append("\n"); sb.append("}"); return sb.toString(); } @@ -512,10 +512,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardPresentConnect.java b/src/main/java/Model/PaymentsProductsCardPresentConnect.java index 6acde8b5e..9b034f605 100644 --- a/src/main/java/Model/PaymentsProductsCardPresentConnect.java +++ b/src/main/java/Model/PaymentsProductsCardPresentConnect.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardPresentConnect {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformation.java b/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformation.java index 2e8b110cf..3076ff158 100644 --- a/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardPresentConnectConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformationConfigurations.java b/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformationConfigurations.java index 43b99b6db..eba399aa3 100644 --- a/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformationConfigurations.java +++ b/src/main/java/Model/PaymentsProductsCardPresentConnectConfigurationInformationConfigurations.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardPresentConnectConfigurationInformationConfigurations {\n"); - sb.append(" partnerSolutionIdentifier: ").append(toIndentedString(partnerSolutionIdentifier)).append("\n"); + if (partnerSolutionIdentifier != null) sb.append(" partnerSolutionIdentifier: ").append(toIndentedString(partnerSolutionIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardPresentConnectSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsCardPresentConnectSubscriptionInformation.java index 8140d733a..6a5a1195c 100644 --- a/src/main/java/Model/PaymentsProductsCardPresentConnectSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsCardPresentConnectSubscriptionInformation.java @@ -45,7 +45,7 @@ public PaymentsProductsCardPresentConnectSubscriptionInformation enabled(Boolean * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardPresentConnectSubscriptionInformation {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardProcessing.java b/src/main/java/Model/PaymentsProductsCardProcessing.java index def912198..a6f47aaa8 100644 --- a/src/main/java/Model/PaymentsProductsCardProcessing.java +++ b/src/main/java/Model/PaymentsProductsCardProcessing.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardProcessing {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardProcessingConfigurationInformation.java b/src/main/java/Model/PaymentsProductsCardProcessingConfigurationInformation.java index e9fe74a3b..a0cc6fe62 100644 --- a/src/main/java/Model/PaymentsProductsCardProcessingConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsCardProcessingConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardProcessingConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformation.java index 304063a0f..d15e35b3c 100644 --- a/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformation.java @@ -52,7 +52,7 @@ public PaymentsProductsCardProcessingSubscriptionInformation enabled(Boolean ena * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -130,9 +130,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardProcessingSubscriptionInformation {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); sb.append("}"); return sb.toString(); } @@ -143,10 +143,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformationFeatures.java b/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformationFeatures.java index 44e4713a2..ebf34d756 100644 --- a/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformationFeatures.java +++ b/src/main/java/Model/PaymentsProductsCardProcessingSubscriptionInformationFeatures.java @@ -42,7 +42,7 @@ public PaymentsProductsCardProcessingSubscriptionInformationFeatures enabled(Boo * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCardProcessingSubscriptionInformationFeatures {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCurrencyConversion.java b/src/main/java/Model/PaymentsProductsCurrencyConversion.java index ee685c7cd..92ce00813 100644 --- a/src/main/java/Model/PaymentsProductsCurrencyConversion.java +++ b/src/main/java/Model/PaymentsProductsCurrencyConversion.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCurrencyConversion {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformation.java b/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformation.java index 73d630027..28c7d3234 100644 --- a/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCurrencyConversionConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurations.java b/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurations.java index 0bac673e6..e263de573 100644 --- a/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurations.java +++ b/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurations.java @@ -86,7 +86,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCurrencyConversionConfigurationInformationConfigurations {\n"); - sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -97,10 +97,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.java b/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.java index a5ba932e5..8ec04755c 100644 --- a/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.java +++ b/src/main/java/Model/PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors {\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" acquirerId: ").append(toIndentedString(acquirerId)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (acquirerId != null) sb.append(" acquirerId: ").append(toIndentedString(acquirerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsCybsReadyTerminal.java b/src/main/java/Model/PaymentsProductsCybsReadyTerminal.java index c7fdc215f..fd0fedea5 100644 --- a/src/main/java/Model/PaymentsProductsCybsReadyTerminal.java +++ b/src/main/java/Model/PaymentsProductsCybsReadyTerminal.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsCybsReadyTerminal {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDifferentialFee.java b/src/main/java/Model/PaymentsProductsDifferentialFee.java index 76757a73c..af6db4c08 100644 --- a/src/main/java/Model/PaymentsProductsDifferentialFee.java +++ b/src/main/java/Model/PaymentsProductsDifferentialFee.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDifferentialFee {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformation.java index eb7180547..c956fca1b 100644 --- a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformation.java @@ -49,7 +49,7 @@ public PaymentsProductsDifferentialFeeSubscriptionInformation enabled(Boolean en * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDifferentialFeeSubscriptionInformation {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java index c2f0b0cdf..d4c8331b8 100644 --- a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java +++ b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDifferentialFeeSubscriptionInformationFeatures {\n"); - sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); + if (surcharge != null) sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java index 8a226508a..ccd840584 100644 --- a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java +++ b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java @@ -42,7 +42,7 @@ public PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge e * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDigitalPayments.java b/src/main/java/Model/PaymentsProductsDigitalPayments.java index 413d6b5ac..9243ba3a3 100644 --- a/src/main/java/Model/PaymentsProductsDigitalPayments.java +++ b/src/main/java/Model/PaymentsProductsDigitalPayments.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDigitalPayments {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformation.java index 70fc2c15f..ed5f31214 100644 --- a/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformation.java @@ -52,7 +52,7 @@ public PaymentsProductsDigitalPaymentsSubscriptionInformation enabled(Boolean en * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -130,9 +130,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDigitalPaymentsSubscriptionInformation {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); sb.append("}"); return sb.toString(); } @@ -143,10 +143,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformationFeatures.java b/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformationFeatures.java index 1baf6750e..6c70769f1 100644 --- a/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformationFeatures.java +++ b/src/main/java/Model/PaymentsProductsDigitalPaymentsSubscriptionInformationFeatures.java @@ -42,7 +42,7 @@ public PaymentsProductsDigitalPaymentsSubscriptionInformationFeatures enabled(Bo * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsDigitalPaymentsSubscriptionInformationFeatures {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsECheck.java b/src/main/java/Model/PaymentsProductsECheck.java index 3e73a3687..20e6c6c24 100644 --- a/src/main/java/Model/PaymentsProductsECheck.java +++ b/src/main/java/Model/PaymentsProductsECheck.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsECheck {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsECheckConfigurationInformation.java b/src/main/java/Model/PaymentsProductsECheckConfigurationInformation.java index d969680d7..a950c9ff9 100644 --- a/src/main/java/Model/PaymentsProductsECheckConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsECheckConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsECheckConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsECheckSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsECheckSubscriptionInformation.java index e74b690b6..d0c86bbd1 100644 --- a/src/main/java/Model/PaymentsProductsECheckSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsECheckSubscriptionInformation.java @@ -50,7 +50,7 @@ public PaymentsProductsECheckSubscriptionInformation enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -128,9 +128,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsECheckSubscriptionInformation {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); - sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + if (mode != null) sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -141,10 +141,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayerAuthentication.java b/src/main/java/Model/PaymentsProductsPayerAuthentication.java index 848f6484a..474424f52 100644 --- a/src/main/java/Model/PaymentsProductsPayerAuthentication.java +++ b/src/main/java/Model/PaymentsProductsPayerAuthentication.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayerAuthentication {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayerAuthenticationConfigurationInformation.java b/src/main/java/Model/PaymentsProductsPayerAuthenticationConfigurationInformation.java index 97f166cbc..d1d97a486 100644 --- a/src/main/java/Model/PaymentsProductsPayerAuthenticationConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsPayerAuthenticationConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayerAuthenticationConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java index e05f35ab6..63c70f9fc 100644 --- a/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java @@ -45,7 +45,7 @@ public PaymentsProductsPayerAuthenticationSubscriptionInformation enabled(Boolea * @return enabled **/ @ApiModelProperty(value = "") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayerAuthenticationSubscriptionInformation {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayouts.java b/src/main/java/Model/PaymentsProductsPayouts.java index ff4f06892..6ea76c196 100644 --- a/src/main/java/Model/PaymentsProductsPayouts.java +++ b/src/main/java/Model/PaymentsProductsPayouts.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayouts {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformation.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformation.java index 778fe01f2..202bba252 100644 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayoutsConfigurationInformation {\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java index db1fb5117..0e5760f4a 100644 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java @@ -117,8 +117,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurations {\n"); - sb.append(" pullfunds: ").append(toIndentedString(pullfunds)).append("\n"); - sb.append(" pushfunds: ").append(toIndentedString(pushfunds)).append("\n"); + if (pullfunds != null) sb.append(" pullfunds: ").append(toIndentedString(pullfunds)).append("\n"); + if (pushfunds != null) sb.append(" pushfunds: ").append(toIndentedString(pushfunds)).append("\n"); sb.append("}"); return sb.toString(); } @@ -129,10 +129,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java index afba18b02..0d1029217 100644 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java @@ -133,9 +133,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount {\n"); - sb.append(" originatorMerchantId: ").append(toIndentedString(originatorMerchantId)).append("\n"); - sb.append(" originatorTerminalId: ").append(toIndentedString(originatorTerminalId)).append("\n"); - sb.append(" supportedCurrencies: ").append(toIndentedString(supportedCurrencies)).append("\n"); + if (originatorMerchantId != null) sb.append(" originatorMerchantId: ").append(toIndentedString(originatorMerchantId)).append("\n"); + if (originatorTerminalId != null) sb.append(" originatorTerminalId: ").append(toIndentedString(originatorTerminalId)).append("\n"); + if (supportedCurrencies != null) sb.append(" supportedCurrencies: ").append(toIndentedString(supportedCurrencies)).append("\n"); sb.append("}"); return sb.toString(); } @@ -146,10 +146,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java index d0fb90eb7..936cec9e1 100644 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java @@ -97,7 +97,7 @@ public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds al * @return allowCryptoCurrencyPurchase **/ @ApiModelProperty(value = "This configuration allows a transaction to be flagged for cryptocurrency funds transfer.") - public Boolean isAllowCryptoCurrencyPurchase() { + public Boolean AllowCryptoCurrencyPurchase() { return allowCryptoCurrencyPurchase; } @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds {\n"); - sb.append(" acquirerOrganizationId: ").append(toIndentedString(acquirerOrganizationId)).append("\n"); - sb.append(" acquiringBIN: ").append(toIndentedString(acquiringBIN)).append("\n"); - sb.append(" allowCryptoCurrencyPurchase: ").append(toIndentedString(allowCryptoCurrencyPurchase)).append("\n"); - sb.append(" cardAcceptorId: ").append(toIndentedString(cardAcceptorId)).append("\n"); - sb.append(" originatorMvv: ").append(toIndentedString(originatorMvv)).append("\n"); - sb.append(" originatorNameAbbreviation: ").append(toIndentedString(originatorNameAbbreviation)).append("\n"); - sb.append(" cardTerminalId: ").append(toIndentedString(cardTerminalId)).append("\n"); + if (acquirerOrganizationId != null) sb.append(" acquirerOrganizationId: ").append(toIndentedString(acquirerOrganizationId)).append("\n"); + if (acquiringBIN != null) sb.append(" acquiringBIN: ").append(toIndentedString(acquiringBIN)).append("\n"); + if (allowCryptoCurrencyPurchase != null) sb.append(" allowCryptoCurrencyPurchase: ").append(toIndentedString(allowCryptoCurrencyPurchase)).append("\n"); + if (cardAcceptorId != null) sb.append(" cardAcceptorId: ").append(toIndentedString(cardAcceptorId)).append("\n"); + if (originatorMvv != null) sb.append(" originatorMvv: ").append(toIndentedString(originatorMvv)).append("\n"); + if (originatorNameAbbreviation != null) sb.append(" originatorNameAbbreviation: ").append(toIndentedString(originatorNameAbbreviation)).append("\n"); + if (cardTerminalId != null) sb.append(" cardTerminalId: ").append(toIndentedString(cardTerminalId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java index 91435fc5c..c4dcdd98d 100644 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java @@ -106,7 +106,7 @@ public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds al * @return allowCryptoCurrencyPurchase **/ @ApiModelProperty(value = "This configuration allows a transaction to be flagged for cryptocurrency funds transfer.") - public Boolean isAllowCryptoCurrencyPurchase() { + public Boolean AllowCryptoCurrencyPurchase() { return allowCryptoCurrencyPurchase; } @@ -259,15 +259,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds {\n"); - sb.append(" acquirerCountryCode: ").append(toIndentedString(acquirerCountryCode)).append("\n"); - sb.append(" acquiringBIN: ").append(toIndentedString(acquiringBIN)).append("\n"); - sb.append(" allowCryptoCurrencyPurchase: ").append(toIndentedString(allowCryptoCurrencyPurchase)).append("\n"); - sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); - sb.append(" networkOrder: ").append(toIndentedString(networkOrder)).append("\n"); - sb.append(" nationalReimbursementFee: ").append(toIndentedString(nationalReimbursementFee)).append("\n"); - sb.append(" originatorBusinessApplicationId: ").append(toIndentedString(originatorBusinessApplicationId)).append("\n"); - sb.append(" originatorPseudoAbaNumber: ").append(toIndentedString(originatorPseudoAbaNumber)).append("\n"); - sb.append(" processorAccount: ").append(toIndentedString(processorAccount)).append("\n"); + if (acquirerCountryCode != null) sb.append(" acquirerCountryCode: ").append(toIndentedString(acquirerCountryCode)).append("\n"); + if (acquiringBIN != null) sb.append(" acquiringBIN: ").append(toIndentedString(acquiringBIN)).append("\n"); + if (allowCryptoCurrencyPurchase != null) sb.append(" allowCryptoCurrencyPurchase: ").append(toIndentedString(allowCryptoCurrencyPurchase)).append("\n"); + if (financialInstitutionId != null) sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); + if (networkOrder != null) sb.append(" networkOrder: ").append(toIndentedString(networkOrder)).append("\n"); + if (nationalReimbursementFee != null) sb.append(" nationalReimbursementFee: ").append(toIndentedString(nationalReimbursementFee)).append("\n"); + if (originatorBusinessApplicationId != null) sb.append(" originatorBusinessApplicationId: ").append(toIndentedString(originatorBusinessApplicationId)).append("\n"); + if (originatorPseudoAbaNumber != null) sb.append(" originatorPseudoAbaNumber: ").append(toIndentedString(originatorPseudoAbaNumber)).append("\n"); + if (processorAccount != null) sb.append(" processorAccount: ").append(toIndentedString(processorAccount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -278,10 +278,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsSecureAcceptance.java b/src/main/java/Model/PaymentsProductsSecureAcceptance.java index 0732f0742..b6301ad5d 100644 --- a/src/main/java/Model/PaymentsProductsSecureAcceptance.java +++ b/src/main/java/Model/PaymentsProductsSecureAcceptance.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsSecureAcceptance {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsSecureAcceptanceConfigurationInformation.java b/src/main/java/Model/PaymentsProductsSecureAcceptanceConfigurationInformation.java index 737a6c214..e888c9e2c 100644 --- a/src/main/java/Model/PaymentsProductsSecureAcceptanceConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsSecureAcceptanceConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsSecureAcceptanceConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsServiceFee.java b/src/main/java/Model/PaymentsProductsServiceFee.java index 60c10dee5..8bf575f34 100644 --- a/src/main/java/Model/PaymentsProductsServiceFee.java +++ b/src/main/java/Model/PaymentsProductsServiceFee.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsServiceFee {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformation.java b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformation.java index 44df83217..8a363fae1 100644 --- a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsServiceFeeConfigurationInformation {\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurations.java b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurations.java index 767915c0a..935e6559b 100644 --- a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurations.java +++ b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurations.java @@ -185,11 +185,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsServiceFeeConfigurationInformationConfigurations {\n"); - sb.append(" products: ").append(toIndentedString(products)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsMerchantInformation.java b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsMerchantInformation.java index 59639a7c5..9cd7250a0 100644 --- a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsMerchantInformation.java +++ b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsMerchantInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsServiceFeeConfigurationInformationConfigurationsMerchantInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (contact != null) sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsPaymentInformation.java b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsPaymentInformation.java index 17a526517..d7578b042 100644 --- a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsPaymentInformation.java +++ b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsPaymentInformation.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsServiceFeeConfigurationInformationConfigurationsPaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" feeType: ").append(toIndentedString(feeType)).append("\n"); - sb.append(" feeAmount: ").append(toIndentedString(feeAmount)).append("\n"); - sb.append(" percentage: ").append(toIndentedString(percentage)).append("\n"); - sb.append(" feeCap: ").append(toIndentedString(feeCap)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (feeType != null) sb.append(" feeType: ").append(toIndentedString(feeType)).append("\n"); + if (feeAmount != null) sb.append(" feeAmount: ").append(toIndentedString(feeAmount)).append("\n"); + if (percentage != null) sb.append(" percentage: ").append(toIndentedString(percentage)).append("\n"); + if (feeCap != null) sb.append(" feeCap: ").append(toIndentedString(feeCap)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsProducts.java b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsProducts.java index 745a859f9..b8d999605 100644 --- a/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsProducts.java +++ b/src/main/java/Model/PaymentsProductsServiceFeeConfigurationInformationConfigurationsProducts.java @@ -42,7 +42,7 @@ public PaymentsProductsServiceFeeConfigurationInformationConfigurationsProducts * @return serviceFeeEnabled **/ @ApiModelProperty(value = "Boolean flag to determine if service fee will be applied to the Product.") - public Boolean isServiceFeeEnabled() { + public Boolean ServiceFeeEnabled() { return serviceFeeEnabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsServiceFeeConfigurationInformationConfigurationsProducts {\n"); - sb.append(" serviceFeeEnabled: ").append(toIndentedString(serviceFeeEnabled)).append("\n"); + if (serviceFeeEnabled != null) sb.append(" serviceFeeEnabled: ").append(toIndentedString(serviceFeeEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsTax.java b/src/main/java/Model/PaymentsProductsTax.java index 38989933a..838843c05 100644 --- a/src/main/java/Model/PaymentsProductsTax.java +++ b/src/main/java/Model/PaymentsProductsTax.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsTax {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsVirtualTerminal.java b/src/main/java/Model/PaymentsProductsVirtualTerminal.java index d13c83475..94c788cda 100644 --- a/src/main/java/Model/PaymentsProductsVirtualTerminal.java +++ b/src/main/java/Model/PaymentsProductsVirtualTerminal.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsVirtualTerminal {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsProductsVirtualTerminalConfigurationInformation.java b/src/main/java/Model/PaymentsProductsVirtualTerminalConfigurationInformation.java index 70b366110..92bb6b23f 100644 --- a/src/main/java/Model/PaymentsProductsVirtualTerminalConfigurationInformation.java +++ b/src/main/java/Model/PaymentsProductsVirtualTerminalConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsVirtualTerminalConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PaymentsStrongAuthIssuerInformation.java b/src/main/java/Model/PaymentsStrongAuthIssuerInformation.java index b091e4a92..570f17442 100644 --- a/src/main/java/Model/PaymentsStrongAuthIssuerInformation.java +++ b/src/main/java/Model/PaymentsStrongAuthIssuerInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsStrongAuthIssuerInformation {\n"); - sb.append(" riskAnalysisExemptionResult: ").append(toIndentedString(riskAnalysisExemptionResult)).append("\n"); - sb.append(" trustedMerchantExemptionResult: ").append(toIndentedString(trustedMerchantExemptionResult)).append("\n"); - sb.append(" lowValueExemptionResult: ").append(toIndentedString(lowValueExemptionResult)).append("\n"); - sb.append(" secureCorporatePaymentResult: ").append(toIndentedString(secureCorporatePaymentResult)).append("\n"); - sb.append(" transactionRiskAnalysisExemptionResult: ").append(toIndentedString(transactionRiskAnalysisExemptionResult)).append("\n"); + if (riskAnalysisExemptionResult != null) sb.append(" riskAnalysisExemptionResult: ").append(toIndentedString(riskAnalysisExemptionResult)).append("\n"); + if (trustedMerchantExemptionResult != null) sb.append(" trustedMerchantExemptionResult: ").append(toIndentedString(trustedMerchantExemptionResult)).append("\n"); + if (lowValueExemptionResult != null) sb.append(" lowValueExemptionResult: ").append(toIndentedString(lowValueExemptionResult)).append("\n"); + if (secureCorporatePaymentResult != null) sb.append(" secureCorporatePaymentResult: ").append(toIndentedString(secureCorporatePaymentResult)).append("\n"); + if (transactionRiskAnalysisExemptionResult != null) sb.append(" transactionRiskAnalysisExemptionResult: ").append(toIndentedString(transactionRiskAnalysisExemptionResult)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java b/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java index 1548c4f4c..444f7409a 100644 --- a/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java +++ b/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java @@ -139,7 +139,7 @@ public PostCustomerPaymentInstrumentRequest _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -365,21 +365,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostCustomerPaymentInstrumentRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -390,10 +390,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostCustomerRequest.java b/src/main/java/Model/PostCustomerRequest.java index 826973a7e..289a393a5 100644 --- a/src/main/java/Model/PostCustomerRequest.java +++ b/src/main/java/Model/PostCustomerRequest.java @@ -291,16 +291,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostCustomerRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" objectInformation: ").append(toIndentedString(objectInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); - sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (objectInformation != null) sb.append(" objectInformation: ").append(toIndentedString(objectInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (defaultPaymentInstrument != null) sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); + if (defaultShippingAddress != null) sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -311,10 +311,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostCustomerShippingAddressRequest.java b/src/main/java/Model/PostCustomerShippingAddressRequest.java index fe4290a49..ac5acaa75 100644 --- a/src/main/java/Model/PostCustomerShippingAddressRequest.java +++ b/src/main/java/Model/PostCustomerShippingAddressRequest.java @@ -93,7 +93,7 @@ public PostCustomerShippingAddressRequest _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostCustomerShippingAddressRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java b/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java index 34f7c73a8..6641da48c 100644 --- a/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java +++ b/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java @@ -329,19 +329,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostInstrumentIdentifierEnrollmentRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (tokenProvisioningInformation != null) sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -352,10 +352,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostInstrumentIdentifierRequest.java b/src/main/java/Model/PostInstrumentIdentifierRequest.java index dc2eacb36..42988cf09 100644 --- a/src/main/java/Model/PostInstrumentIdentifierRequest.java +++ b/src/main/java/Model/PostInstrumentIdentifierRequest.java @@ -329,19 +329,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostInstrumentIdentifierRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (tokenProvisioningInformation != null) sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -352,10 +352,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostPaymentCredentialsRequest.java b/src/main/java/Model/PostPaymentCredentialsRequest.java index a0b3b1172..630a7a8ad 100644 --- a/src/main/java/Model/PostPaymentCredentialsRequest.java +++ b/src/main/java/Model/PostPaymentCredentialsRequest.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostPaymentCredentialsRequest {\n"); - sb.append(" paymentCredentialType: ").append(toIndentedString(paymentCredentialType)).append("\n"); + if (paymentCredentialType != null) sb.append(" paymentCredentialType: ").append(toIndentedString(paymentCredentialType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostPaymentInstrumentRequest.java b/src/main/java/Model/PostPaymentInstrumentRequest.java index 93200cd64..68e583dce 100644 --- a/src/main/java/Model/PostPaymentInstrumentRequest.java +++ b/src/main/java/Model/PostPaymentInstrumentRequest.java @@ -139,7 +139,7 @@ public PostPaymentInstrumentRequest _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -365,21 +365,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostPaymentInstrumentRequest {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -390,10 +390,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PostRegistrationBody.java b/src/main/java/Model/PostRegistrationBody.java index 53c4bb19c..e5eab2216 100644 --- a/src/main/java/Model/PostRegistrationBody.java +++ b/src/main/java/Model/PostRegistrationBody.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostRegistrationBody {\n"); - sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); - sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); - sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); - sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); - sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); + if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); + if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (productInformation != null) sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); + if (documentInformation != null) sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PredefinedSubscriptionRequestBean.java b/src/main/java/Model/PredefinedSubscriptionRequestBean.java index 12d7b85e0..59e1ba4df 100644 --- a/src/main/java/Model/PredefinedSubscriptionRequestBean.java +++ b/src/main/java/Model/PredefinedSubscriptionRequestBean.java @@ -274,16 +274,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PredefinedSubscriptionRequestBean {\n"); - sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); - sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); - sb.append(" reportInterval: ").append(toIndentedString(reportInterval)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); - sb.append(" subscriptionStatus: ").append(toIndentedString(subscriptionStatus)).append("\n"); + if (reportDefinitionName != null) sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); + if (subscriptionType != null) sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportFrequency != null) sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); + if (reportInterval != null) sb.append(" reportInterval: ").append(toIndentedString(reportInterval)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (startDay != null) sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); + if (subscriptionStatus != null) sb.append(" subscriptionStatus: ").append(toIndentedString(subscriptionStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -294,10 +294,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet200Response.java b/src/main/java/Model/PtsV1TransactionBatchesGet200Response.java index 785669e59..ff647f528 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet200Response.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet200Response.java @@ -130,9 +130,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet200Response {\n"); - sb.append(" transactionBatches: ").append(toIndentedString(transactionBatches)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (transactionBatches != null) sb.append(" transactionBatches: ").append(toIndentedString(transactionBatches)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -143,10 +143,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinks.java b/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinks.java index 1283e5ca9..525e801d2 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinks.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet200ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinksSelf.java b/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinksSelf.java index aca5c7115..4030e42b9 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinksSelf.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseLinksSelf.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet200ResponseLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseTransactionBatches.java b/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseTransactionBatches.java index ca5f3cb2b..a7f7a94fb 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseTransactionBatches.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet200ResponseTransactionBatches.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet200ResponseTransactionBatches {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" uploadDate: ").append(toIndentedString(uploadDate)).append("\n"); - sb.append(" completionDate: ").append(toIndentedString(completionDate)).append("\n"); - sb.append(" transactionCount: ").append(toIndentedString(transactionCount)).append("\n"); - sb.append(" acceptedTransactionCount: ").append(toIndentedString(acceptedTransactionCount)).append("\n"); - sb.append(" rejectedTransactionCount: ").append(toIndentedString(rejectedTransactionCount)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (uploadDate != null) sb.append(" uploadDate: ").append(toIndentedString(uploadDate)).append("\n"); + if (completionDate != null) sb.append(" completionDate: ").append(toIndentedString(completionDate)).append("\n"); + if (transactionCount != null) sb.append(" transactionCount: ").append(toIndentedString(transactionCount)).append("\n"); + if (acceptedTransactionCount != null) sb.append(" acceptedTransactionCount: ").append(toIndentedString(acceptedTransactionCount)).append("\n"); + if (rejectedTransactionCount != null) sb.append(" rejectedTransactionCount: ").append(toIndentedString(rejectedTransactionCount)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet400Response.java b/src/main/java/Model/PtsV1TransactionBatchesGet400Response.java index 5e4ea40dc..c5cacc6c6 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet400Response.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet400Response.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet400Response {\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformation.java b/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformation.java index 3418f2007..644000c3a 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformation.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet400ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformationDetails.java b/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformationDetails.java index 3117890ca..faa0142ab 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformationDetails.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet400ResponseErrorInformationDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet400ResponseErrorInformationDetails {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet500Response.java b/src/main/java/Model/PtsV1TransactionBatchesGet500Response.java index 73eb69b2e..a8b5b5e66 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet500Response.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet500Response.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet500Response {\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesGet500ResponseErrorInformation.java b/src/main/java/Model/PtsV1TransactionBatchesGet500ResponseErrorInformation.java index 39f3372cd..a8588f4ab 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesGet500ResponseErrorInformation.java +++ b/src/main/java/Model/PtsV1TransactionBatchesGet500ResponseErrorInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesGet500ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesIdGet200Response.java b/src/main/java/Model/PtsV1TransactionBatchesIdGet200Response.java index df8a11a13..ee351d333 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesIdGet200Response.java +++ b/src/main/java/Model/PtsV1TransactionBatchesIdGet200Response.java @@ -229,14 +229,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesIdGet200Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" uploadDate: ").append(toIndentedString(uploadDate)).append("\n"); - sb.append(" completionDate: ").append(toIndentedString(completionDate)).append("\n"); - sb.append(" transactionCount: ").append(toIndentedString(transactionCount)).append("\n"); - sb.append(" acceptedTransactionCount: ").append(toIndentedString(acceptedTransactionCount)).append("\n"); - sb.append(" rejectedTransactionCount: ").append(toIndentedString(rejectedTransactionCount)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (uploadDate != null) sb.append(" uploadDate: ").append(toIndentedString(uploadDate)).append("\n"); + if (completionDate != null) sb.append(" completionDate: ").append(toIndentedString(completionDate)).append("\n"); + if (transactionCount != null) sb.append(" transactionCount: ").append(toIndentedString(transactionCount)).append("\n"); + if (acceptedTransactionCount != null) sb.append(" acceptedTransactionCount: ").append(toIndentedString(acceptedTransactionCount)).append("\n"); + if (rejectedTransactionCount != null) sb.append(" rejectedTransactionCount: ").append(toIndentedString(rejectedTransactionCount)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -247,10 +247,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinks.java b/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinks.java index 578cb24a8..ef2d6a5ff 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinks.java +++ b/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinks.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesIdGet200ResponseLinks {\n"); - sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n"); + if (transactions != null) sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.java b/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.java index 1d87e2d8c..57db3e6dd 100644 --- a/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.java +++ b/src/main/java/Model/PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV1TransactionBatchesIdGet200ResponseLinksTransactions {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201Response.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201Response.java index a20e6f23c..54c39ba01 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201Response.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201Response.java @@ -278,16 +278,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -298,10 +298,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseAgreementInformation.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseAgreementInformation.java index 275fcab53..2306d744b 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseAgreementInformation.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseAgreementInformation.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseAgreementInformation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" dateSigned: ").append(toIndentedString(dateSigned)).append("\n"); - sb.append(" dateCreated: ").append(toIndentedString(dateCreated)).append("\n"); - sb.append(" encodedHtml: ").append(toIndentedString(encodedHtml)).append("\n"); - sb.append(" encodedHtmlPopup: ").append(toIndentedString(encodedHtmlPopup)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (dateSigned != null) sb.append(" dateSigned: ").append(toIndentedString(dateSigned)).append("\n"); + if (dateCreated != null) sb.append(" dateCreated: ").append(toIndentedString(dateCreated)).append("\n"); + if (encodedHtml != null) sb.append(" encodedHtml: ").append(toIndentedString(encodedHtml)).append("\n"); + if (encodedHtmlPopup != null) sb.append(" encodedHtmlPopup: ").append(toIndentedString(encodedHtmlPopup)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseClientReferenceInformation.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseClientReferenceInformation.java index a42202314..66163980e 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseClientReferenceInformation.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseClientReferenceInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseInstallmentInformation.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseInstallmentInformation.java index 547ecb603..862c12fad 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseInstallmentInformation.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseInstallmentInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseInstallmentInformation {\n"); - sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); + if (identifier != null) sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseLinks.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseLinks.java index 4b76d5011..265f36425 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseLinks.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseLinks.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" updateAgreement: ").append(toIndentedString(updateAgreement)).append("\n"); - sb.append(" revokeAgreement: ").append(toIndentedString(revokeAgreement)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (updateAgreement != null) sb.append(" updateAgreement: ").append(toIndentedString(updateAgreement)).append("\n"); + if (revokeAgreement != null) sb.append(" revokeAgreement: ").append(toIndentedString(revokeAgreement)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseProcessorInformation.java index 5f4bc0777..ce0038458 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseProcessorInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseProcessorInformation {\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformation.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformation.java index c5176de53..0464f194c 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformation.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseRiskInformation {\n"); - sb.append(" processorResults: ").append(toIndentedString(processorResults)).append("\n"); + if (processorResults != null) sb.append(" processorResults: ").append(toIndentedString(processorResults)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformationProcessorResults.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformationProcessorResults.java index 54731e448..ff320e501 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformationProcessorResults.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost201ResponseRiskInformationProcessorResults.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost201ResponseRiskInformationProcessorResults {\n"); - sb.append(" riskScore: ").append(toIndentedString(riskScore)).append("\n"); + if (riskScore != null) sb.append(" riskScore: ").append(toIndentedString(riskScore)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost400Response.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost400Response.java index 9538904dd..a34d29583 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost400Response.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost400Response.java @@ -195,12 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost400Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -211,10 +211,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateBillingAgreementPost502Response.java b/src/main/java/Model/PtsV2CreateBillingAgreementPost502Response.java index 621251e4c..160f2e6c5 100644 --- a/src/main/java/Model/PtsV2CreateBillingAgreementPost502Response.java +++ b/src/main/java/Model/PtsV2CreateBillingAgreementPost502Response.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateBillingAgreementPost502Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateOrderPost201Response.java b/src/main/java/Model/PtsV2CreateOrderPost201Response.java index 5860d91f8..506de1150 100644 --- a/src/main/java/Model/PtsV2CreateOrderPost201Response.java +++ b/src/main/java/Model/PtsV2CreateOrderPost201Response.java @@ -232,14 +232,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateOrderPost201Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -250,10 +250,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateOrderPost201ResponseBuyerInformation.java b/src/main/java/Model/PtsV2CreateOrderPost201ResponseBuyerInformation.java index d48721ab0..14a703187 100644 --- a/src/main/java/Model/PtsV2CreateOrderPost201ResponseBuyerInformation.java +++ b/src/main/java/Model/PtsV2CreateOrderPost201ResponseBuyerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateOrderPost201ResponseBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateOrderPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2CreateOrderPost201ResponseProcessorInformation.java index fce4f4eb9..1d7647b98 100644 --- a/src/main/java/Model/PtsV2CreateOrderPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2CreateOrderPost201ResponseProcessorInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateOrderPost201ResponseProcessorInformation {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); - sb.append(" paymentUrl: ").append(toIndentedString(paymentUrl)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); + if (paymentUrl != null) sb.append(" paymentUrl: ").append(toIndentedString(paymentUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreateOrderPost400Response.java b/src/main/java/Model/PtsV2CreateOrderPost400Response.java index a4f32fef7..d722b3375 100644 --- a/src/main/java/Model/PtsV2CreateOrderPost400Response.java +++ b/src/main/java/Model/PtsV2CreateOrderPost400Response.java @@ -151,10 +151,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreateOrderPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -165,10 +165,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201Response.java b/src/main/java/Model/PtsV2CreditsPost201Response.java index a95486e59..69931c1e7 100644 --- a/src/main/java/Model/PtsV2CreditsPost201Response.java +++ b/src/main/java/Model/PtsV2CreditsPost201Response.java @@ -324,18 +324,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" creditAmountDetails: ").append(toIndentedString(creditAmountDetails)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (creditAmountDetails != null) sb.append(" creditAmountDetails: ").append(toIndentedString(creditAmountDetails)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -346,10 +346,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201Response1.java b/src/main/java/Model/PtsV2CreditsPost201Response1.java index 37418a009..accb25076 100644 --- a/src/main/java/Model/PtsV2CreditsPost201Response1.java +++ b/src/main/java/Model/PtsV2CreditsPost201Response1.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201Response1 {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201Response1ProcessorInformation.java b/src/main/java/Model/PtsV2CreditsPost201Response1ProcessorInformation.java index baefadc8a..d7f80f2fd 100644 --- a/src/main/java/Model/PtsV2CreditsPost201Response1ProcessorInformation.java +++ b/src/main/java/Model/PtsV2CreditsPost201Response1ProcessorInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201Response1ProcessorInformation {\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201ResponseCreditAmountDetails.java b/src/main/java/Model/PtsV2CreditsPost201ResponseCreditAmountDetails.java index 350ae3326..6ff78aa5f 100644 --- a/src/main/java/Model/PtsV2CreditsPost201ResponseCreditAmountDetails.java +++ b/src/main/java/Model/PtsV2CreditsPost201ResponseCreditAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201ResponseCreditAmountDetails {\n"); - sb.append(" creditAmount: ").append(toIndentedString(creditAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (creditAmount != null) sb.append(" creditAmount: ").append(toIndentedString(creditAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201ResponsePaymentInformation.java b/src/main/java/Model/PtsV2CreditsPost201ResponsePaymentInformation.java index eadba1f3a..47b202230 100644 --- a/src/main/java/Model/PtsV2CreditsPost201ResponsePaymentInformation.java +++ b/src/main/java/Model/PtsV2CreditsPost201ResponsePaymentInformation.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201ResponsePaymentInformation {\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformation.java b/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformation.java index ed000075c..97c3ec52b 100644 --- a/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformation.java +++ b/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformation.java @@ -64,7 +64,7 @@ public PtsV2CreditsPost201ResponseProcessingInformation enhancedDataEnabled(Bool * @return enhancedDataEnabled **/ @ApiModelProperty(value = "The possible values for the reply field are: - `true` : the airline data was included in the request to the processor. - `false` : the airline data was not included in the request to the processor. Returned by authorization, capture, or credit services. ") - public Boolean isEnhancedDataEnabled() { + public Boolean EnhancedDataEnabled() { return enhancedDataEnabled; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201ResponseProcessingInformation {\n"); - sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); - sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); + if (bankTransferOptions != null) sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); + if (enhancedDataEnabled != null) sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions.java b/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions.java index f6e8edf01..cece2db30 100644 --- a/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions.java +++ b/src/main/java/Model/PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions {\n"); - sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); + if (settlementMethod != null) sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201Response.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201Response.java index b06a9211e..44a40f803 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201Response.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201Response.java @@ -278,16 +278,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -298,10 +298,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation.java index 272b7661c..0be5fe362 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.java index 31caa4b9d..e7505d7c8 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseLinks.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseLinks.java index d3b6e469c..42cf66a81 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseLinks.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation.java index 51a8f9d9e..ba9ea5080 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformationInvoiceDetails.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformationInvoiceDetails.java index b00afb5ad..45672466f 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformationInvoiceDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponseOrderInformationInvoiceDetails {\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation.java index 7a6e71969..db6a396b9 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation {\n"); - sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n"); + if (accountFeatures != null) sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures.java index 1f53b4e53..f9cbaf940 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures {\n"); - sb.append(" category: ").append(toIndentedString(category)).append("\n"); + if (category != null) sb.append(" category: ").append(toIndentedString(category)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java index 945908701..65193d3a4 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java @@ -230,14 +230,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation {\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" merchantAdvice: ").append(toIndentedString(merchantAdvice)).append("\n"); - sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (merchantAdvice != null) sb.append(" merchantAdvice: ").append(toIndentedString(merchantAdvice)).append("\n"); + if (sellerProtection != null) sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); sb.append("}"); return sb.toString(); } @@ -248,10 +248,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch400Response.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch400Response.java index 4a850f858..684374658 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch400Response.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2IncrementalAuthorizationPatch400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201Response.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201Response.java index 7e9cafafe..2905f6a7f 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201Response.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201Response.java @@ -302,17 +302,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -323,10 +323,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseAgreementInformation.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseAgreementInformation.java index a91fb56a6..97ee7e31e 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseAgreementInformation.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseAgreementInformation.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponseAgreementInformation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" dateSigned: ").append(toIndentedString(dateSigned)).append("\n"); - sb.append(" dateCreated: ").append(toIndentedString(dateCreated)).append("\n"); - sb.append(" dateRevoked: ").append(toIndentedString(dateRevoked)).append("\n"); - sb.append(" encodedHtml: ").append(toIndentedString(encodedHtml)).append("\n"); - sb.append(" encodedHtmlPopup: ").append(toIndentedString(encodedHtmlPopup)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (dateSigned != null) sb.append(" dateSigned: ").append(toIndentedString(dateSigned)).append("\n"); + if (dateCreated != null) sb.append(" dateCreated: ").append(toIndentedString(dateCreated)).append("\n"); + if (dateRevoked != null) sb.append(" dateRevoked: ").append(toIndentedString(dateRevoked)).append("\n"); + if (encodedHtml != null) sb.append(" encodedHtml: ").append(toIndentedString(encodedHtml)).append("\n"); + if (encodedHtmlPopup != null) sb.append(" encodedHtmlPopup: ").append(toIndentedString(encodedHtmlPopup)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseLinks.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseLinks.java index 31f8a2b7e..dace6c1cd 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseLinks.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseLinks.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformation.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformation.java index 5c0ccb4d2..32c832df9 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponseOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationBillTo.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationBillTo.java index 97ec1b760..1647bcd65 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationBillTo.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationBillTo.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponseOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationShipTo.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationShipTo.java index 57cca27c2..0f5bf5819 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationShipTo.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponseOrderInformationShipTo.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponseOrderInformationShipTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformation.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformation.java index 34da3759c..47e05912b 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformation.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponsePaymentInformation {\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationBank.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationBank.java index 5e5206fc2..1f5598e63 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationBank.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationBank.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationBank {\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationEWallet.java b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationEWallet.java index d6e81e214..a771cc257 100644 --- a/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationEWallet.java +++ b/src/main/java/Model/PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationEWallet.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2ModifyBillingAgreementPost201ResponsePaymentInformationEWallet {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201Response.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201Response.java index 77d1b3799..83696984c 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201Response.java @@ -301,17 +301,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" embeddedActions: ").append(toIndentedString(embeddedActions)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (embeddedActions != null) sb.append(" embeddedActions: ").append(toIndentedString(embeddedActions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -322,10 +322,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActions.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActions.java index 35dd42509..53f394f2a 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActions.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActions.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseEmbeddedActions {\n"); - sb.append(" apCapture: ").append(toIndentedString(apCapture)).append("\n"); + if (apCapture != null) sb.append(" apCapture: ").append(toIndentedString(apCapture)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActionsApCapture.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActionsApCapture.java index 4d22febab..b95aed2a2 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActionsApCapture.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseEmbeddedActionsApCapture.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseEmbeddedActionsApCapture {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseLinks.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseLinks.java index 72fdff3e2..d8a0b4819 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseLinks.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseLinks.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" _void: ").append(toIndentedString(_void)).append("\n"); - sb.append(" refund: ").append(toIndentedString(refund)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (_void != null) sb.append(" _void: ").append(toIndentedString(_void)).append("\n"); + if (refund != null) sb.append(" refund: ").append(toIndentedString(refund)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformation.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformation.java index 0f1674cb6..3ff56dd01 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails.java index b60d39610..75e508b47 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" processorTransactionFee: ").append(toIndentedString(processorTransactionFee)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (processorTransactionFee != null) sb.append(" processorTransactionFee: ").append(toIndentedString(processorTransactionFee)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java index f3ea27024..d9c5bf248 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java @@ -42,7 +42,7 @@ public PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails level3 * @return level3TransmissionStatus **/ @ApiModelProperty(value = "Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** ") - public Boolean isLevel3TransmissionStatus() { + public Boolean Level3TransmissionStatus() { return level3TransmissionStatus; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails {\n"); - sb.append(" level3TransmissionStatus: ").append(toIndentedString(level3TransmissionStatus)).append("\n"); + if (level3TransmissionStatus != null) sb.append(" level3TransmissionStatus: ").append(toIndentedString(level3TransmissionStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation.java index af5eb8ebb..5ab437bc4 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation {\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessingInformation.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessingInformation.java index 48d633c48..a53a38a4b 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessingInformation.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessingInformation.java @@ -42,7 +42,7 @@ public PtsV2PaymentsCapturesPost201ResponseProcessingInformation enhancedDataEna * @return enhancedDataEnabled **/ @ApiModelProperty(value = "The possible values for the reply field are: - `true` : the airline data was included in the request to the processor. - `false` : the airline data was not included in the request to the processor. Returned by authorization, capture, or credit services. ") - public Boolean isEnhancedDataEnabled() { + public Boolean EnhancedDataEnabled() { return enhancedDataEnabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseProcessingInformation {\n"); - sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); + if (enhancedDataEnabled != null) sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java index bc5623f81..e5676df93 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost201ResponseProcessorInformation {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n"); - sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (providerResponse != null) sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n"); + if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost400Response.java b/src/main/java/Model/PtsV2PaymentsCapturesPost400Response.java index 5621976fa..96939c80d 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost400Response.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsCapturesPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201Response.java b/src/main/java/Model/PtsV2PaymentsOrderPost201Response.java index e12f6717d..7f85729fc 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201Response.java @@ -301,17 +301,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -322,10 +322,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformation.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformation.java index 4052ada7f..965be1149 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformation.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformation.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseBuyerInformation {\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformationPersonalIdentification.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformationPersonalIdentification.java index 95836a491..129479e33 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseBuyerInformationPersonalIdentification.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseBuyerInformationPersonalIdentification {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformation.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformation.java index 7d08d61ed..01fa351bf 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationAmountDetails.java index b1f271366..150a73cfe 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationBillTo.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationBillTo.java index 35fe25f58..78e740385 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationBillTo.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationBillTo.java @@ -360,20 +360,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseOrderInformationBillTo {\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (nameSuffix != null) sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (verificationStatus != null) sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -384,10 +384,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShipTo.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShipTo.java index 50d40cf4e..6c9f2a4fa 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShipTo.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShipTo.java @@ -272,16 +272,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseOrderInformationShipTo {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -292,10 +292,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShippingDetails.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShippingDetails.java index 188d08c6b..164063b18 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShippingDetails.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseOrderInformationShippingDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseOrderInformationShippingDetails {\n"); - sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); + if (shippingMethod != null) sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformation.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformation.java index 391e4ba85..99e25058b 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformation.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponsePaymentInformation {\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java index c425c9771..191637315 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); - sb.append(" fundingSourceSale: ").append(toIndentedString(fundingSourceSale)).append("\n"); - sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (fundingSource != null) sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); + if (fundingSourceSale != null) sb.append(" fundingSourceSale: ").append(toIndentedString(fundingSourceSale)).append("\n"); + if (userName != null) sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessingInformation.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessingInformation.java index 27cdc4f91..1acc12426 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessingInformation.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessingInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseProcessingInformation {\n"); - sb.append(" intentsId: ").append(toIndentedString(intentsId)).append("\n"); + if (intentsId != null) sb.append(" intentsId: ").append(toIndentedString(intentsId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java index 89ec5341f..c9eb17ea3 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseProcessorInformation {\n"); - sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); - sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (sellerProtection != null) sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); + if (avs != null) sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection.java index 34859fef4..ed669bbfb 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection {\n"); - sb.append(" eligibilty: ").append(toIndentedString(eligibilty)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (eligibilty != null) sb.append(" eligibilty: ").append(toIndentedString(eligibilty)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response.java b/src/main/java/Model/PtsV2PaymentsPost201Response.java index b4756b3e7..14e625490 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response.java @@ -599,30 +599,30 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" paymentAccountInformation: ").append(toIndentedString(paymentAccountInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" paymentInsightsInformation: ").append(toIndentedString(paymentInsightsInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" embeddedActions: ").append(toIndentedString(embeddedActions)).append("\n"); - sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (paymentAccountInformation != null) sb.append(" paymentAccountInformation: ").append(toIndentedString(paymentAccountInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (paymentInsightsInformation != null) sb.append(" paymentInsightsInformation: ").append(toIndentedString(paymentInsightsInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (embeddedActions != null) sb.append(" embeddedActions: ").append(toIndentedString(embeddedActions)).append("\n"); + if (watchlistScreeningInformation != null) sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -633,10 +633,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1.java b/src/main/java/Model/PtsV2PaymentsPost201Response1.java index a9ea19372..814a7e61e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1.java @@ -232,14 +232,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1 {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -250,10 +250,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformation.java index fa052e2c0..e12c79b38 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1OrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationBillTo.java b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationBillTo.java index 93904ee9a..77267ad61 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationBillTo.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationBillTo.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1OrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (nameSuffix != null) sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (verificationStatus != null) sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationShipTo.java b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationShipTo.java index ad452a76b..3f8735dc6 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationShipTo.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationShipTo.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1OrderInformationShipTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformation.java index c8f83a7ae..5e3acd93f 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1PaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBank.java b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBank.java index 1dcd49ee9..a61e3bc7c 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBank.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBank.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1PaymentInformationBank {\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBankAccount.java b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBankAccount.java index b456713d1..9edf60d6f 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBankAccount.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationBankAccount.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1PaymentInformationBankAccount {\n"); - sb.append(" ibanSuffix: ").append(toIndentedString(ibanSuffix)).append("\n"); + if (ibanSuffix != null) sb.append(" ibanSuffix: ").append(toIndentedString(ibanSuffix)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentType.java b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentType.java index f3a09ed1f..a27a39443 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentType.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentType.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1PaymentInformationPaymentType {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentTypeMethod.java b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentTypeMethod.java index d4c95af1e..a922d3a75 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentTypeMethod.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1PaymentInformationPaymentTypeMethod.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1PaymentInformationPaymentTypeMethod {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java index 95131cd18..437874065 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1ProcessorInformation {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" tradeNumber: ").append(toIndentedString(tradeNumber)).append("\n"); - sb.append(" rawResponse: ").append(toIndentedString(rawResponse)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); - sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (tradeNumber != null) sb.append(" tradeNumber: ").append(toIndentedString(tradeNumber)).append("\n"); + if (rawResponse != null) sb.append(" rawResponse: ").append(toIndentedString(rawResponse)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (sellerProtection != null) sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); + if (avs != null) sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformationAvs.java b/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformationAvs.java index 196044e07..0fc7b8f01 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformationAvs.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformationAvs.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response1ProcessorInformationAvs {\n"); - sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); + if (codeRaw != null) sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2.java b/src/main/java/Model/PtsV2PaymentsPost201Response2.java index 70200163f..e7ff8fa33 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2.java @@ -278,16 +278,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response2 {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -298,10 +298,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformation.java index a0c9a0bd0..b84aae665 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response2OrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformationAmountDetails.java index 13f2eb426..d8dfb2596 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2OrderInformationAmountDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response2OrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformation.java index 74e46e551..3b0d90619 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response2PaymentInformation {\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformationEWallet.java b/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformationEWallet.java index 9b0f0945f..01d21280b 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformationEWallet.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2PaymentInformationEWallet.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response2PaymentInformationEWallet {\n"); - sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); + if (fundingSource != null) sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java index 6190f1db4..dc0f95bf6 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201Response2ProcessorInformation {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" paymentUrl: ").append(toIndentedString(paymentUrl)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (paymentUrl != null) sb.append(" paymentUrl: ").append(toIndentedString(paymentUrl)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (token != null) sb.append(" token: ").append(toIndentedString(token)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseBuyerInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseBuyerInformation.java index 2657732da..59b9cc481 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseBuyerInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseBuyerInformation.java @@ -195,12 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); - sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); - sb.append(" loginId: ").append(toIndentedString(loginId)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (loginId != null) sb.append(" loginId: ").append(toIndentedString(loginId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -211,10 +211,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseClientReferenceInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseClientReferenceInformation.java index d54cdba8e..03211c6a4 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseClientReferenceInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseClientReferenceInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); - sb.append(" ownerMerchantId: ").append(toIndentedString(ownerMerchantId)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (submitLocalDateTime != null) sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); + if (ownerMerchantId != null) sb.append(" ownerMerchantId: ").append(toIndentedString(ownerMerchantId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java index 34507ded7..5e837cf83 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java @@ -978,48 +978,48 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation {\n"); - sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); - sb.append(" acsRenderingType: ").append(toIndentedString(acsRenderingType)).append("\n"); - sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); - sb.append(" acsUrl: ").append(toIndentedString(acsUrl)).append("\n"); - sb.append(" authenticationPath: ").append(toIndentedString(authenticationPath)).append("\n"); - sb.append(" authorizationPayload: ").append(toIndentedString(authorizationPayload)).append("\n"); - sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); - sb.append(" cardholderMessage: ").append(toIndentedString(cardholderMessage)).append("\n"); - sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); - sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); - sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); - sb.append(" challengeRequired: ").append(toIndentedString(challengeRequired)).append("\n"); - sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); - sb.append(" directoryServerErrorCode: ").append(toIndentedString(directoryServerErrorCode)).append("\n"); - sb.append(" directoryServerErrorDescription: ").append(toIndentedString(directoryServerErrorDescription)).append("\n"); - sb.append(" ecommerceIndicator: ").append(toIndentedString(ecommerceIndicator)).append("\n"); - sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); - sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); - sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); - sb.append(" ivr: ").append(toIndentedString(ivr)).append("\n"); - sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); - sb.append(" networkScore: ").append(toIndentedString(networkScore)).append("\n"); - sb.append(" pareq: ").append(toIndentedString(pareq)).append("\n"); - sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); - sb.append(" proofXml: ").append(toIndentedString(proofXml)).append("\n"); - sb.append(" proxyPan: ").append(toIndentedString(proxyPan)).append("\n"); - sb.append(" sdkTransactionId: ").append(toIndentedString(sdkTransactionId)).append("\n"); - sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); - sb.append(" specificationVersion: ").append(toIndentedString(specificationVersion)).append("\n"); - sb.append(" stepUpUrl: ").append(toIndentedString(stepUpUrl)).append("\n"); - sb.append(" threeDSServerTransactionId: ").append(toIndentedString(threeDSServerTransactionId)).append("\n"); - sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); - sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); - sb.append(" veresEnrolled: ").append(toIndentedString(veresEnrolled)).append("\n"); - sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); - sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); - sb.append(" authenticationResult: ").append(toIndentedString(authenticationResult)).append("\n"); - sb.append(" authenticationStatusMsg: ").append(toIndentedString(authenticationStatusMsg)).append("\n"); - sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); - sb.append(" interactionCounter: ").append(toIndentedString(interactionCounter)).append("\n"); - sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); + if (accessToken != null) sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + if (acsRenderingType != null) sb.append(" acsRenderingType: ").append(toIndentedString(acsRenderingType)).append("\n"); + if (acsTransactionId != null) sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); + if (acsUrl != null) sb.append(" acsUrl: ").append(toIndentedString(acsUrl)).append("\n"); + if (authenticationPath != null) sb.append(" authenticationPath: ").append(toIndentedString(authenticationPath)).append("\n"); + if (authorizationPayload != null) sb.append(" authorizationPayload: ").append(toIndentedString(authorizationPayload)).append("\n"); + if (authenticationTransactionId != null) sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); + if (cardholderMessage != null) sb.append(" cardholderMessage: ").append(toIndentedString(cardholderMessage)).append("\n"); + if (cavv != null) sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); + if (cavvAlgorithm != null) sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); + if (challengeCancelCode != null) sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); + if (challengeRequired != null) sb.append(" challengeRequired: ").append(toIndentedString(challengeRequired)).append("\n"); + if (decoupledAuthenticationIndicator != null) sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); + if (directoryServerErrorCode != null) sb.append(" directoryServerErrorCode: ").append(toIndentedString(directoryServerErrorCode)).append("\n"); + if (directoryServerErrorDescription != null) sb.append(" directoryServerErrorDescription: ").append(toIndentedString(directoryServerErrorDescription)).append("\n"); + if (ecommerceIndicator != null) sb.append(" ecommerceIndicator: ").append(toIndentedString(ecommerceIndicator)).append("\n"); + if (eci != null) sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); + if (eciRaw != null) sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); + if (effectiveAuthenticationType != null) sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); + if (ivr != null) sb.append(" ivr: ").append(toIndentedString(ivr)).append("\n"); + if (strongAuthentication != null) sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); + if (networkScore != null) sb.append(" networkScore: ").append(toIndentedString(networkScore)).append("\n"); + if (pareq != null) sb.append(" pareq: ").append(toIndentedString(pareq)).append("\n"); + if (paresStatus != null) sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); + if (proofXml != null) sb.append(" proofXml: ").append(toIndentedString(proofXml)).append("\n"); + if (proxyPan != null) sb.append(" proxyPan: ").append(toIndentedString(proxyPan)).append("\n"); + if (sdkTransactionId != null) sb.append(" sdkTransactionId: ").append(toIndentedString(sdkTransactionId)).append("\n"); + if (signedParesStatusReason != null) sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); + if (specificationVersion != null) sb.append(" specificationVersion: ").append(toIndentedString(specificationVersion)).append("\n"); + if (stepUpUrl != null) sb.append(" stepUpUrl: ").append(toIndentedString(stepUpUrl)).append("\n"); + if (threeDSServerTransactionId != null) sb.append(" threeDSServerTransactionId: ").append(toIndentedString(threeDSServerTransactionId)).append("\n"); + if (ucafAuthenticationData != null) sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); + if (ucafCollectionIndicator != null) sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); + if (veresEnrolled != null) sb.append(" veresEnrolled: ").append(toIndentedString(veresEnrolled)).append("\n"); + if (whiteListStatusSource != null) sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (directoryServerTransactionId != null) sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); + if (authenticationResult != null) sb.append(" authenticationResult: ").append(toIndentedString(authenticationResult)).append("\n"); + if (authenticationStatusMsg != null) sb.append(" authenticationStatusMsg: ").append(toIndentedString(authenticationStatusMsg)).append("\n"); + if (indicator != null) sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); + if (interactionCounter != null) sb.append(" interactionCounter: ").append(toIndentedString(interactionCounter)).append("\n"); + if (whiteListStatus != null) sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1030,10 +1030,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr.java index 75e3e41d2..a81db7e98 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr.java @@ -60,7 +60,7 @@ public PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr enabledM * @return enabledMessage **/ @ApiModelProperty(value = "Flag to indicate if a valid IVR transaction was detected. ") - public Boolean isEnabledMessage() { + public Boolean EnabledMessage() { return enabledMessage; } @@ -96,7 +96,7 @@ public PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr encrypti * @return encryptionMandatory **/ @ApiModelProperty(value = "Flag to indicate if the ACS requires the credential to be encrypted. ") - public Boolean isEncryptionMandatory() { + public Boolean EncryptionMandatory() { return encryptionMandatory; } @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr {\n"); - sb.append(" enabledMessage: ").append(toIndentedString(enabledMessage)).append("\n"); - sb.append(" encryptionKey: ").append(toIndentedString(encryptionKey)).append("\n"); - sb.append(" encryptionMandatory: ").append(toIndentedString(encryptionMandatory)).append("\n"); - sb.append(" encryptionType: ").append(toIndentedString(encryptionType)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" prompt: ").append(toIndentedString(prompt)).append("\n"); - sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n"); + if (enabledMessage != null) sb.append(" enabledMessage: ").append(toIndentedString(enabledMessage)).append("\n"); + if (encryptionKey != null) sb.append(" encryptionKey: ").append(toIndentedString(encryptionKey)).append("\n"); + if (encryptionMandatory != null) sb.append(" encryptionMandatory: ").append(toIndentedString(encryptionMandatory)).append("\n"); + if (encryptionType != null) sb.append(" encryptionType: ").append(toIndentedString(encryptionType)).append("\n"); + if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); + if (prompt != null) sb.append(" prompt: ").append(toIndentedString(prompt)).append("\n"); + if (statusMessage != null) sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication.java index b5e25fb6e..60f546da6 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication {\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java index 6d5c1f5d4..81893396d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActions {\n"); - sb.append(" CAPTURE: ").append(toIndentedString(CAPTURE)).append("\n"); - sb.append(" DECISION: ").append(toIndentedString(DECISION)).append("\n"); - sb.append(" CONSUMER_AUTHENTICATION: ").append(toIndentedString(CONSUMER_AUTHENTICATION)).append("\n"); - sb.append(" VALIDATE_CONSUMER_AUTHENTICATION: ").append(toIndentedString(VALIDATE_CONSUMER_AUTHENTICATION)).append("\n"); - sb.append(" WATCHLIST_SCREENING: ").append(toIndentedString(WATCHLIST_SCREENING)).append("\n"); + if (CAPTURE != null) sb.append(" CAPTURE: ").append(toIndentedString(CAPTURE)).append("\n"); + if (DECISION != null) sb.append(" DECISION: ").append(toIndentedString(DECISION)).append("\n"); + if (CONSUMER_AUTHENTICATION != null) sb.append(" CONSUMER_AUTHENTICATION: ").append(toIndentedString(CONSUMER_AUTHENTICATION)).append("\n"); + if (VALIDATE_CONSUMER_AUTHENTICATION != null) sb.append(" VALIDATE_CONSUMER_AUTHENTICATION: ").append(toIndentedString(VALIDATE_CONSUMER_AUTHENTICATION)).append("\n"); + if (WATCHLIST_SCREENING != null) sb.append(" WATCHLIST_SCREENING: ").append(toIndentedString(WATCHLIST_SCREENING)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.java index 25c4d7995..c6187757b 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.java index 788cef542..4ee2ebfbe 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.java index d4d4fa565..f2c89d9bd 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.java index 38dceb70a..fbbadf98c 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformation.java index b7aecf1af..3864e7bd2 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformationDetails.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformationDetails.java index 83f7c059c..d0b7eda8e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformationDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseErrorInformationDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseErrorInformationDetails {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java index df8e85d22..feab7b458 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java @@ -626,32 +626,32 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseInstallmentInformation {\n"); - sb.append(" additionalCosts: ").append(toIndentedString(additionalCosts)).append("\n"); - sb.append(" additionalCostsPercentage: ").append(toIndentedString(additionalCostsPercentage)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" amountFunded: ").append(toIndentedString(amountFunded)).append("\n"); - sb.append(" amountRequestedPercentage: ").append(toIndentedString(amountRequestedPercentage)).append("\n"); - sb.append(" annualFinancingCost: ").append(toIndentedString(annualFinancingCost)).append("\n"); - sb.append(" annualInterestRate: ").append(toIndentedString(annualInterestRate)).append("\n"); - sb.append(" expenses: ").append(toIndentedString(expenses)).append("\n"); - sb.append(" expensesPercentage: ").append(toIndentedString(expensesPercentage)).append("\n"); - sb.append(" fees: ").append(toIndentedString(fees)).append("\n"); - sb.append(" feesPercentage: ").append(toIndentedString(feesPercentage)).append("\n"); - sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); - sb.append(" insurance: ").append(toIndentedString(insurance)).append("\n"); - sb.append(" insurancePercentage: ").append(toIndentedString(insurancePercentage)).append("\n"); - sb.append(" invoiceData: ").append(toIndentedString(invoiceData)).append("\n"); - sb.append(" monthlyInterestRate: ").append(toIndentedString(monthlyInterestRate)).append("\n"); - sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); - sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); - sb.append(" taxes: ").append(toIndentedString(taxes)).append("\n"); - sb.append(" taxesPercentage: ").append(toIndentedString(taxesPercentage)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - sb.append(" minimumTotalCount: ").append(toIndentedString(minimumTotalCount)).append("\n"); - sb.append(" maximumTotalCount: ").append(toIndentedString(maximumTotalCount)).append("\n"); - sb.append(" firstInstallmentAmount: ").append(toIndentedString(firstInstallmentAmount)).append("\n"); - sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); + if (additionalCosts != null) sb.append(" additionalCosts: ").append(toIndentedString(additionalCosts)).append("\n"); + if (additionalCostsPercentage != null) sb.append(" additionalCostsPercentage: ").append(toIndentedString(additionalCostsPercentage)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (amountFunded != null) sb.append(" amountFunded: ").append(toIndentedString(amountFunded)).append("\n"); + if (amountRequestedPercentage != null) sb.append(" amountRequestedPercentage: ").append(toIndentedString(amountRequestedPercentage)).append("\n"); + if (annualFinancingCost != null) sb.append(" annualFinancingCost: ").append(toIndentedString(annualFinancingCost)).append("\n"); + if (annualInterestRate != null) sb.append(" annualInterestRate: ").append(toIndentedString(annualInterestRate)).append("\n"); + if (expenses != null) sb.append(" expenses: ").append(toIndentedString(expenses)).append("\n"); + if (expensesPercentage != null) sb.append(" expensesPercentage: ").append(toIndentedString(expensesPercentage)).append("\n"); + if (fees != null) sb.append(" fees: ").append(toIndentedString(fees)).append("\n"); + if (feesPercentage != null) sb.append(" feesPercentage: ").append(toIndentedString(feesPercentage)).append("\n"); + if (frequency != null) sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); + if (insurance != null) sb.append(" insurance: ").append(toIndentedString(insurance)).append("\n"); + if (insurancePercentage != null) sb.append(" insurancePercentage: ").append(toIndentedString(insurancePercentage)).append("\n"); + if (invoiceData != null) sb.append(" invoiceData: ").append(toIndentedString(invoiceData)).append("\n"); + if (monthlyInterestRate != null) sb.append(" monthlyInterestRate: ").append(toIndentedString(monthlyInterestRate)).append("\n"); + if (planType != null) sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); + if (sequence != null) sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + if (taxes != null) sb.append(" taxes: ").append(toIndentedString(taxes)).append("\n"); + if (taxesPercentage != null) sb.append(" taxesPercentage: ").append(toIndentedString(taxesPercentage)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (minimumTotalCount != null) sb.append(" minimumTotalCount: ").append(toIndentedString(minimumTotalCount)).append("\n"); + if (maximumTotalCount != null) sb.append(" maximumTotalCount: ").append(toIndentedString(maximumTotalCount)).append("\n"); + if (firstInstallmentAmount != null) sb.append(" firstInstallmentAmount: ").append(toIndentedString(firstInstallmentAmount)).append("\n"); + if (firstInstallmentDate != null) sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -662,10 +662,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseIssuerInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseIssuerInformation.java index 5d2a91ea7..c6d191946 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseIssuerInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseIssuerInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseIssuerInformation {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" discretionaryData: ").append(toIndentedString(discretionaryData)).append("\n"); - sb.append(" countrySpecificDiscretionaryData: ").append(toIndentedString(countrySpecificDiscretionaryData)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" pinRequestIndicator: ").append(toIndentedString(pinRequestIndicator)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (discretionaryData != null) sb.append(" discretionaryData: ").append(toIndentedString(discretionaryData)).append("\n"); + if (countrySpecificDiscretionaryData != null) sb.append(" countrySpecificDiscretionaryData: ").append(toIndentedString(countrySpecificDiscretionaryData)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (pinRequestIndicator != null) sb.append(" pinRequestIndicator: ").append(toIndentedString(pinRequestIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseLinks.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseLinks.java index 66426f52c..c3b2b3eaa 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseLinks.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseLinks.java @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); - sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (reversal != null) sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); + if (capture != null) sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseLinksSelf.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseLinksSelf.java index 760636416..5dda3bee1 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseLinksSelf.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseLinksSelf.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformation.java index c683c75a8..8e4ae4501 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseMerchantInformation {\n"); - sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); + if (merchantName != null) sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (returnUrl != null) sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformationMerchantDescriptor.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformationMerchantDescriptor.java index c70ea164f..be67f3913 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseMerchantInformationMerchantDescriptor.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseMerchantInformationMerchantDescriptor {\n"); - sb.append(" storeId: ").append(toIndentedString(storeId)).append("\n"); - sb.append(" storeName: ").append(toIndentedString(storeName)).append("\n"); + if (storeId != null) sb.append(" storeId: ").append(toIndentedString(storeId)).append("\n"); + if (storeName != null) sb.append(" storeName: ").append(toIndentedString(storeName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformation.java index 7dbb16783..036fb30f5 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformation.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" rewardPointsDetails: ").append(toIndentedString(rewardPointsDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (rewardPointsDetails != null) sb.append(" rewardPointsDetails: ").append(toIndentedString(rewardPointsDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.java index b93f571c2..5d97e8e7b 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.java @@ -316,18 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" authorizedAmount: ").append(toIndentedString(authorizedAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); - sb.append(" originalAmount: ").append(toIndentedString(originalAmount)).append("\n"); - sb.append(" originalCurrency: ").append(toIndentedString(originalCurrency)).append("\n"); - sb.append(" processorTransactionFee: ").append(toIndentedString(processorTransactionFee)).append("\n"); - sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); - sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); - sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (authorizedAmount != null) sb.append(" authorizedAmount: ").append(toIndentedString(authorizedAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (originalAmount != null) sb.append(" originalAmount: ").append(toIndentedString(originalAmount)).append("\n"); + if (originalCurrency != null) sb.append(" originalCurrency: ").append(toIndentedString(originalCurrency)).append("\n"); + if (processorTransactionFee != null) sb.append(" processorTransactionFee: ").append(toIndentedString(processorTransactionFee)).append("\n"); + if (exchangeRate != null) sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); + if (foreignCurrency != null) sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); + if (foreignAmount != null) sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -338,10 +338,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.java index 4d89e0015..209e8a155 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.java @@ -338,19 +338,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" alternatePhoneNumberVerificationStatus: ").append(toIndentedString(alternatePhoneNumberVerificationStatus)).append("\n"); - sb.append(" alternateEmailVerificationStatus: ").append(toIndentedString(alternateEmailVerificationStatus)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (alternatePhoneNumberVerificationStatus != null) sb.append(" alternatePhoneNumberVerificationStatus: ").append(toIndentedString(alternatePhoneNumberVerificationStatus)).append("\n"); + if (alternateEmailVerificationStatus != null) sb.append(" alternateEmailVerificationStatus: ").append(toIndentedString(alternateEmailVerificationStatus)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (nameSuffix != null) sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); sb.append("}"); return sb.toString(); } @@ -361,10 +361,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java index 27c09721b..362b130f4 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java @@ -45,7 +45,7 @@ public PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails level3Transmis * @return level3TransmissionStatus **/ @ApiModelProperty(value = "Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** ") - public Boolean isLevel3TransmissionStatus() { + public Boolean Level3TransmissionStatus() { return level3TransmissionStatus; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails {\n"); - sb.append(" level3TransmissionStatus: ").append(toIndentedString(level3TransmissionStatus)).append("\n"); - sb.append(" salesSlipNumber: ").append(toIndentedString(salesSlipNumber)).append("\n"); + if (level3TransmissionStatus != null) sb.append(" level3TransmissionStatus: ").append(toIndentedString(level3TransmissionStatus)).append("\n"); + if (salesSlipNumber != null) sb.append(" salesSlipNumber: ").append(toIndentedString(salesSlipNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.java index f701697c9..ff640c705 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails {\n"); - sb.append(" pointsBeforeRedemption: ").append(toIndentedString(pointsBeforeRedemption)).append("\n"); - sb.append(" pointsValueBeforeRedemption: ").append(toIndentedString(pointsValueBeforeRedemption)).append("\n"); - sb.append(" pointsRedeemed: ").append(toIndentedString(pointsRedeemed)).append("\n"); - sb.append(" pointsValueRedeemed: ").append(toIndentedString(pointsValueRedeemed)).append("\n"); - sb.append(" pointsAfterRedemption: ").append(toIndentedString(pointsAfterRedemption)).append("\n"); - sb.append(" pointsValueAfterRedemption: ").append(toIndentedString(pointsValueAfterRedemption)).append("\n"); + if (pointsBeforeRedemption != null) sb.append(" pointsBeforeRedemption: ").append(toIndentedString(pointsBeforeRedemption)).append("\n"); + if (pointsValueBeforeRedemption != null) sb.append(" pointsValueBeforeRedemption: ").append(toIndentedString(pointsValueBeforeRedemption)).append("\n"); + if (pointsRedeemed != null) sb.append(" pointsRedeemed: ").append(toIndentedString(pointsRedeemed)).append("\n"); + if (pointsValueRedeemed != null) sb.append(" pointsValueRedeemed: ").append(toIndentedString(pointsValueRedeemed)).append("\n"); + if (pointsAfterRedemption != null) sb.append(" pointsAfterRedemption: ").append(toIndentedString(pointsAfterRedemption)).append("\n"); + if (pointsValueAfterRedemption != null) sb.append(" pointsValueAfterRedemption: ").append(toIndentedString(pointsValueAfterRedemption)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationShipTo.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationShipTo.java index f9e74f4bf..fc188964d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationShipTo.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationShipTo.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseOrderInformationShipTo {\n"); - sb.append(" firstname: ").append(toIndentedString(firstname)).append("\n"); - sb.append(" lastname: ").append(toIndentedString(lastname)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstname != null) sb.append(" firstname: ").append(toIndentedString(firstname)).append("\n"); + if (lastname != null) sb.append(" lastname: ").append(toIndentedString(lastname)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformation.java index 2fc5ca44c..1f9411ff8 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentAccountInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformationCard.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformationCard.java index 37e6bce46..47cfd1c94 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformationCard.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentAccountInformationCard.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentAccountInformationCard {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" hashedNumber: ").append(toIndentedString(hashedNumber)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (prefix != null) sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + if (hashedNumber != null) sb.append(" hashedNumber: ").append(toIndentedString(hashedNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformation.java index 196ceaf62..184d6cc11 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformation.java @@ -369,20 +369,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" scheme: ").append(toIndentedString(scheme)).append("\n"); - sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" binCountry: ").append(toIndentedString(binCountry)).append("\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (accountFeatures != null) sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (scheme != null) sb.append(" scheme: ").append(toIndentedString(scheme)).append("\n"); + if (bin != null) sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (binCountry != null) sb.append(" binCountry: ").append(toIndentedString(binCountry)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); sb.append("}"); return sb.toString(); } @@ -393,10 +393,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java index a3e4cca27..87d79555b 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java @@ -459,24 +459,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures {\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" accountStatus: ").append(toIndentedString(accountStatus)).append("\n"); - sb.append(" balances: ").append(toIndentedString(balances)).append("\n"); - sb.append(" balanceAmount: ").append(toIndentedString(balanceAmount)).append("\n"); - sb.append(" balanceAmountType: ").append(toIndentedString(balanceAmountType)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" balanceSign: ").append(toIndentedString(balanceSign)).append("\n"); - sb.append(" affluenceIndicator: ").append(toIndentedString(affluenceIndicator)).append("\n"); - sb.append(" category: ").append(toIndentedString(category)).append("\n"); - sb.append(" commercial: ").append(toIndentedString(commercial)).append("\n"); - sb.append(" group: ").append(toIndentedString(group)).append("\n"); - sb.append(" healthCare: ").append(toIndentedString(healthCare)).append("\n"); - sb.append(" payroll: ").append(toIndentedString(payroll)).append("\n"); - sb.append(" level3Eligible: ").append(toIndentedString(level3Eligible)).append("\n"); - sb.append(" pinlessDebit: ").append(toIndentedString(pinlessDebit)).append("\n"); - sb.append(" signatureDebit: ").append(toIndentedString(signatureDebit)).append("\n"); - sb.append(" prepaid: ").append(toIndentedString(prepaid)).append("\n"); - sb.append(" regulated: ").append(toIndentedString(regulated)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (accountStatus != null) sb.append(" accountStatus: ").append(toIndentedString(accountStatus)).append("\n"); + if (balances != null) sb.append(" balances: ").append(toIndentedString(balances)).append("\n"); + if (balanceAmount != null) sb.append(" balanceAmount: ").append(toIndentedString(balanceAmount)).append("\n"); + if (balanceAmountType != null) sb.append(" balanceAmountType: ").append(toIndentedString(balanceAmountType)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (balanceSign != null) sb.append(" balanceSign: ").append(toIndentedString(balanceSign)).append("\n"); + if (affluenceIndicator != null) sb.append(" affluenceIndicator: ").append(toIndentedString(affluenceIndicator)).append("\n"); + if (category != null) sb.append(" category: ").append(toIndentedString(category)).append("\n"); + if (commercial != null) sb.append(" commercial: ").append(toIndentedString(commercial)).append("\n"); + if (group != null) sb.append(" group: ").append(toIndentedString(group)).append("\n"); + if (healthCare != null) sb.append(" healthCare: ").append(toIndentedString(healthCare)).append("\n"); + if (payroll != null) sb.append(" payroll: ").append(toIndentedString(payroll)).append("\n"); + if (level3Eligible != null) sb.append(" level3Eligible: ").append(toIndentedString(level3Eligible)).append("\n"); + if (pinlessDebit != null) sb.append(" pinlessDebit: ").append(toIndentedString(pinlessDebit)).append("\n"); + if (signatureDebit != null) sb.append(" signatureDebit: ").append(toIndentedString(signatureDebit)).append("\n"); + if (prepaid != null) sb.append(" prepaid: ").append(toIndentedString(prepaid)).append("\n"); + if (regulated != null) sb.append(" regulated: ").append(toIndentedString(regulated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -487,10 +487,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances.java index f868c2ca1..99e3ec12d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances {\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (amountType != null) sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBank.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBank.java index a97d462a2..c6c902a04 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBank.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBank.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationBank {\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" correctedRoutingNumber: ").append(toIndentedString(correctedRoutingNumber)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (correctedRoutingNumber != null) sb.append(" correctedRoutingNumber: ").append(toIndentedString(correctedRoutingNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBankAccount.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBankAccount.java index 30e49a546..c185a30cf 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBankAccount.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationBankAccount.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationBankAccount {\n"); - sb.append(" correctedAccountNumber: ").append(toIndentedString(correctedAccountNumber)).append("\n"); + if (correctedAccountNumber != null) sb.append(" correctedAccountNumber: ").append(toIndentedString(correctedAccountNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationEWallet.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationEWallet.java index e99163237..3105f8a8f 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationEWallet.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationEWallet.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationEWallet {\n"); - sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (fundingSource != null) sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier.java index 185ce1916..359920868 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.java index e103dde89..a2c9abc3d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard {\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" assuranceLevel: ").append(toIndentedString(assuranceLevel)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); - sb.append(" assuranceMethod: ").append(toIndentedString(assuranceMethod)).append("\n"); + if (prefix != null) sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (assuranceLevel != null) sb.append(" assuranceLevel: ").append(toIndentedString(assuranceLevel)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (requestorId != null) sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); + if (assuranceMethod != null) sb.append(" assuranceMethod: ").append(toIndentedString(assuranceMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.java index ccac14598..40411de22 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInsightsInformation {\n"); - sb.append(" responseInsights: ").append(toIndentedString(responseInsights)).append("\n"); - sb.append(" orchestration: ").append(toIndentedString(orchestration)).append("\n"); + if (responseInsights != null) sb.append(" responseInsights: ").append(toIndentedString(responseInsights)).append("\n"); + if (orchestration != null) sb.append(" orchestration: ").append(toIndentedString(orchestration)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationOrchestration.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationOrchestration.java index 523857bcf..c99f27209 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationOrchestration.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationOrchestration.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInsightsInformationOrchestration {\n"); - sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n"); + if (infoCodes != null) sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.java index 8db36149c..dfa4500c7 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights {\n"); - sb.append(" category: ").append(toIndentedString(category)).append("\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" processorRawName: ").append(toIndentedString(processorRawName)).append("\n"); + if (category != null) sb.append(" category: ").append(toIndentedString(category)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (processorRawName != null) sb.append(" processorRawName: ").append(toIndentedString(processorRawName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformation.java index 902d2b581..610dff127 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePointOfSaleInformation {\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); - sb.append(" amexCapnData: ").append(toIndentedString(amexCapnData)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (amexCapnData != null) sb.append(" amexCapnData: ").append(toIndentedString(amexCapnData)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv.java index ad6ce96a1..41bcb636e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv {\n"); - sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); - sb.append(" chipValidationType: ").append(toIndentedString(chipValidationType)).append("\n"); - sb.append(" chipValidationResult: ").append(toIndentedString(chipValidationResult)).append("\n"); + if (tags != null) sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + if (chipValidationType != null) sb.append(" chipValidationType: ").append(toIndentedString(chipValidationType)).append("\n"); + if (chipValidationResult != null) sb.append(" chipValidationResult: ").append(toIndentedString(chipValidationResult)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java index b865c7d0a..3303bf6d0 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java @@ -89,7 +89,7 @@ public PtsV2PaymentsPost201ResponseProcessingInformation enhancedDataEnabled(Boo * @return enhancedDataEnabled **/ @ApiModelProperty(value = "The possible values for the reply field are: - `true` : the airline data was included in the request to the processor. - `false` : the airline data was not included in the request to the processor. Returned by authorization, capture, or credit services. ") - public Boolean isEnhancedDataEnabled() { + public Boolean EnhancedDataEnabled() { return enhancedDataEnabled; } @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessingInformation {\n"); - sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); - sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); + if (bankTransferOptions != null) sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (enhancedDataEnabled != null) sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); + if (captureOptions != null) sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions.java index 66777ad09..ba412e9c3 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions {\n"); - sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); - sb.append(" fraudScreeningLevel: ").append(toIndentedString(fraudScreeningLevel)).append("\n"); + if (settlementMethod != null) sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); + if (fraudScreeningLevel != null) sb.append(" fraudScreeningLevel: ").append(toIndentedString(fraudScreeningLevel)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions.java index 4f35d3774..4501f2207 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions {\n"); - sb.append(" finalCapture: ").append(toIndentedString(finalCapture)).append("\n"); + if (finalCapture != null) sb.append(" finalCapture: ").append(toIndentedString(finalCapture)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java index 2855f35ef..4c8e71f97 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java @@ -1029,50 +1029,50 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformation {\n"); - sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" cardReferenceData: ").append(toIndentedString(cardReferenceData)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" responseCategoryCode: ").append(toIndentedString(responseCategoryCode)).append("\n"); - sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); - sb.append(" settlementDate: ").append(toIndentedString(settlementDate)).append("\n"); - sb.append(" sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n"); - sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); - sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); - sb.append(" merchantAdvice: ").append(toIndentedString(merchantAdvice)).append("\n"); - sb.append(" electronicVerificationResults: ").append(toIndentedString(electronicVerificationResults)).append("\n"); - sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" consumerAuthenticationResponse: ").append(toIndentedString(consumerAuthenticationResponse)).append("\n"); - sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); - sb.append(" paymentAccountReferenceNumber: ").append(toIndentedString(paymentAccountReferenceNumber)).append("\n"); - sb.append(" transactionIntegrityCode: ").append(toIndentedString(transactionIntegrityCode)).append("\n"); - sb.append(" amexVerbalAuthReferenceNumber: ").append(toIndentedString(amexVerbalAuthReferenceNumber)).append("\n"); - sb.append(" masterCardServiceCode: ").append(toIndentedString(masterCardServiceCode)).append("\n"); - sb.append(" masterCardServiceReplyCode: ").append(toIndentedString(masterCardServiceReplyCode)).append("\n"); - sb.append(" masterCardAuthenticationType: ").append(toIndentedString(masterCardAuthenticationType)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" routing: ").append(toIndentedString(routing)).append("\n"); - sb.append(" merchantNumber: ").append(toIndentedString(merchantNumber)).append("\n"); - sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); - sb.append(" paymentUrl: ").append(toIndentedString(paymentUrl)).append("\n"); - sb.append(" completeUrl: ").append(toIndentedString(completeUrl)).append("\n"); - sb.append(" signature: ").append(toIndentedString(signature)).append("\n"); - sb.append(" publicKey: ").append(toIndentedString(publicKey)).append("\n"); - sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); - sb.append(" transactionExpiryDate: ").append(toIndentedString(transactionExpiryDate)).append("\n"); - sb.append(" customUrl: ").append(toIndentedString(customUrl)).append("\n"); - sb.append(" schemeAssignedId: ").append(toIndentedString(schemeAssignedId)).append("\n"); - sb.append(" deviceUrl: ").append(toIndentedString(deviceUrl)).append("\n"); - sb.append(" disbursementMode: ").append(toIndentedString(disbursementMode)).append("\n"); - sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); - sb.append(" expirationTimeUtc: ").append(toIndentedString(expirationTimeUtc)).append("\n"); - sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); - sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); + if (authIndicator != null) sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (cardReferenceData != null) sb.append(" cardReferenceData: ").append(toIndentedString(cardReferenceData)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (responseCodeSource != null) sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (responseCategoryCode != null) sb.append(" responseCategoryCode: ").append(toIndentedString(responseCategoryCode)).append("\n"); + if (forwardedAcquirerCode != null) sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); + if (settlementDate != null) sb.append(" settlementDate: ").append(toIndentedString(settlementDate)).append("\n"); + if (sequenceNumber != null) sb.append(" sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n"); + if (avs != null) sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); + if (cardVerification != null) sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); + if (merchantAdvice != null) sb.append(" merchantAdvice: ").append(toIndentedString(merchantAdvice)).append("\n"); + if (electronicVerificationResults != null) sb.append(" electronicVerificationResults: ").append(toIndentedString(electronicVerificationResults)).append("\n"); + if (achVerification != null) sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (consumerAuthenticationResponse != null) sb.append(" consumerAuthenticationResponse: ").append(toIndentedString(consumerAuthenticationResponse)).append("\n"); + if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); + if (paymentAccountReferenceNumber != null) sb.append(" paymentAccountReferenceNumber: ").append(toIndentedString(paymentAccountReferenceNumber)).append("\n"); + if (transactionIntegrityCode != null) sb.append(" transactionIntegrityCode: ").append(toIndentedString(transactionIntegrityCode)).append("\n"); + if (amexVerbalAuthReferenceNumber != null) sb.append(" amexVerbalAuthReferenceNumber: ").append(toIndentedString(amexVerbalAuthReferenceNumber)).append("\n"); + if (masterCardServiceCode != null) sb.append(" masterCardServiceCode: ").append(toIndentedString(masterCardServiceCode)).append("\n"); + if (masterCardServiceReplyCode != null) sb.append(" masterCardServiceReplyCode: ").append(toIndentedString(masterCardServiceReplyCode)).append("\n"); + if (masterCardAuthenticationType != null) sb.append(" masterCardAuthenticationType: ").append(toIndentedString(masterCardAuthenticationType)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (routing != null) sb.append(" routing: ").append(toIndentedString(routing)).append("\n"); + if (merchantNumber != null) sb.append(" merchantNumber: ").append(toIndentedString(merchantNumber)).append("\n"); + if (retrievalReferenceNumber != null) sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); + if (paymentUrl != null) sb.append(" paymentUrl: ").append(toIndentedString(paymentUrl)).append("\n"); + if (completeUrl != null) sb.append(" completeUrl: ").append(toIndentedString(completeUrl)).append("\n"); + if (signature != null) sb.append(" signature: ").append(toIndentedString(signature)).append("\n"); + if (publicKey != null) sb.append(" publicKey: ").append(toIndentedString(publicKey)).append("\n"); + if (sellerProtection != null) sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); + if (transactionExpiryDate != null) sb.append(" transactionExpiryDate: ").append(toIndentedString(transactionExpiryDate)).append("\n"); + if (customUrl != null) sb.append(" customUrl: ").append(toIndentedString(customUrl)).append("\n"); + if (schemeAssignedId != null) sb.append(" schemeAssignedId: ").append(toIndentedString(schemeAssignedId)).append("\n"); + if (deviceUrl != null) sb.append(" deviceUrl: ").append(toIndentedString(deviceUrl)).append("\n"); + if (disbursementMode != null) sb.append(" disbursementMode: ").append(toIndentedString(disbursementMode)).append("\n"); + if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); + if (expirationTimeUtc != null) sb.append(" expirationTimeUtc: ").append(toIndentedString(expirationTimeUtc)).append("\n"); + if (orderId != null) sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); + if (orderStatus != null) sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1083,10 +1083,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.java index 826a704b8..4cd38cad5 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationAchVerification {\n"); - sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); - sb.append(" resultCodeRaw: ").append(toIndentedString(resultCodeRaw)).append("\n"); + if (resultCode != null) sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); + if (resultCodeRaw != null) sb.append(" resultCodeRaw: ").append(toIndentedString(resultCodeRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAvs.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAvs.java index 6c004ad1c..4812bb12f 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAvs.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationAvs.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationAvs {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (codeRaw != null) sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCardVerification.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCardVerification.java index 37b52dc77..ee60d1880 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCardVerification.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCardVerification.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationCardVerification {\n"); - sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); - sb.append(" resultCodeRaw: ").append(toIndentedString(resultCodeRaw)).append("\n"); + if (resultCode != null) sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); + if (resultCodeRaw != null) sb.append(" resultCodeRaw: ").append(toIndentedString(resultCodeRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse.java index 3b8814020..aa31b7c43 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (codeRaw != null) sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCustomer.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCustomer.java index 05a931e87..3cafacbde 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCustomer.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationCustomer {\n"); - sb.append(" personalIdResult: ").append(toIndentedString(personalIdResult)).append("\n"); + if (personalIdResult != null) sb.append(" personalIdResult: ").append(toIndentedString(personalIdResult)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.java index 5405bc128..930a83c39 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.java @@ -448,24 +448,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" emailRaw: ").append(toIndentedString(emailRaw)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" phoneNumberRaw: ").append(toIndentedString(phoneNumberRaw)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" postalCodeRaw: ").append(toIndentedString(postalCodeRaw)).append("\n"); - sb.append(" street: ").append(toIndentedString(street)).append("\n"); - sb.append(" streetRaw: ").append(toIndentedString(streetRaw)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" nameRaw: ").append(toIndentedString(nameRaw)).append("\n"); - sb.append(" firstNameRaw: ").append(toIndentedString(firstNameRaw)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleNameRaw: ").append(toIndentedString(middleNameRaw)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastNameRaw: ").append(toIndentedString(lastNameRaw)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (codeRaw != null) sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (emailRaw != null) sb.append(" emailRaw: ").append(toIndentedString(emailRaw)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (phoneNumberRaw != null) sb.append(" phoneNumberRaw: ").append(toIndentedString(phoneNumberRaw)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (postalCodeRaw != null) sb.append(" postalCodeRaw: ").append(toIndentedString(postalCodeRaw)).append("\n"); + if (street != null) sb.append(" street: ").append(toIndentedString(street)).append("\n"); + if (streetRaw != null) sb.append(" streetRaw: ").append(toIndentedString(streetRaw)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (nameRaw != null) sb.append(" nameRaw: ").append(toIndentedString(nameRaw)).append("\n"); + if (firstNameRaw != null) sb.append(" firstNameRaw: ").append(toIndentedString(firstNameRaw)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleNameRaw != null) sb.append(" middleNameRaw: ").append(toIndentedString(middleNameRaw)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastNameRaw != null) sb.append(" lastNameRaw: ").append(toIndentedString(lastNameRaw)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -476,10 +476,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.java index 8a6e28aef..cbb530d27 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); - sb.append(" nameMatch: ").append(toIndentedString(nameMatch)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (codeRaw != null) sb.append(" codeRaw: ").append(toIndentedString(codeRaw)).append("\n"); + if (nameMatch != null) sb.append(" nameMatch: ").append(toIndentedString(nameMatch)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationRouting.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationRouting.java index df2620726..50b22d2da 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationRouting.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationRouting.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationRouting {\n"); - sb.append(" network: ").append(toIndentedString(network)).append("\n"); - sb.append(" networkName: ").append(toIndentedString(networkName)).append("\n"); - sb.append(" customerSignatureRequired: ").append(toIndentedString(customerSignatureRequired)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); + if (networkName != null) sb.append(" networkName: ").append(toIndentedString(networkName)).append("\n"); + if (customerSignatureRequired != null) sb.append(" customerSignatureRequired: ").append(toIndentedString(customerSignatureRequired)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.java index c2602f8a5..a39b2a336 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.java @@ -150,10 +150,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" eligibility: ").append(toIndentedString(eligibility)).append("\n"); - sb.append(" disputeCategories: ").append(toIndentedString(disputeCategories)).append("\n"); - sb.append(" eligibilityType: ").append(toIndentedString(eligibilityType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (eligibility != null) sb.append(" eligibility: ").append(toIndentedString(eligibility)).append("\n"); + if (disputeCategories != null) sb.append(" disputeCategories: ").append(toIndentedString(disputeCategories)).append("\n"); + if (eligibilityType != null) sb.append(" eligibilityType: ").append(toIndentedString(eligibilityType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -164,10 +164,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformation.java index df5b8517b..825423243 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformation.java @@ -323,17 +323,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformation {\n"); - sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); - sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); - sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n"); - sb.append(" velocity: ").append(toIndentedString(velocity)).append("\n"); - sb.append(" casePriority: ").append(toIndentedString(casePriority)).append("\n"); - sb.append(" localTime: ").append(toIndentedString(localTime)).append("\n"); - sb.append(" score: ").append(toIndentedString(score)).append("\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" providers: ").append(toIndentedString(providers)).append("\n"); - sb.append(" travel: ").append(toIndentedString(travel)).append("\n"); - sb.append(" processorResults: ").append(toIndentedString(processorResults)).append("\n"); + if (profile != null) sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); + if (rules != null) sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); + if (infoCodes != null) sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n"); + if (velocity != null) sb.append(" velocity: ").append(toIndentedString(velocity)).append("\n"); + if (casePriority != null) sb.append(" casePriority: ").append(toIndentedString(casePriority)).append("\n"); + if (localTime != null) sb.append(" localTime: ").append(toIndentedString(localTime)).append("\n"); + if (score != null) sb.append(" score: ").append(toIndentedString(score)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (providers != null) sb.append(" providers: ").append(toIndentedString(providers)).append("\n"); + if (travel != null) sb.append(" travel: ").append(toIndentedString(travel)).append("\n"); + if (processorResults != null) sb.append(" processorResults: ").append(toIndentedString(processorResults)).append("\n"); sb.append("}"); return sb.toString(); } @@ -344,10 +344,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationInfoCodes.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationInfoCodes.java index dedb4331c..8ed041239 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationInfoCodes.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationInfoCodes.java @@ -324,15 +324,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationInfoCodes {\n"); - sb.append(" velocity: ").append(toIndentedString(velocity)).append("\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); - sb.append(" customerList: ").append(toIndentedString(customerList)).append("\n"); - sb.append(" deviceBehavior: ").append(toIndentedString(deviceBehavior)).append("\n"); - sb.append(" identityChange: ").append(toIndentedString(identityChange)).append("\n"); - sb.append(" internet: ").append(toIndentedString(internet)).append("\n"); - sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); - sb.append(" suspicious: ").append(toIndentedString(suspicious)).append("\n"); - sb.append(" globalVelocity: ").append(toIndentedString(globalVelocity)).append("\n"); + if (velocity != null) sb.append(" velocity: ").append(toIndentedString(velocity)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (customerList != null) sb.append(" customerList: ").append(toIndentedString(customerList)).append("\n"); + if (deviceBehavior != null) sb.append(" deviceBehavior: ").append(toIndentedString(deviceBehavior)).append("\n"); + if (identityChange != null) sb.append(" identityChange: ").append(toIndentedString(identityChange)).append("\n"); + if (internet != null) sb.append(" internet: ").append(toIndentedString(internet)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (suspicious != null) sb.append(" suspicious: ").append(toIndentedString(suspicious)).append("\n"); + if (globalVelocity != null) sb.append(" globalVelocity: ").append(toIndentedString(globalVelocity)).append("\n"); sb.append("}"); return sb.toString(); } @@ -343,10 +343,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationIpAddress.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationIpAddress.java index 8cd1c2972..0f493466e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationIpAddress.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationIpAddress.java @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationIpAddress {\n"); - sb.append(" anonymizerStatus: ").append(toIndentedString(anonymizerStatus)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" routingMethod: ").append(toIndentedString(routingMethod)).append("\n"); - sb.append(" carrier: ").append(toIndentedString(carrier)).append("\n"); - sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); + if (anonymizerStatus != null) sb.append(" anonymizerStatus: ").append(toIndentedString(anonymizerStatus)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (routingMethod != null) sb.append(" routingMethod: ").append(toIndentedString(routingMethod)).append("\n"); + if (carrier != null) sb.append(" carrier: ").append(toIndentedString(carrier)).append("\n"); + if (organization != null) sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProcessorResults.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProcessorResults.java index a64950729..2091f5bc9 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProcessorResults.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProcessorResults.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationProcessorResults {\n"); - sb.append(" fraudDecision: ").append(toIndentedString(fraudDecision)).append("\n"); - sb.append(" fraudDecisionReason: ").append(toIndentedString(fraudDecisionReason)).append("\n"); + if (fraudDecision != null) sb.append(" fraudDecision: ").append(toIndentedString(fraudDecision)).append("\n"); + if (fraudDecisionReason != null) sb.append(" fraudDecisionReason: ").append(toIndentedString(fraudDecisionReason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProfile.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProfile.java index b1f1244c2..12092a9cf 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProfile.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationProfile.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationProfile {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" desinationQueue: ").append(toIndentedString(desinationQueue)).append("\n"); - sb.append(" selectorRule: ").append(toIndentedString(selectorRule)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (desinationQueue != null) sb.append(" desinationQueue: ").append(toIndentedString(desinationQueue)).append("\n"); + if (selectorRule != null) sb.append(" selectorRule: ").append(toIndentedString(selectorRule)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationRules.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationRules.java index 821212e37..684a4282d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationRules.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationRules.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationRules {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (decision != null) sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationScore.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationScore.java index 9cb4a8cce..7343ff4df 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationScore.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationScore.java @@ -128,9 +128,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationScore {\n"); - sb.append(" factorCodes: ").append(toIndentedString(factorCodes)).append("\n"); - sb.append(" modelUsed: ").append(toIndentedString(modelUsed)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); + if (factorCodes != null) sb.append(" factorCodes: ").append(toIndentedString(factorCodes)).append("\n"); + if (modelUsed != null) sb.append(" modelUsed: ").append(toIndentedString(modelUsed)).append("\n"); + if (result != null) sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append("}"); return sb.toString(); } @@ -141,10 +141,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravel.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravel.java index b55b92313..edf16174e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravel.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravel.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationTravel {\n"); - sb.append(" actualFinalDestination: ").append(toIndentedString(actualFinalDestination)).append("\n"); - sb.append(" firstDeparture: ").append(toIndentedString(firstDeparture)).append("\n"); - sb.append(" firstDestination: ").append(toIndentedString(firstDestination)).append("\n"); - sb.append(" lastDestination: ").append(toIndentedString(lastDestination)).append("\n"); + if (actualFinalDestination != null) sb.append(" actualFinalDestination: ").append(toIndentedString(actualFinalDestination)).append("\n"); + if (firstDeparture != null) sb.append(" firstDeparture: ").append(toIndentedString(firstDeparture)).append("\n"); + if (firstDestination != null) sb.append(" firstDestination: ").append(toIndentedString(firstDestination)).append("\n"); + if (lastDestination != null) sb.append(" lastDestination: ").append(toIndentedString(lastDestination)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination.java index 14c29a086..3c5a62d8a 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); - sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (latitude != null) sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); + if (longitude != null) sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture.java index e88f0e5ea..c0559954f 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); - sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (latitude != null) sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); + if (longitude != null) sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination.java index 22dd73dab..dd977b4aa 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); - sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (latitude != null) sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); + if (longitude != null) sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination.java index c8aadac8b..99b88c423 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); - sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (latitude != null) sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); + if (longitude != null) sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocity.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocity.java index ec2c53a12..86cdaf37c 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocity.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocity.java @@ -115,8 +115,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationVelocity {\n"); - sb.append(" morphing: ").append(toIndentedString(morphing)).append("\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (morphing != null) sb.append(" morphing: ").append(toIndentedString(morphing)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); sb.append("}"); return sb.toString(); } @@ -127,10 +127,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.java index 98d07dc41..44076176e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing {\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); - sb.append(" informationCode: ").append(toIndentedString(informationCode)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (fieldName != null) sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); + if (informationCode != null) sb.append(" informationCode: ").append(toIndentedString(informationCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformation.java index 9fb29c57d..75303a694 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformation.java @@ -58,7 +58,7 @@ public PtsV2PaymentsPost201ResponseTokenInformation instrumentidentifierNew(Bool * @return instrumentidentifierNew **/ @ApiModelProperty(value = "A value of true means the card number or bank account used to create an Instrument Identifier was new and did not already exist in the token vault. A value of false means the card number or bank account used to create an Instrument Identifier already existed in the token vault. ") - public Boolean isInstrumentidentifierNew() { + public Boolean InstrumentidentifierNew() { return instrumentidentifierNew; } @@ -166,11 +166,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseTokenInformation {\n"); - sb.append(" instrumentidentifierNew: ").append(toIndentedString(instrumentidentifierNew)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (instrumentidentifierNew != null) sb.append(" instrumentidentifierNew: ").append(toIndentedString(instrumentidentifierNew)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -181,10 +181,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationCustomer.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationCustomer.java index 36b2aa633..4db98cb1e 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationCustomer.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseTokenInformationCustomer {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier.java index 37682e02e..4e9f400c6 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.java index 8acaf630c..4cf692f5d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.java index e6997588b..46ade236f 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseTokenInformationShippingAddress {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.java index 9d81a2cca..f8b9ac4ff 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.java @@ -131,9 +131,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformation {\n"); - sb.append(" ipCountryConfidence: ").append(toIndentedString(ipCountryConfidence)).append("\n"); - sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n"); - sb.append(" watchList: ").append(toIndentedString(watchList)).append("\n"); + if (ipCountryConfidence != null) sb.append(" ipCountryConfidence: ").append(toIndentedString(ipCountryConfidence)).append("\n"); + if (infoCodes != null) sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n"); + if (watchList != null) sb.append(" watchList: ").append(toIndentedString(watchList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -144,10 +144,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.java index a2837e129..173a80eb4 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList {\n"); - sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + if (matches != null) sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.java index afb12a716..0ebcc18a0 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.java @@ -166,10 +166,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches {\n"); - sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n"); - sb.append(" sanctionList: ").append(toIndentedString(sanctionList)).append("\n"); - sb.append(" aliases: ").append(toIndentedString(aliases)).append("\n"); - sb.append(" programs: ").append(toIndentedString(programs)).append("\n"); + if (addresses != null) sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n"); + if (sanctionList != null) sb.append(" sanctionList: ").append(toIndentedString(sanctionList)).append("\n"); + if (aliases != null) sb.append(" aliases: ").append(toIndentedString(aliases)).append("\n"); + if (programs != null) sb.append(" programs: ").append(toIndentedString(programs)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost400Response.java b/src/main/java/Model/PtsV2PaymentsPost400Response.java index e481d96e0..27efc8eee 100644 --- a/src/main/java/Model/PtsV2PaymentsPost400Response.java +++ b/src/main/java/Model/PtsV2PaymentsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsPost502Response.java b/src/main/java/Model/PtsV2PaymentsPost502Response.java index 1bdf18b92..2f6a55ece 100644 --- a/src/main/java/Model/PtsV2PaymentsPost502Response.java +++ b/src/main/java/Model/PtsV2PaymentsPost502Response.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsPost502Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201Response.java b/src/main/java/Model/PtsV2PaymentsRefundPost201Response.java index 40e9d31b6..b9ca127da 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201Response.java @@ -278,16 +278,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" refundAmountDetails: ").append(toIndentedString(refundAmountDetails)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (refundAmountDetails != null) sb.append(" refundAmountDetails: ").append(toIndentedString(refundAmountDetails)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -298,10 +298,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseClientReferenceInformation.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseClientReferenceInformation.java index d8bd77eb6..f48229959 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseClientReferenceInformation.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseClientReferenceInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); - sb.append(" ownerMerchantId: ").append(toIndentedString(ownerMerchantId)).append("\n"); - sb.append(" returnReconciliationId: ").append(toIndentedString(returnReconciliationId)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (submitLocalDateTime != null) sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); + if (ownerMerchantId != null) sb.append(" ownerMerchantId: ").append(toIndentedString(ownerMerchantId)).append("\n"); + if (returnReconciliationId != null) sb.append(" returnReconciliationId: ").append(toIndentedString(returnReconciliationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseLinks.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseLinks.java index 03fe6c37a..66adc8026 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseLinks.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseLinks.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" _void: ").append(toIndentedString(_void)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (_void != null) sb.append(" _void: ").append(toIndentedString(_void)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformation.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformation.java index 7fa828b24..09cde5170 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformationAmountDetails.java index 6e82a4163..44989a197 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseOrderInformationAmountDetails.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); - sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); - sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); - sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (exchangeRate != null) sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); + if (foreignAmount != null) sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); + if (foreignCurrency != null) sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java index 27ee718cd..c69cade7f 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201ResponseProcessorInformation {\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); - sb.append(" merchantNumber: ").append(toIndentedString(merchantNumber)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); - sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); - sb.append(" settlementDate: ").append(toIndentedString(settlementDate)).append("\n"); - sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (forwardedAcquirerCode != null) sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); + if (merchantNumber != null) sb.append(" merchantNumber: ").append(toIndentedString(merchantNumber)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (achVerification != null) sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); + if (settlementDate != null) sb.append(" settlementDate: ").append(toIndentedString(settlementDate)).append("\n"); + if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseRefundAmountDetails.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseRefundAmountDetails.java index d4e1d36c6..db8d64cad 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseRefundAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseRefundAmountDetails.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost201ResponseRefundAmountDetails {\n"); - sb.append(" refundAmount: ").append(toIndentedString(refundAmount)).append("\n"); - sb.append(" creditAmount: ").append(toIndentedString(creditAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (refundAmount != null) sb.append(" refundAmount: ").append(toIndentedString(refundAmount)).append("\n"); + if (creditAmount != null) sb.append(" creditAmount: ").append(toIndentedString(creditAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost400Response.java b/src/main/java/Model/PtsV2PaymentsRefundPost400Response.java index 840e0d4d0..4ad11420d 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost400Response.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsRefundPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java index 9dee5e89a..360b4cb45 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java @@ -301,17 +301,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsReversalsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" reversalAmountDetails: ").append(toIndentedString(reversalAmountDetails)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" authorizationInformation: ").append(toIndentedString(authorizationInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (reversalAmountDetails != null) sb.append(" reversalAmountDetails: ").append(toIndentedString(reversalAmountDetails)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (authorizationInformation != null) sb.append(" authorizationInformation: ").append(toIndentedString(authorizationInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -322,10 +322,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation.java index 9b98a4827..f8f51c90f 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation {\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" reversalSubmitted: ").append(toIndentedString(reversalSubmitted)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (reversalSubmitted != null) sb.append(" reversalSubmitted: ").append(toIndentedString(reversalSubmitted)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseIssuerInformation.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseIssuerInformation.java index 943b778e5..121b5d545 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseIssuerInformation.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseIssuerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsReversalsPost201ResponseIssuerInformation {\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java index 763166e85..963d4c7a0 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsReversalsPost201ResponseProcessorInformation {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" responseCategoryCode: ").append(toIndentedString(responseCategoryCode)).append("\n"); - sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); - sb.append(" masterCardServiceCode: ").append(toIndentedString(masterCardServiceCode)).append("\n"); - sb.append(" masterCardServiceReplyCode: ").append(toIndentedString(masterCardServiceReplyCode)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (responseCategoryCode != null) sb.append(" responseCategoryCode: ").append(toIndentedString(responseCategoryCode)).append("\n"); + if (forwardedAcquirerCode != null) sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); + if (masterCardServiceCode != null) sb.append(" masterCardServiceCode: ").append(toIndentedString(masterCardServiceCode)).append("\n"); + if (masterCardServiceReplyCode != null) sb.append(" masterCardServiceReplyCode: ").append(toIndentedString(masterCardServiceReplyCode)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (providerResponse != null) sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.java index c8d885f13..fe8388404 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails {\n"); - sb.append(" reversedAmount: ").append(toIndentedString(reversedAmount)).append("\n"); - sb.append(" originalTransactionAmount: ").append(toIndentedString(originalTransactionAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (reversedAmount != null) sb.append(" reversedAmount: ").append(toIndentedString(reversedAmount)).append("\n"); + if (originalTransactionAmount != null) sb.append(" originalTransactionAmount: ").append(toIndentedString(originalTransactionAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost400Response.java b/src/main/java/Model/PtsV2PaymentsReversalsPost400Response.java index 94d1549bb..eb41d9000 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost400Response.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsReversalsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsVoidsPost201Response.java b/src/main/java/Model/PtsV2PaymentsVoidsPost201Response.java index cbb459e25..27246719d 100644 --- a/src/main/java/Model/PtsV2PaymentsVoidsPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsVoidsPost201Response.java @@ -232,14 +232,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsVoidsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" voidAmountDetails: ").append(toIndentedString(voidAmountDetails)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (voidAmountDetails != null) sb.append(" voidAmountDetails: ").append(toIndentedString(voidAmountDetails)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -250,10 +250,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseProcessorInformation.java index 00be76f5e..7ae961f00 100644 --- a/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseProcessorInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsVoidsPost201ResponseProcessorInformation {\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails.java b/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails.java index 064006fb9..ded63c44d 100644 --- a/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails {\n"); - sb.append(" voidAmount: ").append(toIndentedString(voidAmount)).append("\n"); - sb.append(" originalTransactionAmount: ").append(toIndentedString(originalTransactionAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (voidAmount != null) sb.append(" voidAmount: ").append(toIndentedString(voidAmount)).append("\n"); + if (originalTransactionAmount != null) sb.append(" originalTransactionAmount: ").append(toIndentedString(originalTransactionAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PaymentsVoidsPost400Response.java b/src/main/java/Model/PtsV2PaymentsVoidsPost400Response.java index 10a5f7d3f..ef57876a4 100644 --- a/src/main/java/Model/PtsV2PaymentsVoidsPost400Response.java +++ b/src/main/java/Model/PtsV2PaymentsVoidsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PaymentsVoidsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201Response.java b/src/main/java/Model/PtsV2PayoutsPost201Response.java index 795c58203..c83b090e8 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201Response.java +++ b/src/main/java/Model/PtsV2PayoutsPost201Response.java @@ -347,19 +347,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -370,10 +370,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseErrorInformation.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseErrorInformation.java index df8b7542d..45c722c4b 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseErrorInformation.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseIssuerInformation.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseIssuerInformation.java index 7e7889e80..51e2c7e0a 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseIssuerInformation.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseIssuerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseIssuerInformation {\n"); - sb.append(" serviceProcessingType: ").append(toIndentedString(serviceProcessingType)).append("\n"); + if (serviceProcessingType != null) sb.append(" serviceProcessingType: ").append(toIndentedString(serviceProcessingType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformation.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformation.java index dfff2a28a..7c051058f 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformation.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor.java index 7b4a60c1c..2f8ae463f 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformation.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformation.java index f88b67348..9cb52d19e 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformation.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformationAmountDetails.java index fc8c2469f..fcd767753 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseOrderInformationAmountDetails.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseProcessorInformation.java index b69f7af8a..aedfa9f72 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseProcessorInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseProcessorInformation {\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); - sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); + if (responseCodeSource != null) sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformation.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformation.java index 660ebc96a..eab7febd0 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformation.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseRecipientInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformationCard.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformationCard.java index fedcfaff0..f08e0b05a 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformationCard.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseRecipientInformationCard.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost201ResponseRecipientInformationCard {\n"); - sb.append(" balance: ").append(toIndentedString(balance)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (balance != null) sb.append(" balance: ").append(toIndentedString(balance)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2PayoutsPost400Response.java b/src/main/java/Model/PtsV2PayoutsPost400Response.java index 5fda1297a..bca0cfc9d 100644 --- a/src/main/java/Model/PtsV2PayoutsPost400Response.java +++ b/src/main/java/Model/PtsV2PayoutsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2PayoutsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PtsV2UpdateOrderPatch201Response.java b/src/main/java/Model/PtsV2UpdateOrderPatch201Response.java index f0d97dd52..962a31cc9 100644 --- a/src/main/java/Model/PtsV2UpdateOrderPatch201Response.java +++ b/src/main/java/Model/PtsV2UpdateOrderPatch201Response.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PtsV2UpdateOrderPatch201Response {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java b/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java index bb6bf4af3..d7aec30d6 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferAggregatorInformation {\n"); - sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" independentSalesOrganizationID: ").append(toIndentedString(independentSalesOrganizationID)).append("\n"); - sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); + if (aggregatorId != null) sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (independentSalesOrganizationID != null) sb.append(" independentSalesOrganizationID: ").append(toIndentedString(independentSalesOrganizationID)).append("\n"); + if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java b/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java index 5d14716a7..89dbf4209 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java +++ b/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferAggregatorInformationSubMerchant {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferClientReferenceInformation.java b/src/main/java/Model/Ptsv1pushfundstransferClientReferenceInformation.java index f63c1d5dc..b4b430174 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferClientReferenceInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferMerchantInformation.java b/src/main/java/Model/Ptsv1pushfundstransferMerchantInformation.java index 7537ec2c4..b94024332 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferMerchantInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferMerchantInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferMerchantInformation {\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferOrderInformation.java b/src/main/java/Model/Ptsv1pushfundstransferOrderInformation.java index dbee2d42f..7cddc198f 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferOrderInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv1pushfundstransferOrderInformationAmountDetails.java index c288e46dc..8f5cd1295 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv1pushfundstransferOrderInformationAmountDetails.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" sourceCurrency: ").append(toIndentedString(sourceCurrency)).append("\n"); - sb.append(" destinationCurrency: ").append(toIndentedString(destinationCurrency)).append("\n"); - sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (sourceCurrency != null) sb.append(" sourceCurrency: ").append(toIndentedString(sourceCurrency)).append("\n"); + if (destinationCurrency != null) sb.append(" destinationCurrency: ").append(toIndentedString(destinationCurrency)).append("\n"); + if (surcharge != null) sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformation.java b/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformation.java index 67991f092..38d732844 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferPointOfServiceInformation {\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformationEmv.java b/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformationEmv.java index d4c857439..c370dba37 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformationEmv.java +++ b/src/main/java/Model/Ptsv1pushfundstransferPointOfServiceInformationEmv.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferPointOfServiceInformationEmv {\n"); - sb.append(" cardSequenceNumber: ").append(toIndentedString(cardSequenceNumber)).append("\n"); + if (cardSequenceNumber != null) sb.append(" cardSequenceNumber: ").append(toIndentedString(cardSequenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferProcessingInformation.java b/src/main/java/Model/Ptsv1pushfundstransferProcessingInformation.java index dae4501d4..328e51df1 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferProcessingInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferProcessingInformation.java @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferProcessingInformation {\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" payoutsOptions: ").append(toIndentedString(payoutsOptions)).append("\n"); - sb.append(" feeProgramId: ").append(toIndentedString(feeProgramId)).append("\n"); - sb.append(" networkPartnerId: ").append(toIndentedString(networkPartnerId)).append("\n"); - sb.append(" processingCode: ").append(toIndentedString(processingCode)).append("\n"); - sb.append(" sharingGroupCode: ").append(toIndentedString(sharingGroupCode)).append("\n"); - sb.append(" purposeOfPayment: ").append(toIndentedString(purposeOfPayment)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (payoutsOptions != null) sb.append(" payoutsOptions: ").append(toIndentedString(payoutsOptions)).append("\n"); + if (feeProgramId != null) sb.append(" feeProgramId: ").append(toIndentedString(feeProgramId)).append("\n"); + if (networkPartnerId != null) sb.append(" networkPartnerId: ").append(toIndentedString(networkPartnerId)).append("\n"); + if (processingCode != null) sb.append(" processingCode: ").append(toIndentedString(processingCode)).append("\n"); + if (sharingGroupCode != null) sb.append(" sharingGroupCode: ").append(toIndentedString(sharingGroupCode)).append("\n"); + if (purposeOfPayment != null) sb.append(" purposeOfPayment: ").append(toIndentedString(purposeOfPayment)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferProcessingInformationPayoutsOptions.java b/src/main/java/Model/Ptsv1pushfundstransferProcessingInformationPayoutsOptions.java index 5276d569d..4e69b1824 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferProcessingInformationPayoutsOptions.java +++ b/src/main/java/Model/Ptsv1pushfundstransferProcessingInformationPayoutsOptions.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferProcessingInformationPayoutsOptions {\n"); - sb.append(" sourceCurrency: ").append(toIndentedString(sourceCurrency)).append("\n"); - sb.append(" destinationCurrency: ").append(toIndentedString(destinationCurrency)).append("\n"); - sb.append(" sourceAmount: ").append(toIndentedString(sourceAmount)).append("\n"); - sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); - sb.append(" accountFundingReferenceId: ").append(toIndentedString(accountFundingReferenceId)).append("\n"); + if (sourceCurrency != null) sb.append(" sourceCurrency: ").append(toIndentedString(sourceCurrency)).append("\n"); + if (destinationCurrency != null) sb.append(" destinationCurrency: ").append(toIndentedString(destinationCurrency)).append("\n"); + if (sourceAmount != null) sb.append(" sourceAmount: ").append(toIndentedString(sourceAmount)).append("\n"); + if (retrievalReferenceNumber != null) sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); + if (accountFundingReferenceId != null) sb.append(" accountFundingReferenceId: ").append(toIndentedString(accountFundingReferenceId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformation.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformation.java index 429856d95..054834d80 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformation.java @@ -406,22 +406,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformation {\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (streetName != null) sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -432,10 +432,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformation.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformation.java index 357276271..307179b9a 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformationPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.java index 96ef5a9cb..a09fcf81f 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.java @@ -231,14 +231,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformationPaymentInformationCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -249,10 +249,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer.java index 6ae8d6955..71940facd 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier.java index ba7c13811..67f634ff2 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument.java index aab9faa77..a07a5a950 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPersonalIdentification.java b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPersonalIdentification.java index 7ce6c2cd0..1899e0ac6 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPersonalIdentification.java +++ b/src/main/java/Model/Ptsv1pushfundstransferRecipientInformationPersonalIdentification.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferRecipientInformationPersonalIdentification {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" issuingCountry: ").append(toIndentedString(issuingCountry)).append("\n"); - sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (issuingCountry != null) sb.append(" issuingCountry: ").append(toIndentedString(issuingCountry)).append("\n"); + if (personalIdType != null) sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferSenderInformation.java b/src/main/java/Model/Ptsv1pushfundstransferSenderInformation.java index e35ff4b72..1a10d823f 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferSenderInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferSenderInformation.java @@ -517,27 +517,27 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferSenderInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (streetName != null) sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -548,10 +548,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationAccount.java b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationAccount.java index 06cdc99d8..8e45e3c18 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationAccount.java +++ b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationAccount.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferSenderInformationAccount {\n"); - sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (fundsSource != null) sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformation.java b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformation.java index f4c40824b..d186b463b 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformation.java +++ b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferSenderInformationPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformationCard.java b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformationCard.java index 8a2cdcf34..e252c2453 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPaymentInformationCard.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferSenderInformationPaymentInformationCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (sourceAccountType != null) sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPersonalIdentification.java b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPersonalIdentification.java index dfa417362..3b8420b26 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPersonalIdentification.java +++ b/src/main/java/Model/Ptsv1pushfundstransferSenderInformationPersonalIdentification.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv1pushfundstransferSenderInformationPersonalIdentification {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" issuingCountry: ").append(toIndentedString(issuingCountry)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (personalIdType != null) sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (issuingCountry != null) sb.append(" issuingCountry: ").append(toIndentedString(issuingCountry)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsAggregatorInformation.java b/src/main/java/Model/Ptsv2billingagreementsAggregatorInformation.java index 7c9831975..6c94c8136 100644 --- a/src/main/java/Model/Ptsv2billingagreementsAggregatorInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsAggregatorInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsAggregatorInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsAgreementInformation.java b/src/main/java/Model/Ptsv2billingagreementsAgreementInformation.java index 697932acb..952e0647f 100644 --- a/src/main/java/Model/Ptsv2billingagreementsAgreementInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsAgreementInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsAgreementInformation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" dateSigned: ").append(toIndentedString(dateSigned)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (dateSigned != null) sb.append(" dateSigned: ").append(toIndentedString(dateSigned)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsBuyerInformation.java b/src/main/java/Model/Ptsv2billingagreementsBuyerInformation.java index 4e9a32ab0..25a85b4dc 100644 --- a/src/main/java/Model/Ptsv2billingagreementsBuyerInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsBuyerInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (gender != null) sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); + if (language != null) sb.append(" language: ").append(toIndentedString(language)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsClientReferenceInformation.java b/src/main/java/Model/Ptsv2billingagreementsClientReferenceInformation.java index 78d9c1c0a..135b464a4 100644 --- a/src/main/java/Model/Ptsv2billingagreementsClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsClientReferenceInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (pausedRequestId != null) sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsConsumerAuthenticationInformation.java b/src/main/java/Model/Ptsv2billingagreementsConsumerAuthenticationInformation.java index 0ba8447eb..d5c787dc1 100644 --- a/src/main/java/Model/Ptsv2billingagreementsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsConsumerAuthenticationInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsConsumerAuthenticationInformation {\n"); - sb.append(" authenticationTransactionContextId: ").append(toIndentedString(authenticationTransactionContextId)).append("\n"); - sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); - sb.append(" transactionToken: ").append(toIndentedString(transactionToken)).append("\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (authenticationTransactionContextId != null) sb.append(" authenticationTransactionContextId: ").append(toIndentedString(authenticationTransactionContextId)).append("\n"); + if (cavv != null) sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); + if (transactionToken != null) sb.append(" transactionToken: ").append(toIndentedString(transactionToken)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsDeviceInformation.java b/src/main/java/Model/Ptsv2billingagreementsDeviceInformation.java index 09efbc1f4..8cb7bbe49 100644 --- a/src/main/java/Model/Ptsv2billingagreementsDeviceInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsDeviceInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsDeviceInformation {\n"); - sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); + if (httpAcceptBrowserValue != null) sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (userAgentBrowserValue != null) sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java b/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java index 8cac86838..a15dc7ca1 100644 --- a/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsInstallmentInformation {\n"); - sb.append(" alertPreference: ").append(toIndentedString(alertPreference)).append("\n"); - sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); - sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); - sb.append(" lastInstallmentDate: ").append(toIndentedString(lastInstallmentDate)).append("\n"); - sb.append(" maxAmount: ").append(toIndentedString(maxAmount)).append("\n"); - sb.append(" minAmount: ").append(toIndentedString(minAmount)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" preferredDay: ").append(toIndentedString(preferredDay)).append("\n"); - sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + if (alertPreference != null) sb.append(" alertPreference: ").append(toIndentedString(alertPreference)).append("\n"); + if (firstInstallmentDate != null) sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); + if (identifier != null) sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); + if (lastInstallmentDate != null) sb.append(" lastInstallmentDate: ").append(toIndentedString(lastInstallmentDate)).append("\n"); + if (maxAmount != null) sb.append(" maxAmount: ").append(toIndentedString(maxAmount)).append("\n"); + if (minAmount != null) sb.append(" minAmount: ").append(toIndentedString(minAmount)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (preferredDay != null) sb.append(" preferredDay: ").append(toIndentedString(preferredDay)).append("\n"); + if (sequence != null) sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsMerchantInformation.java b/src/main/java/Model/Ptsv2billingagreementsMerchantInformation.java index b0fd03262..10bc3bab1 100644 --- a/src/main/java/Model/Ptsv2billingagreementsMerchantInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsMerchantInformation.java @@ -208,13 +208,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); - sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); - sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); - sb.append(" failureUrl: ").append(toIndentedString(failureUrl)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (transactionLocalDateTime != null) sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); + if (cancelUrl != null) sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); + if (successUrl != null) sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); + if (failureUrl != null) sb.append(" failureUrl: ").append(toIndentedString(failureUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -225,10 +225,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.java index dd44b129a..329bc878d 100644 --- a/src/main/java/Model/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsMerchantInformationMerchantDescriptor {\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (contact != null) sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsOrderInformation.java b/src/main/java/Model/Ptsv2billingagreementsOrderInformation.java index 7699dfb23..31daae437 100644 --- a/src/main/java/Model/Ptsv2billingagreementsOrderInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsOrderInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsOrderInformationBillTo.java b/src/main/java/Model/Ptsv2billingagreementsOrderInformationBillTo.java index 4864dd80b..7c568e22e 100644 --- a/src/main/java/Model/Ptsv2billingagreementsOrderInformationBillTo.java +++ b/src/main/java/Model/Ptsv2billingagreementsOrderInformationBillTo.java @@ -404,22 +404,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append("}"); return sb.toString(); } @@ -430,10 +430,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformation.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformation.java index 2b71ca940..1d1e2018b 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBank.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBank.java index faf7db7a0..cc75f5414 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBank.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBank.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformationBank {\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); - sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); - sb.append(" scheme: ").append(toIndentedString(scheme)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (swiftCode != null) sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); + if (scheme != null) sb.append(" scheme: ").append(toIndentedString(scheme)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBankAccount.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBankAccount.java index 4f165b73f..4aaadc705 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBankAccount.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationBankAccount.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformationBankAccount {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationCard.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationCard.java index db80f1cd2..acabf7013 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationCard.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformationCard {\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentType.java index e4e1546a2..231b3dcc8 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentType.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformationPaymentType {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentTypeMethod.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentTypeMethod.java index 1967fecd3..567fa6e28 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentTypeMethod.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationPaymentTypeMethod.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformationPaymentTypeMethod {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.java b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.java index fd0c62440..365d44b3d 100644 --- a/src/main/java/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsPaymentInformationTokenizedCard {\n"); - sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (cryptogram != null) sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsProcessingInformation.java b/src/main/java/Model/Ptsv2billingagreementsProcessingInformation.java index 02507f50d..0b03c856c 100644 --- a/src/main/java/Model/Ptsv2billingagreementsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsProcessingInformation.java @@ -106,8 +106,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsProcessingInformation {\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -118,10 +118,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsidAgreementInformation.java b/src/main/java/Model/Ptsv2billingagreementsidAgreementInformation.java index cfaba05bd..9c8ccf0b9 100644 --- a/src/main/java/Model/Ptsv2billingagreementsidAgreementInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsidAgreementInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsidAgreementInformation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" eSignIndicator: ").append(toIndentedString(eSignIndicator)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (eSignIndicator != null) sb.append(" eSignIndicator: ").append(toIndentedString(eSignIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsidBuyerInformation.java b/src/main/java/Model/Ptsv2billingagreementsidBuyerInformation.java index 6c472c110..f328a2c4a 100644 --- a/src/main/java/Model/Ptsv2billingagreementsidBuyerInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsidBuyerInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsidBuyerInformation {\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (gender != null) sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); + if (language != null) sb.append(" language: ").append(toIndentedString(language)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2billingagreementsidProcessingInformation.java b/src/main/java/Model/Ptsv2billingagreementsidProcessingInformation.java index cc22f0c28..b24eeb114 100644 --- a/src/main/java/Model/Ptsv2billingagreementsidProcessingInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsidProcessingInformation.java @@ -106,8 +106,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2billingagreementsidProcessingInformation {\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -118,10 +118,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsInstallmentInformation.java b/src/main/java/Model/Ptsv2creditsInstallmentInformation.java index 6a72ea256..6d7fced66 100644 --- a/src/main/java/Model/Ptsv2creditsInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2creditsInstallmentInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsInstallmentInformation {\n"); - sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); + if (planType != null) sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsProcessingInformation.java b/src/main/java/Model/Ptsv2creditsProcessingInformation.java index 4cf2abdc9..189ba7e5f 100644 --- a/src/main/java/Model/Ptsv2creditsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2creditsProcessingInformation.java @@ -477,25 +477,25 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsProcessingInformation {\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" processorId: ").append(toIndentedString(processorId)).append("\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); - sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); - sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); - sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); - sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); - sb.append(" walletType: ").append(toIndentedString(walletType)).append("\n"); - sb.append(" nationalNetDomesticData: ").append(toIndentedString(nationalNetDomesticData)).append("\n"); - sb.append(" networkRoutingOrder: ").append(toIndentedString(networkRoutingOrder)).append("\n"); - sb.append(" recurringOptions: ").append(toIndentedString(recurringOptions)).append("\n"); - sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); - sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); - sb.append(" electronicBenefitsTransfer: ").append(toIndentedString(electronicBenefitsTransfer)).append("\n"); - sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n"); - sb.append(" japanPaymentOptions: ").append(toIndentedString(japanPaymentOptions)).append("\n"); - sb.append(" refundOptions: ").append(toIndentedString(refundOptions)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (processorId != null) sb.append(" processorId: ").append(toIndentedString(processorId)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (linkId != null) sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); + if (reportGroup != null) sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); + if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); + if (purchaseLevel != null) sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); + if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); + if (walletType != null) sb.append(" walletType: ").append(toIndentedString(walletType)).append("\n"); + if (nationalNetDomesticData != null) sb.append(" nationalNetDomesticData: ").append(toIndentedString(nationalNetDomesticData)).append("\n"); + if (networkRoutingOrder != null) sb.append(" networkRoutingOrder: ").append(toIndentedString(networkRoutingOrder)).append("\n"); + if (recurringOptions != null) sb.append(" recurringOptions: ").append(toIndentedString(recurringOptions)).append("\n"); + if (bankTransferOptions != null) sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); + if (purchaseOptions != null) sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); + if (electronicBenefitsTransfer != null) sb.append(" electronicBenefitsTransfer: ").append(toIndentedString(electronicBenefitsTransfer)).append("\n"); + if (loanOptions != null) sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n"); + if (japanPaymentOptions != null) sb.append(" japanPaymentOptions: ").append(toIndentedString(japanPaymentOptions)).append("\n"); + if (refundOptions != null) sb.append(" refundOptions: ").append(toIndentedString(refundOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -506,10 +506,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsProcessingInformationBankTransferOptions.java b/src/main/java/Model/Ptsv2creditsProcessingInformationBankTransferOptions.java index a8abfd168..feb76491a 100644 --- a/src/main/java/Model/Ptsv2creditsProcessingInformationBankTransferOptions.java +++ b/src/main/java/Model/Ptsv2creditsProcessingInformationBankTransferOptions.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsProcessingInformationBankTransferOptions {\n"); - sb.append(" customerMemo: ").append(toIndentedString(customerMemo)).append("\n"); - sb.append(" secCode: ").append(toIndentedString(secCode)).append("\n"); - sb.append(" terminalCity: ").append(toIndentedString(terminalCity)).append("\n"); - sb.append(" terminalState: ").append(toIndentedString(terminalState)).append("\n"); - sb.append(" effectiveDate: ").append(toIndentedString(effectiveDate)).append("\n"); - sb.append(" partialPaymentId: ").append(toIndentedString(partialPaymentId)).append("\n"); - sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); + if (customerMemo != null) sb.append(" customerMemo: ").append(toIndentedString(customerMemo)).append("\n"); + if (secCode != null) sb.append(" secCode: ").append(toIndentedString(secCode)).append("\n"); + if (terminalCity != null) sb.append(" terminalCity: ").append(toIndentedString(terminalCity)).append("\n"); + if (terminalState != null) sb.append(" terminalState: ").append(toIndentedString(terminalState)).append("\n"); + if (effectiveDate != null) sb.append(" effectiveDate: ").append(toIndentedString(effectiveDate)).append("\n"); + if (partialPaymentId != null) sb.append(" partialPaymentId: ").append(toIndentedString(partialPaymentId)).append("\n"); + if (settlementMethod != null) sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsProcessingInformationElectronicBenefitsTransfer.java b/src/main/java/Model/Ptsv2creditsProcessingInformationElectronicBenefitsTransfer.java index 0d2add32a..6365b8610 100644 --- a/src/main/java/Model/Ptsv2creditsProcessingInformationElectronicBenefitsTransfer.java +++ b/src/main/java/Model/Ptsv2creditsProcessingInformationElectronicBenefitsTransfer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsProcessingInformationElectronicBenefitsTransfer {\n"); - sb.append(" category: ").append(toIndentedString(category)).append("\n"); + if (category != null) sb.append(" category: ").append(toIndentedString(category)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsProcessingInformationJapanPaymentOptions.java b/src/main/java/Model/Ptsv2creditsProcessingInformationJapanPaymentOptions.java index d80131218..fcd1ef687 100644 --- a/src/main/java/Model/Ptsv2creditsProcessingInformationJapanPaymentOptions.java +++ b/src/main/java/Model/Ptsv2creditsProcessingInformationJapanPaymentOptions.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsProcessingInformationJapanPaymentOptions {\n"); - sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); - sb.append(" installments: ").append(toIndentedString(installments)).append("\n"); + if (paymentMethod != null) sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); + if (installments != null) sb.append(" installments: ").append(toIndentedString(installments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsProcessingInformationPurchaseOptions.java b/src/main/java/Model/Ptsv2creditsProcessingInformationPurchaseOptions.java index d735e8c96..fa1e54167 100644 --- a/src/main/java/Model/Ptsv2creditsProcessingInformationPurchaseOptions.java +++ b/src/main/java/Model/Ptsv2creditsProcessingInformationPurchaseOptions.java @@ -42,7 +42,7 @@ public Ptsv2creditsProcessingInformationPurchaseOptions isElectronicBenefitsTran * @return isElectronicBenefitsTransfer **/ @ApiModelProperty(value = "Flag that indicates whether this transaction is an EBT transaction. Possible values: - `true` - `false` #### PIN debit Required field for EBT and EBT voucher transactions that use PIN debit credit or PIN debit purchase; otherwise, not used. ") - public Boolean isIsElectronicBenefitsTransfer() { + public Boolean IsElectronicBenefitsTransfer() { return isElectronicBenefitsTransfer; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsProcessingInformationPurchaseOptions {\n"); - sb.append(" isElectronicBenefitsTransfer: ").append(toIndentedString(isElectronicBenefitsTransfer)).append("\n"); + if (isElectronicBenefitsTransfer != null) sb.append(" isElectronicBenefitsTransfer: ").append(toIndentedString(isElectronicBenefitsTransfer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsProcessingInformationRefundOptions.java b/src/main/java/Model/Ptsv2creditsProcessingInformationRefundOptions.java index 45539e1ac..89207f5a0 100644 --- a/src/main/java/Model/Ptsv2creditsProcessingInformationRefundOptions.java +++ b/src/main/java/Model/Ptsv2creditsProcessingInformationRefundOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsProcessingInformationRefundOptions {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsRecipientInformation.java b/src/main/java/Model/Ptsv2creditsRecipientInformation.java index 3e0b0679c..3412b2920 100644 --- a/src/main/java/Model/Ptsv2creditsRecipientInformation.java +++ b/src/main/java/Model/Ptsv2creditsRecipientInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsRecipientInformation {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsSenderInformation.java b/src/main/java/Model/Ptsv2creditsSenderInformation.java index 4f3dcfbfb..13662b8fd 100644 --- a/src/main/java/Model/Ptsv2creditsSenderInformation.java +++ b/src/main/java/Model/Ptsv2creditsSenderInformation.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsSenderInformation {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2creditsSenderInformationAccount.java b/src/main/java/Model/Ptsv2creditsSenderInformationAccount.java index 2b275055a..f9b7b76b3 100644 --- a/src/main/java/Model/Ptsv2creditsSenderInformationAccount.java +++ b/src/main/java/Model/Ptsv2creditsSenderInformationAccount.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2creditsSenderInformationAccount {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (fundsSource != null) sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsClientReferenceInformation.java b/src/main/java/Model/Ptsv2intentsClientReferenceInformation.java index 936ef382a..3e7310252 100644 --- a/src/main/java/Model/Ptsv2intentsClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2intentsClientReferenceInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsClientReferenceInformation {\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsMerchantInformation.java b/src/main/java/Model/Ptsv2intentsMerchantInformation.java index 2b59be43d..3a870148d 100644 --- a/src/main/java/Model/Ptsv2intentsMerchantInformation.java +++ b/src/main/java/Model/Ptsv2intentsMerchantInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); - sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (cancelUrl != null) sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); + if (successUrl != null) sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Ptsv2intentsMerchantInformationMerchantDescriptor.java index b994d2986..44d0b25c7 100644 --- a/src/main/java/Model/Ptsv2intentsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Ptsv2intentsMerchantInformationMerchantDescriptor.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsOrderInformation.java b/src/main/java/Model/Ptsv2intentsOrderInformation.java index b5f4e3187..c61904a2b 100644 --- a/src/main/java/Model/Ptsv2intentsOrderInformation.java +++ b/src/main/java/Model/Ptsv2intentsOrderInformation.java @@ -177,11 +177,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -192,10 +192,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2intentsOrderInformationAmountDetails.java index cc6c8c239..688278342 100644 --- a/src/main/java/Model/Ptsv2intentsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2intentsOrderInformationAmountDetails.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" shippingAmount: ").append(toIndentedString(shippingAmount)).append("\n"); - sb.append(" shippingDiscountAmount: ").append(toIndentedString(shippingDiscountAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); - sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (shippingAmount != null) sb.append(" shippingAmount: ").append(toIndentedString(shippingAmount)).append("\n"); + if (shippingDiscountAmount != null) sb.append(" shippingDiscountAmount: ").append(toIndentedString(shippingDiscountAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (insuranceAmount != null) sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); + if (dutyAmount != null) sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsOrderInformationBillTo.java b/src/main/java/Model/Ptsv2intentsOrderInformationBillTo.java index b981af32e..3da139ea1 100644 --- a/src/main/java/Model/Ptsv2intentsOrderInformationBillTo.java +++ b/src/main/java/Model/Ptsv2intentsOrderInformationBillTo.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsOrderInformationBillTo {\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsOrderInformationInvoiceDetails.java b/src/main/java/Model/Ptsv2intentsOrderInformationInvoiceDetails.java index d0ebce26f..dc7e7ba32 100644 --- a/src/main/java/Model/Ptsv2intentsOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/Ptsv2intentsOrderInformationInvoiceDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsOrderInformationInvoiceDetails {\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsOrderInformationLineItems.java b/src/main/java/Model/Ptsv2intentsOrderInformationLineItems.java index f0d0cdb73..baba2ab58 100644 --- a/src/main/java/Model/Ptsv2intentsOrderInformationLineItems.java +++ b/src/main/java/Model/Ptsv2intentsOrderInformationLineItems.java @@ -230,14 +230,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsOrderInformationLineItems {\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); - sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" typeOfSupply: ").append(toIndentedString(typeOfSupply)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (productSku != null) sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (typeOfSupply != null) sb.append(" typeOfSupply: ").append(toIndentedString(typeOfSupply)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -248,10 +248,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsOrderInformationShipTo.java b/src/main/java/Model/Ptsv2intentsOrderInformationShipTo.java index c702d3dae..3e7c641e2 100644 --- a/src/main/java/Model/Ptsv2intentsOrderInformationShipTo.java +++ b/src/main/java/Model/Ptsv2intentsOrderInformationShipTo.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsOrderInformationShipTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsPaymentInformation.java b/src/main/java/Model/Ptsv2intentsPaymentInformation.java index 0756884db..228881c9c 100644 --- a/src/main/java/Model/Ptsv2intentsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2intentsPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsPaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentType.java index 0d784c250..253b12d66 100644 --- a/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentType.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsPaymentInformationPaymentType {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentTypeMethod.java b/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentTypeMethod.java index 8c5393173..73db7339b 100644 --- a/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentTypeMethod.java +++ b/src/main/java/Model/Ptsv2intentsPaymentInformationPaymentTypeMethod.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsPaymentInformationPaymentTypeMethod {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsProcessingInformation.java b/src/main/java/Model/Ptsv2intentsProcessingInformation.java index 9a5523139..9b56e9196 100644 --- a/src/main/java/Model/Ptsv2intentsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2intentsProcessingInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsProcessingInformation {\n"); - sb.append(" processingInstruction: ").append(toIndentedString(processingInstruction)).append("\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (processingInstruction != null) sb.append(" processingInstruction: ").append(toIndentedString(processingInstruction)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Ptsv2intentsProcessingInformationAuthorizationOptions.java index f445047f4..0efb412f0 100644 --- a/src/main/java/Model/Ptsv2intentsProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Ptsv2intentsProcessingInformationAuthorizationOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsProcessingInformationAuthorizationOptions {\n"); - sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + if (authType != null) sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsidMerchantInformation.java b/src/main/java/Model/Ptsv2intentsidMerchantInformation.java index 0d551a993..0dd739f7a 100644 --- a/src/main/java/Model/Ptsv2intentsidMerchantInformation.java +++ b/src/main/java/Model/Ptsv2intentsidMerchantInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsidMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsidOrderInformation.java b/src/main/java/Model/Ptsv2intentsidOrderInformation.java index d4ed52c33..cff287740 100644 --- a/src/main/java/Model/Ptsv2intentsidOrderInformation.java +++ b/src/main/java/Model/Ptsv2intentsidOrderInformation.java @@ -154,10 +154,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsidOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -168,10 +168,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2intentsidProcessingInformation.java b/src/main/java/Model/Ptsv2intentsidProcessingInformation.java index c1579c037..be4a57de0 100644 --- a/src/main/java/Model/Ptsv2intentsidProcessingInformation.java +++ b/src/main/java/Model/Ptsv2intentsidProcessingInformation.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2intentsidProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesAgreementInformation.java b/src/main/java/Model/Ptsv2paymentreferencesAgreementInformation.java index 99caa6a93..1215cc1f2 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesAgreementInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesAgreementInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesAgreementInformation {\n"); - sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (indicator != null) sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesBuyerInformation.java b/src/main/java/Model/Ptsv2paymentreferencesBuyerInformation.java index b3cd30782..ed93b769f 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesBuyerInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesBuyerInformation.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesBuyerInformation {\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" noteToSeller: ").append(toIndentedString(noteToSeller)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (gender != null) sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); + if (language != null) sb.append(" language: ").append(toIndentedString(language)).append("\n"); + if (noteToSeller != null) sb.append(" noteToSeller: ").append(toIndentedString(noteToSeller)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesDeviceInformation.java b/src/main/java/Model/Ptsv2paymentreferencesDeviceInformation.java index 364091987..7ce4be05b 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesDeviceInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesDeviceInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesDeviceInformation {\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" deviceType: ").append(toIndentedString(deviceType)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (deviceType != null) sb.append(" deviceType: ").append(toIndentedString(deviceType)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (userAgent != null) sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesMerchantInformation.java b/src/main/java/Model/Ptsv2paymentreferencesMerchantInformation.java index f9a194526..94f843d94 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesMerchantInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesMerchantInformation.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); - sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); - sb.append(" failureUrl: ").append(toIndentedString(failureUrl)).append("\n"); - sb.append(" noteToBuyer: ").append(toIndentedString(noteToBuyer)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (cancelUrl != null) sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); + if (successUrl != null) sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); + if (failureUrl != null) sb.append(" failureUrl: ").append(toIndentedString(failureUrl)).append("\n"); + if (noteToBuyer != null) sb.append(" noteToBuyer: ").append(toIndentedString(noteToBuyer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesOrderInformation.java b/src/main/java/Model/Ptsv2paymentreferencesOrderInformation.java index 309c629ab..94c7260a4 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesOrderInformation.java @@ -200,12 +200,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -216,10 +216,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationAmountDetails.java index ef8d3f9c7..45bd1842c 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationAmountDetails.java @@ -338,19 +338,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); - sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); - sb.append(" exchangeRateTimeStamp: ").append(toIndentedString(exchangeRateTimeStamp)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); - sb.append(" giftwrapAmount: ").append(toIndentedString(giftwrapAmount)).append("\n"); - sb.append(" handlingAmount: ").append(toIndentedString(handlingAmount)).append("\n"); - sb.append(" shippingAmount: ").append(toIndentedString(shippingAmount)).append("\n"); - sb.append(" shippingDiscountAmount: ").append(toIndentedString(shippingDiscountAmount)).append("\n"); - sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (dutyAmount != null) sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); + if (exchangeRate != null) sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); + if (exchangeRateTimeStamp != null) sb.append(" exchangeRateTimeStamp: ").append(toIndentedString(exchangeRateTimeStamp)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (giftwrapAmount != null) sb.append(" giftwrapAmount: ").append(toIndentedString(giftwrapAmount)).append("\n"); + if (handlingAmount != null) sb.append(" handlingAmount: ").append(toIndentedString(handlingAmount)).append("\n"); + if (shippingAmount != null) sb.append(" shippingAmount: ").append(toIndentedString(shippingAmount)).append("\n"); + if (shippingDiscountAmount != null) sb.append(" shippingDiscountAmount: ").append(toIndentedString(shippingDiscountAmount)).append("\n"); + if (insuranceAmount != null) sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -361,10 +361,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationBillTo.java b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationBillTo.java index 706a45d03..42bf8f0e0 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationBillTo.java +++ b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationBillTo.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesOrderInformationBillTo {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationInvoiceDetails.java b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationInvoiceDetails.java index 69c41e791..b363226cc 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationInvoiceDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesOrderInformationInvoiceDetails {\n"); - sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (costCenter != null) sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationLineItems.java b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationLineItems.java index c2067fbe5..2fe6899c1 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationLineItems.java +++ b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationLineItems.java @@ -297,17 +297,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesOrderInformationLineItems {\n"); - sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (productSku != null) sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountRate != null) sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxRate != null) sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); sb.append("}"); return sb.toString(); } @@ -318,10 +318,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationShipTo.java b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationShipTo.java index 05ab0ea2a..2cbe861fa 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesOrderInformationShipTo.java +++ b/src/main/java/Model/Ptsv2paymentreferencesOrderInformationShipTo.java @@ -448,24 +448,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesOrderInformationShipTo {\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" immutable: ").append(toIndentedString(immutable)).append("\n"); - sb.append(" notApplicable: ").append(toIndentedString(notApplicable)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (immutable != null) sb.append(" immutable: ").append(toIndentedString(immutable)).append("\n"); + if (notApplicable != null) sb.append(" notApplicable: ").append(toIndentedString(notApplicable)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); sb.append("}"); return sb.toString(); } @@ -476,10 +476,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformation.java b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformation.java index 73bdd350b..c031f8d95 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformation.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); - sb.append(" options: ").append(toIndentedString(options)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (options != null) sb.append(" options: ").append(toIndentedString(options)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBank.java b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBank.java index 136bdd685..3fd63d4a4 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBank.java +++ b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBank.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesPaymentInformationBank {\n"); - sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (swiftCode != null) sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBankAccount.java b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBankAccount.java index cbd90db02..c6c36fbac 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBankAccount.java +++ b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationBankAccount.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesPaymentInformationBankAccount {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationCard.java b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationCard.java index 362114042..bfcb67c7a 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationCard.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (useAs != null) sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationEWallet.java b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationEWallet.java index f0f02dd0f..24f4e3745 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationEWallet.java +++ b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationEWallet.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesPaymentInformationEWallet {\n"); - sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); + if (fundingSource != null) sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationOptions.java b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationOptions.java index 83c03a3b3..039c5ab3c 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationOptions.java +++ b/src/main/java/Model/Ptsv2paymentreferencesPaymentInformationOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesPaymentInformationOptions {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesProcessingInformation.java b/src/main/java/Model/Ptsv2paymentreferencesProcessingInformation.java index ae181ebeb..a7d72f6f6 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesProcessingInformation.java @@ -128,9 +128,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesProcessingInformation {\n"); - sb.append(" sessionType: ").append(toIndentedString(sessionType)).append("\n"); - sb.append(" paymentFlowMode: ").append(toIndentedString(paymentFlowMode)).append("\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (sessionType != null) sb.append(" sessionType: ").append(toIndentedString(sessionType)).append("\n"); + if (paymentFlowMode != null) sb.append(" paymentFlowMode: ").append(toIndentedString(paymentFlowMode)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -141,10 +141,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesTravelInformation.java b/src/main/java/Model/Ptsv2paymentreferencesTravelInformation.java index 92a18f497..22a818de9 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesTravelInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesTravelInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesTravelInformation {\n"); - sb.append(" autoRental: ").append(toIndentedString(autoRental)).append("\n"); + if (autoRental != null) sb.append(" autoRental: ").append(toIndentedString(autoRental)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesTravelInformationAutoRental.java b/src/main/java/Model/Ptsv2paymentreferencesTravelInformationAutoRental.java index 1c163af09..c3c98b6a3 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesTravelInformationAutoRental.java +++ b/src/main/java/Model/Ptsv2paymentreferencesTravelInformationAutoRental.java @@ -208,13 +208,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesTravelInformationAutoRental {\n"); - sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); - sb.append(" affiliateName: ").append(toIndentedString(affiliateName)).append("\n"); - sb.append(" rentalAddress: ").append(toIndentedString(rentalAddress)).append("\n"); - sb.append(" returnAddress: ").append(toIndentedString(returnAddress)).append("\n"); - sb.append(" returnDateTime: ").append(toIndentedString(returnDateTime)).append("\n"); - sb.append(" rentalDateTime: ").append(toIndentedString(rentalDateTime)).append("\n"); - sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n"); + if (companyName != null) sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + if (affiliateName != null) sb.append(" affiliateName: ").append(toIndentedString(affiliateName)).append("\n"); + if (rentalAddress != null) sb.append(" rentalAddress: ").append(toIndentedString(rentalAddress)).append("\n"); + if (returnAddress != null) sb.append(" returnAddress: ").append(toIndentedString(returnAddress)).append("\n"); + if (returnDateTime != null) sb.append(" returnDateTime: ").append(toIndentedString(returnDateTime)).append("\n"); + if (rentalDateTime != null) sb.append(" rentalDateTime: ").append(toIndentedString(rentalDateTime)).append("\n"); + if (customerName != null) sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -225,10 +225,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesUserInterface.java b/src/main/java/Model/Ptsv2paymentreferencesUserInterface.java index 861d14ad5..70185add0 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesUserInterface.java +++ b/src/main/java/Model/Ptsv2paymentreferencesUserInterface.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesUserInterface {\n"); - sb.append(" borderRadius: ").append(toIndentedString(borderRadius)).append("\n"); - sb.append(" theme: ").append(toIndentedString(theme)).append("\n"); - sb.append(" color: ").append(toIndentedString(color)).append("\n"); + if (borderRadius != null) sb.append(" borderRadius: ").append(toIndentedString(borderRadius)).append("\n"); + if (theme != null) sb.append(" theme: ").append(toIndentedString(theme)).append("\n"); + if (color != null) sb.append(" color: ").append(toIndentedString(color)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesUserInterfaceColor.java b/src/main/java/Model/Ptsv2paymentreferencesUserInterfaceColor.java index 5c925258d..f0200af7a 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesUserInterfaceColor.java +++ b/src/main/java/Model/Ptsv2paymentreferencesUserInterfaceColor.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesUserInterfaceColor {\n"); - sb.append(" border: ").append(toIndentedString(border)).append("\n"); - sb.append(" borderSelected: ").append(toIndentedString(borderSelected)).append("\n"); - sb.append(" button: ").append(toIndentedString(button)).append("\n"); - sb.append(" buttonText: ").append(toIndentedString(buttonText)).append("\n"); - sb.append(" checkbox: ").append(toIndentedString(checkbox)).append("\n"); - sb.append(" checkboxCheckMark: ").append(toIndentedString(checkboxCheckMark)).append("\n"); - sb.append(" header: ").append(toIndentedString(header)).append("\n"); - sb.append(" link: ").append(toIndentedString(link)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); + if (border != null) sb.append(" border: ").append(toIndentedString(border)).append("\n"); + if (borderSelected != null) sb.append(" borderSelected: ").append(toIndentedString(borderSelected)).append("\n"); + if (button != null) sb.append(" button: ").append(toIndentedString(button)).append("\n"); + if (buttonText != null) sb.append(" buttonText: ").append(toIndentedString(buttonText)).append("\n"); + if (checkbox != null) sb.append(" checkbox: ").append(toIndentedString(checkbox)).append("\n"); + if (checkboxCheckMark != null) sb.append(" checkboxCheckMark: ").append(toIndentedString(checkboxCheckMark)).append("\n"); + if (header != null) sb.append(" header: ").append(toIndentedString(header)).append("\n"); + if (link != null) sb.append(" link: ").append(toIndentedString(link)).append("\n"); + if (text != null) sb.append(" text: ").append(toIndentedString(text)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesidintentsOrderInformation.java b/src/main/java/Model/Ptsv2paymentreferencesidintentsOrderInformation.java index a440f7c03..539e27c5b 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesidintentsOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesidintentsOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesidintentsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformation.java b/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformation.java index 8a47f6352..45fb611ee 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesidintentsPaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformationEWallet.java b/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformationEWallet.java index b1c7ff563..5d48e6c1f 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformationEWallet.java +++ b/src/main/java/Model/Ptsv2paymentreferencesidintentsPaymentInformationEWallet.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesidintentsPaymentInformationEWallet {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentreferencesidintentsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentreferencesidintentsProcessingInformation.java index 42a31c6c4..dada347b8 100644 --- a/src/main/java/Model/Ptsv2paymentreferencesidintentsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentreferencesidintentsProcessingInformation.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentreferencesidintentsProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsAcquirerInformation.java b/src/main/java/Model/Ptsv2paymentsAcquirerInformation.java index 9cfa1d0d1..dfdde2b04 100644 --- a/src/main/java/Model/Ptsv2paymentsAcquirerInformation.java +++ b/src/main/java/Model/Ptsv2paymentsAcquirerInformation.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsAcquirerInformation {\n"); - sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" acquirerMerchantId: ").append(toIndentedString(acquirerMerchantId)).append("\n"); + if (acquirerBin != null) sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (password != null) sb.append(" password: ").append(toIndentedString(password)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (acquirerMerchantId != null) sb.append(" acquirerMerchantId: ").append(toIndentedString(acquirerMerchantId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java b/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java index 39d33620a..8c5b854d6 100644 --- a/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java +++ b/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsAggregatorInformation {\n"); - sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); + if (aggregatorId != null) sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsAggregatorInformationSubMerchant.java b/src/main/java/Model/Ptsv2paymentsAggregatorInformationSubMerchant.java index 64f1c72e6..a88914734 100644 --- a/src/main/java/Model/Ptsv2paymentsAggregatorInformationSubMerchant.java +++ b/src/main/java/Model/Ptsv2paymentsAggregatorInformationSubMerchant.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsAggregatorInformationSubMerchant {\n"); - sb.append(" cardAcceptorId: ").append(toIndentedString(cardAcceptorId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" region: ").append(toIndentedString(region)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (cardAcceptorId != null) sb.append(" cardAcceptorId: ").append(toIndentedString(cardAcceptorId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (region != null) sb.append(" region: ").append(toIndentedString(region)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsAgreementInformation.java b/src/main/java/Model/Ptsv2paymentsAgreementInformation.java index 22fb2768b..c409911cc 100644 --- a/src/main/java/Model/Ptsv2paymentsAgreementInformation.java +++ b/src/main/java/Model/Ptsv2paymentsAgreementInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsAgreementInformation {\n"); - sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (agreementId != null) sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsBuyerInformation.java b/src/main/java/Model/Ptsv2paymentsBuyerInformation.java index f7f4a77c9..78bfa1493 100644 --- a/src/main/java/Model/Ptsv2paymentsBuyerInformation.java +++ b/src/main/java/Model/Ptsv2paymentsBuyerInformation.java @@ -305,17 +305,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" companyTaxId: ").append(toIndentedString(companyTaxId)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); - sb.append(" hashedPassword: ").append(toIndentedString(hashedPassword)).append("\n"); - sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" noteToSeller: ").append(toIndentedString(noteToSeller)).append("\n"); - sb.append(" mobilePhone: ").append(toIndentedString(mobilePhone)).append("\n"); - sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (companyTaxId != null) sb.append(" companyTaxId: ").append(toIndentedString(companyTaxId)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (hashedPassword != null) sb.append(" hashedPassword: ").append(toIndentedString(hashedPassword)).append("\n"); + if (gender != null) sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); + if (language != null) sb.append(" language: ").append(toIndentedString(language)).append("\n"); + if (noteToSeller != null) sb.append(" noteToSeller: ").append(toIndentedString(noteToSeller)).append("\n"); + if (mobilePhone != null) sb.append(" mobilePhone: ").append(toIndentedString(mobilePhone)).append("\n"); + if (walletId != null) sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -326,10 +326,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsBuyerInformationPersonalIdentification.java b/src/main/java/Model/Ptsv2paymentsBuyerInformationPersonalIdentification.java index 7ed982023..a29e2c87d 100644 --- a/src/main/java/Model/Ptsv2paymentsBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/Ptsv2paymentsBuyerInformationPersonalIdentification.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsBuyerInformationPersonalIdentification {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" issuedBy: ").append(toIndentedString(issuedBy)).append("\n"); - sb.append(" verificationResults: ").append(toIndentedString(verificationResults)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (issuedBy != null) sb.append(" issuedBy: ").append(toIndentedString(issuedBy)).append("\n"); + if (verificationResults != null) sb.append(" verificationResults: ").append(toIndentedString(verificationResults)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsClientReferenceInformation.java b/src/main/java/Model/Ptsv2paymentsClientReferenceInformation.java index d89ab14db..29e1df450 100644 --- a/src/main/java/Model/Ptsv2paymentsClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsClientReferenceInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (pausedRequestId != null) sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsClientReferenceInformationPartner.java b/src/main/java/Model/Ptsv2paymentsClientReferenceInformationPartner.java index 3532d1e8c..b21d185b4 100644 --- a/src/main/java/Model/Ptsv2paymentsClientReferenceInformationPartner.java +++ b/src/main/java/Model/Ptsv2paymentsClientReferenceInformationPartner.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsClientReferenceInformationPartner {\n"); - sb.append(" originalTransactionId: ").append(toIndentedString(originalTransactionId)).append("\n"); - sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" thirdPartyCertificationNumber: ").append(toIndentedString(thirdPartyCertificationNumber)).append("\n"); + if (originalTransactionId != null) sb.append(" originalTransactionId: ").append(toIndentedString(originalTransactionId)).append("\n"); + if (developerId != null) sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (thirdPartyCertificationNumber != null) sb.append(" thirdPartyCertificationNumber: ").append(toIndentedString(thirdPartyCertificationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java index 534956315..0b0be8171 100644 --- a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java @@ -697,7 +697,7 @@ public Ptsv2paymentsConsumerAuthenticationInformation defaultCard(Boolean defaul * @return defaultCard **/ @ApiModelProperty(value = "Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy. ") - public Boolean isDefaultCard() { + public Boolean DefaultCard() { return defaultCard; } @@ -769,7 +769,7 @@ public Ptsv2paymentsConsumerAuthenticationInformation marketingOptIn(Boolean mar * @return marketingOptIn **/ @ApiModelProperty(value = "Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy. ") - public Boolean isMarketingOptIn() { + public Boolean MarketingOptIn() { return marketingOptIn; } @@ -1307,63 +1307,63 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsConsumerAuthenticationInformation {\n"); - sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); - sb.append(" transactionFlowIndicator: ").append(toIndentedString(transactionFlowIndicator)).append("\n"); - sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); - sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); - sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); - sb.append(" veresEnrolled: ").append(toIndentedString(veresEnrolled)).append("\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); - sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); - sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); - sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); - sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); - sb.append(" paSpecificationVersion: ").append(toIndentedString(paSpecificationVersion)).append("\n"); - sb.append(" authenticationType: ").append(toIndentedString(authenticationType)).append("\n"); - sb.append(" responseAccessToken: ").append(toIndentedString(responseAccessToken)).append("\n"); - sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); - sb.append(" acsWindowSize: ").append(toIndentedString(acsWindowSize)).append("\n"); - sb.append(" alternateAuthenticationData: ").append(toIndentedString(alternateAuthenticationData)).append("\n"); - sb.append(" alternateAuthenticationDate: ").append(toIndentedString(alternateAuthenticationDate)).append("\n"); - sb.append(" alternateAuthenticationMethod: ").append(toIndentedString(alternateAuthenticationMethod)).append("\n"); - sb.append(" authenticationDate: ").append(toIndentedString(authenticationDate)).append("\n"); - sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); - sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); - sb.append(" challengeCode: ").append(toIndentedString(challengeCode)).append("\n"); - sb.append(" challengeStatus: ").append(toIndentedString(challengeStatus)).append("\n"); - sb.append(" customerCardAlias: ").append(toIndentedString(customerCardAlias)).append("\n"); - sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); - sb.append(" decoupledAuthenticationMaxTime: ").append(toIndentedString(decoupledAuthenticationMaxTime)).append("\n"); - sb.append(" defaultCard: ").append(toIndentedString(defaultCard)).append("\n"); - sb.append(" deviceChannel: ").append(toIndentedString(deviceChannel)).append("\n"); - sb.append(" installmentTotalCount: ").append(toIndentedString(installmentTotalCount)).append("\n"); - sb.append(" merchantFraudRate: ").append(toIndentedString(merchantFraudRate)).append("\n"); - sb.append(" marketingOptIn: ").append(toIndentedString(marketingOptIn)).append("\n"); - sb.append(" marketingSource: ").append(toIndentedString(marketingSource)).append("\n"); - sb.append(" mcc: ").append(toIndentedString(mcc)).append("\n"); - sb.append(" merchantScore: ").append(toIndentedString(merchantScore)).append("\n"); - sb.append(" messageCategory: ").append(toIndentedString(messageCategory)).append("\n"); - sb.append(" networkScore: ").append(toIndentedString(networkScore)).append("\n"); - sb.append(" npaCode: ").append(toIndentedString(npaCode)).append("\n"); - sb.append(" overridePaymentMethod: ").append(toIndentedString(overridePaymentMethod)).append("\n"); - sb.append(" overrideCountryCode: ").append(toIndentedString(overrideCountryCode)).append("\n"); - sb.append(" priorAuthenticationData: ").append(toIndentedString(priorAuthenticationData)).append("\n"); - sb.append(" priorAuthenticationMethod: ").append(toIndentedString(priorAuthenticationMethod)).append("\n"); - sb.append(" priorAuthenticationReferenceId: ").append(toIndentedString(priorAuthenticationReferenceId)).append("\n"); - sb.append(" priorAuthenticationTime: ").append(toIndentedString(priorAuthenticationTime)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); - sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); - sb.append(" requestorInitiatedAuthenticationIndicator: ").append(toIndentedString(requestorInitiatedAuthenticationIndicator)).append("\n"); - sb.append(" requestorName: ").append(toIndentedString(requestorName)).append("\n"); - sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); - sb.append(" sdkMaxTimeout: ").append(toIndentedString(sdkMaxTimeout)).append("\n"); - sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); - sb.append(" transactionMode: ").append(toIndentedString(transactionMode)).append("\n"); - sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); - sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); - sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); - sb.append(" signedPares: ").append(toIndentedString(signedPares)).append("\n"); + if (cavv != null) sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); + if (transactionFlowIndicator != null) sb.append(" transactionFlowIndicator: ").append(toIndentedString(transactionFlowIndicator)).append("\n"); + if (cavvAlgorithm != null) sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); + if (eciRaw != null) sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); + if (paresStatus != null) sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); + if (veresEnrolled != null) sb.append(" veresEnrolled: ").append(toIndentedString(veresEnrolled)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (ucafCollectionIndicator != null) sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); + if (ucafAuthenticationData != null) sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); + if (strongAuthentication != null) sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); + if (directoryServerTransactionId != null) sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); + if (paSpecificationVersion != null) sb.append(" paSpecificationVersion: ").append(toIndentedString(paSpecificationVersion)).append("\n"); + if (authenticationType != null) sb.append(" authenticationType: ").append(toIndentedString(authenticationType)).append("\n"); + if (responseAccessToken != null) sb.append(" responseAccessToken: ").append(toIndentedString(responseAccessToken)).append("\n"); + if (acsTransactionId != null) sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); + if (acsWindowSize != null) sb.append(" acsWindowSize: ").append(toIndentedString(acsWindowSize)).append("\n"); + if (alternateAuthenticationData != null) sb.append(" alternateAuthenticationData: ").append(toIndentedString(alternateAuthenticationData)).append("\n"); + if (alternateAuthenticationDate != null) sb.append(" alternateAuthenticationDate: ").append(toIndentedString(alternateAuthenticationDate)).append("\n"); + if (alternateAuthenticationMethod != null) sb.append(" alternateAuthenticationMethod: ").append(toIndentedString(alternateAuthenticationMethod)).append("\n"); + if (authenticationDate != null) sb.append(" authenticationDate: ").append(toIndentedString(authenticationDate)).append("\n"); + if (authenticationTransactionId != null) sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); + if (challengeCancelCode != null) sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); + if (challengeCode != null) sb.append(" challengeCode: ").append(toIndentedString(challengeCode)).append("\n"); + if (challengeStatus != null) sb.append(" challengeStatus: ").append(toIndentedString(challengeStatus)).append("\n"); + if (customerCardAlias != null) sb.append(" customerCardAlias: ").append(toIndentedString(customerCardAlias)).append("\n"); + if (decoupledAuthenticationIndicator != null) sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); + if (decoupledAuthenticationMaxTime != null) sb.append(" decoupledAuthenticationMaxTime: ").append(toIndentedString(decoupledAuthenticationMaxTime)).append("\n"); + if (defaultCard != null) sb.append(" defaultCard: ").append(toIndentedString(defaultCard)).append("\n"); + if (deviceChannel != null) sb.append(" deviceChannel: ").append(toIndentedString(deviceChannel)).append("\n"); + if (installmentTotalCount != null) sb.append(" installmentTotalCount: ").append(toIndentedString(installmentTotalCount)).append("\n"); + if (merchantFraudRate != null) sb.append(" merchantFraudRate: ").append(toIndentedString(merchantFraudRate)).append("\n"); + if (marketingOptIn != null) sb.append(" marketingOptIn: ").append(toIndentedString(marketingOptIn)).append("\n"); + if (marketingSource != null) sb.append(" marketingSource: ").append(toIndentedString(marketingSource)).append("\n"); + if (mcc != null) sb.append(" mcc: ").append(toIndentedString(mcc)).append("\n"); + if (merchantScore != null) sb.append(" merchantScore: ").append(toIndentedString(merchantScore)).append("\n"); + if (messageCategory != null) sb.append(" messageCategory: ").append(toIndentedString(messageCategory)).append("\n"); + if (networkScore != null) sb.append(" networkScore: ").append(toIndentedString(networkScore)).append("\n"); + if (npaCode != null) sb.append(" npaCode: ").append(toIndentedString(npaCode)).append("\n"); + if (overridePaymentMethod != null) sb.append(" overridePaymentMethod: ").append(toIndentedString(overridePaymentMethod)).append("\n"); + if (overrideCountryCode != null) sb.append(" overrideCountryCode: ").append(toIndentedString(overrideCountryCode)).append("\n"); + if (priorAuthenticationData != null) sb.append(" priorAuthenticationData: ").append(toIndentedString(priorAuthenticationData)).append("\n"); + if (priorAuthenticationMethod != null) sb.append(" priorAuthenticationMethod: ").append(toIndentedString(priorAuthenticationMethod)).append("\n"); + if (priorAuthenticationReferenceId != null) sb.append(" priorAuthenticationReferenceId: ").append(toIndentedString(priorAuthenticationReferenceId)).append("\n"); + if (priorAuthenticationTime != null) sb.append(" priorAuthenticationTime: ").append(toIndentedString(priorAuthenticationTime)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (returnUrl != null) sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); + if (requestorId != null) sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); + if (requestorInitiatedAuthenticationIndicator != null) sb.append(" requestorInitiatedAuthenticationIndicator: ").append(toIndentedString(requestorInitiatedAuthenticationIndicator)).append("\n"); + if (requestorName != null) sb.append(" requestorName: ").append(toIndentedString(requestorName)).append("\n"); + if (referenceId != null) sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); + if (sdkMaxTimeout != null) sb.append(" sdkMaxTimeout: ").append(toIndentedString(sdkMaxTimeout)).append("\n"); + if (secureCorporatePaymentIndicator != null) sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); + if (transactionMode != null) sb.append(" transactionMode: ").append(toIndentedString(transactionMode)).append("\n"); + if (whiteListStatus != null) sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); + if (effectiveAuthenticationType != null) sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); + if (signedParesStatusReason != null) sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); + if (signedPares != null) sb.append(" signedPares: ").append(toIndentedString(signedPares)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1374,10 +1374,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.java b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.java index 04a3971d0..bd659b74c 100644 --- a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.java +++ b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.java @@ -229,14 +229,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication {\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" lowValueExemptionIndicator: ").append(toIndentedString(lowValueExemptionIndicator)).append("\n"); - sb.append(" riskAnalysisExemptionIndicator: ").append(toIndentedString(riskAnalysisExemptionIndicator)).append("\n"); - sb.append(" trustedMerchantExemptionIndicator: ").append(toIndentedString(trustedMerchantExemptionIndicator)).append("\n"); - sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); - sb.append(" delegatedAuthenticationExemptionIndicator: ").append(toIndentedString(delegatedAuthenticationExemptionIndicator)).append("\n"); - sb.append(" outageExemptionIndicator: ").append(toIndentedString(outageExemptionIndicator)).append("\n"); - sb.append(" authenticationIndicator: ").append(toIndentedString(authenticationIndicator)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (lowValueExemptionIndicator != null) sb.append(" lowValueExemptionIndicator: ").append(toIndentedString(lowValueExemptionIndicator)).append("\n"); + if (riskAnalysisExemptionIndicator != null) sb.append(" riskAnalysisExemptionIndicator: ").append(toIndentedString(riskAnalysisExemptionIndicator)).append("\n"); + if (trustedMerchantExemptionIndicator != null) sb.append(" trustedMerchantExemptionIndicator: ").append(toIndentedString(trustedMerchantExemptionIndicator)).append("\n"); + if (secureCorporatePaymentIndicator != null) sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); + if (delegatedAuthenticationExemptionIndicator != null) sb.append(" delegatedAuthenticationExemptionIndicator: ").append(toIndentedString(delegatedAuthenticationExemptionIndicator)).append("\n"); + if (outageExemptionIndicator != null) sb.append(" outageExemptionIndicator: ").append(toIndentedString(outageExemptionIndicator)).append("\n"); + if (authenticationIndicator != null) sb.append(" authenticationIndicator: ").append(toIndentedString(authenticationIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -247,10 +247,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation.java b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation.java index 6a80b50c0..429f90c69 100644 --- a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation.java +++ b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation {\n"); - sb.append(" exemptionDataRaw: ").append(toIndentedString(exemptionDataRaw)).append("\n"); + if (exemptionDataRaw != null) sb.append(" exemptionDataRaw: ").append(toIndentedString(exemptionDataRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsDeviceInformation.java b/src/main/java/Model/Ptsv2paymentsDeviceInformation.java index 7abb2e392..5e7464b00 100644 --- a/src/main/java/Model/Ptsv2paymentsDeviceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsDeviceInformation.java @@ -195,7 +195,7 @@ public Ptsv2paymentsDeviceInformation useRawFingerprintSessionId(Boolean useRawF * @return useRawFingerprintSessionId **/ @ApiModelProperty(value = "Boolean that indicates whether request contains the device fingerprint information. Values: - `true`: Use raw fingerprintSessionId when looking up device details. - `false` (default): Use merchant id + fingerprintSessionId as the session id for Device detail collection. ") - public Boolean isUseRawFingerprintSessionId() { + public Boolean UseRawFingerprintSessionId() { return useRawFingerprintSessionId; } @@ -365,7 +365,7 @@ public Ptsv2paymentsDeviceInformation httpBrowserJavaEnabled(Boolean httpBrowser * @return httpBrowserJavaEnabled **/ @ApiModelProperty(value = "A Boolean value that represents the ability of the cardholder browser to execute Java. Value is returned from the navigator.javaEnabled property. Possible Values:True/False ") - public Boolean isHttpBrowserJavaEnabled() { + public Boolean HttpBrowserJavaEnabled() { return httpBrowserJavaEnabled; } @@ -383,7 +383,7 @@ public Ptsv2paymentsDeviceInformation httpBrowserJavaScriptEnabled(Boolean httpB * @return httpBrowserJavaScriptEnabled **/ @ApiModelProperty(value = "A Boolean value that represents the ability of the cardholder browser to execute JavaScript. Possible Values:True/False. **Note**: Merchants should be able to know the values from fingerprint details of cardholder's browser. ") - public Boolean isHttpBrowserJavaScriptEnabled() { + public Boolean HttpBrowserJavaScriptEnabled() { return httpBrowserJavaScriptEnabled; } @@ -525,27 +525,27 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsDeviceInformation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); - sb.append(" fingerprintSessionId: ").append(toIndentedString(fingerprintSessionId)).append("\n"); - sb.append(" useRawFingerprintSessionId: ").append(toIndentedString(useRawFingerprintSessionId)).append("\n"); - sb.append(" deviceType: ").append(toIndentedString(deviceType)).append("\n"); - sb.append(" appUrl: ").append(toIndentedString(appUrl)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" rawData: ").append(toIndentedString(rawData)).append("\n"); - sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); - sb.append(" httpAcceptContent: ").append(toIndentedString(httpAcceptContent)).append("\n"); - sb.append(" httpBrowserEmail: ").append(toIndentedString(httpBrowserEmail)).append("\n"); - sb.append(" httpBrowserLanguage: ").append(toIndentedString(httpBrowserLanguage)).append("\n"); - sb.append(" httpBrowserJavaEnabled: ").append(toIndentedString(httpBrowserJavaEnabled)).append("\n"); - sb.append(" httpBrowserJavaScriptEnabled: ").append(toIndentedString(httpBrowserJavaScriptEnabled)).append("\n"); - sb.append(" httpBrowserColorDepth: ").append(toIndentedString(httpBrowserColorDepth)).append("\n"); - sb.append(" httpBrowserScreenHeight: ").append(toIndentedString(httpBrowserScreenHeight)).append("\n"); - sb.append(" httpBrowserScreenWidth: ").append(toIndentedString(httpBrowserScreenWidth)).append("\n"); - sb.append(" httpBrowserTimeDifference: ").append(toIndentedString(httpBrowserTimeDifference)).append("\n"); - sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (hostName != null) sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (userAgent != null) sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + if (fingerprintSessionId != null) sb.append(" fingerprintSessionId: ").append(toIndentedString(fingerprintSessionId)).append("\n"); + if (useRawFingerprintSessionId != null) sb.append(" useRawFingerprintSessionId: ").append(toIndentedString(useRawFingerprintSessionId)).append("\n"); + if (deviceType != null) sb.append(" deviceType: ").append(toIndentedString(deviceType)).append("\n"); + if (appUrl != null) sb.append(" appUrl: ").append(toIndentedString(appUrl)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (rawData != null) sb.append(" rawData: ").append(toIndentedString(rawData)).append("\n"); + if (httpAcceptBrowserValue != null) sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); + if (httpAcceptContent != null) sb.append(" httpAcceptContent: ").append(toIndentedString(httpAcceptContent)).append("\n"); + if (httpBrowserEmail != null) sb.append(" httpBrowserEmail: ").append(toIndentedString(httpBrowserEmail)).append("\n"); + if (httpBrowserLanguage != null) sb.append(" httpBrowserLanguage: ").append(toIndentedString(httpBrowserLanguage)).append("\n"); + if (httpBrowserJavaEnabled != null) sb.append(" httpBrowserJavaEnabled: ").append(toIndentedString(httpBrowserJavaEnabled)).append("\n"); + if (httpBrowserJavaScriptEnabled != null) sb.append(" httpBrowserJavaScriptEnabled: ").append(toIndentedString(httpBrowserJavaScriptEnabled)).append("\n"); + if (httpBrowserColorDepth != null) sb.append(" httpBrowserColorDepth: ").append(toIndentedString(httpBrowserColorDepth)).append("\n"); + if (httpBrowserScreenHeight != null) sb.append(" httpBrowserScreenHeight: ").append(toIndentedString(httpBrowserScreenHeight)).append("\n"); + if (httpBrowserScreenWidth != null) sb.append(" httpBrowserScreenWidth: ").append(toIndentedString(httpBrowserScreenWidth)).append("\n"); + if (httpBrowserTimeDifference != null) sb.append(" httpBrowserTimeDifference: ").append(toIndentedString(httpBrowserTimeDifference)).append("\n"); + if (userAgentBrowserValue != null) sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); sb.append("}"); return sb.toString(); } @@ -556,10 +556,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsDeviceInformationRawData.java b/src/main/java/Model/Ptsv2paymentsDeviceInformationRawData.java index e30b3359b..f192e871e 100644 --- a/src/main/java/Model/Ptsv2paymentsDeviceInformationRawData.java +++ b/src/main/java/Model/Ptsv2paymentsDeviceInformationRawData.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsDeviceInformationRawData {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + if (data != null) sb.append(" data: ").append(toIndentedString(data)).append("\n"); + if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsHealthCareInformation.java b/src/main/java/Model/Ptsv2paymentsHealthCareInformation.java index 55ecbaa87..809a2dffc 100644 --- a/src/main/java/Model/Ptsv2paymentsHealthCareInformation.java +++ b/src/main/java/Model/Ptsv2paymentsHealthCareInformation.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsHealthCareInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsHealthCareInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsHealthCareInformationAmountDetails.java index b09ce5cf3..7cac82b21 100644 --- a/src/main/java/Model/Ptsv2paymentsHealthCareInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsHealthCareInformationAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsHealthCareInformationAmountDetails {\n"); - sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (amountType != null) sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsHostedPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsHostedPaymentInformation.java index 0cde4abbd..8ec746fda 100644 --- a/src/main/java/Model/Ptsv2paymentsHostedPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsHostedPaymentInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsHostedPaymentInformation {\n"); - sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + if (hostName != null) sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (userAgent != null) sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsHostedPaymentInformationUserAgent.java b/src/main/java/Model/Ptsv2paymentsHostedPaymentInformationUserAgent.java index 25692c0a8..88426ebb6 100644 --- a/src/main/java/Model/Ptsv2paymentsHostedPaymentInformationUserAgent.java +++ b/src/main/java/Model/Ptsv2paymentsHostedPaymentInformationUserAgent.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsHostedPaymentInformationUserAgent {\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" width: ").append(toIndentedString(width)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (width != null) sb.append(" width: ").append(toIndentedString(width)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java b/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java index b9fc03d3e..e6899b1d0 100644 --- a/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java @@ -384,21 +384,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsInstallmentInformation {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); - sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); - sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); - sb.append(" invoiceData: ").append(toIndentedString(invoiceData)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" eligibilityInquiry: ").append(toIndentedString(eligibilityInquiry)).append("\n"); - sb.append(" gracePeriodDuration: ").append(toIndentedString(gracePeriodDuration)).append("\n"); - sb.append(" gracePeriodDurationType: ").append(toIndentedString(gracePeriodDurationType)).append("\n"); - sb.append(" firstInstallmentAmount: ").append(toIndentedString(firstInstallmentAmount)).append("\n"); - sb.append(" validationIndicator: ").append(toIndentedString(validationIndicator)).append("\n"); - sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (frequency != null) sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); + if (planType != null) sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); + if (sequence != null) sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (firstInstallmentDate != null) sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); + if (invoiceData != null) sb.append(" invoiceData: ").append(toIndentedString(invoiceData)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (eligibilityInquiry != null) sb.append(" eligibilityInquiry: ").append(toIndentedString(eligibilityInquiry)).append("\n"); + if (gracePeriodDuration != null) sb.append(" gracePeriodDuration: ").append(toIndentedString(gracePeriodDuration)).append("\n"); + if (gracePeriodDurationType != null) sb.append(" gracePeriodDurationType: ").append(toIndentedString(gracePeriodDurationType)).append("\n"); + if (firstInstallmentAmount != null) sb.append(" firstInstallmentAmount: ").append(toIndentedString(firstInstallmentAmount)).append("\n"); + if (validationIndicator != null) sb.append(" validationIndicator: ").append(toIndentedString(validationIndicator)).append("\n"); + if (identifier != null) sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -409,10 +409,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsInvoiceDetails.java b/src/main/java/Model/Ptsv2paymentsInvoiceDetails.java index 1a69e58ff..621ca1a33 100644 --- a/src/main/java/Model/Ptsv2paymentsInvoiceDetails.java +++ b/src/main/java/Model/Ptsv2paymentsInvoiceDetails.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsInvoiceDetails {\n"); - sb.append(" barcodeNumber: ").append(toIndentedString(barcodeNumber)).append("\n"); + if (barcodeNumber != null) sb.append(" barcodeNumber: ").append(toIndentedString(barcodeNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsIssuerInformation.java b/src/main/java/Model/Ptsv2paymentsIssuerInformation.java index bbf80a4e5..b2a0d9cb6 100644 --- a/src/main/java/Model/Ptsv2paymentsIssuerInformation.java +++ b/src/main/java/Model/Ptsv2paymentsIssuerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsIssuerInformation {\n"); - sb.append(" discretionaryData: ").append(toIndentedString(discretionaryData)).append("\n"); + if (discretionaryData != null) sb.append(" discretionaryData: ").append(toIndentedString(discretionaryData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsMerchantDefinedInformation.java b/src/main/java/Model/Ptsv2paymentsMerchantDefinedInformation.java index ef100792a..16be02983 100644 --- a/src/main/java/Model/Ptsv2paymentsMerchantDefinedInformation.java +++ b/src/main/java/Model/Ptsv2paymentsMerchantDefinedInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsMerchantDefinedInformation {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (key != null) sb.append(" key: ").append(toIndentedString(key)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsMerchantDefinedSecureInformation.java b/src/main/java/Model/Ptsv2paymentsMerchantDefinedSecureInformation.java index 526218f97..73c5c1b36 100644 --- a/src/main/java/Model/Ptsv2paymentsMerchantDefinedSecureInformation.java +++ b/src/main/java/Model/Ptsv2paymentsMerchantDefinedSecureInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsMerchantDefinedSecureInformation {\n"); - sb.append(" secure1: ").append(toIndentedString(secure1)).append("\n"); - sb.append(" secure2: ").append(toIndentedString(secure2)).append("\n"); - sb.append(" secure3: ").append(toIndentedString(secure3)).append("\n"); - sb.append(" secure4: ").append(toIndentedString(secure4)).append("\n"); + if (secure1 != null) sb.append(" secure1: ").append(toIndentedString(secure1)).append("\n"); + if (secure2 != null) sb.append(" secure2: ").append(toIndentedString(secure2)).append("\n"); + if (secure3 != null) sb.append(" secure3: ").append(toIndentedString(secure3)).append("\n"); + if (secure4 != null) sb.append(" secure4: ").append(toIndentedString(secure4)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsMerchantInformation.java b/src/main/java/Model/Ptsv2paymentsMerchantInformation.java index 9d1238bb5..6763d32c1 100644 --- a/src/main/java/Model/Ptsv2paymentsMerchantInformation.java +++ b/src/main/java/Model/Ptsv2paymentsMerchantInformation.java @@ -453,24 +453,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n"); - sb.append(" salesOrganizationId: ").append(toIndentedString(salesOrganizationId)).append("\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" categoryCodeDomestic: ").append(toIndentedString(categoryCodeDomestic)).append("\n"); - sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n"); - sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); - sb.append(" serviceFeeDescriptor: ").append(toIndentedString(serviceFeeDescriptor)).append("\n"); - sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); - sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); - sb.append(" failureUrl: ").append(toIndentedString(failureUrl)).append("\n"); - sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); - sb.append(" partnerIdCode: ").append(toIndentedString(partnerIdCode)).append("\n"); - sb.append(" serviceLocation: ").append(toIndentedString(serviceLocation)).append("\n"); - sb.append(" noteToBuyer: ").append(toIndentedString(noteToBuyer)).append("\n"); - sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (domainName != null) sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n"); + if (salesOrganizationId != null) sb.append(" salesOrganizationId: ").append(toIndentedString(salesOrganizationId)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (categoryCodeDomestic != null) sb.append(" categoryCodeDomestic: ").append(toIndentedString(categoryCodeDomestic)).append("\n"); + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (cardAcceptorReferenceNumber != null) sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n"); + if (transactionLocalDateTime != null) sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); + if (serviceFeeDescriptor != null) sb.append(" serviceFeeDescriptor: ").append(toIndentedString(serviceFeeDescriptor)).append("\n"); + if (cancelUrl != null) sb.append(" cancelUrl: ").append(toIndentedString(cancelUrl)).append("\n"); + if (successUrl != null) sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n"); + if (failureUrl != null) sb.append(" failureUrl: ").append(toIndentedString(failureUrl)).append("\n"); + if (returnUrl != null) sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); + if (partnerIdCode != null) sb.append(" partnerIdCode: ").append(toIndentedString(partnerIdCode)).append("\n"); + if (serviceLocation != null) sb.append(" serviceLocation: ").append(toIndentedString(serviceLocation)).append("\n"); + if (noteToBuyer != null) sb.append(" noteToBuyer: ").append(toIndentedString(noteToBuyer)).append("\n"); + if (merchantName != null) sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -481,10 +481,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.java index e09175a14..378e5b17a 100644 --- a/src/main/java/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.java @@ -360,20 +360,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" alternateName: ").append(toIndentedString(alternateName)).append("\n"); - sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" countryOfOrigin: ").append(toIndentedString(countryOfOrigin)).append("\n"); - sb.append(" storeId: ").append(toIndentedString(storeId)).append("\n"); - sb.append(" storeName: ").append(toIndentedString(storeName)).append("\n"); - sb.append(" customerServicePhoneNumber: ").append(toIndentedString(customerServicePhoneNumber)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (alternateName != null) sb.append(" alternateName: ").append(toIndentedString(alternateName)).append("\n"); + if (contact != null) sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (countryOfOrigin != null) sb.append(" countryOfOrigin: ").append(toIndentedString(countryOfOrigin)).append("\n"); + if (storeId != null) sb.append(" storeId: ").append(toIndentedString(storeId)).append("\n"); + if (storeName != null) sb.append(" storeName: ").append(toIndentedString(storeName)).append("\n"); + if (customerServicePhoneNumber != null) sb.append(" customerServicePhoneNumber: ").append(toIndentedString(customerServicePhoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -384,10 +384,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceFeeDescriptor.java b/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceFeeDescriptor.java index f4050b956..dc6b14dca 100644 --- a/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceFeeDescriptor.java +++ b/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceFeeDescriptor.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsMerchantInformationServiceFeeDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (contact != null) sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceLocation.java b/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceLocation.java index 8c439aceb..e46211b3e 100644 --- a/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceLocation.java +++ b/src/main/java/Model/Ptsv2paymentsMerchantInformationServiceLocation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsMerchantInformationServiceLocation {\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" countrySubdivisionCode: ").append(toIndentedString(countrySubdivisionCode)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (countrySubdivisionCode != null) sb.append(" countrySubdivisionCode: ").append(toIndentedString(countrySubdivisionCode)).append("\n"); + if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformation.java b/src/main/java/Model/Ptsv2paymentsOrderInformation.java index 85137f32d..4e838f16e 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformation.java @@ -202,7 +202,7 @@ public Ptsv2paymentsOrderInformation returnsAccepted(Boolean returnsAccepted) { * @return returnsAccepted **/ @ApiModelProperty(value = "This is only needed when you are requesting both payment and DM service at same time. Boolean that indicates whether returns are accepted for this order. This field can contain one of the following values: - true: Returns are accepted for this order. - false: Returns are not accepted for this order. ") - public Boolean isReturnsAccepted() { + public Boolean ReturnsAccepted() { return returnsAccepted; } @@ -292,7 +292,7 @@ public Ptsv2paymentsOrderInformation reordered(Boolean reordered) { * @return reordered **/ @ApiModelProperty(value = "Indicates whether the cardholder is reordering previously purchased merchandise. This field can contain one of these values: - false: First time ordered - true: Reordered ") - public Boolean isReordered() { + public Boolean Reordered() { return reordered; } @@ -354,19 +354,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); - sb.append(" returnsAccepted: ").append(toIndentedString(returnsAccepted)).append("\n"); - sb.append(" isCryptocurrencyPurchase: ").append(toIndentedString(isCryptocurrencyPurchase)).append("\n"); - sb.append(" cutoffDateTime: ").append(toIndentedString(cutoffDateTime)).append("\n"); - sb.append(" preOrder: ").append(toIndentedString(preOrder)).append("\n"); - sb.append(" preOrderDate: ").append(toIndentedString(preOrderDate)).append("\n"); - sb.append(" reordered: ").append(toIndentedString(reordered)).append("\n"); - sb.append(" totalOffersCount: ").append(toIndentedString(totalOffersCount)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (returnsAccepted != null) sb.append(" returnsAccepted: ").append(toIndentedString(returnsAccepted)).append("\n"); + if (isCryptocurrencyPurchase != null) sb.append(" isCryptocurrencyPurchase: ").append(toIndentedString(isCryptocurrencyPurchase)).append("\n"); + if (cutoffDateTime != null) sb.append(" cutoffDateTime: ").append(toIndentedString(cutoffDateTime)).append("\n"); + if (preOrder != null) sb.append(" preOrder: ").append(toIndentedString(preOrder)).append("\n"); + if (preOrderDate != null) sb.append(" preOrderDate: ").append(toIndentedString(preOrderDate)).append("\n"); + if (reordered != null) sb.append(" reordered: ").append(toIndentedString(reordered)).append("\n"); + if (totalOffersCount != null) sb.append(" totalOffersCount: ").append(toIndentedString(totalOffersCount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -377,10 +377,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java index 779ee9107..e71ed7fae 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java @@ -736,36 +736,36 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetails {\n"); - sb.append(" giftWrapAmount: ").append(toIndentedString(giftWrapAmount)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" subTotalAmount: ").append(toIndentedString(subTotalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); - sb.append(" gratuityAmount: ").append(toIndentedString(gratuityAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" nationalTaxIncluded: ").append(toIndentedString(nationalTaxIncluded)).append("\n"); - sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); - sb.append(" taxAppliedLevel: ").append(toIndentedString(taxAppliedLevel)).append("\n"); - sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); - sb.append(" freightAmount: ").append(toIndentedString(freightAmount)).append("\n"); - sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); - sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); - sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); - sb.append(" exchangeRateTimeStamp: ").append(toIndentedString(exchangeRateTimeStamp)).append("\n"); - sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); - sb.append(" amexAdditionalAmounts: ").append(toIndentedString(amexAdditionalAmounts)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); - sb.append(" originalAmount: ").append(toIndentedString(originalAmount)).append("\n"); - sb.append(" originalCurrency: ").append(toIndentedString(originalCurrency)).append("\n"); - sb.append(" cashbackAmount: ").append(toIndentedString(cashbackAmount)).append("\n"); - sb.append(" currencyConversion: ").append(toIndentedString(currencyConversion)).append("\n"); - sb.append(" octSurcharge: ").append(toIndentedString(octSurcharge)).append("\n"); - sb.append(" order: ").append(toIndentedString(order)).append("\n"); - sb.append(" anticipatedAmount: ").append(toIndentedString(anticipatedAmount)).append("\n"); + if (giftWrapAmount != null) sb.append(" giftWrapAmount: ").append(toIndentedString(giftWrapAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (subTotalAmount != null) sb.append(" subTotalAmount: ").append(toIndentedString(subTotalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (dutyAmount != null) sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); + if (gratuityAmount != null) sb.append(" gratuityAmount: ").append(toIndentedString(gratuityAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (nationalTaxIncluded != null) sb.append(" nationalTaxIncluded: ").append(toIndentedString(nationalTaxIncluded)).append("\n"); + if (taxAppliedAfterDiscount != null) sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); + if (taxAppliedLevel != null) sb.append(" taxAppliedLevel: ").append(toIndentedString(taxAppliedLevel)).append("\n"); + if (taxTypeCode != null) sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); + if (freightAmount != null) sb.append(" freightAmount: ").append(toIndentedString(freightAmount)).append("\n"); + if (foreignAmount != null) sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); + if (foreignCurrency != null) sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); + if (exchangeRate != null) sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); + if (exchangeRateTimeStamp != null) sb.append(" exchangeRateTimeStamp: ").append(toIndentedString(exchangeRateTimeStamp)).append("\n"); + if (surcharge != null) sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (amexAdditionalAmounts != null) sb.append(" amexAdditionalAmounts: ").append(toIndentedString(amexAdditionalAmounts)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (serviceFeeAmount != null) sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); + if (originalAmount != null) sb.append(" originalAmount: ").append(toIndentedString(originalAmount)).append("\n"); + if (originalCurrency != null) sb.append(" originalCurrency: ").append(toIndentedString(originalCurrency)).append("\n"); + if (cashbackAmount != null) sb.append(" cashbackAmount: ").append(toIndentedString(cashbackAmount)).append("\n"); + if (currencyConversion != null) sb.append(" currencyConversion: ").append(toIndentedString(currencyConversion)).append("\n"); + if (octSurcharge != null) sb.append(" octSurcharge: ").append(toIndentedString(octSurcharge)).append("\n"); + if (order != null) sb.append(" order: ").append(toIndentedString(order)).append("\n"); + if (anticipatedAmount != null) sb.append(" anticipatedAmount: ").append(toIndentedString(anticipatedAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -776,10 +776,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java index 074dfed5d..03c4b4a13 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion.java index b069d0767..4e58ed0a9 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion {\n"); - sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (indicator != null) sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOctsurcharge.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOctsurcharge.java index c82b974b5..bddc1a6fb 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOctsurcharge.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOctsurcharge.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetailsOctsurcharge {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOrder.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOrder.java index 350338a68..90fd9563a 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOrder.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsOrder.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetailsOrder {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" subTotalAmount: ").append(toIndentedString(subTotalAmount)).append("\n"); - sb.append(" handlingAmount: ").append(toIndentedString(handlingAmount)).append("\n"); - sb.append(" shippingAmount: ").append(toIndentedString(shippingAmount)).append("\n"); - sb.append(" shippingDiscountAmount: ").append(toIndentedString(shippingDiscountAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); - sb.append(" giftWrapAmount: ").append(toIndentedString(giftWrapAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (subTotalAmount != null) sb.append(" subTotalAmount: ").append(toIndentedString(subTotalAmount)).append("\n"); + if (handlingAmount != null) sb.append(" handlingAmount: ").append(toIndentedString(handlingAmount)).append("\n"); + if (shippingAmount != null) sb.append(" shippingAmount: ").append(toIndentedString(shippingAmount)).append("\n"); + if (shippingDiscountAmount != null) sb.append(" shippingDiscountAmount: ").append(toIndentedString(shippingDiscountAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (insuranceAmount != null) sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); + if (giftWrapAmount != null) sb.append(" giftWrapAmount: ").append(toIndentedString(giftWrapAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsSurcharge.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsSurcharge.java index 1f571bc36..3f4d658ef 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsSurcharge.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsSurcharge.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetailsSurcharge {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsTaxDetails.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsTaxDetails.java index 8c48905d5..474fe13da 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsTaxDetails.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetailsTaxDetails.java @@ -150,7 +150,7 @@ public Ptsv2paymentsOrderInformationAmountDetailsTaxDetails applied(Boolean appl * @return applied **/ @ApiModelProperty(value = "Flag that indicates whether the alternate tax amount (`orderInformation.amountDetails.taxDetails[].amount`) is included in the request. Possible values: - `false`: alternate tax amount is not included in the request. - `true`: alternate tax amount is included in the request. ") - public Boolean isApplied() { + public Boolean Applied() { return applied; } @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetailsTaxDetails {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); - sb.append(" applied: ").append(toIndentedString(applied)).append("\n"); - sb.append(" exemptionCode: ").append(toIndentedString(exemptionCode)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (rate != null) sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (applied != null) sb.append(" applied: ").append(toIndentedString(applied)).append("\n"); + if (exemptionCode != null) sb.append(" exemptionCode: ").append(toIndentedString(exemptionCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationBillTo.java b/src/main/java/Model/Ptsv2paymentsOrderInformationBillTo.java index f0baade60..89dcb522f 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationBillTo.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationBillTo.java @@ -581,30 +581,30 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" emailDomain: ").append(toIndentedString(emailDomain)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" phoneType: ").append(toIndentedString(phoneType)).append("\n"); - sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n"); - sb.append(" alternatePhoneNumber: ").append(toIndentedString(alternatePhoneNumber)).append("\n"); - sb.append(" alternateEmail: ").append(toIndentedString(alternateEmail)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (nameSuffix != null) sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (emailDomain != null) sb.append(" emailDomain: ").append(toIndentedString(emailDomain)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (phoneType != null) sb.append(" phoneType: ").append(toIndentedString(phoneType)).append("\n"); + if (verificationStatus != null) sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n"); + if (alternatePhoneNumber != null) sb.append(" alternatePhoneNumber: ").append(toIndentedString(alternatePhoneNumber)).append("\n"); + if (alternateEmail != null) sb.append(" alternateEmail: ").append(toIndentedString(alternateEmail)).append("\n"); sb.append("}"); return sb.toString(); } @@ -615,10 +615,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationBillToCompany.java b/src/main/java/Model/Ptsv2paymentsOrderInformationBillToCompany.java index 8c8edb6bc..f9553b4ec 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationBillToCompany.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationBillToCompany.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationBillToCompany {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetails.java b/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetails.java index e4086ec35..cc13e1af8 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetails.java @@ -204,7 +204,7 @@ public Ptsv2paymentsOrderInformationInvoiceDetails taxable(Boolean taxable) { * @return taxable **/ @ApiModelProperty(value = "Flag that indicates whether an order is taxable. This value must be true if the sum of all _lineItems[].taxAmount_ values > 0. If you do not include any `lineItems[].taxAmount` values in your request, CyberSource does not include `invoiceDetails.taxable` in the data it sends to the processor. Possible values: - **true** - **false** ") - public Boolean isTaxable() { + public Boolean Taxable() { return taxable; } @@ -460,24 +460,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationInvoiceDetails {\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" barcodeNumber: ").append(toIndentedString(barcodeNumber)).append("\n"); - sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); - sb.append(" purchaseOrderNumber: ").append(toIndentedString(purchaseOrderNumber)).append("\n"); - sb.append(" purchaseOrderDate: ").append(toIndentedString(purchaseOrderDate)).append("\n"); - sb.append(" purchaseContactName: ").append(toIndentedString(purchaseContactName)).append("\n"); - sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); - sb.append(" vatInvoiceReferenceNumber: ").append(toIndentedString(vatInvoiceReferenceNumber)).append("\n"); - sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); - sb.append(" merchandiseCode: ").append(toIndentedString(merchandiseCode)).append("\n"); - sb.append(" transactionAdviceAddendum: ").append(toIndentedString(transactionAdviceAddendum)).append("\n"); - sb.append(" referenceDataCode: ").append(toIndentedString(referenceDataCode)).append("\n"); - sb.append(" referenceDataNumber: ").append(toIndentedString(referenceDataNumber)).append("\n"); - sb.append(" salesSlipNumber: ").append(toIndentedString(salesSlipNumber)).append("\n"); - sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); - sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); - sb.append(" issuerMessage: ").append(toIndentedString(issuerMessage)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (barcodeNumber != null) sb.append(" barcodeNumber: ").append(toIndentedString(barcodeNumber)).append("\n"); + if (expirationDate != null) sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); + if (purchaseOrderNumber != null) sb.append(" purchaseOrderNumber: ").append(toIndentedString(purchaseOrderNumber)).append("\n"); + if (purchaseOrderDate != null) sb.append(" purchaseOrderDate: ").append(toIndentedString(purchaseOrderDate)).append("\n"); + if (purchaseContactName != null) sb.append(" purchaseContactName: ").append(toIndentedString(purchaseContactName)).append("\n"); + if (taxable != null) sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); + if (vatInvoiceReferenceNumber != null) sb.append(" vatInvoiceReferenceNumber: ").append(toIndentedString(vatInvoiceReferenceNumber)).append("\n"); + if (commodityCode != null) sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); + if (merchandiseCode != null) sb.append(" merchandiseCode: ").append(toIndentedString(merchandiseCode)).append("\n"); + if (transactionAdviceAddendum != null) sb.append(" transactionAdviceAddendum: ").append(toIndentedString(transactionAdviceAddendum)).append("\n"); + if (referenceDataCode != null) sb.append(" referenceDataCode: ").append(toIndentedString(referenceDataCode)).append("\n"); + if (referenceDataNumber != null) sb.append(" referenceDataNumber: ").append(toIndentedString(referenceDataNumber)).append("\n"); + if (salesSlipNumber != null) sb.append(" salesSlipNumber: ").append(toIndentedString(salesSlipNumber)).append("\n"); + if (invoiceDate != null) sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); + if (costCenter != null) sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); + if (issuerMessage != null) sb.append(" issuerMessage: ").append(toIndentedString(issuerMessage)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); sb.append("}"); return sb.toString(); } @@ -488,10 +488,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java b/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java index c9141ad51..76a845cb9 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); + if (data != null) sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationLineItems.java b/src/main/java/Model/Ptsv2paymentsOrderInformationLineItems.java index 933cd0b32..ccc828e66 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationLineItems.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationLineItems.java @@ -363,7 +363,7 @@ public Ptsv2paymentsOrderInformationLineItems amountIncludesTax(Boolean amountIn * @return amountIncludesTax **/ @ApiModelProperty(value = "Flag that indicates whether the tax amount is included in the Line Item Total. Possible values: - **true** - **false** ") - public Boolean isAmountIncludesTax() { + public Boolean AmountIncludesTax() { return amountIncludesTax; } @@ -435,7 +435,7 @@ public Ptsv2paymentsOrderInformationLineItems discountApplied(Boolean discountAp * @return discountApplied **/ @ApiModelProperty(value = "Flag that indicates whether the amount is discounted. If you do not provide a value but you set Discount Amount to a value greater than zero, then CyberSource sets this field to **true**. Possible values: - **true** - **false** ") - public Boolean isDiscountApplied() { + public Boolean DiscountApplied() { return discountApplied; } @@ -695,7 +695,7 @@ public Ptsv2paymentsOrderInformationLineItems gift(Boolean gift) { * @return gift **/ @ApiModelProperty(value = "This field is only used in DM service. Determines whether to assign risk to the order if the billing and shipping addresses specify different cities, states, or countries. This field can contain one of the following values: - true: Orders are assigned only slight additional risk if billing and shipping addresses are different. - false: Orders are assigned higher additional risk if billing and shipping addresses are different. ") - public Boolean isGift() { + public Boolean Gift() { return gift; } @@ -830,40 +830,40 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationLineItems {\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" unitOfMeasure: ").append(toIndentedString(unitOfMeasure)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); - sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); - sb.append(" taxStatusIndicator: ").append(toIndentedString(taxStatusIndicator)).append("\n"); - sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); - sb.append(" amountIncludesTax: ").append(toIndentedString(amountIncludesTax)).append("\n"); - sb.append(" typeOfSupply: ").append(toIndentedString(typeOfSupply)).append("\n"); - sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountApplied: ").append(toIndentedString(discountApplied)).append("\n"); - sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" fulfillmentType: ").append(toIndentedString(fulfillmentType)).append("\n"); - sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); - sb.append(" weightIdentifier: ").append(toIndentedString(weightIdentifier)).append("\n"); - sb.append(" weightUnit: ").append(toIndentedString(weightUnit)).append("\n"); - sb.append(" referenceDataCode: ").append(toIndentedString(referenceDataCode)).append("\n"); - sb.append(" referenceDataNumber: ").append(toIndentedString(referenceDataNumber)).append("\n"); - sb.append(" unitTaxAmount: ").append(toIndentedString(unitTaxAmount)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); - sb.append(" giftCardCurrency: ").append(toIndentedString(giftCardCurrency)).append("\n"); - sb.append(" shippingDestinationTypes: ").append(toIndentedString(shippingDestinationTypes)).append("\n"); - sb.append(" gift: ").append(toIndentedString(gift)).append("\n"); - sb.append(" passenger: ").append(toIndentedString(passenger)).append("\n"); - sb.append(" allowedExportCountries: ").append(toIndentedString(allowedExportCountries)).append("\n"); - sb.append(" restrictedExportCountries: ").append(toIndentedString(restrictedExportCountries)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productSku != null) sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (unitOfMeasure != null) sb.append(" unitOfMeasure: ").append(toIndentedString(unitOfMeasure)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxRate != null) sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); + if (taxAppliedAfterDiscount != null) sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); + if (taxStatusIndicator != null) sb.append(" taxStatusIndicator: ").append(toIndentedString(taxStatusIndicator)).append("\n"); + if (taxTypeCode != null) sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); + if (amountIncludesTax != null) sb.append(" amountIncludesTax: ").append(toIndentedString(amountIncludesTax)).append("\n"); + if (typeOfSupply != null) sb.append(" typeOfSupply: ").append(toIndentedString(typeOfSupply)).append("\n"); + if (commodityCode != null) sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountApplied != null) sb.append(" discountApplied: ").append(toIndentedString(discountApplied)).append("\n"); + if (discountRate != null) sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (fulfillmentType != null) sb.append(" fulfillmentType: ").append(toIndentedString(fulfillmentType)).append("\n"); + if (weight != null) sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); + if (weightIdentifier != null) sb.append(" weightIdentifier: ").append(toIndentedString(weightIdentifier)).append("\n"); + if (weightUnit != null) sb.append(" weightUnit: ").append(toIndentedString(weightUnit)).append("\n"); + if (referenceDataCode != null) sb.append(" referenceDataCode: ").append(toIndentedString(referenceDataCode)).append("\n"); + if (referenceDataNumber != null) sb.append(" referenceDataNumber: ").append(toIndentedString(referenceDataNumber)).append("\n"); + if (unitTaxAmount != null) sb.append(" unitTaxAmount: ").append(toIndentedString(unitTaxAmount)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (giftCardCurrency != null) sb.append(" giftCardCurrency: ").append(toIndentedString(giftCardCurrency)).append("\n"); + if (shippingDestinationTypes != null) sb.append(" shippingDestinationTypes: ").append(toIndentedString(shippingDestinationTypes)).append("\n"); + if (gift != null) sb.append(" gift: ").append(toIndentedString(gift)).append("\n"); + if (passenger != null) sb.append(" passenger: ").append(toIndentedString(passenger)).append("\n"); + if (allowedExportCountries != null) sb.append(" allowedExportCountries: ").append(toIndentedString(allowedExportCountries)).append("\n"); + if (restrictedExportCountries != null) sb.append(" restrictedExportCountries: ").append(toIndentedString(restrictedExportCountries)).append("\n"); sb.append("}"); return sb.toString(); } @@ -874,10 +874,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationPassenger.java b/src/main/java/Model/Ptsv2paymentsOrderInformationPassenger.java index 7ee00c890..fa90c73d0 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationPassenger.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationPassenger.java @@ -229,14 +229,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationPassenger {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (nationality != null) sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); sb.append("}"); return sb.toString(); } @@ -247,10 +247,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationShipTo.java b/src/main/java/Model/Ptsv2paymentsOrderInformationShipTo.java index a1bd98a5d..e3d0904b5 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationShipTo.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationShipTo.java @@ -470,25 +470,25 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationShipTo {\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" destinationTypes: ").append(toIndentedString(destinationTypes)).append("\n"); - sb.append(" destinationCode: ").append(toIndentedString(destinationCode)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (destinationTypes != null) sb.append(" destinationTypes: ").append(toIndentedString(destinationTypes)).append("\n"); + if (destinationCode != null) sb.append(" destinationCode: ").append(toIndentedString(destinationCode)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -499,10 +499,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationShippingDetails.java b/src/main/java/Model/Ptsv2paymentsOrderInformationShippingDetails.java index a138627b6..f38003090 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationShippingDetails.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationShippingDetails.java @@ -49,7 +49,7 @@ public Ptsv2paymentsOrderInformationShippingDetails giftWrap(Boolean giftWrap) { * @return giftWrap **/ @ApiModelProperty(value = "Boolean that indicates whether the customer requested gift wrapping for this purchase. This field can contain one of the following values: - true: The customer requested gift wrapping. - false: The customer did not request gift wrapping. ") - public Boolean isGiftWrap() { + public Boolean GiftWrap() { return giftWrap; } @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationShippingDetails {\n"); - sb.append(" giftWrap: ").append(toIndentedString(giftWrap)).append("\n"); - sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); - sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); + if (giftWrap != null) sb.append(" giftWrap: ").append(toIndentedString(giftWrap)).append("\n"); + if (shippingMethod != null) sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); + if (shipFromPostalCode != null) sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsPaymentInformation.java index 62d42b10e..52bf32deb 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformation.java @@ -419,22 +419,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" directDebit: ").append(toIndentedString(directDebit)).append("\n"); - sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" legacyToken: ").append(toIndentedString(legacyToken)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" options: ").append(toIndentedString(options)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" initiationChannel: ").append(toIndentedString(initiationChannel)).append("\n"); - sb.append(" sepa: ").append(toIndentedString(sepa)).append("\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); - sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (directDebit != null) sb.append(" directDebit: ").append(toIndentedString(directDebit)).append("\n"); + if (fluidData != null) sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (legacyToken != null) sb.append(" legacyToken: ").append(toIndentedString(legacyToken)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (options != null) sb.append(" options: ").append(toIndentedString(options)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (initiationChannel != null) sb.append(" initiationChannel: ").append(toIndentedString(initiationChannel)).append("\n"); + if (sepa != null) sb.append(" sepa: ").append(toIndentedString(sepa)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (paymentAccountReference != null) sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); sb.append("}"); return sb.toString(); } @@ -445,10 +445,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationBank.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationBank.java index 021820fab..9997e2566 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationBank.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationBank.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationBank {\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); - sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (routingNumber != null) sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (swiftCode != null) sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationBankAccount.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationBankAccount.java index 9a18225ae..9e430fc23 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationBankAccount.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationBankAccount.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationBankAccount {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" encoderId: ").append(toIndentedString(encoderId)).append("\n"); - sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n"); - sb.append(" checkImageReferenceNumber: ").append(toIndentedString(checkImageReferenceNumber)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (encoderId != null) sb.append(" encoderId: ").append(toIndentedString(encoderId)).append("\n"); + if (checkNumber != null) sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n"); + if (checkImageReferenceNumber != null) sb.append(" checkImageReferenceNumber: ").append(toIndentedString(checkImageReferenceNumber)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationCard.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationCard.java index d981630c8..31e332f68 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationCard.java @@ -404,22 +404,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); - sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); - sb.append(" sourceAccountTypeDetails: ").append(toIndentedString(sourceAccountTypeDetails)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" securityCodeIndicator: ").append(toIndentedString(securityCodeIndicator)).append("\n"); - sb.append(" accountEncoderId: ").append(toIndentedString(accountEncoderId)).append("\n"); - sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); - sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); - sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productSubtype: ").append(toIndentedString(productSubtype)).append("\n"); - sb.append(" typeSelectionIndicator: ").append(toIndentedString(typeSelectionIndicator)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (useAs != null) sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); + if (sourceAccountType != null) sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); + if (sourceAccountTypeDetails != null) sb.append(" sourceAccountTypeDetails: ").append(toIndentedString(sourceAccountTypeDetails)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (securityCodeIndicator != null) sb.append(" securityCodeIndicator: ").append(toIndentedString(securityCodeIndicator)).append("\n"); + if (accountEncoderId != null) sb.append(" accountEncoderId: ").append(toIndentedString(accountEncoderId)).append("\n"); + if (issueNumber != null) sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); + if (startMonth != null) sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); + if (startYear != null) sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productSubtype != null) sb.append(" productSubtype: ").append(toIndentedString(productSubtype)).append("\n"); + if (typeSelectionIndicator != null) sb.append(" typeSelectionIndicator: ").append(toIndentedString(typeSelectionIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -430,10 +430,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationCustomer.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationCustomer.java index 6d87f7cda..e36ba7e1b 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationCustomer.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationCustomer.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationCustomer {\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebit.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebit.java index d59c1eb41..be61cb039 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebit.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebit.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationDirectDebit {\n"); - sb.append(" mandate: ").append(toIndentedString(mandate)).append("\n"); + if (mandate != null) sb.append(" mandate: ").append(toIndentedString(mandate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebitMandate.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebitMandate.java index 311339eaf..b53832c3f 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebitMandate.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationDirectDebitMandate.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationDirectDebitMandate {\n"); - sb.append(" clearingDate: ").append(toIndentedString(clearingDate)).append("\n"); + if (clearingDate != null) sb.append(" clearingDate: ").append(toIndentedString(clearingDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationEWallet.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationEWallet.java index b243eb5b4..6906d6abc 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationEWallet.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationEWallet.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationEWallet {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (fundingSource != null) sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationFluidData.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationFluidData.java index df460e0ea..3ff4deea0 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationFluidData.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationFluidData.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationFluidData {\n"); - sb.append(" keySerialNumber: ").append(toIndentedString(keySerialNumber)).append("\n"); - sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); + if (keySerialNumber != null) sb.append(" keySerialNumber: ").append(toIndentedString(keySerialNumber)).append("\n"); + if (descriptor != null) sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (encoding != null) sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationInstrumentIdentifier.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationInstrumentIdentifier.java index 2df7a7f38..dd24043e3 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationInstrumentIdentifier.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationInstrumentIdentifier.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationInstrumentIdentifier {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationLegacyToken.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationLegacyToken.java index b73b1c2ca..4d1a79889 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationLegacyToken.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationLegacyToken.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationLegacyToken {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationOptions.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationOptions.java index 8d528589d..5dc89f475 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationOptions.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationOptions {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentAccountReference.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentAccountReference.java index eaba5611d..04a2d02c5 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentAccountReference.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentAccountReference.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationPaymentAccountReference {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentInstrument.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentInstrument.java index f179a0615..2b0e6a24a 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentInstrument.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentInstrument.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationPaymentInstrument {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentType.java index c1acd735a..371473688 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentType.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationPaymentType {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" subTypeName: ").append(toIndentedString(subTypeName)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (subTypeName != null) sb.append(" subTypeName: ").append(toIndentedString(subTypeName)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentTypeMethod.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentTypeMethod.java index 2fbaeac76..f03298fc7 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentTypeMethod.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationPaymentTypeMethod.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationPaymentTypeMethod {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationSepa.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationSepa.java index a1b5ff812..fa3885494 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationSepa.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationSepa.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationSepa {\n"); - sb.append(" directDebit: ").append(toIndentedString(directDebit)).append("\n"); + if (directDebit != null) sb.append(" directDebit: ").append(toIndentedString(directDebit)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationSepaDirectDebit.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationSepaDirectDebit.java index 263514f6a..b55be1a60 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationSepaDirectDebit.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationSepaDirectDebit.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationSepaDirectDebit {\n"); - sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); - sb.append(" signatureDate: ").append(toIndentedString(signatureDate)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (reference != null) sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); + if (signatureDate != null) sb.append(" signatureDate: ").append(toIndentedString(signatureDate)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationShippingAddress.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationShippingAddress.java index d483195f0..6d391dfce 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationShippingAddress.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationShippingAddress.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationShippingAddress {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPaymentInformationTokenizedCard.java b/src/main/java/Model/Ptsv2paymentsPaymentInformationTokenizedCard.java index 18ae59874..0cc4aa3b3 100644 --- a/src/main/java/Model/Ptsv2paymentsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/Ptsv2paymentsPaymentInformationTokenizedCard.java @@ -316,18 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPaymentInformationTokenizedCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); - sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" assuranceLevel: ").append(toIndentedString(assuranceLevel)).append("\n"); - sb.append(" storageMethod: ").append(toIndentedString(storageMethod)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" securityCodeIndicator: ").append(toIndentedString(securityCodeIndicator)).append("\n"); - sb.append(" assuranceMethod: ").append(toIndentedString(assuranceMethod)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (cryptogram != null) sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); + if (requestorId != null) sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (assuranceLevel != null) sb.append(" assuranceLevel: ").append(toIndentedString(assuranceLevel)).append("\n"); + if (storageMethod != null) sb.append(" storageMethod: ").append(toIndentedString(storageMethod)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (securityCodeIndicator != null) sb.append(" securityCodeIndicator: ").append(toIndentedString(securityCodeIndicator)).append("\n"); + if (assuranceMethod != null) sb.append(" assuranceMethod: ").append(toIndentedString(assuranceMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -338,10 +338,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java b/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java index ed9de5167..49eb9a639 100644 --- a/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java +++ b/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java @@ -714,35 +714,35 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPointOfSaleInformation {\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" terminalSerialNumber: ").append(toIndentedString(terminalSerialNumber)).append("\n"); - sb.append(" cardholderVerificationMethodUsed: ").append(toIndentedString(cardholderVerificationMethodUsed)).append("\n"); - sb.append(" laneNumber: ").append(toIndentedString(laneNumber)).append("\n"); - sb.append(" catLevel: ").append(toIndentedString(catLevel)).append("\n"); - sb.append(" entryMode: ").append(toIndentedString(entryMode)).append("\n"); - sb.append(" terminalCapability: ").append(toIndentedString(terminalCapability)).append("\n"); - sb.append(" operatingEnvironment: ").append(toIndentedString(operatingEnvironment)).append("\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); - sb.append(" amexCapnData: ").append(toIndentedString(amexCapnData)).append("\n"); - sb.append(" trackData: ").append(toIndentedString(trackData)).append("\n"); - sb.append(" storeAndForwardIndicator: ").append(toIndentedString(storeAndForwardIndicator)).append("\n"); - sb.append(" cardholderVerificationMethod: ").append(toIndentedString(cardholderVerificationMethod)).append("\n"); - sb.append(" terminalInputCapability: ").append(toIndentedString(terminalInputCapability)).append("\n"); - sb.append(" terminalCardCaptureCapability: ").append(toIndentedString(terminalCardCaptureCapability)).append("\n"); - sb.append(" terminalOutputCapability: ").append(toIndentedString(terminalOutputCapability)).append("\n"); - sb.append(" terminalPinCapability: ").append(toIndentedString(terminalPinCapability)).append("\n"); - sb.append(" pinEntrySolution: ").append(toIndentedString(pinEntrySolution)).append("\n"); - sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n"); - sb.append(" pinBlockEncodingFormat: ").append(toIndentedString(pinBlockEncodingFormat)).append("\n"); - sb.append(" encryptedPin: ").append(toIndentedString(encryptedPin)).append("\n"); - sb.append(" encryptedKeySerialNumber: ").append(toIndentedString(encryptedKeySerialNumber)).append("\n"); - sb.append(" partnerSdkVersion: ").append(toIndentedString(partnerSdkVersion)).append("\n"); - sb.append(" emvApplicationIdentifierAndDedicatedFileName: ").append(toIndentedString(emvApplicationIdentifierAndDedicatedFileName)).append("\n"); - sb.append(" terminalCompliance: ").append(toIndentedString(terminalCompliance)).append("\n"); - sb.append(" isDedicatedHardwareTerminal: ").append(toIndentedString(isDedicatedHardwareTerminal)).append("\n"); - sb.append(" terminalModel: ").append(toIndentedString(terminalModel)).append("\n"); - sb.append(" terminalMake: ").append(toIndentedString(terminalMake)).append("\n"); - sb.append(" serviceCode: ").append(toIndentedString(serviceCode)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (terminalSerialNumber != null) sb.append(" terminalSerialNumber: ").append(toIndentedString(terminalSerialNumber)).append("\n"); + if (cardholderVerificationMethodUsed != null) sb.append(" cardholderVerificationMethodUsed: ").append(toIndentedString(cardholderVerificationMethodUsed)).append("\n"); + if (laneNumber != null) sb.append(" laneNumber: ").append(toIndentedString(laneNumber)).append("\n"); + if (catLevel != null) sb.append(" catLevel: ").append(toIndentedString(catLevel)).append("\n"); + if (entryMode != null) sb.append(" entryMode: ").append(toIndentedString(entryMode)).append("\n"); + if (terminalCapability != null) sb.append(" terminalCapability: ").append(toIndentedString(terminalCapability)).append("\n"); + if (operatingEnvironment != null) sb.append(" operatingEnvironment: ").append(toIndentedString(operatingEnvironment)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (amexCapnData != null) sb.append(" amexCapnData: ").append(toIndentedString(amexCapnData)).append("\n"); + if (trackData != null) sb.append(" trackData: ").append(toIndentedString(trackData)).append("\n"); + if (storeAndForwardIndicator != null) sb.append(" storeAndForwardIndicator: ").append(toIndentedString(storeAndForwardIndicator)).append("\n"); + if (cardholderVerificationMethod != null) sb.append(" cardholderVerificationMethod: ").append(toIndentedString(cardholderVerificationMethod)).append("\n"); + if (terminalInputCapability != null) sb.append(" terminalInputCapability: ").append(toIndentedString(terminalInputCapability)).append("\n"); + if (terminalCardCaptureCapability != null) sb.append(" terminalCardCaptureCapability: ").append(toIndentedString(terminalCardCaptureCapability)).append("\n"); + if (terminalOutputCapability != null) sb.append(" terminalOutputCapability: ").append(toIndentedString(terminalOutputCapability)).append("\n"); + if (terminalPinCapability != null) sb.append(" terminalPinCapability: ").append(toIndentedString(terminalPinCapability)).append("\n"); + if (pinEntrySolution != null) sb.append(" pinEntrySolution: ").append(toIndentedString(pinEntrySolution)).append("\n"); + if (deviceId != null) sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n"); + if (pinBlockEncodingFormat != null) sb.append(" pinBlockEncodingFormat: ").append(toIndentedString(pinBlockEncodingFormat)).append("\n"); + if (encryptedPin != null) sb.append(" encryptedPin: ").append(toIndentedString(encryptedPin)).append("\n"); + if (encryptedKeySerialNumber != null) sb.append(" encryptedKeySerialNumber: ").append(toIndentedString(encryptedKeySerialNumber)).append("\n"); + if (partnerSdkVersion != null) sb.append(" partnerSdkVersion: ").append(toIndentedString(partnerSdkVersion)).append("\n"); + if (emvApplicationIdentifierAndDedicatedFileName != null) sb.append(" emvApplicationIdentifierAndDedicatedFileName: ").append(toIndentedString(emvApplicationIdentifierAndDedicatedFileName)).append("\n"); + if (terminalCompliance != null) sb.append(" terminalCompliance: ").append(toIndentedString(terminalCompliance)).append("\n"); + if (isDedicatedHardwareTerminal != null) sb.append(" isDedicatedHardwareTerminal: ").append(toIndentedString(isDedicatedHardwareTerminal)).append("\n"); + if (terminalModel != null) sb.append(" terminalModel: ").append(toIndentedString(terminalModel)).append("\n"); + if (terminalMake != null) sb.append(" terminalMake: ").append(toIndentedString(terminalMake)).append("\n"); + if (serviceCode != null) sb.append(" serviceCode: ").append(toIndentedString(serviceCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -753,10 +753,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPointOfSaleInformationEmv.java b/src/main/java/Model/Ptsv2paymentsPointOfSaleInformationEmv.java index 5eec6eeb0..e944cc1a3 100644 --- a/src/main/java/Model/Ptsv2paymentsPointOfSaleInformationEmv.java +++ b/src/main/java/Model/Ptsv2paymentsPointOfSaleInformationEmv.java @@ -111,7 +111,7 @@ public Ptsv2paymentsPointOfSaleInformationEmv fallback(Boolean fallback) { * @return fallback **/ @ApiModelProperty(value = "Indicates whether a fallback method was used to enter credit card information into the POS terminal. When a technical problem prevents a successful exchange of information between a chip card and a chip-capable terminal: 1. Swipe the card or key the credit card information into the POS terminal. 2. Use the pointOfSaleInformation.entryMode field to indicate whether the information was swiped or keyed. Possible values: - `true`: Fallback method was used. - `false` (default): Fallback method was not used. This field is supported only on American Express Direct, Chase Paymentech Solutions, CyberSource through VisaNet, FDC Nashville Global, GPN, JCN Gateway, OmniPay Direct, and SIX. ") - public Boolean isFallback() { + public Boolean Fallback() { return fallback; } @@ -147,7 +147,7 @@ public Ptsv2paymentsPointOfSaleInformationEmv isRepeat(Boolean isRepeat) { * @return isRepeat **/ @ApiModelProperty(value = "#### Visa Platform Connect Value \"true\" indicates this transaction is intentionally duplicated . The field contains value \"true\" which indicates that merchant has intentionally duplicated single tap transaction. Merchant is intentionally sending a duplicate auth request for a single tap txn because the issuer requested a PIN. ") - public Boolean isIsRepeat() { + public Boolean IsRepeat() { return isRepeat; } @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPointOfSaleInformationEmv {\n"); - sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); - sb.append(" cardholderVerificationMethodUsed: ").append(toIndentedString(cardholderVerificationMethodUsed)).append("\n"); - sb.append(" cardSequenceNumber: ").append(toIndentedString(cardSequenceNumber)).append("\n"); - sb.append(" fallback: ").append(toIndentedString(fallback)).append("\n"); - sb.append(" fallbackCondition: ").append(toIndentedString(fallbackCondition)).append("\n"); - sb.append(" isRepeat: ").append(toIndentedString(isRepeat)).append("\n"); + if (tags != null) sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + if (cardholderVerificationMethodUsed != null) sb.append(" cardholderVerificationMethodUsed: ").append(toIndentedString(cardholderVerificationMethodUsed)).append("\n"); + if (cardSequenceNumber != null) sb.append(" cardSequenceNumber: ").append(toIndentedString(cardSequenceNumber)).append("\n"); + if (fallback != null) sb.append(" fallback: ").append(toIndentedString(fallback)).append("\n"); + if (fallbackCondition != null) sb.append(" fallbackCondition: ").append(toIndentedString(fallbackCondition)).append("\n"); + if (isRepeat != null) sb.append(" isRepeat: ").append(toIndentedString(isRepeat)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsProcessingInformation.java index e91386c16..34b0104e5 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformation.java @@ -189,7 +189,7 @@ public Ptsv2paymentsProcessingInformation enableEscrowOption(Boolean enableEscro * @return enableEscrowOption **/ @ApiModelProperty(value = "Indicates whether to use the customer's escrow agreement. Possible values: - `true`: yes, use the customer's escrow agreement. - `false`: no, do not use the customer's escrow agreement. ") - public Boolean isEnableEscrowOption() { + public Boolean EnableEscrowOption() { return enableEscrowOption; } @@ -251,7 +251,7 @@ public Ptsv2paymentsProcessingInformation capture(Boolean capture) { * @return capture **/ @ApiModelProperty(value = "Indicates whether to also include a capture in the submitted authorization request or not. Possible values: - `true`: Include a capture with an authorization request. - `false`: (default) Do not include a capture with an authorization request. #### Used by **Authorization and Capture** Optional field. ") - public Boolean isCapture() { + public Boolean Capture() { return capture; } @@ -738,7 +738,7 @@ public Ptsv2paymentsProcessingInformation payByPointsIndicator(Boolean payByPoin * @return payByPointsIndicator **/ @ApiModelProperty(value = "Flag that indicates if the transaction is pay by points transaction true: Transaction uses loyalty points false: Transaction does not use loyalty points Default: false ") - public Boolean isPayByPointsIndicator() { + public Boolean PayByPointsIndicator() { return payByPointsIndicator; } @@ -774,7 +774,7 @@ public Ptsv2paymentsProcessingInformation isReturnAuthRecordEnabled(Boolean isRe * @return isReturnAuthRecordEnabled **/ @ApiModelProperty(value = "Flag that indicates the functionality we are having for merchants for which auth is done through Cybersource but settlement is done by themselves. true: functionality is supported. Processor should send raw processor auth response to Merchant. false: functionality is not supported. Default: false ") - public Boolean isIsReturnAuthRecordEnabled() { + public Boolean IsReturnAuthRecordEnabled() { return isReturnAuthRecordEnabled; } @@ -915,44 +915,44 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); - sb.append(" enableEscrowOption: ").append(toIndentedString(enableEscrowOption)).append("\n"); - sb.append(" actionTokenTypes: ").append(toIndentedString(actionTokenTypes)).append("\n"); - sb.append(" binSource: ").append(toIndentedString(binSource)).append("\n"); - sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); - sb.append(" processorId: ").append(toIndentedString(processorId)).append("\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" commerceIndicatorLabel: ").append(toIndentedString(commerceIndicatorLabel)).append("\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); - sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); - sb.append(" transactionTimeout: ").append(toIndentedString(transactionTimeout)).append("\n"); - sb.append(" intentsId: ").append(toIndentedString(intentsId)).append("\n"); - sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); - sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); - sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); - sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); - sb.append(" recurringOptions: ").append(toIndentedString(recurringOptions)).append("\n"); - sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); - sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); - sb.append(" electronicBenefitsTransfer: ").append(toIndentedString(electronicBenefitsTransfer)).append("\n"); - sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n"); - sb.append(" walletType: ").append(toIndentedString(walletType)).append("\n"); - sb.append(" nationalNetDomesticData: ").append(toIndentedString(nationalNetDomesticData)).append("\n"); - sb.append(" japanPaymentOptions: ").append(toIndentedString(japanPaymentOptions)).append("\n"); - sb.append(" mobileRemotePaymentType: ").append(toIndentedString(mobileRemotePaymentType)).append("\n"); - sb.append(" extendedCreditTotalCount: ").append(toIndentedString(extendedCreditTotalCount)).append("\n"); - sb.append(" networkRoutingOrder: ").append(toIndentedString(networkRoutingOrder)).append("\n"); - sb.append(" payByPointsIndicator: ").append(toIndentedString(payByPointsIndicator)).append("\n"); - sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); - sb.append(" isReturnAuthRecordEnabled: ").append(toIndentedString(isReturnAuthRecordEnabled)).append("\n"); - sb.append(" networkPartnerId: ").append(toIndentedString(networkPartnerId)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" enablerId: ").append(toIndentedString(enablerId)).append("\n"); - sb.append(" processingInstruction: ").append(toIndentedString(processingInstruction)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (enableEscrowOption != null) sb.append(" enableEscrowOption: ").append(toIndentedString(enableEscrowOption)).append("\n"); + if (actionTokenTypes != null) sb.append(" actionTokenTypes: ").append(toIndentedString(actionTokenTypes)).append("\n"); + if (binSource != null) sb.append(" binSource: ").append(toIndentedString(binSource)).append("\n"); + if (capture != null) sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); + if (processorId != null) sb.append(" processorId: ").append(toIndentedString(processorId)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (commerceIndicatorLabel != null) sb.append(" commerceIndicatorLabel: ").append(toIndentedString(commerceIndicatorLabel)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (linkId != null) sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); + if (purchaseLevel != null) sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); + if (transactionTimeout != null) sb.append(" transactionTimeout: ").append(toIndentedString(transactionTimeout)).append("\n"); + if (intentsId != null) sb.append(" intentsId: ").append(toIndentedString(intentsId)).append("\n"); + if (reportGroup != null) sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); + if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); + if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (captureOptions != null) sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); + if (recurringOptions != null) sb.append(" recurringOptions: ").append(toIndentedString(recurringOptions)).append("\n"); + if (bankTransferOptions != null) sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); + if (purchaseOptions != null) sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); + if (electronicBenefitsTransfer != null) sb.append(" electronicBenefitsTransfer: ").append(toIndentedString(electronicBenefitsTransfer)).append("\n"); + if (loanOptions != null) sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n"); + if (walletType != null) sb.append(" walletType: ").append(toIndentedString(walletType)).append("\n"); + if (nationalNetDomesticData != null) sb.append(" nationalNetDomesticData: ").append(toIndentedString(nationalNetDomesticData)).append("\n"); + if (japanPaymentOptions != null) sb.append(" japanPaymentOptions: ").append(toIndentedString(japanPaymentOptions)).append("\n"); + if (mobileRemotePaymentType != null) sb.append(" mobileRemotePaymentType: ").append(toIndentedString(mobileRemotePaymentType)).append("\n"); + if (extendedCreditTotalCount != null) sb.append(" extendedCreditTotalCount: ").append(toIndentedString(extendedCreditTotalCount)).append("\n"); + if (networkRoutingOrder != null) sb.append(" networkRoutingOrder: ").append(toIndentedString(networkRoutingOrder)).append("\n"); + if (payByPointsIndicator != null) sb.append(" payByPointsIndicator: ").append(toIndentedString(payByPointsIndicator)).append("\n"); + if (timeout != null) sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + if (isReturnAuthRecordEnabled != null) sb.append(" isReturnAuthRecordEnabled: ").append(toIndentedString(isReturnAuthRecordEnabled)).append("\n"); + if (networkPartnerId != null) sb.append(" networkPartnerId: ").append(toIndentedString(networkPartnerId)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (enablerId != null) sb.append(" enablerId: ").append(toIndentedString(enablerId)).append("\n"); + if (processingInstruction != null) sb.append(" processingInstruction: ").append(toIndentedString(processingInstruction)).append("\n"); sb.append("}"); return sb.toString(); } @@ -963,10 +963,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java index 9b8255c11..be20016d7 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java @@ -201,7 +201,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions partialAuthIndicat * @return partialAuthIndicator **/ @ApiModelProperty(value = "Flag that indicates whether the transaction is enabled for partial authorization. When the request includes this field, this value overrides the information in your account. Possible values: - `true`: Enable the transaction for partial authorization. - `false`: Do not enable the transaction for partial authorization. #### PIN debit Required field for partial authorizations that use PIN debit purchase; otherwise, not used. #### Used by **Authorization** Optional field. #### CyberSource through VisaNet To set the default for this field, contact CyberSource Customer Support. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR0 - Position: 164 - Field: Additional Authorization Indicators ") - public Boolean isPartialAuthIndicator() { + public Boolean PartialAuthIndicator() { return partialAuthIndicator; } @@ -237,7 +237,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions balanceInquiry(Boo * @return balanceInquiry **/ @ApiModelProperty(value = "Flag that indicates whether to return balance information. Possible values: - `true`: Return balance information. - `false`: Do not return balance information. #### Used by **Authorization** Required for a balance inquiry; otherwise, not used. #### PIN debit Required for a balance inquiry request of a PIN debit purchase; otherwise, not used. ") - public Boolean isBalanceInquiry() { + public Boolean BalanceInquiry() { return balanceInquiry; } @@ -255,7 +255,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions ignoreAvsResult(Bo * @return ignoreAvsResult **/ @ApiModelProperty(value = "Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline, as indicated by a reply flag value of DAVSNO. Possible values: - `true`: Ignore the results of AVS checking and run the capture service. - `false` (default): If the authorization receives an AVS decline, do not run the capture service. When the value of this field is `true`, the list in the `processingInformation.authorizationOptions.declineAvsFlags` field is ignored. #### Used by **Authorization** Optional field. String (3) ") - public Boolean isIgnoreAvsResult() { + public Boolean IgnoreAvsResult() { return ignoreAvsResult; } @@ -299,7 +299,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions ignoreCvResult(Boo * @return ignoreCvResult **/ @ApiModelProperty(value = "Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives a CVN decline, as indicated by an `processorInformation.cardVerification.resultCode` value of `D` or `N`. Possible values: - `true`: Ignore the results of CVN checking and run the capture service. - `false` (default): If the authorization receives a CVN decline, do not run the capture service. #### Used by **Authorization** Optional field. ") - public Boolean isIgnoreCvResult() { + public Boolean IgnoreCvResult() { return ignoreCvResult; } @@ -335,7 +335,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions billPayment(Boolea * @return billPayment **/ @ApiModelProperty(value = "Indicates payment for bill or payment towards existing contractual loan. Possible values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. Optional request field. ") - public Boolean isBillPayment() { + public Boolean BillPayment() { return billPayment; } @@ -371,7 +371,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions redemptionInquiry( * @return redemptionInquiry **/ @ApiModelProperty(value = "Flag that indicates the payment request is a redemption inquiry. Possible values: - `true` - `false` ") - public Boolean isRedemptionInquiry() { + public Boolean RedemptionInquiry() { return redemptionInquiry; } @@ -443,7 +443,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions deferredAuthIndica * @return deferredAuthIndicator **/ @ApiModelProperty(value = "Flag that indicates whether the authorization request was delayed because connectivity was interrupted. Possible values: - `true` (Deferred authorization) - `false` (default: Not a deferred authorization) ") - public Boolean isDeferredAuthIndicator() { + public Boolean DeferredAuthIndicator() { return deferredAuthIndicator; } @@ -461,7 +461,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions cashAdvanceIndicat * @return cashAdvanceIndicator **/ @ApiModelProperty(value = "This API field enables the merchant to indicate that a given transaction is Cash Advance. Cash advance or Cash disbursement functionality allows a merchant to dispense cash at a point of sale. It provides the ability of a POS system to act like an ATM. These terminals are typically seen in bank branches where customers can use their card and withdraw cash or at merchant locations where ATMs are sparse. Possible values: - `true` (Cash advance is supported) - `false` (default: cash advance is not supported) ") - public Boolean isCashAdvanceIndicator() { + public Boolean CashAdvanceIndicator() { return cashAdvanceIndicator; } @@ -479,7 +479,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions splitPaymentTransa * @return splitPaymentTransaction **/ @ApiModelProperty(value = "#### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported) ") - public Boolean isSplitPaymentTransaction() { + public Boolean SplitPaymentTransaction() { return splitPaymentTransaction; } @@ -497,7 +497,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions cardVerificationIn * @return cardVerificationIndicator **/ @ApiModelProperty(value = "This API field will indicate whether a card verification check is being performed during the transaction Possible values: - `true` - `false` (default value) ") - public Boolean isCardVerificationIndicator() { + public Boolean CardVerificationIndicator() { return cardVerificationIndicator; } @@ -515,7 +515,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions aftIndicator(Boole * @return aftIndicator **/ @ApiModelProperty(value = "Indicates whether the transaction is an Account Funding Transaction (AFT). This field is mandatory for Account Funding Transactions (AFT). Possible values: - `true` (This is an AFT transaction) - `false` (default value) (This is not an AFT transaction) ") - public Boolean isAftIndicator() { + public Boolean AftIndicator() { return aftIndicator; } @@ -569,29 +569,29 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationAuthorizationOptions {\n"); - sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); - sb.append(" panReturnIndicator: ").append(toIndentedString(panReturnIndicator)).append("\n"); - sb.append(" verbalAuthCode: ").append(toIndentedString(verbalAuthCode)).append("\n"); - sb.append(" verbalAuthTransactionId: ").append(toIndentedString(verbalAuthTransactionId)).append("\n"); - sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); - sb.append(" partialAuthIndicator: ").append(toIndentedString(partialAuthIndicator)).append("\n"); - sb.append(" extendAuthIndicator: ").append(toIndentedString(extendAuthIndicator)).append("\n"); - sb.append(" balanceInquiry: ").append(toIndentedString(balanceInquiry)).append("\n"); - sb.append(" ignoreAvsResult: ").append(toIndentedString(ignoreAvsResult)).append("\n"); - sb.append(" declineAvsFlags: ").append(toIndentedString(declineAvsFlags)).append("\n"); - sb.append(" ignoreCvResult: ").append(toIndentedString(ignoreCvResult)).append("\n"); - sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); - sb.append(" billPayment: ").append(toIndentedString(billPayment)).append("\n"); - sb.append(" billPaymentType: ").append(toIndentedString(billPaymentType)).append("\n"); - sb.append(" redemptionInquiry: ").append(toIndentedString(redemptionInquiry)).append("\n"); - sb.append(" transportationMode: ").append(toIndentedString(transportationMode)).append("\n"); - sb.append(" aggregatedAuthIndicator: ").append(toIndentedString(aggregatedAuthIndicator)).append("\n"); - sb.append(" debtRecoveryIndicator: ").append(toIndentedString(debtRecoveryIndicator)).append("\n"); - sb.append(" deferredAuthIndicator: ").append(toIndentedString(deferredAuthIndicator)).append("\n"); - sb.append(" cashAdvanceIndicator: ").append(toIndentedString(cashAdvanceIndicator)).append("\n"); - sb.append(" splitPaymentTransaction: ").append(toIndentedString(splitPaymentTransaction)).append("\n"); - sb.append(" cardVerificationIndicator: ").append(toIndentedString(cardVerificationIndicator)).append("\n"); - sb.append(" aftIndicator: ").append(toIndentedString(aftIndicator)).append("\n"); + if (authType != null) sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + if (panReturnIndicator != null) sb.append(" panReturnIndicator: ").append(toIndentedString(panReturnIndicator)).append("\n"); + if (verbalAuthCode != null) sb.append(" verbalAuthCode: ").append(toIndentedString(verbalAuthCode)).append("\n"); + if (verbalAuthTransactionId != null) sb.append(" verbalAuthTransactionId: ").append(toIndentedString(verbalAuthTransactionId)).append("\n"); + if (authIndicator != null) sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); + if (partialAuthIndicator != null) sb.append(" partialAuthIndicator: ").append(toIndentedString(partialAuthIndicator)).append("\n"); + if (extendAuthIndicator != null) sb.append(" extendAuthIndicator: ").append(toIndentedString(extendAuthIndicator)).append("\n"); + if (balanceInquiry != null) sb.append(" balanceInquiry: ").append(toIndentedString(balanceInquiry)).append("\n"); + if (ignoreAvsResult != null) sb.append(" ignoreAvsResult: ").append(toIndentedString(ignoreAvsResult)).append("\n"); + if (declineAvsFlags != null) sb.append(" declineAvsFlags: ").append(toIndentedString(declineAvsFlags)).append("\n"); + if (ignoreCvResult != null) sb.append(" ignoreCvResult: ").append(toIndentedString(ignoreCvResult)).append("\n"); + if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); + if (billPayment != null) sb.append(" billPayment: ").append(toIndentedString(billPayment)).append("\n"); + if (billPaymentType != null) sb.append(" billPaymentType: ").append(toIndentedString(billPaymentType)).append("\n"); + if (redemptionInquiry != null) sb.append(" redemptionInquiry: ").append(toIndentedString(redemptionInquiry)).append("\n"); + if (transportationMode != null) sb.append(" transportationMode: ").append(toIndentedString(transportationMode)).append("\n"); + if (aggregatedAuthIndicator != null) sb.append(" aggregatedAuthIndicator: ").append(toIndentedString(aggregatedAuthIndicator)).append("\n"); + if (debtRecoveryIndicator != null) sb.append(" debtRecoveryIndicator: ").append(toIndentedString(debtRecoveryIndicator)).append("\n"); + if (deferredAuthIndicator != null) sb.append(" deferredAuthIndicator: ").append(toIndentedString(deferredAuthIndicator)).append("\n"); + if (cashAdvanceIndicator != null) sb.append(" cashAdvanceIndicator: ").append(toIndentedString(cashAdvanceIndicator)).append("\n"); + if (splitPaymentTransaction != null) sb.append(" splitPaymentTransaction: ").append(toIndentedString(splitPaymentTransaction)).append("\n"); + if (cardVerificationIndicator != null) sb.append(" cardVerificationIndicator: ").append(toIndentedString(cardVerificationIndicator)).append("\n"); + if (aftIndicator != null) sb.append(" aftIndicator: ").append(toIndentedString(aftIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -602,10 +602,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.java index 7f2adcbbd..37f8aa6ff 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.java @@ -70,7 +70,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator credentia * @return credentialStoredOnFile **/ @ApiModelProperty(value = "Indicates to the issuing bank two things: - The merchant has received consent from the cardholder to store their card details on file - The merchant wants the issuing bank to check out the card details before the merchant initiates their first transaction for this cardholder. The purpose of the merchant-initiated transaction is to ensure that the cardholder's credentials are valid (that the card is not stolen or has restrictions) and that the card details are good to be stored on the merchant's file for future transactions. Valid values: - `true` means merchant will use this transaction to store payment credentials for follow-up merchant-initiated transactions. - `false` means merchant will not use this transaction to store payment credentials for follow-up merchant-initiated transactions. **NOTE:** The value for this field does not correspond to any data in the TC 33 capture file5. This field is supported only for Visa transactions on CyberSource through VisaNet. ") - public Boolean isCredentialStoredOnFile() { + public Boolean CredentialStoredOnFile() { return credentialStoredOnFile; } @@ -88,7 +88,7 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator storedCre * @return storedCredentialUsed **/ @ApiModelProperty(value = "Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file. ") - public Boolean isStoredCredentialUsed() { + public Boolean StoredCredentialUsed() { return storedCredentialUsed; } @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" credentialStoredOnFile: ").append(toIndentedString(credentialStoredOnFile)).append("\n"); - sb.append(" storedCredentialUsed: ").append(toIndentedString(storedCredentialUsed)).append("\n"); - sb.append(" merchantInitiatedTransaction: ").append(toIndentedString(merchantInitiatedTransaction)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (credentialStoredOnFile != null) sb.append(" credentialStoredOnFile: ").append(toIndentedString(credentialStoredOnFile)).append("\n"); + if (storedCredentialUsed != null) sb.append(" storedCredentialUsed: ").append(toIndentedString(storedCredentialUsed)).append("\n"); + if (merchantInitiatedTransaction != null) sb.append(" merchantInitiatedTransaction: ").append(toIndentedString(merchantInitiatedTransaction)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java index 29b5de7bb..8783b9e7e 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); - sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (previousTransactionId != null) sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); + if (originalAuthorizedAmount != null) sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationBankTransferOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationBankTransferOptions.java index aa17f4159..b99a97e8e 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationBankTransferOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationBankTransferOptions.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationBankTransferOptions {\n"); - sb.append(" declineAvsFlags: ").append(toIndentedString(declineAvsFlags)).append("\n"); - sb.append(" secCode: ").append(toIndentedString(secCode)).append("\n"); - sb.append(" terminalCity: ").append(toIndentedString(terminalCity)).append("\n"); - sb.append(" terminalState: ").append(toIndentedString(terminalState)).append("\n"); - sb.append(" effectiveDate: ").append(toIndentedString(effectiveDate)).append("\n"); - sb.append(" partialPaymentId: ").append(toIndentedString(partialPaymentId)).append("\n"); - sb.append(" customerMemo: ").append(toIndentedString(customerMemo)).append("\n"); - sb.append(" paymentCategoryCode: ").append(toIndentedString(paymentCategoryCode)).append("\n"); - sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); - sb.append(" fraudScreeningLevel: ").append(toIndentedString(fraudScreeningLevel)).append("\n"); - sb.append(" customerPresent: ").append(toIndentedString(customerPresent)).append("\n"); + if (declineAvsFlags != null) sb.append(" declineAvsFlags: ").append(toIndentedString(declineAvsFlags)).append("\n"); + if (secCode != null) sb.append(" secCode: ").append(toIndentedString(secCode)).append("\n"); + if (terminalCity != null) sb.append(" terminalCity: ").append(toIndentedString(terminalCity)).append("\n"); + if (terminalState != null) sb.append(" terminalState: ").append(toIndentedString(terminalState)).append("\n"); + if (effectiveDate != null) sb.append(" effectiveDate: ").append(toIndentedString(effectiveDate)).append("\n"); + if (partialPaymentId != null) sb.append(" partialPaymentId: ").append(toIndentedString(partialPaymentId)).append("\n"); + if (customerMemo != null) sb.append(" customerMemo: ").append(toIndentedString(customerMemo)).append("\n"); + if (paymentCategoryCode != null) sb.append(" paymentCategoryCode: ").append(toIndentedString(paymentCategoryCode)).append("\n"); + if (settlementMethod != null) sb.append(" settlementMethod: ").append(toIndentedString(settlementMethod)).append("\n"); + if (fraudScreeningLevel != null) sb.append(" fraudScreeningLevel: ").append(toIndentedString(fraudScreeningLevel)).append("\n"); + if (customerPresent != null) sb.append(" customerPresent: ").append(toIndentedString(customerPresent)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java index 929babb1b..3f2f952e3 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java @@ -166,11 +166,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationCaptureOptions {\n"); - sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n"); - sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); - sb.append(" dateToCapture: ").append(toIndentedString(dateToCapture)).append("\n"); - sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n"); - sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (captureSequenceNumber != null) sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n"); + if (totalCaptureCount != null) sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); + if (dateToCapture != null) sb.append(" dateToCapture: ").append(toIndentedString(dateToCapture)).append("\n"); + if (isFinal != null) sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n"); + if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -181,10 +181,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer.java index f28a84f52..336542aaf 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer {\n"); - sb.append(" category: ").append(toIndentedString(category)).append("\n"); - sb.append(" voucherSerialNumber: ").append(toIndentedString(voucherSerialNumber)).append("\n"); + if (category != null) sb.append(" category: ").append(toIndentedString(category)).append("\n"); + if (voucherSerialNumber != null) sb.append(" voucherSerialNumber: ").append(toIndentedString(voucherSerialNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptions.java index 4bec59cd6..438a3d48c 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptions.java @@ -283,16 +283,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationJapanPaymentOptions {\n"); - sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); - sb.append(" bonuses: ").append(toIndentedString(bonuses)).append("\n"); - sb.append(" preapprovalType: ").append(toIndentedString(preapprovalType)).append("\n"); - sb.append(" installments: ").append(toIndentedString(installments)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" firstBillingMonth: ").append(toIndentedString(firstBillingMonth)).append("\n"); - sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n"); - sb.append(" businessNameKatakana: ").append(toIndentedString(businessNameKatakana)).append("\n"); - sb.append(" jis2TrackData: ").append(toIndentedString(jis2TrackData)).append("\n"); - sb.append(" businessNameAlphaNumeric: ").append(toIndentedString(businessNameAlphaNumeric)).append("\n"); + if (paymentMethod != null) sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); + if (bonuses != null) sb.append(" bonuses: ").append(toIndentedString(bonuses)).append("\n"); + if (preapprovalType != null) sb.append(" preapprovalType: ").append(toIndentedString(preapprovalType)).append("\n"); + if (installments != null) sb.append(" installments: ").append(toIndentedString(installments)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (firstBillingMonth != null) sb.append(" firstBillingMonth: ").append(toIndentedString(firstBillingMonth)).append("\n"); + if (businessName != null) sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n"); + if (businessNameKatakana != null) sb.append(" businessNameKatakana: ").append(toIndentedString(businessNameKatakana)).append("\n"); + if (jis2TrackData != null) sb.append(" jis2TrackData: ").append(toIndentedString(jis2TrackData)).append("\n"); + if (businessNameAlphaNumeric != null) sb.append(" businessNameAlphaNumeric: ").append(toIndentedString(businessNameAlphaNumeric)).append("\n"); sb.append("}"); return sb.toString(); } @@ -303,10 +303,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses.java index a0593548f..5596e7c96 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses {\n"); - sb.append(" month: ").append(toIndentedString(month)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (month != null) sb.append(" month: ").append(toIndentedString(month)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationLoanOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationLoanOptions.java index 36cc240b1..c0de5e075 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationLoanOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationLoanOptions.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationLoanOptions {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" assetType: ").append(toIndentedString(assetType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (assetType != null) sb.append(" assetType: ").append(toIndentedString(assetType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java index d3846454f..059006de0 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java @@ -45,7 +45,7 @@ public Ptsv2paymentsProcessingInformationPurchaseOptions isElectronicBenefitsTra * @return isElectronicBenefitsTransfer **/ @ApiModelProperty(value = "Flag that indicates whether this transaction is an EBT transaction. Possible values: - `true` - `false` #### PIN debit Required field for EBT and EBT voucher transactions that use PIN debit credit or PIN debit purchase; otherwise, not used. ") - public Boolean isIsElectronicBenefitsTransfer() { + public Boolean IsElectronicBenefitsTransfer() { return isElectronicBenefitsTransfer; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationPurchaseOptions {\n"); - sb.append(" isElectronicBenefitsTransfer: ").append(toIndentedString(isElectronicBenefitsTransfer)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (isElectronicBenefitsTransfer != null) sb.append(" isElectronicBenefitsTransfer: ").append(toIndentedString(isElectronicBenefitsTransfer)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationRecurringOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationRecurringOptions.java index dcbdfa5fe..c749b8a22 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationRecurringOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationRecurringOptions.java @@ -45,7 +45,7 @@ public Ptsv2paymentsProcessingInformationRecurringOptions loanPayment(Boolean lo * @return loanPayment **/ @ApiModelProperty(value = "Flag that indicates whether this is a payment towards an existing contractual loan. Possible values: - `true`: Loan payment - `false`: (default) Not a loan payment ") - public Boolean isLoanPayment() { + public Boolean LoanPayment() { return loanPayment; } @@ -63,7 +63,7 @@ public Ptsv2paymentsProcessingInformationRecurringOptions firstRecurringPayment( * @return firstRecurringPayment **/ @ApiModelProperty(value = "Flag that indicates whether this transaction is the first in a series of recurring payments. This field is supported only for **Atos**, **FDC Nashville Global**, and **OmniPay Direct**. Possible values: - `true` Indicates this is the first payment in a series of recurring payments - `false` (default) Indicates this is not the first payment in a series of recurring payments. ") - public Boolean isFirstRecurringPayment() { + public Boolean FirstRecurringPayment() { return firstRecurringPayment; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessingInformationRecurringOptions {\n"); - sb.append(" loanPayment: ").append(toIndentedString(loanPayment)).append("\n"); - sb.append(" firstRecurringPayment: ").append(toIndentedString(firstRecurringPayment)).append("\n"); + if (loanPayment != null) sb.append(" loanPayment: ").append(toIndentedString(loanPayment)).append("\n"); + if (firstRecurringPayment != null) sb.append(" firstRecurringPayment: ").append(toIndentedString(firstRecurringPayment)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessorInformation.java b/src/main/java/Model/Ptsv2paymentsProcessorInformation.java index c656337fb..9f9f6bc1c 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessorInformation.java +++ b/src/main/java/Model/Ptsv2paymentsProcessorInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessorInformation {\n"); - sb.append(" preApprovalToken: ").append(toIndentedString(preApprovalToken)).append("\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); - sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); + if (preApprovalToken != null) sb.append(" preApprovalToken: ").append(toIndentedString(preApprovalToken)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (reversal != null) sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessorInformationAuthorizationOptions.java b/src/main/java/Model/Ptsv2paymentsProcessorInformationAuthorizationOptions.java index 7cd036caf..7280ebed9 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessorInformationAuthorizationOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessorInformationAuthorizationOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessorInformationAuthorizationOptions {\n"); - sb.append(" panReturnIndicator: ").append(toIndentedString(panReturnIndicator)).append("\n"); + if (panReturnIndicator != null) sb.append(" panReturnIndicator: ").append(toIndentedString(panReturnIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java b/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java index cb90f7c3c..00507ec93 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java +++ b/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsProcessorInformationReversal {\n"); - sb.append(" preApprovalToken: ").append(toIndentedString(preApprovalToken)).append("\n"); + if (preApprovalToken != null) sb.append(" preApprovalToken: ").append(toIndentedString(preApprovalToken)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsPromotionInformation.java b/src/main/java/Model/Ptsv2paymentsPromotionInformation.java index 26baad2de..c1e01e812 100644 --- a/src/main/java/Model/Ptsv2paymentsPromotionInformation.java +++ b/src/main/java/Model/Ptsv2paymentsPromotionInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsPromotionInformation {\n"); - sb.append(" additionalCode: ").append(toIndentedString(additionalCode)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (additionalCode != null) sb.append(" additionalCode: ").append(toIndentedString(additionalCode)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRecipientInformation.java b/src/main/java/Model/Ptsv2paymentsRecipientInformation.java index b3beb4c2d..3469fbe8f 100644 --- a/src/main/java/Model/Ptsv2paymentsRecipientInformation.java +++ b/src/main/java/Model/Ptsv2paymentsRecipientInformation.java @@ -316,18 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRecipientInformation {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" beneficiaryId: ").append(toIndentedString(beneficiaryId)).append("\n"); - sb.append(" beneficiaryName: ").append(toIndentedString(beneficiaryName)).append("\n"); - sb.append(" beneficiaryAddress: ").append(toIndentedString(beneficiaryAddress)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (beneficiaryId != null) sb.append(" beneficiaryId: ").append(toIndentedString(beneficiaryId)).append("\n"); + if (beneficiaryName != null) sb.append(" beneficiaryName: ").append(toIndentedString(beneficiaryName)).append("\n"); + if (beneficiaryAddress != null) sb.append(" beneficiaryAddress: ").append(toIndentedString(beneficiaryAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -338,10 +338,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java index dbe6d8882..57f88fb0c 100644 --- a/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java @@ -295,17 +295,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRecurringPaymentInformation {\n"); - sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); - sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); - sb.append(" numberOfPayments: ").append(toIndentedString(numberOfPayments)).append("\n"); - sb.append(" originalPurchaseDate: ").append(toIndentedString(originalPurchaseDate)).append("\n"); - sb.append(" sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" occurrence: ").append(toIndentedString(occurrence)).append("\n"); - sb.append(" validationIndicator: ").append(toIndentedString(validationIndicator)).append("\n"); - sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); - sb.append(" maximumAmount: ").append(toIndentedString(maximumAmount)).append("\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (endDate != null) sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + if (frequency != null) sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); + if (numberOfPayments != null) sb.append(" numberOfPayments: ").append(toIndentedString(numberOfPayments)).append("\n"); + if (originalPurchaseDate != null) sb.append(" originalPurchaseDate: ").append(toIndentedString(originalPurchaseDate)).append("\n"); + if (sequenceNumber != null) sb.append(" sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (occurrence != null) sb.append(" occurrence: ").append(toIndentedString(occurrence)).append("\n"); + if (validationIndicator != null) sb.append(" validationIndicator: ").append(toIndentedString(validationIndicator)).append("\n"); + if (amountType != null) sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); + if (maximumAmount != null) sb.append(" maximumAmount: ").append(toIndentedString(maximumAmount)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -316,10 +316,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRiskInformation.java b/src/main/java/Model/Ptsv2paymentsRiskInformation.java index d434166d1..13ee3eac2 100644 --- a/src/main/java/Model/Ptsv2paymentsRiskInformation.java +++ b/src/main/java/Model/Ptsv2paymentsRiskInformation.java @@ -154,10 +154,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRiskInformation {\n"); - sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); - sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); - sb.append(" buyerHistory: ").append(toIndentedString(buyerHistory)).append("\n"); - sb.append(" auxiliaryData: ").append(toIndentedString(auxiliaryData)).append("\n"); + if (profile != null) sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); + if (eventType != null) sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); + if (buyerHistory != null) sb.append(" buyerHistory: ").append(toIndentedString(buyerHistory)).append("\n"); + if (auxiliaryData != null) sb.append(" auxiliaryData: ").append(toIndentedString(auxiliaryData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -168,10 +168,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRiskInformationAuxiliaryData.java b/src/main/java/Model/Ptsv2paymentsRiskInformationAuxiliaryData.java index 92b817f66..c87f7c2b1 100644 --- a/src/main/java/Model/Ptsv2paymentsRiskInformationAuxiliaryData.java +++ b/src/main/java/Model/Ptsv2paymentsRiskInformationAuxiliaryData.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRiskInformationAuxiliaryData {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (key != null) sb.append(" key: ").append(toIndentedString(key)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistory.java b/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistory.java index fdba115e3..667a24a8f 100644 --- a/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistory.java +++ b/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistory.java @@ -140,7 +140,7 @@ public Ptsv2paymentsRiskInformationBuyerHistory priorSuspiciousActivity(Boolean * @return priorSuspiciousActivity **/ @ApiModelProperty(value = "Indicates whether the merchant experienced suspicious activity (including previous fraud) on the account. Recommended for Discover ProtectBuy. ") - public Boolean isPriorSuspiciousActivity() { + public Boolean PriorSuspiciousActivity() { return priorSuspiciousActivity; } @@ -252,15 +252,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRiskInformationBuyerHistory {\n"); - sb.append(" customerAccount: ").append(toIndentedString(customerAccount)).append("\n"); - sb.append(" accountHistory: ").append(toIndentedString(accountHistory)).append("\n"); - sb.append(" accountPurchases: ").append(toIndentedString(accountPurchases)).append("\n"); - sb.append(" addCardAttempts: ").append(toIndentedString(addCardAttempts)).append("\n"); - sb.append(" priorSuspiciousActivity: ").append(toIndentedString(priorSuspiciousActivity)).append("\n"); - sb.append(" paymentAccountHistory: ").append(toIndentedString(paymentAccountHistory)).append("\n"); - sb.append(" paymentAccountDate: ").append(toIndentedString(paymentAccountDate)).append("\n"); - sb.append(" transactionCountDay: ").append(toIndentedString(transactionCountDay)).append("\n"); - sb.append(" transactionCountYear: ").append(toIndentedString(transactionCountYear)).append("\n"); + if (customerAccount != null) sb.append(" customerAccount: ").append(toIndentedString(customerAccount)).append("\n"); + if (accountHistory != null) sb.append(" accountHistory: ").append(toIndentedString(accountHistory)).append("\n"); + if (accountPurchases != null) sb.append(" accountPurchases: ").append(toIndentedString(accountPurchases)).append("\n"); + if (addCardAttempts != null) sb.append(" addCardAttempts: ").append(toIndentedString(addCardAttempts)).append("\n"); + if (priorSuspiciousActivity != null) sb.append(" priorSuspiciousActivity: ").append(toIndentedString(priorSuspiciousActivity)).append("\n"); + if (paymentAccountHistory != null) sb.append(" paymentAccountHistory: ").append(toIndentedString(paymentAccountHistory)).append("\n"); + if (paymentAccountDate != null) sb.append(" paymentAccountDate: ").append(toIndentedString(paymentAccountDate)).append("\n"); + if (transactionCountDay != null) sb.append(" transactionCountDay: ").append(toIndentedString(transactionCountDay)).append("\n"); + if (transactionCountYear != null) sb.append(" transactionCountYear: ").append(toIndentedString(transactionCountYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -271,10 +271,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory.java b/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory.java index 0c915facf..8ba790c01 100644 --- a/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory.java +++ b/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory.java @@ -45,7 +45,7 @@ public Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory firstUseOfShipping * @return firstUseOfShippingAddress **/ @ApiModelProperty(value = "Applicable when this is not a guest account. ") - public Boolean isFirstUseOfShippingAddress() { + public Boolean FirstUseOfShippingAddress() { return firstUseOfShippingAddress; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory {\n"); - sb.append(" firstUseOfShippingAddress: ").append(toIndentedString(firstUseOfShippingAddress)).append("\n"); - sb.append(" shippingAddressUsageDate: ").append(toIndentedString(shippingAddressUsageDate)).append("\n"); + if (firstUseOfShippingAddress != null) sb.append(" firstUseOfShippingAddress: ").append(toIndentedString(firstUseOfShippingAddress)).append("\n"); + if (shippingAddressUsageDate != null) sb.append(" shippingAddressUsageDate: ").append(toIndentedString(shippingAddressUsageDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount.java b/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount.java index de6f10b06..122b89744 100644 --- a/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount.java +++ b/src/main/java/Model/Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount {\n"); - sb.append(" lastChangeDate: ").append(toIndentedString(lastChangeDate)).append("\n"); - sb.append(" creationHistory: ").append(toIndentedString(creationHistory)).append("\n"); - sb.append(" modificationHistory: ").append(toIndentedString(modificationHistory)).append("\n"); - sb.append(" passwordHistory: ").append(toIndentedString(passwordHistory)).append("\n"); - sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); - sb.append(" passwordChangeDate: ").append(toIndentedString(passwordChangeDate)).append("\n"); + if (lastChangeDate != null) sb.append(" lastChangeDate: ").append(toIndentedString(lastChangeDate)).append("\n"); + if (creationHistory != null) sb.append(" creationHistory: ").append(toIndentedString(creationHistory)).append("\n"); + if (modificationHistory != null) sb.append(" modificationHistory: ").append(toIndentedString(modificationHistory)).append("\n"); + if (passwordHistory != null) sb.append(" passwordHistory: ").append(toIndentedString(passwordHistory)).append("\n"); + if (createDate != null) sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); + if (passwordChangeDate != null) sb.append(" passwordChangeDate: ").append(toIndentedString(passwordChangeDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsRiskInformationProfile.java b/src/main/java/Model/Ptsv2paymentsRiskInformationProfile.java index 7e74f15bd..f78bb79a3 100644 --- a/src/main/java/Model/Ptsv2paymentsRiskInformationProfile.java +++ b/src/main/java/Model/Ptsv2paymentsRiskInformationProfile.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsRiskInformationProfile {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsSenderInformation.java b/src/main/java/Model/Ptsv2paymentsSenderInformation.java index 79a347125..82b087585 100644 --- a/src/main/java/Model/Ptsv2paymentsSenderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsSenderInformation.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsSenderInformation {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTokenInformation.java b/src/main/java/Model/Ptsv2paymentsTokenInformation.java index a05934687..d9358cdf2 100644 --- a/src/main/java/Model/Ptsv2paymentsTokenInformation.java +++ b/src/main/java/Model/Ptsv2paymentsTokenInformation.java @@ -187,12 +187,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTokenInformation {\n"); - sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); - sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" networkTokenOption: ").append(toIndentedString(networkTokenOption)).append("\n"); - sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); + if (jti != null) sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); + if (transientTokenJwt != null) sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (networkTokenOption != null) sb.append(" networkTokenOption: ").append(toIndentedString(networkTokenOption)).append("\n"); + if (tokenProvisioningInformation != null) sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -203,10 +203,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTokenInformationPaymentInstrument.java b/src/main/java/Model/Ptsv2paymentsTokenInformationPaymentInstrument.java index 531a204ff..ce12c5430 100644 --- a/src/main/java/Model/Ptsv2paymentsTokenInformationPaymentInstrument.java +++ b/src/main/java/Model/Ptsv2paymentsTokenInformationPaymentInstrument.java @@ -42,7 +42,7 @@ public Ptsv2paymentsTokenInformationPaymentInstrument _default(Boolean _default) * @return _default **/ @ApiModelProperty(value = "Flag that specifies if the Payment Instrument should be made the Customers default. Possible values: - true - false : (default) ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTokenInformationPaymentInstrument {\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTokenInformationShippingAddress.java b/src/main/java/Model/Ptsv2paymentsTokenInformationShippingAddress.java index 1d1b154ac..f378966f8 100644 --- a/src/main/java/Model/Ptsv2paymentsTokenInformationShippingAddress.java +++ b/src/main/java/Model/Ptsv2paymentsTokenInformationShippingAddress.java @@ -42,7 +42,7 @@ public Ptsv2paymentsTokenInformationShippingAddress _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that specifies if the Shipping Address should be made the Customers default. Possible values: - true - false : (default) ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTokenInformationShippingAddress {\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTokenInformationTokenProvisioningInformation.java b/src/main/java/Model/Ptsv2paymentsTokenInformationTokenProvisioningInformation.java index 8926b6d7f..e4e1876b4 100644 --- a/src/main/java/Model/Ptsv2paymentsTokenInformationTokenProvisioningInformation.java +++ b/src/main/java/Model/Ptsv2paymentsTokenInformationTokenProvisioningInformation.java @@ -45,7 +45,7 @@ public Ptsv2paymentsTokenInformationTokenProvisioningInformation consumerConsent * @return consumerConsentObtained **/ @ApiModelProperty(value = "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India. Possible Values: - `true`: Consumer has consented to tokenization of their credentials. - `false`: Consumer has not consented to tokenization of their credentials. ") - public Boolean isConsumerConsentObtained() { + public Boolean ConsumerConsentObtained() { return consumerConsentObtained; } @@ -63,7 +63,7 @@ public Ptsv2paymentsTokenInformationTokenProvisioningInformation multiFactorAuth * @return multiFactorAuthenticated **/ @ApiModelProperty(value = "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India. Possible Values: - `true`: Consumer has been authenticated by the issuer. - `false`: Consumer has not been authenticated by the issuer. ") - public Boolean isMultiFactorAuthenticated() { + public Boolean MultiFactorAuthenticated() { return multiFactorAuthenticated; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTokenInformationTokenProvisioningInformation {\n"); - sb.append(" consumerConsentObtained: ").append(toIndentedString(consumerConsentObtained)).append("\n"); - sb.append(" multiFactorAuthenticated: ").append(toIndentedString(multiFactorAuthenticated)).append("\n"); + if (consumerConsentObtained != null) sb.append(" consumerConsentObtained: ").append(toIndentedString(consumerConsentObtained)).append("\n"); + if (multiFactorAuthenticated != null) sb.append(" multiFactorAuthenticated: ").append(toIndentedString(multiFactorAuthenticated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformation.java b/src/main/java/Model/Ptsv2paymentsTravelInformation.java index bba027150..bd5b788c5 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformation.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformation.java @@ -189,12 +189,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformation {\n"); - sb.append(" duration: ").append(toIndentedString(duration)).append("\n"); - sb.append(" agency: ").append(toIndentedString(agency)).append("\n"); - sb.append(" autoRental: ").append(toIndentedString(autoRental)).append("\n"); - sb.append(" lodging: ").append(toIndentedString(lodging)).append("\n"); - sb.append(" transit: ").append(toIndentedString(transit)).append("\n"); - sb.append(" vehicleData: ").append(toIndentedString(vehicleData)).append("\n"); + if (duration != null) sb.append(" duration: ").append(toIndentedString(duration)).append("\n"); + if (agency != null) sb.append(" agency: ").append(toIndentedString(agency)).append("\n"); + if (autoRental != null) sb.append(" autoRental: ").append(toIndentedString(autoRental)).append("\n"); + if (lodging != null) sb.append(" lodging: ").append(toIndentedString(lodging)).append("\n"); + if (transit != null) sb.append(" transit: ").append(toIndentedString(transit)).append("\n"); + if (vehicleData != null) sb.append(" vehicleData: ").append(toIndentedString(vehicleData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -205,10 +205,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationAgency.java b/src/main/java/Model/Ptsv2paymentsTravelInformationAgency.java index a5543221c..28fdff69b 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationAgency.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationAgency.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationAgency {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRental.java b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRental.java index 7c1377708..dc3effdc8 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRental.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRental.java @@ -174,7 +174,7 @@ public Ptsv2paymentsTravelInformationAutoRental noShowIndicator(Boolean noShowIn * @return noShowIndicator **/ @ApiModelProperty(value = "No Show Indicator provides an indicator noting that the individual did not show up after making a reservation for a vehicle. Possible values: - true - false ") - public Boolean isNoShowIndicator() { + public Boolean NoShowIndicator() { return noShowIndicator; } @@ -318,7 +318,7 @@ public Ptsv2paymentsTravelInformationAutoRental insuranceIndicator(Boolean insur * @return insuranceIndicator **/ @ApiModelProperty(value = "Used for MC and Discover Valid values: - `true` - Yes (insurance was purchased) - `false` - No (insurance was not purchased) ") - public Boolean isInsuranceIndicator() { + public Boolean InsuranceIndicator() { return insuranceIndicator; } @@ -1023,50 +1023,50 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationAutoRental {\n"); - sb.append(" noShowIndicator: ").append(toIndentedString(noShowIndicator)).append("\n"); - sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n"); - sb.append(" vehicleClass: ").append(toIndentedString(vehicleClass)).append("\n"); - sb.append(" distanceTravelled: ").append(toIndentedString(distanceTravelled)).append("\n"); - sb.append(" distanceUnit: ").append(toIndentedString(distanceUnit)).append("\n"); - sb.append(" returnDateTime: ").append(toIndentedString(returnDateTime)).append("\n"); - sb.append(" rentalDateTime: ").append(toIndentedString(rentalDateTime)).append("\n"); - sb.append(" maxFreeDistance: ").append(toIndentedString(maxFreeDistance)).append("\n"); - sb.append(" insuranceIndicator: ").append(toIndentedString(insuranceIndicator)).append("\n"); - sb.append(" programCode: ").append(toIndentedString(programCode)).append("\n"); - sb.append(" returnAddress: ").append(toIndentedString(returnAddress)).append("\n"); - sb.append(" rentalAddress: ").append(toIndentedString(rentalAddress)).append("\n"); - sb.append(" agreementNumber: ").append(toIndentedString(agreementNumber)).append("\n"); - sb.append(" odometerReading: ").append(toIndentedString(odometerReading)).append("\n"); - sb.append(" vehicleIdentificationNumber: ").append(toIndentedString(vehicleIdentificationNumber)).append("\n"); - sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); - sb.append(" numberOfAdditionalDrivers: ").append(toIndentedString(numberOfAdditionalDrivers)).append("\n"); - sb.append(" driverAge: ").append(toIndentedString(driverAge)).append("\n"); - sb.append(" specialProgramCode: ").append(toIndentedString(specialProgramCode)).append("\n"); - sb.append(" vehicleMake: ").append(toIndentedString(vehicleMake)).append("\n"); - sb.append(" vehicleModel: ").append(toIndentedString(vehicleModel)).append("\n"); - sb.append(" timePeriod: ").append(toIndentedString(timePeriod)).append("\n"); - sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); - sb.append(" customerServicePhoneNumber: ").append(toIndentedString(customerServicePhoneNumber)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); - sb.append(" oneWayDropOffAmount: ").append(toIndentedString(oneWayDropOffAmount)).append("\n"); - sb.append(" adjustedAmountIndicator: ").append(toIndentedString(adjustedAmountIndicator)).append("\n"); - sb.append(" adjustedAmount: ").append(toIndentedString(adjustedAmount)).append("\n"); - sb.append(" fuelCharges: ").append(toIndentedString(fuelCharges)).append("\n"); - sb.append(" weeklyRentalRate: ").append(toIndentedString(weeklyRentalRate)).append("\n"); - sb.append(" dailyRentalRate: ").append(toIndentedString(dailyRentalRate)).append("\n"); - sb.append(" ratePerMile: ").append(toIndentedString(ratePerMile)).append("\n"); - sb.append(" mileageCharge: ").append(toIndentedString(mileageCharge)).append("\n"); - sb.append(" extraMileageCharge: ").append(toIndentedString(extraMileageCharge)).append("\n"); - sb.append(" lateFeeAmount: ").append(toIndentedString(lateFeeAmount)).append("\n"); - sb.append(" towingCharge: ").append(toIndentedString(towingCharge)).append("\n"); - sb.append(" extraCharge: ").append(toIndentedString(extraCharge)).append("\n"); - sb.append(" gpsCharge: ").append(toIndentedString(gpsCharge)).append("\n"); - sb.append(" phoneCharge: ").append(toIndentedString(phoneCharge)).append("\n"); - sb.append(" parkingViolationCharge: ").append(toIndentedString(parkingViolationCharge)).append("\n"); - sb.append(" otherCharges: ").append(toIndentedString(otherCharges)).append("\n"); - sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); - sb.append(" affiliateName: ").append(toIndentedString(affiliateName)).append("\n"); + if (noShowIndicator != null) sb.append(" noShowIndicator: ").append(toIndentedString(noShowIndicator)).append("\n"); + if (customerName != null) sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n"); + if (vehicleClass != null) sb.append(" vehicleClass: ").append(toIndentedString(vehicleClass)).append("\n"); + if (distanceTravelled != null) sb.append(" distanceTravelled: ").append(toIndentedString(distanceTravelled)).append("\n"); + if (distanceUnit != null) sb.append(" distanceUnit: ").append(toIndentedString(distanceUnit)).append("\n"); + if (returnDateTime != null) sb.append(" returnDateTime: ").append(toIndentedString(returnDateTime)).append("\n"); + if (rentalDateTime != null) sb.append(" rentalDateTime: ").append(toIndentedString(rentalDateTime)).append("\n"); + if (maxFreeDistance != null) sb.append(" maxFreeDistance: ").append(toIndentedString(maxFreeDistance)).append("\n"); + if (insuranceIndicator != null) sb.append(" insuranceIndicator: ").append(toIndentedString(insuranceIndicator)).append("\n"); + if (programCode != null) sb.append(" programCode: ").append(toIndentedString(programCode)).append("\n"); + if (returnAddress != null) sb.append(" returnAddress: ").append(toIndentedString(returnAddress)).append("\n"); + if (rentalAddress != null) sb.append(" rentalAddress: ").append(toIndentedString(rentalAddress)).append("\n"); + if (agreementNumber != null) sb.append(" agreementNumber: ").append(toIndentedString(agreementNumber)).append("\n"); + if (odometerReading != null) sb.append(" odometerReading: ").append(toIndentedString(odometerReading)).append("\n"); + if (vehicleIdentificationNumber != null) sb.append(" vehicleIdentificationNumber: ").append(toIndentedString(vehicleIdentificationNumber)).append("\n"); + if (companyId != null) sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); + if (numberOfAdditionalDrivers != null) sb.append(" numberOfAdditionalDrivers: ").append(toIndentedString(numberOfAdditionalDrivers)).append("\n"); + if (driverAge != null) sb.append(" driverAge: ").append(toIndentedString(driverAge)).append("\n"); + if (specialProgramCode != null) sb.append(" specialProgramCode: ").append(toIndentedString(specialProgramCode)).append("\n"); + if (vehicleMake != null) sb.append(" vehicleMake: ").append(toIndentedString(vehicleMake)).append("\n"); + if (vehicleModel != null) sb.append(" vehicleModel: ").append(toIndentedString(vehicleModel)).append("\n"); + if (timePeriod != null) sb.append(" timePeriod: ").append(toIndentedString(timePeriod)).append("\n"); + if (commodityCode != null) sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); + if (customerServicePhoneNumber != null) sb.append(" customerServicePhoneNumber: ").append(toIndentedString(customerServicePhoneNumber)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (insuranceAmount != null) sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); + if (oneWayDropOffAmount != null) sb.append(" oneWayDropOffAmount: ").append(toIndentedString(oneWayDropOffAmount)).append("\n"); + if (adjustedAmountIndicator != null) sb.append(" adjustedAmountIndicator: ").append(toIndentedString(adjustedAmountIndicator)).append("\n"); + if (adjustedAmount != null) sb.append(" adjustedAmount: ").append(toIndentedString(adjustedAmount)).append("\n"); + if (fuelCharges != null) sb.append(" fuelCharges: ").append(toIndentedString(fuelCharges)).append("\n"); + if (weeklyRentalRate != null) sb.append(" weeklyRentalRate: ").append(toIndentedString(weeklyRentalRate)).append("\n"); + if (dailyRentalRate != null) sb.append(" dailyRentalRate: ").append(toIndentedString(dailyRentalRate)).append("\n"); + if (ratePerMile != null) sb.append(" ratePerMile: ").append(toIndentedString(ratePerMile)).append("\n"); + if (mileageCharge != null) sb.append(" mileageCharge: ").append(toIndentedString(mileageCharge)).append("\n"); + if (extraMileageCharge != null) sb.append(" extraMileageCharge: ").append(toIndentedString(extraMileageCharge)).append("\n"); + if (lateFeeAmount != null) sb.append(" lateFeeAmount: ").append(toIndentedString(lateFeeAmount)).append("\n"); + if (towingCharge != null) sb.append(" towingCharge: ").append(toIndentedString(towingCharge)).append("\n"); + if (extraCharge != null) sb.append(" extraCharge: ").append(toIndentedString(extraCharge)).append("\n"); + if (gpsCharge != null) sb.append(" gpsCharge: ").append(toIndentedString(gpsCharge)).append("\n"); + if (phoneCharge != null) sb.append(" phoneCharge: ").append(toIndentedString(phoneCharge)).append("\n"); + if (parkingViolationCharge != null) sb.append(" parkingViolationCharge: ").append(toIndentedString(parkingViolationCharge)).append("\n"); + if (otherCharges != null) sb.append(" otherCharges: ").append(toIndentedString(otherCharges)).append("\n"); + if (companyName != null) sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + if (affiliateName != null) sb.append(" affiliateName: ").append(toIndentedString(affiliateName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1077,10 +1077,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalRentalAddress.java b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalRentalAddress.java index b02e05a46..ac523fed6 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalRentalAddress.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalRentalAddress.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationAutoRentalRentalAddress {\n"); - sb.append(" city: ").append(toIndentedString(city)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locationId: ").append(toIndentedString(locationId)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); + if (city != null) sb.append(" city: ").append(toIndentedString(city)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locationId != null) sb.append(" locationId: ").append(toIndentedString(locationId)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalReturnAddress.java b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalReturnAddress.java index a3d7b3778..7d837461c 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalReturnAddress.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalReturnAddress.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationAutoRentalReturnAddress {\n"); - sb.append(" city: ").append(toIndentedString(city)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locationId: ").append(toIndentedString(locationId)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); + if (city != null) sb.append(" city: ").append(toIndentedString(city)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locationId != null) sb.append(" locationId: ").append(toIndentedString(locationId)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalTaxDetails.java b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalTaxDetails.java index bb5d9239e..9a8fa2cf2 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalTaxDetails.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationAutoRentalTaxDetails.java @@ -93,7 +93,7 @@ public Ptsv2paymentsTravelInformationAutoRentalTaxDetails applied(Boolean applie * @return applied **/ @ApiModelProperty(value = "Flag that indicates whether the tax amount (`travelInformation.autoRental.taxDetails.amount`) is included in the request. Possible values: - `false`: tax amount is not included in the request. - `true`: tax amount is included in the request. ") - public Boolean isApplied() { + public Boolean Applied() { return applied; } @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationAutoRentalTaxDetails {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); - sb.append(" applied: ").append(toIndentedString(applied)).append("\n"); - sb.append(" exemptionCode: ").append(toIndentedString(exemptionCode)).append("\n"); - sb.append(" taxType: ").append(toIndentedString(taxType)).append("\n"); - sb.append(" taxSummary: ").append(toIndentedString(taxSummary)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (rate != null) sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); + if (applied != null) sb.append(" applied: ").append(toIndentedString(applied)).append("\n"); + if (exemptionCode != null) sb.append(" exemptionCode: ").append(toIndentedString(exemptionCode)).append("\n"); + if (taxType != null) sb.append(" taxType: ").append(toIndentedString(taxType)).append("\n"); + if (taxSummary != null) sb.append(" taxSummary: ").append(toIndentedString(taxSummary)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationLodging.java b/src/main/java/Model/Ptsv2paymentsTravelInformationLodging.java index 7d5bd6c8b..a1807bbf8 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationLodging.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationLodging.java @@ -1079,52 +1079,52 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationLodging {\n"); - sb.append(" checkInDate: ").append(toIndentedString(checkInDate)).append("\n"); - sb.append(" checkOutDate: ").append(toIndentedString(checkOutDate)).append("\n"); - sb.append(" room: ").append(toIndentedString(room)).append("\n"); - sb.append(" smokingPreference: ").append(toIndentedString(smokingPreference)).append("\n"); - sb.append(" numberOfRooms: ").append(toIndentedString(numberOfRooms)).append("\n"); - sb.append(" numberOfGuests: ").append(toIndentedString(numberOfGuests)).append("\n"); - sb.append(" roomBedType: ").append(toIndentedString(roomBedType)).append("\n"); - sb.append(" roomTaxType: ").append(toIndentedString(roomTaxType)).append("\n"); - sb.append(" roomRateType: ").append(toIndentedString(roomRateType)).append("\n"); - sb.append(" guestName: ").append(toIndentedString(guestName)).append("\n"); - sb.append(" customerServicePhoneNumber: ").append(toIndentedString(customerServicePhoneNumber)).append("\n"); - sb.append(" corporateClientCode: ").append(toIndentedString(corporateClientCode)).append("\n"); - sb.append(" additionalDiscountAmount: ").append(toIndentedString(additionalDiscountAmount)).append("\n"); - sb.append(" roomLocation: ").append(toIndentedString(roomLocation)).append("\n"); - sb.append(" specialProgramCode: ").append(toIndentedString(specialProgramCode)).append("\n"); - sb.append(" totalTaxAmount: ").append(toIndentedString(totalTaxAmount)).append("\n"); - sb.append(" prepaidCost: ").append(toIndentedString(prepaidCost)).append("\n"); - sb.append(" foodAndBeverageCost: ").append(toIndentedString(foodAndBeverageCost)).append("\n"); - sb.append(" roomTaxAmount: ").append(toIndentedString(roomTaxAmount)).append("\n"); - sb.append(" adjustmentAmount: ").append(toIndentedString(adjustmentAmount)).append("\n"); - sb.append(" phoneCost: ").append(toIndentedString(phoneCost)).append("\n"); - sb.append(" restaurantCost: ").append(toIndentedString(restaurantCost)).append("\n"); - sb.append(" roomServiceCost: ").append(toIndentedString(roomServiceCost)).append("\n"); - sb.append(" miniBarCost: ").append(toIndentedString(miniBarCost)).append("\n"); - sb.append(" laundryCost: ").append(toIndentedString(laundryCost)).append("\n"); - sb.append(" miscellaneousCost: ").append(toIndentedString(miscellaneousCost)).append("\n"); - sb.append(" giftShopCost: ").append(toIndentedString(giftShopCost)).append("\n"); - sb.append(" movieCost: ").append(toIndentedString(movieCost)).append("\n"); - sb.append(" healthClubCost: ").append(toIndentedString(healthClubCost)).append("\n"); - sb.append(" valetParkingCost: ").append(toIndentedString(valetParkingCost)).append("\n"); - sb.append(" cashDisbursementCost: ").append(toIndentedString(cashDisbursementCost)).append("\n"); - sb.append(" nonRoomCost: ").append(toIndentedString(nonRoomCost)).append("\n"); - sb.append(" businessCenterCost: ").append(toIndentedString(businessCenterCost)).append("\n"); - sb.append(" loungeBarCost: ").append(toIndentedString(loungeBarCost)).append("\n"); - sb.append(" transportationCost: ").append(toIndentedString(transportationCost)).append("\n"); - sb.append(" gratuityAmount: ").append(toIndentedString(gratuityAmount)).append("\n"); - sb.append(" conferenceRoomCost: ").append(toIndentedString(conferenceRoomCost)).append("\n"); - sb.append(" audioVisualCost: ").append(toIndentedString(audioVisualCost)).append("\n"); - sb.append(" banquestCost: ").append(toIndentedString(banquestCost)).append("\n"); - sb.append(" nonRoomTaxAmount: ").append(toIndentedString(nonRoomTaxAmount)).append("\n"); - sb.append(" earlyCheckOutCost: ").append(toIndentedString(earlyCheckOutCost)).append("\n"); - sb.append(" internetAccessCost: ").append(toIndentedString(internetAccessCost)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" hotelName: ").append(toIndentedString(hotelName)).append("\n"); - sb.append(" checkInDateTime: ").append(toIndentedString(checkInDateTime)).append("\n"); - sb.append(" checkOutDateTime: ").append(toIndentedString(checkOutDateTime)).append("\n"); + if (checkInDate != null) sb.append(" checkInDate: ").append(toIndentedString(checkInDate)).append("\n"); + if (checkOutDate != null) sb.append(" checkOutDate: ").append(toIndentedString(checkOutDate)).append("\n"); + if (room != null) sb.append(" room: ").append(toIndentedString(room)).append("\n"); + if (smokingPreference != null) sb.append(" smokingPreference: ").append(toIndentedString(smokingPreference)).append("\n"); + if (numberOfRooms != null) sb.append(" numberOfRooms: ").append(toIndentedString(numberOfRooms)).append("\n"); + if (numberOfGuests != null) sb.append(" numberOfGuests: ").append(toIndentedString(numberOfGuests)).append("\n"); + if (roomBedType != null) sb.append(" roomBedType: ").append(toIndentedString(roomBedType)).append("\n"); + if (roomTaxType != null) sb.append(" roomTaxType: ").append(toIndentedString(roomTaxType)).append("\n"); + if (roomRateType != null) sb.append(" roomRateType: ").append(toIndentedString(roomRateType)).append("\n"); + if (guestName != null) sb.append(" guestName: ").append(toIndentedString(guestName)).append("\n"); + if (customerServicePhoneNumber != null) sb.append(" customerServicePhoneNumber: ").append(toIndentedString(customerServicePhoneNumber)).append("\n"); + if (corporateClientCode != null) sb.append(" corporateClientCode: ").append(toIndentedString(corporateClientCode)).append("\n"); + if (additionalDiscountAmount != null) sb.append(" additionalDiscountAmount: ").append(toIndentedString(additionalDiscountAmount)).append("\n"); + if (roomLocation != null) sb.append(" roomLocation: ").append(toIndentedString(roomLocation)).append("\n"); + if (specialProgramCode != null) sb.append(" specialProgramCode: ").append(toIndentedString(specialProgramCode)).append("\n"); + if (totalTaxAmount != null) sb.append(" totalTaxAmount: ").append(toIndentedString(totalTaxAmount)).append("\n"); + if (prepaidCost != null) sb.append(" prepaidCost: ").append(toIndentedString(prepaidCost)).append("\n"); + if (foodAndBeverageCost != null) sb.append(" foodAndBeverageCost: ").append(toIndentedString(foodAndBeverageCost)).append("\n"); + if (roomTaxAmount != null) sb.append(" roomTaxAmount: ").append(toIndentedString(roomTaxAmount)).append("\n"); + if (adjustmentAmount != null) sb.append(" adjustmentAmount: ").append(toIndentedString(adjustmentAmount)).append("\n"); + if (phoneCost != null) sb.append(" phoneCost: ").append(toIndentedString(phoneCost)).append("\n"); + if (restaurantCost != null) sb.append(" restaurantCost: ").append(toIndentedString(restaurantCost)).append("\n"); + if (roomServiceCost != null) sb.append(" roomServiceCost: ").append(toIndentedString(roomServiceCost)).append("\n"); + if (miniBarCost != null) sb.append(" miniBarCost: ").append(toIndentedString(miniBarCost)).append("\n"); + if (laundryCost != null) sb.append(" laundryCost: ").append(toIndentedString(laundryCost)).append("\n"); + if (miscellaneousCost != null) sb.append(" miscellaneousCost: ").append(toIndentedString(miscellaneousCost)).append("\n"); + if (giftShopCost != null) sb.append(" giftShopCost: ").append(toIndentedString(giftShopCost)).append("\n"); + if (movieCost != null) sb.append(" movieCost: ").append(toIndentedString(movieCost)).append("\n"); + if (healthClubCost != null) sb.append(" healthClubCost: ").append(toIndentedString(healthClubCost)).append("\n"); + if (valetParkingCost != null) sb.append(" valetParkingCost: ").append(toIndentedString(valetParkingCost)).append("\n"); + if (cashDisbursementCost != null) sb.append(" cashDisbursementCost: ").append(toIndentedString(cashDisbursementCost)).append("\n"); + if (nonRoomCost != null) sb.append(" nonRoomCost: ").append(toIndentedString(nonRoomCost)).append("\n"); + if (businessCenterCost != null) sb.append(" businessCenterCost: ").append(toIndentedString(businessCenterCost)).append("\n"); + if (loungeBarCost != null) sb.append(" loungeBarCost: ").append(toIndentedString(loungeBarCost)).append("\n"); + if (transportationCost != null) sb.append(" transportationCost: ").append(toIndentedString(transportationCost)).append("\n"); + if (gratuityAmount != null) sb.append(" gratuityAmount: ").append(toIndentedString(gratuityAmount)).append("\n"); + if (conferenceRoomCost != null) sb.append(" conferenceRoomCost: ").append(toIndentedString(conferenceRoomCost)).append("\n"); + if (audioVisualCost != null) sb.append(" audioVisualCost: ").append(toIndentedString(audioVisualCost)).append("\n"); + if (banquestCost != null) sb.append(" banquestCost: ").append(toIndentedString(banquestCost)).append("\n"); + if (nonRoomTaxAmount != null) sb.append(" nonRoomTaxAmount: ").append(toIndentedString(nonRoomTaxAmount)).append("\n"); + if (earlyCheckOutCost != null) sb.append(" earlyCheckOutCost: ").append(toIndentedString(earlyCheckOutCost)).append("\n"); + if (internetAccessCost != null) sb.append(" internetAccessCost: ").append(toIndentedString(internetAccessCost)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (hotelName != null) sb.append(" hotelName: ").append(toIndentedString(hotelName)).append("\n"); + if (checkInDateTime != null) sb.append(" checkInDateTime: ").append(toIndentedString(checkInDateTime)).append("\n"); + if (checkOutDateTime != null) sb.append(" checkOutDateTime: ").append(toIndentedString(checkOutDateTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1135,10 +1135,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationLodgingRoom.java b/src/main/java/Model/Ptsv2paymentsTravelInformationLodgingRoom.java index 54cd0fa57..97b4b2619 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationLodgingRoom.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationLodgingRoom.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationLodgingRoom {\n"); - sb.append(" dailyRate: ").append(toIndentedString(dailyRate)).append("\n"); - sb.append(" numberOfNights: ").append(toIndentedString(numberOfNights)).append("\n"); + if (dailyRate != null) sb.append(" dailyRate: ").append(toIndentedString(dailyRate)).append("\n"); + if (numberOfNights != null) sb.append(" numberOfNights: ").append(toIndentedString(numberOfNights)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransit.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransit.java index 92ea3ceb2..b1b64b5c8 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransit.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransit.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationTransit {\n"); - sb.append(" airline: ").append(toIndentedString(airline)).append("\n"); + if (airline != null) sb.append(" airline: ").append(toIndentedString(airline)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java index ea646f28a..1088f0839 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java @@ -629,7 +629,7 @@ public Ptsv2paymentsTravelInformationTransitAirline electronicTicketIndicator(Bo * @return electronicTicketIndicator **/ @ApiModelProperty(value = "Flag that indicates whether an electronic ticket was issued. Possible values: - `true` - `false` Optional request field. ") - public Boolean isElectronicTicketIndicator() { + public Boolean ElectronicTicketIndicator() { return electronicTicketIndicator; } @@ -1055,51 +1055,51 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationTransitAirline {\n"); - sb.append(" isDomestic: ").append(toIndentedString(isDomestic)).append("\n"); - sb.append(" bookingReferenceNumber: ").append(toIndentedString(bookingReferenceNumber)).append("\n"); - sb.append(" carrierName: ").append(toIndentedString(carrierName)).append("\n"); - sb.append(" ticketIssuer: ").append(toIndentedString(ticketIssuer)).append("\n"); - sb.append(" ticketNumber: ").append(toIndentedString(ticketNumber)).append("\n"); - sb.append(" checkDigit: ").append(toIndentedString(checkDigit)).append("\n"); - sb.append(" restrictedTicketIndicator: ").append(toIndentedString(restrictedTicketIndicator)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" extendedPaymentCode: ").append(toIndentedString(extendedPaymentCode)).append("\n"); - sb.append(" passengerName: ").append(toIndentedString(passengerName)).append("\n"); - sb.append(" customerCode: ").append(toIndentedString(customerCode)).append("\n"); - sb.append(" documentType: ").append(toIndentedString(documentType)).append("\n"); - sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).append("\n"); - sb.append(" documentNumberOfParts: ").append(toIndentedString(documentNumberOfParts)).append("\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); - sb.append(" additionalCharges: ").append(toIndentedString(additionalCharges)).append("\n"); - sb.append(" totalFeeAmount: ").append(toIndentedString(totalFeeAmount)).append("\n"); - sb.append(" clearingSequence: ").append(toIndentedString(clearingSequence)).append("\n"); - sb.append(" clearingCount: ").append(toIndentedString(clearingCount)).append("\n"); - sb.append(" totalClearingAmount: ").append(toIndentedString(totalClearingAmount)).append("\n"); - sb.append(" numberOfPassengers: ").append(toIndentedString(numberOfPassengers)).append("\n"); - sb.append(" reservationSystemCode: ").append(toIndentedString(reservationSystemCode)).append("\n"); - sb.append(" processIdentifier: ").append(toIndentedString(processIdentifier)).append("\n"); - sb.append(" ticketIssueDate: ").append(toIndentedString(ticketIssueDate)).append("\n"); - sb.append(" electronicTicketIndicator: ").append(toIndentedString(electronicTicketIndicator)).append("\n"); - sb.append(" originalTicketNumber: ").append(toIndentedString(originalTicketNumber)).append("\n"); - sb.append(" purchaseType: ").append(toIndentedString(purchaseType)).append("\n"); - sb.append(" creditReasonIndicator: ").append(toIndentedString(creditReasonIndicator)).append("\n"); - sb.append(" ticketChangeIndicator: ").append(toIndentedString(ticketChangeIndicator)).append("\n"); - sb.append(" planNumber: ").append(toIndentedString(planNumber)).append("\n"); - sb.append(" arrivalDate: ").append(toIndentedString(arrivalDate)).append("\n"); - sb.append(" restrictedTicketDesciption: ").append(toIndentedString(restrictedTicketDesciption)).append("\n"); - sb.append(" exchangeTicketAmount: ").append(toIndentedString(exchangeTicketAmount)).append("\n"); - sb.append(" exchangeTicketFeeAmount: ").append(toIndentedString(exchangeTicketFeeAmount)).append("\n"); - sb.append(" reservationType: ").append(toIndentedString(reservationType)).append("\n"); - sb.append(" boardingFeeAmount: ").append(toIndentedString(boardingFeeAmount)).append("\n"); - sb.append(" legs: ").append(toIndentedString(legs)).append("\n"); - sb.append(" ancillaryInformation: ").append(toIndentedString(ancillaryInformation)).append("\n"); - sb.append(" flightType: ").append(toIndentedString(flightType)).append("\n"); - sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); - sb.append(" frequentFlyerNumber: ").append(toIndentedString(frequentFlyerNumber)).append("\n"); - sb.append(" thirdPartyStatus: ").append(toIndentedString(thirdPartyStatus)).append("\n"); - sb.append(" passengerType: ").append(toIndentedString(passengerType)).append("\n"); - sb.append(" totalInsuranceAmount: ").append(toIndentedString(totalInsuranceAmount)).append("\n"); + if (isDomestic != null) sb.append(" isDomestic: ").append(toIndentedString(isDomestic)).append("\n"); + if (bookingReferenceNumber != null) sb.append(" bookingReferenceNumber: ").append(toIndentedString(bookingReferenceNumber)).append("\n"); + if (carrierName != null) sb.append(" carrierName: ").append(toIndentedString(carrierName)).append("\n"); + if (ticketIssuer != null) sb.append(" ticketIssuer: ").append(toIndentedString(ticketIssuer)).append("\n"); + if (ticketNumber != null) sb.append(" ticketNumber: ").append(toIndentedString(ticketNumber)).append("\n"); + if (checkDigit != null) sb.append(" checkDigit: ").append(toIndentedString(checkDigit)).append("\n"); + if (restrictedTicketIndicator != null) sb.append(" restrictedTicketIndicator: ").append(toIndentedString(restrictedTicketIndicator)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (extendedPaymentCode != null) sb.append(" extendedPaymentCode: ").append(toIndentedString(extendedPaymentCode)).append("\n"); + if (passengerName != null) sb.append(" passengerName: ").append(toIndentedString(passengerName)).append("\n"); + if (customerCode != null) sb.append(" customerCode: ").append(toIndentedString(customerCode)).append("\n"); + if (documentType != null) sb.append(" documentType: ").append(toIndentedString(documentType)).append("\n"); + if (documentNumber != null) sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).append("\n"); + if (documentNumberOfParts != null) sb.append(" documentNumberOfParts: ").append(toIndentedString(documentNumberOfParts)).append("\n"); + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (invoiceDate != null) sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); + if (additionalCharges != null) sb.append(" additionalCharges: ").append(toIndentedString(additionalCharges)).append("\n"); + if (totalFeeAmount != null) sb.append(" totalFeeAmount: ").append(toIndentedString(totalFeeAmount)).append("\n"); + if (clearingSequence != null) sb.append(" clearingSequence: ").append(toIndentedString(clearingSequence)).append("\n"); + if (clearingCount != null) sb.append(" clearingCount: ").append(toIndentedString(clearingCount)).append("\n"); + if (totalClearingAmount != null) sb.append(" totalClearingAmount: ").append(toIndentedString(totalClearingAmount)).append("\n"); + if (numberOfPassengers != null) sb.append(" numberOfPassengers: ").append(toIndentedString(numberOfPassengers)).append("\n"); + if (reservationSystemCode != null) sb.append(" reservationSystemCode: ").append(toIndentedString(reservationSystemCode)).append("\n"); + if (processIdentifier != null) sb.append(" processIdentifier: ").append(toIndentedString(processIdentifier)).append("\n"); + if (ticketIssueDate != null) sb.append(" ticketIssueDate: ").append(toIndentedString(ticketIssueDate)).append("\n"); + if (electronicTicketIndicator != null) sb.append(" electronicTicketIndicator: ").append(toIndentedString(electronicTicketIndicator)).append("\n"); + if (originalTicketNumber != null) sb.append(" originalTicketNumber: ").append(toIndentedString(originalTicketNumber)).append("\n"); + if (purchaseType != null) sb.append(" purchaseType: ").append(toIndentedString(purchaseType)).append("\n"); + if (creditReasonIndicator != null) sb.append(" creditReasonIndicator: ").append(toIndentedString(creditReasonIndicator)).append("\n"); + if (ticketChangeIndicator != null) sb.append(" ticketChangeIndicator: ").append(toIndentedString(ticketChangeIndicator)).append("\n"); + if (planNumber != null) sb.append(" planNumber: ").append(toIndentedString(planNumber)).append("\n"); + if (arrivalDate != null) sb.append(" arrivalDate: ").append(toIndentedString(arrivalDate)).append("\n"); + if (restrictedTicketDesciption != null) sb.append(" restrictedTicketDesciption: ").append(toIndentedString(restrictedTicketDesciption)).append("\n"); + if (exchangeTicketAmount != null) sb.append(" exchangeTicketAmount: ").append(toIndentedString(exchangeTicketAmount)).append("\n"); + if (exchangeTicketFeeAmount != null) sb.append(" exchangeTicketFeeAmount: ").append(toIndentedString(exchangeTicketFeeAmount)).append("\n"); + if (reservationType != null) sb.append(" reservationType: ").append(toIndentedString(reservationType)).append("\n"); + if (boardingFeeAmount != null) sb.append(" boardingFeeAmount: ").append(toIndentedString(boardingFeeAmount)).append("\n"); + if (legs != null) sb.append(" legs: ").append(toIndentedString(legs)).append("\n"); + if (ancillaryInformation != null) sb.append(" ancillaryInformation: ").append(toIndentedString(ancillaryInformation)).append("\n"); + if (flightType != null) sb.append(" flightType: ").append(toIndentedString(flightType)).append("\n"); + if (insuranceAmount != null) sb.append(" insuranceAmount: ").append(toIndentedString(insuranceAmount)).append("\n"); + if (frequentFlyerNumber != null) sb.append(" frequentFlyerNumber: ").append(toIndentedString(frequentFlyerNumber)).append("\n"); + if (thirdPartyStatus != null) sb.append(" thirdPartyStatus: ").append(toIndentedString(thirdPartyStatus)).append("\n"); + if (passengerType != null) sb.append(" passengerType: ").append(toIndentedString(passengerType)).append("\n"); + if (totalInsuranceAmount != null) sb.append(" totalInsuranceAmount: ").append(toIndentedString(totalInsuranceAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1110,10 +1110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation.java index bee420425..8c9a0004b 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation {\n"); - sb.append(" ticketNumber: ").append(toIndentedString(ticketNumber)).append("\n"); - sb.append(" passengerName: ").append(toIndentedString(passengerName)).append("\n"); - sb.append(" connectedTicketNumber: ").append(toIndentedString(connectedTicketNumber)).append("\n"); - sb.append(" creditReasonIndicator: ").append(toIndentedString(creditReasonIndicator)).append("\n"); - sb.append(" service: ").append(toIndentedString(service)).append("\n"); + if (ticketNumber != null) sb.append(" ticketNumber: ").append(toIndentedString(ticketNumber)).append("\n"); + if (passengerName != null) sb.append(" passengerName: ").append(toIndentedString(passengerName)).append("\n"); + if (connectedTicketNumber != null) sb.append(" connectedTicketNumber: ").append(toIndentedString(connectedTicketNumber)).append("\n"); + if (creditReasonIndicator != null) sb.append(" creditReasonIndicator: ").append(toIndentedString(creditReasonIndicator)).append("\n"); + if (service != null) sb.append(" service: ").append(toIndentedString(service)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService.java index 8aab5343d..57eef640d 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService {\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" subCategoryCode: ").append(toIndentedString(subCategoryCode)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (subCategoryCode != null) sb.append(" subCategoryCode: ").append(toIndentedString(subCategoryCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java index ce2a74515..6dfcda8bb 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java @@ -492,26 +492,26 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationTransitAirlineLegs {\n"); - sb.append(" carrierCode: ").append(toIndentedString(carrierCode)).append("\n"); - sb.append(" flightNumber: ").append(toIndentedString(flightNumber)).append("\n"); - sb.append(" originatingAirportCode: ").append(toIndentedString(originatingAirportCode)).append("\n"); - sb.append(" propertyClass: ").append(toIndentedString(propertyClass)).append("\n"); - sb.append(" stopoverIndicator: ").append(toIndentedString(stopoverIndicator)).append("\n"); - sb.append(" departureDate: ").append(toIndentedString(departureDate)).append("\n"); - sb.append(" destinationAirportCode: ").append(toIndentedString(destinationAirportCode)).append("\n"); - sb.append(" fareBasis: ").append(toIndentedString(fareBasis)).append("\n"); - sb.append(" departTaxAmount: ").append(toIndentedString(departTaxAmount)).append("\n"); - sb.append(" conjunctionTicket: ").append(toIndentedString(conjunctionTicket)).append("\n"); - sb.append(" exchangeTicketNumber: ").append(toIndentedString(exchangeTicketNumber)).append("\n"); - sb.append(" couponNumber: ").append(toIndentedString(couponNumber)).append("\n"); - sb.append(" departureTime: ").append(toIndentedString(departureTime)).append("\n"); - sb.append(" departureTimeMeridian: ").append(toIndentedString(departureTimeMeridian)).append("\n"); - sb.append(" arrivalTime: ").append(toIndentedString(arrivalTime)).append("\n"); - sb.append(" arrivalTimeMeridian: ").append(toIndentedString(arrivalTimeMeridian)).append("\n"); - sb.append(" endorsementsRestrictions: ").append(toIndentedString(endorsementsRestrictions)).append("\n"); - sb.append(" totalFareAmount: ").append(toIndentedString(totalFareAmount)).append("\n"); - sb.append(" feeAmount: ").append(toIndentedString(feeAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (carrierCode != null) sb.append(" carrierCode: ").append(toIndentedString(carrierCode)).append("\n"); + if (flightNumber != null) sb.append(" flightNumber: ").append(toIndentedString(flightNumber)).append("\n"); + if (originatingAirportCode != null) sb.append(" originatingAirportCode: ").append(toIndentedString(originatingAirportCode)).append("\n"); + if (propertyClass != null) sb.append(" propertyClass: ").append(toIndentedString(propertyClass)).append("\n"); + if (stopoverIndicator != null) sb.append(" stopoverIndicator: ").append(toIndentedString(stopoverIndicator)).append("\n"); + if (departureDate != null) sb.append(" departureDate: ").append(toIndentedString(departureDate)).append("\n"); + if (destinationAirportCode != null) sb.append(" destinationAirportCode: ").append(toIndentedString(destinationAirportCode)).append("\n"); + if (fareBasis != null) sb.append(" fareBasis: ").append(toIndentedString(fareBasis)).append("\n"); + if (departTaxAmount != null) sb.append(" departTaxAmount: ").append(toIndentedString(departTaxAmount)).append("\n"); + if (conjunctionTicket != null) sb.append(" conjunctionTicket: ").append(toIndentedString(conjunctionTicket)).append("\n"); + if (exchangeTicketNumber != null) sb.append(" exchangeTicketNumber: ").append(toIndentedString(exchangeTicketNumber)).append("\n"); + if (couponNumber != null) sb.append(" couponNumber: ").append(toIndentedString(couponNumber)).append("\n"); + if (departureTime != null) sb.append(" departureTime: ").append(toIndentedString(departureTime)).append("\n"); + if (departureTimeMeridian != null) sb.append(" departureTimeMeridian: ").append(toIndentedString(departureTimeMeridian)).append("\n"); + if (arrivalTime != null) sb.append(" arrivalTime: ").append(toIndentedString(arrivalTime)).append("\n"); + if (arrivalTimeMeridian != null) sb.append(" arrivalTimeMeridian: ").append(toIndentedString(arrivalTimeMeridian)).append("\n"); + if (endorsementsRestrictions != null) sb.append(" endorsementsRestrictions: ").append(toIndentedString(endorsementsRestrictions)).append("\n"); + if (totalFareAmount != null) sb.append(" totalFareAmount: ").append(toIndentedString(totalFareAmount)).append("\n"); + if (feeAmount != null) sb.append(" feeAmount: ").append(toIndentedString(feeAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -522,10 +522,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer.java index 4f247c9ab..a3e2f17ab 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationVehicleData.java b/src/main/java/Model/Ptsv2paymentsTravelInformationVehicleData.java index dd444fc5a..a4d0d1e47 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationVehicleData.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationVehicleData.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsTravelInformationVehicleData {\n"); - sb.append(" connectorType: ").append(toIndentedString(connectorType)).append("\n"); - sb.append(" chargingReasonCode: ").append(toIndentedString(chargingReasonCode)).append("\n"); + if (connectorType != null) sb.append(" connectorType: ").append(toIndentedString(connectorType)).append("\n"); + if (chargingReasonCode != null) sb.append(" chargingReasonCode: ").append(toIndentedString(chargingReasonCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformation.java b/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformation.java index 0394fb54b..8dcf167c3 100644 --- a/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformation.java +++ b/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformation.java @@ -116,7 +116,7 @@ public Ptsv2paymentsWatchlistScreeningInformation proceedOnMatch(Boolean proceed * @return proceedOnMatch **/ @ApiModelProperty(value = "Indicates whether the transaction should proceed if there is a match. Possible values: - `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response. - `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.) ") - public Boolean isProceedOnMatch() { + public Boolean ProceedOnMatch() { return proceedOnMatch; } @@ -151,10 +151,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsWatchlistScreeningInformation {\n"); - sb.append(" addressOperator: ").append(toIndentedString(addressOperator)).append("\n"); - sb.append(" weights: ").append(toIndentedString(weights)).append("\n"); - sb.append(" sanctionLists: ").append(toIndentedString(sanctionLists)).append("\n"); - sb.append(" proceedOnMatch: ").append(toIndentedString(proceedOnMatch)).append("\n"); + if (addressOperator != null) sb.append(" addressOperator: ").append(toIndentedString(addressOperator)).append("\n"); + if (weights != null) sb.append(" weights: ").append(toIndentedString(weights)).append("\n"); + if (sanctionLists != null) sb.append(" sanctionLists: ").append(toIndentedString(sanctionLists)).append("\n"); + if (proceedOnMatch != null) sb.append(" proceedOnMatch: ").append(toIndentedString(proceedOnMatch)).append("\n"); sb.append("}"); return sb.toString(); } @@ -165,10 +165,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformationWeights.java b/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformationWeights.java index 18763eb52..80c5e5e4b 100644 --- a/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformationWeights.java +++ b/src/main/java/Model/Ptsv2paymentsWatchlistScreeningInformationWeights.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsWatchlistScreeningInformationWeights {\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java b/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java index f760e85d3..e02bc582e 100644 --- a/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidClientReferenceInformationPartner.java b/src/main/java/Model/Ptsv2paymentsidClientReferenceInformationPartner.java index 54975d632..525722cef 100644 --- a/src/main/java/Model/Ptsv2paymentsidClientReferenceInformationPartner.java +++ b/src/main/java/Model/Ptsv2paymentsidClientReferenceInformationPartner.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidClientReferenceInformationPartner {\n"); - sb.append(" originalTransactionId: ").append(toIndentedString(originalTransactionId)).append("\n"); - sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (originalTransactionId != null) sb.append(" originalTransactionId: ").append(toIndentedString(originalTransactionId)).append("\n"); + if (developerId != null) sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidMerchantInformation.java b/src/main/java/Model/Ptsv2paymentsidMerchantInformation.java index b72aaf032..d7ae75e52 100644 --- a/src/main/java/Model/Ptsv2paymentsidMerchantInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidMerchantInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidMerchantInformation {\n"); - sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); + if (transactionLocalDateTime != null) sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidOrderInformation.java b/src/main/java/Model/Ptsv2paymentsidOrderInformation.java index 0babca5fe..b407267df 100644 --- a/src/main/java/Model/Ptsv2paymentsidOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsidOrderInformationAmountDetails.java index 2b186bc7c..775476804 100644 --- a/src/main/java/Model/Ptsv2paymentsidOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsidOrderInformationAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidOrderInformationAmountDetails {\n"); - sb.append(" additionalAmount: ").append(toIndentedString(additionalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (additionalAmount != null) sb.append(" additionalAmount: ").append(toIndentedString(additionalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java index 3771fbcc3..97c60f048 100644 --- a/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidProcessingInformation {\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptions.java index 6e0e16087..3bba84f30 100644 --- a/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptions.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidProcessingInformationAuthorizationOptions {\n"); - sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); + if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.java index 99351a726..8704ded52 100644 --- a/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.java @@ -42,7 +42,7 @@ public Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator storedC * @return storedCredentialUsed **/ @ApiModelProperty(value = "Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file. ") - public Boolean isStoredCredentialUsed() { + public Boolean StoredCredentialUsed() { return storedCredentialUsed; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator {\n"); - sb.append(" storedCredentialUsed: ").append(toIndentedString(storedCredentialUsed)).append("\n"); + if (storedCredentialUsed != null) sb.append(" storedCredentialUsed: ").append(toIndentedString(storedCredentialUsed)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidTravelInformation.java b/src/main/java/Model/Ptsv2paymentsidTravelInformation.java index e625d0ec1..06a398b3e 100644 --- a/src/main/java/Model/Ptsv2paymentsidTravelInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidTravelInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidTravelInformation {\n"); - sb.append(" duration: ").append(toIndentedString(duration)).append("\n"); + if (duration != null) sb.append(" duration: ").append(toIndentedString(duration)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformation.java index eebf04420..299a0c8c0 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesAggregatorInformation {\n"); - sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); + if (aggregatorId != null) sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformationSubMerchant.java b/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformationSubMerchant.java index a5cd99cd5..cc66f4051 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformationSubMerchant.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesAggregatorInformationSubMerchant.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesAggregatorInformationSubMerchant {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformation.java index 932a062ca..ab476fc12 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformation.java @@ -195,12 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (gender != null) sb.append(" gender: ").append(toIndentedString(gender)).append("\n"); + if (language != null) sb.append(" language: ").append(toIndentedString(language)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -211,10 +211,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification.java b/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification.java index 3bf66ae37..1a5051039 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesDeviceInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesDeviceInformation.java index 9d3b7734f..4009f8d5c 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesDeviceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesDeviceInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesDeviceInformation {\n"); - sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + if (hostName != null) sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (userAgent != null) sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java index c6802ec75..df9e89613 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java @@ -604,31 +604,31 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesInstallmentInformation {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); - sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); - sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); - sb.append(" firstInstallmentAmount: ").append(toIndentedString(firstInstallmentAmount)).append("\n"); - sb.append(" invoiceData: ").append(toIndentedString(invoiceData)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" additionalCosts: ").append(toIndentedString(additionalCosts)).append("\n"); - sb.append(" additionalCostsPercentage: ").append(toIndentedString(additionalCostsPercentage)).append("\n"); - sb.append(" amountFunded: ").append(toIndentedString(amountFunded)).append("\n"); - sb.append(" amountRequestedPercentage: ").append(toIndentedString(amountRequestedPercentage)).append("\n"); - sb.append(" annualFinancingCost: ").append(toIndentedString(annualFinancingCost)).append("\n"); - sb.append(" annualInterestRate: ").append(toIndentedString(annualInterestRate)).append("\n"); - sb.append(" expenses: ").append(toIndentedString(expenses)).append("\n"); - sb.append(" expensesPercentage: ").append(toIndentedString(expensesPercentage)).append("\n"); - sb.append(" fees: ").append(toIndentedString(fees)).append("\n"); - sb.append(" feesPercentage: ").append(toIndentedString(feesPercentage)).append("\n"); - sb.append(" insurance: ").append(toIndentedString(insurance)).append("\n"); - sb.append(" insurancePercentage: ").append(toIndentedString(insurancePercentage)).append("\n"); - sb.append(" monthlyInterestRate: ").append(toIndentedString(monthlyInterestRate)).append("\n"); - sb.append(" taxes: ").append(toIndentedString(taxes)).append("\n"); - sb.append(" taxesPercentage: ").append(toIndentedString(taxesPercentage)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (frequency != null) sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); + if (planType != null) sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); + if (sequence != null) sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (firstInstallmentDate != null) sb.append(" firstInstallmentDate: ").append(toIndentedString(firstInstallmentDate)).append("\n"); + if (firstInstallmentAmount != null) sb.append(" firstInstallmentAmount: ").append(toIndentedString(firstInstallmentAmount)).append("\n"); + if (invoiceData != null) sb.append(" invoiceData: ").append(toIndentedString(invoiceData)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (additionalCosts != null) sb.append(" additionalCosts: ").append(toIndentedString(additionalCosts)).append("\n"); + if (additionalCostsPercentage != null) sb.append(" additionalCostsPercentage: ").append(toIndentedString(additionalCostsPercentage)).append("\n"); + if (amountFunded != null) sb.append(" amountFunded: ").append(toIndentedString(amountFunded)).append("\n"); + if (amountRequestedPercentage != null) sb.append(" amountRequestedPercentage: ").append(toIndentedString(amountRequestedPercentage)).append("\n"); + if (annualFinancingCost != null) sb.append(" annualFinancingCost: ").append(toIndentedString(annualFinancingCost)).append("\n"); + if (annualInterestRate != null) sb.append(" annualInterestRate: ").append(toIndentedString(annualInterestRate)).append("\n"); + if (expenses != null) sb.append(" expenses: ").append(toIndentedString(expenses)).append("\n"); + if (expensesPercentage != null) sb.append(" expensesPercentage: ").append(toIndentedString(expensesPercentage)).append("\n"); + if (fees != null) sb.append(" fees: ").append(toIndentedString(fees)).append("\n"); + if (feesPercentage != null) sb.append(" feesPercentage: ").append(toIndentedString(feesPercentage)).append("\n"); + if (insurance != null) sb.append(" insurance: ").append(toIndentedString(insurance)).append("\n"); + if (insurancePercentage != null) sb.append(" insurancePercentage: ").append(toIndentedString(insurancePercentage)).append("\n"); + if (monthlyInterestRate != null) sb.append(" monthlyInterestRate: ").append(toIndentedString(monthlyInterestRate)).append("\n"); + if (taxes != null) sb.append(" taxes: ").append(toIndentedString(taxes)).append("\n"); + if (taxesPercentage != null) sb.append(" taxesPercentage: ").append(toIndentedString(taxesPercentage)).append("\n"); sb.append("}"); return sb.toString(); } @@ -639,10 +639,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesMerchantInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesMerchantInformation.java index dccda047f..e6dc82afd 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesMerchantInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesMerchantInformation.java @@ -187,12 +187,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" serviceFeeDescriptor: ").append(toIndentedString(serviceFeeDescriptor)).append("\n"); - sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (cardAcceptorReferenceNumber != null) sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (serviceFeeDescriptor != null) sb.append(" serviceFeeDescriptor: ").append(toIndentedString(serviceFeeDescriptor)).append("\n"); + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -203,10 +203,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformation.java index 64d8e2042..b1bc3abcf 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformation.java @@ -200,12 +200,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -216,10 +216,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationAmountDetails.java index a344e6930..c6d56add0 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationAmountDetails.java @@ -512,26 +512,26 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); - sb.append(" gratuityAmount: ").append(toIndentedString(gratuityAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" nationalTaxIncluded: ").append(toIndentedString(nationalTaxIncluded)).append("\n"); - sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); - sb.append(" taxAppliedLevel: ").append(toIndentedString(taxAppliedLevel)).append("\n"); - sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); - sb.append(" freightAmount: ").append(toIndentedString(freightAmount)).append("\n"); - sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); - sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); - sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); - sb.append(" exchangeRateTimeStamp: ").append(toIndentedString(exchangeRateTimeStamp)).append("\n"); - sb.append(" amexAdditionalAmounts: ").append(toIndentedString(amexAdditionalAmounts)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); - sb.append(" originalCurrency: ").append(toIndentedString(originalCurrency)).append("\n"); - sb.append(" cashbackAmount: ").append(toIndentedString(cashbackAmount)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (dutyAmount != null) sb.append(" dutyAmount: ").append(toIndentedString(dutyAmount)).append("\n"); + if (gratuityAmount != null) sb.append(" gratuityAmount: ").append(toIndentedString(gratuityAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (nationalTaxIncluded != null) sb.append(" nationalTaxIncluded: ").append(toIndentedString(nationalTaxIncluded)).append("\n"); + if (taxAppliedAfterDiscount != null) sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); + if (taxAppliedLevel != null) sb.append(" taxAppliedLevel: ").append(toIndentedString(taxAppliedLevel)).append("\n"); + if (taxTypeCode != null) sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); + if (freightAmount != null) sb.append(" freightAmount: ").append(toIndentedString(freightAmount)).append("\n"); + if (foreignAmount != null) sb.append(" foreignAmount: ").append(toIndentedString(foreignAmount)).append("\n"); + if (foreignCurrency != null) sb.append(" foreignCurrency: ").append(toIndentedString(foreignCurrency)).append("\n"); + if (exchangeRate != null) sb.append(" exchangeRate: ").append(toIndentedString(exchangeRate)).append("\n"); + if (exchangeRateTimeStamp != null) sb.append(" exchangeRateTimeStamp: ").append(toIndentedString(exchangeRateTimeStamp)).append("\n"); + if (amexAdditionalAmounts != null) sb.append(" amexAdditionalAmounts: ").append(toIndentedString(amexAdditionalAmounts)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (serviceFeeAmount != null) sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); + if (originalCurrency != null) sb.append(" originalCurrency: ").append(toIndentedString(originalCurrency)).append("\n"); + if (cashbackAmount != null) sb.append(" cashbackAmount: ").append(toIndentedString(cashbackAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -542,10 +542,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationBillTo.java b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationBillTo.java index bc2c40b04..cde5f25f0 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationBillTo.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationBillTo.java @@ -383,21 +383,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesOrderInformationBillTo {\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -408,10 +408,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationInvoiceDetails.java b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationInvoiceDetails.java index 6da6e1dc9..0f12bea44 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationInvoiceDetails.java @@ -117,7 +117,7 @@ public Ptsv2paymentsidcapturesOrderInformationInvoiceDetails taxable(Boolean tax * @return taxable **/ @ApiModelProperty(value = "Flag that indicates whether an order is taxable. This value must be true if the sum of all _lineItems[].taxAmount_ values > 0. If you do not include any `lineItems[].taxAmount` values in your request, CyberSource does not include `invoiceDetails.taxable` in the data it sends to the processor. Possible values: - **true** - **false** ") - public Boolean isTaxable() { + public Boolean Taxable() { return taxable; } @@ -217,13 +217,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesOrderInformationInvoiceDetails {\n"); - sb.append(" purchaseOrderNumber: ").append(toIndentedString(purchaseOrderNumber)).append("\n"); - sb.append(" purchaseOrderDate: ").append(toIndentedString(purchaseOrderDate)).append("\n"); - sb.append(" purchaseContactName: ").append(toIndentedString(purchaseContactName)).append("\n"); - sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); - sb.append(" vatInvoiceReferenceNumber: ").append(toIndentedString(vatInvoiceReferenceNumber)).append("\n"); - sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); - sb.append(" transactionAdviceAddendum: ").append(toIndentedString(transactionAdviceAddendum)).append("\n"); + if (purchaseOrderNumber != null) sb.append(" purchaseOrderNumber: ").append(toIndentedString(purchaseOrderNumber)).append("\n"); + if (purchaseOrderDate != null) sb.append(" purchaseOrderDate: ").append(toIndentedString(purchaseOrderDate)).append("\n"); + if (purchaseContactName != null) sb.append(" purchaseContactName: ").append(toIndentedString(purchaseContactName)).append("\n"); + if (taxable != null) sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); + if (vatInvoiceReferenceNumber != null) sb.append(" vatInvoiceReferenceNumber: ").append(toIndentedString(vatInvoiceReferenceNumber)).append("\n"); + if (commodityCode != null) sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); + if (transactionAdviceAddendum != null) sb.append(" transactionAdviceAddendum: ").append(toIndentedString(transactionAdviceAddendum)).append("\n"); sb.append("}"); return sb.toString(); } @@ -234,10 +234,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShipTo.java b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShipTo.java index 7d5bcda4e..350190f1d 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShipTo.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShipTo.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesOrderInformationShipTo {\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShippingDetails.java b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShippingDetails.java index be90cc476..afb460527 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShippingDetails.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesOrderInformationShippingDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesOrderInformationShippingDetails {\n"); - sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); + if (shipFromPostalCode != null) sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformation.java index 56b0b27d8..729e9add7 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesPaymentInformation {\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationCard.java b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationCard.java index 054d4b3f6..9ba464a37 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationCard.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesPaymentInformationCard {\n"); - sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); - sb.append(" sourceAccountTypeDetails: ").append(toIndentedString(sourceAccountTypeDetails)).append("\n"); + if (sourceAccountType != null) sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); + if (sourceAccountTypeDetails != null) sb.append(" sourceAccountTypeDetails: ").append(toIndentedString(sourceAccountTypeDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentType.java index ffdefcd11..5eb670214 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentType.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesPaymentInformationPaymentType {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod.java b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod.java index 531c31b1b..b76ac68be 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformation.java index f669d8bdb..7daa4dd87 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesPointOfSaleInformation {\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); - sb.append(" amexCapnData: ").append(toIndentedString(amexCapnData)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (amexCapnData != null) sb.append(" amexCapnData: ").append(toIndentedString(amexCapnData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformationEmv.java b/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformationEmv.java index 6b4f46c68..430c72868 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformationEmv.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesPointOfSaleInformationEmv.java @@ -63,7 +63,7 @@ public Ptsv2paymentsidcapturesPointOfSaleInformationEmv fallback(Boolean fallbac * @return fallback **/ @ApiModelProperty(value = "Indicates whether a fallback method was used to enter credit card information into the POS terminal. When a technical problem prevents a successful exchange of information between a chip card and a chip-capable terminal: 1. Swipe the card or key the credit card information into the POS terminal. 2. Use the pointOfSaleInformation.entryMode field to indicate whether the information was swiped or keyed. Possible values: - `true`: Fallback method was used. - `false` (default): Fallback method was not used. This field is supported only on American Express Direct, Chase Paymentech Solutions, CyberSource through VisaNet, FDC Nashville Global, GPN, JCN Gateway, OmniPay Direct, and SIX. ") - public Boolean isFallback() { + public Boolean Fallback() { return fallback; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesPointOfSaleInformationEmv {\n"); - sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); - sb.append(" fallback: ").append(toIndentedString(fallback)).append("\n"); + if (tags != null) sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + if (fallback != null) sb.append(" fallback: ").append(toIndentedString(fallback)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformation.java index b6cf56e0d..ef380ba3a 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformation.java @@ -282,7 +282,7 @@ public Ptsv2paymentsidcapturesProcessingInformation payByPointsIndicator(Boolean * @return payByPointsIndicator **/ @ApiModelProperty(value = "Flag that indicates if the transaction is pay by points transaction true: Transaction uses loyalty points false: Transaction does not use loyalty points Default: false ") - public Boolean isPayByPointsIndicator() { + public Boolean PayByPointsIndicator() { return payByPointsIndicator; } @@ -352,19 +352,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesProcessingInformation {\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); - sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); - sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); - sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); - sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); - sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); - sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n"); - sb.append(" payByPointsIndicator: ").append(toIndentedString(payByPointsIndicator)).append("\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (linkId != null) sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); + if (reportGroup != null) sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); + if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); + if (purchaseLevel != null) sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); + if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (captureOptions != null) sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); + if (loanOptions != null) sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n"); + if (payByPointsIndicator != null) sb.append(" payByPointsIndicator: ").append(toIndentedString(payByPointsIndicator)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -375,10 +375,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions.java index ae0188891..762644d48 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions {\n"); - sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); - sb.append(" verbalAuthCode: ").append(toIndentedString(verbalAuthCode)).append("\n"); - sb.append(" verbalAuthTransactionId: ").append(toIndentedString(verbalAuthTransactionId)).append("\n"); + if (authType != null) sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + if (verbalAuthCode != null) sb.append(" verbalAuthCode: ").append(toIndentedString(verbalAuthCode)).append("\n"); + if (verbalAuthTransactionId != null) sb.append(" verbalAuthTransactionId: ").append(toIndentedString(verbalAuthTransactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java index b20a84b55..43462f4fb 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidcapturesProcessingInformationCaptureOptions {\n"); - sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n"); - sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); - sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n"); - sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (captureSequenceNumber != null) sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n"); + if (totalCaptureCount != null) sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); + if (isFinal != null) sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n"); + if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsClientReferenceInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsClientReferenceInformation.java index f9da3be6a..438f33d21 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsClientReferenceInformation.java @@ -273,16 +273,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" returnReconciliationId: ").append(toIndentedString(returnReconciliationId)).append("\n"); - sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (returnReconciliationId != null) sb.append(" returnReconciliationId: ").append(toIndentedString(returnReconciliationId)).append("\n"); + if (pausedRequestId != null) sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -293,10 +293,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsMerchantInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsMerchantInformation.java index 4420fda0a..01ccd33aa 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsMerchantInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsMerchantInformation.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n"); - sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (cardAcceptorReferenceNumber != null) sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n"); + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformation.java index b8b8e3d70..de3dea48c 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformation.java @@ -200,12 +200,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -216,10 +216,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformationLineItems.java b/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformationLineItems.java index 8da95fb15..31b7b50b3 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformationLineItems.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsOrderInformationLineItems.java @@ -320,7 +320,7 @@ public Ptsv2paymentsidrefundsOrderInformationLineItems amountIncludesTax(Boolean * @return amountIncludesTax **/ @ApiModelProperty(value = "Flag that indicates whether the tax amount is included in the Line Item Total. Possible values: - **true** - **false** ") - public Boolean isAmountIncludesTax() { + public Boolean AmountIncludesTax() { return amountIncludesTax; } @@ -392,7 +392,7 @@ public Ptsv2paymentsidrefundsOrderInformationLineItems discountApplied(Boolean d * @return discountApplied **/ @ApiModelProperty(value = "Flag that indicates whether the amount is discounted. If you do not provide a value but you set Discount Amount to a value greater than zero, then CyberSource sets this field to **true**. Possible values: - **true** - **false** ") - public Boolean isDiscountApplied() { + public Boolean DiscountApplied() { return discountApplied; } @@ -505,26 +505,26 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsOrderInformationLineItems {\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" unitOfMeasure: ").append(toIndentedString(unitOfMeasure)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); - sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); - sb.append(" taxStatusIndicator: ").append(toIndentedString(taxStatusIndicator)).append("\n"); - sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); - sb.append(" amountIncludesTax: ").append(toIndentedString(amountIncludesTax)).append("\n"); - sb.append(" typeOfSupply: ").append(toIndentedString(typeOfSupply)).append("\n"); - sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountApplied: ").append(toIndentedString(discountApplied)).append("\n"); - sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productSku != null) sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (unitOfMeasure != null) sb.append(" unitOfMeasure: ").append(toIndentedString(unitOfMeasure)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxRate != null) sb.append(" taxRate: ").append(toIndentedString(taxRate)).append("\n"); + if (taxAppliedAfterDiscount != null) sb.append(" taxAppliedAfterDiscount: ").append(toIndentedString(taxAppliedAfterDiscount)).append("\n"); + if (taxStatusIndicator != null) sb.append(" taxStatusIndicator: ").append(toIndentedString(taxStatusIndicator)).append("\n"); + if (taxTypeCode != null) sb.append(" taxTypeCode: ").append(toIndentedString(taxTypeCode)).append("\n"); + if (amountIncludesTax != null) sb.append(" amountIncludesTax: ").append(toIndentedString(amountIncludesTax)).append("\n"); + if (typeOfSupply != null) sb.append(" typeOfSupply: ").append(toIndentedString(typeOfSupply)).append("\n"); + if (commodityCode != null) sb.append(" commodityCode: ").append(toIndentedString(commodityCode)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountApplied != null) sb.append(" discountApplied: ").append(toIndentedString(discountApplied)).append("\n"); + if (discountRate != null) sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -535,10 +535,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformation.java index ce83eebd9..e43686553 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformation.java @@ -328,18 +328,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" legacyToken: ").append(toIndentedString(legacyToken)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); - sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (fluidData != null) sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (legacyToken != null) sb.append(" legacyToken: ").append(toIndentedString(legacyToken)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); + if (paymentAccountReference != null) sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); sb.append("}"); return sb.toString(); } @@ -350,10 +350,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBank.java b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBank.java index 7151f2cec..2a3e0b14f 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBank.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBank.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPaymentInformationBank {\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); - sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (routingNumber != null) sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (swiftCode != null) sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBankAccount.java b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBankAccount.java index 65140631d..2b7f0b2c1 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBankAccount.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationBankAccount.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPaymentInformationBankAccount {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" encoderId: ").append(toIndentedString(encoderId)).append("\n"); - sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n"); - sb.append(" checkImageReferenceNumber: ").append(toIndentedString(checkImageReferenceNumber)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (encoderId != null) sb.append(" encoderId: ").append(toIndentedString(encoderId)).append("\n"); + if (checkNumber != null) sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n"); + if (checkImageReferenceNumber != null) sb.append(" checkImageReferenceNumber: ").append(toIndentedString(checkImageReferenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationCard.java b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationCard.java index 948a1794e..73b3a155a 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationCard.java @@ -316,18 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" accountEncoderId: ").append(toIndentedString(accountEncoderId)).append("\n"); - sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); - sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); - sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); - sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); - sb.append(" sourceAccountTypeDetails: ").append(toIndentedString(sourceAccountTypeDetails)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (accountEncoderId != null) sb.append(" accountEncoderId: ").append(toIndentedString(accountEncoderId)).append("\n"); + if (issueNumber != null) sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); + if (startMonth != null) sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); + if (startYear != null) sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); + if (sourceAccountType != null) sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); + if (sourceAccountTypeDetails != null) sb.append(" sourceAccountTypeDetails: ").append(toIndentedString(sourceAccountTypeDetails)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (useAs != null) sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); sb.append("}"); return sb.toString(); } @@ -338,10 +338,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationEWallet.java b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationEWallet.java index 325a1f292..d5d475953 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationEWallet.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationEWallet.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPaymentInformationEWallet {\n"); - sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); + if (fundingSource != null) sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationPaymentType.java index 183827ce7..f2afaafbb 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPaymentInformationPaymentType.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPaymentInformationPaymentType {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" subTypeName: ").append(toIndentedString(subTypeName)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (subTypeName != null) sb.append(" subTypeName: ").append(toIndentedString(subTypeName)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java index 1159fb05c..248ce61f3 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsPointOfSaleInformation {\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java index 6ca740eed..8f8c186c6 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java @@ -306,17 +306,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); - sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); - sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); - sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); - sb.append(" recurringOptions: ").append(toIndentedString(recurringOptions)).append("\n"); - sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" refundOptions: ").append(toIndentedString(refundOptions)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (linkId != null) sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); + if (reportGroup != null) sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); + if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); + if (purchaseLevel != null) sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n"); + if (recurringOptions != null) sb.append(" recurringOptions: ").append(toIndentedString(recurringOptions)).append("\n"); + if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (refundOptions != null) sb.append(" refundOptions: ").append(toIndentedString(refundOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -327,10 +327,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRecurringOptions.java b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRecurringOptions.java index 0fa9e7cee..ab2c4c9fe 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRecurringOptions.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRecurringOptions.java @@ -42,7 +42,7 @@ public Ptsv2paymentsidrefundsProcessingInformationRecurringOptions loanPayment(B * @return loanPayment **/ @ApiModelProperty(value = "Flag that indicates whether this is a payment towards an existing contractual loan. Possible values: - `true`: Loan payment - `false`: (default) Not a loan payment ") - public Boolean isLoanPayment() { + public Boolean LoanPayment() { return loanPayment; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsProcessingInformationRecurringOptions {\n"); - sb.append(" loanPayment: ").append(toIndentedString(loanPayment)).append("\n"); + if (loanPayment != null) sb.append(" loanPayment: ").append(toIndentedString(loanPayment)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRefundOptions.java b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRefundOptions.java index a1bee70bf..aa3879fb3 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRefundOptions.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformationRefundOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidrefundsProcessingInformationRefundOptions {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformation.java index a6a714f39..d9f76d55a 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformation.java @@ -251,15 +251,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (pausedRequestId != null) sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -270,10 +270,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformationPartner.java b/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformationPartner.java index c2d45922b..e6c4c0997 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformationPartner.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsClientReferenceInformationPartner.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsClientReferenceInformationPartner {\n"); - sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" thirdPartyCertificationNumber: ").append(toIndentedString(thirdPartyCertificationNumber)).append("\n"); + if (developerId != null) sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (thirdPartyCertificationNumber != null) sb.append(" thirdPartyCertificationNumber: ").append(toIndentedString(thirdPartyCertificationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformation.java index 63cfb0833..5bf6d8653 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformation.java @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationAmountDetails.java index 4fe0af97f..ed22a0e75 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationAmountDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsOrderInformationAmountDetails {\n"); - sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); + if (serviceFeeAmount != null) sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationLineItems.java b/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationLineItems.java index 74017e1d6..ff7611fb6 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationLineItems.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsOrderInformationLineItems.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsOrderInformationLineItems {\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformation.java index 616b672f4..27c4cd373 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsPaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentType.java index f1cb3eb68..5c7f2932b 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentType.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsPaymentInformationPaymentType {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentTypeMethod.java b/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentTypeMethod.java index 53a2c20bc..c9a05e651 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentTypeMethod.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsPaymentInformationPaymentTypeMethod.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsPaymentInformationPaymentTypeMethod {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformation.java index 36ed90e74..54dae170d 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsPointOfSaleInformation {\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformationEmv.java b/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformationEmv.java index f9ffdf7c0..a1a16ceb9 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformationEmv.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsPointOfSaleInformationEmv.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsPointOfSaleInformationEmv {\n"); - sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + if (tags != null) sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java index acf26c7cd..c6da57362 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java @@ -217,13 +217,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsProcessingInformation {\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); - sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); - sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (linkId != null) sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n"); + if (reportGroup != null) sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n"); + if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -234,10 +234,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformation.java index a3cd3ad33..725765186 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsReversalInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformationAmountDetails.java index 6bb334319..a47bb192f 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsReversalInformationAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidreversalsReversalInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidvoidsAgreementInformation.java b/src/main/java/Model/Ptsv2paymentsidvoidsAgreementInformation.java index c8206d0c3..53d9a1b6a 100644 --- a/src/main/java/Model/Ptsv2paymentsidvoidsAgreementInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidvoidsAgreementInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidvoidsAgreementInformation {\n"); - sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); + if (agreementId != null) sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidvoidsMerchantInformation.java b/src/main/java/Model/Ptsv2paymentsidvoidsMerchantInformation.java index 50424561d..2a90c0205 100644 --- a/src/main/java/Model/Ptsv2paymentsidvoidsMerchantInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidvoidsMerchantInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidvoidsMerchantInformation {\n"); - sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); + if (transactionLocalDateTime != null) sb.append(" transactionLocalDateTime: ").append(toIndentedString(transactionLocalDateTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidvoidsOrderInformation.java b/src/main/java/Model/Ptsv2paymentsidvoidsOrderInformation.java index c49d66478..68be924a0 100644 --- a/src/main/java/Model/Ptsv2paymentsidvoidsOrderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidvoidsOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidvoidsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidvoidsPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsidvoidsPaymentInformation.java index f0563d2c7..80deae833 100644 --- a/src/main/java/Model/Ptsv2paymentsidvoidsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidvoidsPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidvoidsPaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2paymentsidvoidsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidvoidsProcessingInformation.java index 15442d069..d39df7c24 100644 --- a/src/main/java/Model/Ptsv2paymentsidvoidsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidvoidsProcessingInformation.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsidvoidsProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsClientReferenceInformation.java b/src/main/java/Model/Ptsv2payoutsClientReferenceInformation.java index 2051e936d..067e4e833 100644 --- a/src/main/java/Model/Ptsv2payoutsClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2payoutsClientReferenceInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsMerchantInformation.java b/src/main/java/Model/Ptsv2payoutsMerchantInformation.java index 1ab0f015a..9062c1c1c 100644 --- a/src/main/java/Model/Ptsv2payoutsMerchantInformation.java +++ b/src/main/java/Model/Ptsv2payoutsMerchantInformation.java @@ -142,10 +142,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsMerchantInformation {\n"); - sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); - sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n"); + if (submitLocalDateTime != null) sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,10 +156,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.java index 9601430b5..dabb85ba4 100644 --- a/src/main/java/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (contact != null) sb.append(" contact: ").append(toIndentedString(contact)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsOrderInformation.java b/src/main/java/Model/Ptsv2payoutsOrderInformation.java index 48922ccc5..565cdca85 100644 --- a/src/main/java/Model/Ptsv2payoutsOrderInformation.java +++ b/src/main/java/Model/Ptsv2payoutsOrderInformation.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" isCryptocurrencyPurchase: ").append(toIndentedString(isCryptocurrencyPurchase)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (isCryptocurrencyPurchase != null) sb.append(" isCryptocurrencyPurchase: ").append(toIndentedString(isCryptocurrencyPurchase)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetails.java index c30633a8e..d9d91a9ba 100644 --- a/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetails.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (surcharge != null) sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetailsSurcharge.java b/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetailsSurcharge.java index a0c43588a..c1076920d 100644 --- a/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetailsSurcharge.java +++ b/src/main/java/Model/Ptsv2payoutsOrderInformationAmountDetailsSurcharge.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsOrderInformationAmountDetailsSurcharge {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsOrderInformationBillTo.java b/src/main/java/Model/Ptsv2payoutsOrderInformationBillTo.java index 3b0a676a5..d1ae0e5cb 100644 --- a/src/main/java/Model/Ptsv2payoutsOrderInformationBillTo.java +++ b/src/main/java/Model/Ptsv2payoutsOrderInformationBillTo.java @@ -272,16 +272,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" phoneType: ").append(toIndentedString(phoneType)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (phoneType != null) sb.append(" phoneType: ").append(toIndentedString(phoneType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -292,10 +292,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsPaymentInformation.java b/src/main/java/Model/Ptsv2payoutsPaymentInformation.java index d7b5555a5..4212c9730 100644 --- a/src/main/java/Model/Ptsv2payoutsPaymentInformation.java +++ b/src/main/java/Model/Ptsv2payoutsPaymentInformation.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsPaymentInformationCard.java b/src/main/java/Model/Ptsv2payoutsPaymentInformationCard.java index dd8b6d9da..cb6d92d9e 100644 --- a/src/main/java/Model/Ptsv2payoutsPaymentInformationCard.java +++ b/src/main/java/Model/Ptsv2payoutsPaymentInformationCard.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsPaymentInformationCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (sourceAccountType != null) sb.append(" sourceAccountType: ").append(toIndentedString(sourceAccountType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsProcessingInformation.java b/src/main/java/Model/Ptsv2payoutsProcessingInformation.java index cdfb91a74..22e4a7b50 100644 --- a/src/main/java/Model/Ptsv2payoutsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2payoutsProcessingInformation.java @@ -230,14 +230,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsProcessingInformation {\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" networkRoutingOrder: ").append(toIndentedString(networkRoutingOrder)).append("\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" payoutsOptions: ").append(toIndentedString(payoutsOptions)).append("\n"); - sb.append(" transactionReason: ").append(toIndentedString(transactionReason)).append("\n"); - sb.append(" purposeOfPayment: ").append(toIndentedString(purposeOfPayment)).append("\n"); - sb.append(" fundingOptions: ").append(toIndentedString(fundingOptions)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (networkRoutingOrder != null) sb.append(" networkRoutingOrder: ").append(toIndentedString(networkRoutingOrder)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (payoutsOptions != null) sb.append(" payoutsOptions: ").append(toIndentedString(payoutsOptions)).append("\n"); + if (transactionReason != null) sb.append(" transactionReason: ").append(toIndentedString(transactionReason)).append("\n"); + if (purposeOfPayment != null) sb.append(" purposeOfPayment: ").append(toIndentedString(purposeOfPayment)).append("\n"); + if (fundingOptions != null) sb.append(" fundingOptions: ").append(toIndentedString(fundingOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -248,10 +248,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptions.java b/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptions.java index bcb0e8a29..57c3a1657 100644 --- a/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptions.java +++ b/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptions.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsProcessingInformationFundingOptions {\n"); - sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); + if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptionsInitiator.java b/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptionsInitiator.java index 570cd155f..93bca6ddb 100644 --- a/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptionsInitiator.java +++ b/src/main/java/Model/Ptsv2payoutsProcessingInformationFundingOptionsInitiator.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsProcessingInformationFundingOptionsInitiator {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.java b/src/main/java/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.java index c52f38b96..9c50936ec 100644 --- a/src/main/java/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.java +++ b/src/main/java/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsProcessingInformationPayoutsOptions {\n"); - sb.append(" acquirerMerchantId: ").append(toIndentedString(acquirerMerchantId)).append("\n"); - sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); - sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); - sb.append(" accountFundingReferenceId: ").append(toIndentedString(accountFundingReferenceId)).append("\n"); - sb.append(" deferredDateTime: ").append(toIndentedString(deferredDateTime)).append("\n"); + if (acquirerMerchantId != null) sb.append(" acquirerMerchantId: ").append(toIndentedString(acquirerMerchantId)).append("\n"); + if (acquirerBin != null) sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); + if (retrievalReferenceNumber != null) sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); + if (accountFundingReferenceId != null) sb.append(" accountFundingReferenceId: ").append(toIndentedString(accountFundingReferenceId)).append("\n"); + if (deferredDateTime != null) sb.append(" deferredDateTime: ").append(toIndentedString(deferredDateTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsRecipientInformation.java b/src/main/java/Model/Ptsv2payoutsRecipientInformation.java index 2c2fec0ae..0940e92fc 100644 --- a/src/main/java/Model/Ptsv2payoutsRecipientInformation.java +++ b/src/main/java/Model/Ptsv2payoutsRecipientInformation.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsRecipientInformation {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsSenderInformation.java b/src/main/java/Model/Ptsv2payoutsSenderInformation.java index bfcdfcc1f..d61caf08b 100644 --- a/src/main/java/Model/Ptsv2payoutsSenderInformation.java +++ b/src/main/java/Model/Ptsv2payoutsSenderInformation.java @@ -449,24 +449,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsSenderInformation {\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" middleInitial: ").append(toIndentedString(middleInitial)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); - sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" identificationNumber: ").append(toIndentedString(identificationNumber)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleInitial != null) sb.append(" middleInitial: ").append(toIndentedString(middleInitial)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (personalIdType != null) sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (identificationNumber != null) sb.append(" identificationNumber: ").append(toIndentedString(identificationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -477,10 +477,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2payoutsSenderInformationAccount.java b/src/main/java/Model/Ptsv2payoutsSenderInformationAccount.java index 0d9517e8b..126847c86 100644 --- a/src/main/java/Model/Ptsv2payoutsSenderInformationAccount.java +++ b/src/main/java/Model/Ptsv2payoutsSenderInformationAccount.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2payoutsSenderInformationAccount {\n"); - sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (fundsSource != null) sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2refreshpaymentstatusidAgreementInformation.java b/src/main/java/Model/Ptsv2refreshpaymentstatusidAgreementInformation.java index 42da54587..3c78dcd57 100644 --- a/src/main/java/Model/Ptsv2refreshpaymentstatusidAgreementInformation.java +++ b/src/main/java/Model/Ptsv2refreshpaymentstatusidAgreementInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2refreshpaymentstatusidAgreementInformation {\n"); - sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); + if (agreementId != null) sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2refreshpaymentstatusidClientReferenceInformation.java b/src/main/java/Model/Ptsv2refreshpaymentstatusidClientReferenceInformation.java index 8a7f9d3f7..433a8491b 100644 --- a/src/main/java/Model/Ptsv2refreshpaymentstatusidClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2refreshpaymentstatusidClientReferenceInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2refreshpaymentstatusidClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformation.java b/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformation.java index 211ef2a85..20c9f26a3 100644 --- a/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformation.java +++ b/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2refreshpaymentstatusidPaymentInformation {\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationCustomer.java b/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationCustomer.java index a8890c8cb..1201eaec4 100644 --- a/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationCustomer.java +++ b/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2refreshpaymentstatusidPaymentInformationCustomer {\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationPaymentType.java b/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationPaymentType.java index 1549df83d..ac3a69068 100644 --- a/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationPaymentType.java +++ b/src/main/java/Model/Ptsv2refreshpaymentstatusidPaymentInformationPaymentType.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2refreshpaymentstatusidPaymentInformationPaymentType {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2refreshpaymentstatusidProcessingInformation.java b/src/main/java/Model/Ptsv2refreshpaymentstatusidProcessingInformation.java index cd2293b46..38d4a7a03 100644 --- a/src/main/java/Model/Ptsv2refreshpaymentstatusidProcessingInformation.java +++ b/src/main/java/Model/Ptsv2refreshpaymentstatusidProcessingInformation.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2refreshpaymentstatusidProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Ptsv2voidsProcessingInformation.java b/src/main/java/Model/Ptsv2voidsProcessingInformation.java index f31bab93f..cf4b63105 100644 --- a/src/main/java/Model/Ptsv2voidsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2voidsProcessingInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2voidsProcessingInformation {\n"); - sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n"); + if (paymentId != null) sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201Response.java b/src/main/java/Model/PushFunds201Response.java index 9b798fe5b..521de4217 100644 --- a/src/main/java/Model/PushFunds201Response.java +++ b/src/main/java/Model/PushFunds201Response.java @@ -347,19 +347,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -370,10 +370,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseClientReferenceInformation.java b/src/main/java/Model/PushFunds201ResponseClientReferenceInformation.java index 80b6e3c67..5b973aa3a 100644 --- a/src/main/java/Model/PushFunds201ResponseClientReferenceInformation.java +++ b/src/main/java/Model/PushFunds201ResponseClientReferenceInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (submitLocalDateTime != null) sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseErrorInformation.java b/src/main/java/Model/PushFunds201ResponseErrorInformation.java index f2feff2ef..e7ffe6744 100644 --- a/src/main/java/Model/PushFunds201ResponseErrorInformation.java +++ b/src/main/java/Model/PushFunds201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseErrorInformationDetails.java b/src/main/java/Model/PushFunds201ResponseErrorInformationDetails.java index 08e0e25ca..faf6e3a24 100644 --- a/src/main/java/Model/PushFunds201ResponseErrorInformationDetails.java +++ b/src/main/java/Model/PushFunds201ResponseErrorInformationDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseErrorInformationDetails {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseLinks.java b/src/main/java/Model/PushFunds201ResponseLinks.java index 377a4e238..ff6e6a25f 100644 --- a/src/main/java/Model/PushFunds201ResponseLinks.java +++ b/src/main/java/Model/PushFunds201ResponseLinks.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseLinksCustomer.java b/src/main/java/Model/PushFunds201ResponseLinksCustomer.java index 2e1e9d895..d0a53d60f 100644 --- a/src/main/java/Model/PushFunds201ResponseLinksCustomer.java +++ b/src/main/java/Model/PushFunds201ResponseLinksCustomer.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseLinksCustomer {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseLinksInstrumentIdentifier.java b/src/main/java/Model/PushFunds201ResponseLinksInstrumentIdentifier.java index e8b8fc795..edd95150e 100644 --- a/src/main/java/Model/PushFunds201ResponseLinksInstrumentIdentifier.java +++ b/src/main/java/Model/PushFunds201ResponseLinksInstrumentIdentifier.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseLinksInstrumentIdentifier {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseLinksPaymentInstrument.java b/src/main/java/Model/PushFunds201ResponseLinksPaymentInstrument.java index 9b306be68..a0c19d7e6 100644 --- a/src/main/java/Model/PushFunds201ResponseLinksPaymentInstrument.java +++ b/src/main/java/Model/PushFunds201ResponseLinksPaymentInstrument.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseLinksPaymentInstrument {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseLinksSelf.java b/src/main/java/Model/PushFunds201ResponseLinksSelf.java index 6ac1b81e9..f0bd178a7 100644 --- a/src/main/java/Model/PushFunds201ResponseLinksSelf.java +++ b/src/main/java/Model/PushFunds201ResponseLinksSelf.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseMerchantInformation.java b/src/main/java/Model/PushFunds201ResponseMerchantInformation.java index 241c5ecc3..d8f099362 100644 --- a/src/main/java/Model/PushFunds201ResponseMerchantInformation.java +++ b/src/main/java/Model/PushFunds201ResponseMerchantInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseMerchantInformationMerchantDescriptor.java b/src/main/java/Model/PushFunds201ResponseMerchantInformationMerchantDescriptor.java index 094686bb0..02beb2b0d 100644 --- a/src/main/java/Model/PushFunds201ResponseMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/PushFunds201ResponseMerchantInformationMerchantDescriptor.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseOrderInformation.java b/src/main/java/Model/PushFunds201ResponseOrderInformation.java index 255959fa5..0d00ff1c1 100644 --- a/src/main/java/Model/PushFunds201ResponseOrderInformation.java +++ b/src/main/java/Model/PushFunds201ResponseOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/PushFunds201ResponseOrderInformationAmountDetails.java index 6c099e1c0..7293024b8 100644 --- a/src/main/java/Model/PushFunds201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/PushFunds201ResponseOrderInformationAmountDetails.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponsePaymentInformation.java b/src/main/java/Model/PushFunds201ResponsePaymentInformation.java index 28f84db49..5c1f78f99 100644 --- a/src/main/java/Model/PushFunds201ResponsePaymentInformation.java +++ b/src/main/java/Model/PushFunds201ResponsePaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponsePaymentInformation {\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponsePaymentInformationTokenizedCard.java b/src/main/java/Model/PushFunds201ResponsePaymentInformationTokenizedCard.java index 7e3c9a79b..82fd308bd 100644 --- a/src/main/java/Model/PushFunds201ResponsePaymentInformationTokenizedCard.java +++ b/src/main/java/Model/PushFunds201ResponsePaymentInformationTokenizedCard.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponsePaymentInformationTokenizedCard {\n"); - sb.append(" assuranceMethod: ").append(toIndentedString(assuranceMethod)).append("\n"); + if (assuranceMethod != null) sb.append(" assuranceMethod: ").append(toIndentedString(assuranceMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseProcessingInformation.java b/src/main/java/Model/PushFunds201ResponseProcessingInformation.java index 218fad4ec..db1cf658b 100644 --- a/src/main/java/Model/PushFunds201ResponseProcessingInformation.java +++ b/src/main/java/Model/PushFunds201ResponseProcessingInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseProcessingInformation {\n"); - sb.append(" domesticNationalNet: ").append(toIndentedString(domesticNationalNet)).append("\n"); + if (domesticNationalNet != null) sb.append(" domesticNationalNet: ").append(toIndentedString(domesticNationalNet)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseProcessingInformationDomesticNationalNet.java b/src/main/java/Model/PushFunds201ResponseProcessingInformationDomesticNationalNet.java index 33a113169..eb8233faa 100644 --- a/src/main/java/Model/PushFunds201ResponseProcessingInformationDomesticNationalNet.java +++ b/src/main/java/Model/PushFunds201ResponseProcessingInformationDomesticNationalNet.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseProcessingInformationDomesticNationalNet {\n"); - sb.append(" reimbursementFeeBaseAmount: ").append(toIndentedString(reimbursementFeeBaseAmount)).append("\n"); + if (reimbursementFeeBaseAmount != null) sb.append(" reimbursementFeeBaseAmount: ").append(toIndentedString(reimbursementFeeBaseAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseProcessorInformation.java b/src/main/java/Model/PushFunds201ResponseProcessorInformation.java index 392d6ca8d..d5399f511 100644 --- a/src/main/java/Model/PushFunds201ResponseProcessorInformation.java +++ b/src/main/java/Model/PushFunds201ResponseProcessorInformation.java @@ -274,16 +274,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseProcessorInformation {\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); - sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); - sb.append(" actionCode: ").append(toIndentedString(actionCode)).append("\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" feeProgramIndicator: ").append(toIndentedString(feeProgramIndicator)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" routing: ").append(toIndentedString(routing)).append("\n"); - sb.append(" settlement: ").append(toIndentedString(settlement)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); + if (retrievalReferenceNumber != null) sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); + if (actionCode != null) sb.append(" actionCode: ").append(toIndentedString(actionCode)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (feeProgramIndicator != null) sb.append(" feeProgramIndicator: ").append(toIndentedString(feeProgramIndicator)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (routing != null) sb.append(" routing: ").append(toIndentedString(routing)).append("\n"); + if (settlement != null) sb.append(" settlement: ").append(toIndentedString(settlement)).append("\n"); sb.append("}"); return sb.toString(); } @@ -294,10 +294,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseProcessorInformationRouting.java b/src/main/java/Model/PushFunds201ResponseProcessorInformationRouting.java index e4e05b323..99299755d 100644 --- a/src/main/java/Model/PushFunds201ResponseProcessorInformationRouting.java +++ b/src/main/java/Model/PushFunds201ResponseProcessorInformationRouting.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseProcessorInformationRouting {\n"); - sb.append(" network: ").append(toIndentedString(network)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseProcessorInformationSettlement.java b/src/main/java/Model/PushFunds201ResponseProcessorInformationSettlement.java index 38edbbd51..0b1073d32 100644 --- a/src/main/java/Model/PushFunds201ResponseProcessorInformationSettlement.java +++ b/src/main/java/Model/PushFunds201ResponseProcessorInformationSettlement.java @@ -45,7 +45,7 @@ public PushFunds201ResponseProcessorInformationSettlement responsibilityFlag(Boo * @return responsibilityFlag **/ @ApiModelProperty(value = "Settlement Responsibility Flag: VisaNet sets this flag. This flag is set to true to indicate that VisaNet has settlement responsibility for this transaction. This flag does not indicate the transaction will be settled. ") - public Boolean isResponsibilityFlag() { + public Boolean ResponsibilityFlag() { return responsibilityFlag; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseProcessorInformationSettlement {\n"); - sb.append(" responsibilityFlag: ").append(toIndentedString(responsibilityFlag)).append("\n"); - sb.append(" serviceFlag: ").append(toIndentedString(serviceFlag)).append("\n"); + if (responsibilityFlag != null) sb.append(" responsibilityFlag: ").append(toIndentedString(responsibilityFlag)).append("\n"); + if (serviceFlag != null) sb.append(" serviceFlag: ").append(toIndentedString(serviceFlag)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseRecipientInformation.java b/src/main/java/Model/PushFunds201ResponseRecipientInformation.java index 710295d67..27542560f 100644 --- a/src/main/java/Model/PushFunds201ResponseRecipientInformation.java +++ b/src/main/java/Model/PushFunds201ResponseRecipientInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseRecipientInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds201ResponseRecipientInformationCard.java b/src/main/java/Model/PushFunds201ResponseRecipientInformationCard.java index 9f7b69ab9..26111549d 100644 --- a/src/main/java/Model/PushFunds201ResponseRecipientInformationCard.java +++ b/src/main/java/Model/PushFunds201ResponseRecipientInformationCard.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds201ResponseRecipientInformationCard {\n"); - sb.append(" balance: ").append(toIndentedString(balance)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (balance != null) sb.append(" balance: ").append(toIndentedString(balance)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds400Response.java b/src/main/java/Model/PushFunds400Response.java index e25d270f6..58f548e35 100644 --- a/src/main/java/Model/PushFunds400Response.java +++ b/src/main/java/Model/PushFunds400Response.java @@ -195,12 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds400Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -211,10 +211,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds400ResponseDetails.java b/src/main/java/Model/PushFunds400ResponseDetails.java index 7b5a60f97..a1acc0df7 100644 --- a/src/main/java/Model/PushFunds400ResponseDetails.java +++ b/src/main/java/Model/PushFunds400ResponseDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds400ResponseDetails {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds401Response.java b/src/main/java/Model/PushFunds401Response.java index 98ce098d6..a145fd3b3 100644 --- a/src/main/java/Model/PushFunds401Response.java +++ b/src/main/java/Model/PushFunds401Response.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds401Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds404Response.java b/src/main/java/Model/PushFunds404Response.java index 77730866c..8dd1f1202 100644 --- a/src/main/java/Model/PushFunds404Response.java +++ b/src/main/java/Model/PushFunds404Response.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds404Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFunds502Response.java b/src/main/java/Model/PushFunds502Response.java index fff2c5750..994fd3641 100644 --- a/src/main/java/Model/PushFunds502Response.java +++ b/src/main/java/Model/PushFunds502Response.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFunds502Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/PushFundsRequest.java b/src/main/java/Model/PushFundsRequest.java index 791b53273..04acb70cc 100644 --- a/src/main/java/Model/PushFundsRequest.java +++ b/src/main/java/Model/PushFundsRequest.java @@ -236,14 +236,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PushFundsRequest {\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); - sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" pointOfServiceInformation: ").append(toIndentedString(pointOfServiceInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); + if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (pointOfServiceInformation != null) sb.append(" pointOfServiceInformation: ").append(toIndentedString(pointOfServiceInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -254,10 +254,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansClientReferenceInformation.java b/src/main/java/Model/Rbsv1plansClientReferenceInformation.java index dd44ec026..d4414b666 100644 --- a/src/main/java/Model/Rbsv1plansClientReferenceInformation.java +++ b/src/main/java/Model/Rbsv1plansClientReferenceInformation.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansClientReferenceInformation {\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansOrderInformation.java b/src/main/java/Model/Rbsv1plansOrderInformation.java index 9f06c7036..70c895fcf 100644 --- a/src/main/java/Model/Rbsv1plansOrderInformation.java +++ b/src/main/java/Model/Rbsv1plansOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansOrderInformationAmountDetails.java b/src/main/java/Model/Rbsv1plansOrderInformationAmountDetails.java index 9a3b543c3..eceff3041 100644 --- a/src/main/java/Model/Rbsv1plansOrderInformationAmountDetails.java +++ b/src/main/java/Model/Rbsv1plansOrderInformationAmountDetails.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansOrderInformationAmountDetails {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" billingAmount: ").append(toIndentedString(billingAmount)).append("\n"); - sb.append(" setupFee: ").append(toIndentedString(setupFee)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (billingAmount != null) sb.append(" billingAmount: ").append(toIndentedString(billingAmount)).append("\n"); + if (setupFee != null) sb.append(" setupFee: ").append(toIndentedString(setupFee)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansPlanInformation.java b/src/main/java/Model/Rbsv1plansPlanInformation.java index 4e3085d0d..aee09fb64 100644 --- a/src/main/java/Model/Rbsv1plansPlanInformation.java +++ b/src/main/java/Model/Rbsv1plansPlanInformation.java @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansPlanInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); - sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (billingPeriod != null) sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); + if (billingCycles != null) sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansPlanInformationBillingCycles.java b/src/main/java/Model/Rbsv1plansPlanInformationBillingCycles.java index 619ee6fd5..ab2814acf 100644 --- a/src/main/java/Model/Rbsv1plansPlanInformationBillingCycles.java +++ b/src/main/java/Model/Rbsv1plansPlanInformationBillingCycles.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansPlanInformationBillingCycles {\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansidPlanInformation.java b/src/main/java/Model/Rbsv1plansidPlanInformation.java index 28bee1e48..d2e3980fd 100644 --- a/src/main/java/Model/Rbsv1plansidPlanInformation.java +++ b/src/main/java/Model/Rbsv1plansidPlanInformation.java @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansidPlanInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); - sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (billingPeriod != null) sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); + if (billingCycles != null) sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansidProcessingInformation.java b/src/main/java/Model/Rbsv1plansidProcessingInformation.java index f69d83157..433ed4f3c 100644 --- a/src/main/java/Model/Rbsv1plansidProcessingInformation.java +++ b/src/main/java/Model/Rbsv1plansidProcessingInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansidProcessingInformation {\n"); - sb.append(" subscriptionBillingOptions: ").append(toIndentedString(subscriptionBillingOptions)).append("\n"); + if (subscriptionBillingOptions != null) sb.append(" subscriptionBillingOptions: ").append(toIndentedString(subscriptionBillingOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1plansidProcessingInformationSubscriptionBillingOptions.java b/src/main/java/Model/Rbsv1plansidProcessingInformationSubscriptionBillingOptions.java index e91b8d1e6..293a79245 100644 --- a/src/main/java/Model/Rbsv1plansidProcessingInformationSubscriptionBillingOptions.java +++ b/src/main/java/Model/Rbsv1plansidProcessingInformationSubscriptionBillingOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1plansidProcessingInformationSubscriptionBillingOptions {\n"); - sb.append(" applyTo: ").append(toIndentedString(applyTo)).append("\n"); + if (applyTo != null) sb.append(" applyTo: ").append(toIndentedString(applyTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java b/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java index 7518c9214..cb9101fd8 100644 --- a/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsPaymentInformation.java b/src/main/java/Model/Rbsv1subscriptionsPaymentInformation.java index ded32d1db..f9d0f027b 100644 --- a/src/main/java/Model/Rbsv1subscriptionsPaymentInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsPaymentInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsPaymentInformation {\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsPaymentInformationCustomer.java b/src/main/java/Model/Rbsv1subscriptionsPaymentInformationCustomer.java index 88d06866f..51fafb319 100644 --- a/src/main/java/Model/Rbsv1subscriptionsPaymentInformationCustomer.java +++ b/src/main/java/Model/Rbsv1subscriptionsPaymentInformationCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsPaymentInformationCustomer {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsPlanInformation.java b/src/main/java/Model/Rbsv1subscriptionsPlanInformation.java index c6b13c248..a860e6b8c 100644 --- a/src/main/java/Model/Rbsv1subscriptionsPlanInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsPlanInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsPlanInformation {\n"); - sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); - sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); + if (billingPeriod != null) sb.append(" billingPeriod: ").append(toIndentedString(billingPeriod)).append("\n"); + if (billingCycles != null) sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsProcessingInformation.java b/src/main/java/Model/Rbsv1subscriptionsProcessingInformation.java index 58ad0a8ae..40edc209b 100644 --- a/src/main/java/Model/Rbsv1subscriptionsProcessingInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsProcessingInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsProcessingInformation {\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptions.java index 26472af0f..5f8030876 100644 --- a/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptions.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsProcessingInformationAuthorizationOptions {\n"); - sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); + if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator.java index 9d6bf8894..da7e1dac8 100644 --- a/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsSubscriptionInformation.java b/src/main/java/Model/Rbsv1subscriptionsSubscriptionInformation.java index 6536d7548..398a70755 100644 --- a/src/main/java/Model/Rbsv1subscriptionsSubscriptionInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsSubscriptionInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (planId != null) sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (startDate != null) sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsidOrderInformation.java b/src/main/java/Model/Rbsv1subscriptionsidOrderInformation.java index 9c2e19916..c9595a90e 100644 --- a/src/main/java/Model/Rbsv1subscriptionsidOrderInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsidOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsidOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsidOrderInformationAmountDetails.java b/src/main/java/Model/Rbsv1subscriptionsidOrderInformationAmountDetails.java index 268dd2630..f9e83788f 100644 --- a/src/main/java/Model/Rbsv1subscriptionsidOrderInformationAmountDetails.java +++ b/src/main/java/Model/Rbsv1subscriptionsidOrderInformationAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsidOrderInformationAmountDetails {\n"); - sb.append(" billingAmount: ").append(toIndentedString(billingAmount)).append("\n"); - sb.append(" setupFee: ").append(toIndentedString(setupFee)).append("\n"); + if (billingAmount != null) sb.append(" billingAmount: ").append(toIndentedString(billingAmount)).append("\n"); + if (setupFee != null) sb.append(" setupFee: ").append(toIndentedString(setupFee)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsidPlanInformation.java b/src/main/java/Model/Rbsv1subscriptionsidPlanInformation.java index 47190b374..03e534000 100644 --- a/src/main/java/Model/Rbsv1subscriptionsidPlanInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsidPlanInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsidPlanInformation {\n"); - sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); + if (billingCycles != null) sb.append(" billingCycles: ").append(toIndentedString(billingCycles)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Rbsv1subscriptionsidSubscriptionInformation.java b/src/main/java/Model/Rbsv1subscriptionsidSubscriptionInformation.java index aec6d5e99..11d5167b7 100644 --- a/src/main/java/Model/Rbsv1subscriptionsidSubscriptionInformation.java +++ b/src/main/java/Model/Rbsv1subscriptionsidSubscriptionInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Rbsv1subscriptionsidSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (planId != null) sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (startDate != null) sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RefreshPaymentStatusRequest.java b/src/main/java/Model/RefreshPaymentStatusRequest.java index 43650aad5..ab852f615 100644 --- a/src/main/java/Model/RefreshPaymentStatusRequest.java +++ b/src/main/java/Model/RefreshPaymentStatusRequest.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RefreshPaymentStatusRequest {\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RefundCaptureRequest.java b/src/main/java/Model/RefundCaptureRequest.java index ba64a3231..fe079bdbc 100644 --- a/src/main/java/Model/RefundCaptureRequest.java +++ b/src/main/java/Model/RefundCaptureRequest.java @@ -338,18 +338,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RefundCaptureRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -360,10 +360,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RefundPaymentRequest.java b/src/main/java/Model/RefundPaymentRequest.java index 62499b18a..09a267701 100644 --- a/src/main/java/Model/RefundPaymentRequest.java +++ b/src/main/java/Model/RefundPaymentRequest.java @@ -338,18 +338,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RefundPaymentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); - sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); + if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -360,10 +360,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReplayWebhooksRequest.java b/src/main/java/Model/ReplayWebhooksRequest.java index 9eef6f7d0..c7c69c685 100644 --- a/src/main/java/Model/ReplayWebhooksRequest.java +++ b/src/main/java/Model/ReplayWebhooksRequest.java @@ -107,8 +107,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReplayWebhooksRequest {\n"); - sb.append(" byTransactionTraceIdentifiers: ").append(toIndentedString(byTransactionTraceIdentifiers)).append("\n"); - sb.append(" byDeliveryStatus: ").append(toIndentedString(byDeliveryStatus)).append("\n"); + if (byTransactionTraceIdentifiers != null) sb.append(" byTransactionTraceIdentifiers: ").append(toIndentedString(byTransactionTraceIdentifiers)).append("\n"); + if (byDeliveryStatus != null) sb.append(" byDeliveryStatus: ").append(toIndentedString(byDeliveryStatus)).append("\n"); sb.append("}"); return sb.toString(); } @@ -119,10 +119,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ChargebackDetailsGet200Response.java b/src/main/java/Model/ReportingV3ChargebackDetailsGet200Response.java index f0a6e4177..5e78a7661 100644 --- a/src/main/java/Model/ReportingV3ChargebackDetailsGet200Response.java +++ b/src/main/java/Model/ReportingV3ChargebackDetailsGet200Response.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ChargebackDetailsGet200Response {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" chargebackDetails: ").append(toIndentedString(chargebackDetails)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (chargebackDetails != null) sb.append(" chargebackDetails: ").append(toIndentedString(chargebackDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.java b/src/main/java/Model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.java index 107ff39b1..2aab6bf4f 100644 --- a/src/main/java/Model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.java +++ b/src/main/java/Model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.java @@ -559,29 +559,29 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ChargebackDetailsGet200ResponseChargebackDetails {\n"); - sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); - sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); - sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); - sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); - sb.append(" natureOfDispute: ").append(toIndentedString(natureOfDispute)).append("\n"); - sb.append(" alertType: ").append(toIndentedString(alertType)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" sign: ").append(toIndentedString(sign)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); - sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); - sb.append(" originalSettlementTime: ").append(toIndentedString(originalSettlementTime)).append("\n"); - sb.append(" trackingNumber: ").append(toIndentedString(trackingNumber)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" responseDueTime: ").append(toIndentedString(responseDueTime)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append(" actionDescription: ").append(toIndentedString(actionDescription)).append("\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" representmentCPTime: ").append(toIndentedString(representmentCPTime)).append("\n"); - sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); - sb.append(" eventRequestedTime: ").append(toIndentedString(eventRequestedTime)).append("\n"); - sb.append(" preDisputeFlag: ").append(toIndentedString(preDisputeFlag)).append("\n"); + if (processorMerchantId != null) sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); + if (merchantName != null) sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); + if (transactionReferenceNumber != null) sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); + if (merchantReferenceNumber != null) sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); + if (natureOfDispute != null) sb.append(" natureOfDispute: ").append(toIndentedString(natureOfDispute)).append("\n"); + if (alertType != null) sb.append(" alertType: ").append(toIndentedString(alertType)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (sign != null) sb.append(" sign: ").append(toIndentedString(sign)).append("\n"); + if (action != null) sb.append(" action: ").append(toIndentedString(action)).append("\n"); + if (cardType != null) sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); + if (originalSettlementTime != null) sb.append(" originalSettlementTime: ").append(toIndentedString(originalSettlementTime)).append("\n"); + if (trackingNumber != null) sb.append(" trackingNumber: ").append(toIndentedString(trackingNumber)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (responseDueTime != null) sb.append(" responseDueTime: ").append(toIndentedString(responseDueTime)).append("\n"); + if (time != null) sb.append(" time: ").append(toIndentedString(time)).append("\n"); + if (actionDescription != null) sb.append(" actionDescription: ").append(toIndentedString(actionDescription)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (representmentCPTime != null) sb.append(" representmentCPTime: ").append(toIndentedString(representmentCPTime)).append("\n"); + if (applications != null) sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); + if (eventRequestedTime != null) sb.append(" eventRequestedTime: ").append(toIndentedString(eventRequestedTime)).append("\n"); + if (preDisputeFlag != null) sb.append(" preDisputeFlag: ").append(toIndentedString(preDisputeFlag)).append("\n"); sb.append("}"); return sb.toString(); } @@ -592,10 +592,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ChargebackSummariesGet200Response.java b/src/main/java/Model/ReportingV3ChargebackSummariesGet200Response.java index 97077574f..d6b83b845 100644 --- a/src/main/java/Model/ReportingV3ChargebackSummariesGet200Response.java +++ b/src/main/java/Model/ReportingV3ChargebackSummariesGet200Response.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ChargebackSummariesGet200Response {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" chargebackSummaries: ").append(toIndentedString(chargebackSummaries)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (chargebackSummaries != null) sb.append(" chargebackSummaries: ").append(toIndentedString(chargebackSummaries)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.java b/src/main/java/Model/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.java index c51d34e5f..167b35d6d 100644 --- a/src/main/java/Model/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.java +++ b/src/main/java/Model/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries {\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (time != null) sb.append(" time: ").append(toIndentedString(time)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ConversionDetailsGet200Response.java b/src/main/java/Model/ReportingV3ConversionDetailsGet200Response.java index 39570f9a8..e2d8fc8f7 100644 --- a/src/main/java/Model/ReportingV3ConversionDetailsGet200Response.java +++ b/src/main/java/Model/ReportingV3ConversionDetailsGet200Response.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ConversionDetailsGet200Response {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" conversionDetails: ").append(toIndentedString(conversionDetails)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (conversionDetails != null) sb.append(" conversionDetails: ").append(toIndentedString(conversionDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseConversionDetails.java b/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseConversionDetails.java index 8bba67903..0f2f20f97 100644 --- a/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseConversionDetails.java +++ b/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseConversionDetails.java @@ -284,16 +284,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ConversionDetailsGet200ResponseConversionDetails {\n"); - sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); - sb.append(" conversionTime: ").append(toIndentedString(conversionTime)).append("\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" originalDecision: ").append(toIndentedString(originalDecision)).append("\n"); - sb.append(" newDecision: ").append(toIndentedString(newDecision)).append("\n"); - sb.append(" reviewer: ").append(toIndentedString(reviewer)).append("\n"); - sb.append(" reviewerComments: ").append(toIndentedString(reviewerComments)).append("\n"); - sb.append(" queue: ").append(toIndentedString(queue)).append("\n"); - sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); - sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (merchantReferenceNumber != null) sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); + if (conversionTime != null) sb.append(" conversionTime: ").append(toIndentedString(conversionTime)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (originalDecision != null) sb.append(" originalDecision: ").append(toIndentedString(originalDecision)).append("\n"); + if (newDecision != null) sb.append(" newDecision: ").append(toIndentedString(newDecision)).append("\n"); + if (reviewer != null) sb.append(" reviewer: ").append(toIndentedString(reviewer)).append("\n"); + if (reviewerComments != null) sb.append(" reviewerComments: ").append(toIndentedString(reviewerComments)).append("\n"); + if (queue != null) sb.append(" queue: ").append(toIndentedString(queue)).append("\n"); + if (profile != null) sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); + if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -304,10 +304,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseNotes.java b/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseNotes.java index 89d18a828..e7acebb94 100644 --- a/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseNotes.java +++ b/src/main/java/Model/ReportingV3ConversionDetailsGet200ResponseNotes.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ConversionDetailsGet200ResponseNotes {\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append(" addedBy: ").append(toIndentedString(addedBy)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (time != null) sb.append(" time: ").append(toIndentedString(time)).append("\n"); + if (addedBy != null) sb.append(" addedBy: ").append(toIndentedString(addedBy)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200Response.java b/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200Response.java index 971324dde..b6cff39a0 100644 --- a/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200Response.java +++ b/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200Response.java @@ -130,9 +130,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3InterchangeClearingLevelDetailsGet200Response {\n"); - sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); - sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); - sb.append(" interchangeClearingLevelDetails: ").append(toIndentedString(interchangeClearingLevelDetails)).append("\n"); + if (startDate != null) sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + if (endDate != null) sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + if (interchangeClearingLevelDetails != null) sb.append(" interchangeClearingLevelDetails: ").append(toIndentedString(interchangeClearingLevelDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -143,10 +143,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.java b/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.java index a38f63d6e..221d32b77 100644 --- a/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.java +++ b/src/main/java/Model/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.java @@ -1175,57 +1175,57 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); - sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); - sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); - sb.append(" accountSuffix: ").append(toIndentedString(accountSuffix)).append("\n"); - sb.append(" paymentSubType: ").append(toIndentedString(paymentSubType)).append("\n"); - sb.append(" paymentSubTypeDescription: ").append(toIndentedString(paymentSubTypeDescription)).append("\n"); - sb.append(" transactionTime: ").append(toIndentedString(transactionTime)).append("\n"); - sb.append(" processedTime: ").append(toIndentedString(processedTime)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" priceType: ").append(toIndentedString(priceType)).append("\n"); - sb.append(" priceAmountOne: ").append(toIndentedString(priceAmountOne)).append("\n"); - sb.append(" priceAmountTwo: ").append(toIndentedString(priceAmountTwo)).append("\n"); - sb.append(" reClass: ").append(toIndentedString(reClass)).append("\n"); - sb.append(" settlementTime: ").append(toIndentedString(settlementTime)).append("\n"); - sb.append(" settlementProcessor: ").append(toIndentedString(settlementProcessor)).append("\n"); - sb.append(" merchantBatchNumber: ").append(toIndentedString(merchantBatchNumber)).append("\n"); - sb.append(" clearedLevel: ").append(toIndentedString(clearedLevel)).append("\n"); - sb.append(" billbackReasonCode: ").append(toIndentedString(billbackReasonCode)).append("\n"); - sb.append(" billbackReasonDescription: ").append(toIndentedString(billbackReasonDescription)).append("\n"); - sb.append(" merchantPricedLevel: ").append(toIndentedString(merchantPricedLevel)).append("\n"); - sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" clearingRateAmountOne: ").append(toIndentedString(clearingRateAmountOne)).append("\n"); - sb.append(" clearingRateAmountTwo: ").append(toIndentedString(clearingRateAmountTwo)).append("\n"); - sb.append(" clearingRateAmountThree: ").append(toIndentedString(clearingRateAmountThree)).append("\n"); - sb.append(" clearingRateCurrencyCode: ").append(toIndentedString(clearingRateCurrencyCode)).append("\n"); - sb.append(" interchangeAmount: ").append(toIndentedString(interchangeAmount)).append("\n"); - sb.append(" billbackAmount: ").append(toIndentedString(billbackAmount)).append("\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrencyCode: ").append(toIndentedString(settlementCurrencyCode)).append("\n"); - sb.append(" conversionRate: ").append(toIndentedString(conversionRate)).append("\n"); - sb.append(" deltaCost: ").append(toIndentedString(deltaCost)).append("\n"); - sb.append(" surchargeAmount: ").append(toIndentedString(surchargeAmount)).append("\n"); - sb.append(" percentRateCharged: ").append(toIndentedString(percentRateCharged)).append("\n"); - sb.append(" perTransactionCharged: ").append(toIndentedString(perTransactionCharged)).append("\n"); - sb.append(" downgradeReasonCode: ").append(toIndentedString(downgradeReasonCode)).append("\n"); - sb.append(" processTime: ").append(toIndentedString(processTime)).append("\n"); - sb.append(" authCode: ").append(toIndentedString(authCode)).append("\n"); - sb.append(" batchTime: ").append(toIndentedString(batchTime)).append("\n"); - sb.append(" processorBatchNumber: ").append(toIndentedString(processorBatchNumber)).append("\n"); - sb.append(" cardIndicator: ").append(toIndentedString(cardIndicator)).append("\n"); - sb.append(" minimumUnit: ").append(toIndentedString(minimumUnit)).append("\n"); - sb.append(" minimumUnitCurrencyCode: ").append(toIndentedString(minimumUnitCurrencyCode)).append("\n"); - sb.append(" creditDeltaIndicator: ").append(toIndentedString(creditDeltaIndicator)).append("\n"); - sb.append(" feeCategory: ").append(toIndentedString(feeCategory)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (processorMerchantId != null) sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); + if (transactionReferenceNumber != null) sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); + if (merchantReferenceNumber != null) sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); + if (accountSuffix != null) sb.append(" accountSuffix: ").append(toIndentedString(accountSuffix)).append("\n"); + if (paymentSubType != null) sb.append(" paymentSubType: ").append(toIndentedString(paymentSubType)).append("\n"); + if (paymentSubTypeDescription != null) sb.append(" paymentSubTypeDescription: ").append(toIndentedString(paymentSubTypeDescription)).append("\n"); + if (transactionTime != null) sb.append(" transactionTime: ").append(toIndentedString(transactionTime)).append("\n"); + if (processedTime != null) sb.append(" processedTime: ").append(toIndentedString(processedTime)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (priceType != null) sb.append(" priceType: ").append(toIndentedString(priceType)).append("\n"); + if (priceAmountOne != null) sb.append(" priceAmountOne: ").append(toIndentedString(priceAmountOne)).append("\n"); + if (priceAmountTwo != null) sb.append(" priceAmountTwo: ").append(toIndentedString(priceAmountTwo)).append("\n"); + if (reClass != null) sb.append(" reClass: ").append(toIndentedString(reClass)).append("\n"); + if (settlementTime != null) sb.append(" settlementTime: ").append(toIndentedString(settlementTime)).append("\n"); + if (settlementProcessor != null) sb.append(" settlementProcessor: ").append(toIndentedString(settlementProcessor)).append("\n"); + if (merchantBatchNumber != null) sb.append(" merchantBatchNumber: ").append(toIndentedString(merchantBatchNumber)).append("\n"); + if (clearedLevel != null) sb.append(" clearedLevel: ").append(toIndentedString(clearedLevel)).append("\n"); + if (billbackReasonCode != null) sb.append(" billbackReasonCode: ").append(toIndentedString(billbackReasonCode)).append("\n"); + if (billbackReasonDescription != null) sb.append(" billbackReasonDescription: ").append(toIndentedString(billbackReasonDescription)).append("\n"); + if (merchantPricedLevel != null) sb.append(" merchantPricedLevel: ").append(toIndentedString(merchantPricedLevel)).append("\n"); + if (discountRate != null) sb.append(" discountRate: ").append(toIndentedString(discountRate)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (clearingRateAmountOne != null) sb.append(" clearingRateAmountOne: ").append(toIndentedString(clearingRateAmountOne)).append("\n"); + if (clearingRateAmountTwo != null) sb.append(" clearingRateAmountTwo: ").append(toIndentedString(clearingRateAmountTwo)).append("\n"); + if (clearingRateAmountThree != null) sb.append(" clearingRateAmountThree: ").append(toIndentedString(clearingRateAmountThree)).append("\n"); + if (clearingRateCurrencyCode != null) sb.append(" clearingRateCurrencyCode: ").append(toIndentedString(clearingRateCurrencyCode)).append("\n"); + if (interchangeAmount != null) sb.append(" interchangeAmount: ").append(toIndentedString(interchangeAmount)).append("\n"); + if (billbackAmount != null) sb.append(" billbackAmount: ").append(toIndentedString(billbackAmount)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrencyCode != null) sb.append(" settlementCurrencyCode: ").append(toIndentedString(settlementCurrencyCode)).append("\n"); + if (conversionRate != null) sb.append(" conversionRate: ").append(toIndentedString(conversionRate)).append("\n"); + if (deltaCost != null) sb.append(" deltaCost: ").append(toIndentedString(deltaCost)).append("\n"); + if (surchargeAmount != null) sb.append(" surchargeAmount: ").append(toIndentedString(surchargeAmount)).append("\n"); + if (percentRateCharged != null) sb.append(" percentRateCharged: ").append(toIndentedString(percentRateCharged)).append("\n"); + if (perTransactionCharged != null) sb.append(" perTransactionCharged: ").append(toIndentedString(perTransactionCharged)).append("\n"); + if (downgradeReasonCode != null) sb.append(" downgradeReasonCode: ").append(toIndentedString(downgradeReasonCode)).append("\n"); + if (processTime != null) sb.append(" processTime: ").append(toIndentedString(processTime)).append("\n"); + if (authCode != null) sb.append(" authCode: ").append(toIndentedString(authCode)).append("\n"); + if (batchTime != null) sb.append(" batchTime: ").append(toIndentedString(batchTime)).append("\n"); + if (processorBatchNumber != null) sb.append(" processorBatchNumber: ").append(toIndentedString(processorBatchNumber)).append("\n"); + if (cardIndicator != null) sb.append(" cardIndicator: ").append(toIndentedString(cardIndicator)).append("\n"); + if (minimumUnit != null) sb.append(" minimumUnit: ").append(toIndentedString(minimumUnit)).append("\n"); + if (minimumUnitCurrencyCode != null) sb.append(" minimumUnitCurrencyCode: ").append(toIndentedString(minimumUnitCurrencyCode)).append("\n"); + if (creditDeltaIndicator != null) sb.append(" creditDeltaIndicator: ").append(toIndentedString(creditDeltaIndicator)).append("\n"); + if (feeCategory != null) sb.append(" feeCategory: ").append(toIndentedString(feeCategory)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1236,10 +1236,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3NetFundingsGet200Response.java b/src/main/java/Model/ReportingV3NetFundingsGet200Response.java index 4b21b47ed..d9dd428b6 100644 --- a/src/main/java/Model/ReportingV3NetFundingsGet200Response.java +++ b/src/main/java/Model/ReportingV3NetFundingsGet200Response.java @@ -281,14 +281,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3NetFundingsGet200Response {\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" netFundingSummaries: ").append(toIndentedString(netFundingSummaries)).append("\n"); - sb.append(" totalPurchases: ").append(toIndentedString(totalPurchases)).append("\n"); - sb.append(" totalRefunds: ").append(toIndentedString(totalRefunds)).append("\n"); - sb.append(" totalFees: ").append(toIndentedString(totalFees)).append("\n"); - sb.append(" totalChargebacks: ").append(toIndentedString(totalChargebacks)).append("\n"); - sb.append(" netTotal: ").append(toIndentedString(netTotal)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (netFundingSummaries != null) sb.append(" netFundingSummaries: ").append(toIndentedString(netFundingSummaries)).append("\n"); + if (totalPurchases != null) sb.append(" totalPurchases: ").append(toIndentedString(totalPurchases)).append("\n"); + if (totalRefunds != null) sb.append(" totalRefunds: ").append(toIndentedString(totalRefunds)).append("\n"); + if (totalFees != null) sb.append(" totalFees: ").append(toIndentedString(totalFees)).append("\n"); + if (totalChargebacks != null) sb.append(" totalChargebacks: ").append(toIndentedString(totalChargebacks)).append("\n"); + if (netTotal != null) sb.append(" netTotal: ").append(toIndentedString(netTotal)).append("\n"); sb.append("}"); return sb.toString(); } @@ -299,10 +299,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3NetFundingsGet200ResponseNetFundingSummaries.java b/src/main/java/Model/ReportingV3NetFundingsGet200ResponseNetFundingSummaries.java index ec644bea3..f040cbb18 100644 --- a/src/main/java/Model/ReportingV3NetFundingsGet200ResponseNetFundingSummaries.java +++ b/src/main/java/Model/ReportingV3NetFundingsGet200ResponseNetFundingSummaries.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3NetFundingsGet200ResponseNetFundingSummaries {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" paymentSubType: ").append(toIndentedString(paymentSubType)).append("\n"); - sb.append(" conveyedCount: ").append(toIndentedString(conveyedCount)).append("\n"); - sb.append(" conveyedAmount: ").append(toIndentedString(conveyedAmount)).append("\n"); - sb.append(" settledCount: ").append(toIndentedString(settledCount)).append("\n"); - sb.append(" fundedCount: ").append(toIndentedString(fundedCount)).append("\n"); - sb.append(" fundedAmount: ").append(toIndentedString(fundedAmount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (paymentSubType != null) sb.append(" paymentSubType: ").append(toIndentedString(paymentSubType)).append("\n"); + if (conveyedCount != null) sb.append(" conveyedCount: ").append(toIndentedString(conveyedCount)).append("\n"); + if (conveyedAmount != null) sb.append(" conveyedAmount: ").append(toIndentedString(conveyedAmount)).append("\n"); + if (settledCount != null) sb.append(" settledCount: ").append(toIndentedString(settledCount)).append("\n"); + if (fundedCount != null) sb.append(" fundedCount: ").append(toIndentedString(fundedCount)).append("\n"); + if (fundedAmount != null) sb.append(" fundedAmount: ").append(toIndentedString(fundedAmount)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3NetFundingsGet200ResponseTotalPurchases.java b/src/main/java/Model/ReportingV3NetFundingsGet200ResponseTotalPurchases.java index 104ed341d..f114701e5 100644 --- a/src/main/java/Model/ReportingV3NetFundingsGet200ResponseTotalPurchases.java +++ b/src/main/java/Model/ReportingV3NetFundingsGet200ResponseTotalPurchases.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3NetFundingsGet200ResponseTotalPurchases {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3NotificationofChangesGet200Response.java b/src/main/java/Model/ReportingV3NotificationofChangesGet200Response.java index ccaf6438b..07c1bd07b 100644 --- a/src/main/java/Model/ReportingV3NotificationofChangesGet200Response.java +++ b/src/main/java/Model/ReportingV3NotificationofChangesGet200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3NotificationofChangesGet200Response {\n"); - sb.append(" notificationOfChanges: ").append(toIndentedString(notificationOfChanges)).append("\n"); + if (notificationOfChanges != null) sb.append(" notificationOfChanges: ").append(toIndentedString(notificationOfChanges)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges.java b/src/main/java/Model/ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges.java index 0798537f8..7db0171ef 100644 --- a/src/main/java/Model/ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges.java +++ b/src/main/java/Model/ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges.java @@ -230,14 +230,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges {\n"); - sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); - sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); - sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" consumerName: ").append(toIndentedString(consumerName)).append("\n"); + if (merchantReferenceNumber != null) sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); + if (transactionReferenceNumber != null) sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); + if (time != null) sb.append(" time: ").append(toIndentedString(time)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (routingNumber != null) sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); + if (accountNumber != null) sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + if (consumerName != null) sb.append(" consumerName: ").append(toIndentedString(consumerName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -248,10 +248,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200Response.java b/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200Response.java index 430daedf0..16463c732 100644 --- a/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200Response.java +++ b/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200Response.java @@ -130,9 +130,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PaymentBatchSummariesGet200Response {\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" paymentBatchSummaries: ").append(toIndentedString(paymentBatchSummaries)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (paymentBatchSummaries != null) sb.append(" paymentBatchSummaries: ").append(toIndentedString(paymentBatchSummaries)).append("\n"); sb.append("}"); return sb.toString(); } @@ -143,10 +143,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries.java b/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries.java index 135148e4e..a7ee4fd00 100644 --- a/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries.java +++ b/src/main/java/Model/ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries.java @@ -317,18 +317,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries {\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" paymentSubTypeDescription: ").append(toIndentedString(paymentSubTypeDescription)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" salesCount: ").append(toIndentedString(salesCount)).append("\n"); - sb.append(" salesAmount: ").append(toIndentedString(salesAmount)).append("\n"); - sb.append(" creditCount: ").append(toIndentedString(creditCount)).append("\n"); - sb.append(" creditAmount: ").append(toIndentedString(creditAmount)).append("\n"); - sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (paymentSubTypeDescription != null) sb.append(" paymentSubTypeDescription: ").append(toIndentedString(paymentSubTypeDescription)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (salesCount != null) sb.append(" salesCount: ").append(toIndentedString(salesCount)).append("\n"); + if (salesAmount != null) sb.append(" salesAmount: ").append(toIndentedString(salesAmount)).append("\n"); + if (creditCount != null) sb.append(" creditCount: ").append(toIndentedString(creditCount)).append("\n"); + if (creditAmount != null) sb.append(" creditAmount: ").append(toIndentedString(creditAmount)).append("\n"); + if (accountName != null) sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (merchantName != null) sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -339,10 +339,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200Response.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200Response.java index 204c887e6..f8735a987 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200Response.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200Response.java @@ -307,15 +307,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200Response {\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" pageResults: ").append(toIndentedString(pageResults)).append("\n"); - sb.append(" requestDetails: ").append(toIndentedString(requestDetails)).append("\n"); - sb.append(" settlements: ").append(toIndentedString(settlements)).append("\n"); - sb.append(" authorizations: ").append(toIndentedString(authorizations)).append("\n"); - sb.append(" feeAndFundingDetails: ").append(toIndentedString(feeAndFundingDetails)).append("\n"); - sb.append(" others: ").append(toIndentedString(others)).append("\n"); - sb.append(" settlementStatuses: ").append(toIndentedString(settlementStatuses)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (pageResults != null) sb.append(" pageResults: ").append(toIndentedString(pageResults)).append("\n"); + if (requestDetails != null) sb.append(" requestDetails: ").append(toIndentedString(requestDetails)).append("\n"); + if (settlements != null) sb.append(" settlements: ").append(toIndentedString(settlements)).append("\n"); + if (authorizations != null) sb.append(" authorizations: ").append(toIndentedString(authorizations)).append("\n"); + if (feeAndFundingDetails != null) sb.append(" feeAndFundingDetails: ").append(toIndentedString(feeAndFundingDetails)).append("\n"); + if (others != null) sb.append(" others: ").append(toIndentedString(others)).append("\n"); + if (settlementStatuses != null) sb.append(" settlementStatuses: ").append(toIndentedString(settlementStatuses)).append("\n"); sb.append("}"); return sb.toString(); } @@ -326,10 +326,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations.java index 1e3a8b7e7..757144ae9 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations.java @@ -230,14 +230,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append(" authorizationRequestId: ").append(toIndentedString(authorizationRequestId)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" rcode: ").append(toIndentedString(rcode)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (transactionReferenceNumber != null) sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); + if (time != null) sb.append(" time: ").append(toIndentedString(time)).append("\n"); + if (authorizationRequestId != null) sb.append(" authorizationRequestId: ").append(toIndentedString(authorizationRequestId)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (rcode != null) sb.append(" rcode: ").append(toIndentedString(rcode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -248,10 +248,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails.java index 146b39985..24833eda5 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails.java @@ -339,19 +339,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" interchangePerItemFee: ").append(toIndentedString(interchangePerItemFee)).append("\n"); - sb.append(" interchangeDescription: ").append(toIndentedString(interchangeDescription)).append("\n"); - sb.append(" interchangePercentage: ").append(toIndentedString(interchangePercentage)).append("\n"); - sb.append(" interchangePercentageAmount: ").append(toIndentedString(interchangePercentageAmount)).append("\n"); - sb.append(" discountPercentage: ").append(toIndentedString(discountPercentage)).append("\n"); - sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); - sb.append(" discountPerItemFee: ").append(toIndentedString(discountPerItemFee)).append("\n"); - sb.append(" totalFee: ").append(toIndentedString(totalFee)).append("\n"); - sb.append(" feeCurrency: ").append(toIndentedString(feeCurrency)).append("\n"); - sb.append(" duesAssessments: ").append(toIndentedString(duesAssessments)).append("\n"); - sb.append(" fundingAmount: ").append(toIndentedString(fundingAmount)).append("\n"); - sb.append(" fundingCurrency: ").append(toIndentedString(fundingCurrency)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (interchangePerItemFee != null) sb.append(" interchangePerItemFee: ").append(toIndentedString(interchangePerItemFee)).append("\n"); + if (interchangeDescription != null) sb.append(" interchangeDescription: ").append(toIndentedString(interchangeDescription)).append("\n"); + if (interchangePercentage != null) sb.append(" interchangePercentage: ").append(toIndentedString(interchangePercentage)).append("\n"); + if (interchangePercentageAmount != null) sb.append(" interchangePercentageAmount: ").append(toIndentedString(interchangePercentageAmount)).append("\n"); + if (discountPercentage != null) sb.append(" discountPercentage: ").append(toIndentedString(discountPercentage)).append("\n"); + if (discountAmount != null) sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n"); + if (discountPerItemFee != null) sb.append(" discountPerItemFee: ").append(toIndentedString(discountPerItemFee)).append("\n"); + if (totalFee != null) sb.append(" totalFee: ").append(toIndentedString(totalFee)).append("\n"); + if (feeCurrency != null) sb.append(" feeCurrency: ").append(toIndentedString(feeCurrency)).append("\n"); + if (duesAssessments != null) sb.append(" duesAssessments: ").append(toIndentedString(duesAssessments)).append("\n"); + if (fundingAmount != null) sb.append(" fundingAmount: ").append(toIndentedString(fundingAmount)).append("\n"); + if (fundingCurrency != null) sb.append(" fundingCurrency: ").append(toIndentedString(fundingCurrency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -362,10 +362,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseOthers.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseOthers.java index 2c503d114..138d4293a 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseOthers.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseOthers.java @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200ResponseOthers {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" merchantData1: ").append(toIndentedString(merchantData1)).append("\n"); - sb.append(" merchantData2: ").append(toIndentedString(merchantData2)).append("\n"); - sb.append(" merchantData3: ").append(toIndentedString(merchantData3)).append("\n"); - sb.append(" merchantData4: ").append(toIndentedString(merchantData4)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (merchantData1 != null) sb.append(" merchantData1: ").append(toIndentedString(merchantData1)).append("\n"); + if (merchantData2 != null) sb.append(" merchantData2: ").append(toIndentedString(merchantData2)).append("\n"); + if (merchantData3 != null) sb.append(" merchantData3: ").append(toIndentedString(merchantData3)).append("\n"); + if (merchantData4 != null) sb.append(" merchantData4: ").append(toIndentedString(merchantData4)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails.java index ee9345ef2..17f18748c 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" cybersourceMerchantId: ").append(toIndentedString(cybersourceMerchantId)).append("\n"); - sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); - sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); - sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); - sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (cybersourceMerchantId != null) sb.append(" cybersourceMerchantId: ").append(toIndentedString(cybersourceMerchantId)).append("\n"); + if (processorMerchantId != null) sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); + if (groupName != null) sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); + if (transactionReferenceNumber != null) sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); + if (merchantReferenceNumber != null) sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses.java index 34afb2e89..3d14309ac 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" settlementTime: ").append(toIndentedString(settlementTime)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" errorText: ").append(toIndentedString(errorText)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (settlementTime != null) sb.append(" settlementTime: ").append(toIndentedString(settlementTime)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (errorText != null) sb.append(" errorText: ").append(toIndentedString(errorText)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlements.java b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlements.java index 9c62a6d3a..f15d83318 100644 --- a/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlements.java +++ b/src/main/java/Model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlements.java @@ -339,19 +339,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3PurchaseRefundDetailsGet200ResponseSettlements {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" submissionTime: ").append(toIndentedString(submissionTime)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); - sb.append(" walletType: ").append(toIndentedString(walletType)).append("\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" accountSuffix: ").append(toIndentedString(accountSuffix)).append("\n"); - sb.append(" cybersourceBatchTime: ").append(toIndentedString(cybersourceBatchTime)).append("\n"); - sb.append(" cybersourceBatchId: ").append(toIndentedString(cybersourceBatchId)).append("\n"); - sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); - sb.append(" debitNetwork: ").append(toIndentedString(debitNetwork)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (submissionTime != null) sb.append(" submissionTime: ").append(toIndentedString(submissionTime)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (paymentMethod != null) sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); + if (walletType != null) sb.append(" walletType: ").append(toIndentedString(walletType)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (accountSuffix != null) sb.append(" accountSuffix: ").append(toIndentedString(accountSuffix)).append("\n"); + if (cybersourceBatchTime != null) sb.append(" cybersourceBatchTime: ").append(toIndentedString(cybersourceBatchTime)).append("\n"); + if (cybersourceBatchId != null) sb.append(" cybersourceBatchId: ").append(toIndentedString(cybersourceBatchId)).append("\n"); + if (cardType != null) sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); + if (debitNetwork != null) sb.append(" debitNetwork: ").append(toIndentedString(debitNetwork)).append("\n"); sb.append("}"); return sb.toString(); } @@ -362,10 +362,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportDefinitionsGet200Response.java b/src/main/java/Model/ReportingV3ReportDefinitionsGet200Response.java index f2ad41c21..f75f5eb8b 100644 --- a/src/main/java/Model/ReportingV3ReportDefinitionsGet200Response.java +++ b/src/main/java/Model/ReportingV3ReportDefinitionsGet200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportDefinitionsGet200Response {\n"); - sb.append(" reportDefinitions: ").append(toIndentedString(reportDefinitions)).append("\n"); + if (reportDefinitions != null) sb.append(" reportDefinitions: ").append(toIndentedString(reportDefinitions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java b/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java index 97e9fde9c..b369a4c6b 100644 --- a/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java +++ b/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java @@ -217,13 +217,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportDefinitionsGet200ResponseReportDefinitions {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); - sb.append(" reportDefintionName: ").append(toIndentedString(reportDefintionName)).append("\n"); - sb.append(" supportedFormats: ").append(toIndentedString(supportedFormats)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" defaultSettings: ").append(toIndentedString(defaultSettings)).append("\n"); - sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (reportDefinitionId != null) sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); + if (reportDefintionName != null) sb.append(" reportDefintionName: ").append(toIndentedString(reportDefintionName)).append("\n"); + if (supportedFormats != null) sb.append(" supportedFormats: ").append(toIndentedString(supportedFormats)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (defaultSettings != null) sb.append(" defaultSettings: ").append(toIndentedString(defaultSettings)).append("\n"); + if (subscriptionType != null) sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -234,10 +234,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200Response.java b/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200Response.java index f3964f96c..bdecf12fd 100644 --- a/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200Response.java +++ b/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200Response.java @@ -248,14 +248,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportDefinitionsNameGet200Response {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); - sb.append(" reportDefintionName: ").append(toIndentedString(reportDefintionName)).append("\n"); - sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); - sb.append(" supportedFormats: ").append(toIndentedString(supportedFormats)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" defaultSettings: ").append(toIndentedString(defaultSettings)).append("\n"); - sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (reportDefinitionId != null) sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); + if (reportDefintionName != null) sb.append(" reportDefintionName: ").append(toIndentedString(reportDefintionName)).append("\n"); + if (attributes != null) sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + if (supportedFormats != null) sb.append(" supportedFormats: ").append(toIndentedString(supportedFormats)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (defaultSettings != null) sb.append(" defaultSettings: ").append(toIndentedString(defaultSettings)).append("\n"); + if (subscriptionType != null) sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -266,10 +266,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseAttributes.java b/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseAttributes.java index 16c065d05..807a7e32e 100644 --- a/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseAttributes.java +++ b/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseAttributes.java @@ -132,7 +132,7 @@ public ReportingV3ReportDefinitionsNameGet200ResponseAttributes _default(Boolean * @return _default **/ @ApiModelProperty(value = "") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -150,7 +150,7 @@ public ReportingV3ReportDefinitionsNameGet200ResponseAttributes required(Boolean * @return required **/ @ApiModelProperty(value = "") - public Boolean isRequired() { + public Boolean Required() { return required; } @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportDefinitionsNameGet200ResponseAttributes {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" filterType: ").append(toIndentedString(filterType)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" required: ").append(toIndentedString(required)).append("\n"); - sb.append(" supportedType: ").append(toIndentedString(supportedType)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (filterType != null) sb.append(" filterType: ").append(toIndentedString(filterType)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (required != null) sb.append(" required: ").append(toIndentedString(required)).append("\n"); + if (supportedType != null) sb.append(" supportedType: ").append(toIndentedString(supportedType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.java b/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.java index f6fac5d34..a65726a06 100644 --- a/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.java +++ b/src/main/java/Model/ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.java @@ -240,14 +240,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings {\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); - sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); - sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportFrequency != null) sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (startDay != null) sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); + if (reportFilters != null) sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); + if (reportPreferences != null) sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); sb.append("}"); return sb.toString(); } @@ -258,10 +258,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportSubscriptionsGet200Response.java b/src/main/java/Model/ReportingV3ReportSubscriptionsGet200Response.java index 99f4ff683..ce3fcd18f 100644 --- a/src/main/java/Model/ReportingV3ReportSubscriptionsGet200Response.java +++ b/src/main/java/Model/ReportingV3ReportSubscriptionsGet200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportSubscriptionsGet200Response {\n"); - sb.append(" subscriptions: ").append(toIndentedString(subscriptions)).append("\n"); + if (subscriptions != null) sb.append(" subscriptions: ").append(toIndentedString(subscriptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions.java b/src/main/java/Model/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions.java index 15ed6e73e..e93f754b4 100644 --- a/src/main/java/Model/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions.java +++ b/src/main/java/Model/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions.java @@ -383,20 +383,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportSubscriptionsGet200ResponseSubscriptions {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); - sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); - sb.append(" reportInterval: ").append(toIndentedString(reportInterval)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); - sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); - sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); - sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); - sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (reportDefinitionId != null) sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); + if (reportDefinitionName != null) sb.append(" reportDefinitionName: ").append(toIndentedString(reportDefinitionName)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportFrequency != null) sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); + if (reportInterval != null) sb.append(" reportInterval: ").append(toIndentedString(reportInterval)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (startDay != null) sb.append(" startDay: ").append(toIndentedString(startDay)).append("\n"); + if (reportFields != null) sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); + if (reportFilters != null) sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); + if (reportPreferences != null) sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); + if (groupId != null) sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -407,10 +407,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportsGet200Response.java b/src/main/java/Model/ReportingV3ReportsGet200Response.java index c92dc30f7..03de88fa3 100644 --- a/src/main/java/Model/ReportingV3ReportsGet200Response.java +++ b/src/main/java/Model/ReportingV3ReportsGet200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportsGet200Response {\n"); - sb.append(" reportSearchResults: ").append(toIndentedString(reportSearchResults)).append("\n"); + if (reportSearchResults != null) sb.append(" reportSearchResults: ").append(toIndentedString(reportSearchResults)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportsGet200ResponseLink.java b/src/main/java/Model/ReportingV3ReportsGet200ResponseLink.java index 0043a7ce8..054bb63f4 100644 --- a/src/main/java/Model/ReportingV3ReportsGet200ResponseLink.java +++ b/src/main/java/Model/ReportingV3ReportsGet200ResponseLink.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportsGet200ResponseLink {\n"); - sb.append(" reportDownload: ").append(toIndentedString(reportDownload)).append("\n"); + if (reportDownload != null) sb.append(" reportDownload: ").append(toIndentedString(reportDownload)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportsGet200ResponseLinkReportDownload.java b/src/main/java/Model/ReportingV3ReportsGet200ResponseLinkReportDownload.java index bc410c23d..7a5e03fca 100644 --- a/src/main/java/Model/ReportingV3ReportsGet200ResponseLinkReportDownload.java +++ b/src/main/java/Model/ReportingV3ReportsGet200ResponseLinkReportDownload.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportsGet200ResponseLinkReportDownload {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportsGet200ResponseReportSearchResults.java b/src/main/java/Model/ReportingV3ReportsGet200ResponseReportSearchResults.java index 0bc5a0e8b..b96dcb258 100644 --- a/src/main/java/Model/ReportingV3ReportsGet200ResponseReportSearchResults.java +++ b/src/main/java/Model/ReportingV3ReportsGet200ResponseReportSearchResults.java @@ -407,22 +407,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportsGet200ResponseReportSearchResults {\n"); - sb.append(" link: ").append(toIndentedString(link)).append("\n"); - sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reportStartTime: ").append(toIndentedString(reportStartTime)).append("\n"); - sb.append(" reportEndTime: ").append(toIndentedString(reportEndTime)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" queuedTime: ").append(toIndentedString(queuedTime)).append("\n"); - sb.append(" reportGeneratingTime: ").append(toIndentedString(reportGeneratingTime)).append("\n"); - sb.append(" reportCompletedTime: ").append(toIndentedString(reportCompletedTime)).append("\n"); - sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); - sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + if (link != null) sb.append(" link: ").append(toIndentedString(link)).append("\n"); + if (reportDefinitionId != null) sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportFrequency != null) sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reportStartTime != null) sb.append(" reportStartTime: ").append(toIndentedString(reportStartTime)).append("\n"); + if (reportEndTime != null) sb.append(" reportEndTime: ").append(toIndentedString(reportEndTime)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (reportId != null) sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (queuedTime != null) sb.append(" queuedTime: ").append(toIndentedString(queuedTime)).append("\n"); + if (reportGeneratingTime != null) sb.append(" reportGeneratingTime: ").append(toIndentedString(reportGeneratingTime)).append("\n"); + if (reportCompletedTime != null) sb.append(" reportCompletedTime: ").append(toIndentedString(reportCompletedTime)).append("\n"); + if (subscriptionType != null) sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); + if (groupId != null) sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -433,10 +433,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3ReportsIdGet200Response.java b/src/main/java/Model/ReportingV3ReportsIdGet200Response.java index b09f4d572..ee87cc0fb 100644 --- a/src/main/java/Model/ReportingV3ReportsIdGet200Response.java +++ b/src/main/java/Model/ReportingV3ReportsIdGet200Response.java @@ -383,20 +383,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3ReportsIdGet200Response {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n"); - sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); - sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); - sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); - sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); - sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); - sb.append(" reportStatus: ").append(toIndentedString(reportStatus)).append("\n"); - sb.append(" reportStartTime: ").append(toIndentedString(reportStartTime)).append("\n"); - sb.append(" reportEndTime: ").append(toIndentedString(reportEndTime)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); - sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); - sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (reportId != null) sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n"); + if (reportDefinitionId != null) sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n"); + if (reportName != null) sb.append(" reportName: ").append(toIndentedString(reportName)).append("\n"); + if (reportMimeType != null) sb.append(" reportMimeType: ").append(toIndentedString(reportMimeType)).append("\n"); + if (reportFrequency != null) sb.append(" reportFrequency: ").append(toIndentedString(reportFrequency)).append("\n"); + if (reportFields != null) sb.append(" reportFields: ").append(toIndentedString(reportFields)).append("\n"); + if (reportStatus != null) sb.append(" reportStatus: ").append(toIndentedString(reportStatus)).append("\n"); + if (reportStartTime != null) sb.append(" reportStartTime: ").append(toIndentedString(reportStartTime)).append("\n"); + if (reportEndTime != null) sb.append(" reportEndTime: ").append(toIndentedString(reportEndTime)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (reportFilters != null) sb.append(" reportFilters: ").append(toIndentedString(reportFilters)).append("\n"); + if (reportPreferences != null) sb.append(" reportPreferences: ").append(toIndentedString(reportPreferences)).append("\n"); + if (groupId != null) sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -407,10 +407,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3RetrievalDetailsGet200Response.java b/src/main/java/Model/ReportingV3RetrievalDetailsGet200Response.java index 9f0d7a21b..2e96be607 100644 --- a/src/main/java/Model/ReportingV3RetrievalDetailsGet200Response.java +++ b/src/main/java/Model/ReportingV3RetrievalDetailsGet200Response.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3RetrievalDetailsGet200Response {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" retrievalDetails: ").append(toIndentedString(retrievalDetails)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (retrievalDetails != null) sb.append(" retrievalDetails: ").append(toIndentedString(retrievalDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.java b/src/main/java/Model/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.java index 9f241e527..a5b98224c 100644 --- a/src/main/java/Model/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.java +++ b/src/main/java/Model/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.java @@ -537,28 +537,28 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails {\n"); - sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); - sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); - sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); - sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); - sb.append(" natureOfDispute: ").append(toIndentedString(natureOfDispute)).append("\n"); - sb.append(" alertType: ").append(toIndentedString(alertType)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" sign: ").append(toIndentedString(sign)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); - sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); - sb.append(" originalSettlementTime: ").append(toIndentedString(originalSettlementTime)).append("\n"); - sb.append(" trackingNumber: ").append(toIndentedString(trackingNumber)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" responseDueTime: ").append(toIndentedString(responseDueTime)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append(" actionDescription: ").append(toIndentedString(actionDescription)).append("\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" representmentCPTime: ").append(toIndentedString(representmentCPTime)).append("\n"); - sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); - sb.append(" eventRequestedTime: ").append(toIndentedString(eventRequestedTime)).append("\n"); + if (processorMerchantId != null) sb.append(" processorMerchantId: ").append(toIndentedString(processorMerchantId)).append("\n"); + if (merchantName != null) sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); + if (transactionReferenceNumber != null) sb.append(" transactionReferenceNumber: ").append(toIndentedString(transactionReferenceNumber)).append("\n"); + if (merchantReferenceNumber != null) sb.append(" merchantReferenceNumber: ").append(toIndentedString(merchantReferenceNumber)).append("\n"); + if (natureOfDispute != null) sb.append(" natureOfDispute: ").append(toIndentedString(natureOfDispute)).append("\n"); + if (alertType != null) sb.append(" alertType: ").append(toIndentedString(alertType)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (sign != null) sb.append(" sign: ").append(toIndentedString(sign)).append("\n"); + if (action != null) sb.append(" action: ").append(toIndentedString(action)).append("\n"); + if (cardType != null) sb.append(" cardType: ").append(toIndentedString(cardType)).append("\n"); + if (originalSettlementTime != null) sb.append(" originalSettlementTime: ").append(toIndentedString(originalSettlementTime)).append("\n"); + if (trackingNumber != null) sb.append(" trackingNumber: ").append(toIndentedString(trackingNumber)).append("\n"); + if (currencyCode != null) sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (responseDueTime != null) sb.append(" responseDueTime: ").append(toIndentedString(responseDueTime)).append("\n"); + if (time != null) sb.append(" time: ").append(toIndentedString(time)).append("\n"); + if (actionDescription != null) sb.append(" actionDescription: ").append(toIndentedString(actionDescription)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (representmentCPTime != null) sb.append(" representmentCPTime: ").append(toIndentedString(representmentCPTime)).append("\n"); + if (applications != null) sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); + if (eventRequestedTime != null) sb.append(" eventRequestedTime: ").append(toIndentedString(eventRequestedTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -569,10 +569,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ReportingV3RetrievalSummariesGet200Response.java b/src/main/java/Model/ReportingV3RetrievalSummariesGet200Response.java index 7f7188d74..e9ab165eb 100644 --- a/src/main/java/Model/ReportingV3RetrievalSummariesGet200Response.java +++ b/src/main/java/Model/ReportingV3RetrievalSummariesGet200Response.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportingV3RetrievalSummariesGet200Response {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" retrievalSummaries: ").append(toIndentedString(retrievalSummaries)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (startTime != null) sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + if (endTime != null) sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + if (retrievalSummaries != null) sb.append(" retrievalSummaries: ").append(toIndentedString(retrievalSummaries)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Reportingv3ReportDownloadsGet400Response.java b/src/main/java/Model/Reportingv3ReportDownloadsGet400Response.java index 81ce70d10..e21fc32e9 100644 --- a/src/main/java/Model/Reportingv3ReportDownloadsGet400Response.java +++ b/src/main/java/Model/Reportingv3ReportDownloadsGet400Response.java @@ -150,10 +150,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Reportingv3ReportDownloadsGet400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -164,10 +164,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Reportingv3ReportDownloadsGet400ResponseDetails.java b/src/main/java/Model/Reportingv3ReportDownloadsGet400ResponseDetails.java index 8173d56d6..1cdb10ff4 100644 --- a/src/main/java/Model/Reportingv3ReportDownloadsGet400ResponseDetails.java +++ b/src/main/java/Model/Reportingv3ReportDownloadsGet400ResponseDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Reportingv3ReportDownloadsGet400ResponseDetails {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Reportingv3reportsReportFilters.java b/src/main/java/Model/Reportingv3reportsReportFilters.java index e44cccb90..794068368 100644 --- a/src/main/java/Model/Reportingv3reportsReportFilters.java +++ b/src/main/java/Model/Reportingv3reportsReportFilters.java @@ -174,10 +174,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Reportingv3reportsReportFilters {\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Reportingv3reportsReportPreferences.java b/src/main/java/Model/Reportingv3reportsReportPreferences.java index 3c06af95c..b3a900732 100644 --- a/src/main/java/Model/Reportingv3reportsReportPreferences.java +++ b/src/main/java/Model/Reportingv3reportsReportPreferences.java @@ -46,7 +46,7 @@ public Reportingv3reportsReportPreferences signedAmounts(Boolean signedAmounts) * @return signedAmounts **/ @ApiModelProperty(value = "Indicator to determine whether negative sign infront of amount for all refunded transaction") - public Boolean isSignedAmounts() { + public Boolean SignedAmounts() { return signedAmounts; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Reportingv3reportsReportPreferences {\n"); - sb.append(" signedAmounts: ").append(toIndentedString(signedAmounts)).append("\n"); - sb.append(" fieldNameConvention: ").append(toIndentedString(fieldNameConvention)).append("\n"); + if (signedAmounts != null) sb.append(" signedAmounts: ").append(toIndentedString(signedAmounts)).append("\n"); + if (fieldNameConvention != null) sb.append(" fieldNameConvention: ").append(toIndentedString(fieldNameConvention)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskProducts.java b/src/main/java/Model/RiskProducts.java index af5a9887b..8bb3a2139 100644 --- a/src/main/java/Model/RiskProducts.java +++ b/src/main/java/Model/RiskProducts.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskProducts {\n"); - sb.append(" fraudManagementEssentials: ").append(toIndentedString(fraudManagementEssentials)).append("\n"); - sb.append(" decisionManager: ").append(toIndentedString(decisionManager)).append("\n"); + if (fraudManagementEssentials != null) sb.append(" fraudManagementEssentials: ").append(toIndentedString(fraudManagementEssentials)).append("\n"); + if (decisionManager != null) sb.append(" decisionManager: ").append(toIndentedString(decisionManager)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskProductsDecisionManager.java b/src/main/java/Model/RiskProductsDecisionManager.java index 92a53e459..d02e735a4 100644 --- a/src/main/java/Model/RiskProductsDecisionManager.java +++ b/src/main/java/Model/RiskProductsDecisionManager.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskProductsDecisionManager {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskProductsDecisionManagerConfigurationInformation.java b/src/main/java/Model/RiskProductsDecisionManagerConfigurationInformation.java index b1971e509..03fe16e13 100644 --- a/src/main/java/Model/RiskProductsDecisionManagerConfigurationInformation.java +++ b/src/main/java/Model/RiskProductsDecisionManagerConfigurationInformation.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskProductsDecisionManagerConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); - sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (configurations != null) sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskProductsFraudManagementEssentials.java b/src/main/java/Model/RiskProductsFraudManagementEssentials.java index eec5953ad..71c463c0d 100644 --- a/src/main/java/Model/RiskProductsFraudManagementEssentials.java +++ b/src/main/java/Model/RiskProductsFraudManagementEssentials.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskProductsFraudManagementEssentials {\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (configurationInformation != null) sb.append(" configurationInformation: ").append(toIndentedString(configurationInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.java b/src/main/java/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.java index f272afd98..48847525e 100644 --- a/src/main/java/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.java +++ b/src/main/java/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskProductsFraudManagementEssentialsConfigurationInformation {\n"); - sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + if (templateId != null) sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AddressVerificationsPost201Response.java b/src/main/java/Model/RiskV1AddressVerificationsPost201Response.java index f8f6dd03b..e1986096b 100644 --- a/src/main/java/Model/RiskV1AddressVerificationsPost201Response.java +++ b/src/main/java/Model/RiskV1AddressVerificationsPost201Response.java @@ -254,15 +254,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AddressVerificationsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" submitTimeLocal: ").append(toIndentedString(submitTimeLocal)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" addressVerificationInformation: ").append(toIndentedString(addressVerificationInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (submitTimeLocal != null) sb.append(" submitTimeLocal: ").append(toIndentedString(submitTimeLocal)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (addressVerificationInformation != null) sb.append(" addressVerificationInformation: ").append(toIndentedString(addressVerificationInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -273,10 +273,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.java b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.java index a84a23f9f..5438bf4dd 100644 --- a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.java +++ b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.java @@ -230,14 +230,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation {\n"); - sb.append(" addressType: ").append(toIndentedString(addressType)).append("\n"); - sb.append(" barCode: ").append(toIndentedString(barCode)).append("\n"); - sb.append(" applicableRegion: ").append(toIndentedString(applicableRegion)).append("\n"); - sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); - sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n"); - sb.append(" careOf: ").append(toIndentedString(careOf)).append("\n"); - sb.append(" matchScore: ").append(toIndentedString(matchScore)).append("\n"); - sb.append(" standardAddress: ").append(toIndentedString(standardAddress)).append("\n"); + if (addressType != null) sb.append(" addressType: ").append(toIndentedString(addressType)).append("\n"); + if (barCode != null) sb.append(" barCode: ").append(toIndentedString(barCode)).append("\n"); + if (applicableRegion != null) sb.append(" applicableRegion: ").append(toIndentedString(applicableRegion)).append("\n"); + if (errorCode != null) sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); + if (statusCode != null) sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n"); + if (careOf != null) sb.append(" careOf: ").append(toIndentedString(careOf)).append("\n"); + if (matchScore != null) sb.append(" matchScore: ").append(toIndentedString(matchScore)).append("\n"); + if (standardAddress != null) sb.append(" standardAddress: ").append(toIndentedString(standardAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -248,10 +248,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.java b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.java index 34d5b4e66..9fc45f99e 100644 --- a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.java +++ b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode {\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" checkDigit: ").append(toIndentedString(checkDigit)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (checkDigit != null) sb.append(" checkDigit: ").append(toIndentedString(checkDigit)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.java b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.java index 2905a0bf3..959e272c3 100644 --- a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.java +++ b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.java @@ -295,17 +295,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" county: ").append(toIndentedString(county)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" csz: ").append(toIndentedString(csz)).append("\n"); - sb.append(" isoCountry: ").append(toIndentedString(isoCountry)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (county != null) sb.append(" county: ").append(toIndentedString(county)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (csz != null) sb.append(" csz: ").append(toIndentedString(csz)).append("\n"); + if (isoCountry != null) sb.append(" isoCountry: ").append(toIndentedString(isoCountry)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -316,10 +316,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.java b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.java index aee7b24b6..5d2f84744 100644 --- a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.java +++ b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1 {\n"); - sb.append(" withApartment: ").append(toIndentedString(withApartment)).append("\n"); - sb.append(" withoutApartment: ").append(toIndentedString(withoutApartment)).append("\n"); + if (withApartment != null) sb.append(" withApartment: ").append(toIndentedString(withApartment)).append("\n"); + if (withoutApartment != null) sb.append(" withoutApartment: ").append(toIndentedString(withoutApartment)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseErrorInformation.java b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseErrorInformation.java index cb24df01d..497a7c57a 100644 --- a/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseErrorInformation.java +++ b/src/main/java/Model/RiskV1AddressVerificationsPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AddressVerificationsPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationResultsPost201Response.java b/src/main/java/Model/RiskV1AuthenticationResultsPost201Response.java index 2c759400f..06efd820e 100644 --- a/src/main/java/Model/RiskV1AuthenticationResultsPost201Response.java +++ b/src/main/java/Model/RiskV1AuthenticationResultsPost201Response.java @@ -232,14 +232,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationResultsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -250,10 +250,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.java b/src/main/java/Model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.java index e233e9ba5..15e7ec2ea 100644 --- a/src/main/java/Model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.java +++ b/src/main/java/Model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.java @@ -734,37 +734,37 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation {\n"); - sb.append(" acsRenderingType: ").append(toIndentedString(acsRenderingType)).append("\n"); - sb.append(" acsReferenceNumber: ").append(toIndentedString(acsReferenceNumber)).append("\n"); - sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); - sb.append(" acsOperatorID: ").append(toIndentedString(acsOperatorID)).append("\n"); - sb.append(" authenticationResult: ").append(toIndentedString(authenticationResult)).append("\n"); - sb.append(" authenticationType: ").append(toIndentedString(authenticationType)).append("\n"); - sb.append(" authenticationStatusMsg: ").append(toIndentedString(authenticationStatusMsg)).append("\n"); - sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); - sb.append(" authenticationTransactionContextId: ").append(toIndentedString(authenticationTransactionContextId)).append("\n"); - sb.append(" transactionToken: ").append(toIndentedString(transactionToken)).append("\n"); - sb.append(" authorizationPayload: ").append(toIndentedString(authorizationPayload)).append("\n"); - sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); - sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); - sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); - sb.append(" directoryServerErrorCode: ").append(toIndentedString(directoryServerErrorCode)).append("\n"); - sb.append(" directoryServerErrorDescription: ").append(toIndentedString(directoryServerErrorDescription)).append("\n"); - sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); - sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); - sb.append(" interactionCounter: ").append(toIndentedString(interactionCounter)).append("\n"); - sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); - sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); - sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); - sb.append(" sdkTransactionId: ").append(toIndentedString(sdkTransactionId)).append("\n"); - sb.append(" specificationVersion: ").append(toIndentedString(specificationVersion)).append("\n"); - sb.append(" threeDSServerTransactionId: ").append(toIndentedString(threeDSServerTransactionId)).append("\n"); - sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); - sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); - sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); - sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); - sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); + if (acsRenderingType != null) sb.append(" acsRenderingType: ").append(toIndentedString(acsRenderingType)).append("\n"); + if (acsReferenceNumber != null) sb.append(" acsReferenceNumber: ").append(toIndentedString(acsReferenceNumber)).append("\n"); + if (acsTransactionId != null) sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); + if (acsOperatorID != null) sb.append(" acsOperatorID: ").append(toIndentedString(acsOperatorID)).append("\n"); + if (authenticationResult != null) sb.append(" authenticationResult: ").append(toIndentedString(authenticationResult)).append("\n"); + if (authenticationType != null) sb.append(" authenticationType: ").append(toIndentedString(authenticationType)).append("\n"); + if (authenticationStatusMsg != null) sb.append(" authenticationStatusMsg: ").append(toIndentedString(authenticationStatusMsg)).append("\n"); + if (authenticationTransactionId != null) sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); + if (authenticationTransactionContextId != null) sb.append(" authenticationTransactionContextId: ").append(toIndentedString(authenticationTransactionContextId)).append("\n"); + if (transactionToken != null) sb.append(" transactionToken: ").append(toIndentedString(transactionToken)).append("\n"); + if (authorizationPayload != null) sb.append(" authorizationPayload: ").append(toIndentedString(authorizationPayload)).append("\n"); + if (cavv != null) sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); + if (cavvAlgorithm != null) sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); + if (challengeCancelCode != null) sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); + if (directoryServerErrorCode != null) sb.append(" directoryServerErrorCode: ").append(toIndentedString(directoryServerErrorCode)).append("\n"); + if (directoryServerErrorDescription != null) sb.append(" directoryServerErrorDescription: ").append(toIndentedString(directoryServerErrorDescription)).append("\n"); + if (effectiveAuthenticationType != null) sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); + if (indicator != null) sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); + if (interactionCounter != null) sb.append(" interactionCounter: ").append(toIndentedString(interactionCounter)).append("\n"); + if (eci != null) sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); + if (eciRaw != null) sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); + if (paresStatus != null) sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); + if (sdkTransactionId != null) sb.append(" sdkTransactionId: ").append(toIndentedString(sdkTransactionId)).append("\n"); + if (specificationVersion != null) sb.append(" specificationVersion: ").append(toIndentedString(specificationVersion)).append("\n"); + if (threeDSServerTransactionId != null) sb.append(" threeDSServerTransactionId: ").append(toIndentedString(threeDSServerTransactionId)).append("\n"); + if (ucafAuthenticationData != null) sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); + if (ucafCollectionIndicator != null) sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); + if (whiteListStatus != null) sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); + if (whiteListStatusSource != null) sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (directoryServerTransactionId != null) sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -775,10 +775,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationSetupsPost201Response.java b/src/main/java/Model/RiskV1AuthenticationSetupsPost201Response.java index 35a0e2339..3bbc1be79 100644 --- a/src/main/java/Model/RiskV1AuthenticationSetupsPost201Response.java +++ b/src/main/java/Model/RiskV1AuthenticationSetupsPost201Response.java @@ -210,13 +210,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationSetupsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -227,10 +227,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation.java b/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation.java index fc38ab544..1bd22c6ce 100644 --- a/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation.java +++ b/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation {\n"); - sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); - sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); - sb.append(" deviceDataCollectionUrl: ").append(toIndentedString(deviceDataCollectionUrl)).append("\n"); + if (accessToken != null) sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + if (referenceId != null) sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); + if (deviceDataCollectionUrl != null) sb.append(" deviceDataCollectionUrl: ").append(toIndentedString(deviceDataCollectionUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseErrorInformation.java b/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseErrorInformation.java index a1168479b..86ceb65b2 100644 --- a/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseErrorInformation.java +++ b/src/main/java/Model/RiskV1AuthenticationSetupsPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationSetupsPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationsPost201Response.java b/src/main/java/Model/RiskV1AuthenticationsPost201Response.java index 022d17718..f3a9d8b24 100644 --- a/src/main/java/Model/RiskV1AuthenticationsPost201Response.java +++ b/src/main/java/Model/RiskV1AuthenticationsPost201Response.java @@ -255,15 +255,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -274,10 +274,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationsPost201ResponseErrorInformation.java b/src/main/java/Model/RiskV1AuthenticationsPost201ResponseErrorInformation.java index 5b8fe25b4..1320cb58e 100644 --- a/src/main/java/Model/RiskV1AuthenticationsPost201ResponseErrorInformation.java +++ b/src/main/java/Model/RiskV1AuthenticationsPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationsPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationsPost400Response.java b/src/main/java/Model/RiskV1AuthenticationsPost400Response.java index 171268a92..9b464761a 100644 --- a/src/main/java/Model/RiskV1AuthenticationsPost400Response.java +++ b/src/main/java/Model/RiskV1AuthenticationsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1AuthenticationsPost400Response1.java b/src/main/java/Model/RiskV1AuthenticationsPost400Response1.java index e8ae557a9..d313e1ef0 100644 --- a/src/main/java/Model/RiskV1AuthenticationsPost400Response1.java +++ b/src/main/java/Model/RiskV1AuthenticationsPost400Response1.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1AuthenticationsPost400Response1 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201Response.java b/src/main/java/Model/RiskV1DecisionsPost201Response.java index 995c167cb..c5640f029 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201Response.java +++ b/src/main/java/Model/RiskV1DecisionsPost201Response.java @@ -324,18 +324,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" submitTimeLocal: ").append(toIndentedString(submitTimeLocal)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (submitTimeLocal != null) sb.append(" submitTimeLocal: ").append(toIndentedString(submitTimeLocal)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (watchlistScreeningInformation != null) sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -346,10 +346,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201ResponseClientReferenceInformation.java b/src/main/java/Model/RiskV1DecisionsPost201ResponseClientReferenceInformation.java index a8afe3270..4533be81d 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201ResponseClientReferenceInformation.java +++ b/src/main/java/Model/RiskV1DecisionsPost201ResponseClientReferenceInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.java b/src/main/java/Model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.java index 92fd5ccba..707863df8 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.java +++ b/src/main/java/Model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.java @@ -1065,52 +1065,52 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation {\n"); - sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); - sb.append(" acsRenderingType: ").append(toIndentedString(acsRenderingType)).append("\n"); - sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); - sb.append(" acsUrl: ").append(toIndentedString(acsUrl)).append("\n"); - sb.append(" authenticationPath: ").append(toIndentedString(authenticationPath)).append("\n"); - sb.append(" authorizationPayload: ").append(toIndentedString(authorizationPayload)).append("\n"); - sb.append(" authenticationType: ").append(toIndentedString(authenticationType)).append("\n"); - sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); - sb.append(" authenticationTransactionContextId: ").append(toIndentedString(authenticationTransactionContextId)).append("\n"); - sb.append(" validityPeriod: ").append(toIndentedString(validityPeriod)).append("\n"); - sb.append(" cardholderMessage: ").append(toIndentedString(cardholderMessage)).append("\n"); - sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); - sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); - sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); - sb.append(" challengeRequired: ").append(toIndentedString(challengeRequired)).append("\n"); - sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); - sb.append(" directoryServerErrorCode: ").append(toIndentedString(directoryServerErrorCode)).append("\n"); - sb.append(" directoryServerErrorDescription: ").append(toIndentedString(directoryServerErrorDescription)).append("\n"); - sb.append(" ecommerceIndicator: ").append(toIndentedString(ecommerceIndicator)).append("\n"); - sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); - sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); - sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); - sb.append(" exemptionDataRaw: ").append(toIndentedString(exemptionDataRaw)).append("\n"); - sb.append(" ivr: ").append(toIndentedString(ivr)).append("\n"); - sb.append(" networkScore: ").append(toIndentedString(networkScore)).append("\n"); - sb.append(" pareq: ").append(toIndentedString(pareq)).append("\n"); - sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); - sb.append(" proofXml: ").append(toIndentedString(proofXml)).append("\n"); - sb.append(" proxyPan: ").append(toIndentedString(proxyPan)).append("\n"); - sb.append(" sdkTransactionId: ").append(toIndentedString(sdkTransactionId)).append("\n"); - sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); - sb.append(" specificationVersion: ").append(toIndentedString(specificationVersion)).append("\n"); - sb.append(" stepUpUrl: ").append(toIndentedString(stepUpUrl)).append("\n"); - sb.append(" threeDSServerTransactionId: ").append(toIndentedString(threeDSServerTransactionId)).append("\n"); - sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); - sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); - sb.append(" veresEnrolled: ").append(toIndentedString(veresEnrolled)).append("\n"); - sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); - sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); - sb.append(" acsOperatorID: ").append(toIndentedString(acsOperatorID)).append("\n"); - sb.append(" acsReferenceNumber: ").append(toIndentedString(acsReferenceNumber)).append("\n"); - sb.append(" idciDecision: ").append(toIndentedString(idciDecision)).append("\n"); - sb.append(" idciReasonCode1: ").append(toIndentedString(idciReasonCode1)).append("\n"); - sb.append(" idciReasonCode2: ").append(toIndentedString(idciReasonCode2)).append("\n"); - sb.append(" idciScore: ").append(toIndentedString(idciScore)).append("\n"); + if (accessToken != null) sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + if (acsRenderingType != null) sb.append(" acsRenderingType: ").append(toIndentedString(acsRenderingType)).append("\n"); + if (acsTransactionId != null) sb.append(" acsTransactionId: ").append(toIndentedString(acsTransactionId)).append("\n"); + if (acsUrl != null) sb.append(" acsUrl: ").append(toIndentedString(acsUrl)).append("\n"); + if (authenticationPath != null) sb.append(" authenticationPath: ").append(toIndentedString(authenticationPath)).append("\n"); + if (authorizationPayload != null) sb.append(" authorizationPayload: ").append(toIndentedString(authorizationPayload)).append("\n"); + if (authenticationType != null) sb.append(" authenticationType: ").append(toIndentedString(authenticationType)).append("\n"); + if (authenticationTransactionId != null) sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); + if (authenticationTransactionContextId != null) sb.append(" authenticationTransactionContextId: ").append(toIndentedString(authenticationTransactionContextId)).append("\n"); + if (validityPeriod != null) sb.append(" validityPeriod: ").append(toIndentedString(validityPeriod)).append("\n"); + if (cardholderMessage != null) sb.append(" cardholderMessage: ").append(toIndentedString(cardholderMessage)).append("\n"); + if (cavv != null) sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); + if (cavvAlgorithm != null) sb.append(" cavvAlgorithm: ").append(toIndentedString(cavvAlgorithm)).append("\n"); + if (challengeCancelCode != null) sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); + if (challengeRequired != null) sb.append(" challengeRequired: ").append(toIndentedString(challengeRequired)).append("\n"); + if (decoupledAuthenticationIndicator != null) sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); + if (directoryServerErrorCode != null) sb.append(" directoryServerErrorCode: ").append(toIndentedString(directoryServerErrorCode)).append("\n"); + if (directoryServerErrorDescription != null) sb.append(" directoryServerErrorDescription: ").append(toIndentedString(directoryServerErrorDescription)).append("\n"); + if (ecommerceIndicator != null) sb.append(" ecommerceIndicator: ").append(toIndentedString(ecommerceIndicator)).append("\n"); + if (eci != null) sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); + if (eciRaw != null) sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); + if (effectiveAuthenticationType != null) sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); + if (exemptionDataRaw != null) sb.append(" exemptionDataRaw: ").append(toIndentedString(exemptionDataRaw)).append("\n"); + if (ivr != null) sb.append(" ivr: ").append(toIndentedString(ivr)).append("\n"); + if (networkScore != null) sb.append(" networkScore: ").append(toIndentedString(networkScore)).append("\n"); + if (pareq != null) sb.append(" pareq: ").append(toIndentedString(pareq)).append("\n"); + if (paresStatus != null) sb.append(" paresStatus: ").append(toIndentedString(paresStatus)).append("\n"); + if (proofXml != null) sb.append(" proofXml: ").append(toIndentedString(proofXml)).append("\n"); + if (proxyPan != null) sb.append(" proxyPan: ").append(toIndentedString(proxyPan)).append("\n"); + if (sdkTransactionId != null) sb.append(" sdkTransactionId: ").append(toIndentedString(sdkTransactionId)).append("\n"); + if (signedParesStatusReason != null) sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); + if (specificationVersion != null) sb.append(" specificationVersion: ").append(toIndentedString(specificationVersion)).append("\n"); + if (stepUpUrl != null) sb.append(" stepUpUrl: ").append(toIndentedString(stepUpUrl)).append("\n"); + if (threeDSServerTransactionId != null) sb.append(" threeDSServerTransactionId: ").append(toIndentedString(threeDSServerTransactionId)).append("\n"); + if (ucafAuthenticationData != null) sb.append(" ucafAuthenticationData: ").append(toIndentedString(ucafAuthenticationData)).append("\n"); + if (ucafCollectionIndicator != null) sb.append(" ucafCollectionIndicator: ").append(toIndentedString(ucafCollectionIndicator)).append("\n"); + if (veresEnrolled != null) sb.append(" veresEnrolled: ").append(toIndentedString(veresEnrolled)).append("\n"); + if (whiteListStatusSource != null) sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (directoryServerTransactionId != null) sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); + if (acsOperatorID != null) sb.append(" acsOperatorID: ").append(toIndentedString(acsOperatorID)).append("\n"); + if (acsReferenceNumber != null) sb.append(" acsReferenceNumber: ").append(toIndentedString(acsReferenceNumber)).append("\n"); + if (idciDecision != null) sb.append(" idciDecision: ").append(toIndentedString(idciDecision)).append("\n"); + if (idciReasonCode1 != null) sb.append(" idciReasonCode1: ").append(toIndentedString(idciReasonCode1)).append("\n"); + if (idciReasonCode2 != null) sb.append(" idciReasonCode2: ").append(toIndentedString(idciReasonCode2)).append("\n"); + if (idciScore != null) sb.append(" idciScore: ").append(toIndentedString(idciScore)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1121,10 +1121,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201ResponseErrorInformation.java b/src/main/java/Model/RiskV1DecisionsPost201ResponseErrorInformation.java index 1fec0d054..ae074490e 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201ResponseErrorInformation.java +++ b/src/main/java/Model/RiskV1DecisionsPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformation.java b/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformation.java index 2c7223342..a0bcd01f7 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformation.java +++ b/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201ResponseOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformationAmountDetails.java b/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformationAmountDetails.java index d52a59cb3..b96c4c38f 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/RiskV1DecisionsPost201ResponseOrderInformationAmountDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201ResponseOrderInformationAmountDetails {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost201ResponsePaymentInformation.java b/src/main/java/Model/RiskV1DecisionsPost201ResponsePaymentInformation.java index 6f1475a96..35cf26093 100644 --- a/src/main/java/Model/RiskV1DecisionsPost201ResponsePaymentInformation.java +++ b/src/main/java/Model/RiskV1DecisionsPost201ResponsePaymentInformation.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost201ResponsePaymentInformation {\n"); - sb.append(" binCountry: ").append(toIndentedString(binCountry)).append("\n"); - sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" scheme: ").append(toIndentedString(scheme)).append("\n"); - sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); + if (binCountry != null) sb.append(" binCountry: ").append(toIndentedString(binCountry)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (scheme != null) sb.append(" scheme: ").append(toIndentedString(scheme)).append("\n"); + if (bin != null) sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost400Response.java b/src/main/java/Model/RiskV1DecisionsPost400Response.java index 9b089df4e..99e60caca 100644 --- a/src/main/java/Model/RiskV1DecisionsPost400Response.java +++ b/src/main/java/Model/RiskV1DecisionsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1DecisionsPost400Response1.java b/src/main/java/Model/RiskV1DecisionsPost400Response1.java index cf2527215..c6f5a459e 100644 --- a/src/main/java/Model/RiskV1DecisionsPost400Response1.java +++ b/src/main/java/Model/RiskV1DecisionsPost400Response1.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1DecisionsPost400Response1 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201Response.java b/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201Response.java index 89065b567..08eb35e9a 100644 --- a/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201Response.java +++ b/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201Response.java @@ -254,15 +254,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1ExportComplianceInquiriesPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" submitTimeLocal: ").append(toIndentedString(submitTimeLocal)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" exportComplianceInformation: ").append(toIndentedString(exportComplianceInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (submitTimeLocal != null) sb.append(" submitTimeLocal: ").append(toIndentedString(submitTimeLocal)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (exportComplianceInformation != null) sb.append(" exportComplianceInformation: ").append(toIndentedString(exportComplianceInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -273,10 +273,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.java b/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.java index 4cb901805..544df1ff7 100644 --- a/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.java +++ b/src/main/java/Model/RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/RiskV1UpdatePost201Response.java b/src/main/java/Model/RiskV1UpdatePost201Response.java index 0ef66780b..e4323c3dc 100644 --- a/src/main/java/Model/RiskV1UpdatePost201Response.java +++ b/src/main/java/Model/RiskV1UpdatePost201Response.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RiskV1UpdatePost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" clientReferenceInformaton: ").append(toIndentedString(clientReferenceInformaton)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (clientReferenceInformaton != null) sb.append(" clientReferenceInformaton: ").append(toIndentedString(clientReferenceInformaton)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1addressverificationsBuyerInformation.java b/src/main/java/Model/Riskv1addressverificationsBuyerInformation.java index 3c632eccd..bf4aa6384 100644 --- a/src/main/java/Model/Riskv1addressverificationsBuyerInformation.java +++ b/src/main/java/Model/Riskv1addressverificationsBuyerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1addressverificationsBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1addressverificationsOrderInformation.java b/src/main/java/Model/Riskv1addressverificationsOrderInformation.java index 18f23e3e2..a9d4c0916 100644 --- a/src/main/java/Model/Riskv1addressverificationsOrderInformation.java +++ b/src/main/java/Model/Riskv1addressverificationsOrderInformation.java @@ -131,9 +131,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1addressverificationsOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append("}"); return sb.toString(); } @@ -144,10 +144,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1addressverificationsOrderInformationBillTo.java b/src/main/java/Model/Riskv1addressverificationsOrderInformationBillTo.java index aaf6e5466..ce0f305e8 100644 --- a/src/main/java/Model/Riskv1addressverificationsOrderInformationBillTo.java +++ b/src/main/java/Model/Riskv1addressverificationsOrderInformationBillTo.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1addressverificationsOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1addressverificationsOrderInformationLineItems.java b/src/main/java/Model/Riskv1addressverificationsOrderInformationLineItems.java index db1a1aa6e..ffb16ed4c 100644 --- a/src/main/java/Model/Riskv1addressverificationsOrderInformationLineItems.java +++ b/src/main/java/Model/Riskv1addressverificationsOrderInformationLineItems.java @@ -186,12 +186,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1addressverificationsOrderInformationLineItems {\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); - sb.append(" productRisk: ").append(toIndentedString(productRisk)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (productSKU != null) sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); + if (productRisk != null) sb.append(" productRisk: ").append(toIndentedString(productRisk)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -202,10 +202,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1addressverificationsOrderInformationShipTo.java b/src/main/java/Model/Riskv1addressverificationsOrderInformationShipTo.java index 08df89612..af716c3af 100644 --- a/src/main/java/Model/Riskv1addressverificationsOrderInformationShipTo.java +++ b/src/main/java/Model/Riskv1addressverificationsOrderInformationShipTo.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1addressverificationsOrderInformationShipTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsConsumerAuthenticationInformation.java b/src/main/java/Model/Riskv1authenticationresultsConsumerAuthenticationInformation.java index 6f39ffbe2..9eff10aa9 100644 --- a/src/main/java/Model/Riskv1authenticationresultsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Riskv1authenticationresultsConsumerAuthenticationInformation.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsConsumerAuthenticationInformation {\n"); - sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); - sb.append(" authenticationTransactionContext: ").append(toIndentedString(authenticationTransactionContext)).append("\n"); - sb.append(" otpToken: ").append(toIndentedString(otpToken)).append("\n"); - sb.append(" responseAccessToken: ").append(toIndentedString(responseAccessToken)).append("\n"); - sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); - sb.append(" signedPares: ").append(toIndentedString(signedPares)).append("\n"); - sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); - sb.append(" credentialEncrypted: ").append(toIndentedString(credentialEncrypted)).append("\n"); + if (authenticationTransactionId != null) sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); + if (authenticationTransactionContext != null) sb.append(" authenticationTransactionContext: ").append(toIndentedString(authenticationTransactionContext)).append("\n"); + if (otpToken != null) sb.append(" otpToken: ").append(toIndentedString(otpToken)).append("\n"); + if (responseAccessToken != null) sb.append(" responseAccessToken: ").append(toIndentedString(responseAccessToken)).append("\n"); + if (signedParesStatusReason != null) sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); + if (signedPares != null) sb.append(" signedPares: ").append(toIndentedString(signedPares)).append("\n"); + if (whiteListStatus != null) sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); + if (credentialEncrypted != null) sb.append(" credentialEncrypted: ").append(toIndentedString(credentialEncrypted)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsDeviceInformation.java b/src/main/java/Model/Riskv1authenticationresultsDeviceInformation.java index fbd5b8d16..f77f9b574 100644 --- a/src/main/java/Model/Riskv1authenticationresultsDeviceInformation.java +++ b/src/main/java/Model/Riskv1authenticationresultsDeviceInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsDeviceInformation {\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsOrderInformation.java b/src/main/java/Model/Riskv1authenticationresultsOrderInformation.java index 04a37d008..24138a40a 100644 --- a/src/main/java/Model/Riskv1authenticationresultsOrderInformation.java +++ b/src/main/java/Model/Riskv1authenticationresultsOrderInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsOrderInformationAmountDetails.java b/src/main/java/Model/Riskv1authenticationresultsOrderInformationAmountDetails.java index 288efc48f..8d967820b 100644 --- a/src/main/java/Model/Riskv1authenticationresultsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Riskv1authenticationresultsOrderInformationAmountDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsOrderInformationAmountDetails {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java b/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java index 2b5d5a683..dc97f3ea3 100644 --- a/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java +++ b/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (fluidData != null) sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsPaymentInformationCard.java b/src/main/java/Model/Riskv1authenticationresultsPaymentInformationCard.java index 88606caea..d59696d1b 100644 --- a/src/main/java/Model/Riskv1authenticationresultsPaymentInformationCard.java +++ b/src/main/java/Model/Riskv1authenticationresultsPaymentInformationCard.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsPaymentInformationCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsPaymentInformationFluidData.java b/src/main/java/Model/Riskv1authenticationresultsPaymentInformationFluidData.java index 79c0df52f..d2ac662f8 100644 --- a/src/main/java/Model/Riskv1authenticationresultsPaymentInformationFluidData.java +++ b/src/main/java/Model/Riskv1authenticationresultsPaymentInformationFluidData.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsPaymentInformationFluidData {\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" keySerialNumber: ").append(toIndentedString(keySerialNumber)).append("\n"); - sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); - sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (keySerialNumber != null) sb.append(" keySerialNumber: ").append(toIndentedString(keySerialNumber)).append("\n"); + if (descriptor != null) sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); + if (encoding != null) sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.java b/src/main/java/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.java index 78d3327cd..d720498d9 100644 --- a/src/main/java/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationresultsPaymentInformationTokenizedCard {\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsBuyerInformation.java b/src/main/java/Model/Riskv1authenticationsBuyerInformation.java index 479771bc3..32c8647be 100644 --- a/src/main/java/Model/Riskv1authenticationsBuyerInformation.java +++ b/src/main/java/Model/Riskv1authenticationsBuyerInformation.java @@ -151,10 +151,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); - sb.append(" mobilePhone: ").append(toIndentedString(mobilePhone)).append("\n"); - sb.append(" workPhone: ").append(toIndentedString(workPhone)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (mobilePhone != null) sb.append(" mobilePhone: ").append(toIndentedString(mobilePhone)).append("\n"); + if (workPhone != null) sb.append(" workPhone: ").append(toIndentedString(workPhone)).append("\n"); sb.append("}"); return sb.toString(); } @@ -165,10 +165,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsDeviceInformation.java b/src/main/java/Model/Riskv1authenticationsDeviceInformation.java index ebb63815d..2a291bcd7 100644 --- a/src/main/java/Model/Riskv1authenticationsDeviceInformation.java +++ b/src/main/java/Model/Riskv1authenticationsDeviceInformation.java @@ -176,7 +176,7 @@ public Riskv1authenticationsDeviceInformation httpBrowserJavaEnabled(Boolean htt * @return httpBrowserJavaEnabled **/ @ApiModelProperty(required = true, value = "A Boolean value that represents the ability of the cardholder browser to execute Java. Value is returned from the navigator.javaEnabled property. Possible Values:True/False ") - public Boolean isHttpBrowserJavaEnabled() { + public Boolean HttpBrowserJavaEnabled() { return httpBrowserJavaEnabled; } @@ -194,7 +194,7 @@ public Riskv1authenticationsDeviceInformation httpBrowserJavaScriptEnabled(Boole * @return httpBrowserJavaScriptEnabled **/ @ApiModelProperty(value = "A Boolean value that represents the ability of the cardholder browser to execute JavaScript. Possible Values:True/False. **Note**: Merchants should be able to know the values from fingerprint details of cardholder's browser. ") - public Boolean isHttpBrowserJavaScriptEnabled() { + public Boolean HttpBrowserJavaScriptEnabled() { return httpBrowserJavaScriptEnabled; } @@ -327,18 +327,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsDeviceInformation {\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" rawData: ").append(toIndentedString(rawData)).append("\n"); - sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); - sb.append(" httpAcceptContent: ").append(toIndentedString(httpAcceptContent)).append("\n"); - sb.append(" httpBrowserLanguage: ").append(toIndentedString(httpBrowserLanguage)).append("\n"); - sb.append(" httpBrowserJavaEnabled: ").append(toIndentedString(httpBrowserJavaEnabled)).append("\n"); - sb.append(" httpBrowserJavaScriptEnabled: ").append(toIndentedString(httpBrowserJavaScriptEnabled)).append("\n"); - sb.append(" httpBrowserColorDepth: ").append(toIndentedString(httpBrowserColorDepth)).append("\n"); - sb.append(" httpBrowserScreenHeight: ").append(toIndentedString(httpBrowserScreenHeight)).append("\n"); - sb.append(" httpBrowserScreenWidth: ").append(toIndentedString(httpBrowserScreenWidth)).append("\n"); - sb.append(" httpBrowserTimeDifference: ").append(toIndentedString(httpBrowserTimeDifference)).append("\n"); - sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (rawData != null) sb.append(" rawData: ").append(toIndentedString(rawData)).append("\n"); + if (httpAcceptBrowserValue != null) sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); + if (httpAcceptContent != null) sb.append(" httpAcceptContent: ").append(toIndentedString(httpAcceptContent)).append("\n"); + if (httpBrowserLanguage != null) sb.append(" httpBrowserLanguage: ").append(toIndentedString(httpBrowserLanguage)).append("\n"); + if (httpBrowserJavaEnabled != null) sb.append(" httpBrowserJavaEnabled: ").append(toIndentedString(httpBrowserJavaEnabled)).append("\n"); + if (httpBrowserJavaScriptEnabled != null) sb.append(" httpBrowserJavaScriptEnabled: ").append(toIndentedString(httpBrowserJavaScriptEnabled)).append("\n"); + if (httpBrowserColorDepth != null) sb.append(" httpBrowserColorDepth: ").append(toIndentedString(httpBrowserColorDepth)).append("\n"); + if (httpBrowserScreenHeight != null) sb.append(" httpBrowserScreenHeight: ").append(toIndentedString(httpBrowserScreenHeight)).append("\n"); + if (httpBrowserScreenWidth != null) sb.append(" httpBrowserScreenWidth: ").append(toIndentedString(httpBrowserScreenWidth)).append("\n"); + if (httpBrowserTimeDifference != null) sb.append(" httpBrowserTimeDifference: ").append(toIndentedString(httpBrowserTimeDifference)).append("\n"); + if (userAgentBrowserValue != null) sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); sb.append("}"); return sb.toString(); } @@ -349,10 +349,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsOrderInformation.java b/src/main/java/Model/Riskv1authenticationsOrderInformation.java index 4a84042b8..17dfea48d 100644 --- a/src/main/java/Model/Riskv1authenticationsOrderInformation.java +++ b/src/main/java/Model/Riskv1authenticationsOrderInformation.java @@ -123,7 +123,7 @@ public Riskv1authenticationsOrderInformation reordered(Boolean reordered) { * @return reordered **/ @ApiModelProperty(value = "Indicates whether the cardholder is reordering previously purchased merchandise. This field can contain one of these values: - false: First time ordered - true: Reordered ") - public Boolean isReordered() { + public Boolean Reordered() { return reordered; } @@ -242,14 +242,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" preOrder: ").append(toIndentedString(preOrder)).append("\n"); - sb.append(" preOrderDate: ").append(toIndentedString(preOrderDate)).append("\n"); - sb.append(" reordered: ").append(toIndentedString(reordered)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" totalOffersCount: ").append(toIndentedString(totalOffersCount)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (preOrder != null) sb.append(" preOrder: ").append(toIndentedString(preOrder)).append("\n"); + if (preOrderDate != null) sb.append(" preOrderDate: ").append(toIndentedString(preOrderDate)).append("\n"); + if (reordered != null) sb.append(" reordered: ").append(toIndentedString(reordered)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (totalOffersCount != null) sb.append(" totalOffersCount: ").append(toIndentedString(totalOffersCount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -260,10 +260,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsOrderInformationAmountDetails.java b/src/main/java/Model/Riskv1authenticationsOrderInformationAmountDetails.java index 357461d8c..c571db7be 100644 --- a/src/main/java/Model/Riskv1authenticationsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Riskv1authenticationsOrderInformationAmountDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsOrderInformationAmountDetails {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsOrderInformationBillTo.java b/src/main/java/Model/Riskv1authenticationsOrderInformationBillTo.java index 5c4ae4752..3a46a8d6b 100644 --- a/src/main/java/Model/Riskv1authenticationsOrderInformationBillTo.java +++ b/src/main/java/Model/Riskv1authenticationsOrderInformationBillTo.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsOrderInformationLineItems.java b/src/main/java/Model/Riskv1authenticationsOrderInformationLineItems.java index 2981af9af..f56d8a52f 100644 --- a/src/main/java/Model/Riskv1authenticationsOrderInformationLineItems.java +++ b/src/main/java/Model/Riskv1authenticationsOrderInformationLineItems.java @@ -495,26 +495,26 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsOrderInformationLineItems {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" giftCardCurrency: ").append(toIndentedString(giftCardCurrency)).append("\n"); - sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" passenger: ").append(toIndentedString(passenger)).append("\n"); - sb.append(" shippingDestinationTypes: ").append(toIndentedString(shippingDestinationTypes)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" shippingAddress1: ").append(toIndentedString(shippingAddress1)).append("\n"); - sb.append(" shippingAddress2: ").append(toIndentedString(shippingAddress2)).append("\n"); - sb.append(" shippingCity: ").append(toIndentedString(shippingCity)).append("\n"); - sb.append(" shippingCountryCode: ").append(toIndentedString(shippingCountryCode)).append("\n"); - sb.append(" shippingFirstName: ").append(toIndentedString(shippingFirstName)).append("\n"); - sb.append(" shippingLastName: ").append(toIndentedString(shippingLastName)).append("\n"); - sb.append(" shippingMiddleName: ").append(toIndentedString(shippingMiddleName)).append("\n"); - sb.append(" shippingPhone: ").append(toIndentedString(shippingPhone)).append("\n"); - sb.append(" shippingPostalCode: ").append(toIndentedString(shippingPostalCode)).append("\n"); - sb.append(" shippingState: ").append(toIndentedString(shippingState)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (giftCardCurrency != null) sb.append(" giftCardCurrency: ").append(toIndentedString(giftCardCurrency)).append("\n"); + if (productSKU != null) sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (passenger != null) sb.append(" passenger: ").append(toIndentedString(passenger)).append("\n"); + if (shippingDestinationTypes != null) sb.append(" shippingDestinationTypes: ").append(toIndentedString(shippingDestinationTypes)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (shippingAddress1 != null) sb.append(" shippingAddress1: ").append(toIndentedString(shippingAddress1)).append("\n"); + if (shippingAddress2 != null) sb.append(" shippingAddress2: ").append(toIndentedString(shippingAddress2)).append("\n"); + if (shippingCity != null) sb.append(" shippingCity: ").append(toIndentedString(shippingCity)).append("\n"); + if (shippingCountryCode != null) sb.append(" shippingCountryCode: ").append(toIndentedString(shippingCountryCode)).append("\n"); + if (shippingFirstName != null) sb.append(" shippingFirstName: ").append(toIndentedString(shippingFirstName)).append("\n"); + if (shippingLastName != null) sb.append(" shippingLastName: ").append(toIndentedString(shippingLastName)).append("\n"); + if (shippingMiddleName != null) sb.append(" shippingMiddleName: ").append(toIndentedString(shippingMiddleName)).append("\n"); + if (shippingPhone != null) sb.append(" shippingPhone: ").append(toIndentedString(shippingPhone)).append("\n"); + if (shippingPostalCode != null) sb.append(" shippingPostalCode: ").append(toIndentedString(shippingPostalCode)).append("\n"); + if (shippingState != null) sb.append(" shippingState: ").append(toIndentedString(shippingState)).append("\n"); sb.append("}"); return sb.toString(); } @@ -525,10 +525,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsPaymentInformation.java b/src/main/java/Model/Riskv1authenticationsPaymentInformation.java index ffd302cf2..5c3fbd8f6 100644 --- a/src/main/java/Model/Riskv1authenticationsPaymentInformation.java +++ b/src/main/java/Model/Riskv1authenticationsPaymentInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (fluidData != null) sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java b/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java index 8b335cfee..0dbcd1498 100644 --- a/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java +++ b/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsPaymentInformationCustomer {\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsPaymentInformationTokenizedCard.java b/src/main/java/Model/Riskv1authenticationsPaymentInformationTokenizedCard.java index 8fe7b52a5..ea15806ed 100644 --- a/src/main/java/Model/Riskv1authenticationsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/Riskv1authenticationsPaymentInformationTokenizedCard.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsPaymentInformationTokenizedCard {\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (cryptogram != null) sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsRiskInformation.java b/src/main/java/Model/Riskv1authenticationsRiskInformation.java index 5c04bd553..a79b41278 100644 --- a/src/main/java/Model/Riskv1authenticationsRiskInformation.java +++ b/src/main/java/Model/Riskv1authenticationsRiskInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsRiskInformation {\n"); - sb.append(" buyerHistory: ").append(toIndentedString(buyerHistory)).append("\n"); + if (buyerHistory != null) sb.append(" buyerHistory: ").append(toIndentedString(buyerHistory)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsTravelInformation.java b/src/main/java/Model/Riskv1authenticationsTravelInformation.java index 081278dcf..3cb352fac 100644 --- a/src/main/java/Model/Riskv1authenticationsTravelInformation.java +++ b/src/main/java/Model/Riskv1authenticationsTravelInformation.java @@ -138,9 +138,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsTravelInformation {\n"); - sb.append(" legs: ").append(toIndentedString(legs)).append("\n"); - sb.append(" numberOfPassengers: ").append(toIndentedString(numberOfPassengers)).append("\n"); - sb.append(" passengers: ").append(toIndentedString(passengers)).append("\n"); + if (legs != null) sb.append(" legs: ").append(toIndentedString(legs)).append("\n"); + if (numberOfPassengers != null) sb.append(" numberOfPassengers: ").append(toIndentedString(numberOfPassengers)).append("\n"); + if (passengers != null) sb.append(" passengers: ").append(toIndentedString(passengers)).append("\n"); sb.append("}"); return sb.toString(); } @@ -151,10 +151,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsClientReferenceInformation.java b/src/main/java/Model/Riskv1authenticationsetupsClientReferenceInformation.java index cbfdae498..9319b1751 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsClientReferenceInformation.java +++ b/src/main/java/Model/Riskv1authenticationsetupsClientReferenceInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (pausedRequestId != null) sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformation.java b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformation.java index a103c1146..2bdaf3c0b 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformation.java +++ b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (fluidData != null) sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCard.java b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCard.java index 5b7f746d3..2f6bb5787 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCard.java +++ b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCard.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsPaymentInformationCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java index 5df071727..31f8f3d71 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java +++ b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsPaymentInformationCustomer {\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationFluidData.java b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationFluidData.java index ee4cd6bbe..3311ec3e2 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationFluidData.java +++ b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationFluidData.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsPaymentInformationFluidData {\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" keySerialNumber: ").append(toIndentedString(keySerialNumber)).append("\n"); - sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); - sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (keySerialNumber != null) sb.append(" keySerialNumber: ").append(toIndentedString(keySerialNumber)).append("\n"); + if (descriptor != null) sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); + if (encoding != null) sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.java b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.java index 34b6e9eb4..90c12b290 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsPaymentInformationTokenizedCard {\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsProcessingInformation.java b/src/main/java/Model/Riskv1authenticationsetupsProcessingInformation.java index 2fbca0fc0..bec45e351 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsProcessingInformation.java +++ b/src/main/java/Model/Riskv1authenticationsetupsProcessingInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsProcessingInformation {\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1authenticationsetupsTokenInformation.java b/src/main/java/Model/Riskv1authenticationsetupsTokenInformation.java index 147c3d36b..b9be7e835 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsTokenInformation.java +++ b/src/main/java/Model/Riskv1authenticationsetupsTokenInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1authenticationsetupsTokenInformation {\n"); - sb.append(" transientToken: ").append(toIndentedString(transientToken)).append("\n"); - sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); + if (transientToken != null) sb.append(" transientToken: ").append(toIndentedString(transientToken)).append("\n"); + if (jti != null) sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsAcquirerInformation.java b/src/main/java/Model/Riskv1decisionsAcquirerInformation.java index 56fdb0c88..950c2f3e0 100644 --- a/src/main/java/Model/Riskv1decisionsAcquirerInformation.java +++ b/src/main/java/Model/Riskv1decisionsAcquirerInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsAcquirerInformation {\n"); - sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (acquirerBin != null) sb.append(" acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (password != null) sb.append(" password: ").append(toIndentedString(password)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsBuyerInformation.java b/src/main/java/Model/Riskv1decisionsBuyerInformation.java index f45f089f4..7b16b905e 100644 --- a/src/main/java/Model/Riskv1decisionsBuyerInformation.java +++ b/src/main/java/Model/Riskv1decisionsBuyerInformation.java @@ -174,11 +174,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" hashedPassword: ").append(toIndentedString(hashedPassword)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (username != null) sb.append(" username: ").append(toIndentedString(username)).append("\n"); + if (hashedPassword != null) sb.append(" hashedPassword: ").append(toIndentedString(hashedPassword)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -189,10 +189,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsClientReferenceInformation.java b/src/main/java/Model/Riskv1decisionsClientReferenceInformation.java index 704254706..830bc4405 100644 --- a/src/main/java/Model/Riskv1decisionsClientReferenceInformation.java +++ b/src/main/java/Model/Riskv1decisionsClientReferenceInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (pausedRequestId != null) sb.append(" pausedRequestId: ").append(toIndentedString(pausedRequestId)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsClientReferenceInformationPartner.java b/src/main/java/Model/Riskv1decisionsClientReferenceInformationPartner.java index 4532bd6dc..1e37b586e 100644 --- a/src/main/java/Model/Riskv1decisionsClientReferenceInformationPartner.java +++ b/src/main/java/Model/Riskv1decisionsClientReferenceInformationPartner.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsClientReferenceInformationPartner {\n"); - sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (developerId != null) sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java b/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java index 09373985a..80e445c1b 100644 --- a/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java @@ -394,7 +394,7 @@ public Riskv1decisionsConsumerAuthenticationInformation defaultCard(Boolean defa * @return defaultCard **/ @ApiModelProperty(value = "Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy. ") - public Boolean isDefaultCard() { + public Boolean DefaultCard() { return defaultCard; } @@ -466,7 +466,7 @@ public Riskv1decisionsConsumerAuthenticationInformation marketingOptIn(Boolean m * @return marketingOptIn **/ @ApiModelProperty(value = "Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy. ") - public Boolean isMarketingOptIn() { + public Boolean MarketingOptIn() { return marketingOptIn; } @@ -933,46 +933,46 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsConsumerAuthenticationInformation {\n"); - sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); - sb.append(" acsWindowSize: ").append(toIndentedString(acsWindowSize)).append("\n"); - sb.append(" alternateAuthenticationData: ").append(toIndentedString(alternateAuthenticationData)).append("\n"); - sb.append(" alternateAuthenticationDate: ").append(toIndentedString(alternateAuthenticationDate)).append("\n"); - sb.append(" alternateAuthenticationMethod: ").append(toIndentedString(alternateAuthenticationMethod)).append("\n"); - sb.append(" authenticationDate: ").append(toIndentedString(authenticationDate)).append("\n"); - sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); - sb.append(" transactionFlowIndicator: ").append(toIndentedString(transactionFlowIndicator)).append("\n"); - sb.append(" challengeCode: ").append(toIndentedString(challengeCode)).append("\n"); - sb.append(" challengeStatus: ").append(toIndentedString(challengeStatus)).append("\n"); - sb.append(" customerCardAlias: ").append(toIndentedString(customerCardAlias)).append("\n"); - sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); - sb.append(" decoupledAuthenticationMaxTime: ").append(toIndentedString(decoupledAuthenticationMaxTime)).append("\n"); - sb.append(" defaultCard: ").append(toIndentedString(defaultCard)).append("\n"); - sb.append(" deviceChannel: ").append(toIndentedString(deviceChannel)).append("\n"); - sb.append(" installmentTotalCount: ").append(toIndentedString(installmentTotalCount)).append("\n"); - sb.append(" merchantFraudRate: ").append(toIndentedString(merchantFraudRate)).append("\n"); - sb.append(" marketingOptIn: ").append(toIndentedString(marketingOptIn)).append("\n"); - sb.append(" marketingSource: ").append(toIndentedString(marketingSource)).append("\n"); - sb.append(" mcc: ").append(toIndentedString(mcc)).append("\n"); - sb.append(" merchantScore: ").append(toIndentedString(merchantScore)).append("\n"); - sb.append(" messageCategory: ").append(toIndentedString(messageCategory)).append("\n"); - sb.append(" npaCode: ").append(toIndentedString(npaCode)).append("\n"); - sb.append(" overridePaymentMethod: ").append(toIndentedString(overridePaymentMethod)).append("\n"); - sb.append(" overrideCountryCode: ").append(toIndentedString(overrideCountryCode)).append("\n"); - sb.append(" priorAuthenticationData: ").append(toIndentedString(priorAuthenticationData)).append("\n"); - sb.append(" priorAuthenticationMethod: ").append(toIndentedString(priorAuthenticationMethod)).append("\n"); - sb.append(" priorAuthenticationReferenceId: ").append(toIndentedString(priorAuthenticationReferenceId)).append("\n"); - sb.append(" priorAuthenticationTime: ").append(toIndentedString(priorAuthenticationTime)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); - sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); - sb.append(" requestorInitiatedAuthenticationIndicator: ").append(toIndentedString(requestorInitiatedAuthenticationIndicator)).append("\n"); - sb.append(" requestorName: ").append(toIndentedString(requestorName)).append("\n"); - sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); - sb.append(" sdkMaxTimeout: ").append(toIndentedString(sdkMaxTimeout)).append("\n"); - sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); - sb.append(" transactionMode: ").append(toIndentedString(transactionMode)).append("\n"); - sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); - sb.append(" scoreRequest: ").append(toIndentedString(scoreRequest)).append("\n"); + if (strongAuthentication != null) sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); + if (acsWindowSize != null) sb.append(" acsWindowSize: ").append(toIndentedString(acsWindowSize)).append("\n"); + if (alternateAuthenticationData != null) sb.append(" alternateAuthenticationData: ").append(toIndentedString(alternateAuthenticationData)).append("\n"); + if (alternateAuthenticationDate != null) sb.append(" alternateAuthenticationDate: ").append(toIndentedString(alternateAuthenticationDate)).append("\n"); + if (alternateAuthenticationMethod != null) sb.append(" alternateAuthenticationMethod: ").append(toIndentedString(alternateAuthenticationMethod)).append("\n"); + if (authenticationDate != null) sb.append(" authenticationDate: ").append(toIndentedString(authenticationDate)).append("\n"); + if (authenticationTransactionId != null) sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); + if (transactionFlowIndicator != null) sb.append(" transactionFlowIndicator: ").append(toIndentedString(transactionFlowIndicator)).append("\n"); + if (challengeCode != null) sb.append(" challengeCode: ").append(toIndentedString(challengeCode)).append("\n"); + if (challengeStatus != null) sb.append(" challengeStatus: ").append(toIndentedString(challengeStatus)).append("\n"); + if (customerCardAlias != null) sb.append(" customerCardAlias: ").append(toIndentedString(customerCardAlias)).append("\n"); + if (decoupledAuthenticationIndicator != null) sb.append(" decoupledAuthenticationIndicator: ").append(toIndentedString(decoupledAuthenticationIndicator)).append("\n"); + if (decoupledAuthenticationMaxTime != null) sb.append(" decoupledAuthenticationMaxTime: ").append(toIndentedString(decoupledAuthenticationMaxTime)).append("\n"); + if (defaultCard != null) sb.append(" defaultCard: ").append(toIndentedString(defaultCard)).append("\n"); + if (deviceChannel != null) sb.append(" deviceChannel: ").append(toIndentedString(deviceChannel)).append("\n"); + if (installmentTotalCount != null) sb.append(" installmentTotalCount: ").append(toIndentedString(installmentTotalCount)).append("\n"); + if (merchantFraudRate != null) sb.append(" merchantFraudRate: ").append(toIndentedString(merchantFraudRate)).append("\n"); + if (marketingOptIn != null) sb.append(" marketingOptIn: ").append(toIndentedString(marketingOptIn)).append("\n"); + if (marketingSource != null) sb.append(" marketingSource: ").append(toIndentedString(marketingSource)).append("\n"); + if (mcc != null) sb.append(" mcc: ").append(toIndentedString(mcc)).append("\n"); + if (merchantScore != null) sb.append(" merchantScore: ").append(toIndentedString(merchantScore)).append("\n"); + if (messageCategory != null) sb.append(" messageCategory: ").append(toIndentedString(messageCategory)).append("\n"); + if (npaCode != null) sb.append(" npaCode: ").append(toIndentedString(npaCode)).append("\n"); + if (overridePaymentMethod != null) sb.append(" overridePaymentMethod: ").append(toIndentedString(overridePaymentMethod)).append("\n"); + if (overrideCountryCode != null) sb.append(" overrideCountryCode: ").append(toIndentedString(overrideCountryCode)).append("\n"); + if (priorAuthenticationData != null) sb.append(" priorAuthenticationData: ").append(toIndentedString(priorAuthenticationData)).append("\n"); + if (priorAuthenticationMethod != null) sb.append(" priorAuthenticationMethod: ").append(toIndentedString(priorAuthenticationMethod)).append("\n"); + if (priorAuthenticationReferenceId != null) sb.append(" priorAuthenticationReferenceId: ").append(toIndentedString(priorAuthenticationReferenceId)).append("\n"); + if (priorAuthenticationTime != null) sb.append(" priorAuthenticationTime: ").append(toIndentedString(priorAuthenticationTime)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (returnUrl != null) sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); + if (requestorId != null) sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); + if (requestorInitiatedAuthenticationIndicator != null) sb.append(" requestorInitiatedAuthenticationIndicator: ").append(toIndentedString(requestorInitiatedAuthenticationIndicator)).append("\n"); + if (requestorName != null) sb.append(" requestorName: ").append(toIndentedString(requestorName)).append("\n"); + if (referenceId != null) sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); + if (sdkMaxTimeout != null) sb.append(" sdkMaxTimeout: ").append(toIndentedString(sdkMaxTimeout)).append("\n"); + if (secureCorporatePaymentIndicator != null) sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); + if (transactionMode != null) sb.append(" transactionMode: ").append(toIndentedString(transactionMode)).append("\n"); + if (whiteListStatus != null) sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); + if (scoreRequest != null) sb.append(" scoreRequest: ").append(toIndentedString(scoreRequest)).append("\n"); sb.append("}"); return sb.toString(); } @@ -983,10 +983,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication.java b/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication.java index d9ac291fd..e13604f19 100644 --- a/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication.java +++ b/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication {\n"); - sb.append(" authenticationIndicator: ").append(toIndentedString(authenticationIndicator)).append("\n"); + if (authenticationIndicator != null) sb.append(" authenticationIndicator: ").append(toIndentedString(authenticationIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsDeviceInformation.java b/src/main/java/Model/Riskv1decisionsDeviceInformation.java index f4eef3461..87ff095a2 100644 --- a/src/main/java/Model/Riskv1decisionsDeviceInformation.java +++ b/src/main/java/Model/Riskv1decisionsDeviceInformation.java @@ -281,7 +281,7 @@ public Riskv1decisionsDeviceInformation httpBrowserJavaEnabled(Boolean httpBrows * @return httpBrowserJavaEnabled **/ @ApiModelProperty(value = "A Boolean value that represents the ability of the cardholder browser to execute Java. Value is returned from the navigator.javaEnabled property. Possible Values:True/False ") - public Boolean isHttpBrowserJavaEnabled() { + public Boolean HttpBrowserJavaEnabled() { return httpBrowserJavaEnabled; } @@ -299,7 +299,7 @@ public Riskv1decisionsDeviceInformation httpBrowserJavaScriptEnabled(Boolean htt * @return httpBrowserJavaScriptEnabled **/ @ApiModelProperty(value = "A Boolean value that represents the ability of the cardholder browser to execute JavaScript. Possible Values:True/False. **Note**: Merchants should be able to know the values from fingerprint details of cardholder's browser. ") - public Boolean isHttpBrowserJavaScriptEnabled() { + public Boolean HttpBrowserJavaScriptEnabled() { return httpBrowserJavaScriptEnabled; } @@ -437,23 +437,23 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsDeviceInformation {\n"); - sb.append(" cookiesAccepted: ").append(toIndentedString(cookiesAccepted)).append("\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); - sb.append(" fingerprintSessionId: ").append(toIndentedString(fingerprintSessionId)).append("\n"); - sb.append(" httpBrowserEmail: ").append(toIndentedString(httpBrowserEmail)).append("\n"); - sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); - sb.append(" rawData: ").append(toIndentedString(rawData)).append("\n"); - sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); - sb.append(" httpAcceptContent: ").append(toIndentedString(httpAcceptContent)).append("\n"); - sb.append(" httpBrowserLanguage: ").append(toIndentedString(httpBrowserLanguage)).append("\n"); - sb.append(" httpBrowserJavaEnabled: ").append(toIndentedString(httpBrowserJavaEnabled)).append("\n"); - sb.append(" httpBrowserJavaScriptEnabled: ").append(toIndentedString(httpBrowserJavaScriptEnabled)).append("\n"); - sb.append(" httpBrowserColorDepth: ").append(toIndentedString(httpBrowserColorDepth)).append("\n"); - sb.append(" httpBrowserScreenHeight: ").append(toIndentedString(httpBrowserScreenHeight)).append("\n"); - sb.append(" httpBrowserScreenWidth: ").append(toIndentedString(httpBrowserScreenWidth)).append("\n"); - sb.append(" httpBrowserTimeDifference: ").append(toIndentedString(httpBrowserTimeDifference)).append("\n"); - sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); + if (cookiesAccepted != null) sb.append(" cookiesAccepted: ").append(toIndentedString(cookiesAccepted)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (hostName != null) sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + if (fingerprintSessionId != null) sb.append(" fingerprintSessionId: ").append(toIndentedString(fingerprintSessionId)).append("\n"); + if (httpBrowserEmail != null) sb.append(" httpBrowserEmail: ").append(toIndentedString(httpBrowserEmail)).append("\n"); + if (userAgent != null) sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + if (rawData != null) sb.append(" rawData: ").append(toIndentedString(rawData)).append("\n"); + if (httpAcceptBrowserValue != null) sb.append(" httpAcceptBrowserValue: ").append(toIndentedString(httpAcceptBrowserValue)).append("\n"); + if (httpAcceptContent != null) sb.append(" httpAcceptContent: ").append(toIndentedString(httpAcceptContent)).append("\n"); + if (httpBrowserLanguage != null) sb.append(" httpBrowserLanguage: ").append(toIndentedString(httpBrowserLanguage)).append("\n"); + if (httpBrowserJavaEnabled != null) sb.append(" httpBrowserJavaEnabled: ").append(toIndentedString(httpBrowserJavaEnabled)).append("\n"); + if (httpBrowserJavaScriptEnabled != null) sb.append(" httpBrowserJavaScriptEnabled: ").append(toIndentedString(httpBrowserJavaScriptEnabled)).append("\n"); + if (httpBrowserColorDepth != null) sb.append(" httpBrowserColorDepth: ").append(toIndentedString(httpBrowserColorDepth)).append("\n"); + if (httpBrowserScreenHeight != null) sb.append(" httpBrowserScreenHeight: ").append(toIndentedString(httpBrowserScreenHeight)).append("\n"); + if (httpBrowserScreenWidth != null) sb.append(" httpBrowserScreenWidth: ").append(toIndentedString(httpBrowserScreenWidth)).append("\n"); + if (httpBrowserTimeDifference != null) sb.append(" httpBrowserTimeDifference: ").append(toIndentedString(httpBrowserTimeDifference)).append("\n"); + if (userAgentBrowserValue != null) sb.append(" userAgentBrowserValue: ").append(toIndentedString(userAgentBrowserValue)).append("\n"); sb.append("}"); return sb.toString(); } @@ -464,10 +464,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsMerchantDefinedInformation.java b/src/main/java/Model/Riskv1decisionsMerchantDefinedInformation.java index a517bc326..1cbcf8271 100644 --- a/src/main/java/Model/Riskv1decisionsMerchantDefinedInformation.java +++ b/src/main/java/Model/Riskv1decisionsMerchantDefinedInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsMerchantDefinedInformation {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (key != null) sb.append(" key: ").append(toIndentedString(key)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsMerchantInformation.java b/src/main/java/Model/Riskv1decisionsMerchantInformation.java index 716355ad8..5fbc34165 100644 --- a/src/main/java/Model/Riskv1decisionsMerchantInformation.java +++ b/src/main/java/Model/Riskv1decisionsMerchantInformation.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); - sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (merchantName != null) sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Riskv1decisionsMerchantInformationMerchantDescriptor.java index f2fb164c5..837d9098a 100644 --- a/src/main/java/Model/Riskv1decisionsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Riskv1decisionsMerchantInformationMerchantDescriptor.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsOrderInformation.java b/src/main/java/Model/Riskv1decisionsOrderInformation.java index 527455b4f..aa0903e3b 100644 --- a/src/main/java/Model/Riskv1decisionsOrderInformation.java +++ b/src/main/java/Model/Riskv1decisionsOrderInformation.java @@ -152,7 +152,7 @@ public Riskv1decisionsOrderInformation reordered(Boolean reordered) { * @return reordered **/ @ApiModelProperty(value = "Indicates whether the cardholder is reordering previously purchased merchandise. This field can contain one of these values: - false: First time ordered - true: Reordered ") - public Boolean isReordered() { + public Boolean Reordered() { return reordered; } @@ -206,7 +206,7 @@ public Riskv1decisionsOrderInformation returnsAccepted(Boolean returnsAccepted) * @return returnsAccepted **/ @ApiModelProperty(value = "Boolean that indicates whether returns are accepted for this order. This field can contain one of the following values: - true: Returns are accepted for this order. - false: Returns are not accepted for this order. ") - public Boolean isReturnsAccepted() { + public Boolean ReturnsAccepted() { return returnsAccepted; } @@ -310,17 +310,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" preOrder: ").append(toIndentedString(preOrder)).append("\n"); - sb.append(" preOrderDate: ").append(toIndentedString(preOrderDate)).append("\n"); - sb.append(" cutoffDateTime: ").append(toIndentedString(cutoffDateTime)).append("\n"); - sb.append(" reordered: ").append(toIndentedString(reordered)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" returnsAccepted: ").append(toIndentedString(returnsAccepted)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" totalOffersCount: ").append(toIndentedString(totalOffersCount)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (preOrder != null) sb.append(" preOrder: ").append(toIndentedString(preOrder)).append("\n"); + if (preOrderDate != null) sb.append(" preOrderDate: ").append(toIndentedString(preOrderDate)).append("\n"); + if (cutoffDateTime != null) sb.append(" cutoffDateTime: ").append(toIndentedString(cutoffDateTime)).append("\n"); + if (reordered != null) sb.append(" reordered: ").append(toIndentedString(reordered)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (returnsAccepted != null) sb.append(" returnsAccepted: ").append(toIndentedString(returnsAccepted)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (totalOffersCount != null) sb.append(" totalOffersCount: ").append(toIndentedString(totalOffersCount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -331,10 +331,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsOrderInformationAmountDetails.java b/src/main/java/Model/Riskv1decisionsOrderInformationAmountDetails.java index 1b361e947..6df9519ef 100644 --- a/src/main/java/Model/Riskv1decisionsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Riskv1decisionsOrderInformationAmountDetails.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsOrderInformationAmountDetails {\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsOrderInformationBillTo.java b/src/main/java/Model/Riskv1decisionsOrderInformationBillTo.java index d27b4e9ca..a32a9f909 100644 --- a/src/main/java/Model/Riskv1decisionsOrderInformationBillTo.java +++ b/src/main/java/Model/Riskv1decisionsOrderInformationBillTo.java @@ -272,16 +272,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -292,10 +292,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsOrderInformationLineItems.java b/src/main/java/Model/Riskv1decisionsOrderInformationLineItems.java index d6ece4f71..76f437581 100644 --- a/src/main/java/Model/Riskv1decisionsOrderInformationLineItems.java +++ b/src/main/java/Model/Riskv1decisionsOrderInformationLineItems.java @@ -254,7 +254,7 @@ public Riskv1decisionsOrderInformationLineItems gift(Boolean gift) { * @return gift **/ @ApiModelProperty(value = "This field is only used in DM service. Determines whether to assign risk to the order if the billing and shipping addresses specify different cities, states, or countries. This field can contain one of the following values: - true: Orders are assigned only slight additional risk if billing and shipping addresses are different. - false: Orders are assigned higher additional risk if billing and shipping addresses are different. ") - public Boolean isGift() { + public Boolean Gift() { return gift; } @@ -425,22 +425,22 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsOrderInformationLineItems {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" giftCardCurrency: ").append(toIndentedString(giftCardCurrency)).append("\n"); - sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); - sb.append(" productRisk: ").append(toIndentedString(productRisk)).append("\n"); - sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" gift: ").append(toIndentedString(gift)).append("\n"); - sb.append(" distributorProductSku: ").append(toIndentedString(distributorProductSku)).append("\n"); - sb.append(" passenger: ").append(toIndentedString(passenger)).append("\n"); - sb.append(" shippingDestinationTypes: ").append(toIndentedString(shippingDestinationTypes)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" allowedExportCountries: ").append(toIndentedString(allowedExportCountries)).append("\n"); - sb.append(" restrictedExportCountries: ").append(toIndentedString(restrictedExportCountries)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (giftCardCurrency != null) sb.append(" giftCardCurrency: ").append(toIndentedString(giftCardCurrency)).append("\n"); + if (productSKU != null) sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); + if (productRisk != null) sb.append(" productRisk: ").append(toIndentedString(productRisk)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (gift != null) sb.append(" gift: ").append(toIndentedString(gift)).append("\n"); + if (distributorProductSku != null) sb.append(" distributorProductSku: ").append(toIndentedString(distributorProductSku)).append("\n"); + if (passenger != null) sb.append(" passenger: ").append(toIndentedString(passenger)).append("\n"); + if (shippingDestinationTypes != null) sb.append(" shippingDestinationTypes: ").append(toIndentedString(shippingDestinationTypes)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (allowedExportCountries != null) sb.append(" allowedExportCountries: ").append(toIndentedString(allowedExportCountries)).append("\n"); + if (restrictedExportCountries != null) sb.append(" restrictedExportCountries: ").append(toIndentedString(restrictedExportCountries)).append("\n"); sb.append("}"); return sb.toString(); } @@ -451,10 +451,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsOrderInformationShipTo.java b/src/main/java/Model/Riskv1decisionsOrderInformationShipTo.java index be9670fcf..a592ed296 100644 --- a/src/main/java/Model/Riskv1decisionsOrderInformationShipTo.java +++ b/src/main/java/Model/Riskv1decisionsOrderInformationShipTo.java @@ -360,20 +360,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsOrderInformationShipTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" destinationTypes: ").append(toIndentedString(destinationTypes)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" destinationCode: ").append(toIndentedString(destinationCode)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (destinationTypes != null) sb.append(" destinationTypes: ").append(toIndentedString(destinationTypes)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (destinationCode != null) sb.append(" destinationCode: ").append(toIndentedString(destinationCode)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -384,10 +384,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsOrderInformationShippingDetails.java b/src/main/java/Model/Riskv1decisionsOrderInformationShippingDetails.java index 739ec3ddc..7542d9277 100644 --- a/src/main/java/Model/Riskv1decisionsOrderInformationShippingDetails.java +++ b/src/main/java/Model/Riskv1decisionsOrderInformationShippingDetails.java @@ -46,7 +46,7 @@ public Riskv1decisionsOrderInformationShippingDetails giftWrap(Boolean giftWrap) * @return giftWrap **/ @ApiModelProperty(value = "Boolean that indicates whether the customer requested gift wrapping for this purchase. This field can contain one of the following values: - true: The customer requested gift wrapping. - false: The customer did not request gift wrapping. ") - public Boolean isGiftWrap() { + public Boolean GiftWrap() { return giftWrap; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsOrderInformationShippingDetails {\n"); - sb.append(" giftWrap: ").append(toIndentedString(giftWrap)).append("\n"); - sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); + if (giftWrap != null) sb.append(" giftWrap: ").append(toIndentedString(giftWrap)).append("\n"); + if (shippingMethod != null) sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsPaymentInformation.java b/src/main/java/Model/Riskv1decisionsPaymentInformation.java index 67d07e069..a5fd6e4d0 100644 --- a/src/main/java/Model/Riskv1decisionsPaymentInformation.java +++ b/src/main/java/Model/Riskv1decisionsPaymentInformation.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsPaymentInformationCard.java b/src/main/java/Model/Riskv1decisionsPaymentInformationCard.java index c34526b96..9518a66f8 100644 --- a/src/main/java/Model/Riskv1decisionsPaymentInformationCard.java +++ b/src/main/java/Model/Riskv1decisionsPaymentInformationCard.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bin != null) sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsPaymentInformationTokenizedCard.java b/src/main/java/Model/Riskv1decisionsPaymentInformationTokenizedCard.java index 601ed839d..e3b554022 100644 --- a/src/main/java/Model/Riskv1decisionsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/Riskv1decisionsPaymentInformationTokenizedCard.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsPaymentInformationTokenizedCard {\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsProcessingInformation.java b/src/main/java/Model/Riskv1decisionsProcessingInformation.java index 0a96d617a..7224be0ae 100644 --- a/src/main/java/Model/Riskv1decisionsProcessingInformation.java +++ b/src/main/java/Model/Riskv1decisionsProcessingInformation.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsProcessorInformation.java b/src/main/java/Model/Riskv1decisionsProcessorInformation.java index 4346893e4..95cbb13f2 100644 --- a/src/main/java/Model/Riskv1decisionsProcessorInformation.java +++ b/src/main/java/Model/Riskv1decisionsProcessorInformation.java @@ -99,8 +99,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsProcessorInformation {\n"); - sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); - sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); + if (avs != null) sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); + if (cardVerification != null) sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -111,10 +111,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsProcessorInformationAvs.java b/src/main/java/Model/Riskv1decisionsProcessorInformationAvs.java index 4b8dd96ca..0662485db 100644 --- a/src/main/java/Model/Riskv1decisionsProcessorInformationAvs.java +++ b/src/main/java/Model/Riskv1decisionsProcessorInformationAvs.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsProcessorInformationAvs {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsProcessorInformationCardVerification.java b/src/main/java/Model/Riskv1decisionsProcessorInformationCardVerification.java index 7ebe8f55d..1801354a7 100644 --- a/src/main/java/Model/Riskv1decisionsProcessorInformationCardVerification.java +++ b/src/main/java/Model/Riskv1decisionsProcessorInformationCardVerification.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsProcessorInformationCardVerification {\n"); - sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); + if (resultCode != null) sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsRiskInformation.java b/src/main/java/Model/Riskv1decisionsRiskInformation.java index c608ba126..580973637 100644 --- a/src/main/java/Model/Riskv1decisionsRiskInformation.java +++ b/src/main/java/Model/Riskv1decisionsRiskInformation.java @@ -153,10 +153,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsRiskInformation {\n"); - sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); - sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); - sb.append(" buyerHistory: ").append(toIndentedString(buyerHistory)).append("\n"); - sb.append(" auxiliaryData: ").append(toIndentedString(auxiliaryData)).append("\n"); + if (profile != null) sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); + if (eventType != null) sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); + if (buyerHistory != null) sb.append(" buyerHistory: ").append(toIndentedString(buyerHistory)).append("\n"); + if (auxiliaryData != null) sb.append(" auxiliaryData: ").append(toIndentedString(auxiliaryData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -167,10 +167,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsTokenInformation.java b/src/main/java/Model/Riskv1decisionsTokenInformation.java index a1e0185cc..4bfb86b0b 100644 --- a/src/main/java/Model/Riskv1decisionsTokenInformation.java +++ b/src/main/java/Model/Riskv1decisionsTokenInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsTokenInformation {\n"); - sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); + if (jti != null) sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsTravelInformation.java b/src/main/java/Model/Riskv1decisionsTravelInformation.java index acfb4114b..814958fc2 100644 --- a/src/main/java/Model/Riskv1decisionsTravelInformation.java +++ b/src/main/java/Model/Riskv1decisionsTravelInformation.java @@ -226,13 +226,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsTravelInformation {\n"); - sb.append(" actualFinalDestination: ").append(toIndentedString(actualFinalDestination)).append("\n"); - sb.append(" completeRoute: ").append(toIndentedString(completeRoute)).append("\n"); - sb.append(" departureTime: ").append(toIndentedString(departureTime)).append("\n"); - sb.append(" journeyType: ").append(toIndentedString(journeyType)).append("\n"); - sb.append(" legs: ").append(toIndentedString(legs)).append("\n"); - sb.append(" numberOfPassengers: ").append(toIndentedString(numberOfPassengers)).append("\n"); - sb.append(" passengers: ").append(toIndentedString(passengers)).append("\n"); + if (actualFinalDestination != null) sb.append(" actualFinalDestination: ").append(toIndentedString(actualFinalDestination)).append("\n"); + if (completeRoute != null) sb.append(" completeRoute: ").append(toIndentedString(completeRoute)).append("\n"); + if (departureTime != null) sb.append(" departureTime: ").append(toIndentedString(departureTime)).append("\n"); + if (journeyType != null) sb.append(" journeyType: ").append(toIndentedString(journeyType)).append("\n"); + if (legs != null) sb.append(" legs: ").append(toIndentedString(legs)).append("\n"); + if (numberOfPassengers != null) sb.append(" numberOfPassengers: ").append(toIndentedString(numberOfPassengers)).append("\n"); + if (passengers != null) sb.append(" passengers: ").append(toIndentedString(passengers)).append("\n"); sb.append("}"); return sb.toString(); } @@ -243,10 +243,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsTravelInformationLegs.java b/src/main/java/Model/Riskv1decisionsTravelInformationLegs.java index 60fbfae8a..b78604958 100644 --- a/src/main/java/Model/Riskv1decisionsTravelInformationLegs.java +++ b/src/main/java/Model/Riskv1decisionsTravelInformationLegs.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsTravelInformationLegs {\n"); - sb.append(" origination: ").append(toIndentedString(origination)).append("\n"); - sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); - sb.append(" carrierCode: ").append(toIndentedString(carrierCode)).append("\n"); - sb.append(" departureDate: ").append(toIndentedString(departureDate)).append("\n"); + if (origination != null) sb.append(" origination: ").append(toIndentedString(origination)).append("\n"); + if (destination != null) sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); + if (carrierCode != null) sb.append(" carrierCode: ").append(toIndentedString(carrierCode)).append("\n"); + if (departureDate != null) sb.append(" departureDate: ").append(toIndentedString(departureDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsTravelInformationPassengers.java b/src/main/java/Model/Riskv1decisionsTravelInformationPassengers.java index 34b70b947..942b88a1e 100644 --- a/src/main/java/Model/Riskv1decisionsTravelInformationPassengers.java +++ b/src/main/java/Model/Riskv1decisionsTravelInformationPassengers.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsTravelInformationPassengers {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsidactionsDecisionInformation.java b/src/main/java/Model/Riskv1decisionsidactionsDecisionInformation.java index beba6bfc1..3b13c75be 100644 --- a/src/main/java/Model/Riskv1decisionsidactionsDecisionInformation.java +++ b/src/main/java/Model/Riskv1decisionsidactionsDecisionInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsidactionsDecisionInformation {\n"); - sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (decision != null) sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsidactionsProcessingInformation.java b/src/main/java/Model/Riskv1decisionsidactionsProcessingInformation.java index 7e8b71176..657d12f10 100644 --- a/src/main/java/Model/Riskv1decisionsidactionsProcessingInformation.java +++ b/src/main/java/Model/Riskv1decisionsidactionsProcessingInformation.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsidactionsProcessingInformation {\n"); - sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsidmarkingRiskInformation.java b/src/main/java/Model/Riskv1decisionsidmarkingRiskInformation.java index e4755414c..90764979d 100644 --- a/src/main/java/Model/Riskv1decisionsidmarkingRiskInformation.java +++ b/src/main/java/Model/Riskv1decisionsidmarkingRiskInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsidmarkingRiskInformation {\n"); - sb.append(" markingDetails: ").append(toIndentedString(markingDetails)).append("\n"); + if (markingDetails != null) sb.append(" markingDetails: ").append(toIndentedString(markingDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1decisionsidmarkingRiskInformationMarkingDetails.java b/src/main/java/Model/Riskv1decisionsidmarkingRiskInformationMarkingDetails.java index aea7849a9..29a031317 100644 --- a/src/main/java/Model/Riskv1decisionsidmarkingRiskInformationMarkingDetails.java +++ b/src/main/java/Model/Riskv1decisionsidmarkingRiskInformationMarkingDetails.java @@ -151,10 +151,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1decisionsidmarkingRiskInformationMarkingDetails {\n"); - sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" fieldsIncluded: ").append(toIndentedString(fieldsIncluded)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); + if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (fieldsIncluded != null) sb.append(" fieldsIncluded: ").append(toIndentedString(fieldsIncluded)).append("\n"); + if (action != null) sb.append(" action: ").append(toIndentedString(action)).append("\n"); sb.append("}"); return sb.toString(); } @@ -165,10 +165,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesDeviceInformation.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesDeviceInformation.java index 74337c18a..a5cce0b2e 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesDeviceInformation.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesDeviceInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesDeviceInformation {\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (hostName != null) sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.java index d275574ac..07e9d0f71 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesExportComplianceInformation {\n"); - sb.append(" addressOperator: ").append(toIndentedString(addressOperator)).append("\n"); - sb.append(" weights: ").append(toIndentedString(weights)).append("\n"); - sb.append(" sanctionLists: ").append(toIndentedString(sanctionLists)).append("\n"); + if (addressOperator != null) sb.append(" addressOperator: ").append(toIndentedString(addressOperator)).append("\n"); + if (weights != null) sb.append(" weights: ").append(toIndentedString(weights)).append("\n"); + if (sanctionLists != null) sb.append(" sanctionLists: ").append(toIndentedString(sanctionLists)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformation.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformation.java index a63ec2003..c5ace85dd 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformation.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformation.java @@ -131,9 +131,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append("}"); return sb.toString(); } @@ -144,10 +144,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillTo.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillTo.java index fcdbdf662..a8a2e26b9 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillTo.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillTo.java @@ -317,18 +317,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -339,10 +339,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillToCompany.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillToCompany.java index fb2b95f4e..913ec5cd7 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillToCompany.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationBillToCompany.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesOrderInformationBillToCompany {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationLineItems.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationLineItems.java index 5a972c44e..b30445e22 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationLineItems.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationLineItems.java @@ -248,14 +248,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesOrderInformationLineItems {\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" allowedExportCountries: ").append(toIndentedString(allowedExportCountries)).append("\n"); - sb.append(" restrictedExportCountries: ").append(toIndentedString(restrictedExportCountries)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); - sb.append(" productRisk: ").append(toIndentedString(productRisk)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (allowedExportCountries != null) sb.append(" allowedExportCountries: ").append(toIndentedString(allowedExportCountries)).append("\n"); + if (restrictedExportCountries != null) sb.append(" restrictedExportCountries: ").append(toIndentedString(restrictedExportCountries)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (productSKU != null) sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); + if (productRisk != null) sb.append(" productRisk: ").append(toIndentedString(productRisk)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -266,10 +266,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationShipTo.java b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationShipTo.java index 005b211fc..0ba5ebfbb 100644 --- a/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationShipTo.java +++ b/src/main/java/Model/Riskv1exportcomplianceinquiriesOrderInformationShipTo.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1exportcomplianceinquiriesOrderInformationShipTo {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesBuyerInformation.java b/src/main/java/Model/Riskv1liststypeentriesBuyerInformation.java index ff9bc8e29..e8b0ca9ad 100644 --- a/src/main/java/Model/Riskv1liststypeentriesBuyerInformation.java +++ b/src/main/java/Model/Riskv1liststypeentriesBuyerInformation.java @@ -86,7 +86,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesBuyerInformation {\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -97,10 +97,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesClientReferenceInformation.java b/src/main/java/Model/Riskv1liststypeentriesClientReferenceInformation.java index 82b089302..724116cf6 100644 --- a/src/main/java/Model/Riskv1liststypeentriesClientReferenceInformation.java +++ b/src/main/java/Model/Riskv1liststypeentriesClientReferenceInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesDeviceInformation.java b/src/main/java/Model/Riskv1liststypeentriesDeviceInformation.java index 72f75701e..87d88401d 100644 --- a/src/main/java/Model/Riskv1liststypeentriesDeviceInformation.java +++ b/src/main/java/Model/Riskv1liststypeentriesDeviceInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesDeviceInformation {\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" networkIpAddress: ").append(toIndentedString(networkIpAddress)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (networkIpAddress != null) sb.append(" networkIpAddress: ").append(toIndentedString(networkIpAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesOrderInformation.java b/src/main/java/Model/Riskv1liststypeentriesOrderInformation.java index ddb2b1b2e..1ccda99b3 100644 --- a/src/main/java/Model/Riskv1liststypeentriesOrderInformation.java +++ b/src/main/java/Model/Riskv1liststypeentriesOrderInformation.java @@ -154,10 +154,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesOrderInformation {\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append("}"); return sb.toString(); } @@ -168,10 +168,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesOrderInformationAddress.java b/src/main/java/Model/Riskv1liststypeentriesOrderInformationAddress.java index 475473e3f..530bd43ff 100644 --- a/src/main/java/Model/Riskv1liststypeentriesOrderInformationAddress.java +++ b/src/main/java/Model/Riskv1liststypeentriesOrderInformationAddress.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesOrderInformationAddress {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesOrderInformationBillTo.java b/src/main/java/Model/Riskv1liststypeentriesOrderInformationBillTo.java index 4d7ac5608..0323554b0 100644 --- a/src/main/java/Model/Riskv1liststypeentriesOrderInformationBillTo.java +++ b/src/main/java/Model/Riskv1liststypeentriesOrderInformationBillTo.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" emailDomain: ").append(toIndentedString(emailDomain)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (emailDomain != null) sb.append(" emailDomain: ").append(toIndentedString(emailDomain)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesOrderInformationLineItems.java b/src/main/java/Model/Riskv1liststypeentriesOrderInformationLineItems.java index 793a6a527..9ac6ffd00 100644 --- a/src/main/java/Model/Riskv1liststypeentriesOrderInformationLineItems.java +++ b/src/main/java/Model/Riskv1liststypeentriesOrderInformationLineItems.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesOrderInformationLineItems {\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesOrderInformationShipTo.java b/src/main/java/Model/Riskv1liststypeentriesOrderInformationShipTo.java index 54c844ce2..40dc77c56 100644 --- a/src/main/java/Model/Riskv1liststypeentriesOrderInformationShipTo.java +++ b/src/main/java/Model/Riskv1liststypeentriesOrderInformationShipTo.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesOrderInformationShipTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesPaymentInformation.java b/src/main/java/Model/Riskv1liststypeentriesPaymentInformation.java index 632030925..e56d16358 100644 --- a/src/main/java/Model/Riskv1liststypeentriesPaymentInformation.java +++ b/src/main/java/Model/Riskv1liststypeentriesPaymentInformation.java @@ -99,8 +99,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesPaymentInformation {\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); sb.append("}"); return sb.toString(); } @@ -111,10 +111,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesPaymentInformationBank.java b/src/main/java/Model/Riskv1liststypeentriesPaymentInformationBank.java index 97a8fbd6e..72531c143 100644 --- a/src/main/java/Model/Riskv1liststypeentriesPaymentInformationBank.java +++ b/src/main/java/Model/Riskv1liststypeentriesPaymentInformationBank.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesPaymentInformationBank {\n"); - sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (accountNumber != null) sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesPaymentInformationCard.java b/src/main/java/Model/Riskv1liststypeentriesPaymentInformationCard.java index 54c11eeb4..6ca7458ec 100644 --- a/src/main/java/Model/Riskv1liststypeentriesPaymentInformationCard.java +++ b/src/main/java/Model/Riskv1liststypeentriesPaymentInformationCard.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesPaymentInformationCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bin != null) sb.append(" bin: ").append(toIndentedString(bin)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesRiskInformation.java b/src/main/java/Model/Riskv1liststypeentriesRiskInformation.java index 79f3b8d7e..2e9714105 100644 --- a/src/main/java/Model/Riskv1liststypeentriesRiskInformation.java +++ b/src/main/java/Model/Riskv1liststypeentriesRiskInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesRiskInformation {\n"); - sb.append(" markingDetails: ").append(toIndentedString(markingDetails)).append("\n"); + if (markingDetails != null) sb.append(" markingDetails: ").append(toIndentedString(markingDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Riskv1liststypeentriesRiskInformationMarkingDetails.java b/src/main/java/Model/Riskv1liststypeentriesRiskInformationMarkingDetails.java index 168383f80..edab491cf 100644 --- a/src/main/java/Model/Riskv1liststypeentriesRiskInformationMarkingDetails.java +++ b/src/main/java/Model/Riskv1liststypeentriesRiskInformationMarkingDetails.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Riskv1liststypeentriesRiskInformationMarkingDetails {\n"); - sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" recordName: ").append(toIndentedString(recordName)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); + if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (recordName != null) sb.append(" recordName: ").append(toIndentedString(recordName)).append("\n"); + if (action != null) sb.append(" action: ").append(toIndentedString(action)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfig.java b/src/main/java/Model/SAConfig.java index b7a78da55..38c2765e9 100644 --- a/src/main/java/Model/SAConfig.java +++ b/src/main/java/Model/SAConfig.java @@ -212,13 +212,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfig {\n"); - sb.append(" parentProfileId: ").append(toIndentedString(parentProfileId)).append("\n"); - sb.append(" contactInformation: ").append(toIndentedString(contactInformation)).append("\n"); - sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); - sb.append(" service: ").append(toIndentedString(service)).append("\n"); - sb.append(" paymentMethods: ").append(toIndentedString(paymentMethods)).append("\n"); - sb.append(" checkout: ").append(toIndentedString(checkout)).append("\n"); - sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); + if (parentProfileId != null) sb.append(" parentProfileId: ").append(toIndentedString(parentProfileId)).append("\n"); + if (contactInformation != null) sb.append(" contactInformation: ").append(toIndentedString(contactInformation)).append("\n"); + if (notifications != null) sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + if (service != null) sb.append(" service: ").append(toIndentedString(service)).append("\n"); + if (paymentMethods != null) sb.append(" paymentMethods: ").append(toIndentedString(paymentMethods)).append("\n"); + if (checkout != null) sb.append(" checkout: ").append(toIndentedString(checkout)).append("\n"); + if (paymentTypes != null) sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -229,10 +229,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigCheckout.java b/src/main/java/Model/SAConfigCheckout.java index 8a77adcdd..adcd467ae 100644 --- a/src/main/java/Model/SAConfigCheckout.java +++ b/src/main/java/Model/SAConfigCheckout.java @@ -48,7 +48,7 @@ public SAConfigCheckout displayTaxAmount(Boolean displayTaxAmount) { * @return displayTaxAmount **/ @ApiModelProperty(value = "Toggles whether or not the tax amount is displayed on the Hosted Checkout.") - public Boolean isDisplayTaxAmount() { + public Boolean DisplayTaxAmount() { return displayTaxAmount; } @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigCheckout {\n"); - sb.append(" displayTaxAmount: ").append(toIndentedString(displayTaxAmount)).append("\n"); - sb.append(" templateType: ").append(toIndentedString(templateType)).append("\n"); - sb.append(" returnToMerchantSiteUrl: ").append(toIndentedString(returnToMerchantSiteUrl)).append("\n"); + if (displayTaxAmount != null) sb.append(" displayTaxAmount: ").append(toIndentedString(displayTaxAmount)).append("\n"); + if (templateType != null) sb.append(" templateType: ").append(toIndentedString(templateType)).append("\n"); + if (returnToMerchantSiteUrl != null) sb.append(" returnToMerchantSiteUrl: ").append(toIndentedString(returnToMerchantSiteUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigContactInformation.java b/src/main/java/Model/SAConfigContactInformation.java index beee35aae..6d4ac83b0 100644 --- a/src/main/java/Model/SAConfigContactInformation.java +++ b/src/main/java/Model/SAConfigContactInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigContactInformation {\n"); - sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); - sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (companyName != null) sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigNotifications.java b/src/main/java/Model/SAConfigNotifications.java index 640883613..3df7f8bdf 100644 --- a/src/main/java/Model/SAConfigNotifications.java +++ b/src/main/java/Model/SAConfigNotifications.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigNotifications {\n"); - sb.append(" merchantNotifications: ").append(toIndentedString(merchantNotifications)).append("\n"); - sb.append(" customerNotifications: ").append(toIndentedString(customerNotifications)).append("\n"); + if (merchantNotifications != null) sb.append(" merchantNotifications: ").append(toIndentedString(merchantNotifications)).append("\n"); + if (customerNotifications != null) sb.append(" customerNotifications: ").append(toIndentedString(customerNotifications)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigNotificationsCustomerNotifications.java b/src/main/java/Model/SAConfigNotificationsCustomerNotifications.java index 66b59e8a5..7bc7f171b 100644 --- a/src/main/java/Model/SAConfigNotificationsCustomerNotifications.java +++ b/src/main/java/Model/SAConfigNotificationsCustomerNotifications.java @@ -61,7 +61,7 @@ public SAConfigNotificationsCustomerNotifications customReceiptPageEnabled(Boole * @return customReceiptPageEnabled **/ @ApiModelProperty(value = "Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance.") - public Boolean isCustomReceiptPageEnabled() { + public Boolean CustomReceiptPageEnabled() { return customReceiptPageEnabled; } @@ -97,7 +97,7 @@ public SAConfigNotificationsCustomerNotifications customerReceiptEmailEnabled(Bo * @return customerReceiptEmailEnabled **/ @ApiModelProperty(value = "Toggles an email receipt sent to the payer's email address on payment success.") - public Boolean isCustomerReceiptEmailEnabled() { + public Boolean CustomerReceiptEmailEnabled() { return customerReceiptEmailEnabled; } @@ -151,7 +151,7 @@ public SAConfigNotificationsCustomerNotifications customCancelPageEnabled(Boolea * @return customCancelPageEnabled **/ @ApiModelProperty(value = "Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance.") - public Boolean isCustomCancelPageEnabled() { + public Boolean CustomCancelPageEnabled() { return customCancelPageEnabled; } @@ -169,7 +169,7 @@ public SAConfigNotificationsCustomerNotifications notificationReceiptEmailEnable * @return notificationReceiptEmailEnabled **/ @ApiModelProperty(value = "Toggles whether merchant receives a copy of the payer's receipt email.") - public Boolean isNotificationReceiptEmailEnabled() { + public Boolean NotificationReceiptEmailEnabled() { return notificationReceiptEmailEnabled; } @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigNotificationsCustomerNotifications {\n"); - sb.append(" customReceiptPageEnabled: ").append(toIndentedString(customReceiptPageEnabled)).append("\n"); - sb.append(" receiptEmailAddress: ").append(toIndentedString(receiptEmailAddress)).append("\n"); - sb.append(" customerReceiptEmailEnabled: ").append(toIndentedString(customerReceiptEmailEnabled)).append("\n"); - sb.append(" customCancelPage: ").append(toIndentedString(customCancelPage)).append("\n"); - sb.append(" customReceiptPage: ").append(toIndentedString(customReceiptPage)).append("\n"); - sb.append(" customCancelPageEnabled: ").append(toIndentedString(customCancelPageEnabled)).append("\n"); - sb.append(" notificationReceiptEmailEnabled: ").append(toIndentedString(notificationReceiptEmailEnabled)).append("\n"); + if (customReceiptPageEnabled != null) sb.append(" customReceiptPageEnabled: ").append(toIndentedString(customReceiptPageEnabled)).append("\n"); + if (receiptEmailAddress != null) sb.append(" receiptEmailAddress: ").append(toIndentedString(receiptEmailAddress)).append("\n"); + if (customerReceiptEmailEnabled != null) sb.append(" customerReceiptEmailEnabled: ").append(toIndentedString(customerReceiptEmailEnabled)).append("\n"); + if (customCancelPage != null) sb.append(" customCancelPage: ").append(toIndentedString(customCancelPage)).append("\n"); + if (customReceiptPage != null) sb.append(" customReceiptPage: ").append(toIndentedString(customReceiptPage)).append("\n"); + if (customCancelPageEnabled != null) sb.append(" customCancelPageEnabled: ").append(toIndentedString(customCancelPageEnabled)).append("\n"); + if (notificationReceiptEmailEnabled != null) sb.append(" notificationReceiptEmailEnabled: ").append(toIndentedString(notificationReceiptEmailEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigNotificationsMerchantNotifications.java b/src/main/java/Model/SAConfigNotificationsMerchantNotifications.java index 2f94e6c19..b98d048a8 100644 --- a/src/main/java/Model/SAConfigNotificationsMerchantNotifications.java +++ b/src/main/java/Model/SAConfigNotificationsMerchantNotifications.java @@ -54,7 +54,7 @@ public SAConfigNotificationsMerchantNotifications backofficePostEnabled(Boolean * @return backofficePostEnabled **/ @ApiModelProperty(value = "Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance.") - public Boolean isBackofficePostEnabled() { + public Boolean BackofficePostEnabled() { return backofficePostEnabled; } @@ -90,7 +90,7 @@ public SAConfigNotificationsMerchantNotifications backofficeEmailEnabled(Boolean * @return backofficeEmailEnabled **/ @ApiModelProperty(value = "Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress.") - public Boolean isBackofficeEmailEnabled() { + public Boolean BackofficeEmailEnabled() { return backofficeEmailEnabled; } @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigNotificationsMerchantNotifications {\n"); - sb.append(" backofficePostEnabled: ").append(toIndentedString(backofficePostEnabled)).append("\n"); - sb.append(" backofficeEmailAddress: ").append(toIndentedString(backofficeEmailAddress)).append("\n"); - sb.append(" backofficeEmailEnabled: ").append(toIndentedString(backofficeEmailEnabled)).append("\n"); - sb.append(" backofficePostUrl: ").append(toIndentedString(backofficePostUrl)).append("\n"); - sb.append(" cardNumberFormat: ").append(toIndentedString(cardNumberFormat)).append("\n"); + if (backofficePostEnabled != null) sb.append(" backofficePostEnabled: ").append(toIndentedString(backofficePostEnabled)).append("\n"); + if (backofficeEmailAddress != null) sb.append(" backofficeEmailAddress: ").append(toIndentedString(backofficeEmailAddress)).append("\n"); + if (backofficeEmailEnabled != null) sb.append(" backofficeEmailEnabled: ").append(toIndentedString(backofficeEmailEnabled)).append("\n"); + if (backofficePostUrl != null) sb.append(" backofficePostUrl: ").append(toIndentedString(backofficePostUrl)).append("\n"); + if (cardNumberFormat != null) sb.append(" cardNumberFormat: ").append(toIndentedString(cardNumberFormat)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigPaymentMethods.java b/src/main/java/Model/SAConfigPaymentMethods.java index fd3641cde..2cfa56cba 100644 --- a/src/main/java/Model/SAConfigPaymentMethods.java +++ b/src/main/java/Model/SAConfigPaymentMethods.java @@ -84,7 +84,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigPaymentMethods {\n"); - sb.append(" enabledPaymentMethods: ").append(toIndentedString(enabledPaymentMethods)).append("\n"); + if (enabledPaymentMethods != null) sb.append(" enabledPaymentMethods: ").append(toIndentedString(enabledPaymentMethods)).append("\n"); sb.append("}"); return sb.toString(); } @@ -95,10 +95,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigPaymentTypes.java b/src/main/java/Model/SAConfigPaymentTypes.java index 80c588f22..b06daa8d1 100644 --- a/src/main/java/Model/SAConfigPaymentTypes.java +++ b/src/main/java/Model/SAConfigPaymentTypes.java @@ -76,7 +76,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigPaymentTypes {\n"); - sb.append(" cardTypes: ").append(toIndentedString(cardTypes)).append("\n"); + if (cardTypes != null) sb.append(" cardTypes: ").append(toIndentedString(cardTypes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -87,10 +87,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigPaymentTypesCardTypes.java b/src/main/java/Model/SAConfigPaymentTypesCardTypes.java index 7cb8a11d3..4f6da618f 100644 --- a/src/main/java/Model/SAConfigPaymentTypesCardTypes.java +++ b/src/main/java/Model/SAConfigPaymentTypesCardTypes.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigPaymentTypesCardTypes {\n"); - sb.append(" discover: ").append(toIndentedString(discover)).append("\n"); - sb.append(" amex: ").append(toIndentedString(amex)).append("\n"); - sb.append(" masterCard: ").append(toIndentedString(masterCard)).append("\n"); - sb.append(" visa: ").append(toIndentedString(visa)).append("\n"); + if (discover != null) sb.append(" discover: ").append(toIndentedString(discover)).append("\n"); + if (amex != null) sb.append(" amex: ").append(toIndentedString(amex)).append("\n"); + if (masterCard != null) sb.append(" masterCard: ").append(toIndentedString(masterCard)).append("\n"); + if (visa != null) sb.append(" visa: ").append(toIndentedString(visa)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigPaymentTypesCardTypesDiscover.java b/src/main/java/Model/SAConfigPaymentTypesCardTypesDiscover.java index 2a38420ff..e37a3dbe0 100644 --- a/src/main/java/Model/SAConfigPaymentTypesCardTypesDiscover.java +++ b/src/main/java/Model/SAConfigPaymentTypesCardTypesDiscover.java @@ -63,7 +63,7 @@ public SAConfigPaymentTypesCardTypesDiscover cardVerificationNumberSupported(Boo * @return cardVerificationNumberSupported **/ @ApiModelProperty(value = "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level.") - public Boolean isCardVerificationNumberSupported() { + public Boolean CardVerificationNumberSupported() { return cardVerificationNumberSupported; } @@ -81,7 +81,7 @@ public SAConfigPaymentTypesCardTypesDiscover cardVerificationNumberDisplay(Boole * @return cardVerificationNumberDisplay **/ @ApiModelProperty(value = "Toggles whether or Card Verification Number is displayed on the Hosted Checkout.") - public Boolean isCardVerificationNumberDisplay() { + public Boolean CardVerificationNumberDisplay() { return cardVerificationNumberDisplay; } @@ -99,7 +99,7 @@ public SAConfigPaymentTypesCardTypesDiscover payerAuthenticationSupported(Boolea * @return payerAuthenticationSupported **/ @ApiModelProperty(value = "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level.") - public Boolean isPayerAuthenticationSupported() { + public Boolean PayerAuthenticationSupported() { return payerAuthenticationSupported; } @@ -161,7 +161,7 @@ public SAConfigPaymentTypesCardTypesDiscover cardVerificationNumberRequired(Bool * @return cardVerificationNumberRequired **/ @ApiModelProperty(value = "") - public Boolean isCardVerificationNumberRequired() { + public Boolean CardVerificationNumberRequired() { return cardVerificationNumberRequired; } @@ -179,7 +179,7 @@ public SAConfigPaymentTypesCardTypesDiscover payerAuthenticationEnabled(Boolean * @return payerAuthenticationEnabled **/ @ApiModelProperty(value = "") - public Boolean isPayerAuthenticationEnabled() { + public Boolean PayerAuthenticationEnabled() { return payerAuthenticationEnabled; } @@ -217,13 +217,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigPaymentTypesCardTypesDiscover {\n"); - sb.append(" cardVerificationNumberSupported: ").append(toIndentedString(cardVerificationNumberSupported)).append("\n"); - sb.append(" cardVerificationNumberDisplay: ").append(toIndentedString(cardVerificationNumberDisplay)).append("\n"); - sb.append(" payerAuthenticationSupported: ").append(toIndentedString(payerAuthenticationSupported)).append("\n"); - sb.append(" supportedCurrencies: ").append(toIndentedString(supportedCurrencies)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); - sb.append(" cardVerificationNumberRequired: ").append(toIndentedString(cardVerificationNumberRequired)).append("\n"); - sb.append(" payerAuthenticationEnabled: ").append(toIndentedString(payerAuthenticationEnabled)).append("\n"); + if (cardVerificationNumberSupported != null) sb.append(" cardVerificationNumberSupported: ").append(toIndentedString(cardVerificationNumberSupported)).append("\n"); + if (cardVerificationNumberDisplay != null) sb.append(" cardVerificationNumberDisplay: ").append(toIndentedString(cardVerificationNumberDisplay)).append("\n"); + if (payerAuthenticationSupported != null) sb.append(" payerAuthenticationSupported: ").append(toIndentedString(payerAuthenticationSupported)).append("\n"); + if (supportedCurrencies != null) sb.append(" supportedCurrencies: ").append(toIndentedString(supportedCurrencies)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (cardVerificationNumberRequired != null) sb.append(" cardVerificationNumberRequired: ").append(toIndentedString(cardVerificationNumberRequired)).append("\n"); + if (payerAuthenticationEnabled != null) sb.append(" payerAuthenticationEnabled: ").append(toIndentedString(payerAuthenticationEnabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -234,10 +234,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SAConfigService.java b/src/main/java/Model/SAConfigService.java index 3e4de6abe..d2e4c8107 100644 --- a/src/main/java/Model/SAConfigService.java +++ b/src/main/java/Model/SAConfigService.java @@ -61,7 +61,7 @@ public SAConfigService decisionManagerVerboseEnabled(Boolean decisionManagerVerb * @return decisionManagerVerboseEnabled **/ @ApiModelProperty(value = "Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging.") - public Boolean isDecisionManagerVerboseEnabled() { + public Boolean DecisionManagerVerboseEnabled() { return decisionManagerVerboseEnabled; } @@ -97,7 +97,7 @@ public SAConfigService decisionManagerEnabled(Boolean decisionManagerEnabled) { * @return decisionManagerEnabled **/ @ApiModelProperty(value = "Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager.") - public Boolean isDecisionManagerEnabled() { + public Boolean DecisionManagerEnabled() { return decisionManagerEnabled; } @@ -115,7 +115,7 @@ public SAConfigService tokenizationEnabled(Boolean tokenizationEnabled) { * @return tokenizationEnabled **/ @ApiModelProperty(value = "Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization.") - public Boolean isTokenizationEnabled() { + public Boolean TokenizationEnabled() { return tokenizationEnabled; } @@ -133,7 +133,7 @@ public SAConfigService reverseAuthOnAddressVerificationSystemFailure(Boolean rev * @return reverseAuthOnAddressVerificationSystemFailure **/ @ApiModelProperty(value = "Toggles whether or not an approved Authorization that fails AVS should be automatically reversed.") - public Boolean isReverseAuthOnAddressVerificationSystemFailure() { + public Boolean ReverseAuthOnAddressVerificationSystemFailure() { return reverseAuthOnAddressVerificationSystemFailure; } @@ -151,7 +151,7 @@ public SAConfigService deviceFingerprintEnabled(Boolean deviceFingerprintEnabled * @return deviceFingerprintEnabled **/ @ApiModelProperty(value = "Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager.") - public Boolean isDeviceFingerprintEnabled() { + public Boolean DeviceFingerprintEnabled() { return deviceFingerprintEnabled; } @@ -169,7 +169,7 @@ public SAConfigService reverseAuthOnCardVerificationNumberFailure(Boolean revers * @return reverseAuthOnCardVerificationNumberFailure **/ @ApiModelProperty(value = "Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed.") - public Boolean isReverseAuthOnCardVerificationNumberFailure() { + public Boolean ReverseAuthOnCardVerificationNumberFailure() { return reverseAuthOnCardVerificationNumberFailure; } @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SAConfigService {\n"); - sb.append(" decisionManagerVerboseEnabled: ").append(toIndentedString(decisionManagerVerboseEnabled)).append("\n"); - sb.append(" declinedRetryLimit: ").append(toIndentedString(declinedRetryLimit)).append("\n"); - sb.append(" decisionManagerEnabled: ").append(toIndentedString(decisionManagerEnabled)).append("\n"); - sb.append(" tokenizationEnabled: ").append(toIndentedString(tokenizationEnabled)).append("\n"); - sb.append(" reverseAuthOnAddressVerificationSystemFailure: ").append(toIndentedString(reverseAuthOnAddressVerificationSystemFailure)).append("\n"); - sb.append(" deviceFingerprintEnabled: ").append(toIndentedString(deviceFingerprintEnabled)).append("\n"); - sb.append(" reverseAuthOnCardVerificationNumberFailure: ").append(toIndentedString(reverseAuthOnCardVerificationNumberFailure)).append("\n"); + if (decisionManagerVerboseEnabled != null) sb.append(" decisionManagerVerboseEnabled: ").append(toIndentedString(decisionManagerVerboseEnabled)).append("\n"); + if (declinedRetryLimit != null) sb.append(" declinedRetryLimit: ").append(toIndentedString(declinedRetryLimit)).append("\n"); + if (decisionManagerEnabled != null) sb.append(" decisionManagerEnabled: ").append(toIndentedString(decisionManagerEnabled)).append("\n"); + if (tokenizationEnabled != null) sb.append(" tokenizationEnabled: ").append(toIndentedString(tokenizationEnabled)).append("\n"); + if (reverseAuthOnAddressVerificationSystemFailure != null) sb.append(" reverseAuthOnAddressVerificationSystemFailure: ").append(toIndentedString(reverseAuthOnAddressVerificationSystemFailure)).append("\n"); + if (deviceFingerprintEnabled != null) sb.append(" deviceFingerprintEnabled: ").append(toIndentedString(deviceFingerprintEnabled)).append("\n"); + if (reverseAuthOnCardVerificationNumberFailure != null) sb.append(" reverseAuthOnCardVerificationNumberFailure: ").append(toIndentedString(reverseAuthOnCardVerificationNumberFailure)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SaveAsymEgressKey.java b/src/main/java/Model/SaveAsymEgressKey.java index 55d867525..fd38e5c1f 100644 --- a/src/main/java/Model/SaveAsymEgressKey.java +++ b/src/main/java/Model/SaveAsymEgressKey.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SaveAsymEgressKey {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" clientRequestAction: ").append(toIndentedString(clientRequestAction)).append("\n"); - sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (clientRequestAction != null) sb.append(" clientRequestAction: ").append(toIndentedString(clientRequestAction)).append("\n"); + if (keyInformation != null) sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SaveSymEgressKey.java b/src/main/java/Model/SaveSymEgressKey.java index 45afb9bf7..25883aadc 100644 --- a/src/main/java/Model/SaveSymEgressKey.java +++ b/src/main/java/Model/SaveSymEgressKey.java @@ -120,9 +120,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SaveSymEgressKey {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" clientRequestAction: ").append(toIndentedString(clientRequestAction)).append("\n"); - sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (clientRequestAction != null) sb.append(" clientRequestAction: ").append(toIndentedString(clientRequestAction)).append("\n"); + if (keyInformation != null) sb.append(" keyInformation: ").append(toIndentedString(keyInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -133,10 +133,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SearchRequest.java b/src/main/java/Model/SearchRequest.java index ed50be415..17ae96a93 100644 --- a/src/main/java/Model/SearchRequest.java +++ b/src/main/java/Model/SearchRequest.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SearchRequest {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); - sb.append(" roleId: ").append(toIndentedString(roleId)).append("\n"); - sb.append(" permissionId: ").append(toIndentedString(permissionId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (userName != null) sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); + if (roleId != null) sb.append(" roleId: ").append(toIndentedString(roleId)).append("\n"); + if (permissionId != null) sb.append(" permissionId: ").append(toIndentedString(permissionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomer.java b/src/main/java/Model/ShippingAddressListForCustomer.java index cce9e6913..1fc249b8a 100644 --- a/src/main/java/Model/ShippingAddressListForCustomer.java +++ b/src/main/java/Model/ShippingAddressListForCustomer.java @@ -151,12 +151,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomer {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -167,10 +167,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java b/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java index 46378e7dd..703858ca5 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java +++ b/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java @@ -69,7 +69,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerEmbedded {\n"); - sb.append(" shippingAddresses: ").append(toIndentedString(shippingAddresses)).append("\n"); + if (shippingAddresses != null) sb.append(" shippingAddresses: ").append(toIndentedString(shippingAddresses)).append("\n"); sb.append("}"); return sb.toString(); } @@ -80,10 +80,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerLinks.java b/src/main/java/Model/ShippingAddressListForCustomerLinks.java index 7d2026fc1..9c1f4edaf 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerLinks.java +++ b/src/main/java/Model/ShippingAddressListForCustomerLinks.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" first: ").append(toIndentedString(first)).append("\n"); - sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" last: ").append(toIndentedString(last)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (first != null) sb.append(" first: ").append(toIndentedString(first)).append("\n"); + if (prev != null) sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + if (next != null) sb.append(" next: ").append(toIndentedString(next)).append("\n"); + if (last != null) sb.append(" last: ").append(toIndentedString(last)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerLinksFirst.java b/src/main/java/Model/ShippingAddressListForCustomerLinksFirst.java index b49566f21..413624458 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerLinksFirst.java +++ b/src/main/java/Model/ShippingAddressListForCustomerLinksFirst.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerLinksFirst {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerLinksLast.java b/src/main/java/Model/ShippingAddressListForCustomerLinksLast.java index 109aa1911..d61652a5b 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerLinksLast.java +++ b/src/main/java/Model/ShippingAddressListForCustomerLinksLast.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerLinksLast {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerLinksNext.java b/src/main/java/Model/ShippingAddressListForCustomerLinksNext.java index fa0c288db..564cd1ae5 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerLinksNext.java +++ b/src/main/java/Model/ShippingAddressListForCustomerLinksNext.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerLinksNext {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerLinksPrev.java b/src/main/java/Model/ShippingAddressListForCustomerLinksPrev.java index 6d0315fbf..6cf78e1df 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerLinksPrev.java +++ b/src/main/java/Model/ShippingAddressListForCustomerLinksPrev.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerLinksPrev {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ShippingAddressListForCustomerLinksSelf.java b/src/main/java/Model/ShippingAddressListForCustomerLinksSelf.java index 78015e72f..b346dd4ef 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerLinksSelf.java +++ b/src/main/java/Model/ShippingAddressListForCustomerLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ShippingAddressListForCustomerLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SuspendSubscriptionResponse.java b/src/main/java/Model/SuspendSubscriptionResponse.java index 6cd3f5ce8..544287f6b 100644 --- a/src/main/java/Model/SuspendSubscriptionResponse.java +++ b/src/main/java/Model/SuspendSubscriptionResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SuspendSubscriptionResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/SuspendSubscriptionResponseSubscriptionInformation.java b/src/main/java/Model/SuspendSubscriptionResponseSubscriptionInformation.java index 7bcdc1fd8..c2cf3dc01 100644 --- a/src/main/java/Model/SuspendSubscriptionResponseSubscriptionInformation.java +++ b/src/main/java/Model/SuspendSubscriptionResponseSubscriptionInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SuspendSubscriptionResponseSubscriptionInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TaxRequest.java b/src/main/java/Model/TaxRequest.java index e08502ee8..30ff0a93b 100644 --- a/src/main/java/Model/TaxRequest.java +++ b/src/main/java/Model/TaxRequest.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TaxRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" taxInformation: ").append(toIndentedString(taxInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (taxInformation != null) sb.append(" taxInformation: ").append(toIndentedString(taxInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsAuthorizationOptions.java b/src/main/java/Model/TmsAuthorizationOptions.java index b7bfe2c5e..d2d9c762a 100644 --- a/src/main/java/Model/TmsAuthorizationOptions.java +++ b/src/main/java/Model/TmsAuthorizationOptions.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsAuthorizationOptions {\n"); - sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); + if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsAuthorizationOptionsInitiator.java b/src/main/java/Model/TmsAuthorizationOptionsInitiator.java index 437a31c8c..48cdc04ef 100644 --- a/src/main/java/Model/TmsAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/TmsAuthorizationOptionsInitiator.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsAuthorizationOptionsInitiator {\n"); - sb.append(" merchantInitiatedTransaction: ").append(toIndentedString(merchantInitiatedTransaction)).append("\n"); + if (merchantInitiatedTransaction != null) sb.append(" merchantInitiatedTransaction: ").append(toIndentedString(merchantInitiatedTransaction)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java b/src/main/java/Model/TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java index ae0e37795..67c61bbc7 100644 --- a/src/main/java/Model/TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java +++ b/src/main/java/Model/TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction {\n"); - sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); - sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); + if (previousTransactionId != null) sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); + if (originalAuthorizedAmount != null) sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java index 5a0f557a1..0ada3118a 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java @@ -329,19 +329,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifier {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); - sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (tokenProvisioningInformation != null) sb.append(" tokenProvisioningInformation: ").append(toIndentedString(tokenProvisioningInformation)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (tokenizedCard != null) sb.append(" tokenizedCard: ").append(toIndentedString(tokenizedCard)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -352,10 +352,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java index d3a6f53f8..20acb87ea 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierBankAccount {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (routingNumber != null) sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBillTo.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBillTo.java index da67d7544..e2a36ff1a 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBillTo.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBillTo.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierCard.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierCard.java index 763443d16..da8de5998 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierCard.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierCard.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierCard {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierIssuer.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierIssuer.java index 0ebc7fe3d..ae673408d 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierIssuer.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierIssuer.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierIssuer {\n"); - sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); + if (paymentAccountReference != null) sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinks.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinks.java index 6ee957e62..3190f7415 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinks.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinks.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (paymentInstruments != null) sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments.java index 079bc1af8..0255173d4 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksSelf.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksSelf.java index d032ec537..704009998 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksSelf.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierMetadata.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierMetadata.java index 4ac0aecc3..362a52d99 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierMetadata.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierMetadata.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierMetadata {\n"); - sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); + if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierProcessingInformation.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierProcessingInformation.java index 7d3944c3a..7df06b65c 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierProcessingInformation.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierProcessingInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsEmbeddedInstrumentIdentifierProcessingInformation {\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServices.java b/src/main/java/Model/TmsNetworkTokenServices.java index 8f1554ba0..f99c761d7 100644 --- a/src/main/java/Model/TmsNetworkTokenServices.java +++ b/src/main/java/Model/TmsNetworkTokenServices.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServices {\n"); - sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); - sb.append(" paymentCredentials: ").append(toIndentedString(paymentCredentials)).append("\n"); - sb.append(" synchronousProvisioning: ").append(toIndentedString(synchronousProvisioning)).append("\n"); - sb.append(" visaTokenService: ").append(toIndentedString(visaTokenService)).append("\n"); - sb.append(" mastercardDigitalEnablementService: ").append(toIndentedString(mastercardDigitalEnablementService)).append("\n"); - sb.append(" americanExpressTokenService: ").append(toIndentedString(americanExpressTokenService)).append("\n"); + if (notifications != null) sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + if (paymentCredentials != null) sb.append(" paymentCredentials: ").append(toIndentedString(paymentCredentials)).append("\n"); + if (synchronousProvisioning != null) sb.append(" synchronousProvisioning: ").append(toIndentedString(synchronousProvisioning)).append("\n"); + if (visaTokenService != null) sb.append(" visaTokenService: ").append(toIndentedString(visaTokenService)).append("\n"); + if (mastercardDigitalEnablementService != null) sb.append(" mastercardDigitalEnablementService: ").append(toIndentedString(mastercardDigitalEnablementService)).append("\n"); + if (americanExpressTokenService != null) sb.append(" americanExpressTokenService: ").append(toIndentedString(americanExpressTokenService)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServicesAmericanExpressTokenService.java b/src/main/java/Model/TmsNetworkTokenServicesAmericanExpressTokenService.java index 93c9f81dd..b555a2880 100644 --- a/src/main/java/Model/TmsNetworkTokenServicesAmericanExpressTokenService.java +++ b/src/main/java/Model/TmsNetworkTokenServicesAmericanExpressTokenService.java @@ -51,7 +51,7 @@ public TmsNetworkTokenServicesAmericanExpressTokenService enableService(Boolean * @return enableService **/ @ApiModelProperty(value = "Indicates if the service for network tokens for the American Express card association are enabled") - public Boolean isEnableService() { + public Boolean EnableService() { return enableService; } @@ -69,7 +69,7 @@ public TmsNetworkTokenServicesAmericanExpressTokenService enableTransactionalTok * @return enableTransactionalTokens **/ @ApiModelProperty(value = "Indicates if network tokens for the American Express card association are enabled for transactions") - public Boolean isEnableTransactionalTokens() { + public Boolean EnableTransactionalTokens() { return enableTransactionalTokens; } @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServicesAmericanExpressTokenService {\n"); - sb.append(" enableService: ").append(toIndentedString(enableService)).append("\n"); - sb.append(" enableTransactionalTokens: ").append(toIndentedString(enableTransactionalTokens)).append("\n"); - sb.append(" tokenRequestorId: ").append(toIndentedString(tokenRequestorId)).append("\n"); - sb.append(" seNumber: ").append(toIndentedString(seNumber)).append("\n"); + if (enableService != null) sb.append(" enableService: ").append(toIndentedString(enableService)).append("\n"); + if (enableTransactionalTokens != null) sb.append(" enableTransactionalTokens: ").append(toIndentedString(enableTransactionalTokens)).append("\n"); + if (tokenRequestorId != null) sb.append(" tokenRequestorId: ").append(toIndentedString(tokenRequestorId)).append("\n"); + if (seNumber != null) sb.append(" seNumber: ").append(toIndentedString(seNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServicesMastercardDigitalEnablementService.java b/src/main/java/Model/TmsNetworkTokenServicesMastercardDigitalEnablementService.java index a7e9e9e6b..6a526b487 100644 --- a/src/main/java/Model/TmsNetworkTokenServicesMastercardDigitalEnablementService.java +++ b/src/main/java/Model/TmsNetworkTokenServicesMastercardDigitalEnablementService.java @@ -48,7 +48,7 @@ public TmsNetworkTokenServicesMastercardDigitalEnablementService enableService(B * @return enableService **/ @ApiModelProperty(value = "Indicates if the service for network tokens for the Mastercard card association are enabled") - public Boolean isEnableService() { + public Boolean EnableService() { return enableService; } @@ -66,7 +66,7 @@ public TmsNetworkTokenServicesMastercardDigitalEnablementService enableTransacti * @return enableTransactionalTokens **/ @ApiModelProperty(value = "Indicates if network tokens for the Mastercard card association are enabled for transactions") - public Boolean isEnableTransactionalTokens() { + public Boolean EnableTransactionalTokens() { return enableTransactionalTokens; } @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServicesMastercardDigitalEnablementService {\n"); - sb.append(" enableService: ").append(toIndentedString(enableService)).append("\n"); - sb.append(" enableTransactionalTokens: ").append(toIndentedString(enableTransactionalTokens)).append("\n"); - sb.append(" tokenRequestorId: ").append(toIndentedString(tokenRequestorId)).append("\n"); + if (enableService != null) sb.append(" enableService: ").append(toIndentedString(enableService)).append("\n"); + if (enableTransactionalTokens != null) sb.append(" enableTransactionalTokens: ").append(toIndentedString(enableTransactionalTokens)).append("\n"); + if (tokenRequestorId != null) sb.append(" tokenRequestorId: ").append(toIndentedString(tokenRequestorId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServicesNotifications.java b/src/main/java/Model/TmsNetworkTokenServicesNotifications.java index d67323a8a..fa5c47c74 100644 --- a/src/main/java/Model/TmsNetworkTokenServicesNotifications.java +++ b/src/main/java/Model/TmsNetworkTokenServicesNotifications.java @@ -42,7 +42,7 @@ public TmsNetworkTokenServicesNotifications enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "Indicates if lifecycle management (LCM) notifications are enabled") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServicesNotifications {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServicesPaymentCredentials.java b/src/main/java/Model/TmsNetworkTokenServicesPaymentCredentials.java index f1629fbe1..79b14b087 100644 --- a/src/main/java/Model/TmsNetworkTokenServicesPaymentCredentials.java +++ b/src/main/java/Model/TmsNetworkTokenServicesPaymentCredentials.java @@ -42,7 +42,7 @@ public TmsNetworkTokenServicesPaymentCredentials enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "Indicates if Payment Credentials are enabled. If enabled, this provides access to the unredacted token and its associated cryptogram.") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServicesPaymentCredentials {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServicesSynchronousProvisioning.java b/src/main/java/Model/TmsNetworkTokenServicesSynchronousProvisioning.java index dc9a7f44a..37cf0767e 100644 --- a/src/main/java/Model/TmsNetworkTokenServicesSynchronousProvisioning.java +++ b/src/main/java/Model/TmsNetworkTokenServicesSynchronousProvisioning.java @@ -42,7 +42,7 @@ public TmsNetworkTokenServicesSynchronousProvisioning enabled(Boolean enabled) { * @return enabled **/ @ApiModelProperty(value = "Indicates if network tokens are provisioned synchronously (i.e. as part of the transaction flow) or asychronously (i.e. in parallel to the payment flow) NOTE: The synchronous provisioning feature is designed exclusively for aggregator merchants. Direct merchants should not enable synchronous provisioning as TMS manages the asynchronous creation of network tokens for direct clients. Activation of this feature by direct merchants will lead to latency in the authorization response. ") - public Boolean isEnabled() { + public Boolean Enabled() { return enabled; } @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServicesSynchronousProvisioning {\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNetworkTokenServicesVisaTokenService.java b/src/main/java/Model/TmsNetworkTokenServicesVisaTokenService.java index 3f8f203a3..47c0a4543 100644 --- a/src/main/java/Model/TmsNetworkTokenServicesVisaTokenService.java +++ b/src/main/java/Model/TmsNetworkTokenServicesVisaTokenService.java @@ -51,7 +51,7 @@ public TmsNetworkTokenServicesVisaTokenService enableService(Boolean enableServi * @return enableService **/ @ApiModelProperty(value = "Indicates if the service for network tokens for the Visa card association are enabled") - public Boolean isEnableService() { + public Boolean EnableService() { return enableService; } @@ -69,7 +69,7 @@ public TmsNetworkTokenServicesVisaTokenService enableTransactionalTokens(Boolean * @return enableTransactionalTokens **/ @ApiModelProperty(value = "Indicates if network tokens for the Visa card association are enabled for transactions") - public Boolean isEnableTransactionalTokens() { + public Boolean EnableTransactionalTokens() { return enableTransactionalTokens; } @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNetworkTokenServicesVisaTokenService {\n"); - sb.append(" enableService: ").append(toIndentedString(enableService)).append("\n"); - sb.append(" enableTransactionalTokens: ").append(toIndentedString(enableTransactionalTokens)).append("\n"); - sb.append(" tokenRequestorId: ").append(toIndentedString(tokenRequestorId)).append("\n"); - sb.append(" relationshipId: ").append(toIndentedString(relationshipId)).append("\n"); + if (enableService != null) sb.append(" enableService: ").append(toIndentedString(enableService)).append("\n"); + if (enableTransactionalTokens != null) sb.append(" enableTransactionalTokens: ").append(toIndentedString(enableTransactionalTokens)).append("\n"); + if (tokenRequestorId != null) sb.append(" tokenRequestorId: ").append(toIndentedString(tokenRequestorId)).append("\n"); + if (relationshipId != null) sb.append(" relationshipId: ").append(toIndentedString(relationshipId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsNullify.java b/src/main/java/Model/TmsNullify.java index cb6e70302..9d9d1f4be 100644 --- a/src/main/java/Model/TmsNullify.java +++ b/src/main/java/Model/TmsNullify.java @@ -48,7 +48,7 @@ public TmsNullify instrumentIdentifierCardNumber(Boolean instrumentIdentifierCar * @return instrumentIdentifierCardNumber **/ @ApiModelProperty(value = "Indicates if the card number should be nullified (i.e. not stored)") - public Boolean isInstrumentIdentifierCardNumber() { + public Boolean InstrumentIdentifierCardNumber() { return instrumentIdentifierCardNumber; } @@ -66,7 +66,7 @@ public TmsNullify instrumentIdentifierCardExpiration(Boolean instrumentIdentifie * @return instrumentIdentifierCardExpiration **/ @ApiModelProperty(value = "Indicates if the expiration date associated to the instrument identifier should be nullified (i.e. not stored)") - public Boolean isInstrumentIdentifierCardExpiration() { + public Boolean InstrumentIdentifierCardExpiration() { return instrumentIdentifierCardExpiration; } @@ -84,7 +84,7 @@ public TmsNullify paymentInstrumentCardDetails(Boolean paymentInstrumentCardDeta * @return paymentInstrumentCardDetails **/ @ApiModelProperty(value = "Indicates if the card details should be nullified (i.e. not stored)") - public Boolean isPaymentInstrumentCardDetails() { + public Boolean PaymentInstrumentCardDetails() { return paymentInstrumentCardDetails; } @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsNullify {\n"); - sb.append(" instrumentIdentifierCardNumber: ").append(toIndentedString(instrumentIdentifierCardNumber)).append("\n"); - sb.append(" instrumentIdentifierCardExpiration: ").append(toIndentedString(instrumentIdentifierCardExpiration)).append("\n"); - sb.append(" paymentInstrumentCardDetails: ").append(toIndentedString(paymentInstrumentCardDetails)).append("\n"); + if (instrumentIdentifierCardNumber != null) sb.append(" instrumentIdentifierCardNumber: ").append(toIndentedString(instrumentIdentifierCardNumber)).append("\n"); + if (instrumentIdentifierCardExpiration != null) sb.append(" instrumentIdentifierCardExpiration: ").append(toIndentedString(instrumentIdentifierCardExpiration)).append("\n"); + if (paymentInstrumentCardDetails != null) sb.append(" paymentInstrumentCardDetails: ").append(toIndentedString(paymentInstrumentCardDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java b/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java index 0dd4b3e1f..b96ef0538 100644 --- a/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java +++ b/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java @@ -46,7 +46,7 @@ public TmsPaymentInstrumentProcessingInfo billPaymentProgramEnabled(Boolean bill * @return billPaymentProgramEnabled **/ @ApiModelProperty(value = "Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. ") - public Boolean isBillPaymentProgramEnabled() { + public Boolean BillPaymentProgramEnabled() { return billPaymentProgramEnabled; } @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsPaymentInstrumentProcessingInfo {\n"); - sb.append(" billPaymentProgramEnabled: ").append(toIndentedString(billPaymentProgramEnabled)).append("\n"); - sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); + if (billPaymentProgramEnabled != null) sb.append(" billPaymentProgramEnabled: ").append(toIndentedString(billPaymentProgramEnabled)).append("\n"); + if (bankTransferOptions != null) sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java b/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java index 5f93624ac..8cbefa306 100644 --- a/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java +++ b/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsPaymentInstrumentProcessingInfoBankTransferOptions {\n"); - sb.append(" seCCode: ").append(toIndentedString(seCCode)).append("\n"); + if (seCCode != null) sb.append(" seCCode: ").append(toIndentedString(seCCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsSensitivePrivileges.java b/src/main/java/Model/TmsSensitivePrivileges.java index 3d1b54632..7bd6283d6 100644 --- a/src/main/java/Model/TmsSensitivePrivileges.java +++ b/src/main/java/Model/TmsSensitivePrivileges.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsSensitivePrivileges {\n"); - sb.append(" cardNumberMaskingFormat: ").append(toIndentedString(cardNumberMaskingFormat)).append("\n"); + if (cardNumberMaskingFormat != null) sb.append(" cardNumberMaskingFormat: ").append(toIndentedString(cardNumberMaskingFormat)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TmsTokenFormats.java b/src/main/java/Model/TmsTokenFormats.java index 24767a002..76fb877b5 100644 --- a/src/main/java/Model/TmsTokenFormats.java +++ b/src/main/java/Model/TmsTokenFormats.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TmsTokenFormats {\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifierCard: ").append(toIndentedString(instrumentIdentifierCard)).append("\n"); - sb.append(" instrumentIdentifierBankAccount: ").append(toIndentedString(instrumentIdentifierBankAccount)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifierCard != null) sb.append(" instrumentIdentifierCard: ").append(toIndentedString(instrumentIdentifierCard)).append("\n"); + if (instrumentIdentifierBankAccount != null) sb.append(" instrumentIdentifierBankAccount: ").append(toIndentedString(instrumentIdentifierBankAccount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCard.java b/src/main/java/Model/Tmsv2TokenizedCard.java index 7806798c5..32ebc925d 100644 --- a/src/main/java/Model/Tmsv2TokenizedCard.java +++ b/src/main/java/Model/Tmsv2TokenizedCard.java @@ -228,18 +228,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCard {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" enrollmentId: ").append(toIndentedString(enrollmentId)).append("\n"); - sb.append(" tokenReferenceId: ").append(toIndentedString(tokenReferenceId)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (source != null) sb.append(" source: ").append(toIndentedString(source)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (enrollmentId != null) sb.append(" enrollmentId: ").append(toIndentedString(enrollmentId)).append("\n"); + if (tokenReferenceId != null) sb.append(" tokenReferenceId: ").append(toIndentedString(tokenReferenceId)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (cryptogram != null) sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -250,10 +250,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardCard.java b/src/main/java/Model/Tmsv2TokenizedCardCard.java index 523beed78..880de92dd 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardCard.java +++ b/src/main/java/Model/Tmsv2TokenizedCardCard.java @@ -92,9 +92,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardCard {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append("}"); return sb.toString(); } @@ -105,10 +105,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadata.java b/src/main/java/Model/Tmsv2TokenizedCardMetadata.java index 8d5b7a483..a239b1bf3 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadata.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadata.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadata {\n"); - sb.append(" cardArt: ").append(toIndentedString(cardArt)).append("\n"); + if (cardArt != null) sb.append(" cardArt: ").append(toIndentedString(cardArt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java index 6682e4caa..5a87eb80d 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java @@ -203,13 +203,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArt {\n"); - sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); - sb.append(" brandLogoAsset: ").append(toIndentedString(brandLogoAsset)).append("\n"); - sb.append(" coBrandLogoAsset: ").append(toIndentedString(coBrandLogoAsset)).append("\n"); - sb.append(" issuerLogoAsset: ").append(toIndentedString(issuerLogoAsset)).append("\n"); - sb.append(" iconAsset: ").append(toIndentedString(iconAsset)).append("\n"); - sb.append(" foregroundColor: ").append(toIndentedString(foregroundColor)).append("\n"); - sb.append(" backgroundAsset: ").append(toIndentedString(backgroundAsset)).append("\n"); + if (combinedAsset != null) sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); + if (brandLogoAsset != null) sb.append(" brandLogoAsset: ").append(toIndentedString(brandLogoAsset)).append("\n"); + if (coBrandLogoAsset != null) sb.append(" coBrandLogoAsset: ").append(toIndentedString(coBrandLogoAsset)).append("\n"); + if (issuerLogoAsset != null) sb.append(" issuerLogoAsset: ").append(toIndentedString(issuerLogoAsset)).append("\n"); + if (iconAsset != null) sb.append(" iconAsset: ").append(toIndentedString(iconAsset)).append("\n"); + if (foregroundColor != null) sb.append(" foregroundColor: ").append(toIndentedString(foregroundColor)).append("\n"); + if (backgroundAsset != null) sb.append(" backgroundAsset: ").append(toIndentedString(backgroundAsset)).append("\n"); sb.append("}"); return sb.toString(); } @@ -220,10 +220,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java index a5d34bd92..8987d893e 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java @@ -88,8 +88,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAsset {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -100,10 +100,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java index c040d011f..4bb41690a 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java index acec4c6d3..10be9d056 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java index e08dfce80..52a179726 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java @@ -88,8 +88,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -100,10 +100,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java index 4ebeae50a..de9a03545 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java index 42f52b4c2..5af3b19fb 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java index 87313c614..84d4ba8c0 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java @@ -88,8 +88,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -100,10 +100,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java index f7ecd0ce1..52b16678f 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java index 693e51e6a..953c0fae3 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java index 63e3396ab..d5c90506a 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java @@ -88,8 +88,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAsset {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -100,10 +100,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java index 844fed7b7..1e80ed186 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java index 99184681c..6236cf3be 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java index 8a69b1097..7f9fd3d09 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java @@ -88,8 +88,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAsset {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -100,10 +100,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java index d3e07844e..17c9d8bd4 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java index c1259c968..80b1a9448 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java index cd66fe6d9..21a42aa87 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java @@ -88,8 +88,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -100,10 +100,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java index 2e7be5058..639ccfeda 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java index f2671669b..92f2a0da3 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersBuyerInformation.java b/src/main/java/Model/Tmsv2customersBuyerInformation.java index a05e43b93..e4d6faf44 100644 --- a/src/main/java/Model/Tmsv2customersBuyerInformation.java +++ b/src/main/java/Model/Tmsv2customersBuyerInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersBuyerInformation {\n"); - sb.append(" merchantCustomerID: ").append(toIndentedString(merchantCustomerID)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (merchantCustomerID != null) sb.append(" merchantCustomerID: ").append(toIndentedString(merchantCustomerID)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersClientReferenceInformation.java b/src/main/java/Model/Tmsv2customersClientReferenceInformation.java index 62f50f6d3..3e1c290a4 100644 --- a/src/main/java/Model/Tmsv2customersClientReferenceInformation.java +++ b/src/main/java/Model/Tmsv2customersClientReferenceInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java b/src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java index 36f51ff3d..77c493134 100644 --- a/src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java +++ b/src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersDefaultPaymentInstrument {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersDefaultShippingAddress.java b/src/main/java/Model/Tmsv2customersDefaultShippingAddress.java index 29a605225..9a0b13d25 100644 --- a/src/main/java/Model/Tmsv2customersDefaultShippingAddress.java +++ b/src/main/java/Model/Tmsv2customersDefaultShippingAddress.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersDefaultShippingAddress {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbedded.java b/src/main/java/Model/Tmsv2customersEmbedded.java index 6ac659d2b..2f9643f78 100644 --- a/src/main/java/Model/Tmsv2customersEmbedded.java +++ b/src/main/java/Model/Tmsv2customersEmbedded.java @@ -99,8 +99,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbedded {\n"); - sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); - sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); + if (defaultPaymentInstrument != null) sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); + if (defaultShippingAddress != null) sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -111,10 +111,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java index 4397c6b8e..1baa9971f 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java @@ -139,7 +139,7 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument _default(Boolean _default) * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -365,21 +365,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrument {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" object: ").append(toIndentedString(object)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (bankAccount != null) sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } @@ -390,10 +390,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java index 32709ecd6..5821ddbd7 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java index f1b3d6111..f25ddf0ff 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java index d6f599065..b92fadb57 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java @@ -152,10 +152,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation {\n"); - sb.append(" companyTaxID: ").append(toIndentedString(companyTaxID)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); - sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); + if (companyTaxID != null) sb.append(" companyTaxID: ").append(toIndentedString(companyTaxID)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); sb.append("}"); return sb.toString(); } @@ -166,10 +166,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java index 092ca4d29..ff66f93d3 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy {\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java index 7d178b363..0b6df63f1 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" issuedBy: ").append(toIndentedString(issuedBy)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (issuedBy != null) sb.append(" issuedBy: ").append(toIndentedString(issuedBy)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java index 778f98679..2248eafd6 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java @@ -242,15 +242,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard {\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); - sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); - sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); - sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); - sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); - sb.append(" tokenizedInformation: ").append(toIndentedString(tokenizedInformation)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (issueNumber != null) sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); + if (startMonth != null) sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); + if (startYear != null) sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); + if (useAs != null) sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); + if (hash != null) sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); + if (tokenizedInformation != null) sb.append(" tokenizedInformation: ").append(toIndentedString(tokenizedInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -261,10 +261,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java index 819ac931b..06ac2f053 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation {\n"); - sb.append(" requestorID: ").append(toIndentedString(requestorID)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (requestorID != null) sb.append(" requestorID: ").append(toIndentedString(requestorID)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java index 0774be32b..4f452eea1 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java @@ -76,7 +76,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded {\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -87,10 +87,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java index a02f7e7aa..80f24d964 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java index f7111734d..e1aeb2c1d 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java index 9cfe669b3..1629ea3e3 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java index e0c4bbfd0..c9cb68ec1 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java index 079d5ab66..33561f54c 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor {\n"); - sb.append(" alternateName: ").append(toIndentedString(alternateName)).append("\n"); + if (alternateName != null) sb.append(" alternateName: ").append(toIndentedString(alternateName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java index d6dd49c5d..eb8d9a57c 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata {\n"); - sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); + if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java index 50a13eb33..2871d40dc 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java @@ -93,7 +93,7 @@ public Tmsv2customersEmbeddedDefaultShippingAddress _default(Boolean _default) { * @return _default **/ @ApiModelProperty(value = "Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. ") - public Boolean isDefault() { + public Boolean Default() { return _default; } @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultShippingAddress {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (_default != null) sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java index 0b3aa3aa1..edc1d3c20 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java index 911f9a08a..b62f4b4d8 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java index d5c29674f..40620d0f2 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java index 1ed4954c8..fd149263e 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressMetadata {\n"); - sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); + if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java index c4b223141..3eda6dd70 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressShipTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersLinks.java b/src/main/java/Model/Tmsv2customersLinks.java index 1faaf3b05..4d8dc2110 100644 --- a/src/main/java/Model/Tmsv2customersLinks.java +++ b/src/main/java/Model/Tmsv2customersLinks.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (paymentInstruments != null) sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java b/src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java index 2c37a80cc..73920b66d 100644 --- a/src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java +++ b/src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersLinksPaymentInstruments {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersLinksSelf.java b/src/main/java/Model/Tmsv2customersLinksSelf.java index 6f694add7..44a33ae1d 100644 --- a/src/main/java/Model/Tmsv2customersLinksSelf.java +++ b/src/main/java/Model/Tmsv2customersLinksSelf.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersLinksShippingAddress.java b/src/main/java/Model/Tmsv2customersLinksShippingAddress.java index c2da48224..0290cb83f 100644 --- a/src/main/java/Model/Tmsv2customersLinksShippingAddress.java +++ b/src/main/java/Model/Tmsv2customersLinksShippingAddress.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersLinksShippingAddress {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java b/src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java index 3f3d9b06d..e2dd6d808 100644 --- a/src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java +++ b/src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersMerchantDefinedInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersMetadata.java b/src/main/java/Model/Tmsv2customersMetadata.java index 88829eeb0..16057fae3 100644 --- a/src/main/java/Model/Tmsv2customersMetadata.java +++ b/src/main/java/Model/Tmsv2customersMetadata.java @@ -65,7 +65,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersMetadata {\n"); - sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); + if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -76,10 +76,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tmsv2customersObjectInformation.java b/src/main/java/Model/Tmsv2customersObjectInformation.java index f8a0432c7..89f41a8e9 100644 --- a/src/main/java/Model/Tmsv2customersObjectInformation.java +++ b/src/main/java/Model/Tmsv2customersObjectInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2customersObjectInformation {\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (comment != null) sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TokenPermissions.java b/src/main/java/Model/TokenPermissions.java index d46da1300..2a5c35742 100644 --- a/src/main/java/Model/TokenPermissions.java +++ b/src/main/java/Model/TokenPermissions.java @@ -51,7 +51,7 @@ public TokenPermissions create(Boolean create) { * @return create **/ @ApiModelProperty(value = "Indicates if tokens may be created") - public Boolean isCreate() { + public Boolean Create() { return create; } @@ -69,7 +69,7 @@ public TokenPermissions read(Boolean read) { * @return read **/ @ApiModelProperty(value = "Indicates if tokens may be read") - public Boolean isRead() { + public Boolean Read() { return read; } @@ -87,7 +87,7 @@ public TokenPermissions update(Boolean update) { * @return update **/ @ApiModelProperty(value = "Indicates if tokens may be updated") - public Boolean isUpdate() { + public Boolean Update() { return update; } @@ -105,7 +105,7 @@ public TokenPermissions delete(Boolean delete) { * @return delete **/ @ApiModelProperty(value = "Indicates if tokens may be deleted") - public Boolean isDelete() { + public Boolean Delete() { return delete; } @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TokenPermissions {\n"); - sb.append(" create: ").append(toIndentedString(create)).append("\n"); - sb.append(" read: ").append(toIndentedString(read)).append("\n"); - sb.append(" update: ").append(toIndentedString(update)).append("\n"); - sb.append(" delete: ").append(toIndentedString(delete)).append("\n"); + if (create != null) sb.append(" create: ").append(toIndentedString(create)).append("\n"); + if (read != null) sb.append(" read: ").append(toIndentedString(read)).append("\n"); + if (update != null) sb.append(" update: ").append(toIndentedString(update)).append("\n"); + if (delete != null) sb.append(" delete: ").append(toIndentedString(delete)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2GetEmvTags200Response.java b/src/main/java/Model/TssV2GetEmvTags200Response.java index 8957605d1..b08f8c93b 100644 --- a/src/main/java/Model/TssV2GetEmvTags200Response.java +++ b/src/main/java/Model/TssV2GetEmvTags200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2GetEmvTags200Response {\n"); - sb.append(" emvTagBreakdownList: ").append(toIndentedString(emvTagBreakdownList)).append("\n"); + if (emvTagBreakdownList != null) sb.append(" emvTagBreakdownList: ").append(toIndentedString(emvTagBreakdownList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2GetEmvTags200ResponseEmvTagBreakdownList.java b/src/main/java/Model/TssV2GetEmvTags200ResponseEmvTagBreakdownList.java index abf9a0826..0d4526f2e 100644 --- a/src/main/java/Model/TssV2GetEmvTags200ResponseEmvTagBreakdownList.java +++ b/src/main/java/Model/TssV2GetEmvTags200ResponseEmvTagBreakdownList.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2GetEmvTags200ResponseEmvTagBreakdownList {\n"); - sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (tag != null) sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2PostEmvTags200Response.java b/src/main/java/Model/TssV2PostEmvTags200Response.java index 1dc20b3f1..12bab87ed 100644 --- a/src/main/java/Model/TssV2PostEmvTags200Response.java +++ b/src/main/java/Model/TssV2PostEmvTags200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2PostEmvTags200Response {\n"); - sb.append(" parsedEMVTagsList: ").append(toIndentedString(parsedEMVTagsList)).append("\n"); + if (parsedEMVTagsList != null) sb.append(" parsedEMVTagsList: ").append(toIndentedString(parsedEMVTagsList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2PostEmvTags200ResponseEmvTagBreakdownList.java b/src/main/java/Model/TssV2PostEmvTags200ResponseEmvTagBreakdownList.java index 7e885959e..0dbff95dc 100644 --- a/src/main/java/Model/TssV2PostEmvTags200ResponseEmvTagBreakdownList.java +++ b/src/main/java/Model/TssV2PostEmvTags200ResponseEmvTagBreakdownList.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2PostEmvTags200ResponseEmvTagBreakdownList {\n"); - sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" length: ").append(toIndentedString(length)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (tag != null) sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (length != null) sb.append(" length: ").append(toIndentedString(length)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2PostEmvTags200ResponseParsedEMVTagsList.java b/src/main/java/Model/TssV2PostEmvTags200ResponseParsedEMVTagsList.java index 87e3599fa..32c8d4078 100644 --- a/src/main/java/Model/TssV2PostEmvTags200ResponseParsedEMVTagsList.java +++ b/src/main/java/Model/TssV2PostEmvTags200ResponseParsedEMVTagsList.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2PostEmvTags200ResponseParsedEMVTagsList {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" totalTags: ").append(toIndentedString(totalTags)).append("\n"); - sb.append(" emvTagBreakdownList: ").append(toIndentedString(emvTagBreakdownList)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (totalTags != null) sb.append(" totalTags: ").append(toIndentedString(totalTags)).append("\n"); + if (emvTagBreakdownList != null) sb.append(" emvTagBreakdownList: ").append(toIndentedString(emvTagBreakdownList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200Response.java b/src/main/java/Model/TssV2TransactionsGet200Response.java index 5a85ef051..67389308f 100644 --- a/src/main/java/Model/TssV2TransactionsGet200Response.java +++ b/src/main/java/Model/TssV2TransactionsGet200Response.java @@ -746,36 +746,36 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" rootId: ").append(toIndentedString(rootId)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" submitTimeUTC: ").append(toIndentedString(submitTimeUTC)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" applicationInformation: ").append(toIndentedString(applicationInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); - sb.append(" fraudMarkingInformation: ").append(toIndentedString(fraudMarkingInformation)).append("\n"); - sb.append(" healthCareInformation: ").append(toIndentedString(healthCareInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" paymentInsightsInformation: ").append(toIndentedString(paymentInsightsInformation)).append("\n"); - sb.append(" payoutOptions: ").append(toIndentedString(payoutOptions)).append("\n"); - sb.append(" unscheduledPaymentInformation: ").append(toIndentedString(unscheduledPaymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (rootId != null) sb.append(" rootId: ").append(toIndentedString(rootId)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (submitTimeUTC != null) sb.append(" submitTimeUTC: ").append(toIndentedString(submitTimeUTC)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (applicationInformation != null) sb.append(" applicationInformation: ").append(toIndentedString(applicationInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); + if (fraudMarkingInformation != null) sb.append(" fraudMarkingInformation: ").append(toIndentedString(fraudMarkingInformation)).append("\n"); + if (healthCareInformation != null) sb.append(" healthCareInformation: ").append(toIndentedString(healthCareInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (paymentInsightsInformation != null) sb.append(" paymentInsightsInformation: ").append(toIndentedString(paymentInsightsInformation)).append("\n"); + if (payoutOptions != null) sb.append(" payoutOptions: ").append(toIndentedString(payoutOptions)).append("\n"); + if (unscheduledPaymentInformation != null) sb.append(" unscheduledPaymentInformation: ").append(toIndentedString(unscheduledPaymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (recurringPaymentInformation != null) sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -786,10 +786,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformation.java index 57016458a..c034f79e6 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformation.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseApplicationInformation {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); - sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); - sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (rCode != null) sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); + if (rFlag != null) sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); + if (applications != null) sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformationApplications.java b/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformationApplications.java index 6c07b9581..4de43f4df 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformationApplications.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseApplicationInformationApplications.java @@ -228,14 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseApplicationInformationApplications {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); - sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" rMessage: ").append(toIndentedString(rMessage)).append("\n"); - sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (rCode != null) sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); + if (rFlag != null) sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (rMessage != null) sb.append(" rMessage: ").append(toIndentedString(rMessage)).append("\n"); + if (returnCode != null) sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -246,10 +246,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseBuyerInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseBuyerInformation.java index 5ec42e802..acc2e8878 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseBuyerInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseBuyerInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseBuyerInformation {\n"); - sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); - sb.append(" hashedPassword: ").append(toIndentedString(hashedPassword)).append("\n"); + if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); + if (hashedPassword != null) sb.append(" hashedPassword: ").append(toIndentedString(hashedPassword)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.java index 04d512e44..54b8e5167 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.java @@ -185,12 +185,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,10 +201,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.java b/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.java index 528f72c4d..e7d2db067 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseClientReferenceInformationPartner {\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" thirdPartyCertificationNumber: ").append(toIndentedString(thirdPartyCertificationNumber)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (thirdPartyCertificationNumber != null) sb.append(" thirdPartyCertificationNumber: ").append(toIndentedString(thirdPartyCertificationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformation.java index c7b0e6fdc..e15600e86 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformation.java @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseConsumerAuthenticationInformation {\n"); - sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); - sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); + if (eciRaw != null) sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); + if (cavv != null) sb.append(" cavv: ").append(toIndentedString(cavv)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (strongAuthentication != null) sb.append(" strongAuthentication: ").append(toIndentedString(strongAuthentication)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication.java b/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication.java index 1f605a932..e8cdf4ce6 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication {\n"); - sb.append(" lowValueExemptionIndicator: ").append(toIndentedString(lowValueExemptionIndicator)).append("\n"); - sb.append(" riskAnalysisExemptionIndicator: ").append(toIndentedString(riskAnalysisExemptionIndicator)).append("\n"); - sb.append(" trustedMerchantExemptionIndicator: ").append(toIndentedString(trustedMerchantExemptionIndicator)).append("\n"); - sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); - sb.append(" delegatedAuthenticationExemptionIndicator: ").append(toIndentedString(delegatedAuthenticationExemptionIndicator)).append("\n"); + if (lowValueExemptionIndicator != null) sb.append(" lowValueExemptionIndicator: ").append(toIndentedString(lowValueExemptionIndicator)).append("\n"); + if (riskAnalysisExemptionIndicator != null) sb.append(" riskAnalysisExemptionIndicator: ").append(toIndentedString(riskAnalysisExemptionIndicator)).append("\n"); + if (trustedMerchantExemptionIndicator != null) sb.append(" trustedMerchantExemptionIndicator: ").append(toIndentedString(trustedMerchantExemptionIndicator)).append("\n"); + if (secureCorporatePaymentIndicator != null) sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); + if (delegatedAuthenticationExemptionIndicator != null) sb.append(" delegatedAuthenticationExemptionIndicator: ").append(toIndentedString(delegatedAuthenticationExemptionIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseDeviceInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseDeviceInformation.java index 45b587878..fa0b5db95 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseDeviceInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseDeviceInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseDeviceInformation {\n"); - sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); - sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); - sb.append(" cookiesAccepted: ").append(toIndentedString(cookiesAccepted)).append("\n"); + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (hostName != null) sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + if (cookiesAccepted != null) sb.append(" cookiesAccepted: ").append(toIndentedString(cookiesAccepted)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseErrorInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseErrorInformation.java index c15b9e5ae..14a92c355 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseErrorInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseErrorInformation.java @@ -129,9 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -142,10 +142,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseFraudMarkingInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseFraudMarkingInformation.java index 323c51a0a..b8d567d8d 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseFraudMarkingInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseFraudMarkingInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseFraudMarkingInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseInstallmentInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseInstallmentInformation.java index b520bf830..0df6bc36f 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseInstallmentInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseInstallmentInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseInstallmentInformation {\n"); - sb.append(" numberOfInstallments: ").append(toIndentedString(numberOfInstallments)).append("\n"); - sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); + if (numberOfInstallments != null) sb.append(" numberOfInstallments: ").append(toIndentedString(numberOfInstallments)).append("\n"); + if (identifier != null) sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseLinks.java b/src/main/java/Model/TssV2TransactionsGet200ResponseLinks.java index 5f13806a3..8b5854a58 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseLinks.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseLinks.java @@ -107,8 +107,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" relatedTransactions: ").append(toIndentedString(relatedTransactions)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (relatedTransactions != null) sb.append(" relatedTransactions: ").append(toIndentedString(relatedTransactions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -119,10 +119,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformation.java index 797a06ab0..9465ea1a0 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseMerchantInformation {\n"); - sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); + if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor.java b/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor.java index 4b4d1c58f..f220c5c57 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformation.java index 9a23d696b..a4316e8b3 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformation.java @@ -200,12 +200,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -216,10 +216,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java index e55cbeb15..68299be3c 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java @@ -207,13 +207,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" authorizedAmount: ").append(toIndentedString(authorizedAmount)).append("\n"); - sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); - sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); - sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (authorizedAmount != null) sb.append(" authorizedAmount: ").append(toIndentedString(authorizedAmount)).append("\n"); + if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); + if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (surcharge != null) sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); sb.append("}"); return sb.toString(); } @@ -224,10 +224,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationBillTo.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationBillTo.java index 11fd8d414..7662c6985 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationBillTo.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationBillTo.java @@ -360,20 +360,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (nameSuffix != null) sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -384,10 +384,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails.java index 8fcdae90e..5362f3a27 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails {\n"); - sb.append(" salesSlipNumber: ").append(toIndentedString(salesSlipNumber)).append("\n"); + if (salesSlipNumber != null) sb.append(" salesSlipNumber: ").append(toIndentedString(salesSlipNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationLineItems.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationLineItems.java index 38057b314..b79f40696 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationLineItems.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationLineItems.java @@ -208,13 +208,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformationLineItems {\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" fulfillmentType: ").append(toIndentedString(fulfillmentType)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (productSku != null) sb.append(" productSku: ").append(toIndentedString(productSku)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (fulfillmentType != null) sb.append(" fulfillmentType: ").append(toIndentedString(fulfillmentType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -225,10 +225,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShipTo.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShipTo.java index 53a48cac8..8d341fe71 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShipTo.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShipTo.java @@ -272,16 +272,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformationShipTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -292,10 +292,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShippingDetails.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShippingDetails.java index f2529111e..c0028917e 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShippingDetails.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationShippingDetails.java @@ -45,7 +45,7 @@ public TssV2TransactionsGet200ResponseOrderInformationShippingDetails giftWrap(B * @return giftWrap **/ @ApiModelProperty(value = "Boolean that indicates whether the customer requested gift wrapping for this purchase. This field can contain one of the following values: - true: The customer requested gift wrapping. - false: The customer did not request gift wrapping. ") - public Boolean isGiftWrap() { + public Boolean GiftWrap() { return giftWrap; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseOrderInformationShippingDetails {\n"); - sb.append(" giftWrap: ").append(toIndentedString(giftWrap)).append("\n"); - sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); + if (giftWrap != null) sb.append(" giftWrap: ").append(toIndentedString(giftWrap)).append("\n"); + if (shippingMethod != null) sb.append(" shippingMethod: ").append(toIndentedString(shippingMethod)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java index 7163a2115..015337fe6 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java @@ -384,20 +384,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); - sb.append(" features: ").append(toIndentedString(features)).append("\n"); - sb.append(" invoice: ").append(toIndentedString(invoice)).append("\n"); - sb.append(" network: ").append(toIndentedString(network)).append("\n"); - sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); - sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (brands != null) sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); + if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); + if (invoice != null) sb.append(" invoice: ").append(toIndentedString(invoice)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (accountFeatures != null) sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (fluidData != null) sb.append(" fluidData: ").append(toIndentedString(fluidData)).append("\n"); sb.append("}"); return sb.toString(); } @@ -408,10 +408,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.java index 977313def..5f6fea1de 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures {\n"); - sb.append(" balanceAmount: ").append(toIndentedString(balanceAmount)).append("\n"); - sb.append(" previousBalanceAmount: ").append(toIndentedString(previousBalanceAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (balanceAmount != null) sb.append(" balanceAmount: ").append(toIndentedString(balanceAmount)).append("\n"); + if (previousBalanceAmount != null) sb.append(" previousBalanceAmount: ").append(toIndentedString(previousBalanceAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBank.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBank.java index f7da6ee1d..4185c1a80 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBank.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBank.java @@ -208,13 +208,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationBank {\n"); - sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); - sb.append(" branchCode: ").append(toIndentedString(branchCode)).append("\n"); - sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); - sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n"); - sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" mandate: ").append(toIndentedString(mandate)).append("\n"); + if (routingNumber != null) sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); + if (branchCode != null) sb.append(" branchCode: ").append(toIndentedString(branchCode)).append("\n"); + if (swiftCode != null) sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n"); + if (bankCode != null) sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n"); + if (iban != null) sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (mandate != null) sb.append(" mandate: ").append(toIndentedString(mandate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -225,10 +225,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankAccount.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankAccount.java index 3c014c34b..5124b0cbc 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankAccount.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankAccount.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationBankAccount {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" checkDigit: ").append(toIndentedString(checkDigit)).append("\n"); - sb.append(" encoderId: ").append(toIndentedString(encoderId)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (prefix != null) sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + if (checkNumber != null) sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (checkDigit != null) sb.append(" checkDigit: ").append(toIndentedString(checkDigit)).append("\n"); + if (encoderId != null) sb.append(" encoderId: ").append(toIndentedString(encoderId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankMandate.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankMandate.java index 1fe7ab183..363eecf52 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankMandate.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBankMandate.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationBankMandate {\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - sb.append(" recurringType: ").append(toIndentedString(recurringType)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (recurringType != null) sb.append(" recurringType: ").append(toIndentedString(recurringType)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBrands.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBrands.java index 9253d0b82..26c3c4991 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBrands.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationBrands.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationBrands {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (brandName != null) sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCard.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCard.java index 4747b6cbb..c2618c636 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCard.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCard.java @@ -316,18 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationCard {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); - sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); - sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); - sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" accountEncoderId: ").append(toIndentedString(accountEncoderId)).append("\n"); - sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (prefix != null) sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (startMonth != null) sb.append(" startMonth: ").append(toIndentedString(startMonth)).append("\n"); + if (startYear != null) sb.append(" startYear: ").append(toIndentedString(startYear)).append("\n"); + if (issueNumber != null) sb.append(" issueNumber: ").append(toIndentedString(issueNumber)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (brandName != null) sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (accountEncoderId != null) sb.append(" accountEncoderId: ").append(toIndentedString(accountEncoderId)).append("\n"); + if (useAs != null) sb.append(" useAs: ").append(toIndentedString(useAs)).append("\n"); sb.append("}"); return sb.toString(); } @@ -338,10 +338,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.java index 5e48f7f7c..970c52c35 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationCustomer {\n"); - sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFeatures.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFeatures.java index e3792c8ac..77eea8592 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFeatures.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFeatures.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationFeatures {\n"); - sb.append(" accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n"); - sb.append(" accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n"); - sb.append(" cardProduct: ").append(toIndentedString(cardProduct)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" acceptanceLevel: ").append(toIndentedString(acceptanceLevel)).append("\n"); - sb.append(" cardPlatform: ").append(toIndentedString(cardPlatform)).append("\n"); - sb.append(" comboCard: ").append(toIndentedString(comboCard)).append("\n"); + if (accountFundingSource != null) sb.append(" accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n"); + if (accountFundingSourceSubType != null) sb.append(" accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n"); + if (cardProduct != null) sb.append(" cardProduct: ").append(toIndentedString(cardProduct)).append("\n"); + if (messageType != null) sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + if (acceptanceLevel != null) sb.append(" acceptanceLevel: ").append(toIndentedString(acceptanceLevel)).append("\n"); + if (cardPlatform != null) sb.append(" cardPlatform: ").append(toIndentedString(cardPlatform)).append("\n"); + if (comboCard != null) sb.append(" comboCard: ").append(toIndentedString(comboCard)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFluidData.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFluidData.java index ff234d245..134bb4132 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFluidData.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationFluidData.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationFluidData {\n"); - sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); + if (descriptor != null) sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.java index ee7c3491d..521357e7f 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInvoice.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInvoice.java index 2403915ac..9ef11d714 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInvoice.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationInvoice.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationInvoice {\n"); - sb.append(" number: ").append(toIndentedString(number)).append("\n"); - sb.append(" barcodeNumber: ").append(toIndentedString(barcodeNumber)).append("\n"); - sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (barcodeNumber != null) sb.append(" barcodeNumber: ").append(toIndentedString(barcodeNumber)).append("\n"); + if (expirationDate != null) sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.java index ca48cafd6..3e260867f 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" binLength: ").append(toIndentedString(binLength)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (binLength != null) sb.append(" binLength: ").append(toIndentedString(binLength)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationNetwork.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationNetwork.java index e17a20854..bd308f412 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationNetwork.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationNetwork.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationNetwork {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationPaymentType.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationPaymentType.java index b47249879..d4379e7d8 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationPaymentType.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformationPaymentType.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePaymentInformationPaymentType {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePayoutOptions.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePayoutOptions.java index ab9c2ba80..49f746044 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePayoutOptions.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePayoutOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePayoutOptions {\n"); - sb.append(" payoutInquiry: ").append(toIndentedString(payoutInquiry)).append("\n"); + if (payoutInquiry != null) sb.append(" payoutInquiry: ").append(toIndentedString(payoutInquiry)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java index d1d3dd822..d352ee113 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java @@ -165,11 +165,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponsePointOfSaleInformation {\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" entryMode: ").append(toIndentedString(entryMode)).append("\n"); - sb.append(" terminalCapability: ").append(toIndentedString(terminalCapability)).append("\n"); - sb.append(" cardholderVerificationMethodUsed: ").append(toIndentedString(cardholderVerificationMethodUsed)).append("\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (entryMode != null) sb.append(" entryMode: ").append(toIndentedString(entryMode)).append("\n"); + if (terminalCapability != null) sb.append(" terminalCapability: ").append(toIndentedString(terminalCapability)).append("\n"); + if (cardholderVerificationMethodUsed != null) sb.append(" cardholderVerificationMethodUsed: ").append(toIndentedString(cardholderVerificationMethodUsed)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); sb.append("}"); return sb.toString(); } @@ -180,10 +180,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformation.java index 6e6d20cb9..25c943944 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformation.java @@ -298,17 +298,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessingInformation {\n"); - sb.append(" binSource: ").append(toIndentedString(binSource)).append("\n"); - sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" commerceIndicatorLabel: ").append(toIndentedString(commerceIndicatorLabel)).append("\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); - sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); - sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" japanPaymentOptions: ").append(toIndentedString(japanPaymentOptions)).append("\n"); + if (binSource != null) sb.append(" binSource: ").append(toIndentedString(binSource)).append("\n"); + if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (commerceIndicatorLabel != null) sb.append(" commerceIndicatorLabel: ").append(toIndentedString(commerceIndicatorLabel)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (bankTransferOptions != null) sb.append(" bankTransferOptions: ").append(toIndentedString(bankTransferOptions)).append("\n"); + if (captureOptions != null) sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (japanPaymentOptions != null) sb.append(" japanPaymentOptions: ").append(toIndentedString(japanPaymentOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -319,10 +319,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java index 58090cbb2..b8685e8b4 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java @@ -109,7 +109,7 @@ public TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions * @return cardVerificationIndicator **/ @ApiModelProperty(value = "This API field will indicate whether a card verification check is being performed during the transaction Possible values: - `true` - `false` (default value) ") - public Boolean isCardVerificationIndicator() { + public Boolean CardVerificationIndicator() { return cardVerificationIndicator; } @@ -163,11 +163,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions {\n"); - sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); - sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); - sb.append(" extendAuthIndicator: ").append(toIndentedString(extendAuthIndicator)).append("\n"); - sb.append(" cardVerificationIndicator: ").append(toIndentedString(cardVerificationIndicator)).append("\n"); - sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); + if (authType != null) sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + if (authIndicator != null) sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); + if (extendAuthIndicator != null) sb.append(" extendAuthIndicator: ").append(toIndentedString(extendAuthIndicator)).append("\n"); + if (cardVerificationIndicator != null) sb.append(" cardVerificationIndicator: ").append(toIndentedString(cardVerificationIndicator)).append("\n"); + if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -178,10 +178,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.java index 2bcf14aab..8f6744bfd 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" credentialStoredOnFile: ").append(toIndentedString(credentialStoredOnFile)).append("\n"); - sb.append(" storedCredentialUsed: ").append(toIndentedString(storedCredentialUsed)).append("\n"); - sb.append(" merchantInitiatedTransaction: ").append(toIndentedString(merchantInitiatedTransaction)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (credentialStoredOnFile != null) sb.append(" credentialStoredOnFile: ").append(toIndentedString(credentialStoredOnFile)).append("\n"); + if (storedCredentialUsed != null) sb.append(" storedCredentialUsed: ").append(toIndentedString(storedCredentialUsed)).append("\n"); + if (merchantInitiatedTransaction != null) sb.append(" merchantInitiatedTransaction: ").append(toIndentedString(merchantInitiatedTransaction)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions.java index 7c04a4aef..6290ea461 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions {\n"); - sb.append(" secCode: ").append(toIndentedString(secCode)).append("\n"); + if (secCode != null) sb.append(" secCode: ").append(toIndentedString(secCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationCaptureOptions.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationCaptureOptions.java index 7c8698962..a349a1670 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationCaptureOptions.java @@ -100,8 +100,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessingInformationCaptureOptions {\n"); - sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); - sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n"); + if (totalCaptureCount != null) sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); + if (captureSequenceNumber != null) sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -112,10 +112,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions.java index 9f58847aa..5c0984ecb 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions.java @@ -261,15 +261,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions {\n"); - sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n"); - sb.append(" businessNameKatakana: ").append(toIndentedString(businessNameKatakana)).append("\n"); - sb.append(" businessNameEnglish: ").append(toIndentedString(businessNameEnglish)).append("\n"); - sb.append(" bonuses: ").append(toIndentedString(bonuses)).append("\n"); - sb.append(" firstBillingMonth: ").append(toIndentedString(firstBillingMonth)).append("\n"); - sb.append(" numberOfInstallments: ").append(toIndentedString(numberOfInstallments)).append("\n"); - sb.append(" preApprovalType: ").append(toIndentedString(preApprovalType)).append("\n"); + if (paymentMethod != null) sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (businessName != null) sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n"); + if (businessNameKatakana != null) sb.append(" businessNameKatakana: ").append(toIndentedString(businessNameKatakana)).append("\n"); + if (businessNameEnglish != null) sb.append(" businessNameEnglish: ").append(toIndentedString(businessNameEnglish)).append("\n"); + if (bonuses != null) sb.append(" bonuses: ").append(toIndentedString(bonuses)).append("\n"); + if (firstBillingMonth != null) sb.append(" firstBillingMonth: ").append(toIndentedString(firstBillingMonth)).append("\n"); + if (numberOfInstallments != null) sb.append(" numberOfInstallments: ").append(toIndentedString(numberOfInstallments)).append("\n"); + if (preApprovalType != null) sb.append(" preApprovalType: ").append(toIndentedString(preApprovalType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -280,10 +280,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java index 8ba14cacd..34a61d429 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java @@ -398,21 +398,21 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessorInformation {\n"); - sb.append(" processor: ").append(toIndentedString(processor)).append("\n"); - sb.append(" multiProcessorRouting: ").append(toIndentedString(multiProcessorRouting)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); - sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); - sb.append(" responseId: ").append(toIndentedString(responseId)).append("\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); - sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); - sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); - sb.append(" electronicVerificationResults: ").append(toIndentedString(electronicVerificationResults)).append("\n"); - sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); - sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); - sb.append(" paymentAccountReferenceNumber: ").append(toIndentedString(paymentAccountReferenceNumber)).append("\n"); + if (processor != null) sb.append(" processor: ").append(toIndentedString(processor)).append("\n"); + if (multiProcessorRouting != null) sb.append(" multiProcessorRouting: ").append(toIndentedString(multiProcessorRouting)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); + if (retrievalReferenceNumber != null) sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); + if (responseId != null) sb.append(" responseId: ").append(toIndentedString(responseId)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (avs != null) sb.append(" avs: ").append(toIndentedString(avs)).append("\n"); + if (cardVerification != null) sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); + if (achVerification != null) sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); + if (electronicVerificationResults != null) sb.append(" electronicVerificationResults: ").append(toIndentedString(electronicVerificationResults)).append("\n"); + if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); + if (responseCodeSource != null) sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); + if (paymentAccountReferenceNumber != null) sb.append(" paymentAccountReferenceNumber: ").append(toIndentedString(paymentAccountReferenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -423,10 +423,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.java index 12a91064e..51016f668 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.java @@ -272,16 +272,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults {\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" emailRaw: ").append(toIndentedString(emailRaw)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" nameRaw: ").append(toIndentedString(nameRaw)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" phoneNumberRaw: ").append(toIndentedString(phoneNumberRaw)).append("\n"); - sb.append(" street: ").append(toIndentedString(street)).append("\n"); - sb.append(" streetRaw: ").append(toIndentedString(streetRaw)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" postalCodeRaw: ").append(toIndentedString(postalCodeRaw)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (emailRaw != null) sb.append(" emailRaw: ").append(toIndentedString(emailRaw)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (nameRaw != null) sb.append(" nameRaw: ").append(toIndentedString(nameRaw)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (phoneNumberRaw != null) sb.append(" phoneNumberRaw: ").append(toIndentedString(phoneNumberRaw)).append("\n"); + if (street != null) sb.append(" street: ").append(toIndentedString(street)).append("\n"); + if (streetRaw != null) sb.append(" streetRaw: ").append(toIndentedString(streetRaw)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (postalCodeRaw != null) sb.append(" postalCodeRaw: ").append(toIndentedString(postalCodeRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -292,10 +292,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting.java index 283d78d0a..9c4a9e21c 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (sequence != null) sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationProcessor.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationProcessor.java index 288239746..7daeb9a12 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationProcessor.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformationProcessor.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseProcessorInformationProcessor {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseRecurringPaymentInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseRecurringPaymentInformation.java index 560604e61..c3fe04c1f 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseRecurringPaymentInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseRecurringPaymentInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseRecurringPaymentInformation {\n"); - sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); + if (amountType != null) sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformation.java index 077ef2462..e08f130c3 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformation.java @@ -205,12 +205,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseRiskInformation {\n"); - sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); - sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); - sb.append(" passiveProfile: ").append(toIndentedString(passiveProfile)).append("\n"); - sb.append(" passiveRules: ").append(toIndentedString(passiveRules)).append("\n"); - sb.append(" score: ").append(toIndentedString(score)).append("\n"); - sb.append(" localTime: ").append(toIndentedString(localTime)).append("\n"); + if (profile != null) sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); + if (rules != null) sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); + if (passiveProfile != null) sb.append(" passiveProfile: ").append(toIndentedString(passiveProfile)).append("\n"); + if (passiveRules != null) sb.append(" passiveRules: ").append(toIndentedString(passiveRules)).append("\n"); + if (score != null) sb.append(" score: ").append(toIndentedString(score)).append("\n"); + if (localTime != null) sb.append(" localTime: ").append(toIndentedString(localTime)).append("\n"); sb.append("}"); return sb.toString(); } @@ -221,10 +221,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationProfile.java b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationProfile.java index e8ae63cfc..0c9fae6d6 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationProfile.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationProfile.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseRiskInformationProfile {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (decision != null) sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationRules.java b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationRules.java index 07db7da6c..19b1dc48c 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationRules.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationRules.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseRiskInformationRules {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (decision != null) sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationScore.java b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationScore.java index 4984154fd..b34e583ff 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationScore.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseRiskInformationScore.java @@ -106,8 +106,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseRiskInformationScore {\n"); - sb.append(" factorCodes: ").append(toIndentedString(factorCodes)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); + if (factorCodes != null) sb.append(" factorCodes: ").append(toIndentedString(factorCodes)).append("\n"); + if (result != null) sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append("}"); return sb.toString(); } @@ -118,10 +118,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseSenderInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseSenderInformation.java index 3fe5a117c..6eb391d5c 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseSenderInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseSenderInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseSenderInformation {\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseTokenInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseTokenInformation.java index dd9972792..204a10d5d 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseTokenInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseTokenInformation.java @@ -188,12 +188,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseTokenInformation {\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); - sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); - sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); - sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); - sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + if (jti != null) sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); + if (transientTokenJwt != null) sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -204,10 +204,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java index 74c1c2155..b1fb2ddc6 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsGet200ResponseUnscheduledPaymentInformation {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201Response.java b/src/main/java/Model/TssV2TransactionsPost201Response.java index 30455a502..eb17c4056 100644 --- a/src/main/java/Model/TssV2TransactionsPost201Response.java +++ b/src/main/java/Model/TssV2TransactionsPost201Response.java @@ -98,7 +98,7 @@ public TssV2TransactionsPost201Response save(Boolean save) { * @return save **/ @ApiModelProperty(value = "Indicates whether or not you want to save this search request for future use. The options are: * `true` * `false` (default value) If set to `true`, this field returns `searchID` in the response. You can use this value to retrieve the details of the saved search. ") - public Boolean isSave() { + public Boolean Save() { return save; } @@ -340,19 +340,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201Response {\n"); - sb.append(" searchId: ").append(toIndentedString(searchId)).append("\n"); - sb.append(" save: ").append(toIndentedString(save)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (searchId != null) sb.append(" searchId: ").append(toIndentedString(searchId)).append("\n"); + if (save != null) sb.append(" save: ").append(toIndentedString(save)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (query != null) sb.append(" query: ").append(toIndentedString(query)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -363,10 +363,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbedded.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbedded.java index dd9381d25..4dd9e504d 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbedded.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbedded.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbedded {\n"); - sb.append(" transactionSummaries: ").append(toIndentedString(transactionSummaries)).append("\n"); + if (transactionSummaries != null) sb.append(" transactionSummaries: ").append(toIndentedString(transactionSummaries)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.java index 2781beabb..77fe5edce 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedApplicationInformation {\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); - sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); - sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); - sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (rCode != null) sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); + if (rFlag != null) sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); + if (applications != null) sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); + if (returnCode != null) sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.java index c1f9d384f..53d9181e6 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); - sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); - sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); - sb.append(" rMessage: ").append(toIndentedString(rMessage)).append("\n"); - sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (rCode != null) sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n"); + if (rFlag != null) sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (rMessage != null) sb.append(" rMessage: ").append(toIndentedString(rMessage)).append("\n"); + if (returnCode != null) sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.java index 4f004b4a9..128b18e81 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.java index 238d716df..1f2836841 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner {\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.java index b8310c98d..85ab72dfb 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation {\n"); - sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); - sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); - sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); + if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); + if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + if (eciRaw != null) sb.append(" eciRaw: ").append(toIndentedString(eciRaw)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.java index 4a7183d65..211eb0ce6 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedErrorInformation {\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedLinks.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedLinks.java index 13d7c2c9d..9aaff3241 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedLinks.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedLinks {\n"); - sb.append(" transactionDetail: ").append(toIndentedString(transactionDetail)).append("\n"); + if (transactionDetail != null) sb.append(" transactionDetail: ").append(toIndentedString(transactionDetail)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.java index 90650b08c..3643252f8 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedMerchantInformation {\n"); - sb.append(" resellerId: ").append(toIndentedString(resellerId)).append("\n"); + if (resellerId != null) sb.append(" resellerId: ").append(toIndentedString(resellerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation.java index e98ee87d9..5169f8b09 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedOrderInformation {\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo.java index 2f3a2ed8e..567d93790 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo.java index 27746ae56..70e2cb088 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo.java @@ -162,11 +162,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo {\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,10 +177,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.java index f43ec13bf..690fd139a 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.java @@ -144,10 +144,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPaymentInformation {\n"); - sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); - sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); - sb.append(" card: ").append(toIndentedString(card)).append("\n"); - sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); sb.append("}"); return sb.toString(); } @@ -158,10 +158,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.java index 00475b3c3..4b454962f 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank {\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.java index e430aaa55..d7b7e3425 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (prefix != null) sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.java index bdf0a2513..986edc8d9 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (prefix != null) sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.java index 176269e7d..935dbfa6a 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation.java index f219f06e0..6dae83000 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation {\n"); - sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); - sb.append(" terminalSerialNumber: ").append(toIndentedString(terminalSerialNumber)).append("\n"); - sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (terminalSerialNumber != null) sb.append(" terminalSerialNumber: ").append(toIndentedString(terminalSerialNumber)).append("\n"); + if (deviceId != null) sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner.java index b899b3826..90055abcf 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner {\n"); - sb.append(" originalTransactionId: ").append(toIndentedString(originalTransactionId)).append("\n"); + if (originalTransactionId != null) sb.append(" originalTransactionId: ").append(toIndentedString(originalTransactionId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation.java index 11a15c5df..550030edb 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedProcessingInformation {\n"); - sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); - sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); - sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); - sb.append(" commerceIndicatorLabel: ").append(toIndentedString(commerceIndicatorLabel)).append("\n"); + if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (commerceIndicatorLabel != null) sb.append(" commerceIndicatorLabel: ").append(toIndentedString(commerceIndicatorLabel)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation.java index 5f8e9e1ed..857ab14bb 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedProcessorInformation {\n"); - sb.append(" processor: ").append(toIndentedString(processor)).append("\n"); - sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); - sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); + if (processor != null) sb.append(" processor: ").append(toIndentedString(processor)).append("\n"); + if (approvalCode != null) sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); + if (retrievalReferenceNumber != null) sb.append(" retrievalReferenceNumber: ").append(toIndentedString(retrievalReferenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation.java index ea597eed9..d6c205532 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedRiskInformation {\n"); - sb.append(" providers: ").append(toIndentedString(providers)).append("\n"); + if (providers != null) sb.append(" providers: ").append(toIndentedString(providers)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders.java index e95eb1136..5ef2f3d7e 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders {\n"); - sb.append(" fingerprint: ").append(toIndentedString(fingerprint)).append("\n"); + if (fingerprint != null) sb.append(" fingerprint: ").append(toIndentedString(fingerprint)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint.java index 8fb09a6b0..cf6ad2ad2 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint {\n"); - sb.append(" trueIpaddress: ").append(toIndentedString(trueIpaddress)).append("\n"); - sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); - sb.append(" smartId: ").append(toIndentedString(smartId)).append("\n"); + if (trueIpaddress != null) sb.append(" trueIpaddress: ").append(toIndentedString(trueIpaddress)).append("\n"); + if (hash != null) sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); + if (smartId != null) sb.append(" smartId: ").append(toIndentedString(smartId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.java b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.java index cc1174bb6..c9ba152b9 100644 --- a/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.java +++ b/src/main/java/Model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.java @@ -518,26 +518,26 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" applicationInformation: ").append(toIndentedString(applicationInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - sb.append(" fraudMarkingInformation: ").append(toIndentedString(fraudMarkingInformation)).append("\n"); - sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); - sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); - sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (applicationInformation != null) sb.append(" applicationInformation: ").append(toIndentedString(applicationInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (fraudMarkingInformation != null) sb.append(" fraudMarkingInformation: ").append(toIndentedString(fraudMarkingInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); + if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -548,10 +548,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Tssv2transactionsemvTagDetailsEmvDetailsList.java b/src/main/java/Model/Tssv2transactionsemvTagDetailsEmvDetailsList.java index 82eeae5a6..895bf3d79 100644 --- a/src/main/java/Model/Tssv2transactionsemvTagDetailsEmvDetailsList.java +++ b/src/main/java/Model/Tssv2transactionsemvTagDetailsEmvDetailsList.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tssv2transactionsemvTagDetailsEmvDetailsList {\n"); - sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - sb.append(" emvRequestCombinedTags: ").append(toIndentedString(emvRequestCombinedTags)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (emvRequestCombinedTags != null) sb.append(" emvRequestCombinedTags: ").append(toIndentedString(emvRequestCombinedTags)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UmsV1UsersGet200Response.java b/src/main/java/Model/UmsV1UsersGet200Response.java index e7d33df26..1bfab5afb 100644 --- a/src/main/java/Model/UmsV1UsersGet200Response.java +++ b/src/main/java/Model/UmsV1UsersGet200Response.java @@ -85,7 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UmsV1UsersGet200Response {\n"); - sb.append(" users: ").append(toIndentedString(users)).append("\n"); + if (users != null) sb.append(" users: ").append(toIndentedString(users)).append("\n"); sb.append("}"); return sb.toString(); } @@ -96,10 +96,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UmsV1UsersGet200ResponseAccountInformation.java b/src/main/java/Model/UmsV1UsersGet200ResponseAccountInformation.java index dad2b5516..6f530c8e1 100644 --- a/src/main/java/Model/UmsV1UsersGet200ResponseAccountInformation.java +++ b/src/main/java/Model/UmsV1UsersGet200ResponseAccountInformation.java @@ -239,14 +239,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UmsV1UsersGet200ResponseAccountInformation {\n"); - sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); - sb.append(" roleId: ").append(toIndentedString(roleId)).append("\n"); - sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n"); - sb.append(" lastAccessTime: ").append(toIndentedString(lastAccessTime)).append("\n"); - sb.append(" languagePreference: ").append(toIndentedString(languagePreference)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + if (userName != null) sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); + if (roleId != null) sb.append(" roleId: ").append(toIndentedString(roleId)).append("\n"); + if (permissions != null) sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (createdTime != null) sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n"); + if (lastAccessTime != null) sb.append(" lastAccessTime: ").append(toIndentedString(lastAccessTime)).append("\n"); + if (languagePreference != null) sb.append(" languagePreference: ").append(toIndentedString(languagePreference)).append("\n"); + if (timezone != null) sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); sb.append("}"); return sb.toString(); } @@ -257,10 +257,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UmsV1UsersGet200ResponseContactInformation.java b/src/main/java/Model/UmsV1UsersGet200ResponseContactInformation.java index bd70c4825..3559b5571 100644 --- a/src/main/java/Model/UmsV1UsersGet200ResponseContactInformation.java +++ b/src/main/java/Model/UmsV1UsersGet200ResponseContactInformation.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UmsV1UsersGet200ResponseContactInformation {\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UmsV1UsersGet200ResponseOrganizationInformation.java b/src/main/java/Model/UmsV1UsersGet200ResponseOrganizationInformation.java index 751e00ec6..d9518622e 100644 --- a/src/main/java/Model/UmsV1UsersGet200ResponseOrganizationInformation.java +++ b/src/main/java/Model/UmsV1UsersGet200ResponseOrganizationInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UmsV1UsersGet200ResponseOrganizationInformation {\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UmsV1UsersGet200ResponseUsers.java b/src/main/java/Model/UmsV1UsersGet200ResponseUsers.java index aecced8b8..b8d99773f 100644 --- a/src/main/java/Model/UmsV1UsersGet200ResponseUsers.java +++ b/src/main/java/Model/UmsV1UsersGet200ResponseUsers.java @@ -154,10 +154,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UmsV1UsersGet200ResponseUsers {\n"); - sb.append(" accountInformation: ").append(toIndentedString(accountInformation)).append("\n"); - sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); - sb.append(" contactInformation: ").append(toIndentedString(contactInformation)).append("\n"); - sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n"); + if (accountInformation != null) sb.append(" accountInformation: ").append(toIndentedString(accountInformation)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (contactInformation != null) sb.append(" contactInformation: ").append(toIndentedString(contactInformation)).append("\n"); + if (customFields != null) sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n"); sb.append("}"); return sb.toString(); } @@ -168,10 +168,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdateInvoiceRequest.java b/src/main/java/Model/UpdateInvoiceRequest.java index b844e48aa..ec945fcca 100644 --- a/src/main/java/Model/UpdateInvoiceRequest.java +++ b/src/main/java/Model/UpdateInvoiceRequest.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateInvoiceRequest {\n"); - sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); - sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (customerInformation != null) sb.append(" customerInformation: ").append(toIndentedString(customerInformation)).append("\n"); + if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdateOrderRequest.java b/src/main/java/Model/UpdateOrderRequest.java index 1f69cf62d..9dedbafc9 100644 --- a/src/main/java/Model/UpdateOrderRequest.java +++ b/src/main/java/Model/UpdateOrderRequest.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateOrderRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdatePlanRequest.java b/src/main/java/Model/UpdatePlanRequest.java index 731c6f14c..eed992253 100644 --- a/src/main/java/Model/UpdatePlanRequest.java +++ b/src/main/java/Model/UpdatePlanRequest.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdatePlanRequest {\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdatePlanResponse.java b/src/main/java/Model/UpdatePlanResponse.java index 2e0ef32ec..2ed547555 100644 --- a/src/main/java/Model/UpdatePlanResponse.java +++ b/src/main/java/Model/UpdatePlanResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdatePlanResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdatePlanResponsePlanInformation.java b/src/main/java/Model/UpdatePlanResponsePlanInformation.java index dc50aceba..992f4190c 100644 --- a/src/main/java/Model/UpdatePlanResponsePlanInformation.java +++ b/src/main/java/Model/UpdatePlanResponsePlanInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdatePlanResponsePlanInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdateSubscription.java b/src/main/java/Model/UpdateSubscription.java index 5b3dd6e77..98d493011 100644 --- a/src/main/java/Model/UpdateSubscription.java +++ b/src/main/java/Model/UpdateSubscription.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateSubscription {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdateSubscriptionResponse.java b/src/main/java/Model/UpdateSubscriptionResponse.java index 11f79d6b6..ce8367835 100644 --- a/src/main/java/Model/UpdateSubscriptionResponse.java +++ b/src/main/java/Model/UpdateSubscriptionResponse.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateSubscriptionResponse {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/UpdateWebhookRequest.java b/src/main/java/Model/UpdateWebhookRequest.java index 184a5067a..bb652b187 100644 --- a/src/main/java/Model/UpdateWebhookRequest.java +++ b/src/main/java/Model/UpdateWebhookRequest.java @@ -338,18 +338,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateWebhookRequest {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); - sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); - sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (additionalAttributes != null) sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -360,10 +360,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsCaptureMandate.java b/src/main/java/Model/Upv1capturecontextsCaptureMandate.java index b770f90c9..f8b917289 100644 --- a/src/main/java/Model/Upv1capturecontextsCaptureMandate.java +++ b/src/main/java/Model/Upv1capturecontextsCaptureMandate.java @@ -77,7 +77,7 @@ public Upv1capturecontextsCaptureMandate requestEmail(Boolean requestEmail) { * @return requestEmail **/ @ApiModelProperty(value = "Configure Unified Checkout to capture customer email address. Possible values: - True - False ") - public Boolean isRequestEmail() { + public Boolean RequestEmail() { return requestEmail; } @@ -95,7 +95,7 @@ public Upv1capturecontextsCaptureMandate requestPhone(Boolean requestPhone) { * @return requestPhone **/ @ApiModelProperty(value = "Configure Unified Checkout to capture customer phone number. Possible values: - True - False ") - public Boolean isRequestPhone() { + public Boolean RequestPhone() { return requestPhone; } @@ -113,7 +113,7 @@ public Upv1capturecontextsCaptureMandate requestShipping(Boolean requestShipping * @return requestShipping **/ @ApiModelProperty(value = "Configure Unified Checkout to capture customer shipping details. Possible values: - True - False ") - public Boolean isRequestShipping() { + public Boolean RequestShipping() { return requestShipping; } @@ -157,7 +157,7 @@ public Upv1capturecontextsCaptureMandate showAcceptedNetworkIcons(Boolean showAc * @return showAcceptedNetworkIcons **/ @ApiModelProperty(value = "Configure Unified Checkout to display the list of accepted card networks beneath the payment button Possible values: - True - False ") - public Boolean isShowAcceptedNetworkIcons() { + public Boolean ShowAcceptedNetworkIcons() { return showAcceptedNetworkIcons; } @@ -194,12 +194,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsCaptureMandate {\n"); - sb.append(" billingType: ").append(toIndentedString(billingType)).append("\n"); - sb.append(" requestEmail: ").append(toIndentedString(requestEmail)).append("\n"); - sb.append(" requestPhone: ").append(toIndentedString(requestPhone)).append("\n"); - sb.append(" requestShipping: ").append(toIndentedString(requestShipping)).append("\n"); - sb.append(" shipToCountries: ").append(toIndentedString(shipToCountries)).append("\n"); - sb.append(" showAcceptedNetworkIcons: ").append(toIndentedString(showAcceptedNetworkIcons)).append("\n"); + if (billingType != null) sb.append(" billingType: ").append(toIndentedString(billingType)).append("\n"); + if (requestEmail != null) sb.append(" requestEmail: ").append(toIndentedString(requestEmail)).append("\n"); + if (requestPhone != null) sb.append(" requestPhone: ").append(toIndentedString(requestPhone)).append("\n"); + if (requestShipping != null) sb.append(" requestShipping: ").append(toIndentedString(requestShipping)).append("\n"); + if (shipToCountries != null) sb.append(" shipToCountries: ").append(toIndentedString(shipToCountries)).append("\n"); + if (showAcceptedNetworkIcons != null) sb.append(" showAcceptedNetworkIcons: ").append(toIndentedString(showAcceptedNetworkIcons)).append("\n"); sb.append("}"); return sb.toString(); } @@ -210,10 +210,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java b/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java index e841ab27e..493f6acc7 100644 --- a/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java +++ b/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java @@ -273,16 +273,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsCheckoutApiInitialization {\n"); - sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); - sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); - sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - sb.append(" transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n"); - sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - sb.append(" overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n"); - sb.append(" unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).append("\n"); + if (profileId != null) sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); + if (accessKey != null) sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (transactionUuid != null) sb.append(" transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n"); + if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); + if (overrideCustomReceiptPage != null) sb.append(" overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n"); + if (unsignedFieldNames != null) sb.append(" unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).append("\n"); sb.append("}"); return sb.toString(); } @@ -293,10 +293,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsOrderInformation.java b/src/main/java/Model/Upv1capturecontextsOrderInformation.java index 108b2203b..7b51df346 100644 --- a/src/main/java/Model/Upv1capturecontextsOrderInformation.java +++ b/src/main/java/Model/Upv1capturecontextsOrderInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsOrderInformationAmountDetails.java b/src/main/java/Model/Upv1capturecontextsOrderInformationAmountDetails.java index 27ce7bff0..3e73f11da 100644 --- a/src/main/java/Model/Upv1capturecontextsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Upv1capturecontextsOrderInformationAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsOrderInformationAmountDetails {\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsOrderInformationBillTo.java b/src/main/java/Model/Upv1capturecontextsOrderInformationBillTo.java index 35775bc6e..2ce5a35df 100644 --- a/src/main/java/Model/Upv1capturecontextsOrderInformationBillTo.java +++ b/src/main/java/Model/Upv1capturecontextsOrderInformationBillTo.java @@ -471,25 +471,25 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); - sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" phoneType: ").append(toIndentedString(phoneType)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (company != null) sb.append(" company: ").append(toIndentedString(company)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (nameSuffix != null) sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n"); + if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (phoneType != null) sb.append(" phoneType: ").append(toIndentedString(phoneType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -500,10 +500,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsOrderInformationBillToCompany.java b/src/main/java/Model/Upv1capturecontextsOrderInformationBillToCompany.java index 9085c85f8..7de6e3542 100644 --- a/src/main/java/Model/Upv1capturecontextsOrderInformationBillToCompany.java +++ b/src/main/java/Model/Upv1capturecontextsOrderInformationBillToCompany.java @@ -294,17 +294,17 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsOrderInformationBillToCompany {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -315,10 +315,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Upv1capturecontextsOrderInformationShipTo.java b/src/main/java/Model/Upv1capturecontextsOrderInformationShipTo.java index f5aa1ff44..2fd0711eb 100644 --- a/src/main/java/Model/Upv1capturecontextsOrderInformationShipTo.java +++ b/src/main/java/Model/Upv1capturecontextsOrderInformationShipTo.java @@ -316,18 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsOrderInformationShipTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" district: ").append(toIndentedString(district)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (address4 != null) sb.append(" address4: ").append(toIndentedString(address4)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (buildingNumber != null) sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (district != null) sb.append(" district: ").append(toIndentedString(district)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -338,10 +338,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/V1FileDetailsGet200Response.java b/src/main/java/Model/V1FileDetailsGet200Response.java index 2a4a52826..7a8fc7c74 100644 --- a/src/main/java/Model/V1FileDetailsGet200Response.java +++ b/src/main/java/Model/V1FileDetailsGet200Response.java @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1FileDetailsGet200Response {\n"); - sb.append(" fileDetails: ").append(toIndentedString(fileDetails)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (fileDetails != null) sb.append(" fileDetails: ").append(toIndentedString(fileDetails)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/V1FileDetailsGet200ResponseFileDetails.java b/src/main/java/Model/V1FileDetailsGet200ResponseFileDetails.java index 3a2f8361c..9637392b3 100644 --- a/src/main/java/Model/V1FileDetailsGet200ResponseFileDetails.java +++ b/src/main/java/Model/V1FileDetailsGet200ResponseFileDetails.java @@ -209,13 +209,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1FileDetailsGet200ResponseFileDetails {\n"); - sb.append(" fileId: ").append(toIndentedString(fileId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n"); - sb.append(" lastModifiedTime: ").append(toIndentedString(lastModifiedTime)).append("\n"); - sb.append(" date: ").append(toIndentedString(date)).append("\n"); - sb.append(" mimeType: ").append(toIndentedString(mimeType)).append("\n"); - sb.append(" size: ").append(toIndentedString(size)).append("\n"); + if (fileId != null) sb.append(" fileId: ").append(toIndentedString(fileId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (createdTime != null) sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n"); + if (lastModifiedTime != null) sb.append(" lastModifiedTime: ").append(toIndentedString(lastModifiedTime)).append("\n"); + if (date != null) sb.append(" date: ").append(toIndentedString(date)).append("\n"); + if (mimeType != null) sb.append(" mimeType: ").append(toIndentedString(mimeType)).append("\n"); + if (size != null) sb.append(" size: ").append(toIndentedString(size)).append("\n"); sb.append("}"); return sb.toString(); } @@ -226,10 +226,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/V1FileDetailsGet200ResponseLinks.java b/src/main/java/Model/V1FileDetailsGet200ResponseLinks.java index ccfe08966..a93f888d8 100644 --- a/src/main/java/Model/V1FileDetailsGet200ResponseLinks.java +++ b/src/main/java/Model/V1FileDetailsGet200ResponseLinks.java @@ -108,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1FileDetailsGet200ResponseLinks {\n"); - sb.append(" self: ").append(toIndentedString(self)).append("\n"); - sb.append(" files: ").append(toIndentedString(files)).append("\n"); + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (files != null) sb.append(" files: ").append(toIndentedString(files)).append("\n"); sb.append("}"); return sb.toString(); } @@ -120,10 +120,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/V1FileDetailsGet200ResponseLinksFiles.java b/src/main/java/Model/V1FileDetailsGet200ResponseLinksFiles.java index a8d601070..85e9cee6d 100644 --- a/src/main/java/Model/V1FileDetailsGet200ResponseLinksFiles.java +++ b/src/main/java/Model/V1FileDetailsGet200ResponseLinksFiles.java @@ -118,9 +118,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1FileDetailsGet200ResponseLinksFiles {\n"); - sb.append(" fileId: ").append(toIndentedString(fileId)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (fileId != null) sb.append(" fileId: ").append(toIndentedString(fileId)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,10 +131,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/V1FileDetailsGet200ResponseLinksSelf.java b/src/main/java/Model/V1FileDetailsGet200ResponseLinksSelf.java index 7b7f17572..d6e68baa7 100644 --- a/src/main/java/Model/V1FileDetailsGet200ResponseLinksSelf.java +++ b/src/main/java/Model/V1FileDetailsGet200ResponseLinksSelf.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1FileDetailsGet200ResponseLinksSelf {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfig.java b/src/main/java/Model/VTConfig.java index 69729c7e5..550d1ab2f 100644 --- a/src/main/java/Model/VTConfig.java +++ b/src/main/java/Model/VTConfig.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfig {\n"); - sb.append(" cardNotPresent: ").append(toIndentedString(cardNotPresent)).append("\n"); - sb.append(" cardPresent: ").append(toIndentedString(cardPresent)).append("\n"); + if (cardNotPresent != null) sb.append(" cardNotPresent: ").append(toIndentedString(cardNotPresent)).append("\n"); + if (cardPresent != null) sb.append(" cardPresent: ").append(toIndentedString(cardPresent)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresent.java b/src/main/java/Model/VTConfigCardNotPresent.java index f762572b6..7e83cd85b 100644 --- a/src/main/java/Model/VTConfigCardNotPresent.java +++ b/src/main/java/Model/VTConfigCardNotPresent.java @@ -98,8 +98,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresent {\n"); - sb.append(" globalPaymentInformation: ").append(toIndentedString(globalPaymentInformation)).append("\n"); - sb.append(" receiptInformation: ").append(toIndentedString(receiptInformation)).append("\n"); + if (globalPaymentInformation != null) sb.append(" globalPaymentInformation: ").append(toIndentedString(globalPaymentInformation)).append("\n"); + if (receiptInformation != null) sb.append(" receiptInformation: ").append(toIndentedString(receiptInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -110,10 +110,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformation.java b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformation.java index a99a19a85..8bc8bfbbe 100644 --- a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformation.java +++ b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentGlobalPaymentInformation {\n"); - sb.append(" basicInformation: ").append(toIndentedString(basicInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" merchantDefinedDataFields: ").append(toIndentedString(merchantDefinedDataFields)).append("\n"); + if (basicInformation != null) sb.append(" basicInformation: ").append(toIndentedString(basicInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (merchantDefinedDataFields != null) sb.append(" merchantDefinedDataFields: ").append(toIndentedString(merchantDefinedDataFields)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationBasicInformation.java b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationBasicInformation.java index fc3fce20d..10e86581f 100644 --- a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationBasicInformation.java +++ b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationBasicInformation.java @@ -174,7 +174,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationBasicInformation displayRet * @return displayRetail **/ @ApiModelProperty(value = "") - public Boolean isDisplayRetail() { + public Boolean DisplayRetail() { return displayRetail; } @@ -192,7 +192,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationBasicInformation displayMot * @return displayMoto **/ @ApiModelProperty(value = "") - public Boolean isDisplayMoto() { + public Boolean DisplayMoto() { return displayMoto; } @@ -210,7 +210,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationBasicInformation displayInt * @return displayInternet **/ @ApiModelProperty(value = "") - public Boolean isDisplayInternet() { + public Boolean DisplayInternet() { return displayInternet; } @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentGlobalPaymentInformationBasicInformation {\n"); - sb.append(" defaultStandardEntryClassCode: ").append(toIndentedString(defaultStandardEntryClassCode)).append("\n"); - sb.append(" defaultCountryCode: ").append(toIndentedString(defaultCountryCode)).append("\n"); - sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n"); - sb.append(" defaultTransactionType: ").append(toIndentedString(defaultTransactionType)).append("\n"); - sb.append(" defaultPaymentType: ").append(toIndentedString(defaultPaymentType)).append("\n"); - sb.append(" defaultTransactionSource: ").append(toIndentedString(defaultTransactionSource)).append("\n"); - sb.append(" displayRetail: ").append(toIndentedString(displayRetail)).append("\n"); - sb.append(" displayMoto: ").append(toIndentedString(displayMoto)).append("\n"); - sb.append(" displayInternet: ").append(toIndentedString(displayInternet)).append("\n"); + if (defaultStandardEntryClassCode != null) sb.append(" defaultStandardEntryClassCode: ").append(toIndentedString(defaultStandardEntryClassCode)).append("\n"); + if (defaultCountryCode != null) sb.append(" defaultCountryCode: ").append(toIndentedString(defaultCountryCode)).append("\n"); + if (defaultCurrencyCode != null) sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n"); + if (defaultTransactionType != null) sb.append(" defaultTransactionType: ").append(toIndentedString(defaultTransactionType)).append("\n"); + if (defaultPaymentType != null) sb.append(" defaultPaymentType: ").append(toIndentedString(defaultPaymentType)).append("\n"); + if (defaultTransactionSource != null) sb.append(" defaultTransactionSource: ").append(toIndentedString(defaultTransactionSource)).append("\n"); + if (displayRetail != null) sb.append(" displayRetail: ").append(toIndentedString(displayRetail)).append("\n"); + if (displayMoto != null) sb.append(" displayMoto: ").append(toIndentedString(displayMoto)).append("\n"); + if (displayInternet != null) sb.append(" displayInternet: ").append(toIndentedString(displayInternet)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.java b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.java index f0db0892a..c2a5aee07 100644 --- a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.java +++ b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.java @@ -114,7 +114,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields d * @return displayMerchantDefinedData1 **/ @ApiModelProperty(value = "") - public Boolean isDisplayMerchantDefinedData1() { + public Boolean DisplayMerchantDefinedData1() { return displayMerchantDefinedData1; } @@ -132,7 +132,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields d * @return displayMerchantDefinedData2 **/ @ApiModelProperty(value = "") - public Boolean isDisplayMerchantDefinedData2() { + public Boolean DisplayMerchantDefinedData2() { return displayMerchantDefinedData2; } @@ -150,7 +150,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields d * @return displayMerchantDefinedData3 **/ @ApiModelProperty(value = "") - public Boolean isDisplayMerchantDefinedData3() { + public Boolean DisplayMerchantDefinedData3() { return displayMerchantDefinedData3; } @@ -168,7 +168,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields d * @return displayMerchantDefinedData4 **/ @ApiModelProperty(value = "") - public Boolean isDisplayMerchantDefinedData4() { + public Boolean DisplayMerchantDefinedData4() { return displayMerchantDefinedData4; } @@ -186,7 +186,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields d * @return displayMerchantDefinedData5 **/ @ApiModelProperty(value = "") - public Boolean isDisplayMerchantDefinedData5() { + public Boolean DisplayMerchantDefinedData5() { return displayMerchantDefinedData5; } @@ -240,7 +240,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields r * @return requireMerchantDefinedData1 **/ @ApiModelProperty(value = "") - public Boolean isRequireMerchantDefinedData1() { + public Boolean RequireMerchantDefinedData1() { return requireMerchantDefinedData1; } @@ -294,7 +294,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields r * @return requireMerchantDefinedData2 **/ @ApiModelProperty(value = "") - public Boolean isRequireMerchantDefinedData2() { + public Boolean RequireMerchantDefinedData2() { return requireMerchantDefinedData2; } @@ -348,7 +348,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields r * @return requireMerchantDefinedData3 **/ @ApiModelProperty(value = "") - public Boolean isRequireMerchantDefinedData3() { + public Boolean RequireMerchantDefinedData3() { return requireMerchantDefinedData3; } @@ -402,7 +402,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields r * @return requireMerchantDefinedData4 **/ @ApiModelProperty(value = "") - public Boolean isRequireMerchantDefinedData4() { + public Boolean RequireMerchantDefinedData4() { return requireMerchantDefinedData4; } @@ -456,7 +456,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields r * @return requireMerchantDefinedData5 **/ @ApiModelProperty(value = "") - public Boolean isRequireMerchantDefinedData5() { + public Boolean RequireMerchantDefinedData5() { return requireMerchantDefinedData5; } @@ -474,7 +474,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields m * @return merchantDefinedData1DisplayOnReceipt **/ @ApiModelProperty(value = "") - public Boolean isMerchantDefinedData1DisplayOnReceipt() { + public Boolean MerchantDefinedData1DisplayOnReceipt() { return merchantDefinedData1DisplayOnReceipt; } @@ -492,7 +492,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields m * @return merchantDefinedData2DisplayOnReceipt **/ @ApiModelProperty(value = "") - public Boolean isMerchantDefinedData2DisplayOnReceipt() { + public Boolean MerchantDefinedData2DisplayOnReceipt() { return merchantDefinedData2DisplayOnReceipt; } @@ -510,7 +510,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields m * @return merchantDefinedData3DisplayOnReceipt **/ @ApiModelProperty(value = "") - public Boolean isMerchantDefinedData3DisplayOnReceipt() { + public Boolean MerchantDefinedData3DisplayOnReceipt() { return merchantDefinedData3DisplayOnReceipt; } @@ -528,7 +528,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields m * @return merchantDefinedData4DisplayOnReceipt **/ @ApiModelProperty(value = "") - public Boolean isMerchantDefinedData4DisplayOnReceipt() { + public Boolean MerchantDefinedData4DisplayOnReceipt() { return merchantDefinedData4DisplayOnReceipt; } @@ -546,7 +546,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields m * @return merchantDefinedData5DisplayOnReceipt **/ @ApiModelProperty(value = "") - public Boolean isMerchantDefinedData5DisplayOnReceipt() { + public Boolean MerchantDefinedData5DisplayOnReceipt() { return merchantDefinedData5DisplayOnReceipt; } @@ -602,31 +602,31 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields {\n"); - sb.append(" displayMerchantDefinedData1: ").append(toIndentedString(displayMerchantDefinedData1)).append("\n"); - sb.append(" displayMerchantDefinedData2: ").append(toIndentedString(displayMerchantDefinedData2)).append("\n"); - sb.append(" displayMerchantDefinedData3: ").append(toIndentedString(displayMerchantDefinedData3)).append("\n"); - sb.append(" displayMerchantDefinedData4: ").append(toIndentedString(displayMerchantDefinedData4)).append("\n"); - sb.append(" displayMerchantDefinedData5: ").append(toIndentedString(displayMerchantDefinedData5)).append("\n"); - sb.append(" merchantDefinedData1DefaultValue: ").append(toIndentedString(merchantDefinedData1DefaultValue)).append("\n"); - sb.append(" merchantDefinedData1Label: ").append(toIndentedString(merchantDefinedData1Label)).append("\n"); - sb.append(" requireMerchantDefinedData1: ").append(toIndentedString(requireMerchantDefinedData1)).append("\n"); - sb.append(" merchantDefinedData2DefaultValue: ").append(toIndentedString(merchantDefinedData2DefaultValue)).append("\n"); - sb.append(" merchantDefinedData2Label: ").append(toIndentedString(merchantDefinedData2Label)).append("\n"); - sb.append(" requireMerchantDefinedData2: ").append(toIndentedString(requireMerchantDefinedData2)).append("\n"); - sb.append(" merchantDefinedData3DefaultValue: ").append(toIndentedString(merchantDefinedData3DefaultValue)).append("\n"); - sb.append(" merchantDefinedData3Label: ").append(toIndentedString(merchantDefinedData3Label)).append("\n"); - sb.append(" requireMerchantDefinedData3: ").append(toIndentedString(requireMerchantDefinedData3)).append("\n"); - sb.append(" merchantDefinedData4DefaultValue: ").append(toIndentedString(merchantDefinedData4DefaultValue)).append("\n"); - sb.append(" merchantDefinedData4Label: ").append(toIndentedString(merchantDefinedData4Label)).append("\n"); - sb.append(" requireMerchantDefinedData4: ").append(toIndentedString(requireMerchantDefinedData4)).append("\n"); - sb.append(" merchantDefinedData5DefaultValue: ").append(toIndentedString(merchantDefinedData5DefaultValue)).append("\n"); - sb.append(" merchantDefinedData5Label: ").append(toIndentedString(merchantDefinedData5Label)).append("\n"); - sb.append(" requireMerchantDefinedData5: ").append(toIndentedString(requireMerchantDefinedData5)).append("\n"); - sb.append(" merchantDefinedData1DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData1DisplayOnReceipt)).append("\n"); - sb.append(" merchantDefinedData2DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData2DisplayOnReceipt)).append("\n"); - sb.append(" merchantDefinedData3DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData3DisplayOnReceipt)).append("\n"); - sb.append(" merchantDefinedData4DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData4DisplayOnReceipt)).append("\n"); - sb.append(" merchantDefinedData5DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData5DisplayOnReceipt)).append("\n"); + if (displayMerchantDefinedData1 != null) sb.append(" displayMerchantDefinedData1: ").append(toIndentedString(displayMerchantDefinedData1)).append("\n"); + if (displayMerchantDefinedData2 != null) sb.append(" displayMerchantDefinedData2: ").append(toIndentedString(displayMerchantDefinedData2)).append("\n"); + if (displayMerchantDefinedData3 != null) sb.append(" displayMerchantDefinedData3: ").append(toIndentedString(displayMerchantDefinedData3)).append("\n"); + if (displayMerchantDefinedData4 != null) sb.append(" displayMerchantDefinedData4: ").append(toIndentedString(displayMerchantDefinedData4)).append("\n"); + if (displayMerchantDefinedData5 != null) sb.append(" displayMerchantDefinedData5: ").append(toIndentedString(displayMerchantDefinedData5)).append("\n"); + if (merchantDefinedData1DefaultValue != null) sb.append(" merchantDefinedData1DefaultValue: ").append(toIndentedString(merchantDefinedData1DefaultValue)).append("\n"); + if (merchantDefinedData1Label != null) sb.append(" merchantDefinedData1Label: ").append(toIndentedString(merchantDefinedData1Label)).append("\n"); + if (requireMerchantDefinedData1 != null) sb.append(" requireMerchantDefinedData1: ").append(toIndentedString(requireMerchantDefinedData1)).append("\n"); + if (merchantDefinedData2DefaultValue != null) sb.append(" merchantDefinedData2DefaultValue: ").append(toIndentedString(merchantDefinedData2DefaultValue)).append("\n"); + if (merchantDefinedData2Label != null) sb.append(" merchantDefinedData2Label: ").append(toIndentedString(merchantDefinedData2Label)).append("\n"); + if (requireMerchantDefinedData2 != null) sb.append(" requireMerchantDefinedData2: ").append(toIndentedString(requireMerchantDefinedData2)).append("\n"); + if (merchantDefinedData3DefaultValue != null) sb.append(" merchantDefinedData3DefaultValue: ").append(toIndentedString(merchantDefinedData3DefaultValue)).append("\n"); + if (merchantDefinedData3Label != null) sb.append(" merchantDefinedData3Label: ").append(toIndentedString(merchantDefinedData3Label)).append("\n"); + if (requireMerchantDefinedData3 != null) sb.append(" requireMerchantDefinedData3: ").append(toIndentedString(requireMerchantDefinedData3)).append("\n"); + if (merchantDefinedData4DefaultValue != null) sb.append(" merchantDefinedData4DefaultValue: ").append(toIndentedString(merchantDefinedData4DefaultValue)).append("\n"); + if (merchantDefinedData4Label != null) sb.append(" merchantDefinedData4Label: ").append(toIndentedString(merchantDefinedData4Label)).append("\n"); + if (requireMerchantDefinedData4 != null) sb.append(" requireMerchantDefinedData4: ").append(toIndentedString(requireMerchantDefinedData4)).append("\n"); + if (merchantDefinedData5DefaultValue != null) sb.append(" merchantDefinedData5DefaultValue: ").append(toIndentedString(merchantDefinedData5DefaultValue)).append("\n"); + if (merchantDefinedData5Label != null) sb.append(" merchantDefinedData5Label: ").append(toIndentedString(merchantDefinedData5Label)).append("\n"); + if (requireMerchantDefinedData5 != null) sb.append(" requireMerchantDefinedData5: ").append(toIndentedString(requireMerchantDefinedData5)).append("\n"); + if (merchantDefinedData1DisplayOnReceipt != null) sb.append(" merchantDefinedData1DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData1DisplayOnReceipt)).append("\n"); + if (merchantDefinedData2DisplayOnReceipt != null) sb.append(" merchantDefinedData2DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData2DisplayOnReceipt)).append("\n"); + if (merchantDefinedData3DisplayOnReceipt != null) sb.append(" merchantDefinedData3DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData3DisplayOnReceipt)).append("\n"); + if (merchantDefinedData4DisplayOnReceipt != null) sb.append(" merchantDefinedData4DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData4DisplayOnReceipt)).append("\n"); + if (merchantDefinedData5DisplayOnReceipt != null) sb.append(" merchantDefinedData5DisplayOnReceipt: ").append(toIndentedString(merchantDefinedData5DisplayOnReceipt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -637,10 +637,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation.java b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation.java index 6f9af9e04..03116b9fc 100644 --- a/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation.java +++ b/src/main/java/Model/VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation.java @@ -158,7 +158,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayC * @return displayCreditCards **/ @ApiModelProperty(value = "") - public Boolean isDisplayCreditCards() { + public Boolean DisplayCreditCards() { return displayCreditCards; } @@ -176,7 +176,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayE * @return displayEchecks **/ @ApiModelProperty(value = "") - public Boolean isDisplayEchecks() { + public Boolean DisplayEchecks() { return displayEchecks; } @@ -194,7 +194,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayD * @return displayDebtIndicator **/ @ApiModelProperty(value = "") - public Boolean isDisplayDebtIndicator() { + public Boolean DisplayDebtIndicator() { return displayDebtIndicator; } @@ -212,7 +212,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayB * @return displayBillPayment **/ @ApiModelProperty(value = "") - public Boolean isDisplayBillPayment() { + public Boolean DisplayBillPayment() { return displayBillPayment; } @@ -230,7 +230,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation enableEc * @return enableEchecks **/ @ApiModelProperty(value = "") - public Boolean isEnableEchecks() { + public Boolean EnableEchecks() { return enableEchecks; } @@ -248,7 +248,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayI * @return displayIgnoreECheckAvsCheckbox **/ @ApiModelProperty(value = "") - public Boolean isDisplayIgnoreECheckAvsCheckbox() { + public Boolean DisplayIgnoreECheckAvsCheckbox() { return displayIgnoreECheckAvsCheckbox; } @@ -266,7 +266,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation firstNam * @return firstNameRequired **/ @ApiModelProperty(value = "") - public Boolean isFirstNameRequired() { + public Boolean FirstNameRequired() { return firstNameRequired; } @@ -284,7 +284,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation lastName * @return lastNameRequired **/ @ApiModelProperty(value = "") - public Boolean isLastNameRequired() { + public Boolean LastNameRequired() { return lastNameRequired; } @@ -302,7 +302,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayF * @return displayFirstName **/ @ApiModelProperty(value = "") - public Boolean isDisplayFirstName() { + public Boolean DisplayFirstName() { return displayFirstName; } @@ -320,7 +320,7 @@ public VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation displayL * @return displayLastName **/ @ApiModelProperty(value = "") - public Boolean isDisplayLastName() { + public Boolean DisplayLastName() { return displayLastName; } @@ -364,19 +364,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation {\n"); - sb.append(" displayCardVerificationValue: ").append(toIndentedString(displayCardVerificationValue)).append("\n"); - sb.append(" requireCardVerificationValue: ").append(toIndentedString(requireCardVerificationValue)).append("\n"); - sb.append(" acceptedCardTypes: ").append(toIndentedString(acceptedCardTypes)).append("\n"); - sb.append(" displayCreditCards: ").append(toIndentedString(displayCreditCards)).append("\n"); - sb.append(" displayEchecks: ").append(toIndentedString(displayEchecks)).append("\n"); - sb.append(" displayDebtIndicator: ").append(toIndentedString(displayDebtIndicator)).append("\n"); - sb.append(" displayBillPayment: ").append(toIndentedString(displayBillPayment)).append("\n"); - sb.append(" enableEchecks: ").append(toIndentedString(enableEchecks)).append("\n"); - sb.append(" displayIgnoreECheckAvsCheckbox: ").append(toIndentedString(displayIgnoreECheckAvsCheckbox)).append("\n"); - sb.append(" firstNameRequired: ").append(toIndentedString(firstNameRequired)).append("\n"); - sb.append(" lastNameRequired: ").append(toIndentedString(lastNameRequired)).append("\n"); - sb.append(" displayFirstName: ").append(toIndentedString(displayFirstName)).append("\n"); - sb.append(" displayLastName: ").append(toIndentedString(displayLastName)).append("\n"); + if (displayCardVerificationValue != null) sb.append(" displayCardVerificationValue: ").append(toIndentedString(displayCardVerificationValue)).append("\n"); + if (requireCardVerificationValue != null) sb.append(" requireCardVerificationValue: ").append(toIndentedString(requireCardVerificationValue)).append("\n"); + if (acceptedCardTypes != null) sb.append(" acceptedCardTypes: ").append(toIndentedString(acceptedCardTypes)).append("\n"); + if (displayCreditCards != null) sb.append(" displayCreditCards: ").append(toIndentedString(displayCreditCards)).append("\n"); + if (displayEchecks != null) sb.append(" displayEchecks: ").append(toIndentedString(displayEchecks)).append("\n"); + if (displayDebtIndicator != null) sb.append(" displayDebtIndicator: ").append(toIndentedString(displayDebtIndicator)).append("\n"); + if (displayBillPayment != null) sb.append(" displayBillPayment: ").append(toIndentedString(displayBillPayment)).append("\n"); + if (enableEchecks != null) sb.append(" enableEchecks: ").append(toIndentedString(enableEchecks)).append("\n"); + if (displayIgnoreECheckAvsCheckbox != null) sb.append(" displayIgnoreECheckAvsCheckbox: ").append(toIndentedString(displayIgnoreECheckAvsCheckbox)).append("\n"); + if (firstNameRequired != null) sb.append(" firstNameRequired: ").append(toIndentedString(firstNameRequired)).append("\n"); + if (lastNameRequired != null) sb.append(" lastNameRequired: ").append(toIndentedString(lastNameRequired)).append("\n"); + if (displayFirstName != null) sb.append(" displayFirstName: ").append(toIndentedString(displayFirstName)).append("\n"); + if (displayLastName != null) sb.append(" displayLastName: ").append(toIndentedString(displayLastName)).append("\n"); sb.append("}"); return sb.toString(); } @@ -387,10 +387,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentReceiptInformation.java b/src/main/java/Model/VTConfigCardNotPresentReceiptInformation.java index e4bf03ea8..eb7e48619 100644 --- a/src/main/java/Model/VTConfigCardNotPresentReceiptInformation.java +++ b/src/main/java/Model/VTConfigCardNotPresentReceiptInformation.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentReceiptInformation {\n"); - sb.append(" header: ").append(toIndentedString(header)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" emailReceipt: ").append(toIndentedString(emailReceipt)).append("\n"); + if (header != null) sb.append(" header: ").append(toIndentedString(header)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (emailReceipt != null) sb.append(" emailReceipt: ").append(toIndentedString(emailReceipt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentReceiptInformationEmailReceipt.java b/src/main/java/Model/VTConfigCardNotPresentReceiptInformationEmailReceipt.java index f931046f5..eecb8ae15 100644 --- a/src/main/java/Model/VTConfigCardNotPresentReceiptInformationEmailReceipt.java +++ b/src/main/java/Model/VTConfigCardNotPresentReceiptInformationEmailReceipt.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentReceiptInformationEmailReceipt {\n"); - sb.append(" sendersEmailAddress: ").append(toIndentedString(sendersEmailAddress)).append("\n"); + if (sendersEmailAddress != null) sb.append(" sendersEmailAddress: ").append(toIndentedString(sendersEmailAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentReceiptInformationHeader.java b/src/main/java/Model/VTConfigCardNotPresentReceiptInformationHeader.java index f28609767..796480616 100644 --- a/src/main/java/Model/VTConfigCardNotPresentReceiptInformationHeader.java +++ b/src/main/java/Model/VTConfigCardNotPresentReceiptInformationHeader.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentReceiptInformationHeader {\n"); - sb.append(" virtualTerminalReceiptHeader: ").append(toIndentedString(virtualTerminalReceiptHeader)).append("\n"); + if (virtualTerminalReceiptHeader != null) sb.append(" virtualTerminalReceiptHeader: ").append(toIndentedString(virtualTerminalReceiptHeader)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VTConfigCardNotPresentReceiptInformationOrderInformation.java b/src/main/java/Model/VTConfigCardNotPresentReceiptInformationOrderInformation.java index c9b56e6cd..272f0efa1 100644 --- a/src/main/java/Model/VTConfigCardNotPresentReceiptInformationOrderInformation.java +++ b/src/main/java/Model/VTConfigCardNotPresentReceiptInformationOrderInformation.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VTConfigCardNotPresentReceiptInformationOrderInformation {\n"); - sb.append(" emailAliasName: ").append(toIndentedString(emailAliasName)).append("\n"); - sb.append(" customReplyToEmailAddress: ").append(toIndentedString(customReplyToEmailAddress)).append("\n"); + if (emailAliasName != null) sb.append(" emailAliasName: ").append(toIndentedString(emailAliasName)).append("\n"); + if (customReplyToEmailAddress != null) sb.append(" customReplyToEmailAddress: ").append(toIndentedString(customReplyToEmailAddress)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ValidateExportComplianceRequest.java b/src/main/java/Model/ValidateExportComplianceRequest.java index 8e63211e7..918876199 100644 --- a/src/main/java/Model/ValidateExportComplianceRequest.java +++ b/src/main/java/Model/ValidateExportComplianceRequest.java @@ -167,11 +167,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ValidateExportComplianceRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" exportComplianceInformation: ").append(toIndentedString(exportComplianceInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (exportComplianceInformation != null) sb.append(" exportComplianceInformation: ").append(toIndentedString(exportComplianceInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,10 +182,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ValidateRequest.java b/src/main/java/Model/ValidateRequest.java index e6445a247..59be82add 100644 --- a/src/main/java/Model/ValidateRequest.java +++ b/src/main/java/Model/ValidateRequest.java @@ -213,13 +213,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ValidateRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); - sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); - sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -230,10 +230,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/ValueAddedServicesProducts.java b/src/main/java/Model/ValueAddedServicesProducts.java index a5c6654d2..85040cef4 100644 --- a/src/main/java/Model/ValueAddedServicesProducts.java +++ b/src/main/java/Model/ValueAddedServicesProducts.java @@ -97,8 +97,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ValueAddedServicesProducts {\n"); - sb.append(" reporting: ").append(toIndentedString(reporting)).append("\n"); - sb.append(" transactionSearch: ").append(toIndentedString(transactionSearch)).append("\n"); + if (reporting != null) sb.append(" reporting: ").append(toIndentedString(reporting)).append("\n"); + if (transactionSearch != null) sb.append(" transactionSearch: ").append(toIndentedString(transactionSearch)).append("\n"); sb.append("}"); return sb.toString(); } @@ -109,10 +109,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201Response.java b/src/main/java/Model/VasV2PaymentsPost201Response.java index 173c82542..4087b1b43 100644 --- a/src/main/java/Model/VasV2PaymentsPost201Response.java +++ b/src/main/java/Model/VasV2PaymentsPost201Response.java @@ -210,13 +210,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201Response {\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" taxInformation: ").append(toIndentedString(taxInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (taxInformation != null) sb.append(" taxInformation: ").append(toIndentedString(taxInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -227,10 +227,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201ResponseLinks.java b/src/main/java/Model/VasV2PaymentsPost201ResponseLinks.java index 32b65c80f..1e9dab46a 100644 --- a/src/main/java/Model/VasV2PaymentsPost201ResponseLinks.java +++ b/src/main/java/Model/VasV2PaymentsPost201ResponseLinks.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201ResponseLinks {\n"); - sb.append(" _void: ").append(toIndentedString(_void)).append("\n"); + if (_void != null) sb.append(" _void: ").append(toIndentedString(_void)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformation.java b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformation.java index 1ca93d561..feec0af0c 100644 --- a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformation.java +++ b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformation.java @@ -205,12 +205,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201ResponseOrderInformation {\n"); - sb.append(" exemptAmount: ").append(toIndentedString(exemptAmount)).append("\n"); - sb.append(" taxableAmount: ").append(toIndentedString(taxableAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (exemptAmount != null) sb.append(" exemptAmount: ").append(toIndentedString(exemptAmount)).append("\n"); + if (taxableAmount != null) sb.append(" taxableAmount: ").append(toIndentedString(taxableAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -221,10 +221,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationJurisdiction.java b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationJurisdiction.java index f1f88979b..a035536d4 100644 --- a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationJurisdiction.java +++ b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationJurisdiction.java @@ -250,15 +250,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201ResponseOrderInformationJurisdiction {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" taxName: ").append(toIndentedString(taxName)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); - sb.append(" region: ").append(toIndentedString(region)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (taxName != null) sb.append(" taxName: ").append(toIndentedString(taxName)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxable != null) sb.append(" taxable: ").append(toIndentedString(taxable)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (rate != null) sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); + if (region != null) sb.append(" region: ").append(toIndentedString(region)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -269,10 +269,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationLineItems.java b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationLineItems.java index 3ac5fbc86..3e0b87905 100644 --- a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationLineItems.java +++ b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationLineItems.java @@ -182,11 +182,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201ResponseOrderInformationLineItems {\n"); - sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); - sb.append(" jurisdiction: ").append(toIndentedString(jurisdiction)).append("\n"); - sb.append(" exemptAmount: ").append(toIndentedString(exemptAmount)).append("\n"); - sb.append(" taxableAmount: ").append(toIndentedString(taxableAmount)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); + if (jurisdiction != null) sb.append(" jurisdiction: ").append(toIndentedString(jurisdiction)).append("\n"); + if (exemptAmount != null) sb.append(" exemptAmount: ").append(toIndentedString(exemptAmount)).append("\n"); + if (taxableAmount != null) sb.append(" taxableAmount: ").append(toIndentedString(taxableAmount)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -197,10 +197,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationTaxDetails.java b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationTaxDetails.java index 7d9825319..8e6b341b5 100644 --- a/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationTaxDetails.java +++ b/src/main/java/Model/VasV2PaymentsPost201ResponseOrderInformationTaxDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201ResponseOrderInformationTaxDetails {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost201ResponseTaxInformation.java b/src/main/java/Model/VasV2PaymentsPost201ResponseTaxInformation.java index 9721ec96c..eac2be2a0 100644 --- a/src/main/java/Model/VasV2PaymentsPost201ResponseTaxInformation.java +++ b/src/main/java/Model/VasV2PaymentsPost201ResponseTaxInformation.java @@ -45,7 +45,7 @@ public VasV2PaymentsPost201ResponseTaxInformation commitIndicator(Boolean commit * @return commitIndicator **/ @ApiModelProperty(value = "Indicates whether this is a committed tax transaction. For a committed tax transaction, the status in the Tax Detail Report is \"Committed.\" For an uncommitted tax transaction, the status in the Tax Detail Report is \"Uncommitted.\" Possible values: - `true`: This is a committed tax transaction. - `false` (default): This is not a committed tax transaction. A committed tax request is a tax service request that sets the status field in the Tax Detail Report to committed. The committed status indicates that the amount calculated by the tax service is included in the amount of a capture or credit. Use a void service request to cancel a committed tax request or a committed refund tax request. The void transaction is included as a separate entry in the Tax Detail Report. The value of the status field is cancelled. The value of the link ID is the request ID of the committed tax request or refund tax request that was voided. You can use the value of the link ID to reconcile your orders. Optional for U.S., Canadian, international tax, and value added taxes. For more information on Tax Detail Report features refer the [Tax Service Guide](https://developer.cybersource.com/docs/cybs/en-us/tax-calculation/developer/all/rest/tax-calculation/tax-overview.html). ") - public Boolean isCommitIndicator() { + public Boolean CommitIndicator() { return commitIndicator; } @@ -63,7 +63,7 @@ public VasV2PaymentsPost201ResponseTaxInformation refundIndicator(Boolean refund * @return refundIndicator **/ @ApiModelProperty(value = "Indicates whether this is a refund tax transaction. For a refund tax transaction, amounts in the Tax Detail Report will be negative. Possible values: - `true`: This is a refund tax transaction. - `false` (default): This is not a refund tax transaction. A refund tax request is a tax service request that sets the transaction type field in the Tax Detail Report to refunded and makes the reported amount negative. Tax amounts are returned as positive amounts in reply messages, but they are saved in reports as negative amounts which enables the reporting software to accurately calculate the aggregate amounts. Optional for U.S., Canadian, international tax, and value added taxes. For more information on Tax Detail Report features refer the [Tax Service Guide](https://developer.cybersource.com/docs/cybs/en-us/tax-calculation/developer/all/rest/tax-calculation/tax-overview.html). ") - public Boolean isRefundIndicator() { + public Boolean RefundIndicator() { return refundIndicator; } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost201ResponseTaxInformation {\n"); - sb.append(" commitIndicator: ").append(toIndentedString(commitIndicator)).append("\n"); - sb.append(" refundIndicator: ").append(toIndentedString(refundIndicator)).append("\n"); + if (commitIndicator != null) sb.append(" commitIndicator: ").append(toIndentedString(commitIndicator)).append("\n"); + if (refundIndicator != null) sb.append(" refundIndicator: ").append(toIndentedString(refundIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2PaymentsPost400Response.java b/src/main/java/Model/VasV2PaymentsPost400Response.java index 1f22d72bb..f4180f2fe 100644 --- a/src/main/java/Model/VasV2PaymentsPost400Response.java +++ b/src/main/java/Model/VasV2PaymentsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2PaymentsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2TaxVoid200Response.java b/src/main/java/Model/VasV2TaxVoid200Response.java index 9584eab50..a23c5f7bc 100644 --- a/src/main/java/Model/VasV2TaxVoid200Response.java +++ b/src/main/java/Model/VasV2TaxVoid200Response.java @@ -164,11 +164,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2TaxVoid200Response {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" voidAmountDetails: ").append(toIndentedString(voidAmountDetails)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (voidAmountDetails != null) sb.append(" voidAmountDetails: ").append(toIndentedString(voidAmountDetails)).append("\n"); sb.append("}"); return sb.toString(); } @@ -179,10 +179,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2TaxVoid200ResponseVoidAmountDetails.java b/src/main/java/Model/VasV2TaxVoid200ResponseVoidAmountDetails.java index 7a63dab5b..234126554 100644 --- a/src/main/java/Model/VasV2TaxVoid200ResponseVoidAmountDetails.java +++ b/src/main/java/Model/VasV2TaxVoid200ResponseVoidAmountDetails.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2TaxVoid200ResponseVoidAmountDetails {\n"); - sb.append(" voidAmount: ").append(toIndentedString(voidAmount)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + if (voidAmount != null) sb.append(" voidAmount: ").append(toIndentedString(voidAmount)).append("\n"); + if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VasV2TaxVoidsPost400Response.java b/src/main/java/Model/VasV2TaxVoidsPost400Response.java index 5eb2c924c..3a4ba2c8c 100644 --- a/src/main/java/Model/VasV2TaxVoidsPost400Response.java +++ b/src/main/java/Model/VasV2TaxVoidsPost400Response.java @@ -173,11 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VasV2TaxVoidsPost400Response {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,10 +188,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxBuyerInformation.java b/src/main/java/Model/Vasv2taxBuyerInformation.java index 7eb66879b..b70ecfe98 100644 --- a/src/main/java/Model/Vasv2taxBuyerInformation.java +++ b/src/main/java/Model/Vasv2taxBuyerInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxBuyerInformation {\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxClientReferenceInformation.java b/src/main/java/Model/Vasv2taxClientReferenceInformation.java index c284c43fd..ffeb7b9c2 100644 --- a/src/main/java/Model/Vasv2taxClientReferenceInformation.java +++ b/src/main/java/Model/Vasv2taxClientReferenceInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxMerchantInformation.java b/src/main/java/Model/Vasv2taxMerchantInformation.java index a60d00984..0cff4207c 100644 --- a/src/main/java/Model/Vasv2taxMerchantInformation.java +++ b/src/main/java/Model/Vasv2taxMerchantInformation.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxMerchantInformation {\n"); - sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); + if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformation.java b/src/main/java/Model/Vasv2taxOrderInformation.java index b99ac3c1f..d3ed1d73c 100644 --- a/src/main/java/Model/Vasv2taxOrderInformation.java +++ b/src/main/java/Model/Vasv2taxOrderInformation.java @@ -246,14 +246,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformation {\n"); - sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); - sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); - sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); - sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); - sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); - sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); - sb.append(" orderAcceptance: ").append(toIndentedString(orderAcceptance)).append("\n"); - sb.append(" orderOrigin: ").append(toIndentedString(orderOrigin)).append("\n"); + if (amountDetails != null) sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + if (shippingDetails != null) sb.append(" shippingDetails: ").append(toIndentedString(shippingDetails)).append("\n"); + if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); + if (orderAcceptance != null) sb.append(" orderAcceptance: ").append(toIndentedString(orderAcceptance)).append("\n"); + if (orderOrigin != null) sb.append(" orderOrigin: ").append(toIndentedString(orderOrigin)).append("\n"); sb.append("}"); return sb.toString(); } @@ -264,10 +264,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationBillTo.java b/src/main/java/Model/Vasv2taxOrderInformationBillTo.java index 262a12a80..ed0b7855c 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationBillTo.java +++ b/src/main/java/Model/Vasv2taxOrderInformationBillTo.java @@ -184,12 +184,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationBillTo {\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -200,10 +200,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationInvoiceDetails.java b/src/main/java/Model/Vasv2taxOrderInformationInvoiceDetails.java index c1f5542e1..540fdb9c3 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/Vasv2taxOrderInformationInvoiceDetails.java @@ -74,7 +74,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationInvoiceDetails {\n"); - sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); + if (invoiceDate != null) sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); sb.append("}"); return sb.toString(); } @@ -85,10 +85,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationLineItems.java b/src/main/java/Model/Vasv2taxOrderInformationLineItems.java index 8012c4011..8714d8296 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationLineItems.java +++ b/src/main/java/Model/Vasv2taxOrderInformationLineItems.java @@ -364,20 +364,20 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationLineItems {\n"); - sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" orderAcceptance: ").append(toIndentedString(orderAcceptance)).append("\n"); - sb.append(" orderOrigin: ").append(toIndentedString(orderOrigin)).append("\n"); - sb.append(" shipFromCountry: ").append(toIndentedString(shipFromCountry)).append("\n"); - sb.append(" shipFromAdministrativeArea: ").append(toIndentedString(shipFromAdministrativeArea)).append("\n"); - sb.append(" shipFromLocality: ").append(toIndentedString(shipFromLocality)).append("\n"); - sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); - sb.append(" buyerVatRegistrationNumber: ").append(toIndentedString(buyerVatRegistrationNumber)).append("\n"); - sb.append(" sellerVatRegistrationNumber: ").append(toIndentedString(sellerVatRegistrationNumber)).append("\n"); + if (productSKU != null) sb.append(" productSKU: ").append(toIndentedString(productSKU)).append("\n"); + if (productCode != null) sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); + if (quantity != null) sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (unitPrice != null) sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); + if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (orderAcceptance != null) sb.append(" orderAcceptance: ").append(toIndentedString(orderAcceptance)).append("\n"); + if (orderOrigin != null) sb.append(" orderOrigin: ").append(toIndentedString(orderOrigin)).append("\n"); + if (shipFromCountry != null) sb.append(" shipFromCountry: ").append(toIndentedString(shipFromCountry)).append("\n"); + if (shipFromAdministrativeArea != null) sb.append(" shipFromAdministrativeArea: ").append(toIndentedString(shipFromAdministrativeArea)).append("\n"); + if (shipFromLocality != null) sb.append(" shipFromLocality: ").append(toIndentedString(shipFromLocality)).append("\n"); + if (shipFromPostalCode != null) sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); + if (buyerVatRegistrationNumber != null) sb.append(" buyerVatRegistrationNumber: ").append(toIndentedString(buyerVatRegistrationNumber)).append("\n"); + if (sellerVatRegistrationNumber != null) sb.append(" sellerVatRegistrationNumber: ").append(toIndentedString(sellerVatRegistrationNumber)).append("\n"); sb.append("}"); return sb.toString(); } @@ -388,10 +388,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationOrderAcceptance.java b/src/main/java/Model/Vasv2taxOrderInformationOrderAcceptance.java index dea44d6ce..c16e2ec34 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationOrderAcceptance.java +++ b/src/main/java/Model/Vasv2taxOrderInformationOrderAcceptance.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationOrderAcceptance {\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationOrderOrigin.java b/src/main/java/Model/Vasv2taxOrderInformationOrderOrigin.java index 6e1e9ad66..f52c9c7e6 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationOrderOrigin.java +++ b/src/main/java/Model/Vasv2taxOrderInformationOrderOrigin.java @@ -141,10 +141,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationOrderOrigin {\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,10 +155,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationShipTo.java b/src/main/java/Model/Vasv2taxOrderInformationShipTo.java index bbba805c0..52f8fb2fa 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationShipTo.java +++ b/src/main/java/Model/Vasv2taxOrderInformationShipTo.java @@ -206,13 +206,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationShipTo {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (address3 != null) sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); sb.append("}"); return sb.toString(); } @@ -223,10 +223,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxOrderInformationShippingDetails.java b/src/main/java/Model/Vasv2taxOrderInformationShippingDetails.java index 533fd727b..9eb3bfcbb 100644 --- a/src/main/java/Model/Vasv2taxOrderInformationShippingDetails.java +++ b/src/main/java/Model/Vasv2taxOrderInformationShippingDetails.java @@ -140,10 +140,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxOrderInformationShippingDetails {\n"); - sb.append(" shipFromLocality: ").append(toIndentedString(shipFromLocality)).append("\n"); - sb.append(" shipFromCountry: ").append(toIndentedString(shipFromCountry)).append("\n"); - sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); - sb.append(" shipFromAdministrativeArea: ").append(toIndentedString(shipFromAdministrativeArea)).append("\n"); + if (shipFromLocality != null) sb.append(" shipFromLocality: ").append(toIndentedString(shipFromLocality)).append("\n"); + if (shipFromCountry != null) sb.append(" shipFromCountry: ").append(toIndentedString(shipFromCountry)).append("\n"); + if (shipFromPostalCode != null) sb.append(" shipFromPostalCode: ").append(toIndentedString(shipFromPostalCode)).append("\n"); + if (shipFromAdministrativeArea != null) sb.append(" shipFromAdministrativeArea: ").append(toIndentedString(shipFromAdministrativeArea)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,10 +154,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxTaxInformation.java b/src/main/java/Model/Vasv2taxTaxInformation.java index dde22e079..558acd139 100644 --- a/src/main/java/Model/Vasv2taxTaxInformation.java +++ b/src/main/java/Model/Vasv2taxTaxInformation.java @@ -168,7 +168,7 @@ public Vasv2taxTaxInformation commitIndicator(Boolean commitIndicator) { * @return commitIndicator **/ @ApiModelProperty(value = "Indicates whether this is a committed tax transaction. For a committed tax transaction, the status in the Tax Detail Report is \"Committed.\" For an uncommitted tax transaction, the status in the Tax Detail Report is \"Uncommitted.\" Possible values: - `true`: This is a committed tax transaction. - `false` (default): This is not a committed tax transaction. A committed tax request is a tax service request that sets the status field in the Tax Detail Report to committed. The committed status indicates that the amount calculated by the tax service is included in the amount of a capture or credit. Use a void service request to cancel a committed tax request or a committed refund tax request. The void transaction is included as a separate entry in the Tax Detail Report. The value of the status field is cancelled. The value of the link ID is the request ID of the committed tax request or refund tax request that was voided. You can use the value of the link ID to reconcile your orders. Optional for U.S., Canadian, international tax, and value added taxes. For more information on Tax Detail Report features refer the [Tax Service Guide](https://developer.cybersource.com/docs/cybs/en-us/tax-calculation/developer/all/rest/tax-calculation/tax-overview.html). ") - public Boolean isCommitIndicator() { + public Boolean CommitIndicator() { return commitIndicator; } @@ -186,7 +186,7 @@ public Vasv2taxTaxInformation refundIndicator(Boolean refundIndicator) { * @return refundIndicator **/ @ApiModelProperty(value = "Indicates whether this is a refund tax transaction. For a refund tax transaction, amounts in the Tax Detail Report will be negative. Possible values: - `true`: This is a refund tax transaction. - `false` (default): This is not a refund tax transaction. A refund tax request is a tax service request that sets the transaction type field in the Tax Detail Report to refunded and makes the reported amount negative. Tax amounts are returned as positive amounts in reply messages, but they are saved in reports as negative amounts which enables the reporting software to accurately calculate the aggregate amounts. Optional for U.S., Canadian, international tax, and value added taxes. For more information on Tax Detail Report features refer the [Tax Service Guide](https://developer.cybersource.com/docs/cybs/en-us/tax-calculation/developer/all/rest/tax-calculation/tax-overview.html). ") - public Boolean isRefundIndicator() { + public Boolean RefundIndicator() { return refundIndicator; } @@ -224,13 +224,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxTaxInformation {\n"); - sb.append(" reportingDate: ").append(toIndentedString(reportingDate)).append("\n"); - sb.append(" dateOverrideReason: ").append(toIndentedString(dateOverrideReason)).append("\n"); - sb.append(" nexus: ").append(toIndentedString(nexus)).append("\n"); - sb.append(" noNexus: ").append(toIndentedString(noNexus)).append("\n"); - sb.append(" showTaxPerLineItem: ").append(toIndentedString(showTaxPerLineItem)).append("\n"); - sb.append(" commitIndicator: ").append(toIndentedString(commitIndicator)).append("\n"); - sb.append(" refundIndicator: ").append(toIndentedString(refundIndicator)).append("\n"); + if (reportingDate != null) sb.append(" reportingDate: ").append(toIndentedString(reportingDate)).append("\n"); + if (dateOverrideReason != null) sb.append(" dateOverrideReason: ").append(toIndentedString(dateOverrideReason)).append("\n"); + if (nexus != null) sb.append(" nexus: ").append(toIndentedString(nexus)).append("\n"); + if (noNexus != null) sb.append(" noNexus: ").append(toIndentedString(noNexus)).append("\n"); + if (showTaxPerLineItem != null) sb.append(" showTaxPerLineItem: ").append(toIndentedString(showTaxPerLineItem)).append("\n"); + if (commitIndicator != null) sb.append(" commitIndicator: ").append(toIndentedString(commitIndicator)).append("\n"); + if (refundIndicator != null) sb.append(" refundIndicator: ").append(toIndentedString(refundIndicator)).append("\n"); sb.append("}"); return sb.toString(); } @@ -241,10 +241,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxidClientReferenceInformation.java b/src/main/java/Model/Vasv2taxidClientReferenceInformation.java index 3f89dd288..c230d5a22 100644 --- a/src/main/java/Model/Vasv2taxidClientReferenceInformation.java +++ b/src/main/java/Model/Vasv2taxidClientReferenceInformation.java @@ -119,9 +119,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxidClientReferenceInformation {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); sb.append("}"); return sb.toString(); } @@ -132,10 +132,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/Vasv2taxidClientReferenceInformationPartner.java b/src/main/java/Model/Vasv2taxidClientReferenceInformationPartner.java index d7d652f82..9c9551c8b 100644 --- a/src/main/java/Model/Vasv2taxidClientReferenceInformationPartner.java +++ b/src/main/java/Model/Vasv2taxidClientReferenceInformationPartner.java @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Vasv2taxidClientReferenceInformationPartner {\n"); - sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); + if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); + if (developerId != null) sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -108,10 +108,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VerifyCustomerAddressRequest.java b/src/main/java/Model/VerifyCustomerAddressRequest.java index fbc330cda..7e279ac2b 100644 --- a/src/main/java/Model/VerifyCustomerAddressRequest.java +++ b/src/main/java/Model/VerifyCustomerAddressRequest.java @@ -121,9 +121,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VerifyCustomerAddressRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -134,10 +134,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VoidCaptureRequest.java b/src/main/java/Model/VoidCaptureRequest.java index 3300d189b..722e67c86 100644 --- a/src/main/java/Model/VoidCaptureRequest.java +++ b/src/main/java/Model/VoidCaptureRequest.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VoidCaptureRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VoidCreditRequest.java b/src/main/java/Model/VoidCreditRequest.java index e0458b23d..2ca6456b9 100644 --- a/src/main/java/Model/VoidCreditRequest.java +++ b/src/main/java/Model/VoidCreditRequest.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VoidCreditRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VoidPaymentRequest.java b/src/main/java/Model/VoidPaymentRequest.java index 3deb2ef69..9b3e1ce7f 100644 --- a/src/main/java/Model/VoidPaymentRequest.java +++ b/src/main/java/Model/VoidPaymentRequest.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VoidPaymentRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VoidRefundRequest.java b/src/main/java/Model/VoidRefundRequest.java index 4b81d0006..604cc6d3d 100644 --- a/src/main/java/Model/VoidRefundRequest.java +++ b/src/main/java/Model/VoidRefundRequest.java @@ -190,12 +190,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VoidRefundRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); - sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); - sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); - sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (agreementInformation != null) sb.append(" agreementInformation: ").append(toIndentedString(agreementInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -206,10 +206,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/Model/VoidTaxRequest.java b/src/main/java/Model/VoidTaxRequest.java index 7471187db..41c00a490 100644 --- a/src/main/java/Model/VoidTaxRequest.java +++ b/src/main/java/Model/VoidTaxRequest.java @@ -75,7 +75,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VoidTaxRequest {\n"); - sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); sb.append("}"); return sb.toString(); } @@ -86,10 +86,10 @@ public String toString() { */ private String toIndentedString(java.lang.Object o) { if (o == null) { - return "null"; + // return "null"; } return o.toString().replace("\n", "\n "); } - + } From ac17a6a25157df7dcc4ede467adb07b152bc3f84 Mon Sep 17 00:00:00 2001 From: gaubansa Date: Thu, 23 Jan 2025 15:19:23 +0530 Subject: [PATCH 17/21] formatting of apiClient --- src/main/java/Invokers/ApiClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index a049480a5..16548d116 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -149,9 +149,9 @@ public class ApiClient { public String responseCode; /** - * Use this field ONLY IF you have more than one instance of ApiClient. - * This field should NOT be used/accessed for a singleton object. - */ + * Use this field ONLY IF you have more than one instance of ApiClient. + * This field should NOT be used/accessed for a singleton object. + */ public String status; public MerchantConfig merchantConfig; From 2fb5747e0975e5279a06218f1e7b7cc5d975f485 Mon Sep 17 00:00:00 2001 From: gaubansa Date: Thu, 23 Jan 2025 15:23:05 +0530 Subject: [PATCH 18/21] spec changes --- docs/CreatePaymentRequest.md | 1 + docs/GenerateCaptureContextRequest.md | 4 +- ...ateUnifiedCheckoutCaptureContextRequest.md | 3 +- docs/InlineResponse2011.md | 4 +- ...neResponse2011PaymentAccountInformation.md | 12 - docs/InstrumentIdentifierApi.md | 24 +- ...formv2sessionsCheckoutApiInitialization.md | 19 - docs/OctCreatePaymentRequest.md | 1 + docs/PatchInstrumentIdentifierRequest.md | 1 + docs/PaymentInstrumentApi.md | 18 +- ...stInstrumentIdentifierEnrollmentRequest.md | 1 + docs/PostInstrumentIdentifierRequest.md | 1 + docs/PostPaymentCredentialsRequest.md | 2 +- ...ionPatch201ResponseProcessorInformation.md | 1 + ...sponseConsumerAuthenticationInformation.md | 1 + ...2PaymentsPost201ResponseEmbeddedActions.md | 2 + ...st201ResponseEmbeddedActionsTOKENCREATE.md | 12 + ...st201ResponseEmbeddedActionsTOKENUPDATE.md | 12 + ...sponsePaymentInformationAccountFeatures.md | 1 + ...ntsPost201ResponseProcessingInformation.md | 2 + ...ocessingInformationAuthorizationOptions.md | 10 + ...nseProcessingInformationPurchaseOptions.md | 13 + ...entsPost201ResponseProcessorInformation.md | 1 + ...salsPost201ResponseProcessorInformation.md | 1 + docs/PtsV2PayoutsPost201Response.md | 1 + ...utsPost201ResponseProcessingInformation.md | 10 + ...billingagreementsInstallmentInformation.md | 2 +- docs/Ptsv2paymentsAggregatorInformation.md | 5 + ...ymentsConsumerAuthenticationInformation.md | 3 + docs/Ptsv2paymentsInstallmentInformation.md | 2 +- docs/Ptsv2paymentsPointOfSaleInformation.md | 3 +- docs/Ptsv2paymentsProcessingInformation.md | 4 + ...ocessingInformationAuthorizationOptions.md | 8 +- ...nsInitiatorMerchantInitiatedTransaction.md | 1 + ...entsProcessingInformationCaptureOptions.md | 2 + ...ntsProcessingInformationPurchaseOptions.md | 3 + docs/Ptsv2paymentsRecipientInformation.md | 7 + docs/Ptsv2paymentsSenderInformation.md | 4 + docs/Ptsv2paymentsSenderInformationAccount.md | 12 + ...2paymentsUnscheduledPaymentInformation.md} | 2 +- ...aymentsidcapturesInstallmentInformation.md | 2 +- ...uresProcessingInformationCaptureOptions.md | 1 + ...paymentsidrefundsPointOfSaleInformation.md | 1 + ...2paymentsidrefundsProcessingInformation.md | 1 + ...aymentsidreversalsProcessingInformation.md | 1 + ...d => Ptsv2payoutsAggregatorInformation.md} | 9 +- ...ayoutsAggregatorInformationSubMerchant.md} | 2 +- docs/Ptsv2payoutsProcessingInformation.md | 2 + ...utsProcessingInformationPurchaseOptions.md | 11 + docs/Ptsv2payoutsRecipientInformation.md | 5 + docs/Ptsv2payoutsSenderInformation.md | 1 + docs/Ptsv2voidsProcessingInformation.md | 2 +- docs/PushFundsRequest.md | 2 +- docs/TmsBinLookup.md | 11 + ...on.md => TmsBinLookupIssuerInformation.md} | 2 +- docs/TmsBinLookupPaymentAccountInformation.md | 12 + ...BinLookupPaymentAccountInformationCard.md} | 4 +- ...kupPaymentAccountInformationCardBrands.md} | 2 +- ...ookupPaymentAccountInformationFeatures.md} | 2 +- ...LookupPaymentAccountInformationNetwork.md} | 2 +- docs/TmsCardArt.md | 14 + docs/TmsCardArtBrandLogoAsset.md | 11 + docs/TmsCardArtBrandLogoAssetLinks.md | 10 + docs/TmsCardArtBrandLogoAssetLinksSelf.md | 10 + docs/TmsCardArtCombinedAsset.md | 11 + docs/TmsCardArtCombinedAssetLinks.md | 10 + docs/TmsCardArtCombinedAssetLinksSelf.md | 10 + docs/TmsCardArtIconAsset.md | 11 + docs/TmsCardArtIconAssetLinks.md | 10 + docs/TmsCardArtIconAssetLinksSelf.md | 10 + docs/TmsCardArtIssuerLogoAsset.md | 11 + docs/TmsCardArtIssuerLogoAssetLinks.md | 10 + docs/TmsCardArtIssuerLogoAssetLinksSelf.md | 10 + docs/TmsEmbeddedInstrumentIdentifier.md | 1 + ...EmbeddedInstrumentIdentifierBankAccount.md | 2 +- ...TmsEmbeddedInstrumentIdentifierEmbedded.md | 10 + docs/TmsPaymentInstrumentProcessingInfo.md | 2 +- ...rumentProcessingInfoBankTransferOptions.md | 2 +- docs/Tmsv2TokenizedCard.md | 26 +- docs/Tmsv2TokenizedCardCard.md | 8 +- docs/Tmsv2TokenizedCardLinks.md | 10 + docs/Tmsv2TokenizedCardLinksSelf.md | 10 + docs/Tmsv2TokenizedCardMetadata.md | 3 +- docs/Tmsv2TokenizedCardMetadataCardArt.md | 16 - ...nizedCardMetadataCardArtBackgroundAsset.md | 11 - ...CardMetadataCardArtBackgroundAssetLinks.md | 10 - ...MetadataCardArtBackgroundAssetLinksSelf.md | 10 - ...enizedCardMetadataCardArtBrandLogoAsset.md | 11 - ...dCardMetadataCardArtBrandLogoAssetLinks.md | 10 - ...dMetadataCardArtBrandLogoAssetLinksSelf.md | 10 - ...izedCardMetadataCardArtCoBrandLogoAsset.md | 11 - ...ardMetadataCardArtCoBrandLogoAssetLinks.md | 10 - ...etadataCardArtCoBrandLogoAssetLinksSelf.md | 10 - ...kenizedCardMetadataCardArtCombinedAsset.md | 11 - ...edCardMetadataCardArtCombinedAssetLinks.md | 10 - ...rdMetadataCardArtCombinedAssetLinksSelf.md | 10 - ...v2TokenizedCardMetadataCardArtIconAsset.md | 11 - ...enizedCardMetadataCardArtIconAssetLinks.md | 10 - ...edCardMetadataCardArtIconAssetLinksSelf.md | 10 - ...nizedCardMetadataCardArtIssuerLogoAsset.md | 11 - ...CardMetadataCardArtIssuerLogoAssetLinks.md | 10 - ...MetadataCardArtIssuerLogoAssetLinksSelf.md | 10 - docs/Tmsv2TokenizedCardMetadataIssuer.md | 12 + docs/Tmsv2TokenizedCardPasscode.md | 10 + ...efaultPaymentInstrumentBuyerInformation.md | 2 +- docs/TssV2TransactionsGet200Response.md | 2 +- ...onsGet200ResponsePointOfSaleInformation.md | 2 +- ...ocessingInformationAuthorizationOptions.md | 2 +- ...apturecontextsCheckoutApiInitialization.md | 19 - generator/cybersource-rest-spec.json | 11459 +++++++++++----- .../java/Api/InstrumentIdentifierApi.java | 96 +- src/main/java/Api/PaymentInstrumentApi.java | 72 +- src/main/java/Model/CreatePaymentRequest.java | 26 +- .../Model/GenerateCaptureContextRequest.java | 45 +- ...eUnifiedCheckoutCaptureContextRequest.java | 32 +- src/main/java/Model/InlineResponse2011.java | 20 +- ...rmv2sessionsCheckoutApiInitialization.java | 302 - .../java/Model/OctCreatePaymentRequest.java | 28 +- .../PatchInstrumentIdentifierRequest.java | 28 +- ...InstrumentIdentifierEnrollmentRequest.java | 28 +- .../PostInstrumentIdentifierRequest.java | 28 +- .../Model/PostPaymentCredentialsRequest.java | 4 +- ...nPatch201ResponseProcessorInformation.java | 25 +- ...onseConsumerAuthenticationInformation.java | 25 +- ...aymentsPost201ResponseEmbeddedActions.java | 52 +- ...201ResponseEmbeddedActionsTOKENCREATE.java | 140 + ...201ResponseEmbeddedActionsTOKENUPDATE.java | 140 + ...Post201ResponseInstallmentInformation.java | 4 +- ...onsePaymentInformationAccountFeatures.java | 27 +- ...sPost201ResponseProcessingInformation.java | 52 +- ...essingInformationAuthorizationOptions.java | 94 + ...eProcessingInformationPurchaseOptions.java | 163 + ...tsPost201ResponseProcessorInformation.java | 27 +- ...lsPost201ResponseProcessorInformation.java | 25 +- .../Model/PtsV2PayoutsPost201Response.java | 28 +- ...Post201ResponseProcessingInformation.java} | 36 +- ...ushfundstransferAggregatorInformation.java | 164 - ...llingagreementsInstallmentInformation.java | 6 +- .../Ptsv2paymentsAggregatorInformation.java | 119 +- ...entsConsumerAuthenticationInformation.java | 73 +- .../Ptsv2paymentsInstallmentInformation.java | 8 +- .../Ptsv2paymentsPointOfSaleInformation.java | 29 +- .../Ptsv2paymentsProcessingInformation.java | 96 +- ...essingInformationAuthorizationOptions.java | 104 +- ...InitiatorMerchantInitiatedTransaction.java | 27 +- ...tsProcessingInformationCaptureOptions.java | 50 +- ...sProcessingInformationPurchaseOptions.java | 73 +- .../Ptsv2paymentsRecipientInformation.java | 165 +- .../Model/Ptsv2paymentsSenderInformation.java | 97 +- ...Ptsv2paymentsSenderInformationAccount.java | 140 + ...aymentsUnscheduledPaymentInformation.java} | 12 +- ...mentsidcapturesInstallmentInformation.java | 8 +- ...esProcessingInformationCaptureOptions.java | 27 +- ...ymentsidrefundsPointOfSaleInformation.java | 27 +- ...aymentsidrefundsProcessingInformation.java | 27 +- ...mentsidreversalsProcessingInformation.java | 27 +- .../Ptsv2payoutsAggregatorInformation.java | 279 + ...outsAggregatorInformationSubMerchant.java} | 12 +- .../Ptsv2payoutsProcessingInformation.java | 51 +- ...sProcessingInformationPurchaseOptions.java | 117 + .../Ptsv2payoutsRecipientInformation.java | 119 +- .../Model/Ptsv2payoutsSenderInformation.java | 27 +- .../Ptsv2voidsProcessingInformation.java | 8 +- src/main/java/Model/PushFundsRequest.java | 10 +- src/main/java/Model/TmsBinLookup.java | 120 + ...ava => TmsBinLookupIssuerInformation.java} | 28 +- ...msBinLookupPaymentAccountInformation.java} | 44 +- ...nLookupPaymentAccountInformationCard.java} | 44 +- ...pPaymentAccountInformationCardBrands.java} | 16 +- ...kupPaymentAccountInformationFeatures.java} | 44 +- ...okupPaymentAccountInformationNetwork.java} | 12 +- src/main/java/Model/TmsCardArt.java | 182 + ...set.java => TmsCardArtBrandLogoAsset.java} | 36 +- ...ava => TmsCardArtBrandLogoAssetLinks.java} | 20 +- ...=> TmsCardArtBrandLogoAssetLinksSelf.java} | 14 +- ...sset.java => TmsCardArtCombinedAsset.java} | 36 +- ...java => TmsCardArtCombinedAssetLinks.java} | 20 +- ... => TmsCardArtCombinedAssetLinksSelf.java} | 14 +- ...conAsset.java => TmsCardArtIconAsset.java} | 36 +- ...nks.java => TmsCardArtIconAssetLinks.java} | 20 +- ...java => TmsCardArtIconAssetLinksSelf.java} | 14 +- ...et.java => TmsCardArtIssuerLogoAsset.java} | 36 +- ...va => TmsCardArtIssuerLogoAssetLinks.java} | 20 +- ...> TmsCardArtIssuerLogoAssetLinksSelf.java} | 14 +- .../TmsEmbeddedInstrumentIdentifier.java | 28 +- ...beddedInstrumentIdentifierBankAccount.java | 4 +- ...sEmbeddedInstrumentIdentifierEmbedded.java | 95 + .../TmsPaymentInstrumentProcessingInfo.java | 4 +- ...mentProcessingInfoBankTransferOptions.java | 4 +- src/main/java/Model/Tmsv2TokenizedCard.java | 302 +- .../java/Model/Tmsv2TokenizedCardCard.java | 98 +- ...inks.java => Tmsv2TokenizedCardLinks.java} | 20 +- .../Model/Tmsv2TokenizedCardLinksSelf.java | 85 + .../Model/Tmsv2TokenizedCardMetadata.java | 41 +- .../Tmsv2TokenizedCardMetadataCardArt.java | 229 - ...edCardMetadataCardArtCoBrandLogoAsset.java | 109 - ...zedCardMetadataCardArtIssuerLogoAsset.java | 109 - ...tadataCardArtIssuerLogoAssetLinksSelf.java | 85 - .../Tmsv2TokenizedCardMetadataIssuer.java | 114 + ...f.java => Tmsv2TokenizedCardPasscode.java} | 38 +- ...aultPaymentInstrumentBuyerInformation.java | 4 +- .../TssV2TransactionsGet200Response.java | 10 +- ...sGet200ResponsePointOfSaleInformation.java | 4 +- ...essingInformationAuthorizationOptions.java | 4 +- ...turecontextsCheckoutApiInitialization.java | 302 - .../java/Api/InstrumentIdentifierApiTest.java | 12 +- .../java/Api/PaymentInstrumentApiTest.java | 9 +- 207 files changed, 12667 insertions(+), 5475 deletions(-) delete mode 100644 docs/InlineResponse2011PaymentAccountInformation.md delete mode 100644 docs/Microformv2sessionsCheckoutApiInitialization.md create mode 100644 docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.md create mode 100644 docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.md create mode 100644 docs/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.md create mode 100644 docs/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.md create mode 100644 docs/PtsV2PayoutsPost201ResponseProcessingInformation.md create mode 100644 docs/Ptsv2paymentsSenderInformationAccount.md rename docs/{TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.md => Ptsv2paymentsUnscheduledPaymentInformation.md} (84%) rename docs/{Ptsv1pushfundstransferAggregatorInformation.md => Ptsv2payoutsAggregatorInformation.md} (54%) rename docs/{Ptsv1pushfundstransferAggregatorInformationSubMerchant.md => Ptsv2payoutsAggregatorInformationSubMerchant.md} (77%) create mode 100644 docs/Ptsv2payoutsProcessingInformationPurchaseOptions.md create mode 100644 docs/TmsBinLookup.md rename docs/{InlineResponse2011IssuerInformation.md => TmsBinLookupIssuerInformation.md} (96%) create mode 100644 docs/TmsBinLookupPaymentAccountInformation.md rename docs/{InlineResponse2011PaymentAccountInformationCard.md => TmsBinLookupPaymentAccountInformationCard.md} (95%) rename docs/{InlineResponse2011PaymentAccountInformationCardBrands.md => TmsBinLookupPaymentAccountInformationCardBrands.md} (98%) rename docs/{InlineResponse2011PaymentAccountInformationFeatures.md => TmsBinLookupPaymentAccountInformationFeatures.md} (97%) rename docs/{InlineResponse2011PaymentAccountInformationNetwork.md => TmsBinLookupPaymentAccountInformationNetwork.md} (86%) create mode 100644 docs/TmsCardArt.md create mode 100644 docs/TmsCardArtBrandLogoAsset.md create mode 100644 docs/TmsCardArtBrandLogoAssetLinks.md create mode 100644 docs/TmsCardArtBrandLogoAssetLinksSelf.md create mode 100644 docs/TmsCardArtCombinedAsset.md create mode 100644 docs/TmsCardArtCombinedAssetLinks.md create mode 100644 docs/TmsCardArtCombinedAssetLinksSelf.md create mode 100644 docs/TmsCardArtIconAsset.md create mode 100644 docs/TmsCardArtIconAssetLinks.md create mode 100644 docs/TmsCardArtIconAssetLinksSelf.md create mode 100644 docs/TmsCardArtIssuerLogoAsset.md create mode 100644 docs/TmsCardArtIssuerLogoAssetLinks.md create mode 100644 docs/TmsCardArtIssuerLogoAssetLinksSelf.md create mode 100644 docs/TmsEmbeddedInstrumentIdentifierEmbedded.md create mode 100644 docs/Tmsv2TokenizedCardLinks.md create mode 100644 docs/Tmsv2TokenizedCardLinksSelf.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArt.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md delete mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataIssuer.md create mode 100644 docs/Tmsv2TokenizedCardPasscode.md delete mode 100644 docs/Upv1capturecontextsCheckoutApiInitialization.md delete mode 100644 src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java create mode 100644 src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.java create mode 100644 src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.java create mode 100644 src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.java create mode 100644 src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.java rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java => PtsV2PayoutsPost201ResponseProcessingInformation.java} (53%) delete mode 100644 src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java create mode 100644 src/main/java/Model/Ptsv2paymentsSenderInformationAccount.java rename src/main/java/Model/{TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java => Ptsv2paymentsUnscheduledPaymentInformation.java} (78%) create mode 100644 src/main/java/Model/Ptsv2payoutsAggregatorInformation.java rename src/main/java/Model/{Ptsv1pushfundstransferAggregatorInformationSubMerchant.java => Ptsv2payoutsAggregatorInformationSubMerchant.java} (77%) create mode 100644 src/main/java/Model/Ptsv2payoutsProcessingInformationPurchaseOptions.java create mode 100644 src/main/java/Model/TmsBinLookup.java rename src/main/java/Model/{InlineResponse2011IssuerInformation.java => TmsBinLookupIssuerInformation.java} (81%) rename src/main/java/Model/{InlineResponse2011PaymentAccountInformation.java => TmsBinLookupPaymentAccountInformation.java} (57%) rename src/main/java/Model/{InlineResponse2011PaymentAccountInformationCard.java => TmsBinLookupPaymentAccountInformationCard.java} (85%) rename src/main/java/Model/{InlineResponse2011PaymentAccountInformationCardBrands.java => TmsBinLookupPaymentAccountInformationCardBrands.java} (92%) rename src/main/java/Model/{InlineResponse2011PaymentAccountInformationFeatures.java => TmsBinLookupPaymentAccountInformationFeatures.java} (79%) rename src/main/java/Model/{InlineResponse2011PaymentAccountInformationNetwork.java => TmsBinLookupPaymentAccountInformationNetwork.java} (80%) create mode 100644 src/main/java/Model/TmsCardArt.java rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java => TmsCardArtBrandLogoAsset.java} (65%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java => TmsCardArtBrandLogoAssetLinks.java} (67%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java => TmsCardArtBrandLogoAssetLinksSelf.java} (74%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java => TmsCardArtCombinedAsset.java} (65%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java => TmsCardArtCombinedAssetLinks.java} (66%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java => TmsCardArtCombinedAssetLinksSelf.java} (74%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtIconAsset.java => TmsCardArtIconAsset.java} (67%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java => TmsCardArtIconAssetLinks.java} (65%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java => TmsCardArtIconAssetLinksSelf.java} (75%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java => TmsCardArtIssuerLogoAsset.java} (65%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java => TmsCardArtIssuerLogoAssetLinks.java} (66%) rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java => TmsCardArtIssuerLogoAssetLinksSelf.java} (73%) create mode 100644 src/main/java/Model/TmsEmbeddedInstrumentIdentifierEmbedded.java rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java => Tmsv2TokenizedCardLinks.java} (65%) create mode 100644 src/main/java/Model/Tmsv2TokenizedCardLinksSelf.java delete mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java delete mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java delete mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java delete mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataIssuer.java rename src/main/java/Model/{Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java => Tmsv2TokenizedCardPasscode.java} (62%) delete mode 100644 src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java diff --git a/docs/CreatePaymentRequest.md b/docs/CreatePaymentRequest.md index b40ba2cdd..5a33a40cc 100644 --- a/docs/CreatePaymentRequest.md +++ b/docs/CreatePaymentRequest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **riskInformation** | [**Ptsv2paymentsRiskInformation**](Ptsv2paymentsRiskInformation.md) | | [optional] **acquirerInformation** | [**Ptsv2paymentsAcquirerInformation**](Ptsv2paymentsAcquirerInformation.md) | | [optional] **recurringPaymentInformation** | [**Ptsv2paymentsRecurringPaymentInformation**](Ptsv2paymentsRecurringPaymentInformation.md) | | [optional] +**unscheduledPaymentInformation** | [**Ptsv2paymentsUnscheduledPaymentInformation**](Ptsv2paymentsUnscheduledPaymentInformation.md) | | [optional] **hostedPaymentInformation** | [**Ptsv2paymentsHostedPaymentInformation**](Ptsv2paymentsHostedPaymentInformation.md) | | [optional] **watchlistScreeningInformation** | [**Ptsv2paymentsWatchlistScreeningInformation**](Ptsv2paymentsWatchlistScreeningInformation.md) | | [optional] diff --git a/docs/GenerateCaptureContextRequest.md b/docs/GenerateCaptureContextRequest.md index 54667cfe0..0c96ff38d 100644 --- a/docs/GenerateCaptureContextRequest.md +++ b/docs/GenerateCaptureContextRequest.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **clientVersion** | **String** | Specify the version of Microform that you want to use. | [optional] **targetOrigins** | **List<String>** | The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Microform is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080<br><br> If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \"https://example.com\", \"https://basket.example.com\", \"https://ecom.example.com\" ] | [optional] -**allowedCardNetworks** | **List<String>** | The list of card networks you want to use for this Microform transaction. Microform currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA | [optional] -**checkoutApiInitialization** | [**Microformv2sessionsCheckoutApiInitialization**](Microformv2sessionsCheckoutApiInitialization.md) | | [optional] +**allowedCardNetworks** | **List<String>** | The list of card networks you want to use for this Microform transaction. Microform currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA **Important:** - When integrating Microform (Accept Card) at least one card network should be specified in the allowedCardNetworks field in the capture context request. - When integrating Microform (Accept Check) the allowedCardNetworks field is not required in the capture context request. - When integrating both Microform (Accept Card) and Microform (Accept Check) at least one card network should be specified in the allowedCardNetworks field in the capture context request. | [optional] +**allowedPaymentTypes** | **List<String>** | The payment types that are allowed for the merchant. Possible values when launching Microform: - CARD - CHECK <br><br> | [optional] diff --git a/docs/GenerateUnifiedCheckoutCaptureContextRequest.md b/docs/GenerateUnifiedCheckoutCaptureContextRequest.md index 293828011..75ce3f1fa 100644 --- a/docs/GenerateUnifiedCheckoutCaptureContextRequest.md +++ b/docs/GenerateUnifiedCheckoutCaptureContextRequest.md @@ -7,12 +7,11 @@ Name | Type | Description | Notes **clientVersion** | **String** | Specify the version of Unified Checkout that you want to use. | [optional] **targetOrigins** | **List<String>** | The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Unified Checkout is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080<br><br> If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \"https://example.com\", \"https://basket.example.com\", \"https://ecom.example.com\" ] | [optional] **allowedCardNetworks** | **List<String>** | The list of card networks you want to use for this Unified Checkout transaction. Unified Checkout currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA | [optional] -**allowedPaymentTypes** | **List<String>** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - PANENTRY - GOOGLEPAY - SRC - CHECK <br><br> Possible values when launching Unified Checkout with Checkout API: - PANENTRY - SRC <br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - SRC and CLICKTOPAY are only available for Visa, Mastercard and AMEX. | [optional] +**allowedPaymentTypes** | **List<String>** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field. | [optional] **country** | **String** | Country the purchase is originating from (e.g. country of the merchant). Use the two-character ISO Standard | [optional] **locale** | **String** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code. Please refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html) | [optional] **captureMandate** | [**Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional] **orderInformation** | [**Upv1capturecontextsOrderInformation**](Upv1capturecontextsOrderInformation.md) | | [optional] -**checkoutApiInitialization** | [**Upv1capturecontextsCheckoutApiInitialization**](Upv1capturecontextsCheckoutApiInitialization.md) | | [optional] diff --git a/docs/InlineResponse2011.md b/docs/InlineResponse2011.md index f5174e109..4534dcae1 100644 --- a/docs/InlineResponse2011.md +++ b/docs/InlineResponse2011.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **id** | **String** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional] **submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] **status** | **String** | The status of the submitted transaction. Possible values: - COMPLETED - MULTIPLE - NO MATCH | [optional] -**paymentAccountInformation** | [**InlineResponse2011PaymentAccountInformation**](InlineResponse2011PaymentAccountInformation.md) | | [optional] -**issuerInformation** | [**InlineResponse2011IssuerInformation**](InlineResponse2011IssuerInformation.md) | | [optional] +**paymentAccountInformation** | [**TmsBinLookupPaymentAccountInformation**](TmsBinLookupPaymentAccountInformation.md) | | [optional] +**issuerInformation** | [**TmsBinLookupIssuerInformation**](TmsBinLookupIssuerInformation.md) | | [optional] **payoutInformation** | [**InlineResponse2011PayoutInformation**](InlineResponse2011PayoutInformation.md) | | [optional] diff --git a/docs/InlineResponse2011PaymentAccountInformation.md b/docs/InlineResponse2011PaymentAccountInformation.md deleted file mode 100644 index 85df8899b..000000000 --- a/docs/InlineResponse2011PaymentAccountInformation.md +++ /dev/null @@ -1,12 +0,0 @@ - -# InlineResponse2011PaymentAccountInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**card** | [**InlineResponse2011PaymentAccountInformationCard**](InlineResponse2011PaymentAccountInformationCard.md) | | [optional] -**features** | [**InlineResponse2011PaymentAccountInformationFeatures**](InlineResponse2011PaymentAccountInformationFeatures.md) | | [optional] -**network** | [**InlineResponse2011PaymentAccountInformationNetwork**](InlineResponse2011PaymentAccountInformationNetwork.md) | | [optional] - - - diff --git a/docs/InstrumentIdentifierApi.md b/docs/InstrumentIdentifierApi.md index 45d8c3853..a9c683ba1 100644 --- a/docs/InstrumentIdentifierApi.md +++ b/docs/InstrumentIdentifierApi.md @@ -60,7 +60,7 @@ No authorization required # **getInstrumentIdentifier** -> PostInstrumentIdentifierRequest getInstrumentIdentifier(instrumentIdentifierId, profileId) +> PostInstrumentIdentifierRequest getInstrumentIdentifier(instrumentIdentifierId, profileId, retrieveBinDetails) Retrieve an Instrument Identifier @@ -76,8 +76,9 @@ Retrieve an Instrument Identifier InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi(); String instrumentIdentifierId = "instrumentIdentifierId_example"; // String | The Id of an Instrument Identifier. String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token try { - PostInstrumentIdentifierRequest result = apiInstance.getInstrumentIdentifier(instrumentIdentifierId, profileId); + PostInstrumentIdentifierRequest result = apiInstance.getInstrumentIdentifier(instrumentIdentifierId, profileId, retrieveBinDetails); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstrumentIdentifierApi#getInstrumentIdentifier"); @@ -91,6 +92,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **instrumentIdentifierId** | **String**| The Id of an Instrument Identifier. | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] ### Return type @@ -107,7 +109,7 @@ No authorization required # **getInstrumentIdentifierPaymentInstrumentsList** -> PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, offset, limit) +> PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit) List Payment Instruments for an Instrument Identifier @@ -123,10 +125,11 @@ List Payment Instruments for an Instrument Identifier InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi(); String instrumentIdentifierId = "instrumentIdentifierId_example"; // String | The Id of an Instrument Identifier. String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token Long offset = 0L; // Long | Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. Long limit = 20L; // Long | The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. try { - PaymentInstrumentList1 result = apiInstance.getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, offset, limit); + PaymentInstrumentList1 result = apiInstance.getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstrumentIdentifierApi#getInstrumentIdentifierPaymentInstrumentsList"); @@ -140,6 +143,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **instrumentIdentifierId** | **String**| The Id of an Instrument Identifier. | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] **offset** | **Long**| Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. | [optional] [default to 0] **limit** | **Long**| The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. | [optional] [default to 20] @@ -158,7 +162,7 @@ No authorization required # **patchInstrumentIdentifier** -> PatchInstrumentIdentifierRequest patchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch) +> PatchInstrumentIdentifierRequest patchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch) Update an Instrument Identifier @@ -175,9 +179,10 @@ InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi(); String instrumentIdentifierId = "instrumentIdentifierId_example"; // String | The Id of an Instrument Identifier. PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest = new PatchInstrumentIdentifierRequest(); // PatchInstrumentIdentifierRequest | Specify the previous transaction Id to update. String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token String ifMatch = "ifMatch_example"; // String | Contains an ETag value from a GET request to make the request conditional. try { - PatchInstrumentIdentifierRequest result = apiInstance.patchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch); + PatchInstrumentIdentifierRequest result = apiInstance.patchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstrumentIdentifierApi#patchInstrumentIdentifier"); @@ -192,6 +197,7 @@ Name | Type | Description | Notes **instrumentIdentifierId** | **String**| The Id of an Instrument Identifier. | **patchInstrumentIdentifierRequest** | [**PatchInstrumentIdentifierRequest**](PatchInstrumentIdentifierRequest.md)| Specify the previous transaction Id to update. | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] **ifMatch** | **String**| Contains an ETag value from a GET request to make the request conditional. | [optional] ### Return type @@ -209,7 +215,7 @@ No authorization required # **postInstrumentIdentifier** -> PostInstrumentIdentifierRequest postInstrumentIdentifier(postInstrumentIdentifierRequest, profileId) +> PostInstrumentIdentifierRequest postInstrumentIdentifier(postInstrumentIdentifierRequest, profileId, retrieveBinDetails) Create an Instrument Identifier @@ -225,8 +231,9 @@ Create an Instrument Identifier InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi(); PostInstrumentIdentifierRequest postInstrumentIdentifierRequest = new PostInstrumentIdentifierRequest(); // PostInstrumentIdentifierRequest | Specify either a Card, Bank Account or Enrollable Card String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token try { - PostInstrumentIdentifierRequest result = apiInstance.postInstrumentIdentifier(postInstrumentIdentifierRequest, profileId); + PostInstrumentIdentifierRequest result = apiInstance.postInstrumentIdentifier(postInstrumentIdentifierRequest, profileId, retrieveBinDetails); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstrumentIdentifierApi#postInstrumentIdentifier"); @@ -240,6 +247,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **postInstrumentIdentifierRequest** | [**PostInstrumentIdentifierRequest**](PostInstrumentIdentifierRequest.md)| Specify either a Card, Bank Account or Enrollable Card | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] ### Return type diff --git a/docs/Microformv2sessionsCheckoutApiInitialization.md b/docs/Microformv2sessionsCheckoutApiInitialization.md deleted file mode 100644 index bdc5d1b45..000000000 --- a/docs/Microformv2sessionsCheckoutApiInitialization.md +++ /dev/null @@ -1,19 +0,0 @@ - -# Microformv2sessionsCheckoutApiInitialization - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**profileId** | **String** | | [optional] -**accessKey** | **String** | | [optional] -**referenceNumber** | **String** | | [optional] -**transactionUuid** | **String** | | [optional] -**transactionType** | **String** | | [optional] -**currency** | **String** | | [optional] -**amount** | **String** | | [optional] -**locale** | **String** | Locale where application is being used. This field controls aspects of the application such as the language it will be rendered in. | [optional] -**overrideCustomReceiptPage** | **String** | | [optional] -**unsignedFieldNames** | **String** | | [optional] - - - diff --git a/docs/OctCreatePaymentRequest.md b/docs/OctCreatePaymentRequest.md index fcf39dd45..01bd1827c 100644 --- a/docs/OctCreatePaymentRequest.md +++ b/docs/OctCreatePaymentRequest.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **senderInformation** | [**Ptsv2payoutsSenderInformation**](Ptsv2payoutsSenderInformation.md) | | [optional] **processingInformation** | [**Ptsv2payoutsProcessingInformation**](Ptsv2payoutsProcessingInformation.md) | | [optional] **paymentInformation** | [**Ptsv2payoutsPaymentInformation**](Ptsv2payoutsPaymentInformation.md) | | [optional] +**aggregatorInformation** | [**Ptsv2payoutsAggregatorInformation**](Ptsv2payoutsAggregatorInformation.md) | | [optional] diff --git a/docs/PatchInstrumentIdentifierRequest.md b/docs/PatchInstrumentIdentifierRequest.md index 2b0c6e100..e0cee8e46 100644 --- a/docs/PatchInstrumentIdentifierRequest.md +++ b/docs/PatchInstrumentIdentifierRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] **metadata** | [**TmsEmbeddedInstrumentIdentifierMetadata**](TmsEmbeddedInstrumentIdentifierMetadata.md) | | [optional] +**embedded** | [**TmsEmbeddedInstrumentIdentifierEmbedded**](TmsEmbeddedInstrumentIdentifierEmbedded.md) | | [optional] diff --git a/docs/PaymentInstrumentApi.md b/docs/PaymentInstrumentApi.md index 08e5f12ed..0049bcdcd 100644 --- a/docs/PaymentInstrumentApi.md +++ b/docs/PaymentInstrumentApi.md @@ -58,7 +58,7 @@ No authorization required # **getPaymentInstrument** -> PostPaymentInstrumentRequest getPaymentInstrument(paymentInstrumentId, profileId) +> PostPaymentInstrumentRequest getPaymentInstrument(paymentInstrumentId, profileId, retrieveBinDetails) Retrieve a Payment Instrument @@ -74,8 +74,9 @@ Retrieve a Payment Instrument PaymentInstrumentApi apiInstance = new PaymentInstrumentApi(); String paymentInstrumentId = "paymentInstrumentId_example"; // String | The Id of a payment instrument. String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token try { - PostPaymentInstrumentRequest result = apiInstance.getPaymentInstrument(paymentInstrumentId, profileId); + PostPaymentInstrumentRequest result = apiInstance.getPaymentInstrument(paymentInstrumentId, profileId, retrieveBinDetails); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PaymentInstrumentApi#getPaymentInstrument"); @@ -89,6 +90,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **paymentInstrumentId** | **String**| The Id of a payment instrument. | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] ### Return type @@ -105,7 +107,7 @@ No authorization required # **patchPaymentInstrument** -> PatchPaymentInstrumentRequest patchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch) +> PatchPaymentInstrumentRequest patchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch) Update a Payment Instrument @@ -122,9 +124,10 @@ PaymentInstrumentApi apiInstance = new PaymentInstrumentApi(); String paymentInstrumentId = "paymentInstrumentId_example"; // String | The Id of a payment instrument. PatchPaymentInstrumentRequest patchPaymentInstrumentRequest = new PatchPaymentInstrumentRequest(); // PatchPaymentInstrumentRequest | String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token String ifMatch = "ifMatch_example"; // String | Contains an ETag value from a GET request to make the request conditional. try { - PatchPaymentInstrumentRequest result = apiInstance.patchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch); + PatchPaymentInstrumentRequest result = apiInstance.patchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PaymentInstrumentApi#patchPaymentInstrument"); @@ -139,6 +142,7 @@ Name | Type | Description | Notes **paymentInstrumentId** | **String**| The Id of a payment instrument. | **patchPaymentInstrumentRequest** | [**PatchPaymentInstrumentRequest**](PatchPaymentInstrumentRequest.md)| | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] **ifMatch** | **String**| Contains an ETag value from a GET request to make the request conditional. | [optional] ### Return type @@ -156,7 +160,7 @@ No authorization required # **postPaymentInstrument** -> PostPaymentInstrumentRequest postPaymentInstrument(postPaymentInstrumentRequest, profileId) +> PostPaymentInstrumentRequest postPaymentInstrument(postPaymentInstrumentRequest, profileId, retrieveBinDetails) Create a Payment Instrument @@ -172,8 +176,9 @@ Create a Payment Instrument PaymentInstrumentApi apiInstance = new PaymentInstrumentApi(); PostPaymentInstrumentRequest postPaymentInstrumentRequest = new PostPaymentInstrumentRequest(); // PostPaymentInstrumentRequest | String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +Boolean retrieveBinDetails = true; // Boolean | Retrieve the Bin Details of PAN or network token try { - PostPaymentInstrumentRequest result = apiInstance.postPaymentInstrument(postPaymentInstrumentRequest, profileId); + PostPaymentInstrumentRequest result = apiInstance.postPaymentInstrument(postPaymentInstrumentRequest, profileId, retrieveBinDetails); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PaymentInstrumentApi#postPaymentInstrument"); @@ -187,6 +192,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **postPaymentInstrumentRequest** | [**PostPaymentInstrumentRequest**](PostPaymentInstrumentRequest.md)| | **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + **retrieveBinDetails** | **Boolean**| Retrieve the Bin Details of PAN or network token | [optional] ### Return type diff --git a/docs/PostInstrumentIdentifierEnrollmentRequest.md b/docs/PostInstrumentIdentifierEnrollmentRequest.md index 370a8c2d9..6fcbdaf23 100644 --- a/docs/PostInstrumentIdentifierEnrollmentRequest.md +++ b/docs/PostInstrumentIdentifierEnrollmentRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] **metadata** | [**TmsEmbeddedInstrumentIdentifierMetadata**](TmsEmbeddedInstrumentIdentifierMetadata.md) | | [optional] +**embedded** | [**TmsEmbeddedInstrumentIdentifierEmbedded**](TmsEmbeddedInstrumentIdentifierEmbedded.md) | | [optional] diff --git a/docs/PostInstrumentIdentifierRequest.md b/docs/PostInstrumentIdentifierRequest.md index 44c552215..6c920f7ab 100644 --- a/docs/PostInstrumentIdentifierRequest.md +++ b/docs/PostInstrumentIdentifierRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] **metadata** | [**TmsEmbeddedInstrumentIdentifierMetadata**](TmsEmbeddedInstrumentIdentifierMetadata.md) | | [optional] +**embedded** | [**TmsEmbeddedInstrumentIdentifierEmbedded**](TmsEmbeddedInstrumentIdentifierEmbedded.md) | | [optional] diff --git a/docs/PostPaymentCredentialsRequest.md b/docs/PostPaymentCredentialsRequest.md index f573e42b0..e0c86ae53 100644 --- a/docs/PostPaymentCredentialsRequest.md +++ b/docs/PostPaymentCredentialsRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**paymentCredentialType** | **String** | The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token will be returned and cryptogram or dynamic CVV will be excluded. Possible Values: - NETWORK_TOKEN | [optional] +**paymentCredentialType** | **String** | The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested. If \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF. If \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex. Possible Values: - NETWORK_TOKEN - SECURITY_CODE - CRYPTOGRAM | [optional] diff --git a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md index 4de9fd1bb..5fa372e24 100644 --- a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md +++ b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **systemTraceAuditNumber** | **String** | This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt. | [optional] **responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] **merchantAdvice** | [**PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice**](PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.md) | | [optional] +**merchantRiskPrediction** | **String** | Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. | [optional] **sellerProtection** | [**PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection**](PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.md) | | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md b/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md index 1cd84b8e8..c0487a9b4 100644 --- a/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md @@ -41,6 +41,7 @@ Name | Type | Description | Notes **whiteListStatusSource** | **String** | This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS | [optional] **xid** | **String** | Transaction identifier generated by CyberSource for successful enrollment or validation checks. Use this value, which is in base64, to match an outgoing PAReq with an incoming PARes. CyberSource forwards the XID with the card authorization service to these payment processors in these cases: - Barclays - Streamline (when the **ecommerceIndicator**`=spa`) | [optional] **directoryServerTransactionId** | **String** | The Directory Server Transaction ID is generated by the Mastercard Directory Server during the authentication transaction and passed back to the merchant with the authentication results. For Cybersource Through Visanet Gateway: The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR7, Position: 114-149, Field: MC AVV Verification—Directory Server Transaction ID | [optional] +**dataQualityIndicator** | **String** | The field is used to indicate that a transaction does not meet the Visa Secure authentication data quality requirements. | [optional] **authenticationResult** | **String** | Raw authentication data that comes from the cardissuing bank. Primary authentication field that indicates if authentication was successful and if liability shift occurred. You should examine first the result of this field. This field contains one of these values: - `-1`: Invalid PARes. - `0`: Successful validation. - `1`: Cardholder is not participating, but the attempt to authenticate was recorded. - `6`: Issuer unable to perform authentication. - `9`: Cardholder did not complete authentication. | [optional] **authenticationStatusMsg** | **String** | Message that explains the authenticationResult reply field. | [optional] **indicator** | **String** | Indicator used to differentiate Internet transactions from other types. The authentication failed if this field is not returned. For Visa, if your payment processor is Streamline, Barclays, AIBMS, or FDC Germany, you receive the value vbv_failure instead of internet when eci is 07. The value of this field is passed automatically to the authorization service if you request the services together. This field contains one of these values: - `aesk`: American Express SafeKey authentication verified successfully. - `aesk_attempted`: Card not enrolled in American Express SafeKey, but the attempt to authenticate was recorded. - `dipb`: Discover ProtectBuy authentication verified successfully. - `dipb_attempted`: Card not enrolled in Discover ProtectBuy, but the attempt to authenticate was recorded. - `internet`: Authentication was not verified successfully. - `js`: J/Secure authentication verified successfully. - `js_attempted`: Card not enrolled in J/Secure, but the attempt to authenticate was recorded. - `moto`: Mail or telephone order. - `pb_attempted`: Card not enrolled in Diners Club ProtectBuy, but the attempt to authenticate was recorded. - `recurring`: Recurring transaction. - `spa`: Mastercard Identity Check authentication verified successfully. - `spa_failure`: Mastercard Identity Check failed authentication. - `vbv`: Visa Secure authentication verified successfully. - `vbv_attempted`: Card not enrolled in Visa Secure, but the attempt to authenticate was recorded. - `vbv_failure`: Visa Secure authentication unavailable. | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseEmbeddedActions.md b/docs/PtsV2PaymentsPost201ResponseEmbeddedActions.md index 36cc0ab64..70e51c40f 100644 --- a/docs/PtsV2PaymentsPost201ResponseEmbeddedActions.md +++ b/docs/PtsV2PaymentsPost201ResponseEmbeddedActions.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **CONSUMER_AUTHENTICATION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional] **VALIDATE_CONSUMER_AUTHENTICATION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional] **WATCHLIST_SCREENING** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING**](PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md) | | [optional] +**TOKEN_CREATE** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE**](PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.md) | | [optional] +**TOKEN_UPDATE** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE**](PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.md) | | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.md b/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.md new file mode 100644 index 000000000..f0fd6a64f --- /dev/null +++ b/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.md @@ -0,0 +1,12 @@ + +# PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **String** | The status of the token create. Possible value is: - SUCCESS - SERVER_ERROR - INVALID_REQUEST | [optional] +**reason** | **String** | The reason of the status. Possible values: - INVALID_DATA - SYSTEM_ERROR - MISSING_FIELD | [optional] +**message** | **String** | The detail message related to the status and reason listed above. | [optional] + + + diff --git a/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.md b/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.md new file mode 100644 index 000000000..2edc3e067 --- /dev/null +++ b/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.md @@ -0,0 +1,12 @@ + +# PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **String** | The status of the token update. Possible value is: - SUCCESS - SERVER_ERROR - INVALID_REQUEST | [optional] +**reason** | **String** | The reason of the status. Possible values: - INVALID_DATA - SYSTEM_ERROR - MISSING_FIELD | [optional] +**message** | **String** | The detail message related to the status and reason listed above. | [optional] + + + diff --git a/docs/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.md b/docs/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.md index 2f2adcf23..006f1c955 100644 --- a/docs/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.md +++ b/docs/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **signatureDebit** | **String** | Indicates whether the card is a signature debit card. This information enables you to alter the way an order is processed. For example, you might not want to reauthorize a transaction for a signature debit card, or you might want to perform reversals promptly for a signature debit card. This field is supported for Visa, Mastercard, and Maestro (International) on Chase Paymentech Solutions. Possible values: - `Y`: Yes - `N`: No - `X`: Not applicable / Unknown | [optional] **prepaid** | **String** | Indicates whether the card is a prepaid card. This information enables you to determine when a gift card or prepaid card is presented for use when establishing a new recurring, installment, or deferred billing relationship. This field is supported for Visa, Mastercard, Discover, Diners Club, and JCB on Chase Paymentech Solutions. Possible values: - `Y`: Yes - `N`: No - `X`: Not applicable / Unknown | [optional] **regulated** | **String** | Indicates whether the card is regulated according to the Durbin Amendment. If the card is regulated, the card issuer is subject to price caps and interchange rules. This field is supported for Visa, Mastercard, Discover, Diners Club, and JCB on Chase Paymentech Solutions. Possible values: - `Y`: Yes - `N`: No - `X`: Not applicable / Unknown | [optional] +**accountHolderType** | **String** | This is the account owner information, valid values are: - `01` : primary account holder - `02` : secondary account holder This is returned in the response of an account verification transaction by the Issuer. | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseProcessingInformation.md b/docs/PtsV2PaymentsPost201ResponseProcessingInformation.md index 03bba4b5d..2ef40e262 100644 --- a/docs/PtsV2PaymentsPost201ResponseProcessingInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseProcessingInformation.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **paymentSolution** | **String** | Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the REST API.](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `013`: Cybersource P2PE Decryption - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `027`: Click to Pay. | [optional] **enhancedDataEnabled** | **Boolean** | The possible values for the reply field are: - `true` : the airline data was included in the request to the processor. - `false` : the airline data was not included in the request to the processor. Returned by authorization, capture, or credit services. | [optional] **captureOptions** | [**PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions**](PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions.md) | | [optional] +**authorizationOptions** | [**PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions**](PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.md) | | [optional] +**purchaseOptions** | [**PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions**](PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.md) | | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.md b/docs/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.md new file mode 100644 index 000000000..949d5d96a --- /dev/null +++ b/docs/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.md @@ -0,0 +1,10 @@ + +# PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**serviceType** | **String** | Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time funding or a live-load. This type of transaction can also be connected to a purchase. In back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: - account one is used to make the purchase - account two is used to automatically fund or reimburse account one Possible values: - 0B = back to back funding transaction - 00 = normal transaction - 01 = originator hold - 02 = Visa deferred OCT hold, default interval - 03 = Visa deferred OCT hold, user-defined interval - 09 = Cancel pending deferred OCT request - 0I = Visa Direct custom program 1 - 0Q = uery the status of the deferred OCT - A0 = Alias Directory 2 | [optional] + + + diff --git a/docs/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.md b/docs/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.md new file mode 100644 index 000000000..a237a7377 --- /dev/null +++ b/docs/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.md @@ -0,0 +1,13 @@ + +# PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**eligibilityIndicator** | **String** | This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile | [optional] +**type** | **String** | Data mapped received in response from MasterCard. Possible values: - 01 = Meal Voucher - Employee Nutrition Program - 02 = Food Voucher - Employee Nutrition Program - 03 = Culture Voucher - Worker's Culture Program - 04 = Meal Voucher - Consolidation of Labor Laws - 05 = Food Voucher - Consolidation of Labor Laws | [optional] +**benefitAmount** | **String** | Workplace benefit amount. | [optional] +**benefitType** | **String** | Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education | [optional] + + + diff --git a/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md index f190b8562..f551dc6be 100644 --- a/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md @@ -48,6 +48,7 @@ Name | Type | Description | Notes **expirationTimeUtc** | **String** | The date and time when the authorized payment expires, in Internet date and time format. | [optional] **orderId** | **String** | The id of the order | [optional] **orderStatus** | **String** | The order status. Possible values: - `CREATED` - `VOIDED` - `COMPLETED` - `PAYER_ACTION_REQUIRED` | [optional] +**merchantRiskPrediction** | **String** | Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. | [optional] diff --git a/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md index 3e01d79f6..990cd0585 100644 --- a/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **transactionId** | **String** | Processor transaction ID. This value identifies the transaction on a host system. This value is supported only for Moneris. It contains this information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. Example For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 | [optional] **responseCode** | **String** | For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) #### paypalgateway Processor generated ID for the itemized detail. | [optional] +**networkTransactionId** | **String** | Same value as `processorInformation.transactionId` | [optional] **responseCategoryCode** | **String** | Processor-defined response category code. The associated detail error code is in the `processorInformation.responseCode` or `issuerInformation.responseCode` field of the service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting #### Maximum length for processors - Comercio Latino: 36 - All other processors: 3 | [optional] **forwardedAcquirerCode** | **String** | Name of the Japanese acquirer that processed the transaction. Returned only for JCN Gateway. Please contact the CyberSource Japan Support Group for more information. | [optional] **masterCardServiceCode** | **String** | Mastercard service that was used for the transaction. Mastercard provides this value to CyberSource. Possible value: - 53: Mastercard card-on-file token service #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 133-134 - Field: Mastercard Merchant on-behalf service. **Note** This field is returned only for CyberSource through VisaNet. | [optional] diff --git a/docs/PtsV2PayoutsPost201Response.md b/docs/PtsV2PayoutsPost201Response.md index 7909ea2e3..e6343970f 100644 --- a/docs/PtsV2PayoutsPost201Response.md +++ b/docs/PtsV2PayoutsPost201Response.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **recipientInformation** | [**PtsV2PayoutsPost201ResponseRecipientInformation**](PtsV2PayoutsPost201ResponseRecipientInformation.md) | | [optional] **issuerInformation** | [**PtsV2PayoutsPost201ResponseIssuerInformation**](PtsV2PayoutsPost201ResponseIssuerInformation.md) | | [optional] **tokenInformation** | [**PtsV2PaymentsPost201ResponseTokenInformation**](PtsV2PaymentsPost201ResponseTokenInformation.md) | | [optional] +**processingInformation** | [**PtsV2PayoutsPost201ResponseProcessingInformation**](PtsV2PayoutsPost201ResponseProcessingInformation.md) | | [optional] diff --git a/docs/PtsV2PayoutsPost201ResponseProcessingInformation.md b/docs/PtsV2PayoutsPost201ResponseProcessingInformation.md new file mode 100644 index 000000000..dfec6dd72 --- /dev/null +++ b/docs/PtsV2PayoutsPost201ResponseProcessingInformation.md @@ -0,0 +1,10 @@ + +# PtsV2PayoutsPost201ResponseProcessingInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**purchaseOptions** | [**Ptsv2payoutsProcessingInformationPurchaseOptions**](Ptsv2payoutsProcessingInformationPurchaseOptions.md) | | [optional] + + + diff --git a/docs/Ptsv2billingagreementsInstallmentInformation.md b/docs/Ptsv2billingagreementsInstallmentInformation.md index 292c253cf..bdfd5e624 100644 --- a/docs/Ptsv2billingagreementsInstallmentInformation.md +++ b/docs/Ptsv2billingagreementsInstallmentInformation.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **lastInstallmentDate** | **String** | End date of the SI transactions. Cannot be later than card expiry date. Ideally this can be set to expiry date. Required in case the authentication is initiated for SI registration. | [optional] **maxAmount** | **String** | Maximum Amount for which SI can be initiated. Required in case the authentication is initiated for SI registration. | [optional] **minAmount** | **String** | Minimum Amount for which SI can be initiated. Required in case the authentication is initiated for SI registration. | [optional] -**paymentType** | **String** | Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information | [optional] +**paymentType** | **String** | Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. | [optional] **preferredDay** | **String** | Preferred date for initiating the SI transaction every month. This field need not be sent in case the SI has to be initiated as and when required, e.g., topping up the wallet, etc. | [optional] **sequence** | **Integer** | Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. | [optional] diff --git a/docs/Ptsv2paymentsAggregatorInformation.md b/docs/Ptsv2paymentsAggregatorInformation.md index 06392814f..d2ebf0022 100644 --- a/docs/Ptsv2paymentsAggregatorInformation.md +++ b/docs/Ptsv2paymentsAggregatorInformation.md @@ -7,6 +7,11 @@ Name | Type | Description | Notes **aggregatorId** | **String** | Value that identifies you as a payment aggregator. Get this value from the processor. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR6 - Position: 95-105 - Field: Payment Facilitator ID This field is supported for Visa, Mastercard and Discover Transactions. **FDC Compass**\\ This value must consist of uppercase characters. | [optional] **name** | **String** | Your payment aggregator business name. **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\ #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5. **FDC Compass**\\ This value must consist of uppercase characters. | [optional] **subMerchant** | [**Ptsv2paymentsAggregatorInformationSubMerchant**](Ptsv2paymentsAggregatorInformationSubMerchant.md) | | [optional] +**streetAddress** | **String** | Acquirer street name. | [optional] +**city** | **String** | Acquirer city. | [optional] +**state** | **String** | Acquirer state. | [optional] +**postalCode** | **String** | Acquirer postal code. | [optional] +**country** | **String** | Acquirer country. | [optional] diff --git a/docs/Ptsv2paymentsConsumerAuthenticationInformation.md b/docs/Ptsv2paymentsConsumerAuthenticationInformation.md index 74b87e3fb..396f47745 100644 --- a/docs/Ptsv2paymentsConsumerAuthenticationInformation.md +++ b/docs/Ptsv2paymentsConsumerAuthenticationInformation.md @@ -58,9 +58,12 @@ Name | Type | Description | Notes **secureCorporatePaymentIndicator** | **String** | Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1 | [optional] **transactionMode** | **String** | Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet | [optional] **whiteListStatus** | **String** | Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder | [optional] +**authenticationBrand** | **String** | Indicates which directory server was used while authentication process, this data is useful in case of scenarios when domestic scheme directory server is not present and authentication fallbacks to global scheme directory server. Possible values: - VISA - Returned for Mada VISA Co-badged cards, when authentication falls back to VISA Directory Server - MASTERCARD - Returned for Mada MasterCard Co-badged cards, when authentication falls back to MasterCard Directory Server | [optional] **effectiveAuthenticationType** | **String** | This field describes the type of 3DS transaction flow that took place. It can be one of three possible flows; CH - Challenge FR - Frictionless FD - Frictionless with delegation, (challenge not generated by the issuer but by the scheme on behalf of the issuer). | [optional] **signedParesStatusReason** | **String** | Provides additional information as to why the PAResStatus has a specific value. | [optional] **signedPares** | **String** | Payer authentication result (PARes) message returned by the card-issuing bank. If you need to show proof of enrollment checking, you may need to decrypt and parse the string for the information required by the payment card company. For more information, see \"Storing Payer Authentication Data,\" page 160. Important The value is in base64. You must remove all carriage returns and line feeds before adding the PARes to the request. | [optional] +**acsReferenceNumber** | **String** | Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval. | [optional] +**dsReferenceNumber** | **String** | EMVCo-assigned unique identifier. This field is required in Cardholder Initiated 3DS fully authenticated mada transactions. When you request the payer authentication and authorization services separately, get the value for this field from the payerAuthEnrollReply_dsReferenceNumber or payerAuthValidateReply_dsReferenceNumber response field. | [optional] diff --git a/docs/Ptsv2paymentsInstallmentInformation.md b/docs/Ptsv2paymentsInstallmentInformation.md index 17a2114da..88795e5df 100644 --- a/docs/Ptsv2paymentsInstallmentInformation.md +++ b/docs/Ptsv2paymentsInstallmentInformation.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **totalCount** | **Integer** | Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. | [optional] **firstInstallmentDate** | **String** | Date of the first installment payment. Format: YYMMDD. When you do not include this field, CyberSource sends a string of six zeros (000000) to the processor. This field is supported only for Crediario installment payments in Brazil on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR9 - Position: 42-47 - Field: Date of First Installment | [optional] **invoiceData** | **String** | Invoice information that you want to provide to the issuer. This value is similar to a tracking number and is the same for all installment payments for one purchase. This field is supported only for installment payments with Mastercard on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR4 - Position: 51-70 - Field: Purchase Identification | [optional] -**paymentType** | **String** | Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information | [optional] +**paymentType** | **String** | Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. | [optional] **eligibilityInquiry** | **String** | Indicates whether the authorization request is a Crediario eligibility inquiry. Set the value for this field to `Crediario`. This field is supported only for Crediario installment payments in Brazil on CyberSource through VisaNet. | [optional] **gracePeriodDuration** | **String** | Grace period requested by the customer before the first installment payment is due. When you include this field in a request, you must also include the grace period duration type field. The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR5, Position: 100-101, Field: Mastercard Grace Period Details. This field is supported only for Mastercard installment payments in Brazil and Greece. | [optional] **gracePeriodDurationType** | **String** | Unit for the requested grace period duration. Possible values: - `D`: Days - `W`: Weeks - `M`: Months The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR5, Position: 99, Field: Mastercard Grace Period Details This field is supported only for Mastercard installment payments in Brazil and Greece on CyberSource through VisaNet. | [optional] diff --git a/docs/Ptsv2paymentsPointOfSaleInformation.md b/docs/Ptsv2paymentsPointOfSaleInformation.md index e83d96f4e..8add4db81 100644 --- a/docs/Ptsv2paymentsPointOfSaleInformation.md +++ b/docs/Ptsv2paymentsPointOfSaleInformation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **terminalId** | **String** | Identifier for the terminal at your retail location. You can define this value yourself, but consult the processor for requirements. #### CyberSource through VisaNet A list of all possible values is stored in your CyberSource account. If terminal ID validation is enabled for your CyberSource account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact CyberSource Customer Support. When you do not include this field in a request, CyberSource uses the default value that is defined in your CyberSource account. #### FDC Nashville Global To have your account configured to support this field, contact CyberSource Customer Support. This value must be a value that FDC Nashville Global issued to you. #### For Payouts This field is applicable for CyberSource through VisaNet. #### GPX Identifier for the terminal at your retail location. A list of all possible values is stored in your account. If terminal ID validation is enabled for your account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact customer support. When you do not include this field in a request, the default value that is defined in your account is used. Optional for authorizations. #### Used by **Authorization** Optional for the following processors. When you do not include this field in a request, the default value that is defined in your account is used. - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - SIX - Chase Paymentech Solutions: Optional field. If you include this field in your request, you must also include `pointOfSaleInformation.catLevel`. - FDMS Nashville: The default value that is defined in your account is used. - GPX - OmniPay Direct: Optional field. For the following processors, this field is not used. - GPN - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions - Worldpay VAP #### Card Present reply Terminal identifier assigned by the acquirer. This value must be printed on the receipt. | [optional] **terminalSerialNumber** | **String** | Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. This value is not forwarded to the processor. Instead, the value is forwarded to the reporting functionality. #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX | [optional] -**cardholderVerificationMethodUsed** | **Integer** | Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM | [optional] +**cardholderVerificationMethodUsed** | **Integer** | Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM - `4`: Biometric - `5`: OTP | [optional] **laneNumber** | **String** | Identifier for an alternate terminal at your retail location. You define the value for this field. This field is supported only for MasterCard transactions on FDC Nashville Global. Otherwise, this field is not used by all other processors. Use the `terminalId` field to identify the main terminal at your retail location. If your retail location has multiple terminals, use this `laneNumber` field to identify the terminal used for the transaction. This field is a pass-through, which means that the value is not checked or modified in any way before sending it to the processor. Optional field. #### Card present reply messaging Identifier for an alternate terminal at your retail location. You defined the value for this field in the request message. This value must be printed on the receipt. This field is supported only for MasterCard transactions on FDC Nashville Global. | [optional] **catLevel** | **Integer** | Type of cardholder-activated terminal. Possible values: - 1: Automated dispensing machine - 2: Self-service terminal - 3: Limited amount terminal - 4: In-flight commerce (IFC) terminal - 5: Radio frequency device - 6: Mobile acceptance terminal - 7: Electronic cash register - 8: E-commerce device at your location - 9: Terminal or cash register that uses a dialup connection to connect to the transaction processing network #### Chase Paymentech Solutions Only values 1, 2, and 3 are supported. Required if `pointOfSaleInformation.terminalID` is included in the request; otherwise, optional. #### CyberSource through VisaNet Values 1 through 6 are supported on CyberSource through VisaNet, but some acquirers do not support all six values. Optional field. #### FDC Nashville Global Only values 7, 8, and 9 are supported. Optional field for EMV transactions; otherwise, not used. #### GPN Only values 6, 7, 8, and 9 are supported. Required field. #### JCN Gateway Only values 6, 7, 8, and 9 are supported. Required field. #### TSYS Acquiring Solutions Only value 6 is supported. Required for transactions from mobile devices; otherwise, not used. #### All other processors Not used. Nonnegative integer. | [optional] **entryMode** | **String** | Method of entering payment card information into the POS terminal. Possible values: - `contact`: Read from direct contact with chip card. - `contactless`: Read from a contactless interface using chip data. - `keyed`: Manually keyed into POS terminal. This value is not supported on OmniPay Direct. - `msd`: Read from a contactless interface using magnetic stripe data (MSD). This value is not supported on OmniPay Direct. - `swiped`: Read from credit card magnetic stripe. The `contact`, `contactless`, and `msd` values are supported only for EMV transactions. #### Used by **Authorization** Required field. #### Card Present Card present information about EMV applies only to credit card processing and PIN debit processing. All other card present information applies only to credit card processing. #### PIN debit Required for a PIN debit purchase and a PIN debit credit request. | [optional] @@ -17,6 +17,7 @@ Name | Type | Description | Notes **trackData** | **String** | Card's track 1 and 2 data. For all processors except FDMS Nashville, this value consists of one of the following: - Track 1 data - Track 2 data - Data for both tracks 1 and 2 For FDMS Nashville, this value consists of one of the following: - Track 1 data - Data for both tracks 1 and 2 Example: %B4111111111111111^SMITH/JOHN ^1612101976110000868000000?;4111111111111111=16121019761186800000? #### Used by **Authorization** Required for Chase Paymentech Solutions, Credit Mutuel-CIC, CyberSource through VisaNet, FDC Nashville Global, JCN Gateway, OmniPay Direct, and SIX if `pointOfSaleInformation.entryMode` is equal to one of these values: - `contact` - `contactless` - `msd` - `swiped` Otherwise, this field not used. Required for all other processors if `pointOfSaleInformation.entryMode=swiped`; otherwise, this field is not used. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International #### PIN debit Track 2 data from the debit card. The sentinels are required. Required field for a PIN debit purchase and a PIN debit credit. | [optional] **storeAndForwardIndicator** | **String** | When connectivity is unavailable, the client software that is installed on the POS terminal can store a transaction in its memory and send it for authorization when connectivity is restored. This value is provided by the client software that is installed on the POS terminal. This value is not forwarded to the processor. Instead, the value is forwarded to the reporting functionality. Possible values: - `Y`: Transaction was stored and then forwarded. - `N` (default): Transaction was not stored and then forwarded. For authorizations and credits, this field is supported only on these processors: - American Express Direct - FDC Nashville Global - OmniPay Direct - SIX Optional field. | [optional] **cardholderVerificationMethod** | **List<String>** | Complete list of cardholder verification methods (CVMs) supported by the terminal. Optional field. Possible values: - `PIN`: For terminals with a PIN Pad - `Signature`: For terminals capable of receiving a signature - `pinOnGlass`: For terminals where PIN is entered on a glass-based capture mechanism **EXAMPLE**: [\"PIN\",\"Signature\"]; [\"pinOnGlass\",\"Signature\"] | [optional] +**terminalCategory** | **String** | Indicates the type of terminal. Possible values: - `AFD`: Automated Fuel Dispenser | [optional] **terminalInputCapability** | **List<String>** | Complete list of card input methods supported by the terminal. Possible values: - `Keyed`: Terminal can accept card data that is entered manually. - `Swiped`: Terminal can accept card data from a magnetic stripe reader. - `Contact`: Terminal can accept card data in EMV contact mode (\"dipping a card\"). - `Contactless`: Terminal can accept card data in EMV contactless mode (\"tapping a card\"). - `BarCode`: Terminal can read bar codes. - `QRcode`: Terminal can read or scan QR codes. - `OCR`: Terminal can perform optical character recognition (OCT) on the card. **EXAMPLE**: [\"Keyed\",\"Swiped\",\"Contact\",\"Contactless\"] #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX | [optional] **terminalCardCaptureCapability** | **String** | Indicates whether the terminal can capture the card. Possible values: - `1`: Terminal can capture card. - `0`: Terminal cannot capture card. For authorizations and credits, this field is supported only by these processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct Optional field. | [optional] **terminalOutputCapability** | **String** | Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field. | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformation.md b/docs/Ptsv2paymentsProcessingInformation.md index b316984d0..0ebdd6ecc 100644 --- a/docs/Ptsv2paymentsProcessingInformation.md +++ b/docs/Ptsv2paymentsProcessingInformation.md @@ -42,6 +42,10 @@ Name | Type | Description | Notes **paymentType** | **String** | Identifier for the payment type. | [optional] **enablerId** | **String** | Enablers are payment processing entities that are not acquiring members and are often the primary relationship owner with merchants and originators. Enablers own technical solutions through which the merchant or originator will access acceptance. The Enabler ID is a five-character hexadecimal identifier that will be used by Visa to identify enablers. Enabler ID assignment will be determined by Visa. Visa will communicate Enablers assignments to enablers. | [optional] **processingInstruction** | **String** | The instruction to process an order. - default value: 'NO_INSTRUCTION' - 'ORDER_SAVED_EXPLICITLY' | [optional] +**transactionTypeIndicator** | **String** | This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities | [optional] +**purposeOfPayment** | **String** | Possible values: - `16` : High Risk Security Other values can also be accommodated in future for different transactions. Currently this field is only used in OCT, we could not find any existing valid values for the past 30 days in production. Issuer may decline invalid purpose of payment code with response code 93. This field is also applicable for AFT transactions. For list of supported values, please refer to Developer Guide. | [optional] +**languageCode** | **String** | Contains the ISO 639-2 defined language Code | [optional] +**originalPaymentId** | **String** | This value is used for linking Authorization extension transaction to the original Authorization transaction and for linking MIT (Merchant initiated transaction) with the respective CIT (Customer initiated transaction). | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md b/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md index 1bb01b9d1..f5bf6cace 100644 --- a/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md +++ b/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md @@ -10,14 +10,14 @@ Name | Type | Description | Notes **verbalAuthTransactionId** | **String** | Transaction ID (TID). #### FDMS South This field is required for verbal authorizations and forced captures with the American Express card type to comply with the CAPN requirements: - Forced capture: Obtain the value for this field from the authorization response. - Verbal authorization: You cannot obtain a value for this field so CyberSource uses the default value of `000000000000000` (15 zeros). | [optional] **authIndicator** | **String** | Flag that specifies the purpose of the authorization. Possible values: - **0**: Preauthorization - **1**: Final authorization To set the default for this field, contact CyberSource Customer Support. #### Barclays and Elavon The default for Barclays and Elavon is 1 (final authorization). To change the default for this field, contact CyberSource Customer Support. #### CyberSource through VisaNet When the value for this field is 0, it corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR0 - Position: 164 - Field: Additional Authorization Indicators When the value for this field is 1, it does not correspond to any data in the TC 33 capture file. | [optional] **partialAuthIndicator** | **Boolean** | Flag that indicates whether the transaction is enabled for partial authorization. When the request includes this field, this value overrides the information in your account. Possible values: - `true`: Enable the transaction for partial authorization. - `false`: Do not enable the transaction for partial authorization. #### PIN debit Required field for partial authorizations that use PIN debit purchase; otherwise, not used. #### Used by **Authorization** Optional field. #### CyberSource through VisaNet To set the default for this field, contact CyberSource Customer Support. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR0 - Position: 164 - Field: Additional Authorization Indicators | [optional] -**extendAuthIndicator** | **String** | Flag that indicates whether the transaction is an extended authorization. | [optional] +**extendAuthIndicator** | **String** | Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period. Possible values: - true: Transaction is an Authorization Extension transaction. - false: Transaction is not an Authorization Extension transaction. | [optional] **balanceInquiry** | **Boolean** | Flag that indicates whether to return balance information. Possible values: - `true`: Return balance information. - `false`: Do not return balance information. #### Used by **Authorization** Required for a balance inquiry; otherwise, not used. #### PIN debit Required for a balance inquiry request of a PIN debit purchase; otherwise, not used. | [optional] **ignoreAvsResult** | **Boolean** | Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline, as indicated by a reply flag value of DAVSNO. Possible values: - `true`: Ignore the results of AVS checking and run the capture service. - `false` (default): If the authorization receives an AVS decline, do not run the capture service. When the value of this field is `true`, the list in the `processingInformation.authorizationOptions.declineAvsFlags` field is ignored. #### Used by **Authorization** Optional field. String (3) | [optional] **declineAvsFlags** | **List<String>** | Comma-separated list of AVS flags that cause the reply flag `DAVSNO` to be returned. **Important** To receive declines for the AVS code `N`, you must include the value `N` in the comma-separated list. ### AVS Codes for Cielo 3.0 and CyberSource Latin American Processing **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this section is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports. |AVS Code|Description| |--- |--- | |D|Partial match: postal code and address match.| |E|Not supported: AVS is not supported for this card type. _or_ Invalid: the acquirer returned an unrecognized value for the AVS response.| |F|Partial match: postal code matches, but CPF and address do not match.*| |G|Not supported: AVS not supported or not verified.| |I|No match: AVS information is not available.| |K|Partial match: CPF matches, but postal code and address do not match.*| |L|Partial match: postal code and CPF match, but address does not match.*| |N|No match: postal code, CPF, and address do not match.*| |O|Partial match: CPF and address match, but postal code does not match.*| |R|Not supported: your implementation does not support AVS _or_ System unavailable.| |T|Partial match: address matches, but postal code and CPF do not match.*| |V|Match: postal code, CPF, and address match.*| |* CPF (Cadastro de Pessoas Fisicas) is required only for Redecard in Brazil.|| ### AVS Codes for All Other Processors **Note** The list of AVS codes for all other processors follows these descriptions of the processor-specific information for these codes. #### American Express Cards For American Express cards only, you can receive Visa and CyberSource AVS codes in addition to the American Express AVS codes. **Note** For CyberSource through VisaNet, the American Express AVS codes are converted to Visa AVS codes before they are returned to you. As a result, you will not receive American Express AVS codes for the American Express card type.<br/><br/> _American Express Card codes_: `F`, `H`, `K`, `L`, `O`, `T`, `V` #### Domestic and International Visa Cards The international and domestic alphabetic AVS codes are the Visa standard AVS codes. CyberSource maps the standard AVS return codes for other types of payment cards, including American Express cards, to the Visa standard AVS codes. AVS is considered either domestic or international, depending on the location of the bank that issued the customer's payment card: - When the bank is in the U.S., the AVS is domestic. - When the bank is outside the U.S., the AVS is international. You should be prepared to handle both domestic and international AVS result codes: - For international cards, you can receive domestic AVS codes in addition to the international AVS codes. - For domestic cards, you can receive international AVS codes in addition to the domestic AVS codes. _International Visa Codes_: `B`, `C`, `D`, `G`, `I`, `M`, `P` _Domestic Visa Codes_: `A`, `E`,`N`, `R`, `S`, `U`, `W`, `X`, `Y`, `Z` #### CyberSource Codes The numeric AVS codes are created by CyberSource and are not standard Visa codes. These AVS codes can be returned for any card type. _CyberSource Codes_: `1`, `2`, `3`, `4` ### Table of AVS Codes for All Other Processors |AVS Code|Description| |--- |--- | |A|Partial match: street address matches, but 5-digit and 9-digit postal codes do not match.| |B|Partial match: street address matches, but postal code is not verified. Returned only for Visa cards not issued in the U.S.| |C|No match: street address and postal code do not match. Returned only for Visa cards not issued in the U.S.| |D & M|Match: street address and postal code match. Returned only for Visa cards not issued in the U.S.| |E|Invalid: AVS data is invalid or AVS is not allowed for this card type.| |F|Partial match: card member's name does not match, but billing postal code matches.| |G|Not supported: issuing bank outside the U.S. does not support AVS.| |H|Partial match: card member's name does not match, but street address and postal code match. Returned only for the American Express card type.| |I|No match: address not verified. Returned only for Visa cards not issued in the U.S.| |K|Partial match: card member's name matches, but billing address and billing postal code do not match. Returned only for the American Express card type.| |L|Partial match: card member's name and billing postal code match, but billing address does not match. Returned only for the American Express card type.| |M|See the entry for D & M.| |N|No match: one of the following: street address and postal code do not match _or_ (American Express card type only) card member's name, street address, and postal code do not match.| |O|Partial match: card member's name and billing address match, but billing postal code does not match. Returned only for the American Express card type.| |P|Partial match: postal code matches, but street address not verified. Returned only for Visa cards not issued in the U.S.| |R|System unavailable.| |S|Not supported: issuing bank in the U.S. does not support AVS.| |T|Partial match: card member's name does not match, but street address matches. Returned only for the American Express card type.| |U|System unavailable: address information unavailable for one of these reasons: The U.S. bank does not support AVS outside the U.S. _or_ The AVS in a U.S. bank is not functioning properly.| |V|Match: card member's name, billing address, and billing postal code match. Returned only for the American Express card type.| |W|Partial match: street address does not match, but 9-digit postal code matches.| |X|Match: street address and 9-digit postal code match.| |Y|Match: street address and 5-digit postal code match.| |Z|Partial match: street address does not match, but 5-digit postal code matches.| |1|Not supported: one of the following: AVS is not supported for this processor or card type _or_ AVS is disabled for your CyberSource account. To enable AVS, contact CyberSource Customer Support.| |2|Unrecognized: the processor returned an unrecognized value for the AVS response.| |3|Match: address is confirmed. Returned only for PayPal Express Checkout.| |4|No match: address is not confirmed. Returned only for PayPal Express Checkout.| |5|No match: no AVS code was returned by the processor.| | [optional] **ignoreCvResult** | **Boolean** | Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives a CVN decline, as indicated by an `processorInformation.cardVerification.resultCode` value of `D` or `N`. Possible values: - `true`: Ignore the results of CVN checking and run the capture service. - `false` (default): If the authorization receives a CVN decline, do not run the capture service. #### Used by **Authorization** Optional field. | [optional] **initiator** | [**Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator**](Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md) | | [optional] **billPayment** | **Boolean** | Indicates payment for bill or payment towards existing contractual loan. Possible values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. Optional request field. | [optional] -**billPaymentType** | **String** | Reason for the payment. Possible values: - 001: Utility payment - 002: Government services - 003: Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. | [optional] +**billPaymentType** | **String** | Reason for the payment. Possible values: - 001: Public utilities / Utility payment - 002: Government services - 003: Cellular / Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment - 006: Billing payment - 007: Tax payment - 008: Tax payment refunds The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. | [optional] **redemptionInquiry** | **Boolean** | Flag that indicates the payment request is a redemption inquiry. Possible values: - `true` - `false` | [optional] **transportationMode** | **String** | Type of transportation mode : Possible Values: - 00 = Unknown - 01 = Urban bus - 02 = Interurban bus - 03=Lighttrainmasstransit(Underground Metro LTR) - 04 = Train - 05 = Commuter train - 06 = Water-borne vehicle - 07 = Toll - 08 = Parking - 09 = Taxi - 10 = High-speed train - 11 = Rural bus - 12 = Express commuter train - 13 = Para transit - 14 = Self drive vehicle - 15 = Coach - 16 = Locomotive - 17 = Powered motor coach - 18 = Trailer - 19 = Regional train - 20 = Inter-city - 21 = Funicular train - 22 = Cable car | [optional] **aggregatedAuthIndicator** | **String** | Indicates if transaction is an aggregated auth Possible values: - **true** - **false** | [optional] @@ -26,7 +26,11 @@ Name | Type | Description | Notes **cashAdvanceIndicator** | **Boolean** | This API field enables the merchant to indicate that a given transaction is Cash Advance. Cash advance or Cash disbursement functionality allows a merchant to dispense cash at a point of sale. It provides the ability of a POS system to act like an ATM. These terminals are typically seen in bank branches where customers can use their card and withdraw cash or at merchant locations where ATMs are sparse. Possible values: - `true` (Cash advance is supported) - `false` (default: cash advance is not supported) | [optional] **splitPaymentTransaction** | **Boolean** | #### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported) | [optional] **cardVerificationIndicator** | **Boolean** | This API field will indicate whether a card verification check is being performed during the transaction Possible values: - `true` - `false` (default value) | [optional] +**transactionMode** | **String** | Transaction mode identifier. Identifies the specific channel from which the transaction originates. Possible values: - M – Mobile Order - T – Telephone Order | [optional] **aftIndicator** | **Boolean** | Indicates whether the transaction is an Account Funding Transaction (AFT). This field is mandatory for Account Funding Transactions (AFT). Possible values: - `true` (This is an AFT transaction) - `false` (default value) (This is not an AFT transaction) | [optional] +**serviceType** | **String** | Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time funding or a live-load. This type of transaction can also be connected to a purchase. In back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: - account one is used to make the purchase - account two is used to automatically fund or reimburse account one Possible values: - 0B = back to back funding transaction - 00 = normal transaction - 01 = originator hold - 02 = Visa deferred OCT hold, default interval - 03 = Visa deferred OCT hold, user-defined interval - 09 = Cancel pending deferred OCT request - 0I = Visa Direct custom program 1 - 0Q = uery the status of the deferred OCT - A0 = Alias Directory 2 | [optional] +**balanceUpdate** | **Boolean** | Merchant to inform Cybersource whether a transaction is Money load with Balance Update. Possible values: - `true` (This is a Money load with balance update transaction) - `false` (default value) (This is not a Money load with balance update transaction) | [optional] +**moneyLoad** | **Boolean** | Merchant to inform Cybersource whether a transaction is Money load with Money load only. Possible values: - `true` (This is a money load transaction) - `false` (default value) (This is not a money load transaction) | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md b/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md index 7878166fc..87d6f766c 100644 --- a/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md +++ b/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **reason** | **String** | Reason for the merchant-initiated transaction or incremental authorization. Possible values: - `1`: Resubmission - `2`: Delayed charge - `3`: Reauthorization for split shipment - `4`: No show - `5`: Account top up This field is required only for the five kinds of transactions in the preceding list. This field is supported only for merchant-initiated transactions and incremental authorizations. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR0 - Position: 160-163 - Field: Message Reason Code | [optional] **previousTransactionId** | **String** | Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_ in the reply message for either the original merchant-initiated payment in the series or the previous merchant-initiated payment in the series. If the current payment request includes a token instead of an account number, the following time limits apply for the value of this field: - For a **resubmission**, the transaction ID must be less than 14 days old. - For a **delayed charge** or **reauthorization**, the transaction ID must be less than 30 days old. **NOTE**: The value for this field does not correspond to any data in the TC 33 capture file5. This field is supported only for Visa transactions on CyberSource through VisaNet. | [optional] **originalAuthorizedAmount** | **String** | Amount of the original authorization. This field is supported only for Apple Pay, Google Pay, and Samsung Pay transactions with Discover on FDC Nashville Global and Chase Paymentech. | [optional] +**agreementId** | **String** | An API to carry the agreement ID generated for recurring and unscheduled Card on file transaction. the merchant generates this per card holder or per payment agreement and shares the generated unique ID in the subsequent transactions. This can contain foreign/arabic character set also. Cybersource forwards this value to the Saudi Payment processor. | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformationCaptureOptions.md b/docs/Ptsv2paymentsProcessingInformationCaptureOptions.md index 5a0165e85..b46e62433 100644 --- a/docs/Ptsv2paymentsProcessingInformationCaptureOptions.md +++ b/docs/Ptsv2paymentsProcessingInformationCaptureOptions.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **dateToCapture** | **String** | Date on which you want the capture to occur. This field is supported only for CyberSource through VisaNet. Format: `MMDD` #### Used by **Authorization** Optional field. | [optional] **isFinal** | **String** | Indicates whether to release the authorization hold on the remaining funds. Possible Values: - `true` - `false` | [optional] **notes** | **String** | An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives. | [optional] +**reconciliationId** | **String** | Used for authbill request when capture field equals true | [optional] +**reconciliationIdAlternate** | **String** | Used by Nike merchant to send 12 digit order number | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformationPurchaseOptions.md b/docs/Ptsv2paymentsProcessingInformationPurchaseOptions.md index c251cf4bb..b6690f0c0 100644 --- a/docs/Ptsv2paymentsProcessingInformationPurchaseOptions.md +++ b/docs/Ptsv2paymentsProcessingInformationPurchaseOptions.md @@ -6,6 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **isElectronicBenefitsTransfer** | **Boolean** | Flag that indicates whether this transaction is an EBT transaction. Possible values: - `true` - `false` #### PIN debit Required field for EBT and EBT voucher transactions that use PIN debit credit or PIN debit purchase; otherwise, not used. | [optional] **type** | **String** | Flag that indicates an EBT voucher transaction. Possible value: - `EBT_VOUCHER`: Indicates the PIN debit transaction is an EBT voucher. - `BUY` - `RENT` - `BOOK` - `SUBSCRIBE` - `DOWNLOAD` - `ORDER` - `CONTINUE` #### PIN debit Required field for EBT voucher transactions that use PIN debit purchase; otherwise, not used. | [optional] +**eligibilityIndicator** | **String** | This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile | [optional] +**benefitAmount** | **String** | Workplace benefit amount. | [optional] +**benefitType** | **String** | Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education | [optional] diff --git a/docs/Ptsv2paymentsRecipientInformation.md b/docs/Ptsv2paymentsRecipientInformation.md index 5aaf1562c..22b2fde98 100644 --- a/docs/Ptsv2paymentsRecipientInformation.md +++ b/docs/Ptsv2paymentsRecipientInformation.md @@ -10,12 +10,19 @@ Name | Type | Description | Notes **middleName** | **String** | Middle name of the recipient. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. | [optional] **lastName** | **String** | Last name of the recipient. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. | [optional] **address1** | **String** | The street address of the recipient This field is applicable for AFT and OCT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. | [optional] +**administrativeArea** | **String** | The state or province of the recipient. This field is applicable for AFT transactions when the recipient country is US or CA. Else it is optional. Must be a two character value | [optional] **postalCode** | **String** | Partial postal code for the recipient's address. For example, if the postal code is **NN5 7SG**, the value for this field should be the first part of the postal code: **NN5**. This field is a _pass-through_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. | [optional] **country** | **String** | The country associated with the address of the recipient. This field is applicable for AFT and OCT transactions. Must be a two character ISO country code. For example, see [ISO Country Code](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) | [optional] **dateOfBirth** | **String** | Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. | [optional] **beneficiaryId** | **String** | Only for e-wallets: ID, username, hash or anything uniquely identifying the ultimate beneficiary. | [optional] **beneficiaryName** | **String** | Only for e-wallets: The ultimate beneficiary's full name. | [optional] **beneficiaryAddress** | **String** | Only for e-wallets: The ultimate beneficiary's street address (street, zip code, city), excluding the country. Example: \"Main street 1, 12345, Barcelona | [optional] +**aliasName** | **String** | Account owner alias name. | [optional] +**nationality** | **String** | Account Owner Nationality | [optional] +**countryOfBirth** | **String** | Account Owner Country of Birth | [optional] +**occupation** | **String** | Account Owner Occupation | [optional] +**email** | **String** | Account Owner email address | [optional] +**locality** | **String** | The city of the recipient. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. | [optional] diff --git a/docs/Ptsv2paymentsSenderInformation.md b/docs/Ptsv2paymentsSenderInformation.md index 9d81d44f6..6b7c4a90f 100644 --- a/docs/Ptsv2paymentsSenderInformation.md +++ b/docs/Ptsv2paymentsSenderInformation.md @@ -11,6 +11,10 @@ Name | Type | Description | Notes **locality** | **String** | The city or locality of the sender. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. | [optional] **administrativeArea** | **String** | The state or province of the sender. This field is applicable for AFT transactions when the sender country is US or CA. Else it is optional. Must be a two character value | [optional] **countryCode** | **String** | The country associated with the address of the sender. This field is applicable for AFT transactions. Must be a two character ISO country code. For example, see [ISO Country Code](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) | [optional] +**aliasName** | **String** | Sender's alias name. | [optional] +**referenceNumber** | **String** | This field is applicable for AFT transactions. Contains a transaction reference number provided by the Merchant. Only alpha numeric values are supported. | [optional] +**account** | [**Ptsv2paymentsSenderInformationAccount**](Ptsv2paymentsSenderInformationAccount.md) | | [optional] +**postalCode** | **String** | Postal code of sender. | [optional] diff --git a/docs/Ptsv2paymentsSenderInformationAccount.md b/docs/Ptsv2paymentsSenderInformationAccount.md new file mode 100644 index 000000000..accd9f2e6 --- /dev/null +++ b/docs/Ptsv2paymentsSenderInformationAccount.md @@ -0,0 +1,12 @@ + +# Ptsv2paymentsSenderInformationAccount + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**number** | **String** | The account number of the entity funding the transaction. The value for this field can be a payment card account number or bank account number. | [optional] +**type** | **String** | Identifies the sender's account type. This field is applicable for AFT transactions. Valid values are: - `00` for Other - `01` for Routing Transit Number (RTN) + Bank Account Number (BAN) - `02` for International Bank Account Number (IBAN) - `03` for Card Account - `04` for Email - `05` for Phone Number - `06` for Bank Account Number (BAN) + Bank Identification Code (BIC), also known as a SWIFT code - `07` for Wallet ID - `08` for Social Network ID | [optional] +**fundsSource** | **String** | Source of funds. Possible Values: - `01`: Credit. - `02`: Debit. - `03`: Prepaid. - `04`: Deposit Account. - `05`: Mobile Money Account. - `06`: Cash. - `07`: Other. - `V5`: Debits / deposit access other than those linked to the cardholders' scheme. - `V6`: Credit accounts other than those linked to the cardholder's scheme. | [optional] + + + diff --git a/docs/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.md b/docs/Ptsv2paymentsUnscheduledPaymentInformation.md similarity index 84% rename from docs/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.md rename to docs/Ptsv2paymentsUnscheduledPaymentInformation.md index 68ba1464a..7b4c20f0f 100644 --- a/docs/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.md +++ b/docs/Ptsv2paymentsUnscheduledPaymentInformation.md @@ -1,5 +1,5 @@ -# TssV2TransactionsGet200ResponseUnscheduledPaymentInformation +# Ptsv2paymentsUnscheduledPaymentInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Ptsv2paymentsidcapturesInstallmentInformation.md b/docs/Ptsv2paymentsidcapturesInstallmentInformation.md index 2cf729611..91c408084 100644 --- a/docs/Ptsv2paymentsidcapturesInstallmentInformation.md +++ b/docs/Ptsv2paymentsidcapturesInstallmentInformation.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **firstInstallmentDate** | **String** | Date of the first installment payment. Format: YYMMDD. When you do not include this field, CyberSource sends a string of six zeros (000000) to the processor. This field is supported only for Crediario installment payments in Brazil on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR9 - Position: 42-47 - Field: Date of First Installment | [optional] **firstInstallmentAmount** | **String** | Amount of the first installment payment. The issuer provides this value when the first installment payment is successful. This field is supported for Mastercard installment payments on CyberSource through VisaNet in all countries except Brazil,Croatia, Georgia, and Greece. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR5 - Position: 23-34 - Field: Amount of Each Installment | [optional] **invoiceData** | **String** | Invoice information that you want to provide to the issuer. This value is similar to a tracking number and is the same for all installment payments for one purchase. This field is supported only for installment payments with Mastercard on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR4 - Position: 51-70 - Field: Purchase Identification | [optional] -**paymentType** | **String** | Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information | [optional] +**paymentType** | **String** | Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. | [optional] **additionalCosts** | **String** | Additional costs charged by the issuer to fund the installment payments. This field is included in the authorization reply for the Crediario eligibility request when the issuer approves the cardholder's request for Crediario installment payments in Brazil. This field is supported only for Crediario installment payments in Brazil on **CyberSource through VisaNet**. The value for this field corresponds to the following data in the TC 33 capture file1: - Record: CP01 TCR9 - Position: 128-139 - Field: Total Other Costs | [optional] **additionalCostsPercentage** | **String** | Additional costs divided by the amount funded. For example: - A value of 1.0 specifies 1%. - A value of 4.0 specifies 4%. This field is included in the authorization reply for the Crediario eligibility request when the issuer approves the cardholder's request for Crediario installment payments in Brazil. This field is supported only for Crediario installment payments in Brazil on **CyberSource through VisaNet**. The value for this field corresponds to the following data in the TC 33 capture file1: - Record: CP01 TCR9 - Position: 140-143 - Field: Percent of Total Other Costs | [optional] **amountFunded** | **String** | Amount funded. This field is included in the authorization reply for the Crediario eligibility request when the issuer approves the cardholder's request for Crediario installment payments in Brazil. This field is supported only for Crediario installment payments in Brazil on **CyberSource through VisaNet**. The value for this field corresponds to the following data in the TC 33 capture file1: - Record: CP01 TCR9 - Position: 48-59 - Field: Total Amount Funded | [optional] diff --git a/docs/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.md b/docs/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.md index 0940bf503..ae3add2b2 100644 --- a/docs/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.md +++ b/docs/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **totalCaptureCount** | **Integer** | Total number of captures when requesting multiple partial captures for one payment. Used along with `captureSequenceNumber` field to track which capture is being processed. For example, the second of five captures would be passed to CyberSource as: - `captureSequenceNumber = 2`, and - `totalCaptureCount = 5` | [optional] **isFinal** | **String** | Indicates whether to release the authorization hold on the remaining funds. Possible Values: - `true` - `false` | [optional] **notes** | **String** | An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives. | [optional] +**reconciliationIdAlternate** | **String** | Used by Nike merchant to send 12 digit order number | [optional] diff --git a/docs/Ptsv2paymentsidrefundsPointOfSaleInformation.md b/docs/Ptsv2paymentsidrefundsPointOfSaleInformation.md index 33edc5f16..9f75eac87 100644 --- a/docs/Ptsv2paymentsidrefundsPointOfSaleInformation.md +++ b/docs/Ptsv2paymentsidrefundsPointOfSaleInformation.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **emv** | [**Ptsv2paymentsidcapturesPointOfSaleInformationEmv**](Ptsv2paymentsidcapturesPointOfSaleInformationEmv.md) | | [optional] +**terminalCategory** | **String** | Indicates the type of terminal. Possible values: - `AFD`: Automated Fuel Dispenser | [optional] diff --git a/docs/Ptsv2paymentsidrefundsProcessingInformation.md b/docs/Ptsv2paymentsidrefundsProcessingInformation.md index 0f69f14d6..da0312d41 100644 --- a/docs/Ptsv2paymentsidrefundsProcessingInformation.md +++ b/docs/Ptsv2paymentsidrefundsProcessingInformation.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **industryDataType** | **String** | Indicates that the transaction includes industry-specific data. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit` - `transit` #### Card Present, Airlines and Auto Rental You must set this field to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to `airline` or is not included in the request, no airline data is sent to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to `restaurant` or is not included in the request, no restaurant data is sent to the processor. You must set this field to `auto_rental` in order for auto rental data to be sent to the processor. For example, if this field is not set to `auto_rental` or is not included in the request, no auto rental data is sent to the processor. Restaurant data is supported only on CyberSource through VisaNet. | [optional] **paymentType** | **String** | Identifier for the payment type | [optional] **refundOptions** | [**Ptsv2paymentsidrefundsProcessingInformationRefundOptions**](Ptsv2paymentsidrefundsProcessingInformationRefundOptions.md) | | [optional] +**transactionTypeIndicator** | **String** | This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities | [optional] diff --git a/docs/Ptsv2paymentsidreversalsProcessingInformation.md b/docs/Ptsv2paymentsidreversalsProcessingInformation.md index 67400f79b..b1bd19150 100644 --- a/docs/Ptsv2paymentsidreversalsProcessingInformation.md +++ b/docs/Ptsv2paymentsidreversalsProcessingInformation.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **visaCheckoutId** | **String** | Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. | [optional] **issuer** | [**Ptsv2paymentsIssuerInformation**](Ptsv2paymentsIssuerInformation.md) | | [optional] **actionList** | **List<String>** | Array of actions (one or more) to be included in the reversal Possible value: - `AP_AUTH_REVERSAL`: Use this when you want to reverse an Alternative Payment Authorization. | [optional] +**transactionTypeIndicator** | **String** | This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities | [optional] diff --git a/docs/Ptsv1pushfundstransferAggregatorInformation.md b/docs/Ptsv2payoutsAggregatorInformation.md similarity index 54% rename from docs/Ptsv1pushfundstransferAggregatorInformation.md rename to docs/Ptsv2payoutsAggregatorInformation.md index 5267be5b0..5a2973df7 100644 --- a/docs/Ptsv1pushfundstransferAggregatorInformation.md +++ b/docs/Ptsv2payoutsAggregatorInformation.md @@ -1,5 +1,5 @@ -# Ptsv1pushfundstransferAggregatorInformation +# Ptsv2payoutsAggregatorInformation ## Properties Name | Type | Description | Notes @@ -7,7 +7,12 @@ Name | Type | Description | Notes **aggregatorId** | **String** | Value that identifies you as a payment aggregator. Get this value from the processor. | [optional] **name** | **String** | Your payment aggregator business name. This field is conditionally required when aggregator id is present. | [optional] **independentSalesOrganizationID** | **String** | Independent sales organization ID. This field is only used for Mastercard transactions submitted through PPGS. | [optional] -**subMerchant** | [**Ptsv1pushfundstransferAggregatorInformationSubMerchant**](Ptsv1pushfundstransferAggregatorInformationSubMerchant.md) | | [optional] +**subMerchant** | [**Ptsv2payoutsAggregatorInformationSubMerchant**](Ptsv2payoutsAggregatorInformationSubMerchant.md) | | [optional] +**streetAddress** | **String** | Acquirer street name. | [optional] +**city** | **String** | Acquirer city. | [optional] +**state** | **String** | Acquirer state. | [optional] +**postalCode** | **String** | Acquirer postal code. | [optional] +**country** | **String** | Acquirer country. | [optional] diff --git a/docs/Ptsv1pushfundstransferAggregatorInformationSubMerchant.md b/docs/Ptsv2payoutsAggregatorInformationSubMerchant.md similarity index 77% rename from docs/Ptsv1pushfundstransferAggregatorInformationSubMerchant.md rename to docs/Ptsv2payoutsAggregatorInformationSubMerchant.md index 49285f2f6..c4f77eab7 100644 --- a/docs/Ptsv1pushfundstransferAggregatorInformationSubMerchant.md +++ b/docs/Ptsv2payoutsAggregatorInformationSubMerchant.md @@ -1,5 +1,5 @@ -# Ptsv1pushfundstransferAggregatorInformationSubMerchant +# Ptsv2payoutsAggregatorInformationSubMerchant ## Properties Name | Type | Description | Notes diff --git a/docs/Ptsv2payoutsProcessingInformation.md b/docs/Ptsv2payoutsProcessingInformation.md index 45be7856b..5c141c7e2 100644 --- a/docs/Ptsv2payoutsProcessingInformation.md +++ b/docs/Ptsv2payoutsProcessingInformation.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes **transactionReason** | **String** | Transaction reason code. | [optional] **purposeOfPayment** | **String** | This will send purpose of funds code for original credit transactions (OCTs). | [optional] **fundingOptions** | [**Ptsv2payoutsProcessingInformationFundingOptions**](Ptsv2payoutsProcessingInformationFundingOptions.md) | | [optional] +**languageCode** | **String** | Contains the ISO 639-2 defined language Code | [optional] +**purchaseOptions** | [**Ptsv2payoutsProcessingInformationPurchaseOptions**](Ptsv2payoutsProcessingInformationPurchaseOptions.md) | | [optional] diff --git a/docs/Ptsv2payoutsProcessingInformationPurchaseOptions.md b/docs/Ptsv2payoutsProcessingInformationPurchaseOptions.md new file mode 100644 index 000000000..c8dcc8e1e --- /dev/null +++ b/docs/Ptsv2payoutsProcessingInformationPurchaseOptions.md @@ -0,0 +1,11 @@ + +# Ptsv2payoutsProcessingInformationPurchaseOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**benefitAmount** | **String** | Workplace benefit amount. | [optional] +**benefitType** | **String** | Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education | [optional] + + + diff --git a/docs/Ptsv2payoutsRecipientInformation.md b/docs/Ptsv2payoutsRecipientInformation.md index f93eafe37..c9e826af7 100644 --- a/docs/Ptsv2payoutsRecipientInformation.md +++ b/docs/Ptsv2payoutsRecipientInformation.md @@ -13,6 +13,11 @@ Name | Type | Description | Notes **country** | **String** | Recipient country code. Required only for FDCCompass. | [optional] **postalCode** | **String** | Recipient postal code. Required only for FDCCompass. | [optional] **phoneNumber** | **String** | Recipient phone number. Required only for FDCCompass. | [optional] +**aliasName** | **String** | Account owner alias name. | [optional] +**nationality** | **String** | Account Owner Nationality | [optional] +**countryOfBirth** | **String** | Account Owner Country of Birth | [optional] +**occupation** | **String** | Account Owner Occupation | [optional] +**email** | **String** | Account Owner email address | [optional] diff --git a/docs/Ptsv2payoutsSenderInformation.md b/docs/Ptsv2payoutsSenderInformation.md index e11569ef1..79985ff22 100644 --- a/docs/Ptsv2payoutsSenderInformation.md +++ b/docs/Ptsv2payoutsSenderInformation.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **personalIdType** | **String** | #### Visa Platform Connect This tag will contain the type of sender identification. The valid values are: • BTHD (Date of birth) • CUID (Customer identification (unspecified)) • NTID (National identification) • PASN (Passport number) • DRLN (Driver license) • TXIN (Tax identification) • CPNY (Company registration number) • PRXY (Proxy identification) • SSNB (Social security number) • ARNB (Alien registration number) • LAWE (Law enforcement identification) • MILI (Military identification) • TRVL (Travel identification (non-passport)) • EMAL (Email) • PHON (Phone number) | [optional] **type** | **String** | #### Visa Platform Connect This tag will denote whether the tax ID is a business or individual tax ID when personal ID Type contains the value of TXIN (Tax identification). The valid values are: • B (Business) • I (Individual) | [optional] **identificationNumber** | **String** | #### Visa Platform Connect This tag will contain an acquirer-populated value associated with the API : senderInformation.personalIdType which will identify the personal ID type of the sender. | [optional] +**aliasName** | **String** | Sender's alias name. | [optional] diff --git a/docs/Ptsv2voidsProcessingInformation.md b/docs/Ptsv2voidsProcessingInformation.md index 12d5c5de8..03819eaa9 100644 --- a/docs/Ptsv2voidsProcessingInformation.md +++ b/docs/Ptsv2voidsProcessingInformation.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**paymentId** | **Object** | This field is to accept the id of credit/capture in the body of the requests so the type of void can be identified and processed correctly. | [optional] +**paymentId** | **String** | This field is to accept the id of credit/capture in the body of the requests so the type of void can be identified and processed correctly. | [optional] diff --git a/docs/PushFundsRequest.md b/docs/PushFundsRequest.md index cd494f73d..633eca333 100644 --- a/docs/PushFundsRequest.md +++ b/docs/PushFundsRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**aggregatorInformation** | [**Ptsv1pushfundstransferAggregatorInformation**](Ptsv1pushfundstransferAggregatorInformation.md) | | [optional] +**aggregatorInformation** | [**Ptsv2payoutsAggregatorInformation**](Ptsv2payoutsAggregatorInformation.md) | | [optional] **clientReferenceInformation** | [**Ptsv1pushfundstransferClientReferenceInformation**](Ptsv1pushfundstransferClientReferenceInformation.md) | | [optional] **orderInformation** | [**Ptsv1pushfundstransferOrderInformation**](Ptsv1pushfundstransferOrderInformation.md) | | **processingInformation** | [**Ptsv1pushfundstransferProcessingInformation**](Ptsv1pushfundstransferProcessingInformation.md) | | [optional] diff --git a/docs/TmsBinLookup.md b/docs/TmsBinLookup.md new file mode 100644 index 000000000..4bcc0add7 --- /dev/null +++ b/docs/TmsBinLookup.md @@ -0,0 +1,11 @@ + +# TmsBinLookup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**paymentAccountInformation** | [**TmsBinLookupPaymentAccountInformation**](TmsBinLookupPaymentAccountInformation.md) | | [optional] +**issuerInformation** | [**TmsBinLookupIssuerInformation**](TmsBinLookupIssuerInformation.md) | | [optional] + + + diff --git a/docs/InlineResponse2011IssuerInformation.md b/docs/TmsBinLookupIssuerInformation.md similarity index 96% rename from docs/InlineResponse2011IssuerInformation.md rename to docs/TmsBinLookupIssuerInformation.md index 74e89e16a..e4d6fff83 100644 --- a/docs/InlineResponse2011IssuerInformation.md +++ b/docs/TmsBinLookupIssuerInformation.md @@ -1,5 +1,5 @@ -# InlineResponse2011IssuerInformation +# TmsBinLookupIssuerInformation ## Properties Name | Type | Description | Notes diff --git a/docs/TmsBinLookupPaymentAccountInformation.md b/docs/TmsBinLookupPaymentAccountInformation.md new file mode 100644 index 000000000..eff25a847 --- /dev/null +++ b/docs/TmsBinLookupPaymentAccountInformation.md @@ -0,0 +1,12 @@ + +# TmsBinLookupPaymentAccountInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**card** | [**TmsBinLookupPaymentAccountInformationCard**](TmsBinLookupPaymentAccountInformationCard.md) | | [optional] +**features** | [**TmsBinLookupPaymentAccountInformationFeatures**](TmsBinLookupPaymentAccountInformationFeatures.md) | | [optional] +**network** | [**TmsBinLookupPaymentAccountInformationNetwork**](TmsBinLookupPaymentAccountInformationNetwork.md) | | [optional] + + + diff --git a/docs/InlineResponse2011PaymentAccountInformationCard.md b/docs/TmsBinLookupPaymentAccountInformationCard.md similarity index 95% rename from docs/InlineResponse2011PaymentAccountInformationCard.md rename to docs/TmsBinLookupPaymentAccountInformationCard.md index 2f4c325a3..a491dd218 100644 --- a/docs/InlineResponse2011PaymentAccountInformationCard.md +++ b/docs/TmsBinLookupPaymentAccountInformationCard.md @@ -1,5 +1,5 @@ -# InlineResponse2011PaymentAccountInformationCard +# TmsBinLookupPaymentAccountInformationCard ## Properties Name | Type | Description | Notes @@ -9,7 +9,7 @@ Name | Type | Description | Notes **currency** | **String** | This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency. | [optional] **maxLength** | **String** | This field contains the max length of the card. | [optional] **credentialType** | **String** | This field contains the type of the payment credential. Possible values: - PAN - TOKEN | [optional] -**brands** | [**List<InlineResponse2011PaymentAccountInformationCardBrands>**](InlineResponse2011PaymentAccountInformationCardBrands.md) | Array of brands | [optional] +**brands** | [**List<TmsBinLookupPaymentAccountInformationCardBrands>**](TmsBinLookupPaymentAccountInformationCardBrands.md) | Array of brands | [optional] diff --git a/docs/InlineResponse2011PaymentAccountInformationCardBrands.md b/docs/TmsBinLookupPaymentAccountInformationCardBrands.md similarity index 98% rename from docs/InlineResponse2011PaymentAccountInformationCardBrands.md rename to docs/TmsBinLookupPaymentAccountInformationCardBrands.md index 41f222b2d..93373fc75 100644 --- a/docs/InlineResponse2011PaymentAccountInformationCardBrands.md +++ b/docs/TmsBinLookupPaymentAccountInformationCardBrands.md @@ -1,5 +1,5 @@ -# InlineResponse2011PaymentAccountInformationCardBrands +# TmsBinLookupPaymentAccountInformationCardBrands ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2011PaymentAccountInformationFeatures.md b/docs/TmsBinLookupPaymentAccountInformationFeatures.md similarity index 97% rename from docs/InlineResponse2011PaymentAccountInformationFeatures.md rename to docs/TmsBinLookupPaymentAccountInformationFeatures.md index f0318f3d9..591968da8 100644 --- a/docs/InlineResponse2011PaymentAccountInformationFeatures.md +++ b/docs/TmsBinLookupPaymentAccountInformationFeatures.md @@ -1,5 +1,5 @@ -# InlineResponse2011PaymentAccountInformationFeatures +# TmsBinLookupPaymentAccountInformationFeatures ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2011PaymentAccountInformationNetwork.md b/docs/TmsBinLookupPaymentAccountInformationNetwork.md similarity index 86% rename from docs/InlineResponse2011PaymentAccountInformationNetwork.md rename to docs/TmsBinLookupPaymentAccountInformationNetwork.md index 96c52dfcd..2f50e07b2 100644 --- a/docs/InlineResponse2011PaymentAccountInformationNetwork.md +++ b/docs/TmsBinLookupPaymentAccountInformationNetwork.md @@ -1,5 +1,5 @@ -# InlineResponse2011PaymentAccountInformationNetwork +# TmsBinLookupPaymentAccountInformationNetwork ## Properties Name | Type | Description | Notes diff --git a/docs/TmsCardArt.md b/docs/TmsCardArt.md new file mode 100644 index 000000000..1deb85794 --- /dev/null +++ b/docs/TmsCardArt.md @@ -0,0 +1,14 @@ + +# TmsCardArt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**foregroundColor** | **String** | Card foreground color. | [optional] +**combinedAsset** | [**TmsCardArtCombinedAsset**](TmsCardArtCombinedAsset.md) | | [optional] +**brandLogoAsset** | [**TmsCardArtBrandLogoAsset**](TmsCardArtBrandLogoAsset.md) | | [optional] +**issuerLogoAsset** | [**TmsCardArtIssuerLogoAsset**](TmsCardArtIssuerLogoAsset.md) | | [optional] +**iconAsset** | [**TmsCardArtIconAsset**](TmsCardArtIconAsset.md) | | [optional] + + + diff --git a/docs/TmsCardArtBrandLogoAsset.md b/docs/TmsCardArtBrandLogoAsset.md new file mode 100644 index 000000000..6cd569b8c --- /dev/null +++ b/docs/TmsCardArtBrandLogoAsset.md @@ -0,0 +1,11 @@ + +# TmsCardArtBrandLogoAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Unique identifier for the asset | [optional] +**links** | [**TmsCardArtBrandLogoAssetLinks**](TmsCardArtBrandLogoAssetLinks.md) | | [optional] + + + diff --git a/docs/TmsCardArtBrandLogoAssetLinks.md b/docs/TmsCardArtBrandLogoAssetLinks.md new file mode 100644 index 000000000..43562e4ec --- /dev/null +++ b/docs/TmsCardArtBrandLogoAssetLinks.md @@ -0,0 +1,10 @@ + +# TmsCardArtBrandLogoAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**TmsCardArtBrandLogoAssetLinksSelf**](TmsCardArtBrandLogoAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/TmsCardArtBrandLogoAssetLinksSelf.md b/docs/TmsCardArtBrandLogoAssetLinksSelf.md new file mode 100644 index 000000000..9d3eb1d60 --- /dev/null +++ b/docs/TmsCardArtBrandLogoAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# TmsCardArtBrandLogoAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo' | [optional] + + + diff --git a/docs/TmsCardArtCombinedAsset.md b/docs/TmsCardArtCombinedAsset.md new file mode 100644 index 000000000..9bb97c4a5 --- /dev/null +++ b/docs/TmsCardArtCombinedAsset.md @@ -0,0 +1,11 @@ + +# TmsCardArtCombinedAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Unique identifier for the asset | [optional] +**links** | [**TmsCardArtCombinedAssetLinks**](TmsCardArtCombinedAssetLinks.md) | | [optional] + + + diff --git a/docs/TmsCardArtCombinedAssetLinks.md b/docs/TmsCardArtCombinedAssetLinks.md new file mode 100644 index 000000000..c827d2574 --- /dev/null +++ b/docs/TmsCardArtCombinedAssetLinks.md @@ -0,0 +1,10 @@ + +# TmsCardArtCombinedAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**TmsCardArtCombinedAssetLinksSelf**](TmsCardArtCombinedAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/TmsCardArtCombinedAssetLinksSelf.md b/docs/TmsCardArtCombinedAssetLinksSelf.md new file mode 100644 index 000000000..179c7fa7a --- /dev/null +++ b/docs/TmsCardArtCombinedAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# TmsCardArtCombinedAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined' | [optional] + + + diff --git a/docs/TmsCardArtIconAsset.md b/docs/TmsCardArtIconAsset.md new file mode 100644 index 000000000..437cdd748 --- /dev/null +++ b/docs/TmsCardArtIconAsset.md @@ -0,0 +1,11 @@ + +# TmsCardArtIconAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Unique identifier for the asset | [optional] +**links** | [**TmsCardArtIconAssetLinks**](TmsCardArtIconAssetLinks.md) | | [optional] + + + diff --git a/docs/TmsCardArtIconAssetLinks.md b/docs/TmsCardArtIconAssetLinks.md new file mode 100644 index 000000000..cab6c5922 --- /dev/null +++ b/docs/TmsCardArtIconAssetLinks.md @@ -0,0 +1,10 @@ + +# TmsCardArtIconAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**TmsCardArtIconAssetLinksSelf**](TmsCardArtIconAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/TmsCardArtIconAssetLinksSelf.md b/docs/TmsCardArtIconAssetLinksSelf.md new file mode 100644 index 000000000..2ed3092fc --- /dev/null +++ b/docs/TmsCardArtIconAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# TmsCardArtIconAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/icon' | [optional] + + + diff --git a/docs/TmsCardArtIssuerLogoAsset.md b/docs/TmsCardArtIssuerLogoAsset.md new file mode 100644 index 000000000..93336d43f --- /dev/null +++ b/docs/TmsCardArtIssuerLogoAsset.md @@ -0,0 +1,11 @@ + +# TmsCardArtIssuerLogoAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Unique identifier for the asset | [optional] +**links** | [**TmsCardArtIssuerLogoAssetLinks**](TmsCardArtIssuerLogoAssetLinks.md) | | [optional] + + + diff --git a/docs/TmsCardArtIssuerLogoAssetLinks.md b/docs/TmsCardArtIssuerLogoAssetLinks.md new file mode 100644 index 000000000..3a582640b --- /dev/null +++ b/docs/TmsCardArtIssuerLogoAssetLinks.md @@ -0,0 +1,10 @@ + +# TmsCardArtIssuerLogoAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**TmsCardArtIssuerLogoAssetLinksSelf**](TmsCardArtIssuerLogoAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/TmsCardArtIssuerLogoAssetLinksSelf.md b/docs/TmsCardArtIssuerLogoAssetLinksSelf.md new file mode 100644 index 000000000..d6b65ac74 --- /dev/null +++ b/docs/TmsCardArtIssuerLogoAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# TmsCardArtIssuerLogoAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo' | [optional] + + + diff --git a/docs/TmsEmbeddedInstrumentIdentifier.md b/docs/TmsEmbeddedInstrumentIdentifier.md index 484ec2b9e..4500179bf 100644 --- a/docs/TmsEmbeddedInstrumentIdentifier.md +++ b/docs/TmsEmbeddedInstrumentIdentifier.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] **metadata** | [**TmsEmbeddedInstrumentIdentifierMetadata**](TmsEmbeddedInstrumentIdentifierMetadata.md) | | [optional] +**embedded** | [**TmsEmbeddedInstrumentIdentifierEmbedded**](TmsEmbeddedInstrumentIdentifierEmbedded.md) | | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifierBankAccount.md b/docs/TmsEmbeddedInstrumentIdentifierBankAccount.md index 90d9ff6d6..2b1316cc8 100644 --- a/docs/TmsEmbeddedInstrumentIdentifierBankAccount.md +++ b/docs/TmsEmbeddedInstrumentIdentifierBankAccount.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **number** | **String** | Account number. When processing encoded account numbers, use this field for the encoded account number. | [optional] -**routingNumber** | **String** | Bank routing number. This is also called the transit number. | [optional] +**routingNumber** | **String** | Bank routing number. This is also called the transit number. # For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifierEmbedded.md b/docs/TmsEmbeddedInstrumentIdentifierEmbedded.md new file mode 100644 index 000000000..38a3e2501 --- /dev/null +++ b/docs/TmsEmbeddedInstrumentIdentifierEmbedded.md @@ -0,0 +1,10 @@ + +# TmsEmbeddedInstrumentIdentifierEmbedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**binLookup** | [**TmsBinLookup**](TmsBinLookup.md) | | [optional] + + + diff --git a/docs/TmsPaymentInstrumentProcessingInfo.md b/docs/TmsPaymentInstrumentProcessingInfo.md index ab4018f8c..5dbdfcecd 100644 --- a/docs/TmsPaymentInstrumentProcessingInfo.md +++ b/docs/TmsPaymentInstrumentProcessingInfo.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**billPaymentProgramEnabled** | **Boolean** | Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. | [optional] +**billPaymentProgramEnabled** | **Boolean** | Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. # For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **bankTransferOptions** | [**TmsPaymentInstrumentProcessingInfoBankTransferOptions**](TmsPaymentInstrumentProcessingInfoBankTransferOptions.md) | | [optional] diff --git a/docs/TmsPaymentInstrumentProcessingInfoBankTransferOptions.md b/docs/TmsPaymentInstrumentProcessingInfoBankTransferOptions.md index 8e92db530..f7ccb443b 100644 --- a/docs/TmsPaymentInstrumentProcessingInfoBankTransferOptions.md +++ b/docs/TmsPaymentInstrumentProcessingInfoBankTransferOptions.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**seCCode** | **String** | Specifies the authorization method for the transaction. #### TeleCheck Possible Values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry | [optional] +**seCCode** | **String** | Specifies the authorization method for the transaction. #### TeleCheck Possible Values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry # For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) | [optional] diff --git a/docs/Tmsv2TokenizedCard.md b/docs/Tmsv2TokenizedCard.md index bc8517382..8188f158e 100644 --- a/docs/Tmsv2TokenizedCard.md +++ b/docs/Tmsv2TokenizedCard.md @@ -4,17 +4,25 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **String** | The network token card association brand Possible Values: - visa - mastercard - americanexpress | [optional] -**source** | **String** | This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data. Possible Values: - TOKEN - ISSUER - ONFILE | [optional] -**state** | **String** | State of the network token or network token provision Possible Values: - ACTIVE : Network token is active. - SUSPENDED : Network token is suspended. This state can change back to ACTIVE. - DELETED : This is a final state for a network token instance. - UNPROVISIONED : A previous network token provision was unsuccessful. | [optional] -**enrollmentId** | **String** | Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully. | [optional] -**tokenReferenceId** | **String** | Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully. | [optional] +**links** | [**Tmsv2TokenizedCardLinks**](Tmsv2TokenizedCardLinks.md) | | [optional] +**id** | **String** | The Id of the Tokenized Card. | [optional] +**object** | **String** | The type. Possible Values: - tokenizedCard | [optional] +**accountReferenceId** | **String** | An identifier provided by the issuer for the account. | [optional] +**consumerId** | **String** | Identifier of the consumer within the wallet. Maximum 24 characters for VTS. | [optional] +**createInstrumentIdentifier** | **Boolean** | Specifies whether the InstrumentId should be created (true) or not (false). Possible Values: - `true`: The InstrumentId should be created. - `false`: The InstrumentId should be created. | [optional] +**source** | **String** | Source of the payment instrument. Possible Values: - ONFILE - TOKEN - ISSUER | [optional] +**state** | **String** | State of the network token or network token provision. Possible Values: ACTIVE : Network token is active. SUSPENDED : Network token is suspended. This state can change back to ACTIVE. DELETED : This is a final state for a network token instance. UNPROVISIONED : A previous network token. | [optional] **reason** | **String** | Issuers state for the network token Possible Values: - INVALID_REQUEST : The network token provision request contained invalid data. - CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified. - CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization. - CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization. - DECLINED : Card can currently not be used with issuer for tokenization. - SERVICE_UNAVAILABLE : The network token service was unavailable or timed out. - SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration. | [optional] -**number** | **String** | The token requestors network token | [optional] -**expirationMonth** | **String** | Two-digit month in which the network token expires. Format: `MM`. Possible Values: `01` through `12`. | [optional] -**expirationYear** | **String** | Four-digit year in which the network token expires. Format: `YYYY`. | [optional] -**cryptogram** | **String** | Generated value used in conjunction with the network token for making a payment. | [optional] +**number** | **String** | The token requestor's network token for the provided PAN and consumer Id, if available. | [optional] +**cryptogram** | **String** | Value generated by the card association to be used alongside the network token for processing a payment. | [optional] +**securityCode** | **String** | 4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF. | [optional] +**eci** | **String** | Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication. | [optional] +**requestorId** | **String** | 11-digit identifier that uniquely identifies the Token Requestor. | [optional] +**enrollmentId** | **String** | Unique id to identify this PAN/ enrollment. | [optional] +**tokenReferenceId** | **String** | Unique ID for netwrok token. | [optional] +**paymentAccountReference** | **String** | Payment account reference. | [optional] **card** | [**Tmsv2TokenizedCardCard**](Tmsv2TokenizedCardCard.md) | | [optional] +**passcode** | [**Tmsv2TokenizedCardPasscode**](Tmsv2TokenizedCardPasscode.md) | | [optional] **metadata** | [**Tmsv2TokenizedCardMetadata**](Tmsv2TokenizedCardMetadata.md) | | [optional] diff --git a/docs/Tmsv2TokenizedCardCard.md b/docs/Tmsv2TokenizedCardCard.md index aa1ea19bb..68c371127 100644 --- a/docs/Tmsv2TokenizedCardCard.md +++ b/docs/Tmsv2TokenizedCardCard.md @@ -4,9 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**suffix** | **String** | The customer's latest payment card number suffix | [optional] -**expirationMonth** | **String** | Two-digit month in which the customer's latest payment card expires. Format: `MM`. Possible Values: `01` through `12`. | [optional] -**expirationYear** | **String** | Four-digit year in which the customer's latest payment card expires. Format: `YYYY`. | [optional] +**number** | **String** | The customer's payment card number, also known as the Primary Account Number (PAN). | [optional] +**expirationMonth** | **String** | Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`. | [optional] +**expirationYear** | **String** | Four-digit year in which the credit card expires. Format: `YYYY`. | [optional] +**type** | **String** | The type of card(Card network). Possible Values: 001: visa | [optional] +**suffix** | **String** | The customer's latest payment card number suffix. | [optional] diff --git a/docs/Tmsv2TokenizedCardLinks.md b/docs/Tmsv2TokenizedCardLinks.md new file mode 100644 index 000000000..6fe428bda --- /dev/null +++ b/docs/Tmsv2TokenizedCardLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardLinksSelf**](Tmsv2TokenizedCardLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardLinksSelf.md b/docs/Tmsv2TokenizedCardLinksSelf.md new file mode 100644 index 000000000..a2a16c467 --- /dev/null +++ b/docs/Tmsv2TokenizedCardLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the Tokenized Card. example: 'tms/v2/tokenized-cards/7010000000016241111' | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadata.md b/docs/Tmsv2TokenizedCardMetadata.md index d745ea6f9..ca9e864b7 100644 --- a/docs/Tmsv2TokenizedCardMetadata.md +++ b/docs/Tmsv2TokenizedCardMetadata.md @@ -4,7 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**cardArt** | [**Tmsv2TokenizedCardMetadataCardArt**](Tmsv2TokenizedCardMetadataCardArt.md) | | [optional] +**cardArt** | [**TmsCardArt**](TmsCardArt.md) | | [optional] +**issuer** | [**Tmsv2TokenizedCardMetadataIssuer**](Tmsv2TokenizedCardMetadataIssuer.md) | | [optional] diff --git a/docs/Tmsv2TokenizedCardMetadataCardArt.md b/docs/Tmsv2TokenizedCardMetadataCardArt.md deleted file mode 100644 index 9a00a69ad..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArt.md +++ /dev/null @@ -1,16 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArt - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**combinedAsset** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAsset**](Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md) | | [optional] -**brandLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md) | | [optional] -**coBrandLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md) | | [optional] -**issuerLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md) | | [optional] -**iconAsset** | [**Tmsv2TokenizedCardMetadataCardArtIconAsset**](Tmsv2TokenizedCardMetadataCardArtIconAsset.md) | | [optional] -**foregroundColor** | **String** | The foreground color of the brand logo asset. | [optional] -**backgroundAsset** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAsset**](Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md deleted file mode 100644 index da04dc892..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtBackgroundAsset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The Id of the icon asset. | [optional] -**links** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks**](Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md deleted file mode 100644 index bc9cc1c24..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md deleted file mode 100644 index b1d4fd7d4..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **String** | Link to the background asset. | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md deleted file mode 100644 index 3b1af0b93..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The Id of the brand logo asset. | [optional] -**links** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md deleted file mode 100644 index 1d133f0a7..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md deleted file mode 100644 index 29f7f2dee..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **String** | Link to the brand logo asset. | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md deleted file mode 100644 index 1444a2ac4..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The Id of the co-brand logo asset. | [optional] -**links** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md deleted file mode 100644 index 33f6a0052..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md deleted file mode 100644 index 2f3aec9ac..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **String** | Link to the co-brand logo asset. | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md deleted file mode 100644 index 6181fef94..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtCombinedAsset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The Id of the combined asset. | [optional] -**links** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks**](Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md deleted file mode 100644 index cfda17c91..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md deleted file mode 100644 index 0b5455c2d..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **String** | Link to the combined asset. | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md deleted file mode 100644 index 30c39b740..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtIconAsset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The Id of the icon asset. | [optional] -**links** | [**Tmsv2TokenizedCardMetadataCardArtIconAssetLinks**](Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md deleted file mode 100644 index 19cd26e2b..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtIconAssetLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md deleted file mode 100644 index bd86701c6..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **String** | Link to the icon asset. | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md deleted file mode 100644 index aa0c29e31..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The Id of the issuer logo asset. | [optional] -**links** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md deleted file mode 100644 index 0640d5ad4..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md deleted file mode 100644 index 63e46c0d4..000000000 --- a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **String** | Link to the issuer logo asset. | [optional] - - - diff --git a/docs/Tmsv2TokenizedCardMetadataIssuer.md b/docs/Tmsv2TokenizedCardMetadataIssuer.md new file mode 100644 index 000000000..7a8437847 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataIssuer.md @@ -0,0 +1,12 @@ + +# Tmsv2TokenizedCardMetadataIssuer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | issuer name. | [optional] +**shortDescription** | **String** | issuer short description. | [optional] +**longDescription** | **String** | issuer long description. | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardPasscode.md b/docs/Tmsv2TokenizedCardPasscode.md new file mode 100644 index 000000000..14415aa97 --- /dev/null +++ b/docs/Tmsv2TokenizedCardPasscode.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardPasscode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **String** | OTP generated at issuer. | [optional] + + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md index d7f64227c..909e6cc6a 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md +++ b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **companyTaxID** | **String** | Company's tax identifier. This is only used for eCheck service. | [optional] -**currency** | **String** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). | [optional] +**currency** | **String** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **dateOfBirth** | [**LocalDate**](LocalDate.md) | Date of birth of the customer. Format: YYYY-MM-DD | [optional] **personalIdentification** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] diff --git a/docs/TssV2TransactionsGet200Response.md b/docs/TssV2TransactionsGet200Response.md index 669b7bd71..91625f1aa 100644 --- a/docs/TssV2TransactionsGet200Response.md +++ b/docs/TssV2TransactionsGet200Response.md @@ -25,7 +25,7 @@ Name | Type | Description | Notes **paymentInformation** | [**TssV2TransactionsGet200ResponsePaymentInformation**](TssV2TransactionsGet200ResponsePaymentInformation.md) | | [optional] **paymentInsightsInformation** | [**PtsV2PaymentsPost201ResponsePaymentInsightsInformation**](PtsV2PaymentsPost201ResponsePaymentInsightsInformation.md) | | [optional] **payoutOptions** | [**TssV2TransactionsGet200ResponsePayoutOptions**](TssV2TransactionsGet200ResponsePayoutOptions.md) | | [optional] -**unscheduledPaymentInformation** | [**TssV2TransactionsGet200ResponseUnscheduledPaymentInformation**](TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.md) | | [optional] +**unscheduledPaymentInformation** | [**Ptsv2paymentsUnscheduledPaymentInformation**](Ptsv2paymentsUnscheduledPaymentInformation.md) | | [optional] **processingInformation** | [**TssV2TransactionsGet200ResponseProcessingInformation**](TssV2TransactionsGet200ResponseProcessingInformation.md) | | [optional] **processorInformation** | [**TssV2TransactionsGet200ResponseProcessorInformation**](TssV2TransactionsGet200ResponseProcessorInformation.md) | | [optional] **recurringPaymentInformation** | [**TssV2TransactionsGet200ResponseRecurringPaymentInformation**](TssV2TransactionsGet200ResponseRecurringPaymentInformation.md) | | [optional] diff --git a/docs/TssV2TransactionsGet200ResponsePointOfSaleInformation.md b/docs/TssV2TransactionsGet200ResponsePointOfSaleInformation.md index 231a05916..0db7927f0 100644 --- a/docs/TssV2TransactionsGet200ResponsePointOfSaleInformation.md +++ b/docs/TssV2TransactionsGet200ResponsePointOfSaleInformation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **terminalId** | **String** | Identifier for the terminal at your retail location. You can define this value yourself, but consult the processor for requirements. #### CyberSource through VisaNet A list of all possible values is stored in your CyberSource account. If terminal ID validation is enabled for your CyberSource account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact CyberSource Customer Support. When you do not include this field in a request, CyberSource uses the default value that is defined in your CyberSource account. #### FDC Nashville Global To have your account configured to support this field, contact CyberSource Customer Support. This value must be a value that FDC Nashville Global issued to you. #### For Payouts This field is applicable for CyberSource through VisaNet. #### GPX Identifier for the terminal at your retail location. A list of all possible values is stored in your account. If terminal ID validation is enabled for your account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact customer support. When you do not include this field in a request, the default value that is defined in your account is used. Optional for authorizations. #### Used by **Authorization** Optional for the following processors. When you do not include this field in a request, the default value that is defined in your account is used. - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - SIX - Chase Paymentech Solutions: Optional field. If you include this field in your request, you must also include `pointOfSaleInformation.catLevel`. - FDMS Nashville: The default value that is defined in your account is used. - GPX - OmniPay Direct: Optional field. For the following processors, this field is not used. - GPN - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions - Worldpay VAP #### Card Present reply Terminal identifier assigned by the acquirer. This value must be printed on the receipt. | [optional] **entryMode** | **String** | Method of entering payment card information into the POS terminal. Possible values: - `contact`: Read from direct contact with chip card. - `contactless`: Read from a contactless interface using chip data. - `keyed`: Manually keyed into POS terminal. This value is not supported on OmniPay Direct. - `msd`: Read from a contactless interface using magnetic stripe data (MSD). This value is not supported on OmniPay Direct. - `swiped`: Read from credit card magnetic stripe. The `contact`, `contactless`, and `msd` values are supported only for EMV transactions. #### Used by **Authorization** Required field. #### Card Present Card present information about EMV applies only to credit card processing and PIN debit processing. All other card present information applies only to credit card processing. #### PIN debit Required for a PIN debit purchase and a PIN debit credit request. | [optional] **terminalCapability** | **Integer** | POS terminal's capability. Possible values: - `1`: Terminal has a magnetic stripe reader only. - `2`: Terminal has a magnetic stripe reader and manual entry capability. - `3`: Terminal has manual entry capability only. - `4`: Terminal can read chip cards. - `5`: Terminal can read contactless chip cards; cannot use contact to read chip cards. For an EMV transaction, the value of this field must be `4` or `5`. #### PIN debit Required for PIN debit purchase and PIN debit credit request. #### Used by **Authorization** Required for the following processors: - American Express Direct - Chase Paymentech Solutions - Credit Mutuel-CIC - FDC Nashville Global - FDMS Nashville - OmniPay Direct - SIX - Worldpay VAP Optional for the following processors: - CyberSource through VisaNet - GPN - GPX - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions | [optional] -**cardholderVerificationMethodUsed** | **Integer** | Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM | [optional] +**cardholderVerificationMethodUsed** | **Integer** | Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM - `4`: Biometric - `5`: OTP | [optional] **emv** | [**Ptsv2paymentsidreversalsPointOfSaleInformationEmv**](Ptsv2paymentsidreversalsPointOfSaleInformationEmv.md) | | [optional] diff --git a/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md b/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md index 212b0b351..64f67ea9e 100644 --- a/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md +++ b/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **authType** | **String** | Authorization type. Possible values: - `AUTOCAPTURE`: automatic capture. - `STANDARDCAPTURE`: standard capture. - `VERBAL`: forced capture. Include it in the payment request for a forced capture. Include it in the capture request for a verbal payment. #### Asia, Middle East, and Africa Gateway; Cielo; Comercio Latino; and CyberSource Latin American Processing Set this field to `AUTOCAPTURE` and include it in a bundled request to indicate that you are requesting an automatic capture. If your account is configured to enable automatic captures, set this field to `STANDARDCAPTURE` and include it in a standard authorization or bundled request to indicate that you are overriding an automatic capture. #### Forced Capture Set this field to `VERBAL` and include it in the authorization request to indicate that you are performing a forced capture; therefore, you receive the authorization code outside the CyberSource system. #### Verbal Authorization Set this field to `VERBAL` and include it in the capture request to indicate that the request is for a verbal authorization. #### for PayPal ptsV2CreateOrderPost400Response Set this field to 'AUTHORIZE' or 'CAPTURE' depending on whether you want to invoke delayed capture or sale respectively. | [optional] **authIndicator** | **String** | Flag that specifies the purpose of the authorization. Possible values: - **0**: Preauthorization - **1**: Final authorization To set the default for this field, contact CyberSource Customer Support. #### Barclays and Elavon The default for Barclays and Elavon is 1 (final authorization). To change the default for this field, contact CyberSource Customer Support. #### CyberSource through VisaNet When the value for this field is 0, it corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR0 - Position: 164 - Field: Additional Authorization Indicators When the value for this field is 1, it does not correspond to any data in the TC 33 capture file. | [optional] -**extendAuthIndicator** | **String** | Flag that indicates whether the transaction is an extended authorization. | [optional] +**extendAuthIndicator** | **String** | Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period. Possible values: - true: Transaction is an Authorization Extension transaction. - false: Transaction is not an Authorization Extension transaction. | [optional] **cardVerificationIndicator** | **Boolean** | This API field will indicate whether a card verification check is being performed during the transaction Possible values: - `true` - `false` (default value) | [optional] **initiator** | [**TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator**](TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.md) | | [optional] diff --git a/docs/Upv1capturecontextsCheckoutApiInitialization.md b/docs/Upv1capturecontextsCheckoutApiInitialization.md deleted file mode 100644 index f4806f5f7..000000000 --- a/docs/Upv1capturecontextsCheckoutApiInitialization.md +++ /dev/null @@ -1,19 +0,0 @@ - -# Upv1capturecontextsCheckoutApiInitialization - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**profileId** | **String** | | [optional] -**accessKey** | **String** | | [optional] -**referenceNumber** | **String** | | [optional] -**transactionUuid** | **String** | | [optional] -**transactionType** | **String** | | [optional] -**currency** | **String** | | [optional] -**amount** | **String** | | [optional] -**locale** | **String** | | [optional] -**overrideCustomReceiptPage** | **String** | | [optional] -**unsignedFieldNames** | **String** | | [optional] - - - diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 35f69c590..8671afd97 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -373,6 +373,12 @@ "payments" ], "operationId": "createPayment", + "produces": [ + "application/hal+json;charset=utf-8" + ], + "consumes": [ + "application/json;charset=utf-8" + ], "x-devcenter-metaData": { "categoryTag": "Payments", "testingTriggers": "https://developer.cybersource.com/hello-world/testing-guide.html", @@ -582,7 +588,8 @@ }, "extendAuthIndicator": { "type": "string", - "description": "Flag that indicates whether the transaction is an extended authorization.\n" + "maxLength": 5, + "description": "Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period.\n\nPossible values:\n- true: Transaction is an Authorization Extension transaction. \n- false: Transaction is not an Authorization Extension transaction.\n" }, "balanceInquiry": { "type": "boolean", @@ -637,6 +644,11 @@ "type": "string", "maxLength": 61, "description": "Amount of the original authorization.\n\nThis field is supported only for Apple Pay, Google Pay, and Samsung Pay transactions with Discover on FDC Nashville Global and Chase Paymentech.\n" + }, + "agreementId": { + "type": "string", + "maxLength": 140, + "description": "An API to carry the agreement ID generated for recurring and unscheduled Card on file transaction. the merchant generates this per card holder or per payment agreement and shares the generated unique ID in the subsequent transactions. This can contain foreign/arabic character set also. Cybersource forwards this value to the Saudi Payment processor.\n" } } } @@ -648,7 +660,7 @@ }, "billPaymentType": { "type": "string", - "description": "Reason for the payment.\n\nPossible values:\n- 001: Utility payment\n- 002: Government services\n- 003: Mobile phone top-up\n- 004: Coupon payment\n- 005: Installment based repayment\n\nThe value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil):\n- Record: CP07 TCR0\n- Position: 48-50\n- Field: Bill Payment Transaction Type Identifier\n\nThe value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment)\nbased Repayment):\n- Record: CP01 TCR6\n- Position: 154-156\n- Field: Bill Payment Transaction Type Identifier\n\n\nThis field is supported for\n1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet.\n2. Installment based repayment transactions on Cybersource through VisaNet.\n" + "description": "Reason for the payment.\n\nPossible values:\n- 001: Public utilities / Utility payment\n- 002: Government services\n- 003: Cellular / Mobile phone top-up\n- 004: Coupon payment\n- 005: Installment based repayment\n- 006: Billing payment\n- 007: Tax payment\n- 008: Tax payment refunds\n\nThe value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil):\n- Record: CP07 TCR0\n- Position: 48-50\n- Field: Bill Payment Transaction Type Identifier\n\nThe value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment)\nbased Repayment):\n- Record: CP01 TCR6\n- Position: 154-156\n- Field: Bill Payment Transaction Type Identifier\n\n\nThis field is supported for\n1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet.\n2. Installment based repayment transactions on Cybersource through VisaNet.\n" }, "redemptionInquiry": { "type": "boolean", @@ -682,9 +694,27 @@ "type": "boolean", "description": "This API field will indicate whether a card verification check is being performed during the transaction\n\nPossible values:\n - `true`\n - `false` (default value)\n" }, + "transactionMode": { + "type": "string", + "maxLength": 1, + "description": "Transaction mode identifier. Identifies the specific channel from which the transaction originates.\n\nPossible values:\n- M \u2013 Mobile Order\n- T \u2013 Telephone Order\n" + }, "aftIndicator": { "type": "boolean", "description": "Indicates whether the transaction is an Account Funding Transaction (AFT). \nThis field is mandatory for Account Funding Transactions (AFT). \n\nPossible values:\n - `true` (This is an AFT transaction)\n - `false` (default value) (This is not an AFT transaction)\n" + }, + "serviceType": { + "type": "string", + "maxLength": 10, + "description": "Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time \nfunding or a live-load. This type of transaction can also be connected to a purchase. \nIn back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: \n- account one is used to make the purchase\n- account two is used to automatically fund or reimburse account one\n\nPossible values:\n- 0B = back to back funding transaction\n- 00 = normal transaction\n- 01 = originator hold\n- 02 = Visa deferred OCT hold, default interval\n- 03 = Visa deferred OCT hold, user-defined interval\n- 09 = Cancel pending deferred OCT request\n- 0I = Visa Direct custom program 1\n- 0Q = uery the status of the deferred OCT\n- A0 = Alias Directory 2\n" + }, + "balanceUpdate": { + "type": "boolean", + "description": "Merchant to inform Cybersource whether a transaction is Money load with Balance Update.\n\nPossible values:\n - `true` (This is a Money load with balance update transaction)\n - `false` (default value) (This is not a Money load with balance update transaction)\n" + }, + "moneyLoad": { + "type": "boolean", + "description": "Merchant to inform Cybersource whether a transaction is Money load with Money load only.\n\nPossible values:\n - `true` (This is a money load transaction)\n - `false` (default value) (This is not a money load transaction)\n" } } }, @@ -717,6 +747,16 @@ "type": "string", "maxLength": 255, "description": "An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives.\n" + }, + "reconciliationId": { + "type": "string", + "maxLength": 60, + "description": "Used for authbill request when capture field equals true" + }, + "reconciliationIdAlternate": { + "type": "string", + "maxLength": 12, + "description": "Used by Nike merchant to send 12 digit order number" } } }, @@ -806,6 +846,21 @@ "type": "string", "maxLength": 20, "description": "Flag that indicates an EBT voucher transaction. Possible value:\n- `EBT_VOUCHER`: Indicates the PIN debit transaction is an EBT voucher.\n- `BUY`\n- `RENT`\n- `BOOK`\n- `SUBSCRIBE`\n- `DOWNLOAD`\n- `ORDER`\n- `CONTINUE`\n\n#### PIN debit\nRequired field for EBT voucher transactions that use PIN debit purchase; otherwise, not used.\n" + }, + "eligibilityIndicator": { + "type": "string", + "maxLength": 20, + "description": "This field contains installment data defined by MasterCard.\nPossible values:\n - Y = eligible\n - N = not eligile\n" + }, + "benefitAmount": { + "type": "string", + "maxLength": 20, + "description": "Workplace benefit amount." + }, + "benefitType": { + "type": "string", + "maxLength": 100, + "description": "Workplace benefit type.\nPossible values:\n- 70 = employee benefit\n- 4T = transportation / transit\n- 52 = general benefit\n- 53 = meal voucher\n- 54 = fuel\n- 55 = ecological / sustainability\n- 58 = philanthropy / patronage / consumption\n- 59 = gift\n- 5S = sport / culture\n- 5T = book / education\n" } } }, @@ -964,6 +1019,26 @@ "type": "string", "maxLength": 36, "description": "The instruction to process an order.\n- default value: 'NO_INSTRUCTION'\n- 'ORDER_SAVED_EXPLICITLY'\n" + }, + "transactionTypeIndicator": { + "type": "string", + "maxLength": 3, + "description": "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only.\nPossible values:\n- 201- Mastercard Rebate\n- 202- rePower Load Value\n- 203- Gaming Re-pay\n- 204- General Person-to-Person\n- 205- General Transfer to Own Account\n- 206- Agent Cash Out\n- 207- Payment of Own Credit Card Bill\n- 208- Business Disbursement\n- 209- Government/Non-Profit Disbursement\n- 210- Rapid Merchant Settlement\n- 211- Cash in at ATM (Usage limited to specific countries)\n- 212- Cash in at Point of Sale (Usage limited to specific countries)\n- 213- General Business to Business Transfer\n- 214- Mastercard Merchant Presented QR\n- 215- Mastercard Merchant Presented QR Refund Payment\n- 216- Utility Payments (for Brazil domestic use only)\n- 217- Government Services (for Brazil domestic use only)\n- 218- Mobile phone top-ups (for Brazil domestic use only)\n- 219- Coupon booklet payments (for Brazil domestic use only)\n- 220- General Person-to-Person Transfer\n- 221- Person-to-Person Transfer to Card Account\n- 222- General Transfer to Own Account\n- 223- Agent Cash Out\n- 224- Payment of Own Credit Card Bill\n- 225- Business Disbursement\n- 226- Transfer to Own Staged Digital Wallet Account\n- 227- Transfer to Own Debit or Prepaid Account\n- 228- General Business-to-Business Transfer\n- 229- Installment-based repayment\n- 230- Mastercard ATM Cash Pick-Up Transaction\n- 231- Cryptocurrency\n- 232- High-risk Securities\n" + }, + "purposeOfPayment": { + "type": "string", + "maxLength": 25, + "description": "\nPossible values:\n- `16` : High Risk Security\n\nOther values can also be accommodated in future for different transactions.\n\nCurrently this field is only used in OCT, we could not find any existing valid values for the past 30 days in production.\nIssuer may decline invalid purpose of payment code with response code 93.\n\nThis field is also applicable for AFT transactions. For list of supported values, please refer to Developer Guide.\n" + }, + "languageCode": { + "type": "string", + "maxLength": 10, + "description": "Contains the ISO 639-2 defined language Code\n" + }, + "originalPaymentId": { + "type": "string", + "maxLength": 26, + "description": "This value is used for linking Authorization extension transaction to the original Authorization transaction \nand for linking MIT (Merchant initiated transaction) with the respective CIT (Customer initiated transaction).\n" } } }, @@ -1719,7 +1794,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 2, + "maxLength": 50, "description": "State or province in the address of the company purchasing the product. Use the State, Province, and Territory\nCodes for the United States and Canada.\n" }, "postalCode": { @@ -1761,7 +1836,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -1864,12 +1939,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "county": { @@ -2197,7 +2272,7 @@ }, "purchaseOrderNumber": { "type": "string", - "maxLength": 25, + "maxLength": 50, "description": "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource\nrecommends that you do not populate the field with all zeros or nines.\n" }, "purchaseOrderDate": { @@ -2287,7 +2362,7 @@ }, "shippingMethod": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Shipping method for the product. Possible values:\n\n - `lowcost`: Lowest-cost service\n - `sameday`: Courier or same-day service\n - `oneday`: Next-day or overnight service\n - `twoday`: Two-day service\n - `threeday`: Three-day service\n - `pickup`: Store pick-up\n - `other`: Other shipping method\n - `none`: No shipping method because product is a service or subscription\n" }, "shipFromPostalCode": { @@ -2446,6 +2521,41 @@ "type": "string", "maxLength": 2, "description": "The country associated with the address of the sender.\nThis field is applicable for AFT transactions. \n\nMust be a two character ISO country code. \nFor example, see [ISO Country Code](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html)\n" + }, + "aliasName": { + "type": "string", + "maxLength": 50, + "description": "Sender's alias name." + }, + "referenceNumber": { + "type": "string", + "maxLength": 19, + "description": "This field is applicable for AFT transactions. \n\nContains a transaction reference number provided by the Merchant. Only alpha numeric values are supported.\n" + }, + "account": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 50, + "description": "The account number of the entity funding the transaction. The value for this field can be a payment card account number or bank account number.\n" + }, + "type": { + "type": "string", + "maxLength": 2, + "description": "Identifies the sender's account type.\nThis field is applicable for AFT transactions.\n\nValid values are:\n - `00` for Other\n - `01` for Routing Transit Number (RTN) + Bank Account Number (BAN)\n - `02` for International Bank Account Number (IBAN)\n - `03` for Card Account\n - `04` for Email\n - `05` for Phone Number\n - `06` for Bank Account Number (BAN) + Bank Identification Code (BIC), also known as a SWIFT code\n - `07` for Wallet ID\n - `08` for Social Network ID\n" + }, + "fundsSource": { + "type": "string", + "maxLength": 2, + "description": "Source of funds.\nPossible Values:\n - `01`: Credit.\n - `02`: Debit.\n - `03`: Prepaid.\n - `04`: Deposit Account.\n - `05`: Mobile Money Account.\n - `06`: Cash.\n - `07`: Other.\n - `V5`: Debits / deposit access other than those linked to the cardholders' scheme.\n - `V6`: Credit accounts other than those linked to the cardholder's scheme.\n" + } + } + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code of sender.\n" } } }, @@ -2482,6 +2592,11 @@ "maxLength": 50, "description": "The street address of the recipient\nThis field is applicable for AFT and OCT transactions.\n\nOnly alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. \n" }, + "administrativeArea": { + "type": "string", + "maxLength": 2, + "description": "The state or province of the recipient.\nThis field is applicable for AFT transactions when the recipient country is US or CA. Else it is optional.\n\nMust be a two character value\n" + }, "postalCode": { "type": "string", "maxLength": 10, @@ -2511,6 +2626,36 @@ "type": "string", "maxLength": 255, "description": "Only for e-wallets: The ultimate beneficiary's street address (street,\nzip code, city), excluding the country. Example: \"Main street 1, 12345,\nBarcelona\n" + }, + "aliasName": { + "type": "string", + "maxLength": 50, + "description": "Account owner alias name.\n" + }, + "nationality": { + "type": "string", + "maxLength": 10, + "description": "Account Owner Nationality" + }, + "countryOfBirth": { + "type": "string", + "maxLength": 10, + "description": "Account Owner Country of Birth" + }, + "occupation": { + "type": "string", + "maxLength": 50, + "description": "Account Owner Occupation" + }, + "email": { + "type": "string", + "maxLength": 150, + "description": "Account Owner email address" + }, + "locality": { + "type": "string", + "maxLength": 25, + "description": "The city of the recipient.\nThis field is applicable for AFT transactions.\n\nOnly alpha numeric values are supported.\nSpecial characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor.\n" } } }, @@ -2656,7 +2801,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -2871,7 +3016,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "region": { @@ -2900,6 +3045,31 @@ "description": "Sub-merchant's telephone number.\n\n**Maximum length for procesors**\n\n - American Express Direct: 20\n - CyberSource through VisaNet: 20\n - FDC Compass: 13\n - FDC Nashville Global: 10\n\n#### CyberSource through VisaNet\nWith American Express, the value for this field corresponds to the following data in the TC 33 capture file5:\n- Record: CP01 TCRB\n- Position: 5-24\n- Field: American Express Seller Telephone Number\n\n**FDC Compass**\\\nThis value must consist of uppercase characters. Use one of these recommended formats:\\\n`NNN-NNN-NNNN`\\\n`NNN-AAAAAAA`\n" } } + }, + "streetAddress": { + "type": "string", + "maxLength": 150, + "description": "Acquirer street name." + }, + "city": { + "type": "string", + "maxLength": 100, + "description": "Acquirer city." + }, + "state": { + "type": "string", + "maxLength": 10, + "description": "Acquirer state." + }, + "postalCode": { + "type": "string", + "maxLength": 20, + "description": "Acquirer postal code." + }, + "country": { + "type": "string", + "maxLength": 10, + "description": "Acquirer country." } } }, @@ -3008,7 +3178,7 @@ }, "paSpecificationVersion": { "type": "string", - "maxLength": 1, + "maxLength": 20, "description": "This field contains 3DS version that was used for Secured Consumer Authentication (SCA). \nThe value for this field should be in the format major.minor.patch version.\n\nValid Values are:\n\n- `2.1.0` (EMV 3D Secure Version 2.1)\n- `2.2.0` (EMV 3D Secure Version 2.2)\n- `2.3.0` (EMV 3D Secure Version 2.3)\n- `2.4.0` (EMV 3D Secure Version 2.4)\n- `2.5.0` (EMV 3D Secure Version 2.5)\n- `2.6.0` (EMV 3D Secure Version 2.6)\n- `2.7.0` (EMV 3D Secure Version 2.7)\n- `2.8.0` (EMV 3D Secure Version 2.8)\n- `2.9.0` (EMV 3D Secure Version 2.9)\n\nFor Visa Platform Connect: \nThe value for this field corresponds to the following data in the TC 33 capture file3: \nRecord: CP01 TCR7, Position: 113 , Field: MC AVV Verification\u2014Program Protocol\n\nIt will contain one of the following values:\n- `1` (3D Secure Version 1.x (3DS 1.0))\n- `2` (EMV 3-D Secure (3DS 2.x))\n" }, "authenticationType": { @@ -3213,6 +3383,11 @@ "maxLength": 1, "description": "Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor.\n\nPossible Values:\n\nY - 3DS Requestor is whitelisted by cardholder\n\nN - 3DS Requestor is not whitelisted by cardholder\n" }, + "authenticationBrand": { + "type": "string", + "maxLength": 16, + "description": "Indicates which directory server was used while authentication process, this data is useful in case of scenarios \nwhen domestic scheme directory server is not present and authentication fallbacks to global scheme directory server.\nPossible values:\n- VISA - Returned for Mada VISA Co-badged cards, when authentication falls back to VISA Directory Server\n- MASTERCARD - Returned for Mada MasterCard Co-badged cards, when authentication falls back to MasterCard Directory Server\n" + }, "effectiveAuthenticationType": { "type": "string", "maxLength": 2, @@ -3226,6 +3401,16 @@ "signedPares": { "type": "string", "description": "Payer authentication result (PARes) message returned by the card-issuing bank.\nIf you need to show proof of enrollment checking, you may need to\ndecrypt and parse the string for the information required by the payment card company.\nFor more information, see \"Storing Payer Authentication Data,\" page 160.\nImportant The value is in base64. You must remove all carriage returns and line feeds before\nadding the PARes to the request.\n" + }, + "acsReferenceNumber": { + "type": "string", + "maxLength": 50, + "description": "Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval." + }, + "dsReferenceNumber": { + "type": "string", + "maxLength": 32, + "description": "EMVCo-assigned unique identifier. This field is required in Cardholder Initiated 3DS fully authenticated mada transactions.\nWhen you request the payer authentication and authorization services separately, get the value for this field from the payerAuthEnrollReply_dsReferenceNumber or payerAuthValidateReply_dsReferenceNumber response field.\n" } } }, @@ -3244,7 +3429,7 @@ }, "cardholderVerificationMethodUsed": { "type": "integer", - "description": "Method that was used to verify the cardholder's identity. Possible values:\n\n - `0`: No verification\n - `1`: Signature\n - `2`: PIN\n - `3`: Cardholder device CVM\n" + "description": "Method that was used to verify the cardholder's identity. Possible values:\n\n - `0`: No verification\n - `1`: Signature\n - `2`: PIN\n - `3`: Cardholder device CVM\n - `4`: Biometric\n - `5`: OTP\n" }, "laneNumber": { "type": "string", @@ -3331,6 +3516,11 @@ }, "description": "Complete list of cardholder verification methods (CVMs) supported by the terminal.\nOptional field.\nPossible values:\n- `PIN`: For terminals with a PIN Pad\n- `Signature`: For terminals capable of receiving a signature\n- `pinOnGlass`: For terminals where PIN is entered on a glass-based capture mechanism\n\n**EXAMPLE**: [\"PIN\",\"Signature\"]; [\"pinOnGlass\",\"Signature\"]\n" }, + "terminalCategory": { + "type": "string", + "maxLength": 3, + "description": "Indicates the type of terminal. \n\nPossible values:\n- `AFD`: Automated Fuel Dispenser\n" + }, "terminalInputCapability": { "type": "array", "items": { @@ -3426,7 +3616,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -3463,7 +3653,7 @@ "properties": { "amount": { "type": "string", - "maxLength": 12, + "maxLength": 13, "description": "Amount for the current installment payment.\n\nThis field is supported only for CyberSource through VisaNet.\n" }, "frequency": { @@ -3478,17 +3668,17 @@ }, "sequence": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### CyberSource through VisaNet\nWhen you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor.\n\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 38-40\n- Field: Installment Payment Number\n\n* The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" }, "totalAmount": { "type": "string", - "maxLength": 12, + "maxLength": 13, "description": "Total amount of the loan that is being paid in installments. This field is supported only for CyberSource\nthrough VisaNet.\n" }, "totalCount": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Total number of installments when making payments in installments.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### American Express Direct, Cielo, and Comercio Latino\nThis value is the total number of installments you approved.\n\n#### CyberSource Latin American Processing in Brazil\nThis value is the total number of installments that you approved. The default is 1.\n\n#### All Other Processors\nThis value is used along with _sequence_ to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5.\n\n#### CyberSource through VisaNet\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 23-25\n- Field: Number of Installments\n\nFor installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP07 TCR3\n- Position: 7-8\n- Field: Number of Installments\n\nFor installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP07 TCR1\n- Position: 7-8\n- Field: Number of Installments\n\nFor all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR5\n- Position: 20-22\n- Field: Installment Total Count\n\n**Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" }, "firstInstallmentDate": { @@ -3504,7 +3694,7 @@ "paymentType": { "type": "string", "maxLength": 1, - "description": "Payment plan for the installments.\n\nPossible values:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n\nThis field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil.\n\nThe value for this field corresponds to the following data in the TC 33 capture file5:\n- Record: CP07 TCR1\n- Position: 9\n- Field: Merchant Installment Supporting Information\n" + "description": "Payment plan for the installments.\nThis field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow.\n\nPossible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card:\n- 1: SI with a fixed amount.\n- 2: SI with a maximum amount.\n- 3: Other kind of SI.\n\nPossible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia\n- 1: Registration or first transaction.\n- 2: Subsequent transaction.\n\nPossible values for other kinds of installment payments:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n- 6: SI de-registration on RuPay for the payer authentication seamless flow.\n" }, "eligibilityInquiry": { "type": "string", @@ -4930,6 +5120,16 @@ } } }, + "unscheduledPaymentInformation": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 1, + "description": "Indicates the type of unscheduled payment. This field is required for unscheduled payments CIT/MIT Possible values:\n1: First unscheduled transaction.\n2: Subsequent unscheduled transaction.\n" + } + } + }, "hostedPaymentInformation": { "type": "object", "properties": { @@ -5247,6 +5447,41 @@ "description": "Indicates whether you can make additional captures against the authorized payment.\nSet to true if you do not intend to capture additional payments against the authorization.\nSet to false if you intend to capture additional payments\nPossible Values:\n- `true`\n- `false`\n" } } + }, + "authorizationOptions": { + "type": "object", + "properties": { + "serviceType": { + "type": "string", + "maxLength": 10, + "description": "Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time \nfunding or a live-load. This type of transaction can also be connected to a purchase. \nIn back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: \n- account one is used to make the purchase\n- account two is used to automatically fund or reimburse account one\n\nPossible values:\n- 0B = back to back funding transaction\n- 00 = normal transaction\n- 01 = originator hold\n- 02 = Visa deferred OCT hold, default interval\n- 03 = Visa deferred OCT hold, user-defined interval\n- 09 = Cancel pending deferred OCT request\n- 0I = Visa Direct custom program 1\n- 0Q = uery the status of the deferred OCT\n- A0 = Alias Directory 2\n" + } + } + }, + "purchaseOptions": { + "type": "object", + "properties": { + "eligibilityIndicator": { + "type": "string", + "maxLength": 20, + "description": "This field contains installment data defined by MasterCard.\nPossible values:\n - Y = eligible\n - N = not eligile\n" + }, + "type": { + "type": "string", + "maxLength": 20, + "description": "Data mapped received in response from MasterCard.\nPossible values:\n- 01 = Meal Voucher - Employee Nutrition Program\n- 02 = Food Voucher - Employee Nutrition Program\n- 03 = Culture Voucher - Worker's Culture Program\n- 04 = Meal Voucher - Consolidation of Labor Laws\n- 05 = Food Voucher - Consolidation of Labor Laws\n" + }, + "benefitAmount": { + "type": "string", + "maxLength": 20, + "description": "Workplace benefit amount." + }, + "benefitType": { + "type": "string", + "maxLength": 100, + "description": "Workplace benefit type.\nPossible values:\n- 70 = employee benefit\n- 4T = transportation / transit\n- 52 = general benefit\n- 53 = meal voucher\n- 54 = fuel\n- 55 = ecological / sustainability\n- 58 = philanthropy / patronage / consumption\n- 59 = gift\n- 5S = sport / culture\n- 5T = book / education\n" + } + } } } }, @@ -5648,6 +5883,11 @@ "type": "string", "maxLength": 255, "description": "The order status. \nPossible values:\n- `CREATED`\n- `VOIDED`\n- `COMPLETED`\n- `PAYER_ACTION_REQUIRED`\n" + }, + "merchantRiskPrediction": { + "type": "string", + "maxLength": 150, + "description": "Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region.\nA newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices.\n" } } }, @@ -5915,6 +6155,11 @@ "type": "string", "maxLength": 1, "description": "Indicates whether the card is regulated according to the Durbin Amendment. If the card is regulated, the card\nissuer is subject to price caps and interchange rules. This field is supported for Visa, Mastercard, Discover,\nDiners Club, and JCB on Chase Paymentech Solutions. Possible values:\n\n - `Y`: Yes\n - `N`: No\n - `X`: Not applicable / Unknown\n" + }, + "accountHolderType": { + "type": "string", + "maxLength": 25, + "description": "This is the account owner information, valid values are:\n- `01` : primary account holder\n- `02` : secondary account holder\nThis is returned in the response of an account verification transaction by the Issuer. \n" } } }, @@ -6355,7 +6600,7 @@ }, "amount": { "type": "string", - "maxLength": 12, + "maxLength": 13, "description": "Amount for the current installment payment.\n\nThis field is supported only for CyberSource through VisaNet.\n" }, "amountFunded": { @@ -6430,7 +6675,7 @@ }, "sequence": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### CyberSource through VisaNet\nWhen you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor.\n\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 38-40\n- Field: Installment Payment Number\n\n* The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" }, "taxes": { @@ -6445,12 +6690,12 @@ }, "totalAmount": { "type": "string", - "maxLength": 12, + "maxLength": 13, "description": "Total amount of the loan that is being paid in installments. This field is supported only for CyberSource\nthrough VisaNet.\n" }, "totalCount": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Total number of installments when making payments in installments.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### American Express Direct, Cielo, and Comercio Latino\nThis value is the total number of installments you approved.\n\n#### CyberSource Latin American Processing in Brazil\nThis value is the total number of installments that you approved. The default is 1.\n\n#### All Other Processors\nThis value is used along with _sequence_ to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5.\n\n#### CyberSource through VisaNet\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 23-25\n- Field: Number of Installments\n\nFor installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP07 TCR3\n- Position: 7-8\n- Field: Number of Installments\n\nFor installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP07 TCR1\n- Position: 7-8\n- Field: Number of Installments\n\nFor all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR5\n- Position: 20-22\n- Field: Installment Total Count\n\n**Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" }, "minimumTotalCount": { @@ -7176,6 +7421,11 @@ "maxLength": 36, "description": "The Directory Server Transaction ID is generated by the Mastercard Directory Server during the authentication transaction and passed back to the merchant with the authentication results.\nFor Cybersource Through Visanet Gateway:\nThe value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR7, Position: 114-149, Field: MC AVV Verification\u2014Directory Server Transaction ID\n" }, + "dataQualityIndicator": { + "type": "string", + "maxLength": 10, + "description": "The field is used to indicate that a transaction does not meet the Visa Secure authentication data quality requirements." + }, "authenticationResult": { "type": "string", "description": "Raw authentication data that comes from the cardissuing bank. Primary authentication field that\nindicates if authentication was successful and if liability shift occurred. You should examine first the\nresult of this field. This field contains one of these values:\n- `-1`: Invalid PARes.\n- `0`: Successful validation.\n- `1`: Cardholder is not participating, but the attempt to authenticate was recorded.\n- `6`: Issuer unable to perform authentication.\n- `9`: Cardholder did not complete authentication.\n" @@ -7319,6 +7569,40 @@ "description": "The message describing the reason of the status. Value can be\n - The customer matched the Denied Parties List\n - The Export bill_country/ship_country match\n - Export email_country match\n - Export hostname_country/ip_country match\n" } } + }, + "TOKEN_CREATE": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The status of the token create.\n\nPossible value is:\n - SUCCESS\n - SERVER_ERROR\n - INVALID_REQUEST\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - INVALID_DATA\n - SYSTEM_ERROR\n - MISSING_FIELD\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason listed above." + } + } + }, + "TOKEN_UPDATE": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The status of the token update.\n\nPossible value is:\n - SUCCESS\n - SERVER_ERROR\n - INVALID_REQUEST\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\nPossible values:\n - INVALID_DATA\n - SYSTEM_ERROR\n - MISSING_FIELD\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason listed above." + } + } } } }, @@ -7433,7 +7717,27 @@ "code": "X", "codeRaw": "I1" }, - "responseCode": "100" + "responseCode": "100", + "merchantRiskPrediction": "ATT" + }, + "consumerAuthenticationInformation": { + "dataQualityIndicator": "1" + }, + "paymentInformation": { + "accountFeatures": { + "accountHolderType": "01" + } + }, + "processingInformation": { + "authorizationOptions": { + "serviceType": "02" + }, + "purchaseOptions": { + "eligibilityIndicator": "Y", + "type": "01", + "benefitAmount": "10.00", + "benefitType": "4T" + } } } } @@ -8240,7 +8544,8 @@ }, "consumerAuthenticationInformation": { "referenceId": "CybsCruiseTester-8ac0b02f", - "requestorId": "123123197675" + "requestorId": "123123197675", + "authenticationBrand": "VISA" }, "orderInformation": { "billTo": { @@ -8283,7 +8588,8 @@ ] }, "consumerAuthenticationInformation": { - "authenticationTransactionId": "OiCtXA1j1AxtSNDh5lt1" + "authenticationTransactionId": "OiCtXA1j1AxtSNDh5lt1", + "authenticationBrand": "VISA" }, "orderInformation": { "billTo": { @@ -8441,7 +8747,8 @@ "code": "TC_123122" }, "processingInformation": { - "commerceIndicator": "vbv" + "commerceIndicator": "vbv", + "originalPaymentId": "1111" }, "orderInformation": { "billTo": { @@ -8470,7 +8777,8 @@ }, "consumerAuthenticationInformation": { "cavv": "AAABCSIIAAAAAAACcwgAEMCoNh+=", - "xid": "T1Y0OVcxMVJJdkI0WFlBcXptUzE=" + "xid": "T1Y0OVcxMVJJdkI0WFlBcXptUzE=", + "authenticationBrand": "VISA" } } }, @@ -8482,7 +8790,13 @@ "code": "TC_1231223" }, "processingInformation": { - "paymentSolution": "012" + "paymentSolution": "012", + "purposeOfPayment": "16", + "languageCode": "US", + "authorizationOptions": { + "serviceType": "00" + }, + "originalPaymentId": "1111" }, "orderInformation": { "billTo": { @@ -8520,7 +8834,13 @@ "code": "TC_1231223" }, "processingInformation": { - "paymentSolution": "001" + "paymentSolution": "001", + "purposeOfPayment": "16", + "languageCode": "US", + "authorizationOptions": { + "serviceType": "01" + }, + "originalPaymentId": "1111" }, "orderInformation": { "billTo": { @@ -8764,7 +9084,8 @@ "lastName": "Root", "address1": "34 Orchard Grove", "locality": "Southampton", - "countryCode": "GB" + "countryCode": "GB", + "aliasName": "Joe My Friend" }, "recipientInformation": { "firstName": "Ben", @@ -8773,7 +9094,12 @@ "accountId": "4929421234600821", "accountType": "03", "address1": "1 High Street", - "country": "GB" + "country": "GB", + "aliasName": "Ben My Friend", + "nationality": "GB", + "countryOfBirth": "GB", + "occupation": "freelancer", + "email": "joe@visa.com" } } }, @@ -8965,8 +9291,11 @@ "authorizationOptions": { "partialAuthIndicator": true, "ignoreAvsResult": true, - "ignoreCvResult": true - } + "ignoreCvResult": true, + "serviceType": "02" + }, + "purposeOfPayment": "16", + "languageCode": "US" }, "pointOfSaleInformation": { "cardPresent": "Y", @@ -9006,8 +9335,11 @@ "authorizationOptions": { "partialAuthIndicator": true, "ignoreAvsResult": true, - "ignoreCvResult": true - } + "ignoreCvResult": true, + "serviceType": "03" + }, + "purposeOfPayment": "16", + "languageCode": "US" }, "pointOfSaleInformation": { "cardPresent": "Y", @@ -9606,7 +9938,8 @@ "consumerAuthenticationInformation": { "challengeCode": 4, "requestorId": 123123197675, - "referenceId": "CybsCruiseTester-8ac0b02f" + "referenceId": "CybsCruiseTester-8ac0b02f", + "authenticationBrand": "VISA" }, "orderInformation": { "billTo": { @@ -9916,7 +10249,10 @@ "commerceIndicator": "retail", "networkRoutingOrder": "K", "purchaseOptions": { - "isElectronicBenefitsTransfer": true + "isElectronicBenefitsTransfer": true, + "eligibilityIndicator": "Y", + "benefitAmount": "10.00", + "benefitType": "52" }, "electronicBenefitsTransfer": { "category": "FOOD" @@ -9962,7 +10298,10 @@ "commerceIndicator": "retail", "networkRoutingOrder": "K", "purchaseOptions": { - "isElectronicBenefitsTransfer": true + "isElectronicBenefitsTransfer": true, + "eligibilityIndicator": "N", + "benefitAmount": "10.00", + "benefitType": "70" }, "electronicBenefitsTransfer": { "category": "FOOD" @@ -10005,7 +10344,10 @@ "commerceIndicator": "retail", "networkRoutingOrder": "K", "purchaseOptions": { - "isElectronicBenefitsTransfer": true + "isElectronicBenefitsTransfer": true, + "eligibilityIndicator": "Y", + "benefitAmount": "10.00", + "benefitType": "53" }, "electronicBenefitsTransfer": { "voucherSerialNumber": "123451234512345", @@ -10057,7 +10399,10 @@ "commerceIndicator": "retail", "networkRoutingOrder": "K", "purchaseOptions": { - "isElectronicBenefitsTransfer": true + "isElectronicBenefitsTransfer": true, + "eligibilityIndicator": "Y", + "benefitAmount": "10.00", + "benefitType": "59" }, "electronicBenefitsTransfer": { "category": "CASH" @@ -10096,7 +10441,8 @@ }, "consumerAuthenticationInformation": { "authenticationTransactionContextId": "100000000000000000000000025253", - "transactionToken": "AxjzbwSTcz9aHyOIL490/949UafAxfvksgAxHXa2/+xcVZ0CtA+AbkvF" + "transactionToken": "AxjzbwSTcz9aHyOIL490/949UafAxfvksgAxHXa2/+xcVZ0CtA+AbkvF", + "authenticationBrand": "MASTERCARD" }, "processingInformation": { "commerceIndicator": "rpy", @@ -10158,7 +10504,8 @@ }, "consumerAuthenticationInformation": { "cavv": "MTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDI1MjM2", - "xid": "OTE0OTE2MzI5MzE1MDUyOTU4Mjc=" + "xid": "OTE0OTE2MzI5MzE1MDUyOTU4Mjc=", + "authenticationBrand": "MASTERCARD" }, "processingInformation": { "commerceIndicator": "rpy", @@ -10170,7 +10517,12 @@ "subMerchant": { "name": "rupay" }, - "name": "aggregatorname" + "name": "aggregatorname", + "streetAddress": "202 S. Division St.", + "city": "Phoenix", + "state": "Arizona", + "postalCode": "560048", + "country": "USA" }, "orderInformation": { "billTo": { @@ -10293,7 +10645,8 @@ } }, "consumerAuthenticationInformation": { - "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", + "authenticationBrand": "MASTERCARD" } }, "parentTag": "MIT Framework" @@ -10388,7 +10741,8 @@ } }, "consumerAuthenticationInformation": { - "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", + "authenticationBrand": "MASTERCARD" } }, "parentTag": "MIT Framework" @@ -10480,7 +10834,8 @@ } }, "consumerAuthenticationInformation": { - "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", + "authenticationBrand": "MASTERCARD" } }, "parentTag": "MIT Framework" @@ -10627,7 +10982,8 @@ }, "consumerAuthenticationInformation": { "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", - "paresStatus": "Y" + "paresStatus": "Y", + "authenticationBrand": "VISA" } }, "parentTag": "MIT Framework" @@ -10931,6 +11287,11 @@ } } }, + "merchantRiskPrediction": { + "type": "string", + "maxLength": 150, + "description": "Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region.\nA newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices.\n" + }, "sellerProtection": { "type": "object", "properties": { @@ -11338,6 +11699,11 @@ "items": { "type": "string" } + }, + "transactionTypeIndicator": { + "type": "string", + "maxLength": 3, + "description": "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only.\nPossible values:\n- 201- Mastercard Rebate\n- 202- rePower Load Value\n- 203- Gaming Re-pay\n- 204- General Person-to-Person\n- 205- General Transfer to Own Account\n- 206- Agent Cash Out\n- 207- Payment of Own Credit Card Bill\n- 208- Business Disbursement\n- 209- Government/Non-Profit Disbursement\n- 210- Rapid Merchant Settlement\n- 211- Cash in at ATM (Usage limited to specific countries)\n- 212- Cash in at Point of Sale (Usage limited to specific countries)\n- 213- General Business to Business Transfer\n- 214- Mastercard Merchant Presented QR\n- 215- Mastercard Merchant Presented QR Refund Payment\n- 216- Utility Payments (for Brazil domestic use only)\n- 217- Government Services (for Brazil domestic use only)\n- 218- Mobile phone top-ups (for Brazil domestic use only)\n- 219- Coupon booklet payments (for Brazil domestic use only)\n- 220- General Person-to-Person Transfer\n- 221- Person-to-Person Transfer to Card Account\n- 222- General Transfer to Own Account\n- 223- Agent Cash Out\n- 224- Payment of Own Credit Card Bill\n- 225- Business Disbursement\n- 226- Transfer to Own Staged Digital Wallet Account\n- 227- Transfer to Own Debit or Prepaid Account\n- 228- General Business-to-Business Transfer\n- 229- Installment-based repayment\n- 230- Mastercard ATM Cash Pick-Up Transaction\n- 231- Cryptocurrency\n- 232- High-risk Securities\n" } } }, @@ -11531,6 +11897,10 @@ "maxLength": 10, "description": "For most processors, this is the error message sent directly from the bank. Returned only when the processor\nreturns this value.\n\n**Important** Do not use this field to evaluate the result of the authorization.\n\n#### PIN debit\nResponse value that is returned by the processor or bank.\n**Important** Do not use this field to evaluate the results of the transaction request.\n\nReturned by PIN debit credit, PIN debit purchase, and PIN debit reversal.\n\n#### AIBMS\nIf this value is `08`, you can accept the transaction if the customer provides you with identification.\n\n#### Atos\nThis value is the response code sent from Atos and it might also include the response code from the bank.\nFormat: `aa,bb` with the two values separated by a comma and where:\n- `aa` is the two-digit error message from Atos.\n- `bb` is the optional two-digit error message from the bank.\n\n#### Comercio Latino\nThis value is the status code and the error or response code received from the processor separated by a colon.\nFormat: [status code]:E[error code] or [status code]:R[response code]\nExample `2:R06`\n\n#### JCN Gateway\nProcessor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field.\nString (3)\n\n#### paypalgateway\nProcessor generated ID for the itemized detail.\n" }, + "networkTransactionId": { + "type": "string", + "description": "Same value as `processorInformation.transactionId`" + }, "responseCategoryCode": { "type": "string", "maxLength": 36, @@ -11924,6 +12294,11 @@ "items": { "type": "string" } + }, + "transactionTypeIndicator": { + "type": "string", + "maxLength": 3, + "description": "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only.\nPossible values:\n- 201- Mastercard Rebate\n- 202- rePower Load Value\n- 203- Gaming Re-pay\n- 204- General Person-to-Person\n- 205- General Transfer to Own Account\n- 206- Agent Cash Out\n- 207- Payment of Own Credit Card Bill\n- 208- Business Disbursement\n- 209- Government/Non-Profit Disbursement\n- 210- Rapid Merchant Settlement\n- 211- Cash in at ATM (Usage limited to specific countries)\n- 212- Cash in at Point of Sale (Usage limited to specific countries)\n- 213- General Business to Business Transfer\n- 214- Mastercard Merchant Presented QR\n- 215- Mastercard Merchant Presented QR Refund Payment\n- 216- Utility Payments (for Brazil domestic use only)\n- 217- Government Services (for Brazil domestic use only)\n- 218- Mobile phone top-ups (for Brazil domestic use only)\n- 219- Coupon booklet payments (for Brazil domestic use only)\n- 220- General Person-to-Person Transfer\n- 221- Person-to-Person Transfer to Card Account\n- 222- General Transfer to Own Account\n- 223- Agent Cash Out\n- 224- Payment of Own Credit Card Bill\n- 225- Business Disbursement\n- 226- Transfer to Own Staged Digital Wallet Account\n- 227- Transfer to Own Debit or Prepaid Account\n- 228- General Business-to-Business Transfer\n- 229- Installment-based repayment\n- 230- Mastercard ATM Cash Pick-Up Transaction\n- 231- Cryptocurrency\n- 232- High-risk Securities\n" } } }, @@ -12103,6 +12478,10 @@ "maxLength": 10, "description": "For most processors, this is the error message sent directly from the bank. Returned only when the processor\nreturns this value.\n\n**Important** Do not use this field to evaluate the result of the authorization.\n\n#### PIN debit\nResponse value that is returned by the processor or bank.\n**Important** Do not use this field to evaluate the results of the transaction request.\n\nReturned by PIN debit credit, PIN debit purchase, and PIN debit reversal.\n\n#### AIBMS\nIf this value is `08`, you can accept the transaction if the customer provides you with identification.\n\n#### Atos\nThis value is the response code sent from Atos and it might also include the response code from the bank.\nFormat: `aa,bb` with the two values separated by a comma and where:\n- `aa` is the two-digit error message from Atos.\n- `bb` is the optional two-digit error message from the bank.\n\n#### Comercio Latino\nThis value is the status code and the error or response code received from the processor separated by a colon.\nFormat: [status code]:E[error code] or [status code]:R[response code]\nExample `2:R06`\n\n#### JCN Gateway\nProcessor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field.\nString (3)\n\n#### paypalgateway\nProcessor generated ID for the itemized detail.\n" }, + "networkTransactionId": { + "type": "string", + "description": "Same value as `processorInformation.transactionId`" + }, "responseCategoryCode": { "type": "string", "maxLength": 36, @@ -12460,6 +12839,11 @@ "type": "string", "maxLength": 255, "description": "An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives.\n" + }, + "reconciliationIdAlternate": { + "type": "string", + "maxLength": 12, + "description": "Used by Nike merchant to send 12 digit order number" } } }, @@ -12745,7 +13129,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 2, + "maxLength": 50, "description": "State or province in the address of the company purchasing the product. Use the State, Province, and Territory\nCodes for the United States and Canada.\n" }, "postalCode": { @@ -12782,7 +13166,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -12817,7 +13201,7 @@ "properties": { "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -12827,7 +13211,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "email": { @@ -13103,7 +13487,7 @@ "properties": { "purchaseOrderNumber": { "type": "string", - "maxLength": 25, + "maxLength": 50, "description": "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource\nrecommends that you do not populate the field with all zeros or nines.\n" }, "purchaseOrderDate": { @@ -13247,7 +13631,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -13371,7 +13755,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "postalCode": { @@ -13441,7 +13825,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -13478,7 +13862,7 @@ "properties": { "amount": { "type": "string", - "maxLength": 12, + "maxLength": 13, "description": "Amount for the current installment payment.\n\nThis field is supported only for CyberSource through VisaNet.\n" }, "frequency": { @@ -13493,17 +13877,17 @@ }, "sequence": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### CyberSource through VisaNet\nWhen you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor.\n\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 38-40\n- Field: Installment Payment Number\n\n* The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" }, "totalAmount": { "type": "string", - "maxLength": 12, + "maxLength": 13, "description": "Total amount of the loan that is being paid in installments. This field is supported only for CyberSource\nthrough VisaNet.\n" }, "totalCount": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Total number of installments when making payments in installments.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### American Express Direct, Cielo, and Comercio Latino\nThis value is the total number of installments you approved.\n\n#### CyberSource Latin American Processing in Brazil\nThis value is the total number of installments that you approved. The default is 1.\n\n#### All Other Processors\nThis value is used along with _sequence_ to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5.\n\n#### CyberSource through VisaNet\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 23-25\n- Field: Number of Installments\n\nFor installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP07 TCR3\n- Position: 7-8\n- Field: Number of Installments\n\nFor installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP07 TCR1\n- Position: 7-8\n- Field: Number of Installments\n\nFor all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR5\n- Position: 20-22\n- Field: Installment Total Count\n\n**Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" }, "firstInstallmentDate": { @@ -13524,7 +13908,7 @@ "paymentType": { "type": "string", "maxLength": 1, - "description": "Payment plan for the installments.\n\nPossible values:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n\nThis field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil.\n\nThe value for this field corresponds to the following data in the TC 33 capture file5:\n- Record: CP07 TCR1\n- Position: 9\n- Field: Merchant Installment Supporting Information\n" + "description": "Payment plan for the installments.\nThis field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow.\n\nPossible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card:\n- 1: SI with a fixed amount.\n- 2: SI with a maximum amount.\n- 3: Other kind of SI.\n\nPossible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia\n- 1: Registration or first transaction.\n- 2: Subsequent transaction.\n\nPossible values for other kinds of installment payments:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n- 6: SI de-registration on RuPay for the payer authentication seamless flow.\n" }, "additionalCosts": { "type": "string", @@ -15332,6 +15716,11 @@ "description": "The reason for the refund." } } + }, + "transactionTypeIndicator": { + "type": "string", + "maxLength": 3, + "description": "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only.\nPossible values:\n- 201- Mastercard Rebate\n- 202- rePower Load Value\n- 203- Gaming Re-pay\n- 204- General Person-to-Person\n- 205- General Transfer to Own Account\n- 206- Agent Cash Out\n- 207- Payment of Own Credit Card Bill\n- 208- Business Disbursement\n- 209- Government/Non-Profit Disbursement\n- 210- Rapid Merchant Settlement\n- 211- Cash in at ATM (Usage limited to specific countries)\n- 212- Cash in at Point of Sale (Usage limited to specific countries)\n- 213- General Business to Business Transfer\n- 214- Mastercard Merchant Presented QR\n- 215- Mastercard Merchant Presented QR Refund Payment\n- 216- Utility Payments (for Brazil domestic use only)\n- 217- Government Services (for Brazil domestic use only)\n- 218- Mobile phone top-ups (for Brazil domestic use only)\n- 219- Coupon booklet payments (for Brazil domestic use only)\n- 220- General Person-to-Person Transfer\n- 221- Person-to-Person Transfer to Card Account\n- 222- General Transfer to Own Account\n- 223- Agent Cash Out\n- 224- Payment of Own Credit Card Bill\n- 225- Business Disbursement\n- 226- Transfer to Own Staged Digital Wallet Account\n- 227- Transfer to Own Debit or Prepaid Account\n- 228- General Business-to-Business Transfer\n- 229- Installment-based repayment\n- 230- Mastercard ATM Cash Pick-Up Transaction\n- 231- Cryptocurrency\n- 232- High-risk Securities\n" } } }, @@ -15847,7 +16236,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 2, + "maxLength": 50, "description": "State or province in the address of the company purchasing the product. Use the State, Province, and Territory\nCodes for the United States and Canada.\n" }, "postalCode": { @@ -15884,7 +16273,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -15919,7 +16308,7 @@ "properties": { "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -15929,7 +16318,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "email": { @@ -16093,7 +16482,7 @@ "properties": { "purchaseOrderNumber": { "type": "string", - "maxLength": 25, + "maxLength": 50, "description": "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource\nrecommends that you do not populate the field with all zeros or nines.\n" }, "purchaseOrderDate": { @@ -16237,7 +16626,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -16341,7 +16730,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "postalCode": { @@ -16390,6 +16779,11 @@ "description": "Indicates whether a fallback method was used to enter credit card information into the POS terminal. When a\ntechnical problem prevents a successful exchange of information between a chip card and a chip-capable terminal:\n\n 1. Swipe the card or key the credit card information into the POS terminal.\n 2. Use the pointOfSaleInformation.entryMode field to indicate whether the information was swiped or keyed.\n\n\nPossible values:\n- `true`: Fallback method was used.\n- `false` (default): Fallback method was not used.\n\nThis field is supported only on American Express Direct, Chase Paymentech Solutions, CyberSource through VisaNet,\nFDC Nashville Global, GPN, JCN Gateway, OmniPay Direct, and SIX.\n" } } + }, + "terminalCategory": { + "type": "string", + "maxLength": 3, + "description": "Indicates the type of terminal. \n\nPossible values:\n- `AFD`: Automated Fuel Dispenser\n" } } }, @@ -16406,7 +16800,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -18000,6 +18394,11 @@ "description": "The reason for the refund." } } + }, + "transactionTypeIndicator": { + "type": "string", + "maxLength": 3, + "description": "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only.\nPossible values:\n- 201- Mastercard Rebate\n- 202- rePower Load Value\n- 203- Gaming Re-pay\n- 204- General Person-to-Person\n- 205- General Transfer to Own Account\n- 206- Agent Cash Out\n- 207- Payment of Own Credit Card Bill\n- 208- Business Disbursement\n- 209- Government/Non-Profit Disbursement\n- 210- Rapid Merchant Settlement\n- 211- Cash in at ATM (Usage limited to specific countries)\n- 212- Cash in at Point of Sale (Usage limited to specific countries)\n- 213- General Business to Business Transfer\n- 214- Mastercard Merchant Presented QR\n- 215- Mastercard Merchant Presented QR Refund Payment\n- 216- Utility Payments (for Brazil domestic use only)\n- 217- Government Services (for Brazil domestic use only)\n- 218- Mobile phone top-ups (for Brazil domestic use only)\n- 219- Coupon booklet payments (for Brazil domestic use only)\n- 220- General Person-to-Person Transfer\n- 221- Person-to-Person Transfer to Card Account\n- 222- General Transfer to Own Account\n- 223- Agent Cash Out\n- 224- Payment of Own Credit Card Bill\n- 225- Business Disbursement\n- 226- Transfer to Own Staged Digital Wallet Account\n- 227- Transfer to Own Debit or Prepaid Account\n- 228- General Business-to-Business Transfer\n- 229- Installment-based repayment\n- 230- Mastercard ATM Cash Pick-Up Transaction\n- 231- Cryptocurrency\n- 232- High-risk Securities\n" } } }, @@ -18515,7 +18914,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 2, + "maxLength": 50, "description": "State or province in the address of the company purchasing the product. Use the State, Province, and Territory\nCodes for the United States and Canada.\n" }, "postalCode": { @@ -18552,7 +18951,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -18587,7 +18986,7 @@ "properties": { "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -18597,7 +18996,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "email": { @@ -18761,7 +19160,7 @@ "properties": { "purchaseOrderNumber": { "type": "string", - "maxLength": 25, + "maxLength": 50, "description": "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource\nrecommends that you do not populate the field with all zeros or nines.\n" }, "purchaseOrderDate": { @@ -18905,7 +19304,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -19009,7 +19408,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "postalCode": { @@ -19058,6 +19457,11 @@ "description": "Indicates whether a fallback method was used to enter credit card information into the POS terminal. When a\ntechnical problem prevents a successful exchange of information between a chip card and a chip-capable terminal:\n\n 1. Swipe the card or key the credit card information into the POS terminal.\n 2. Use the pointOfSaleInformation.entryMode field to indicate whether the information was swiped or keyed.\n\n\nPossible values:\n- `true`: Fallback method was used.\n- `false` (default): Fallback method was not used.\n\nThis field is supported only on American Express Direct, Chase Paymentech Solutions, CyberSource through VisaNet,\nFDC Nashville Global, GPN, JCN Gateway, OmniPay Direct, and SIX.\n" } } + }, + "terminalCategory": { + "type": "string", + "maxLength": 3, + "description": "Indicates the type of terminal. \n\nPossible values:\n- `AFD`: Automated Fuel Dispenser\n" } } }, @@ -19074,7 +19478,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -21260,7 +21664,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 2, + "maxLength": 50, "description": "State or province in the address of the company purchasing the product. Use the State, Province, and Territory\nCodes for the United States and Canada.\n" }, "postalCode": { @@ -21297,7 +21701,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -21332,7 +21736,7 @@ "properties": { "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -21342,7 +21746,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "email": { @@ -21506,7 +21910,7 @@ "properties": { "purchaseOrderNumber": { "type": "string", - "maxLength": 25, + "maxLength": 50, "description": "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource\nrecommends that you do not populate the field with all zeros or nines.\n" }, "purchaseOrderDate": { @@ -21650,7 +22054,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -21754,7 +22158,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "postalCode": { @@ -21801,7 +22205,7 @@ }, "cardholderVerificationMethodUsed": { "type": "integer", - "description": "Method that was used to verify the cardholder's identity. Possible values:\n\n - `0`: No verification\n - `1`: Signature\n - `2`: PIN\n - `3`: Cardholder device CVM\n" + "description": "Method that was used to verify the cardholder's identity. Possible values:\n\n - `0`: No verification\n - `1`: Signature\n - `2`: PIN\n - `3`: Cardholder device CVM\n - `4`: Biometric\n - `5`: OTP\n" }, "laneNumber": { "type": "string", @@ -21888,6 +22292,11 @@ }, "description": "Complete list of cardholder verification methods (CVMs) supported by the terminal.\nOptional field.\nPossible values:\n- `PIN`: For terminals with a PIN Pad\n- `Signature`: For terminals capable of receiving a signature\n- `pinOnGlass`: For terminals where PIN is entered on a glass-based capture mechanism\n\n**EXAMPLE**: [\"PIN\",\"Signature\"]; [\"pinOnGlass\",\"Signature\"]\n" }, + "terminalCategory": { + "type": "string", + "maxLength": 3, + "description": "Indicates the type of terminal. \n\nPossible values:\n- `AFD`: Automated Fuel Dispenser\n" + }, "terminalInputCapability": { "type": "array", "items": { @@ -21983,7 +22392,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -25831,7 +26240,7 @@ "type": "object", "properties": { "paymentId": { - "type": "object", + "type": "string", "maxLength": 28, "description": "This field is to accept the id of credit/capture in the body of the requests so the type of void can be identified and processed correctly." } @@ -27171,7 +27580,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -27225,12 +27634,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -27469,7 +27878,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "region": { @@ -27581,7 +27990,7 @@ "paymentType": { "type": "string", "maxLength": 1, - "description": "Payment plan for the installments.\n\nPossible values:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n\nThis field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil.\n\nThe value for this field corresponds to the following data in the TC 33 capture file5:\n- Record: CP07 TCR1\n- Position: 9\n- Field: Merchant Installment Supporting Information\n" + "description": "Payment plan for the installments.\nThis field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow.\n\nPossible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card:\n- 1: SI with a fixed amount.\n- 2: SI with a maximum amount.\n- 3: Other kind of SI.\n\nPossible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia\n- 1: Registration or first transaction.\n- 2: Subsequent transaction.\n\nPossible values for other kinds of installment payments:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n- 6: SI de-registration on RuPay for the payer authentication seamless flow.\n" }, "preferredDay": { "type": "string", @@ -27590,7 +27999,7 @@ }, "sequence": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### CyberSource through VisaNet\nWhen you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor.\n\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 38-40\n- Field: Installment Payment Number\n\n* The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" } } @@ -27613,7 +28022,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "name": { @@ -28631,7 +29040,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 3, + "maxLength": 50, "description": "Sub-merchant's state or province.\n\n#### CyberSource through VisaNet\nThe value for this field does not map to the TC 33 capture file5.\n\n#### FDC Compass\nThis value must consist of uppercase characters.\n" }, "region": { @@ -28743,7 +29152,7 @@ "paymentType": { "type": "string", "maxLength": 1, - "description": "Payment plan for the installments.\n\nPossible values:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n\nThis field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil.\n\nThe value for this field corresponds to the following data in the TC 33 capture file5:\n- Record: CP07 TCR1\n- Position: 9\n- Field: Merchant Installment Supporting Information\n" + "description": "Payment plan for the installments.\nThis field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow.\n\nPossible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card:\n- 1: SI with a fixed amount.\n- 2: SI with a maximum amount.\n- 3: Other kind of SI.\n\nPossible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia\n- 1: Registration or first transaction.\n- 2: Subsequent transaction.\n\nPossible values for other kinds of installment payments:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n- 6: SI de-registration on RuPay for the payer authentication seamless flow.\n" }, "preferredDay": { "type": "string", @@ -28752,7 +29161,7 @@ }, "sequence": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### CyberSource through VisaNet\nWhen you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor.\n\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 38-40\n- Field: Installment Payment Number\n\n* The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" } } @@ -28775,7 +29184,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "name": { @@ -29956,7 +30365,7 @@ "paymentType": { "type": "string", "maxLength": 1, - "description": "Payment plan for the installments.\n\nPossible values:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n\nThis field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil.\n\nThe value for this field corresponds to the following data in the TC 33 capture file5:\n- Record: CP07 TCR1\n- Position: 9\n- Field: Merchant Installment Supporting Information\n" + "description": "Payment plan for the installments.\nThis field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow.\n\nPossible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card:\n- 1: SI with a fixed amount.\n- 2: SI with a maximum amount.\n- 3: Other kind of SI.\n\nPossible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia\n- 1: Registration or first transaction.\n- 2: Subsequent transaction.\n\nPossible values for other kinds of installment payments:\n- 0 (default): Regular installment. This value is not allowed for airline transactions.\n- 1: Installment payment with down payment.\n- 2: Installment payment without down payment. This value is supported only for airline transactions.\n- 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions.\n- 4: Down payment only; regular installment payment will follow.\n- 5: Boarding fee only. This value is supported only for airline transactions.\n- 6: SI de-registration on RuPay for the payer authentication seamless flow.\n" }, "preferredDay": { "type": "string", @@ -29965,7 +30374,7 @@ }, "sequence": { "type": "integer", - "maximum": 99, + "maximum": 999, "description": "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed.\n\nFor example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5.\n\n#### Chase Paymentech Solutions and FDC Compass\nThis field is optional because this value is required in the merchant descriptors.\n\n#### CyberSource through VisaNet\nWhen you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor.\n\nFor Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*:\n- Record: CP01 TCR9\n- Position: 38-40\n- Field: Installment Payment Number\n\n* The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies.\n" } } @@ -29988,7 +30397,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "name": { @@ -30838,7 +31247,7 @@ "properties": { "shippingMethod": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Shipping method for the product. Possible values:\n\n - `lowcost`: Lowest-cost service\n - `sameday`: Courier or same-day service\n - `oneday`: Next-day or overnight service\n - `twoday`: Two-day service\n - `threeday`: Three-day service\n - `pickup`: Store pick-up\n - `other`: Other shipping method\n - `none`: No shipping method because product is a service or subscription\n" } } @@ -31273,12 +31682,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -31466,7 +31875,7 @@ "properties": { "shippingMethod": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Shipping method for the product. Possible values:\n\n - `lowcost`: Lowest-cost service\n - `sameday`: Courier or same-day service\n - `oneday`: Next-day or overnight service\n - `twoday`: Two-day service\n - `threeday`: Three-day service\n - `pickup`: Store pick-up\n - `other`: Other shipping method\n - `none`: No shipping method because product is a service or subscription\n" } } @@ -31563,7 +31972,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -31712,7 +32121,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -32419,12 +32828,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -32612,7 +33021,7 @@ "properties": { "shippingMethod": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Shipping method for the product. Possible values:\n\n - `lowcost`: Lowest-cost service\n - `sameday`: Courier or same-day service\n - `oneday`: Next-day or overnight service\n - `twoday`: Two-day service\n - `threeday`: Three-day service\n - `pickup`: Store pick-up\n - `other`: Other shipping method\n - `none`: No shipping method because product is a service or subscription\n" } } @@ -32709,7 +33118,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -32858,7 +33267,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -33534,12 +33943,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -33990,12 +34399,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -34603,7 +35012,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -34706,7 +35115,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -34714,7 +35123,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -34867,42 +35276,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -34913,79 +35344,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -34994,52 +35470,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -35048,26 +35498,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -35076,65 +35526,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -35231,6 +35670,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -35683,7 +36277,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -35786,7 +36380,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -35794,7 +36388,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -35947,42 +36541,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -35993,79 +36609,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -36074,52 +36735,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -36128,26 +36763,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -36156,65 +36791,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -36311,6 +36935,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -37081,7 +37860,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -37184,7 +37963,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -37192,7 +37971,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -37345,42 +38124,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -37391,79 +38192,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -37472,52 +38318,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -37526,26 +38346,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -37554,65 +38374,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -37709,6 +38518,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -38476,7 +39440,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -38579,7 +39543,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -38587,7 +39551,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -38740,42 +39704,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -38786,79 +39772,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -38867,52 +39898,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -38921,26 +39926,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -38949,65 +39954,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -39104,6 +40098,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -39565,7 +40714,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -39668,7 +40817,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -39676,7 +40825,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -39829,42 +40978,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -39875,79 +41046,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -39956,52 +41172,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -40010,26 +41200,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -40038,65 +41228,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -40193,6 +41372,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -44184,7 +45518,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -44287,7 +45621,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -44295,7 +45629,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -44448,42 +45782,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -44494,79 +45850,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -44575,52 +45976,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -44629,26 +46004,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -44657,65 +46032,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -44812,6 +46176,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -45012,7 +46531,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -45115,7 +46634,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -45123,7 +46642,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -45276,42 +46795,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -45322,79 +46863,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -45403,52 +46989,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -45457,26 +47017,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -45485,65 +47045,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -45640,6 +47189,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -46373,7 +48077,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -46476,7 +48180,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -46484,7 +48188,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -46637,42 +48341,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -46683,79 +48409,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -46764,52 +48535,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -46818,26 +48563,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -46846,65 +48591,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -47001,6 +48735,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -47549,7 +49438,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -47652,7 +49541,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -47660,7 +49549,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -47813,42 +49702,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -47859,79 +49770,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -47940,52 +49896,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -47994,26 +49924,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -48022,65 +49952,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -48177,6 +50096,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -48688,7 +50762,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -48791,7 +50865,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -48799,7 +50873,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -48952,42 +51026,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -48998,79 +51094,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -49079,52 +51220,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -49133,26 +51248,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -49161,65 +51276,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -49316,6 +51420,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -49512,7 +51771,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -49615,7 +51874,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -49623,7 +51882,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -49776,42 +52035,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -49822,79 +52103,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -49903,52 +52229,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -49957,26 +52257,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -49985,65 +52285,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -50140,6 +52429,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -51041,6 +53485,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "postPaymentInstrumentRequest", "in": "body", @@ -51187,7 +53638,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -51290,7 +53741,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -51298,7 +53749,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -51451,42 +53902,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -51497,79 +53970,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -51578,52 +54096,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -51632,26 +54124,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -51660,65 +54152,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -51815,6 +54296,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -51997,7 +54633,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -52100,7 +54736,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -52108,7 +54744,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -52261,42 +54897,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -52307,79 +54965,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -52388,52 +55091,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -52442,26 +55119,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -52470,65 +55147,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -52625,6 +55291,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -53014,6 +55835,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "paymentInstrumentId", "in": "path", @@ -53208,7 +56036,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -53311,7 +56139,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -53319,7 +56147,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -53472,42 +56300,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -53518,79 +56368,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -53599,52 +56494,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -53653,26 +56522,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -53681,65 +56550,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -53836,6 +56694,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -54174,6 +57187,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "paymentInstrumentId", "in": "path", @@ -54338,7 +57358,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -54441,7 +57461,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -54449,7 +57469,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -54602,42 +57622,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -54648,79 +57690,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -54729,52 +57816,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -54783,26 +57844,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -54811,65 +57872,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -54966,6 +58016,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -55162,7 +58367,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -55265,7 +58470,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -55273,7 +58478,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -55426,42 +58631,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -55472,79 +58699,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -55553,52 +58825,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -55607,26 +58853,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -55635,65 +58881,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -55790,6 +59025,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -56558,6 +59948,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "postInstrumentIdentifierRequest", "in": "body", @@ -56666,42 +60063,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -56712,79 +60131,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -56793,52 +60257,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -56847,26 +60285,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -56875,65 +60313,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -57030,6 +60457,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -57169,42 +60751,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -57215,79 +60819,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -57296,52 +60945,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -57350,26 +60973,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -57378,65 +61001,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -57533,6 +61145,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -57660,42 +61427,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -57706,79 +61495,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -57787,52 +61621,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -57841,26 +61649,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -57869,65 +61677,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -58024,6 +61821,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -58342,6 +62294,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "instrumentIdentifierId", "in": "path", @@ -58497,42 +62456,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -58543,79 +62524,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -58624,52 +62650,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -58678,26 +62678,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -58706,65 +62706,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -58861,6 +62850,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -59195,6 +63339,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "instrumentIdentifierId", "in": "path", @@ -59321,42 +63472,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -59367,79 +63540,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -59448,52 +63666,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -59502,26 +63694,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -59530,65 +63722,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -59685,6 +63866,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -59838,42 +64174,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -59884,79 +64242,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -59965,52 +64368,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -60019,26 +64396,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -60047,65 +64424,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -60202,6 +64568,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -60963,6 +65484,13 @@ "maxLength": 36, "x-hide-field": true }, + { + "name": "retrieveBinDetails", + "in": "query", + "description": "Retrieve the Bin Details of PAN or network token", + "required": false, + "type": "boolean" + }, { "name": "instrumentIdentifierId", "in": "path", @@ -61282,7 +65810,7 @@ "currency": { "type": "string", "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n" + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "dateOfBirth": { "type": "string", @@ -61385,7 +65913,7 @@ "properties": { "billPaymentProgramEnabled": { "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n" + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" }, "bankTransferOptions": { "type": "object", @@ -61393,7 +65921,7 @@ "SECCode": { "type": "string", "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n" + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } } @@ -61546,42 +66074,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -61592,79 +66142,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -61673,52 +66268,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -61727,26 +66296,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -61755,65 +66324,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -61910,6 +66468,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -62372,42 +67085,64 @@ }, "routingNumber": { "type": "string", - "description": "Bank routing number. This is also called the transit number.\n" + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" } } }, "tokenizedCard": { "title": "tmsv2TokenizedCard", "type": "object", - "readOnly": true, "properties": { - "type": { - "type": "string", + "_links": { + "type": "object", "readOnly": true, - "description": "The network token card association brand\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n", - "example": "visa" + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } }, - "source": { + "id": { "type": "string", "readOnly": true, - "description": "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data.\nPossible Values:\n- TOKEN\n- ISSUER\n- ONFILE\n", - "example": "ONFILE" + "description": "The Id of the Tokenized Card.\n" }, - "state": { + "object": { "type": "string", "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision\nPossible Values:\n- ACTIVE : Network token is active.\n- SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n- DELETED : This is a final state for a network token instance.\n- UNPROVISIONED : A previous network token provision was unsuccessful.\n" + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" }, - "enrollmentId": { + "accountReferenceId": { "type": "string", - "readOnly": true, - "description": "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully.\n" + "description": "An identifier provided by the issuer for the account.\n" }, - "tokenReferenceId": { + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the payment instrument.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { "type": "string", "readOnly": true, - "description": "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully.\n" + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" }, "reason": { "type": "string", @@ -62418,79 +67153,124 @@ "number": { "type": "string", "readOnly": true, - "description": "The token requestors network token\n" + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" }, - "expirationMonth": { + "cryptogram": { "type": "string", "readOnly": true, - "maxLength": 2, - "description": "Two-digit month in which the network token expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" }, - "expirationYear": { + "securityCode": { "type": "string", "readOnly": true, - "maxLength": 4, - "description": "Four-digit year in which the network token expires.\n\nFormat: `YYYY`.\n" + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" }, - "cryptogram": { + "eci": { "type": "string", "readOnly": true, - "description": "Generated value used in conjunction with the network token for making a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" }, "card": { "type": "object", - "readOnly": true, - "description": "The latest card details associated with the network token", + "description": "Card object used to create a network token\n", "properties": { - "suffix": { + "number": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix\n", - "example": "1111" + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" }, "expirationMonth": { "type": "string", - "readOnly": true, "maxLength": 2, - "description": "\nTwo-digit month in which the customer's latest payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" }, "expirationYear": { "type": "string", - "readOnly": true, "maxLength": 4, - "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card(Card network).\nPossible Values:\n001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" } } }, "metadata": { "type": "object", "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", "properties": { "cardArt": { - "readOnly": true, + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, "combinedAsset": { - "readOnly": true, + "description": "Combined card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the combined asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the combined asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" } } } @@ -62499,52 +67279,26 @@ } }, "brandLogoAsset": { - "readOnly": true, + "description": "Brand logo card art asset associated with the tokenized card.\n", "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the brand logo asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the brand logo asset.\n" - } - } - } - } - } - } - }, - "coBrandLogoAsset": { "readOnly": true, - "type": "object", "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the co-brand logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the co-brand logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" } } } @@ -62553,26 +67307,26 @@ } }, "issuerLogoAsset": { - "readOnly": true, + "description": "Issuer logo card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the issuer logo asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the issuer logo asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" } } } @@ -62581,65 +67335,54 @@ } }, "iconAsset": { - "readOnly": true, + "description": "Icon card art asset associated with the tokenized card.\n", "type": "object", + "readOnly": true, "properties": { "id": { - "readOnly": true, "type": "string", - "description": "The Id of the icon asset.\n" + "description": "Unique identifier for the asset\n" }, "_links": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "self": { - "readOnly": true, "type": "object", + "readOnly": true, "properties": { "href": { - "readOnly": true, "type": "string", - "description": "Link to the icon asset.\n" + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" } } } } } } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "issuer name.\n", + "type": "string", + "readOnly": true }, - "foregroundColor": { - "readOnly": true, + "shortDescription": { + "description": "issuer short description.\n", "type": "string", - "description": "The foreground color of the brand logo asset.\n" + "readOnly": true }, - "backgroundAsset": { - "readOnly": true, - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Id of the icon asset.\n" - }, - "_links": { - "readOnly": true, - "type": "object", - "properties": { - "self": { - "readOnly": true, - "type": "object", - "properties": { - "href": { - "readOnly": true, - "type": "string", - "description": "Link to the background asset.\n" - } - } - } - } - } - } + "longDescription": { + "description": "issuer long description.\n", + "type": "string", + "readOnly": true } } } @@ -62736,6 +67479,161 @@ "description": "The creator of the Instrument Identifier." } } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains the 3-digit value that indicates the card type.\n\nPossible values:\n- `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron.\n- `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche[^1]\n- `007`: JCB[^1]\n- `008`: Optima\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: Enroute[^1]\n- `015`: Lowes Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL[^1]\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sams Club Consumer\n- `026`: Sams Club Business\n- `027`: Nicos\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types.\n- `032`: Solo\n- `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types.\n- `034`: Dankort[^1]\n- `035`: Laser\n- `036`: Cartes Bancaires[^1]\n- `037`: Carta Si[^1]\n- `039`: Encoded account number[^1]\n- `040`: UATP[^1]\n- `041`: HOUSEHOLD\n- `042`: Maestro (International)[^1]\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style\n- `046`: J.Crew\n- `050`: Hipercard[^2,3]\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo[^3]\n- `055`: Capital One Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n\n[^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit.\n\n[^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5.\n\n[^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit.\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false` \n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } } } } @@ -63159,7 +68057,7 @@ "properties": { "paymentCredentialType": { "type": "string", - "description": "The type of payment credentials to be returned.\nBy default, payment credentials include network token and cryptogram or dynamic CVV.\nIf \"NETWORK_TOKEN\" is supplied then only network token will be returned and cryptogram or dynamic CVV will be excluded. \n\nPossible Values:\n - NETWORK_TOKEN\n" + "description": "The type of payment credentials to be returned.\nBy default, payment credentials include network token and cryptogram or dynamic CVV.\nIf \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested.\nIf \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF.\nIf \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex.\n\nPossible Values:\n - NETWORK_TOKEN\n - SECURITY_CODE\n - CRYPTOGRAM\n" } } } @@ -63487,7 +68385,7 @@ "required": true, "schema": { "type": "object", - "description": "This is a server-to-server API request to generate the capture context that can be used to initiate instance of microform on a acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application. ", + "description": "This is a server-to-server API request to generate the capture context that can be used to initiate an instance of Microform on an acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application. ", "properties": { "clientVersion": { "type": "string", @@ -63506,54 +68404,14 @@ "items": { "type": "string" }, - "description": "The list of card networks you want to use for this Microform transaction.\n\nMicroform currently supports the following card networks:\n- VISA\n- MASTERCARD\n- AMEX\n- CARNET\n- CARTESBANCAIRES\n- CUP\n- DINERSCLUB\n- DISCOVER\n- EFTPOS\n- ELO\n- JCB\n- JCREW\n- MADA\n- MAESTRO\n- MEEZA\n" + "description": "The list of card networks you want to use for this Microform transaction.\n\nMicroform currently supports the following card networks:\n- VISA\n- MASTERCARD\n- AMEX\n- CARNET\n- CARTESBANCAIRES\n- CUP\n- DINERSCLUB\n- DISCOVER\n- EFTPOS\n- ELO\n- JCB\n- JCREW\n- MADA\n- MAESTRO\n- MEEZA\n\n**Important:** \n - When integrating Microform (Accept Card) at least one card network should be specified in the allowedCardNetworks field in the capture context request.\n - When integrating Microform (Accept Check) the allowedCardNetworks field is not required in the capture context request.\n - When integrating both Microform (Accept Card) and Microform (Accept Check) at least one card network should be specified in the allowedCardNetworks field in the capture context request.\n" }, - "checkoutApiInitialization": { - "type": "object", - "description": "Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Microform to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. \n\nThe Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser.\n", - "properties": { - "profile_id": { - "type": "string", - "example": "12341234-1234-1234-1234-123412341234" - }, - "access_key": { - "type": "string", - "example": "acce55acce55acce55acce55acce5500" - }, - "reference_number": { - "type": "string", - "example": 1611305732 - }, - "transaction_uuid": { - "type": "string", - "example": "1611305732-001" - }, - "transaction_type": { - "type": "string", - "example": "authorization" - }, - "currency": { - "type": "string", - "example": "USD" - }, - "amount": { - "type": "string", - "example": 100 - }, - "locale": { - "type": "string", - "example": "en-us", - "description": "Locale where application is being used. This field controls aspects of the application such as the language it will be rendered in.\n" - }, - "override_custom_receipt_page": { - "type": "string", - "example": "https://www.test.com/receipt" - }, - "unsigned_field_names": { - "type": "string", - "example": "transient_token" - } - } + "allowedPaymentTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Microform:\n- CARD\n- CHECK

\n" } } } @@ -63561,7 +68419,7 @@ ], "x-example": { "example0": { - "summary": "Generate Capture Context simple", + "summary": "Generate Capture Context (Accept Card)", "value": { "clientVersion": "v2", "targetOrigins": [ @@ -63583,45 +68441,22 @@ "MADA", "MAESTRO", "MEEZA" + ], + "allowedPaymentTypes": [ + "CARD" ] } }, "example1": { - "summary": "Generate Capture Context With Checkout API", + "summary": "Generate Capture Context (Accept Check)", "value": { "clientVersion": "v2", "targetOrigins": [ "https://www.test.com" ], - "allowedCardNetworks": [ - "VISA", - "MASTERCARD", - "AMEX", - "CARNET", - "CARTESBANCAIRES", - "CUP", - "DINERSCLUB", - "DISCOVER", - "EFTPOS", - "ELO", - "JCB", - "JCREW", - "MADA", - "MAESTRO", - "MEEZA" - ], - "checkoutApiInitialization": { - "profile_id": "12341234-1234-1234-1234-123412341234", - "access_key": "acce55acce55acce55acce55acce5500", - "reference_number": "1611305732", - "transaction_uuid": "1611305732-001", - "transaction_type": "authorization", - "currency": "USD", - "amount": "100.00", - "locale": "en-us", - "override_custom_receipt_page": "https://www.test.com/receipt", - "unsigned_field_names": "transient_token, address1, address2" - } + "allowedPaymentTypes": [ + "CHECK" + ] } } }, @@ -64624,7 +69459,7 @@ }, "shippingMethod": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Shipping method for the product. Possible values:\n\n - `lowcost`: Lowest-cost service\n - `sameday`: Courier or same-day service\n - `oneday`: Next-day or overnight service\n - `twoday`: Two-day service\n - `threeday`: Three-day service\n - `pickup`: Store pick-up\n - `other`: Other shipping method\n - `none`: No shipping method because product is a service or subscription\n" } } @@ -64649,7 +69484,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -64689,7 +69524,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "destinationCode": { @@ -64857,7 +69692,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "country": { @@ -67834,7 +72669,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -67874,7 +72709,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "destinationCode": { @@ -68070,7 +72905,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "country": { @@ -70918,7 +75753,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "country": { @@ -70979,7 +75814,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -70994,7 +75829,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" } } @@ -72457,7 +77292,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "country": { @@ -72506,7 +77341,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "country": { @@ -72521,7 +77356,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" } } @@ -73349,7 +78184,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "country": { @@ -74216,7 +79051,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -74267,7 +79102,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -74346,6 +79181,31 @@ "type": "string", "maxLength": 20, "description": "Recipient phone number. Required only for FDCCompass." + }, + "aliasName": { + "type": "string", + "maxLength": 50, + "description": "Account owner alias name.\n" + }, + "nationality": { + "type": "string", + "maxLength": 10, + "description": "Account Owner Nationality" + }, + "countryOfBirth": { + "type": "string", + "maxLength": 10, + "description": "Account Owner Country of Birth" + }, + "occupation": { + "type": "string", + "maxLength": 50, + "description": "Account Owner Occupation" + }, + "email": { + "type": "string", + "maxLength": 150, + "description": "Account Owner email address" } } }, @@ -74453,6 +79313,11 @@ "type": "string", "maxLength": 255, "description": "#### Visa Platform Connect\nThis tag will contain an acquirer-populated value associated with the API : senderInformation.personalIdType which will identify the personal ID type of the sender.\n" + }, + "aliasName": { + "type": "string", + "maxLength": 50, + "description": "Sender's alias name." } } }, @@ -74533,6 +79398,26 @@ } } } + }, + "languageCode": { + "type": "string", + "maxLength": 10, + "description": "Contains the ISO 639-2 defined language Code\n" + }, + "purchaseOptions": { + "type": "object", + "properties": { + "benefitAmount": { + "type": "string", + "maxLength": 20, + "description": "Workplace benefit amount." + }, + "benefitType": { + "type": "string", + "maxLength": 100, + "description": "Workplace benefit type.\nPossible values:\n- 70 = employee benefit\n- 4T = transportation / transit\n- 52 = general benefit\n- 53 = meal voucher\n- 54 = fuel\n- 55 = ecological / sustainability\n- 58 = philanthropy / patronage / consumption\n- 59 = gift\n- 5S = sport / culture\n- 5T = book / education\n" + } + } } } }, @@ -74674,6 +79559,67 @@ } } } + }, + "aggregatorInformation": { + "type": "object", + "x-nullable": true, + "properties": { + "aggregatorId": { + "type": "string", + "x-nullable": true, + "maxLength": 20, + "description": "Value that identifies you as a payment aggregator. Get this value from the processor.\n" + }, + "name": { + "type": "string", + "x-nullable": true, + "maxLength": 37, + "description": "Your payment aggregator business name. This field is conditionally required when aggregator id is present.\n" + }, + "independentSalesOrganizationID": { + "type": "string", + "x-nullable": true, + "maxLength": 11, + "description": "Independent sales organization ID.\nThis field is only used for Mastercard transactions submitted through PPGS.\n" + }, + "subMerchant": { + "type": "object", + "x-nullable": true, + "properties": { + "id": { + "type": "string", + "maxLength": 20, + "x-nullable": true, + "description": "The ID you assigned to your sub-merchant.\n" + } + } + }, + "streetAddress": { + "type": "string", + "maxLength": 150, + "description": "Acquirer street name." + }, + "city": { + "type": "string", + "maxLength": 100, + "description": "Acquirer city." + }, + "state": { + "type": "string", + "maxLength": 10, + "description": "Acquirer state." + }, + "postalCode": { + "type": "string", + "maxLength": 20, + "description": "Acquirer postal code." + }, + "country": { + "type": "string", + "maxLength": 10, + "description": "Acquirer country." + } + } } }, "example": { @@ -74690,12 +79636,18 @@ "account": { "number": "1234567890123456789012345678901234", "fundsSource": "01" - } + }, + "aliasName": "Thomas my friend" }, "processingInformation": { "commerceIndicator": "internet", "businessApplicationId": "FD", - "networkRoutingOrder": "ECG" + "networkRoutingOrder": "ECG", + "languageCode": "US", + "purchaseOptions": { + "benefitAmount": "10.00", + "benefitType": "5T" + } }, "payoutsOptions": { "retrievalReferenceNumber": "123456789012", @@ -74736,7 +79688,19 @@ "postalCode": "94400", "phoneNumber": "6504320556", "dateOfBirth": "19801009", - "country": "US" + "country": "US", + "aliasName": "John My Friend", + "nationality": "GB", + "countryOfBirth": "GB", + "occupation": "freelancer", + "email": "joe@visa.com" + }, + "aggregatorInformation": { + "streetAddress": "202 S. Division St.", + "city": "Phoenix", + "state": "Arizona", + "postalCode": "560048", + "country": "USA" } } } @@ -74872,7 +79836,7 @@ }, "locality": { "type": "string", - "maxLength": 13, + "maxLength": 30, "description": "Merchant's City.\n\n#### PIN debit\nCity for your business location. This value might be displayed on the cardholder's statement.\n\nWhen you do not include this value in your PIN debit request, the merchant name from your account is used.\n**Important** This value must consist of English characters.\n\nOptional field for PIN debit credit or PIN debit purchase requests.\n" }, "country": { @@ -75030,6 +79994,26 @@ } } } + }, + "processingInformation": { + "type": "object", + "properties": { + "purchaseOptions": { + "type": "object", + "properties": { + "benefitAmount": { + "type": "string", + "maxLength": 20, + "description": "Workplace benefit amount." + }, + "benefitType": { + "type": "string", + "maxLength": 100, + "description": "Workplace benefit type.\nPossible values:\n- 70 = employee benefit\n- 4T = transportation / transit\n- 52 = general benefit\n- 53 = meal voucher\n- 54 = fuel\n- 55 = ecological / sustainability\n- 58 = philanthropy / patronage / consumption\n- 59 = gift\n- 5S = sport / culture\n- 5T = book / education\n" + } + } + } + } } } } @@ -75123,7 +80107,11 @@ "processingInformation": { "commerceIndicator": "internet", "businessApplicationId": "FD", - "networkRoutingOrder": "V8" + "networkRoutingOrder": "V8", + "purchaseOptions": { + "benefitAmount": "10.00", + "benefitType": "5S" + } }, "orderInformation": { "amountDetails": { @@ -75279,6 +80267,31 @@ "description": "The ID you assigned to your sub-merchant.\n" } } + }, + "streetAddress": { + "type": "string", + "maxLength": 150, + "description": "Acquirer street name." + }, + "city": { + "type": "string", + "maxLength": 100, + "description": "Acquirer city." + }, + "state": { + "type": "string", + "maxLength": 10, + "description": "Acquirer state." + }, + "postalCode": { + "type": "string", + "maxLength": 20, + "description": "Acquirer postal code." + }, + "country": { + "type": "string", + "maxLength": 10, + "description": "Acquirer country." } } }, @@ -81345,7 +86358,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -81408,7 +86421,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { @@ -81473,12 +86486,12 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).\n\nFor Payouts: This field may be sent only for FDC Compass.\n\n##### CyberSource through VisaNet\nCredit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet\naccepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations\nof the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the\ncredit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless\nASCII characters for transmission to the credit card networks.\n\n**Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.\n\n#### Chase Paymentech Solutions\nOptional field.\n\n#### Credit Mutuel-CIC\nOptional field.\n\n#### OmniPay Direct\nOptional field.\n\n#### SIX\nOptional field.\n\n#### TSYS Acquiring Solutions\nRequired when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`.\n\n#### Worldpay VAP\nOptional field.\n\n#### All other processors\nNot used.\n" }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "company": { @@ -81597,7 +86610,7 @@ }, "shippingMethod": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Shipping method for the product. Possible values:\n\n - `lowcost`: Lowest-cost service\n - `sameday`: Courier or same-day service\n - `oneday`: Next-day or overnight service\n - `twoday`: Two-day service\n - `threeday`: Three-day service\n - `pickup`: Store pick-up\n - `other`: Other shipping method\n - `none`: No shipping method because product is a service or subscription\n" } } @@ -82017,6 +87030,7 @@ "properties": { "type": { "type": "string", + "maxLength": 1, "description": "Indicates the type of unscheduled payment. This field is required for unscheduled payments CIT/MIT Possible values:\n1: First unscheduled transaction.\n2: Subsequent unscheduled transaction.\n" } } @@ -82067,7 +87081,8 @@ }, "extendAuthIndicator": { "type": "string", - "description": "Flag that indicates whether the transaction is an extended authorization.\n" + "maxLength": 5, + "description": "Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period.\n\nPossible values:\n- true: Transaction is an Authorization Extension transaction. \n- false: Transaction is not an Authorization Extension transaction.\n" }, "cardVerificationIndicator": { "type": "boolean", @@ -82425,7 +87440,7 @@ }, "cardholderVerificationMethodUsed": { "type": "integer", - "description": "Method that was used to verify the cardholder's identity. Possible values:\n\n - `0`: No verification\n - `1`: Signature\n - `2`: PIN\n - `3`: Cardholder device CVM\n" + "description": "Method that was used to verify the cardholder's identity. Possible values:\n\n - `0`: No verification\n - `1`: Signature\n - `2`: PIN\n - `3`: Cardholder device CVM\n - `4`: Biometric\n - `5`: OTP\n" }, "emv": { "type": "object", @@ -83600,7 +88615,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -84447,7 +89462,7 @@ }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 800, "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event CyberSource discovers that a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, CyberSource will immediately suspend the merchant's account, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n\n#### CyberSource through VisaNet\nFor installment payments with Mastercard in Brazil, use `merchantDefinedInformation[0].value` and\n`merchantDefinedInformation[1].value` for data that you want to provide to the issuer to identify the\ntransaction. \n\nFor installment payments with Mastercard in Brazil:\n- The value for merchantDefinedInformation[0].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 25-44\n - Field: Reference Field 2\n- The value for merchantDefinedInformation[1].value corresponds to the following data in the TC 33 capture file5:\n - Record: CP07 TCR5\n - Position: 45-64\n - Field: Reference Field 3\n" } } @@ -96931,7 +101946,7 @@ }, "administrativeArea": { "type": "string", - "maxLength": 20, + "maxLength": 50, "description": "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "locality": { @@ -96941,7 +101956,7 @@ }, "postalCode": { "type": "string", - "maxLength": 10, + "maxLength": 32, "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nRequired field for authorization if any shipping address information is included in the request and\nshipping to the U.S. or Canada; otherwise, optional.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n#### American Express Direct\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, the value is truncated starting from the right side.\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder's location when shipTo objects are not present.\n" }, "address1": { @@ -115344,7 +120359,7 @@ "items": { "type": "string" }, - "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - PANENTRY \n - GOOGLEPAY\n - SRC\n - CHECK

\n\nPossible values when launching Unified Checkout with Checkout API:\n- PANENTRY \n- SRC

\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - SRC and CLICKTOPAY are only available for Visa, Mastercard and AMEX.\n" + "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.\n" }, "country": { "type": "string", @@ -115669,52 +120684,6 @@ } } } - }, - "checkoutApiInitialization": { - "type": "object", - "description": "Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Unified Checkout to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. \n\nThe Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser.\n", - "properties": { - "profile_id": { - "type": "string", - "example": "12341234-1234-1234-1234-123412341234" - }, - "access_key": { - "type": "string", - "example": "acce55acce55acce55acce55acce5500" - }, - "reference_number": { - "type": "string", - "example": 1611305732 - }, - "transaction_uuid": { - "type": "string", - "example": "1611305732-001" - }, - "transaction_type": { - "type": "string", - "example": "authorization" - }, - "currency": { - "type": "string", - "example": "USD" - }, - "amount": { - "type": "string", - "example": 100 - }, - "locale": { - "type": "string", - "example": "en-us" - }, - "override_custom_receipt_page": { - "type": "string", - "example": "https://the-up-demo.appspot.com/demos/demo5/receipt" - }, - "unsigned_field_names": { - "type": "string", - "example": "transient_token, address1, address2" - } - } } } } @@ -115724,7 +120693,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.22", + "clientVersion": "0.23", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -115746,59 +120715,12 @@ "MEEZA" ], "allowedPaymentTypes": [ - "PANENTRY", + "APPLEPAY", + "CHECK", + "CLICKTOPAY", "GOOGLEPAY", - "SRC", - "CHECK" - ], - "country": "US", - "locale": "en_US", - "captureMandate": { - "billingType": "FULL", - "requestEmail": true, - "requestPhone": true, - "requestShipping": true, - "shipToCountries": [ - "US", - "GB" - ], - "showAcceptedNetworkIcons": true - }, - "orderInformation": { - "amountDetails": { - "totalAmount": "21.00", - "currency": "USD" - } - } - } - }, - "example1": { - "summary": "Generate Unified Checkout Capture Context with Checkout API", - "value": { - "clientVersion": "0.22", - "targetOrigins": [ - "https://yourCheckoutPage.com" - ], - "allowedCardNetworks": [ - "VISA", - "MASTERCARD", - "AMEX", - "CARNET", - "CARTESBANCAIRES", - "CUP", - "DINERSCLUB", - "DISCOVER", - "EFTPOS", - "ELO", - "JCB", - "JCREW", - "MADA", - "MAESTRO", - "MEEZA" - ], - "allowedPaymentTypes": [ "PANENTRY", - "SRC" + "PAZE" ], "country": "US", "locale": "en_US", @@ -115818,25 +120740,13 @@ "totalAmount": "21.00", "currency": "USD" } - }, - "checkoutApiInitialization": { - "profile_id": "12341234-1234-1234-1234-123412341234", - "access_key": "acce55acce55acce55acce55acce5500", - "reference_number": "1611305732", - "transaction_uuid": "1611305732-001", - "transaction_type": "authorization", - "currency": "USD", - "amount": "100.00", - "locale": "en-us", - "override_custom_receipt_page": "https://the-up-demo.appspot.com/demos/demo5/receipt", - "unsigned_field_names": "transient_token, address1, address2" } } }, "example3": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.22", + "clientVersion": "0.23", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -115858,9 +120768,12 @@ "MEEZA" ], "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", "PANENTRY", - "SRC", - "GOOGLEPAY" + "PAZE" ], "country": "US", "locale": "en_US", @@ -115933,7 +120846,7 @@ "example4": { "summary": "Generate Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.22", + "clientVersion": "0.23", "targetOrigins": [ "https://yourCheckoutPage.com" ], diff --git a/src/main/java/Api/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java index a117871ab..4edb3741b 100644 --- a/src/main/java/Api/InstrumentIdentifierApi.java +++ b/src/main/java/Api/InstrumentIdentifierApi.java @@ -224,12 +224,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getInstrumentIdentifier * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call getInstrumentIdentifierCall(String instrumentIdentifierId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInstrumentIdentifierCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -251,6 +252,8 @@ public okhttp3.Call getInstrumentIdentifierCall(String instrumentIdentifierId, S .replaceAll("\\{" + "instrumentIdentifierId" + "\\}", apiClient.escapeString(instrumentIdentifierId.toString())); List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); Map localVarHeaderParams = new HashMap(); if (profileId != null) @@ -287,7 +290,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -296,7 +299,7 @@ private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrument } - okhttp3.Call call = getInstrumentIdentifierCall(instrumentIdentifierId, profileId, progressListener, progressRequestListener); + okhttp3.Call call = getInstrumentIdentifierCall(instrumentIdentifierId, profileId, retrieveBinDetails, progressListener, progressRequestListener); return call; @@ -310,12 +313,13 @@ private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrument * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Retrieving an Instrument Identifier**<br>Your system can use this API to retrieve an Instrument Identifier.<br>**Note: the actual card data will be masked.**<br>The Instrument Identifier will also be returned when retrieving a [Customer](#token-management_customer_retrieve-a-customer), [Customer Payment Instrument](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_retrieve-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments. * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostInstrumentIdentifierRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrumentIdentifierId, String profileId) throws ApiException { + public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails) throws ApiException { logger.info("CALL TO METHOD 'getInstrumentIdentifier' STARTED"); - ApiResponse resp = getInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, profileId); + ApiResponse resp = getInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'getInstrumentIdentifier' ENDED"); return resp.getData(); } @@ -325,12 +329,13 @@ public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrument * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Retrieving an Instrument Identifier**<br>Your system can use this API to retrieve an Instrument Identifier.<br>**Note: the actual card data will be masked.**<br>The Instrument Identifier will also be returned when retrieving a [Customer](#token-management_customer_retrieve-a-customer), [Customer Payment Instrument](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_retrieve-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments. * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostInstrumentIdentifierRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId) throws ApiException { + public ApiResponse getInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = getInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, null, null); + okhttp3.Call call = getInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -340,11 +345,12 @@ public ApiResponse getInstrumentIdentifierWithH * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Retrieving an Instrument Identifier**<br>Your system can use this API to retrieve an Instrument Identifier.<br>**Note: the actual card data will be masked.**<br>The Instrument Identifier will also be returned when retrieving a [Customer](#token-management_customer_retrieve-a-customer), [Customer Payment Instrument](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_retrieve-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments. * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call getInstrumentIdentifierAsync(String instrumentIdentifierId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getInstrumentIdentifierAsync(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -366,7 +372,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = getInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, progressListener, progressRequestListener); + okhttp3.Call call = getInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, retrieveBinDetails, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -375,6 +381,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getInstrumentIdentifierPaymentInstrumentsList * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0) * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @param progressListener Progress listener @@ -382,7 +389,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListCall(String instrumentIdentifierId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -404,6 +411,8 @@ public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListCall(String ins .replaceAll("\\{" + "instrumentIdentifierId" + "\\}", apiClient.escapeString(instrumentIdentifierId.toString())); List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); if (offset != null) localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset)); if (limit != null) @@ -444,7 +453,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(String instrumentIdentifierId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -453,7 +462,7 @@ private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBefore } - okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListCall(instrumentIdentifierId, profileId, offset, limit, progressListener, progressRequestListener); + okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListCall(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit, progressListener, progressRequestListener); return call; @@ -467,14 +476,15 @@ private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBefore * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing <br>and account numbers.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the <br>Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) <br>or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving all Payment Instruments associated with an Instrument Identifier**<br>Your system can use this API to retrieve all Payment Instruments linked to an Instrument Identifier. * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0) * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return PaymentInstrumentList1 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(String instrumentIdentifierId, String profileId, Long offset, Long limit) throws ApiException { + public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit) throws ApiException { logger.info("CALL TO METHOD 'getInstrumentIdentifierPaymentInstrumentsList' STARTED"); - ApiResponse resp = getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(instrumentIdentifierId, profileId, offset, limit); + ApiResponse resp = getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit); logger.info("CALL TO METHOD 'getInstrumentIdentifierPaymentInstrumentsList' ENDED"); return resp.getData(); } @@ -484,14 +494,15 @@ public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(Stri * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing <br>and account numbers.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the <br>Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) <br>or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving all Payment Instruments associated with an Instrument Identifier**<br>Your system can use this API to retrieve all Payment Instruments linked to an Instrument Identifier. * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0) * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return ApiResponse<PaymentInstrumentList1> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(String instrumentIdentifierId, String profileId, Long offset, Long limit) throws ApiException { + public ApiResponse getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(instrumentIdentifierId, profileId, offset, limit, null, null); + okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -501,13 +512,14 @@ public ApiResponse getInstrumentIdentifierPaymentInstrum * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing <br>and account numbers.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the <br>Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) <br>or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving all Payment Instruments associated with an Instrument Identifier**<br>Your system can use this API to retrieve all Payment Instruments linked to an Instrument Identifier. * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0) * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListAsync(String instrumentIdentifierId, String profileId, Long offset, Long limit, final ApiCallback callback) throws ApiException { + public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListAsync(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -529,7 +541,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(instrumentIdentifierId, profileId, offset, limit, progressListener, progressRequestListener); + okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -539,13 +551,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param patchInstrumentIdentifierRequest Specify the previous transaction Id to update. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchInstrumentIdentifierRequest, PatchInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -564,6 +577,8 @@ public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId, .replaceAll("\\{" + "instrumentIdentifierId" + "\\}", apiClient.escapeString(instrumentIdentifierId.toString())); List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); Map localVarHeaderParams = new HashMap(); if (profileId != null) @@ -602,7 +617,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -617,7 +632,7 @@ private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrume } - okhttp3.Call call = patchInstrumentIdentifierCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch, progressListener, progressRequestListener); + okhttp3.Call call = patchInstrumentIdentifierCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch, progressListener, progressRequestListener); return call; @@ -632,13 +647,14 @@ private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrume * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param patchInstrumentIdentifierRequest Specify the previous transaction Id to update. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchInstrumentIdentifierRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch) throws ApiException { + public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchInstrumentIdentifier' STARTED"); - ApiResponse resp = patchInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch); + ApiResponse resp = patchInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch); logger.info("CALL TO METHOD 'patchInstrumentIdentifier' ENDED"); return resp.getData(); } @@ -649,13 +665,14 @@ public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrum * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param patchInstrumentIdentifierRequest Specify the previous transaction Id to update. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchInstrumentIdentifierRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch) throws ApiException { + public ApiResponse patchInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = patchInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch, null, null); + okhttp3.Call call = patchInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -666,12 +683,13 @@ public ApiResponse patchInstrumentIdentifierWi * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param patchInstrumentIdentifierRequest Specify the previous transaction Id to update. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call patchInstrumentIdentifierAsync(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchInstrumentIdentifierAsync(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -693,7 +711,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = patchInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch, progressListener, progressRequestListener); + okhttp3.Call call = patchInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -702,12 +720,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for postInstrumentIdentifier * @param postInstrumentIdentifierRequest Specify either a Card, Bank Account or Enrollable Card (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierRequest, PostInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -725,6 +744,8 @@ public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest String localVarPath = "/tms/v1/instrumentidentifiers"; List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); Map localVarHeaderParams = new HashMap(); if (profileId != null) @@ -761,7 +782,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'postInstrumentIdentifierRequest' is set if (postInstrumentIdentifierRequest == null) { @@ -770,7 +791,7 @@ private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentId } - okhttp3.Call call = postInstrumentIdentifierCall(postInstrumentIdentifierRequest, profileId, progressListener, progressRequestListener); + okhttp3.Call call = postInstrumentIdentifierCall(postInstrumentIdentifierRequest, profileId, retrieveBinDetails, progressListener, progressRequestListener); return call; @@ -784,12 +805,13 @@ private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentId * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Creating an Instrument Identifier**<br>It is recommended you [create an Instrument Identifier via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>An Instrument Identifier will also be created if you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body)<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments. * @param postInstrumentIdentifierRequest Specify either a Card, Bank Account or Enrollable Card (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostInstrumentIdentifierRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId) throws ApiException { + public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { logger.info("CALL TO METHOD 'postInstrumentIdentifier' STARTED"); - ApiResponse resp = postInstrumentIdentifierWithHttpInfo(postInstrumentIdentifierRequest, profileId); + ApiResponse resp = postInstrumentIdentifierWithHttpInfo(postInstrumentIdentifierRequest, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'postInstrumentIdentifier' ENDED"); return resp.getData(); } @@ -799,12 +821,13 @@ public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentId * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Creating an Instrument Identifier**<br>It is recommended you [create an Instrument Identifier via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>An Instrument Identifier will also be created if you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body)<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments. * @param postInstrumentIdentifierRequest Specify either a Card, Bank Account or Enrollable Card (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostInstrumentIdentifierRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postInstrumentIdentifierWithHttpInfo(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId) throws ApiException { + public ApiResponse postInstrumentIdentifierWithHttpInfo(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = postInstrumentIdentifierValidateBeforeCall(postInstrumentIdentifierRequest, profileId, null, null); + okhttp3.Call call = postInstrumentIdentifierValidateBeforeCall(postInstrumentIdentifierRequest, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -814,11 +837,12 @@ public ApiResponse postInstrumentIdentifierWith * | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Creating an Instrument Identifier**<br>It is recommended you [create an Instrument Identifier via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>An Instrument Identifier will also be created if you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body)<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments. * @param postInstrumentIdentifierRequest Specify either a Card, Bank Account or Enrollable Card (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call postInstrumentIdentifierAsync(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postInstrumentIdentifierAsync(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -840,7 +864,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = postInstrumentIdentifierValidateBeforeCall(postInstrumentIdentifierRequest, profileId, progressListener, progressRequestListener); + okhttp3.Call call = postInstrumentIdentifierValidateBeforeCall(postInstrumentIdentifierRequest, profileId, retrieveBinDetails, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/Api/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java index 3a40d8729..3db9b3b61 100644 --- a/src/main/java/Api/PaymentInstrumentApi.java +++ b/src/main/java/Api/PaymentInstrumentApi.java @@ -222,12 +222,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getPaymentInstrument * @param paymentInstrumentId The Id of a payment instrument. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -249,6 +250,8 @@ public okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentId, String .replaceAll("\\{" + "paymentInstrumentId" + "\\}", apiClient.escapeString(paymentInstrumentId.toString())); List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); Map localVarHeaderParams = new HashMap(); if (profileId != null) @@ -285,7 +288,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'paymentInstrumentId' is set if (paymentInstrumentId == null) { @@ -294,7 +297,7 @@ private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstru } - okhttp3.Call call = getPaymentInstrumentCall(paymentInstrumentId, profileId, progressListener, progressRequestListener); + okhttp3.Call call = getPaymentInstrumentCall(paymentInstrumentId, profileId, retrieveBinDetails, progressListener, progressRequestListener); return call; @@ -308,12 +311,13 @@ private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstru * | | | | | --- | --- | --- | |**Standalone Payment Instruments**<br>A Payment Instrument represents tokenized payment information such as expiration date, billing address & card type.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>**Standalone Payment Instruments do not belong to a [Customer](#token-management_customer_create-a-customer).**|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving a Payment Instrument**<br>Your system can use this API to retrieve an existing Payment Instrument.<br>To perform a payment with a particular Payment Instrument simply specify the [Payment Instrument Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). * @param paymentInstrumentId The Id of a payment instrument. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumentId, String profileId) throws ApiException { + public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails) throws ApiException { logger.info("CALL TO METHOD 'getPaymentInstrument' STARTED"); - ApiResponse resp = getPaymentInstrumentWithHttpInfo(paymentInstrumentId, profileId); + ApiResponse resp = getPaymentInstrumentWithHttpInfo(paymentInstrumentId, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'getPaymentInstrument' ENDED"); return resp.getData(); } @@ -323,12 +327,13 @@ public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumen * | | | | | --- | --- | --- | |**Standalone Payment Instruments**<br>A Payment Instrument represents tokenized payment information such as expiration date, billing address & card type.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>**Standalone Payment Instruments do not belong to a [Customer](#token-management_customer_create-a-customer).**|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving a Payment Instrument**<br>Your system can use this API to retrieve an existing Payment Instrument.<br>To perform a payment with a particular Payment Instrument simply specify the [Payment Instrument Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). * @param paymentInstrumentId The Id of a payment instrument. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId) throws ApiException { + public ApiResponse getPaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = getPaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, null, null); + okhttp3.Call call = getPaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -338,11 +343,12 @@ public ApiResponse getPaymentInstrumentWithHttpInf * | | | | | --- | --- | --- | |**Standalone Payment Instruments**<br>A Payment Instrument represents tokenized payment information such as expiration date, billing address & card type.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>**Standalone Payment Instruments do not belong to a [Customer](#token-management_customer_create-a-customer).**|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving a Payment Instrument**<br>Your system can use this API to retrieve an existing Payment Instrument.<br>To perform a payment with a particular Payment Instrument simply specify the [Payment Instrument Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). * @param paymentInstrumentId The Id of a payment instrument. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call getPaymentInstrumentAsync(String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPaymentInstrumentAsync(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -364,7 +370,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = getPaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, progressListener, progressRequestListener); + okhttp3.Call call = getPaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, retrieveBinDetails, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -374,13 +380,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param paymentInstrumentId The Id of a payment instrument. (required) * @param patchPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchPaymentInstrumentRequest, PatchPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -399,6 +406,8 @@ public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, Patch .replaceAll("\\{" + "paymentInstrumentId" + "\\}", apiClient.escapeString(paymentInstrumentId.toString())); List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); Map localVarHeaderParams = new HashMap(); if (profileId != null) @@ -437,7 +446,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'paymentInstrumentId' is set if (paymentInstrumentId == null) { @@ -452,7 +461,7 @@ private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInst } - okhttp3.Call call = patchPaymentInstrumentCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch, progressListener, progressRequestListener); + okhttp3.Call call = patchPaymentInstrumentCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch, progressListener, progressRequestListener); return call; @@ -467,13 +476,14 @@ private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInst * @param paymentInstrumentId The Id of a payment instrument. (required) * @param patchPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { + public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { logger.info("CALL TO METHOD 'patchPaymentInstrument' STARTED"); - ApiResponse resp = patchPaymentInstrumentWithHttpInfo(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch); + ApiResponse resp = patchPaymentInstrumentWithHttpInfo(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch); logger.info("CALL TO METHOD 'patchPaymentInstrument' ENDED"); return resp.getData(); } @@ -484,13 +494,14 @@ public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstru * @param paymentInstrumentId The Id of a payment instrument. (required) * @param patchPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchPaymentInstrumentWithHttpInfo(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { + public ApiResponse patchPaymentInstrumentWithHttpInfo(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = patchPaymentInstrumentValidateBeforeCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch, null, null); + okhttp3.Call call = patchPaymentInstrumentValidateBeforeCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -501,12 +512,13 @@ public ApiResponse patchPaymentInstrumentWithHttp * @param paymentInstrumentId The Id of a payment instrument. (required) * @param patchPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call patchPaymentInstrumentAsync(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchPaymentInstrumentAsync(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -528,7 +540,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = patchPaymentInstrumentValidateBeforeCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch, progressListener, progressRequestListener); + okhttp3.Call call = patchPaymentInstrumentValidateBeforeCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -537,12 +549,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for postPaymentInstrument * @param postPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentInstrumentRequest, PostPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -560,6 +573,8 @@ public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postP String localVarPath = "/tms/v1/paymentinstruments"; List localVarQueryParams = new ArrayList(); + if (retrieveBinDetails != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "retrieveBinDetails", retrieveBinDetails)); Map localVarHeaderParams = new HashMap(); if (profileId != null) @@ -596,7 +611,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'postPaymentInstrumentRequest' is set if (postPaymentInstrumentRequest == null) { @@ -605,7 +620,7 @@ private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrume } - okhttp3.Call call = postPaymentInstrumentCall(postPaymentInstrumentRequest, profileId, progressListener, progressRequestListener); + okhttp3.Call call = postPaymentInstrumentCall(postPaymentInstrumentRequest, profileId, retrieveBinDetails, progressListener, progressRequestListener); return call; @@ -619,12 +634,13 @@ private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrume * | | | | | --- | --- | --- | |**Standalone Payment Instruments**<br>A Payment Instrument represents tokenized payment information such as expiration date, billing address & card type.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>**Standalone Payment Instruments do not belong to a [Customer](#token-management_customer_create-a-customer).**<br><br>**Creating a Payment Instrument**<br>It is recommended you [create a Payment Instrument via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Payment Instruments**<br>To perform a payment with a particular Payment Instrument specify the [Payment Instrument in the payment request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). * @param postPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId) throws ApiException { + public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { logger.info("CALL TO METHOD 'postPaymentInstrument' STARTED"); - ApiResponse resp = postPaymentInstrumentWithHttpInfo(postPaymentInstrumentRequest, profileId); + ApiResponse resp = postPaymentInstrumentWithHttpInfo(postPaymentInstrumentRequest, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'postPaymentInstrument' ENDED"); return resp.getData(); } @@ -634,12 +650,13 @@ public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentR * | | | | | --- | --- | --- | |**Standalone Payment Instruments**<br>A Payment Instrument represents tokenized payment information such as expiration date, billing address & card type.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>**Standalone Payment Instruments do not belong to a [Customer](#token-management_customer_create-a-customer).**<br><br>**Creating a Payment Instrument**<br>It is recommended you [create a Payment Instrument via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Payment Instruments**<br>To perform a payment with a particular Payment Instrument specify the [Payment Instrument in the payment request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). * @param postPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId) throws ApiException { + public ApiResponse postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = postPaymentInstrumentValidateBeforeCall(postPaymentInstrumentRequest, profileId, null, null); + okhttp3.Call call = postPaymentInstrumentValidateBeforeCall(postPaymentInstrumentRequest, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -649,11 +666,12 @@ public ApiResponse postPaymentInstrumentWithHttpIn * | | | | | --- | --- | --- | |**Standalone Payment Instruments**<br>A Payment Instrument represents tokenized payment information such as expiration date, billing address & card type.<br>A Payment Instrument token does not store the card number. A Payment Instrument is associated with an [Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier) that represents either a payment card number, or in the case of an ACH bank account, the routing and account number.<br>**Standalone Payment Instruments do not belong to a [Customer](#token-management_customer_create-a-customer).**<br><br>**Creating a Payment Instrument**<br>It is recommended you [create a Payment Instrument via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Payment Instruments**<br>To perform a payment with a particular Payment Instrument specify the [Payment Instrument in the payment request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). * @param postPaymentInstrumentRequest (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public okhttp3.Call postPaymentInstrumentAsync(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postPaymentInstrumentAsync(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -675,7 +693,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = postPaymentInstrumentValidateBeforeCall(postPaymentInstrumentRequest, profileId, progressListener, progressRequestListener); + okhttp3.Call call = postPaymentInstrumentValidateBeforeCall(postPaymentInstrumentRequest, profileId, retrieveBinDetails, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/Model/CreatePaymentRequest.java b/src/main/java/Model/CreatePaymentRequest.java index 0c4fa16a6..53a86a0b5 100644 --- a/src/main/java/Model/CreatePaymentRequest.java +++ b/src/main/java/Model/CreatePaymentRequest.java @@ -42,6 +42,7 @@ import Model.Ptsv2paymentsSenderInformation; import Model.Ptsv2paymentsTokenInformation; import Model.Ptsv2paymentsTravelInformation; +import Model.Ptsv2paymentsUnscheduledPaymentInformation; import Model.Ptsv2paymentsWatchlistScreeningInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -137,6 +138,9 @@ public class CreatePaymentRequest { @SerializedName("recurringPaymentInformation") private Ptsv2paymentsRecurringPaymentInformation recurringPaymentInformation = null; + @SerializedName("unscheduledPaymentInformation") + private Ptsv2paymentsUnscheduledPaymentInformation unscheduledPaymentInformation = null; + @SerializedName("hostedPaymentInformation") private Ptsv2paymentsHostedPaymentInformation hostedPaymentInformation = null; @@ -619,6 +623,24 @@ public void setRecurringPaymentInformation(Ptsv2paymentsRecurringPaymentInformat this.recurringPaymentInformation = recurringPaymentInformation; } + public CreatePaymentRequest unscheduledPaymentInformation(Ptsv2paymentsUnscheduledPaymentInformation unscheduledPaymentInformation) { + this.unscheduledPaymentInformation = unscheduledPaymentInformation; + return this; + } + + /** + * Get unscheduledPaymentInformation + * @return unscheduledPaymentInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsUnscheduledPaymentInformation getUnscheduledPaymentInformation() { + return unscheduledPaymentInformation; + } + + public void setUnscheduledPaymentInformation(Ptsv2paymentsUnscheduledPaymentInformation unscheduledPaymentInformation) { + this.unscheduledPaymentInformation = unscheduledPaymentInformation; + } + public CreatePaymentRequest hostedPaymentInformation(Ptsv2paymentsHostedPaymentInformation hostedPaymentInformation) { this.hostedPaymentInformation = hostedPaymentInformation; return this; @@ -691,13 +713,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.riskInformation, createPaymentRequest.riskInformation) && Objects.equals(this.acquirerInformation, createPaymentRequest.acquirerInformation) && Objects.equals(this.recurringPaymentInformation, createPaymentRequest.recurringPaymentInformation) && + Objects.equals(this.unscheduledPaymentInformation, createPaymentRequest.unscheduledPaymentInformation) && Objects.equals(this.hostedPaymentInformation, createPaymentRequest.hostedPaymentInformation) && Objects.equals(this.watchlistScreeningInformation, createPaymentRequest.watchlistScreeningInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, processingInformation, issuerInformation, paymentInformation, orderInformation, buyerInformation, senderInformation, recipientInformation, deviceInformation, merchantInformation, aggregatorInformation, consumerAuthenticationInformation, pointOfSaleInformation, merchantDefinedInformation, merchantDefinedSecureInformation, installmentInformation, travelInformation, healthCareInformation, promotionInformation, tokenInformation, invoiceDetails, processorInformation, agreementInformation, riskInformation, acquirerInformation, recurringPaymentInformation, hostedPaymentInformation, watchlistScreeningInformation); + return Objects.hash(clientReferenceInformation, processingInformation, issuerInformation, paymentInformation, orderInformation, buyerInformation, senderInformation, recipientInformation, deviceInformation, merchantInformation, aggregatorInformation, consumerAuthenticationInformation, pointOfSaleInformation, merchantDefinedInformation, merchantDefinedSecureInformation, installmentInformation, travelInformation, healthCareInformation, promotionInformation, tokenInformation, invoiceDetails, processorInformation, agreementInformation, riskInformation, acquirerInformation, recurringPaymentInformation, unscheduledPaymentInformation, hostedPaymentInformation, watchlistScreeningInformation); } @@ -732,6 +755,7 @@ public String toString() { if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n"); if (acquirerInformation != null) sb.append(" acquirerInformation: ").append(toIndentedString(acquirerInformation)).append("\n"); if (recurringPaymentInformation != null) sb.append(" recurringPaymentInformation: ").append(toIndentedString(recurringPaymentInformation)).append("\n"); + if (unscheduledPaymentInformation != null) sb.append(" unscheduledPaymentInformation: ").append(toIndentedString(unscheduledPaymentInformation)).append("\n"); if (hostedPaymentInformation != null) sb.append(" hostedPaymentInformation: ").append(toIndentedString(hostedPaymentInformation)).append("\n"); if (watchlistScreeningInformation != null) sb.append(" watchlistScreeningInformation: ").append(toIndentedString(watchlistScreeningInformation)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/GenerateCaptureContextRequest.java b/src/main/java/Model/GenerateCaptureContextRequest.java index ce192ac3b..e6052f04d 100644 --- a/src/main/java/Model/GenerateCaptureContextRequest.java +++ b/src/main/java/Model/GenerateCaptureContextRequest.java @@ -15,7 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.Microformv2sessionsCheckoutApiInitialization; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,9 +27,9 @@ import java.util.List; /** - * This is a server-to-server API request to generate the capture context that can be used to initiate instance of microform on a acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application. + * This is a server-to-server API request to generate the capture context that can be used to initiate an instance of Microform on an acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application. */ -@ApiModel(description = "This is a server-to-server API request to generate the capture context that can be used to initiate instance of microform on a acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application. ") +@ApiModel(description = "This is a server-to-server API request to generate the capture context that can be used to initiate an instance of Microform on an acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application. ") public class GenerateCaptureContextRequest { @SerializedName("clientVersion") @@ -42,8 +41,8 @@ public class GenerateCaptureContextRequest { @SerializedName("allowedCardNetworks") private List allowedCardNetworks = null; - @SerializedName("checkoutApiInitialization") - private Microformv2sessionsCheckoutApiInitialization checkoutApiInitialization = null; + @SerializedName("allowedPaymentTypes") + private List allowedPaymentTypes = null; public GenerateCaptureContextRequest clientVersion(String clientVersion) { this.clientVersion = clientVersion; @@ -103,10 +102,10 @@ public GenerateCaptureContextRequest addAllowedCardNetworksItem(String allowedCa } /** - * The list of card networks you want to use for this Microform transaction. Microform currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA + * The list of card networks you want to use for this Microform transaction. Microform currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA **Important:** - When integrating Microform (Accept Card) at least one card network should be specified in the allowedCardNetworks field in the capture context request. - When integrating Microform (Accept Check) the allowedCardNetworks field is not required in the capture context request. - When integrating both Microform (Accept Card) and Microform (Accept Check) at least one card network should be specified in the allowedCardNetworks field in the capture context request. * @return allowedCardNetworks **/ - @ApiModelProperty(value = "The list of card networks you want to use for this Microform transaction. Microform currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA ") + @ApiModelProperty(value = "The list of card networks you want to use for this Microform transaction. Microform currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA **Important:** - When integrating Microform (Accept Card) at least one card network should be specified in the allowedCardNetworks field in the capture context request. - When integrating Microform (Accept Check) the allowedCardNetworks field is not required in the capture context request. - When integrating both Microform (Accept Card) and Microform (Accept Check) at least one card network should be specified in the allowedCardNetworks field in the capture context request. ") public List getAllowedCardNetworks() { return allowedCardNetworks; } @@ -115,22 +114,30 @@ public void setAllowedCardNetworks(List allowedCardNetworks) { this.allowedCardNetworks = allowedCardNetworks; } - public GenerateCaptureContextRequest checkoutApiInitialization(Microformv2sessionsCheckoutApiInitialization checkoutApiInitialization) { - this.checkoutApiInitialization = checkoutApiInitialization; + public GenerateCaptureContextRequest allowedPaymentTypes(List allowedPaymentTypes) { + this.allowedPaymentTypes = allowedPaymentTypes; + return this; + } + + public GenerateCaptureContextRequest addAllowedPaymentTypesItem(String allowedPaymentTypesItem) { + if (this.allowedPaymentTypes == null) { + this.allowedPaymentTypes = new ArrayList(); + } + this.allowedPaymentTypes.add(allowedPaymentTypesItem); return this; } /** - * Get checkoutApiInitialization - * @return checkoutApiInitialization + * The payment types that are allowed for the merchant. Possible values when launching Microform: - CARD - CHECK <br><br> + * @return allowedPaymentTypes **/ - @ApiModelProperty(value = "") - public Microformv2sessionsCheckoutApiInitialization getCheckoutApiInitialization() { - return checkoutApiInitialization; + @ApiModelProperty(value = "The payment types that are allowed for the merchant. Possible values when launching Microform: - CARD - CHECK

") + public List getAllowedPaymentTypes() { + return allowedPaymentTypes; } - public void setCheckoutApiInitialization(Microformv2sessionsCheckoutApiInitialization checkoutApiInitialization) { - this.checkoutApiInitialization = checkoutApiInitialization; + public void setAllowedPaymentTypes(List allowedPaymentTypes) { + this.allowedPaymentTypes = allowedPaymentTypes; } @@ -146,12 +153,12 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.clientVersion, generateCaptureContextRequest.clientVersion) && Objects.equals(this.targetOrigins, generateCaptureContextRequest.targetOrigins) && Objects.equals(this.allowedCardNetworks, generateCaptureContextRequest.allowedCardNetworks) && - Objects.equals(this.checkoutApiInitialization, generateCaptureContextRequest.checkoutApiInitialization); + Objects.equals(this.allowedPaymentTypes, generateCaptureContextRequest.allowedPaymentTypes); } @Override public int hashCode() { - return Objects.hash(clientVersion, targetOrigins, allowedCardNetworks, checkoutApiInitialization); + return Objects.hash(clientVersion, targetOrigins, allowedCardNetworks, allowedPaymentTypes); } @@ -163,7 +170,7 @@ public String toString() { if (clientVersion != null) sb.append(" clientVersion: ").append(toIndentedString(clientVersion)).append("\n"); if (targetOrigins != null) sb.append(" targetOrigins: ").append(toIndentedString(targetOrigins)).append("\n"); if (allowedCardNetworks != null) sb.append(" allowedCardNetworks: ").append(toIndentedString(allowedCardNetworks)).append("\n"); - if (checkoutApiInitialization != null) sb.append(" checkoutApiInitialization: ").append(toIndentedString(checkoutApiInitialization)).append("\n"); + if (allowedPaymentTypes != null) sb.append(" allowedPaymentTypes: ").append(toIndentedString(allowedPaymentTypes)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java b/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java index 1a0ef6692..bc25560c4 100644 --- a/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java +++ b/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java @@ -16,7 +16,6 @@ import java.util.Objects; import java.util.Arrays; import Model.Upv1capturecontextsCaptureMandate; -import Model.Upv1capturecontextsCheckoutApiInitialization; import Model.Upv1capturecontextsOrderInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -58,9 +57,6 @@ public class GenerateUnifiedCheckoutCaptureContextRequest { @SerializedName("orderInformation") private Upv1capturecontextsOrderInformation orderInformation = null; - @SerializedName("checkoutApiInitialization") - private Upv1capturecontextsCheckoutApiInitialization checkoutApiInitialization = null; - public GenerateUnifiedCheckoutCaptureContextRequest clientVersion(String clientVersion) { this.clientVersion = clientVersion; return this; @@ -145,10 +141,10 @@ public GenerateUnifiedCheckoutCaptureContextRequest addAllowedPaymentTypesItem(S } /** - * The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - PANENTRY - GOOGLEPAY - SRC - CHECK <br><br> Possible values when launching Unified Checkout with Checkout API: - PANENTRY - SRC <br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - SRC and CLICKTOPAY are only available for Visa, Mastercard and AMEX. + * The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field. * @return allowedPaymentTypes **/ - @ApiModelProperty(value = "The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - PANENTRY - GOOGLEPAY - SRC - CHECK

Possible values when launching Unified Checkout with Checkout API: - PANENTRY - SRC

Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - SRC and CLICKTOPAY are only available for Visa, Mastercard and AMEX. ") + @ApiModelProperty(value = "The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field. ") public List getAllowedPaymentTypes() { return allowedPaymentTypes; } @@ -229,24 +225,6 @@ public void setOrderInformation(Upv1capturecontextsOrderInformation orderInforma this.orderInformation = orderInformation; } - public GenerateUnifiedCheckoutCaptureContextRequest checkoutApiInitialization(Upv1capturecontextsCheckoutApiInitialization checkoutApiInitialization) { - this.checkoutApiInitialization = checkoutApiInitialization; - return this; - } - - /** - * Get checkoutApiInitialization - * @return checkoutApiInitialization - **/ - @ApiModelProperty(value = "") - public Upv1capturecontextsCheckoutApiInitialization getCheckoutApiInitialization() { - return checkoutApiInitialization; - } - - public void setCheckoutApiInitialization(Upv1capturecontextsCheckoutApiInitialization checkoutApiInitialization) { - this.checkoutApiInitialization = checkoutApiInitialization; - } - @Override public boolean equals(java.lang.Object o) { @@ -264,13 +242,12 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.country, generateUnifiedCheckoutCaptureContextRequest.country) && Objects.equals(this.locale, generateUnifiedCheckoutCaptureContextRequest.locale) && Objects.equals(this.captureMandate, generateUnifiedCheckoutCaptureContextRequest.captureMandate) && - Objects.equals(this.orderInformation, generateUnifiedCheckoutCaptureContextRequest.orderInformation) && - Objects.equals(this.checkoutApiInitialization, generateUnifiedCheckoutCaptureContextRequest.checkoutApiInitialization); + Objects.equals(this.orderInformation, generateUnifiedCheckoutCaptureContextRequest.orderInformation); } @Override public int hashCode() { - return Objects.hash(clientVersion, targetOrigins, allowedCardNetworks, allowedPaymentTypes, country, locale, captureMandate, orderInformation, checkoutApiInitialization); + return Objects.hash(clientVersion, targetOrigins, allowedCardNetworks, allowedPaymentTypes, country, locale, captureMandate, orderInformation); } @@ -287,7 +264,6 @@ public String toString() { if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); if (captureMandate != null) sb.append(" captureMandate: ").append(toIndentedString(captureMandate)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); - if (checkoutApiInitialization != null) sb.append(" checkoutApiInitialization: ").append(toIndentedString(checkoutApiInitialization)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2011.java b/src/main/java/Model/InlineResponse2011.java index 41df13807..604c59149 100644 --- a/src/main/java/Model/InlineResponse2011.java +++ b/src/main/java/Model/InlineResponse2011.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2011IssuerInformation; -import Model.InlineResponse2011PaymentAccountInformation; import Model.InlineResponse2011PayoutInformation; +import Model.TmsBinLookupIssuerInformation; +import Model.TmsBinLookupPaymentAccountInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -42,10 +42,10 @@ public class InlineResponse2011 { private String status = null; @SerializedName("paymentAccountInformation") - private InlineResponse2011PaymentAccountInformation paymentAccountInformation = null; + private TmsBinLookupPaymentAccountInformation paymentAccountInformation = null; @SerializedName("issuerInformation") - private InlineResponse2011IssuerInformation issuerInformation = null; + private TmsBinLookupIssuerInformation issuerInformation = null; @SerializedName("payoutInformation") private InlineResponse2011PayoutInformation payoutInformation = null; @@ -104,7 +104,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2011 paymentAccountInformation(InlineResponse2011PaymentAccountInformation paymentAccountInformation) { + public InlineResponse2011 paymentAccountInformation(TmsBinLookupPaymentAccountInformation paymentAccountInformation) { this.paymentAccountInformation = paymentAccountInformation; return this; } @@ -114,15 +114,15 @@ public InlineResponse2011 paymentAccountInformation(InlineResponse2011PaymentAcc * @return paymentAccountInformation **/ @ApiModelProperty(value = "") - public InlineResponse2011PaymentAccountInformation getPaymentAccountInformation() { + public TmsBinLookupPaymentAccountInformation getPaymentAccountInformation() { return paymentAccountInformation; } - public void setPaymentAccountInformation(InlineResponse2011PaymentAccountInformation paymentAccountInformation) { + public void setPaymentAccountInformation(TmsBinLookupPaymentAccountInformation paymentAccountInformation) { this.paymentAccountInformation = paymentAccountInformation; } - public InlineResponse2011 issuerInformation(InlineResponse2011IssuerInformation issuerInformation) { + public InlineResponse2011 issuerInformation(TmsBinLookupIssuerInformation issuerInformation) { this.issuerInformation = issuerInformation; return this; } @@ -132,11 +132,11 @@ public InlineResponse2011 issuerInformation(InlineResponse2011IssuerInformation * @return issuerInformation **/ @ApiModelProperty(value = "") - public InlineResponse2011IssuerInformation getIssuerInformation() { + public TmsBinLookupIssuerInformation getIssuerInformation() { return issuerInformation; } - public void setIssuerInformation(InlineResponse2011IssuerInformation issuerInformation) { + public void setIssuerInformation(TmsBinLookupIssuerInformation issuerInformation) { this.issuerInformation = issuerInformation; } diff --git a/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java b/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java deleted file mode 100644 index 932b3194e..000000000 --- a/src/main/java/Model/Microformv2sessionsCheckoutApiInitialization.java +++ /dev/null @@ -1,302 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Microform to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser. - */ -@ApiModel(description = "Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Microform to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser. ") - -public class Microformv2sessionsCheckoutApiInitialization { - @SerializedName("profile_id") - private String profileId = null; - - @SerializedName("access_key") - private String accessKey = null; - - @SerializedName("reference_number") - private String referenceNumber = null; - - @SerializedName("transaction_uuid") - private String transactionUuid = null; - - @SerializedName("transaction_type") - private String transactionType = null; - - @SerializedName("currency") - private String currency = null; - - @SerializedName("amount") - private String amount = null; - - @SerializedName("locale") - private String locale = null; - - @SerializedName("override_custom_receipt_page") - private String overrideCustomReceiptPage = null; - - @SerializedName("unsigned_field_names") - private String unsignedFieldNames = null; - - public Microformv2sessionsCheckoutApiInitialization profileId(String profileId) { - this.profileId = profileId; - return this; - } - - /** - * Get profileId - * @return profileId - **/ - @ApiModelProperty(example = "12341234-1234-1234-1234-123412341234", value = "") - public String getProfileId() { - return profileId; - } - - public void setProfileId(String profileId) { - this.profileId = profileId; - } - - public Microformv2sessionsCheckoutApiInitialization accessKey(String accessKey) { - this.accessKey = accessKey; - return this; - } - - /** - * Get accessKey - * @return accessKey - **/ - @ApiModelProperty(example = "acce55acce55acce55acce55acce5500", value = "") - public String getAccessKey() { - return accessKey; - } - - public void setAccessKey(String accessKey) { - this.accessKey = accessKey; - } - - public Microformv2sessionsCheckoutApiInitialization referenceNumber(String referenceNumber) { - this.referenceNumber = referenceNumber; - return this; - } - - /** - * Get referenceNumber - * @return referenceNumber - **/ - @ApiModelProperty(example = "1611305732", value = "") - public String getReferenceNumber() { - return referenceNumber; - } - - public void setReferenceNumber(String referenceNumber) { - this.referenceNumber = referenceNumber; - } - - public Microformv2sessionsCheckoutApiInitialization transactionUuid(String transactionUuid) { - this.transactionUuid = transactionUuid; - return this; - } - - /** - * Get transactionUuid - * @return transactionUuid - **/ - @ApiModelProperty(example = "1611305732-001", value = "") - public String getTransactionUuid() { - return transactionUuid; - } - - public void setTransactionUuid(String transactionUuid) { - this.transactionUuid = transactionUuid; - } - - public Microformv2sessionsCheckoutApiInitialization transactionType(String transactionType) { - this.transactionType = transactionType; - return this; - } - - /** - * Get transactionType - * @return transactionType - **/ - @ApiModelProperty(example = "authorization", value = "") - public String getTransactionType() { - return transactionType; - } - - public void setTransactionType(String transactionType) { - this.transactionType = transactionType; - } - - public Microformv2sessionsCheckoutApiInitialization currency(String currency) { - this.currency = currency; - return this; - } - - /** - * Get currency - * @return currency - **/ - @ApiModelProperty(example = "USD", value = "") - public String getCurrency() { - return currency; - } - - public void setCurrency(String currency) { - this.currency = currency; - } - - public Microformv2sessionsCheckoutApiInitialization amount(String amount) { - this.amount = amount; - return this; - } - - /** - * Get amount - * @return amount - **/ - @ApiModelProperty(example = "100", value = "") - public String getAmount() { - return amount; - } - - public void setAmount(String amount) { - this.amount = amount; - } - - public Microformv2sessionsCheckoutApiInitialization locale(String locale) { - this.locale = locale; - return this; - } - - /** - * Locale where application is being used. This field controls aspects of the application such as the language it will be rendered in. - * @return locale - **/ - @ApiModelProperty(example = "en-us", value = "Locale where application is being used. This field controls aspects of the application such as the language it will be rendered in. ") - public String getLocale() { - return locale; - } - - public void setLocale(String locale) { - this.locale = locale; - } - - public Microformv2sessionsCheckoutApiInitialization overrideCustomReceiptPage(String overrideCustomReceiptPage) { - this.overrideCustomReceiptPage = overrideCustomReceiptPage; - return this; - } - - /** - * Get overrideCustomReceiptPage - * @return overrideCustomReceiptPage - **/ - @ApiModelProperty(example = "https://www.test.com/receipt", value = "") - public String getOverrideCustomReceiptPage() { - return overrideCustomReceiptPage; - } - - public void setOverrideCustomReceiptPage(String overrideCustomReceiptPage) { - this.overrideCustomReceiptPage = overrideCustomReceiptPage; - } - - public Microformv2sessionsCheckoutApiInitialization unsignedFieldNames(String unsignedFieldNames) { - this.unsignedFieldNames = unsignedFieldNames; - return this; - } - - /** - * Get unsignedFieldNames - * @return unsignedFieldNames - **/ - @ApiModelProperty(example = "transient_token", value = "") - public String getUnsignedFieldNames() { - return unsignedFieldNames; - } - - public void setUnsignedFieldNames(String unsignedFieldNames) { - this.unsignedFieldNames = unsignedFieldNames; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Microformv2sessionsCheckoutApiInitialization microformv2sessionsCheckoutApiInitialization = (Microformv2sessionsCheckoutApiInitialization) o; - return Objects.equals(this.profileId, microformv2sessionsCheckoutApiInitialization.profileId) && - Objects.equals(this.accessKey, microformv2sessionsCheckoutApiInitialization.accessKey) && - Objects.equals(this.referenceNumber, microformv2sessionsCheckoutApiInitialization.referenceNumber) && - Objects.equals(this.transactionUuid, microformv2sessionsCheckoutApiInitialization.transactionUuid) && - Objects.equals(this.transactionType, microformv2sessionsCheckoutApiInitialization.transactionType) && - Objects.equals(this.currency, microformv2sessionsCheckoutApiInitialization.currency) && - Objects.equals(this.amount, microformv2sessionsCheckoutApiInitialization.amount) && - Objects.equals(this.locale, microformv2sessionsCheckoutApiInitialization.locale) && - Objects.equals(this.overrideCustomReceiptPage, microformv2sessionsCheckoutApiInitialization.overrideCustomReceiptPage) && - Objects.equals(this.unsignedFieldNames, microformv2sessionsCheckoutApiInitialization.unsignedFieldNames); - } - - @Override - public int hashCode() { - return Objects.hash(profileId, accessKey, referenceNumber, transactionUuid, transactionType, currency, amount, locale, overrideCustomReceiptPage, unsignedFieldNames); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Microformv2sessionsCheckoutApiInitialization {\n"); - - if (profileId != null) sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); - if (accessKey != null) sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); - if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - if (transactionUuid != null) sb.append(" transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n"); - if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - if (overrideCustomReceiptPage != null) sb.append(" overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n"); - if (unsignedFieldNames != null) sb.append(" unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/OctCreatePaymentRequest.java b/src/main/java/Model/OctCreatePaymentRequest.java index dbf6f2d03..bba003224 100644 --- a/src/main/java/Model/OctCreatePaymentRequest.java +++ b/src/main/java/Model/OctCreatePaymentRequest.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2payoutsAggregatorInformation; import Model.Ptsv2payoutsClientReferenceInformation; import Model.Ptsv2payoutsMerchantInformation; import Model.Ptsv2payoutsOrderInformation; @@ -57,6 +58,9 @@ public class OctCreatePaymentRequest { @SerializedName("paymentInformation") private Ptsv2payoutsPaymentInformation paymentInformation = null; + @SerializedName("aggregatorInformation") + private Ptsv2payoutsAggregatorInformation aggregatorInformation = null; + public OctCreatePaymentRequest clientReferenceInformation(Ptsv2payoutsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -183,6 +187,24 @@ public void setPaymentInformation(Ptsv2payoutsPaymentInformation paymentInformat this.paymentInformation = paymentInformation; } + public OctCreatePaymentRequest aggregatorInformation(Ptsv2payoutsAggregatorInformation aggregatorInformation) { + this.aggregatorInformation = aggregatorInformation; + return this; + } + + /** + * Get aggregatorInformation + * @return aggregatorInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2payoutsAggregatorInformation getAggregatorInformation() { + return aggregatorInformation; + } + + public void setAggregatorInformation(Ptsv2payoutsAggregatorInformation aggregatorInformation) { + this.aggregatorInformation = aggregatorInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -199,12 +221,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recipientInformation, octCreatePaymentRequest.recipientInformation) && Objects.equals(this.senderInformation, octCreatePaymentRequest.senderInformation) && Objects.equals(this.processingInformation, octCreatePaymentRequest.processingInformation) && - Objects.equals(this.paymentInformation, octCreatePaymentRequest.paymentInformation); + Objects.equals(this.paymentInformation, octCreatePaymentRequest.paymentInformation) && + Objects.equals(this.aggregatorInformation, octCreatePaymentRequest.aggregatorInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, orderInformation, merchantInformation, recipientInformation, senderInformation, processingInformation, paymentInformation); + return Objects.hash(clientReferenceInformation, orderInformation, merchantInformation, recipientInformation, senderInformation, processingInformation, paymentInformation, aggregatorInformation); } @@ -220,6 +243,7 @@ public String toString() { if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + if (aggregatorInformation != null) sb.append(" aggregatorInformation: ").append(toIndentedString(aggregatorInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PatchInstrumentIdentifierRequest.java b/src/main/java/Model/PatchInstrumentIdentifierRequest.java index 1d9aef9e4..ed794447f 100644 --- a/src/main/java/Model/PatchInstrumentIdentifierRequest.java +++ b/src/main/java/Model/PatchInstrumentIdentifierRequest.java @@ -19,6 +19,7 @@ import Model.TmsEmbeddedInstrumentIdentifierBankAccount; import Model.TmsEmbeddedInstrumentIdentifierBillTo; import Model.TmsEmbeddedInstrumentIdentifierCard; +import Model.TmsEmbeddedInstrumentIdentifierEmbedded; import Model.TmsEmbeddedInstrumentIdentifierIssuer; import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; @@ -77,6 +78,9 @@ public class PatchInstrumentIdentifierRequest { @SerializedName("metadata") private TmsEmbeddedInstrumentIdentifierMetadata metadata = null; + @SerializedName("_embedded") + private TmsEmbeddedInstrumentIdentifierEmbedded embedded = null; + public PatchInstrumentIdentifierRequest links(TmsEmbeddedInstrumentIdentifierLinks links) { this.links = links; return this; @@ -293,6 +297,24 @@ public void setMetadata(TmsEmbeddedInstrumentIdentifierMetadata metadata) { this.metadata = metadata; } + public PatchInstrumentIdentifierRequest embedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + return this; + } + + /** + * Get embedded + * @return embedded + **/ + @ApiModelProperty(value = "") + public TmsEmbeddedInstrumentIdentifierEmbedded getEmbedded() { + return embedded; + } + + public void setEmbedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + } + @Override public boolean equals(java.lang.Object o) { @@ -315,12 +337,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.issuer, patchInstrumentIdentifierRequest.issuer) && Objects.equals(this.processingInformation, patchInstrumentIdentifierRequest.processingInformation) && Objects.equals(this.billTo, patchInstrumentIdentifierRequest.billTo) && - Objects.equals(this.metadata, patchInstrumentIdentifierRequest.metadata); + Objects.equals(this.metadata, patchInstrumentIdentifierRequest.metadata) && + Objects.equals(this.embedded, patchInstrumentIdentifierRequest.embedded); } @Override public int hashCode() { - return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata); + return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata, embedded); } @@ -342,6 +365,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java b/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java index 6641da48c..9543a6c95 100644 --- a/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java +++ b/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java @@ -19,6 +19,7 @@ import Model.TmsEmbeddedInstrumentIdentifierBankAccount; import Model.TmsEmbeddedInstrumentIdentifierBillTo; import Model.TmsEmbeddedInstrumentIdentifierCard; +import Model.TmsEmbeddedInstrumentIdentifierEmbedded; import Model.TmsEmbeddedInstrumentIdentifierIssuer; import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; @@ -77,6 +78,9 @@ public class PostInstrumentIdentifierEnrollmentRequest { @SerializedName("metadata") private TmsEmbeddedInstrumentIdentifierMetadata metadata = null; + @SerializedName("_embedded") + private TmsEmbeddedInstrumentIdentifierEmbedded embedded = null; + public PostInstrumentIdentifierEnrollmentRequest links(TmsEmbeddedInstrumentIdentifierLinks links) { this.links = links; return this; @@ -293,6 +297,24 @@ public void setMetadata(TmsEmbeddedInstrumentIdentifierMetadata metadata) { this.metadata = metadata; } + public PostInstrumentIdentifierEnrollmentRequest embedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + return this; + } + + /** + * Get embedded + * @return embedded + **/ + @ApiModelProperty(value = "") + public TmsEmbeddedInstrumentIdentifierEmbedded getEmbedded() { + return embedded; + } + + public void setEmbedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + } + @Override public boolean equals(java.lang.Object o) { @@ -315,12 +337,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.issuer, postInstrumentIdentifierEnrollmentRequest.issuer) && Objects.equals(this.processingInformation, postInstrumentIdentifierEnrollmentRequest.processingInformation) && Objects.equals(this.billTo, postInstrumentIdentifierEnrollmentRequest.billTo) && - Objects.equals(this.metadata, postInstrumentIdentifierEnrollmentRequest.metadata); + Objects.equals(this.metadata, postInstrumentIdentifierEnrollmentRequest.metadata) && + Objects.equals(this.embedded, postInstrumentIdentifierEnrollmentRequest.embedded); } @Override public int hashCode() { - return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata); + return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata, embedded); } @@ -342,6 +365,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PostInstrumentIdentifierRequest.java b/src/main/java/Model/PostInstrumentIdentifierRequest.java index 42988cf09..a10272b94 100644 --- a/src/main/java/Model/PostInstrumentIdentifierRequest.java +++ b/src/main/java/Model/PostInstrumentIdentifierRequest.java @@ -19,6 +19,7 @@ import Model.TmsEmbeddedInstrumentIdentifierBankAccount; import Model.TmsEmbeddedInstrumentIdentifierBillTo; import Model.TmsEmbeddedInstrumentIdentifierCard; +import Model.TmsEmbeddedInstrumentIdentifierEmbedded; import Model.TmsEmbeddedInstrumentIdentifierIssuer; import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; @@ -77,6 +78,9 @@ public class PostInstrumentIdentifierRequest { @SerializedName("metadata") private TmsEmbeddedInstrumentIdentifierMetadata metadata = null; + @SerializedName("_embedded") + private TmsEmbeddedInstrumentIdentifierEmbedded embedded = null; + public PostInstrumentIdentifierRequest links(TmsEmbeddedInstrumentIdentifierLinks links) { this.links = links; return this; @@ -293,6 +297,24 @@ public void setMetadata(TmsEmbeddedInstrumentIdentifierMetadata metadata) { this.metadata = metadata; } + public PostInstrumentIdentifierRequest embedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + return this; + } + + /** + * Get embedded + * @return embedded + **/ + @ApiModelProperty(value = "") + public TmsEmbeddedInstrumentIdentifierEmbedded getEmbedded() { + return embedded; + } + + public void setEmbedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + } + @Override public boolean equals(java.lang.Object o) { @@ -315,12 +337,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.issuer, postInstrumentIdentifierRequest.issuer) && Objects.equals(this.processingInformation, postInstrumentIdentifierRequest.processingInformation) && Objects.equals(this.billTo, postInstrumentIdentifierRequest.billTo) && - Objects.equals(this.metadata, postInstrumentIdentifierRequest.metadata); + Objects.equals(this.metadata, postInstrumentIdentifierRequest.metadata) && + Objects.equals(this.embedded, postInstrumentIdentifierRequest.embedded); } @Override public int hashCode() { - return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata); + return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata, embedded); } @@ -342,6 +365,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PostPaymentCredentialsRequest.java b/src/main/java/Model/PostPaymentCredentialsRequest.java index 630a7a8ad..b136f653b 100644 --- a/src/main/java/Model/PostPaymentCredentialsRequest.java +++ b/src/main/java/Model/PostPaymentCredentialsRequest.java @@ -38,10 +38,10 @@ public PostPaymentCredentialsRequest paymentCredentialType(String paymentCredent } /** - * The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token will be returned and cryptogram or dynamic CVV will be excluded. Possible Values: - NETWORK_TOKEN + * The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested. If \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF. If \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex. Possible Values: - NETWORK_TOKEN - SECURITY_CODE - CRYPTOGRAM * @return paymentCredentialType **/ - @ApiModelProperty(value = "The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token will be returned and cryptogram or dynamic CVV will be excluded. Possible Values: - NETWORK_TOKEN ") + @ApiModelProperty(value = "The type of payment credentials to be returned. By default, payment credentials include network token and cryptogram or dynamic CVV. If \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested. If \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF. If \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex. Possible Values: - NETWORK_TOKEN - SECURITY_CODE - CRYPTOGRAM ") public String getPaymentCredentialType() { return paymentCredentialType; } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java index 65193d3a4..6cbd4dd1d 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java @@ -52,6 +52,9 @@ public class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation { @SerializedName("merchantAdvice") private PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice merchantAdvice = null; + @SerializedName("merchantRiskPrediction") + private String merchantRiskPrediction = null; + @SerializedName("sellerProtection") private PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection sellerProtection = null; @@ -181,6 +184,24 @@ public void setMerchantAdvice(PtsV2PaymentsPost201ResponseProcessorInformationMe this.merchantAdvice = merchantAdvice; } + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation merchantRiskPrediction(String merchantRiskPrediction) { + this.merchantRiskPrediction = merchantRiskPrediction; + return this; + } + + /** + * Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. + * @return merchantRiskPrediction + **/ + @ApiModelProperty(value = "Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. ") + public String getMerchantRiskPrediction() { + return merchantRiskPrediction; + } + + public void setMerchantRiskPrediction(String merchantRiskPrediction) { + this.merchantRiskPrediction = merchantRiskPrediction; + } + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation sellerProtection(PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection sellerProtection) { this.sellerProtection = sellerProtection; return this; @@ -216,12 +237,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.systemTraceAuditNumber, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.systemTraceAuditNumber) && Objects.equals(this.responseDetails, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.responseDetails) && Objects.equals(this.merchantAdvice, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.merchantAdvice) && + Objects.equals(this.merchantRiskPrediction, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.merchantRiskPrediction) && Objects.equals(this.sellerProtection, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.sellerProtection); } @Override public int hashCode() { - return Objects.hash(approvalCode, transactionId, networkTransactionId, responseCode, systemTraceAuditNumber, responseDetails, merchantAdvice, sellerProtection); + return Objects.hash(approvalCode, transactionId, networkTransactionId, responseCode, systemTraceAuditNumber, responseDetails, merchantAdvice, merchantRiskPrediction, sellerProtection); } @@ -237,6 +259,7 @@ public String toString() { if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); if (merchantAdvice != null) sb.append(" merchantAdvice: ").append(toIndentedString(merchantAdvice)).append("\n"); + if (merchantRiskPrediction != null) sb.append(" merchantRiskPrediction: ").append(toIndentedString(merchantRiskPrediction)).append("\n"); if (sellerProtection != null) sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java index 5e837cf83..82ea8ecf2 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.java @@ -142,6 +142,9 @@ public class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation { @SerializedName("directoryServerTransactionId") private String directoryServerTransactionId = null; + @SerializedName("dataQualityIndicator") + private String dataQualityIndicator = null; + @SerializedName("authenticationResult") private String authenticationResult = null; @@ -823,6 +826,24 @@ public void setDirectoryServerTransactionId(String directoryServerTransactionId) this.directoryServerTransactionId = directoryServerTransactionId; } + public PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation dataQualityIndicator(String dataQualityIndicator) { + this.dataQualityIndicator = dataQualityIndicator; + return this; + } + + /** + * The field is used to indicate that a transaction does not meet the Visa Secure authentication data quality requirements. + * @return dataQualityIndicator + **/ + @ApiModelProperty(value = "The field is used to indicate that a transaction does not meet the Visa Secure authentication data quality requirements.") + public String getDataQualityIndicator() { + return dataQualityIndicator; + } + + public void setDataQualityIndicator(String dataQualityIndicator) { + this.dataQualityIndicator = dataQualityIndicator; + } + public PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation authenticationResult(String authenticationResult) { this.authenticationResult = authenticationResult; return this; @@ -960,6 +981,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.whiteListStatusSource, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.whiteListStatusSource) && Objects.equals(this.xid, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.xid) && Objects.equals(this.directoryServerTransactionId, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.directoryServerTransactionId) && + Objects.equals(this.dataQualityIndicator, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.dataQualityIndicator) && Objects.equals(this.authenticationResult, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.authenticationResult) && Objects.equals(this.authenticationStatusMsg, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.authenticationStatusMsg) && Objects.equals(this.indicator, ptsV2PaymentsPost201ResponseConsumerAuthenticationInformation.indicator) && @@ -969,7 +991,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(accessToken, acsRenderingType, acsTransactionId, acsUrl, authenticationPath, authorizationPayload, authenticationTransactionId, cardholderMessage, cavv, cavvAlgorithm, challengeCancelCode, challengeRequired, decoupledAuthenticationIndicator, directoryServerErrorCode, directoryServerErrorDescription, ecommerceIndicator, eci, eciRaw, effectiveAuthenticationType, ivr, strongAuthentication, networkScore, pareq, paresStatus, proofXml, proxyPan, sdkTransactionId, signedParesStatusReason, specificationVersion, stepUpUrl, threeDSServerTransactionId, ucafAuthenticationData, ucafCollectionIndicator, veresEnrolled, whiteListStatusSource, xid, directoryServerTransactionId, authenticationResult, authenticationStatusMsg, indicator, interactionCounter, whiteListStatus); + return Objects.hash(accessToken, acsRenderingType, acsTransactionId, acsUrl, authenticationPath, authorizationPayload, authenticationTransactionId, cardholderMessage, cavv, cavvAlgorithm, challengeCancelCode, challengeRequired, decoupledAuthenticationIndicator, directoryServerErrorCode, directoryServerErrorDescription, ecommerceIndicator, eci, eciRaw, effectiveAuthenticationType, ivr, strongAuthentication, networkScore, pareq, paresStatus, proofXml, proxyPan, sdkTransactionId, signedParesStatusReason, specificationVersion, stepUpUrl, threeDSServerTransactionId, ucafAuthenticationData, ucafCollectionIndicator, veresEnrolled, whiteListStatusSource, xid, directoryServerTransactionId, dataQualityIndicator, authenticationResult, authenticationStatusMsg, indicator, interactionCounter, whiteListStatus); } @@ -1015,6 +1037,7 @@ public String toString() { if (whiteListStatusSource != null) sb.append(" whiteListStatusSource: ").append(toIndentedString(whiteListStatusSource)).append("\n"); if (xid != null) sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); if (directoryServerTransactionId != null) sb.append(" directoryServerTransactionId: ").append(toIndentedString(directoryServerTransactionId)).append("\n"); + if (dataQualityIndicator != null) sb.append(" dataQualityIndicator: ").append(toIndentedString(dataQualityIndicator)).append("\n"); if (authenticationResult != null) sb.append(" authenticationResult: ").append(toIndentedString(authenticationResult)).append("\n"); if (authenticationStatusMsg != null) sb.append(" authenticationStatusMsg: ").append(toIndentedString(authenticationStatusMsg)).append("\n"); if (indicator != null) sb.append(" indicator: ").append(toIndentedString(indicator)).append("\n"); diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java index 81893396d..6a59160c0 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActions.java @@ -18,6 +18,8 @@ import Model.PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE; import Model.PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION; import Model.PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION; +import Model.PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE; +import Model.PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE; import Model.PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -49,6 +51,12 @@ public class PtsV2PaymentsPost201ResponseEmbeddedActions { @SerializedName("WATCHLIST_SCREENING") private PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING WATCHLIST_SCREENING = null; + @SerializedName("TOKEN_CREATE") + private PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE TOKEN_CREATE = null; + + @SerializedName("TOKEN_UPDATE") + private PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE TOKEN_UPDATE = null; + public PtsV2PaymentsPost201ResponseEmbeddedActions CAPTURE(PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE CAPTURE) { this.CAPTURE = CAPTURE; return this; @@ -139,6 +147,42 @@ public void setWATCHLISTSCREENING(PtsV2PaymentsPost201ResponseEmbeddedActionsWAT this.WATCHLIST_SCREENING = WATCHLIST_SCREENING; } + public PtsV2PaymentsPost201ResponseEmbeddedActions TOKEN_CREATE(PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE TOKEN_CREATE) { + this.TOKEN_CREATE = TOKEN_CREATE; + return this; + } + + /** + * Get TOKEN_CREATE + * @return TOKEN_CREATE + **/ + @ApiModelProperty(value = "") + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE getTOKENCREATE() { + return TOKEN_CREATE; + } + + public void setTOKENCREATE(PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE TOKEN_CREATE) { + this.TOKEN_CREATE = TOKEN_CREATE; + } + + public PtsV2PaymentsPost201ResponseEmbeddedActions TOKEN_UPDATE(PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE TOKEN_UPDATE) { + this.TOKEN_UPDATE = TOKEN_UPDATE; + return this; + } + + /** + * Get TOKEN_UPDATE + * @return TOKEN_UPDATE + **/ + @ApiModelProperty(value = "") + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE getTOKENUPDATE() { + return TOKEN_UPDATE; + } + + public void setTOKENUPDATE(PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE TOKEN_UPDATE) { + this.TOKEN_UPDATE = TOKEN_UPDATE; + } + @Override public boolean equals(java.lang.Object o) { @@ -153,12 +197,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.DECISION, ptsV2PaymentsPost201ResponseEmbeddedActions.DECISION) && Objects.equals(this.CONSUMER_AUTHENTICATION, ptsV2PaymentsPost201ResponseEmbeddedActions.CONSUMER_AUTHENTICATION) && Objects.equals(this.VALIDATE_CONSUMER_AUTHENTICATION, ptsV2PaymentsPost201ResponseEmbeddedActions.VALIDATE_CONSUMER_AUTHENTICATION) && - Objects.equals(this.WATCHLIST_SCREENING, ptsV2PaymentsPost201ResponseEmbeddedActions.WATCHLIST_SCREENING); + Objects.equals(this.WATCHLIST_SCREENING, ptsV2PaymentsPost201ResponseEmbeddedActions.WATCHLIST_SCREENING) && + Objects.equals(this.TOKEN_CREATE, ptsV2PaymentsPost201ResponseEmbeddedActions.TOKEN_CREATE) && + Objects.equals(this.TOKEN_UPDATE, ptsV2PaymentsPost201ResponseEmbeddedActions.TOKEN_UPDATE); } @Override public int hashCode() { - return Objects.hash(CAPTURE, DECISION, CONSUMER_AUTHENTICATION, VALIDATE_CONSUMER_AUTHENTICATION, WATCHLIST_SCREENING); + return Objects.hash(CAPTURE, DECISION, CONSUMER_AUTHENTICATION, VALIDATE_CONSUMER_AUTHENTICATION, WATCHLIST_SCREENING, TOKEN_CREATE, TOKEN_UPDATE); } @@ -172,6 +218,8 @@ public String toString() { if (CONSUMER_AUTHENTICATION != null) sb.append(" CONSUMER_AUTHENTICATION: ").append(toIndentedString(CONSUMER_AUTHENTICATION)).append("\n"); if (VALIDATE_CONSUMER_AUTHENTICATION != null) sb.append(" VALIDATE_CONSUMER_AUTHENTICATION: ").append(toIndentedString(VALIDATE_CONSUMER_AUTHENTICATION)).append("\n"); if (WATCHLIST_SCREENING != null) sb.append(" WATCHLIST_SCREENING: ").append(toIndentedString(WATCHLIST_SCREENING)).append("\n"); + if (TOKEN_CREATE != null) sb.append(" TOKEN_CREATE: ").append(toIndentedString(TOKEN_CREATE)).append("\n"); + if (TOKEN_UPDATE != null) sb.append(" TOKEN_UPDATE: ").append(toIndentedString(TOKEN_UPDATE)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.java new file mode 100644 index 000000000..c4a7c9195 --- /dev/null +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE + */ + +public class PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE { + @SerializedName("status") + private String status = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("message") + private String message = null; + + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE status(String status) { + this.status = status; + return this; + } + + /** + * The status of the token create. Possible value is: - SUCCESS - SERVER_ERROR - INVALID_REQUEST + * @return status + **/ + @ApiModelProperty(value = "The status of the token create. Possible value is: - SUCCESS - SERVER_ERROR - INVALID_REQUEST ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - INVALID_DATA - SYSTEM_ERROR - MISSING_FIELD + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - INVALID_DATA - SYSTEM_ERROR - MISSING_FIELD ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason listed above. + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE = (PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE) o; + return Objects.equals(this.status, ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.status) && + Objects.equals(this.reason, ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.reason) && + Objects.equals(this.message, ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE.message); + } + + @Override + public int hashCode() { + return Objects.hash(status, reason, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENCREATE {\n"); + + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.java new file mode 100644 index 000000000..711249abf --- /dev/null +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE + */ + +public class PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE { + @SerializedName("status") + private String status = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("message") + private String message = null; + + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE status(String status) { + this.status = status; + return this; + } + + /** + * The status of the token update. Possible value is: - SUCCESS - SERVER_ERROR - INVALID_REQUEST + * @return status + **/ + @ApiModelProperty(value = "The status of the token update. Possible value is: - SUCCESS - SERVER_ERROR - INVALID_REQUEST ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - INVALID_DATA - SYSTEM_ERROR - MISSING_FIELD + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - INVALID_DATA - SYSTEM_ERROR - MISSING_FIELD ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason listed above. + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE = (PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE) o; + return Objects.equals(this.status, ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.status) && + Objects.equals(this.reason, ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.reason) && + Objects.equals(this.message, ptsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE.message); + } + + @Override + public int hashCode() { + return Objects.hash(status, reason, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PtsV2PaymentsPost201ResponseEmbeddedActionsTOKENUPDATE {\n"); + + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java index feab7b458..e8467ad4d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseInstallmentInformation.java @@ -420,7 +420,7 @@ public PtsV2PaymentsPost201ResponseInstallmentInformation sequence(Integer seque /** * Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return sequence **/ @ApiModelProperty(value = "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") @@ -493,7 +493,7 @@ public PtsV2PaymentsPost201ResponseInstallmentInformation totalCount(Integer tot /** * Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return totalCount **/ @ApiModelProperty(value = "Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java index 87d79555b..eed0f7497 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.java @@ -86,6 +86,9 @@ public class PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures { @SerializedName("regulated") private String regulated = null; + @SerializedName("accountHolderType") + private String accountHolderType = null; + public PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures accountType(String accountType) { this.accountType = accountType; return this; @@ -418,6 +421,24 @@ public void setRegulated(String regulated) { this.regulated = regulated; } + public PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures accountHolderType(String accountHolderType) { + this.accountHolderType = accountHolderType; + return this; + } + + /** + * This is the account owner information, valid values are: - `01` : primary account holder - `02` : secondary account holder This is returned in the response of an account verification transaction by the Issuer. + * @return accountHolderType + **/ + @ApiModelProperty(value = "This is the account owner information, valid values are: - `01` : primary account holder - `02` : secondary account holder This is returned in the response of an account verification transaction by the Issuer. ") + public String getAccountHolderType() { + return accountHolderType; + } + + public void setAccountHolderType(String accountHolderType) { + this.accountHolderType = accountHolderType; + } + @Override public boolean equals(java.lang.Object o) { @@ -445,12 +466,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.pinlessDebit, ptsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.pinlessDebit) && Objects.equals(this.signatureDebit, ptsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.signatureDebit) && Objects.equals(this.prepaid, ptsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.prepaid) && - Objects.equals(this.regulated, ptsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.regulated); + Objects.equals(this.regulated, ptsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.regulated) && + Objects.equals(this.accountHolderType, ptsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.accountHolderType); } @Override public int hashCode() { - return Objects.hash(accountType, accountStatus, balances, balanceAmount, balanceAmountType, currency, balanceSign, affluenceIndicator, category, commercial, group, healthCare, payroll, level3Eligible, pinlessDebit, signatureDebit, prepaid, regulated); + return Objects.hash(accountType, accountStatus, balances, balanceAmount, balanceAmountType, currency, balanceSign, affluenceIndicator, category, commercial, group, healthCare, payroll, level3Eligible, pinlessDebit, signatureDebit, prepaid, regulated, accountHolderType); } @@ -477,6 +499,7 @@ public String toString() { if (signatureDebit != null) sb.append(" signatureDebit: ").append(toIndentedString(signatureDebit)).append("\n"); if (prepaid != null) sb.append(" prepaid: ").append(toIndentedString(prepaid)).append("\n"); if (regulated != null) sb.append(" regulated: ").append(toIndentedString(regulated)).append("\n"); + if (accountHolderType != null) sb.append(" accountHolderType: ").append(toIndentedString(accountHolderType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java index 3303bf6d0..1babbecdf 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformation.java @@ -15,8 +15,10 @@ import java.util.Objects; import java.util.Arrays; +import Model.PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions; import Model.PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions; import Model.PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions; +import Model.PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -43,6 +45,12 @@ public class PtsV2PaymentsPost201ResponseProcessingInformation { @SerializedName("captureOptions") private PtsV2PaymentsPost201ResponseProcessingInformationCaptureOptions captureOptions = null; + @SerializedName("authorizationOptions") + private PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions authorizationOptions = null; + + @SerializedName("purchaseOptions") + private PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions purchaseOptions = null; + public PtsV2PaymentsPost201ResponseProcessingInformation bankTransferOptions(PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions bankTransferOptions) { this.bankTransferOptions = bankTransferOptions; return this; @@ -115,6 +123,42 @@ public void setCaptureOptions(PtsV2PaymentsPost201ResponseProcessingInformationC this.captureOptions = captureOptions; } + public PtsV2PaymentsPost201ResponseProcessingInformation authorizationOptions(PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions authorizationOptions) { + this.authorizationOptions = authorizationOptions; + return this; + } + + /** + * Get authorizationOptions + * @return authorizationOptions + **/ + @ApiModelProperty(value = "") + public PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions getAuthorizationOptions() { + return authorizationOptions; + } + + public void setAuthorizationOptions(PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions authorizationOptions) { + this.authorizationOptions = authorizationOptions; + } + + public PtsV2PaymentsPost201ResponseProcessingInformation purchaseOptions(PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions purchaseOptions) { + this.purchaseOptions = purchaseOptions; + return this; + } + + /** + * Get purchaseOptions + * @return purchaseOptions + **/ + @ApiModelProperty(value = "") + public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions getPurchaseOptions() { + return purchaseOptions; + } + + public void setPurchaseOptions(PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions purchaseOptions) { + this.purchaseOptions = purchaseOptions; + } + @Override public boolean equals(java.lang.Object o) { @@ -128,12 +172,14 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.bankTransferOptions, ptsV2PaymentsPost201ResponseProcessingInformation.bankTransferOptions) && Objects.equals(this.paymentSolution, ptsV2PaymentsPost201ResponseProcessingInformation.paymentSolution) && Objects.equals(this.enhancedDataEnabled, ptsV2PaymentsPost201ResponseProcessingInformation.enhancedDataEnabled) && - Objects.equals(this.captureOptions, ptsV2PaymentsPost201ResponseProcessingInformation.captureOptions); + Objects.equals(this.captureOptions, ptsV2PaymentsPost201ResponseProcessingInformation.captureOptions) && + Objects.equals(this.authorizationOptions, ptsV2PaymentsPost201ResponseProcessingInformation.authorizationOptions) && + Objects.equals(this.purchaseOptions, ptsV2PaymentsPost201ResponseProcessingInformation.purchaseOptions); } @Override public int hashCode() { - return Objects.hash(bankTransferOptions, paymentSolution, enhancedDataEnabled, captureOptions); + return Objects.hash(bankTransferOptions, paymentSolution, enhancedDataEnabled, captureOptions, authorizationOptions, purchaseOptions); } @@ -146,6 +192,8 @@ public String toString() { if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n"); if (enhancedDataEnabled != null) sb.append(" enhancedDataEnabled: ").append(toIndentedString(enhancedDataEnabled)).append("\n"); if (captureOptions != null) sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n"); + if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (purchaseOptions != null) sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.java new file mode 100644 index 000000000..bd77cf54a --- /dev/null +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.java @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions + */ + +public class PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions { + @SerializedName("serviceType") + private String serviceType = null; + + public PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions serviceType(String serviceType) { + this.serviceType = serviceType; + return this; + } + + /** + * Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time funding or a live-load. This type of transaction can also be connected to a purchase. In back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: - account one is used to make the purchase - account two is used to automatically fund or reimburse account one Possible values: - 0B = back to back funding transaction - 00 = normal transaction - 01 = originator hold - 02 = Visa deferred OCT hold, default interval - 03 = Visa deferred OCT hold, user-defined interval - 09 = Cancel pending deferred OCT request - 0I = Visa Direct custom program 1 - 0Q = uery the status of the deferred OCT - A0 = Alias Directory 2 + * @return serviceType + **/ + @ApiModelProperty(value = "Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time funding or a live-load. This type of transaction can also be connected to a purchase. In back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: - account one is used to make the purchase - account two is used to automatically fund or reimburse account one Possible values: - 0B = back to back funding transaction - 00 = normal transaction - 01 = originator hold - 02 = Visa deferred OCT hold, default interval - 03 = Visa deferred OCT hold, user-defined interval - 09 = Cancel pending deferred OCT request - 0I = Visa Direct custom program 1 - 0Q = uery the status of the deferred OCT - A0 = Alias Directory 2 ") + public String getServiceType() { + return serviceType; + } + + public void setServiceType(String serviceType) { + this.serviceType = serviceType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions ptsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions = (PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions) o; + return Objects.equals(this.serviceType, ptsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions.serviceType); + } + + @Override + public int hashCode() { + return Objects.hash(serviceType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PtsV2PaymentsPost201ResponseProcessingInformationAuthorizationOptions {\n"); + + if (serviceType != null) sb.append(" serviceType: ").append(toIndentedString(serviceType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.java new file mode 100644 index 000000000..3941bb65c --- /dev/null +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.java @@ -0,0 +1,163 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions + */ + +public class PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions { + @SerializedName("eligibilityIndicator") + private String eligibilityIndicator = null; + + @SerializedName("type") + private String type = null; + + @SerializedName("benefitAmount") + private String benefitAmount = null; + + @SerializedName("benefitType") + private String benefitType = null; + + public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions eligibilityIndicator(String eligibilityIndicator) { + this.eligibilityIndicator = eligibilityIndicator; + return this; + } + + /** + * This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile + * @return eligibilityIndicator + **/ + @ApiModelProperty(value = "This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile ") + public String getEligibilityIndicator() { + return eligibilityIndicator; + } + + public void setEligibilityIndicator(String eligibilityIndicator) { + this.eligibilityIndicator = eligibilityIndicator; + } + + public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions type(String type) { + this.type = type; + return this; + } + + /** + * Data mapped received in response from MasterCard. Possible values: - 01 = Meal Voucher - Employee Nutrition Program - 02 = Food Voucher - Employee Nutrition Program - 03 = Culture Voucher - Worker's Culture Program - 04 = Meal Voucher - Consolidation of Labor Laws - 05 = Food Voucher - Consolidation of Labor Laws + * @return type + **/ + @ApiModelProperty(value = "Data mapped received in response from MasterCard. Possible values: - 01 = Meal Voucher - Employee Nutrition Program - 02 = Food Voucher - Employee Nutrition Program - 03 = Culture Voucher - Worker's Culture Program - 04 = Meal Voucher - Consolidation of Labor Laws - 05 = Food Voucher - Consolidation of Labor Laws ") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions benefitAmount(String benefitAmount) { + this.benefitAmount = benefitAmount; + return this; + } + + /** + * Workplace benefit amount. + * @return benefitAmount + **/ + @ApiModelProperty(value = "Workplace benefit amount.") + public String getBenefitAmount() { + return benefitAmount; + } + + public void setBenefitAmount(String benefitAmount) { + this.benefitAmount = benefitAmount; + } + + public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions benefitType(String benefitType) { + this.benefitType = benefitType; + return this; + } + + /** + * Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education + * @return benefitType + **/ + @ApiModelProperty(value = "Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education ") + public String getBenefitType() { + return benefitType; + } + + public void setBenefitType(String benefitType) { + this.benefitType = benefitType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions = (PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions) o; + return Objects.equals(this.eligibilityIndicator, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.eligibilityIndicator) && + Objects.equals(this.type, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.type) && + Objects.equals(this.benefitAmount, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.benefitAmount) && + Objects.equals(this.benefitType, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.benefitType); + } + + @Override + public int hashCode() { + return Objects.hash(eligibilityIndicator, type, benefitAmount, benefitType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions {\n"); + + if (eligibilityIndicator != null) sb.append(" eligibilityIndicator: ").append(toIndentedString(eligibilityIndicator)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (benefitAmount != null) sb.append(" benefitAmount: ").append(toIndentedString(benefitAmount)).append("\n"); + if (benefitType != null) sb.append(" benefitType: ").append(toIndentedString(benefitType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java index 4c8e71f97..f9565348d 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java @@ -170,6 +170,9 @@ public class PtsV2PaymentsPost201ResponseProcessorInformation { @SerializedName("orderStatus") private String orderStatus = null; + @SerializedName("merchantRiskPrediction") + private String merchantRiskPrediction = null; + public PtsV2PaymentsPost201ResponseProcessorInformation authIndicator(String authIndicator) { this.authIndicator = authIndicator; return this; @@ -962,6 +965,24 @@ public void setOrderStatus(String orderStatus) { this.orderStatus = orderStatus; } + public PtsV2PaymentsPost201ResponseProcessorInformation merchantRiskPrediction(String merchantRiskPrediction) { + this.merchantRiskPrediction = merchantRiskPrediction; + return this; + } + + /** + * Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. + * @return merchantRiskPrediction + **/ + @ApiModelProperty(value = "Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. ") + public String getMerchantRiskPrediction() { + return merchantRiskPrediction; + } + + public void setMerchantRiskPrediction(String merchantRiskPrediction) { + this.merchantRiskPrediction = merchantRiskPrediction; + } + @Override public boolean equals(java.lang.Object o) { @@ -1015,12 +1036,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.updateTimeUtc, ptsV2PaymentsPost201ResponseProcessorInformation.updateTimeUtc) && Objects.equals(this.expirationTimeUtc, ptsV2PaymentsPost201ResponseProcessorInformation.expirationTimeUtc) && Objects.equals(this.orderId, ptsV2PaymentsPost201ResponseProcessorInformation.orderId) && - Objects.equals(this.orderStatus, ptsV2PaymentsPost201ResponseProcessorInformation.orderStatus); + Objects.equals(this.orderStatus, ptsV2PaymentsPost201ResponseProcessorInformation.orderStatus) && + Objects.equals(this.merchantRiskPrediction, ptsV2PaymentsPost201ResponseProcessorInformation.merchantRiskPrediction); } @Override public int hashCode() { - return Objects.hash(authIndicator, approvalCode, cardReferenceData, transactionId, networkTransactionId, responseCode, responseCodeSource, responseDetails, responseCategoryCode, forwardedAcquirerCode, settlementDate, sequenceNumber, avs, cardVerification, merchantAdvice, electronicVerificationResults, achVerification, customer, consumerAuthenticationResponse, systemTraceAuditNumber, paymentAccountReferenceNumber, transactionIntegrityCode, amexVerbalAuthReferenceNumber, masterCardServiceCode, masterCardServiceReplyCode, masterCardAuthenticationType, name, routing, merchantNumber, retrievalReferenceNumber, paymentUrl, completeUrl, signature, publicKey, sellerProtection, transactionExpiryDate, customUrl, schemeAssignedId, deviceUrl, disbursementMode, updateTimeUtc, expirationTimeUtc, orderId, orderStatus); + return Objects.hash(authIndicator, approvalCode, cardReferenceData, transactionId, networkTransactionId, responseCode, responseCodeSource, responseDetails, responseCategoryCode, forwardedAcquirerCode, settlementDate, sequenceNumber, avs, cardVerification, merchantAdvice, electronicVerificationResults, achVerification, customer, consumerAuthenticationResponse, systemTraceAuditNumber, paymentAccountReferenceNumber, transactionIntegrityCode, amexVerbalAuthReferenceNumber, masterCardServiceCode, masterCardServiceReplyCode, masterCardAuthenticationType, name, routing, merchantNumber, retrievalReferenceNumber, paymentUrl, completeUrl, signature, publicKey, sellerProtection, transactionExpiryDate, customUrl, schemeAssignedId, deviceUrl, disbursementMode, updateTimeUtc, expirationTimeUtc, orderId, orderStatus, merchantRiskPrediction); } @@ -1073,6 +1095,7 @@ public String toString() { if (expirationTimeUtc != null) sb.append(" expirationTimeUtc: ").append(toIndentedString(expirationTimeUtc)).append("\n"); if (orderId != null) sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); if (orderStatus != null) sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); + if (merchantRiskPrediction != null) sb.append(" merchantRiskPrediction: ").append(toIndentedString(merchantRiskPrediction)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java index 963d4c7a0..dee1ca83c 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java @@ -35,6 +35,9 @@ public class PtsV2PaymentsReversalsPost201ResponseProcessorInformation { @SerializedName("responseCode") private String responseCode = null; + @SerializedName("networkTransactionId") + private String networkTransactionId = null; + @SerializedName("responseCategoryCode") private String responseCategoryCode = null; @@ -89,6 +92,24 @@ public void setResponseCode(String responseCode) { this.responseCode = responseCode; } + public PtsV2PaymentsReversalsPost201ResponseProcessorInformation networkTransactionId(String networkTransactionId) { + this.networkTransactionId = networkTransactionId; + return this; + } + + /** + * Same value as `processorInformation.transactionId` + * @return networkTransactionId + **/ + @ApiModelProperty(value = "Same value as `processorInformation.transactionId`") + public String getNetworkTransactionId() { + return networkTransactionId; + } + + public void setNetworkTransactionId(String networkTransactionId) { + this.networkTransactionId = networkTransactionId; + } + public PtsV2PaymentsReversalsPost201ResponseProcessorInformation responseCategoryCode(String responseCategoryCode) { this.responseCategoryCode = responseCategoryCode; return this; @@ -209,6 +230,7 @@ public boolean equals(java.lang.Object o) { PtsV2PaymentsReversalsPost201ResponseProcessorInformation ptsV2PaymentsReversalsPost201ResponseProcessorInformation = (PtsV2PaymentsReversalsPost201ResponseProcessorInformation) o; return Objects.equals(this.transactionId, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.transactionId) && Objects.equals(this.responseCode, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.responseCode) && + Objects.equals(this.networkTransactionId, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.networkTransactionId) && Objects.equals(this.responseCategoryCode, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.responseCategoryCode) && Objects.equals(this.forwardedAcquirerCode, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.forwardedAcquirerCode) && Objects.equals(this.masterCardServiceCode, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.masterCardServiceCode) && @@ -219,7 +241,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(transactionId, responseCode, responseCategoryCode, forwardedAcquirerCode, masterCardServiceCode, masterCardServiceReplyCode, responseDetails, providerResponse); + return Objects.hash(transactionId, responseCode, networkTransactionId, responseCategoryCode, forwardedAcquirerCode, masterCardServiceCode, masterCardServiceReplyCode, responseDetails, providerResponse); } @@ -230,6 +252,7 @@ public String toString() { if (transactionId != null) sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); + if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); if (responseCategoryCode != null) sb.append(" responseCategoryCode: ").append(toIndentedString(responseCategoryCode)).append("\n"); if (forwardedAcquirerCode != null) sb.append(" forwardedAcquirerCode: ").append(toIndentedString(forwardedAcquirerCode)).append("\n"); if (masterCardServiceCode != null) sb.append(" masterCardServiceCode: ").append(toIndentedString(masterCardServiceCode)).append("\n"); diff --git a/src/main/java/Model/PtsV2PayoutsPost201Response.java b/src/main/java/Model/PtsV2PayoutsPost201Response.java index c83b090e8..9e919f779 100644 --- a/src/main/java/Model/PtsV2PayoutsPost201Response.java +++ b/src/main/java/Model/PtsV2PayoutsPost201Response.java @@ -22,6 +22,7 @@ import Model.PtsV2PayoutsPost201ResponseIssuerInformation; import Model.PtsV2PayoutsPost201ResponseMerchantInformation; import Model.PtsV2PayoutsPost201ResponseOrderInformation; +import Model.PtsV2PayoutsPost201ResponseProcessingInformation; import Model.PtsV2PayoutsPost201ResponseProcessorInformation; import Model.PtsV2PayoutsPost201ResponseRecipientInformation; import com.google.gson.TypeAdapter; @@ -77,6 +78,9 @@ public class PtsV2PayoutsPost201Response { @SerializedName("tokenInformation") private PtsV2PaymentsPost201ResponseTokenInformation tokenInformation = null; + @SerializedName("processingInformation") + private PtsV2PayoutsPost201ResponseProcessingInformation processingInformation = null; + public PtsV2PayoutsPost201Response links(PtsV2IncrementalAuthorizationPatch201ResponseLinks links) { this.links = links; return this; @@ -311,6 +315,24 @@ public void setTokenInformation(PtsV2PaymentsPost201ResponseTokenInformation tok this.tokenInformation = tokenInformation; } + public PtsV2PayoutsPost201Response processingInformation(PtsV2PayoutsPost201ResponseProcessingInformation processingInformation) { + this.processingInformation = processingInformation; + return this; + } + + /** + * Get processingInformation + * @return processingInformation + **/ + @ApiModelProperty(value = "") + public PtsV2PayoutsPost201ResponseProcessingInformation getProcessingInformation() { + return processingInformation; + } + + public void setProcessingInformation(PtsV2PayoutsPost201ResponseProcessingInformation processingInformation) { + this.processingInformation = processingInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -333,12 +355,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.processorInformation, ptsV2PayoutsPost201Response.processorInformation) && Objects.equals(this.recipientInformation, ptsV2PayoutsPost201Response.recipientInformation) && Objects.equals(this.issuerInformation, ptsV2PayoutsPost201Response.issuerInformation) && - Objects.equals(this.tokenInformation, ptsV2PayoutsPost201Response.tokenInformation); + Objects.equals(this.tokenInformation, ptsV2PayoutsPost201Response.tokenInformation) && + Objects.equals(this.processingInformation, ptsV2PayoutsPost201Response.processingInformation); } @Override public int hashCode() { - return Objects.hash(links, id, submitTimeUtc, status, reconciliationId, errorInformation, clientReferenceInformation, merchantInformation, orderInformation, processorInformation, recipientInformation, issuerInformation, tokenInformation); + return Objects.hash(links, id, submitTimeUtc, status, reconciliationId, errorInformation, clientReferenceInformation, merchantInformation, orderInformation, processorInformation, recipientInformation, issuerInformation, tokenInformation, processingInformation); } @@ -360,6 +383,7 @@ public String toString() { if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java b/src/main/java/Model/PtsV2PayoutsPost201ResponseProcessingInformation.java similarity index 53% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java rename to src/main/java/Model/PtsV2PayoutsPost201ResponseProcessingInformation.java index 52b16678f..a2e91b640 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java +++ b/src/main/java/Model/PtsV2PayoutsPost201ResponseProcessingInformation.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf; +import Model.Ptsv2payoutsProcessingInformationPurchaseOptions; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,29 +26,29 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + * PtsV2PayoutsPost201ResponseProcessingInformation */ -public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks { - @SerializedName("self") - private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf self = null; +public class PtsV2PayoutsPost201ResponseProcessingInformation { + @SerializedName("purchaseOptions") + private Ptsv2payoutsProcessingInformationPurchaseOptions purchaseOptions = null; - public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks self(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf self) { - this.self = self; + public PtsV2PayoutsPost201ResponseProcessingInformation purchaseOptions(Ptsv2payoutsProcessingInformationPurchaseOptions purchaseOptions) { + this.purchaseOptions = purchaseOptions; return this; } /** - * Get self - * @return self + * Get purchaseOptions + * @return purchaseOptions **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf getSelf() { - return self; + public Ptsv2payoutsProcessingInformationPurchaseOptions getPurchaseOptions() { + return purchaseOptions; } - public void setSelf(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf self) { - this.self = self; + public void setPurchaseOptions(Ptsv2payoutsProcessingInformationPurchaseOptions purchaseOptions) { + this.purchaseOptions = purchaseOptions; } @@ -60,22 +60,22 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks = (Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks) o; - return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.self); + PtsV2PayoutsPost201ResponseProcessingInformation ptsV2PayoutsPost201ResponseProcessingInformation = (PtsV2PayoutsPost201ResponseProcessingInformation) o; + return Objects.equals(this.purchaseOptions, ptsV2PayoutsPost201ResponseProcessingInformation.purchaseOptions); } @Override public int hashCode() { - return Objects.hash(self); + return Objects.hash(purchaseOptions); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks {\n"); + sb.append("class PtsV2PayoutsPost201ResponseProcessingInformation {\n"); - if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (purchaseOptions != null) sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java b/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java deleted file mode 100644 index d7aec30d6..000000000 --- a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformation.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.Ptsv1pushfundstransferAggregatorInformationSubMerchant; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Ptsv1pushfundstransferAggregatorInformation - */ - -public class Ptsv1pushfundstransferAggregatorInformation { - @SerializedName("aggregatorId") - private String aggregatorId = null; - - @SerializedName("name") - private String name = null; - - @SerializedName("independentSalesOrganizationID") - private String independentSalesOrganizationID = null; - - @SerializedName("subMerchant") - private Ptsv1pushfundstransferAggregatorInformationSubMerchant subMerchant = null; - - public Ptsv1pushfundstransferAggregatorInformation aggregatorId(String aggregatorId) { - this.aggregatorId = aggregatorId; - return this; - } - - /** - * Value that identifies you as a payment aggregator. Get this value from the processor. - * @return aggregatorId - **/ - @ApiModelProperty(value = "Value that identifies you as a payment aggregator. Get this value from the processor. ") - public String getAggregatorId() { - return aggregatorId; - } - - public void setAggregatorId(String aggregatorId) { - this.aggregatorId = aggregatorId; - } - - public Ptsv1pushfundstransferAggregatorInformation name(String name) { - this.name = name; - return this; - } - - /** - * Your payment aggregator business name. This field is conditionally required when aggregator id is present. - * @return name - **/ - @ApiModelProperty(value = "Your payment aggregator business name. This field is conditionally required when aggregator id is present. ") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Ptsv1pushfundstransferAggregatorInformation independentSalesOrganizationID(String independentSalesOrganizationID) { - this.independentSalesOrganizationID = independentSalesOrganizationID; - return this; - } - - /** - * Independent sales organization ID. This field is only used for Mastercard transactions submitted through PPGS. - * @return independentSalesOrganizationID - **/ - @ApiModelProperty(value = "Independent sales organization ID. This field is only used for Mastercard transactions submitted through PPGS. ") - public String getIndependentSalesOrganizationID() { - return independentSalesOrganizationID; - } - - public void setIndependentSalesOrganizationID(String independentSalesOrganizationID) { - this.independentSalesOrganizationID = independentSalesOrganizationID; - } - - public Ptsv1pushfundstransferAggregatorInformation subMerchant(Ptsv1pushfundstransferAggregatorInformationSubMerchant subMerchant) { - this.subMerchant = subMerchant; - return this; - } - - /** - * Get subMerchant - * @return subMerchant - **/ - @ApiModelProperty(value = "") - public Ptsv1pushfundstransferAggregatorInformationSubMerchant getSubMerchant() { - return subMerchant; - } - - public void setSubMerchant(Ptsv1pushfundstransferAggregatorInformationSubMerchant subMerchant) { - this.subMerchant = subMerchant; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Ptsv1pushfundstransferAggregatorInformation ptsv1pushfundstransferAggregatorInformation = (Ptsv1pushfundstransferAggregatorInformation) o; - return Objects.equals(this.aggregatorId, ptsv1pushfundstransferAggregatorInformation.aggregatorId) && - Objects.equals(this.name, ptsv1pushfundstransferAggregatorInformation.name) && - Objects.equals(this.independentSalesOrganizationID, ptsv1pushfundstransferAggregatorInformation.independentSalesOrganizationID) && - Objects.equals(this.subMerchant, ptsv1pushfundstransferAggregatorInformation.subMerchant); - } - - @Override - public int hashCode() { - return Objects.hash(aggregatorId, name, independentSalesOrganizationID, subMerchant); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Ptsv1pushfundstransferAggregatorInformation {\n"); - - if (aggregatorId != null) sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); - if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); - if (independentSalesOrganizationID != null) sb.append(" independentSalesOrganizationID: ").append(toIndentedString(independentSalesOrganizationID)).append("\n"); - if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java b/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java index a15dc7ca1..a7a8ba2c1 100644 --- a/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2billingagreementsInstallmentInformation.java @@ -170,10 +170,10 @@ public Ptsv2billingagreementsInstallmentInformation paymentType(String paymentTy } /** - * Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information + * Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. * @return paymentType **/ - @ApiModelProperty(value = "Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information ") + @ApiModelProperty(value = "Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. ") public String getPaymentType() { return paymentType; } @@ -207,7 +207,7 @@ public Ptsv2billingagreementsInstallmentInformation sequence(Integer sequence) { /** * Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return sequence **/ @ApiModelProperty(value = "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") diff --git a/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java b/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java index 8c5b854d6..63b0a6c18 100644 --- a/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java +++ b/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java @@ -39,6 +39,21 @@ public class Ptsv2paymentsAggregatorInformation { @SerializedName("subMerchant") private Ptsv2paymentsAggregatorInformationSubMerchant subMerchant = null; + @SerializedName("streetAddress") + private String streetAddress = null; + + @SerializedName("city") + private String city = null; + + @SerializedName("state") + private String state = null; + + @SerializedName("postalCode") + private String postalCode = null; + + @SerializedName("country") + private String country = null; + public Ptsv2paymentsAggregatorInformation aggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; return this; @@ -93,6 +108,96 @@ public void setSubMerchant(Ptsv2paymentsAggregatorInformationSubMerchant subMerc this.subMerchant = subMerchant; } + public Ptsv2paymentsAggregatorInformation streetAddress(String streetAddress) { + this.streetAddress = streetAddress; + return this; + } + + /** + * Acquirer street name. + * @return streetAddress + **/ + @ApiModelProperty(value = "Acquirer street name.") + public String getStreetAddress() { + return streetAddress; + } + + public void setStreetAddress(String streetAddress) { + this.streetAddress = streetAddress; + } + + public Ptsv2paymentsAggregatorInformation city(String city) { + this.city = city; + return this; + } + + /** + * Acquirer city. + * @return city + **/ + @ApiModelProperty(value = "Acquirer city.") + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public Ptsv2paymentsAggregatorInformation state(String state) { + this.state = state; + return this; + } + + /** + * Acquirer state. + * @return state + **/ + @ApiModelProperty(value = "Acquirer state.") + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public Ptsv2paymentsAggregatorInformation postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Acquirer postal code. + * @return postalCode + **/ + @ApiModelProperty(value = "Acquirer postal code.") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + public Ptsv2paymentsAggregatorInformation country(String country) { + this.country = country; + return this; + } + + /** + * Acquirer country. + * @return country + **/ + @ApiModelProperty(value = "Acquirer country.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + @Override public boolean equals(java.lang.Object o) { @@ -105,12 +210,17 @@ public boolean equals(java.lang.Object o) { Ptsv2paymentsAggregatorInformation ptsv2paymentsAggregatorInformation = (Ptsv2paymentsAggregatorInformation) o; return Objects.equals(this.aggregatorId, ptsv2paymentsAggregatorInformation.aggregatorId) && Objects.equals(this.name, ptsv2paymentsAggregatorInformation.name) && - Objects.equals(this.subMerchant, ptsv2paymentsAggregatorInformation.subMerchant); + Objects.equals(this.subMerchant, ptsv2paymentsAggregatorInformation.subMerchant) && + Objects.equals(this.streetAddress, ptsv2paymentsAggregatorInformation.streetAddress) && + Objects.equals(this.city, ptsv2paymentsAggregatorInformation.city) && + Objects.equals(this.state, ptsv2paymentsAggregatorInformation.state) && + Objects.equals(this.postalCode, ptsv2paymentsAggregatorInformation.postalCode) && + Objects.equals(this.country, ptsv2paymentsAggregatorInformation.country); } @Override public int hashCode() { - return Objects.hash(aggregatorId, name, subMerchant); + return Objects.hash(aggregatorId, name, subMerchant, streetAddress, city, state, postalCode, country); } @@ -122,6 +232,11 @@ public String toString() { if (aggregatorId != null) sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); + if (streetAddress != null) sb.append(" streetAddress: ").append(toIndentedString(streetAddress)).append("\n"); + if (city != null) sb.append(" city: ").append(toIndentedString(city)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java index 0b0be8171..23ddec27b 100644 --- a/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Ptsv2paymentsConsumerAuthenticationInformation.java @@ -192,6 +192,9 @@ public class Ptsv2paymentsConsumerAuthenticationInformation { @SerializedName("whiteListStatus") private String whiteListStatus = null; + @SerializedName("authenticationBrand") + private String authenticationBrand = null; + @SerializedName("effectiveAuthenticationType") private String effectiveAuthenticationType = null; @@ -201,6 +204,12 @@ public class Ptsv2paymentsConsumerAuthenticationInformation { @SerializedName("signedPares") private String signedPares = null; + @SerializedName("acsReferenceNumber") + private String acsReferenceNumber = null; + + @SerializedName("dsReferenceNumber") + private String dsReferenceNumber = null; + public Ptsv2paymentsConsumerAuthenticationInformation cavv(String cavv) { this.cavv = cavv; return this; @@ -1173,6 +1182,24 @@ public void setWhiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; } + public Ptsv2paymentsConsumerAuthenticationInformation authenticationBrand(String authenticationBrand) { + this.authenticationBrand = authenticationBrand; + return this; + } + + /** + * Indicates which directory server was used while authentication process, this data is useful in case of scenarios when domestic scheme directory server is not present and authentication fallbacks to global scheme directory server. Possible values: - VISA - Returned for Mada VISA Co-badged cards, when authentication falls back to VISA Directory Server - MASTERCARD - Returned for Mada MasterCard Co-badged cards, when authentication falls back to MasterCard Directory Server + * @return authenticationBrand + **/ + @ApiModelProperty(value = "Indicates which directory server was used while authentication process, this data is useful in case of scenarios when domestic scheme directory server is not present and authentication fallbacks to global scheme directory server. Possible values: - VISA - Returned for Mada VISA Co-badged cards, when authentication falls back to VISA Directory Server - MASTERCARD - Returned for Mada MasterCard Co-badged cards, when authentication falls back to MasterCard Directory Server ") + public String getAuthenticationBrand() { + return authenticationBrand; + } + + public void setAuthenticationBrand(String authenticationBrand) { + this.authenticationBrand = authenticationBrand; + } + public Ptsv2paymentsConsumerAuthenticationInformation effectiveAuthenticationType(String effectiveAuthenticationType) { this.effectiveAuthenticationType = effectiveAuthenticationType; return this; @@ -1227,6 +1254,42 @@ public void setSignedPares(String signedPares) { this.signedPares = signedPares; } + public Ptsv2paymentsConsumerAuthenticationInformation acsReferenceNumber(String acsReferenceNumber) { + this.acsReferenceNumber = acsReferenceNumber; + return this; + } + + /** + * Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval. + * @return acsReferenceNumber + **/ + @ApiModelProperty(value = "Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.") + public String getAcsReferenceNumber() { + return acsReferenceNumber; + } + + public void setAcsReferenceNumber(String acsReferenceNumber) { + this.acsReferenceNumber = acsReferenceNumber; + } + + public Ptsv2paymentsConsumerAuthenticationInformation dsReferenceNumber(String dsReferenceNumber) { + this.dsReferenceNumber = dsReferenceNumber; + return this; + } + + /** + * EMVCo-assigned unique identifier. This field is required in Cardholder Initiated 3DS fully authenticated mada transactions. When you request the payer authentication and authorization services separately, get the value for this field from the payerAuthEnrollReply_dsReferenceNumber or payerAuthValidateReply_dsReferenceNumber response field. + * @return dsReferenceNumber + **/ + @ApiModelProperty(value = "EMVCo-assigned unique identifier. This field is required in Cardholder Initiated 3DS fully authenticated mada transactions. When you request the payer authentication and authorization services separately, get the value for this field from the payerAuthEnrollReply_dsReferenceNumber or payerAuthValidateReply_dsReferenceNumber response field. ") + public String getDsReferenceNumber() { + return dsReferenceNumber; + } + + public void setDsReferenceNumber(String dsReferenceNumber) { + this.dsReferenceNumber = dsReferenceNumber; + } + @Override public boolean equals(java.lang.Object o) { @@ -1291,14 +1354,17 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.secureCorporatePaymentIndicator, ptsv2paymentsConsumerAuthenticationInformation.secureCorporatePaymentIndicator) && Objects.equals(this.transactionMode, ptsv2paymentsConsumerAuthenticationInformation.transactionMode) && Objects.equals(this.whiteListStatus, ptsv2paymentsConsumerAuthenticationInformation.whiteListStatus) && + Objects.equals(this.authenticationBrand, ptsv2paymentsConsumerAuthenticationInformation.authenticationBrand) && Objects.equals(this.effectiveAuthenticationType, ptsv2paymentsConsumerAuthenticationInformation.effectiveAuthenticationType) && Objects.equals(this.signedParesStatusReason, ptsv2paymentsConsumerAuthenticationInformation.signedParesStatusReason) && - Objects.equals(this.signedPares, ptsv2paymentsConsumerAuthenticationInformation.signedPares); + Objects.equals(this.signedPares, ptsv2paymentsConsumerAuthenticationInformation.signedPares) && + Objects.equals(this.acsReferenceNumber, ptsv2paymentsConsumerAuthenticationInformation.acsReferenceNumber) && + Objects.equals(this.dsReferenceNumber, ptsv2paymentsConsumerAuthenticationInformation.dsReferenceNumber); } @Override public int hashCode() { - return Objects.hash(cavv, transactionFlowIndicator, cavvAlgorithm, eciRaw, paresStatus, veresEnrolled, xid, ucafCollectionIndicator, ucafAuthenticationData, strongAuthentication, directoryServerTransactionId, paSpecificationVersion, authenticationType, responseAccessToken, acsTransactionId, acsWindowSize, alternateAuthenticationData, alternateAuthenticationDate, alternateAuthenticationMethod, authenticationDate, authenticationTransactionId, challengeCancelCode, challengeCode, challengeStatus, customerCardAlias, decoupledAuthenticationIndicator, decoupledAuthenticationMaxTime, defaultCard, deviceChannel, installmentTotalCount, merchantFraudRate, marketingOptIn, marketingSource, mcc, merchantScore, messageCategory, networkScore, npaCode, overridePaymentMethod, overrideCountryCode, priorAuthenticationData, priorAuthenticationMethod, priorAuthenticationReferenceId, priorAuthenticationTime, productCode, returnUrl, requestorId, requestorInitiatedAuthenticationIndicator, requestorName, referenceId, sdkMaxTimeout, secureCorporatePaymentIndicator, transactionMode, whiteListStatus, effectiveAuthenticationType, signedParesStatusReason, signedPares); + return Objects.hash(cavv, transactionFlowIndicator, cavvAlgorithm, eciRaw, paresStatus, veresEnrolled, xid, ucafCollectionIndicator, ucafAuthenticationData, strongAuthentication, directoryServerTransactionId, paSpecificationVersion, authenticationType, responseAccessToken, acsTransactionId, acsWindowSize, alternateAuthenticationData, alternateAuthenticationDate, alternateAuthenticationMethod, authenticationDate, authenticationTransactionId, challengeCancelCode, challengeCode, challengeStatus, customerCardAlias, decoupledAuthenticationIndicator, decoupledAuthenticationMaxTime, defaultCard, deviceChannel, installmentTotalCount, merchantFraudRate, marketingOptIn, marketingSource, mcc, merchantScore, messageCategory, networkScore, npaCode, overridePaymentMethod, overrideCountryCode, priorAuthenticationData, priorAuthenticationMethod, priorAuthenticationReferenceId, priorAuthenticationTime, productCode, returnUrl, requestorId, requestorInitiatedAuthenticationIndicator, requestorName, referenceId, sdkMaxTimeout, secureCorporatePaymentIndicator, transactionMode, whiteListStatus, authenticationBrand, effectiveAuthenticationType, signedParesStatusReason, signedPares, acsReferenceNumber, dsReferenceNumber); } @@ -1361,9 +1427,12 @@ public String toString() { if (secureCorporatePaymentIndicator != null) sb.append(" secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n"); if (transactionMode != null) sb.append(" transactionMode: ").append(toIndentedString(transactionMode)).append("\n"); if (whiteListStatus != null) sb.append(" whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n"); + if (authenticationBrand != null) sb.append(" authenticationBrand: ").append(toIndentedString(authenticationBrand)).append("\n"); if (effectiveAuthenticationType != null) sb.append(" effectiveAuthenticationType: ").append(toIndentedString(effectiveAuthenticationType)).append("\n"); if (signedParesStatusReason != null) sb.append(" signedParesStatusReason: ").append(toIndentedString(signedParesStatusReason)).append("\n"); if (signedPares != null) sb.append(" signedPares: ").append(toIndentedString(signedPares)).append("\n"); + if (acsReferenceNumber != null) sb.append(" acsReferenceNumber: ").append(toIndentedString(acsReferenceNumber)).append("\n"); + if (dsReferenceNumber != null) sb.append(" dsReferenceNumber: ").append(toIndentedString(dsReferenceNumber)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java b/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java index e6899b1d0..97b307e85 100644 --- a/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsInstallmentInformation.java @@ -135,7 +135,7 @@ public Ptsv2paymentsInstallmentInformation sequence(Integer sequence) { /** * Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return sequence **/ @ApiModelProperty(value = "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") @@ -172,7 +172,7 @@ public Ptsv2paymentsInstallmentInformation totalCount(Integer totalCount) { /** * Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return totalCount **/ @ApiModelProperty(value = "Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") @@ -226,10 +226,10 @@ public Ptsv2paymentsInstallmentInformation paymentType(String paymentType) { } /** - * Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information + * Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. * @return paymentType **/ - @ApiModelProperty(value = "Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information ") + @ApiModelProperty(value = "Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. ") public String getPaymentType() { return paymentType; } diff --git a/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java b/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java index 49eb9a639..182e120c9 100644 --- a/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java +++ b/src/main/java/Model/Ptsv2paymentsPointOfSaleInformation.java @@ -71,6 +71,9 @@ public class Ptsv2paymentsPointOfSaleInformation { @SerializedName("cardholderVerificationMethod") private List cardholderVerificationMethod = null; + @SerializedName("terminalCategory") + private String terminalCategory = null; + @SerializedName("terminalInputCapability") private List terminalInputCapability = null; @@ -161,10 +164,10 @@ public Ptsv2paymentsPointOfSaleInformation cardholderVerificationMethodUsed(Inte } /** - * Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM + * Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM - `4`: Biometric - `5`: OTP * @return cardholderVerificationMethodUsed **/ - @ApiModelProperty(value = "Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM ") + @ApiModelProperty(value = "Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM - `4`: Biometric - `5`: OTP ") public Integer getCardholderVerificationMethodUsed() { return cardholderVerificationMethodUsed; } @@ -365,6 +368,24 @@ public void setCardholderVerificationMethod(List cardholderVerificationM this.cardholderVerificationMethod = cardholderVerificationMethod; } + public Ptsv2paymentsPointOfSaleInformation terminalCategory(String terminalCategory) { + this.terminalCategory = terminalCategory; + return this; + } + + /** + * Indicates the type of terminal. Possible values: - `AFD`: Automated Fuel Dispenser + * @return terminalCategory + **/ + @ApiModelProperty(value = "Indicates the type of terminal. Possible values: - `AFD`: Automated Fuel Dispenser ") + public String getTerminalCategory() { + return terminalCategory; + } + + public void setTerminalCategory(String terminalCategory) { + this.terminalCategory = terminalCategory; + } + public Ptsv2paymentsPointOfSaleInformation terminalInputCapability(List terminalInputCapability) { this.terminalInputCapability = terminalInputCapability; return this; @@ -685,6 +706,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.trackData, ptsv2paymentsPointOfSaleInformation.trackData) && Objects.equals(this.storeAndForwardIndicator, ptsv2paymentsPointOfSaleInformation.storeAndForwardIndicator) && Objects.equals(this.cardholderVerificationMethod, ptsv2paymentsPointOfSaleInformation.cardholderVerificationMethod) && + Objects.equals(this.terminalCategory, ptsv2paymentsPointOfSaleInformation.terminalCategory) && Objects.equals(this.terminalInputCapability, ptsv2paymentsPointOfSaleInformation.terminalInputCapability) && Objects.equals(this.terminalCardCaptureCapability, ptsv2paymentsPointOfSaleInformation.terminalCardCaptureCapability) && Objects.equals(this.terminalOutputCapability, ptsv2paymentsPointOfSaleInformation.terminalOutputCapability) && @@ -705,7 +727,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(terminalId, terminalSerialNumber, cardholderVerificationMethodUsed, laneNumber, catLevel, entryMode, terminalCapability, operatingEnvironment, emv, amexCapnData, trackData, storeAndForwardIndicator, cardholderVerificationMethod, terminalInputCapability, terminalCardCaptureCapability, terminalOutputCapability, terminalPinCapability, pinEntrySolution, deviceId, pinBlockEncodingFormat, encryptedPin, encryptedKeySerialNumber, partnerSdkVersion, emvApplicationIdentifierAndDedicatedFileName, terminalCompliance, isDedicatedHardwareTerminal, terminalModel, terminalMake, serviceCode); + return Objects.hash(terminalId, terminalSerialNumber, cardholderVerificationMethodUsed, laneNumber, catLevel, entryMode, terminalCapability, operatingEnvironment, emv, amexCapnData, trackData, storeAndForwardIndicator, cardholderVerificationMethod, terminalCategory, terminalInputCapability, terminalCardCaptureCapability, terminalOutputCapability, terminalPinCapability, pinEntrySolution, deviceId, pinBlockEncodingFormat, encryptedPin, encryptedKeySerialNumber, partnerSdkVersion, emvApplicationIdentifierAndDedicatedFileName, terminalCompliance, isDedicatedHardwareTerminal, terminalModel, terminalMake, serviceCode); } @@ -727,6 +749,7 @@ public String toString() { if (trackData != null) sb.append(" trackData: ").append(toIndentedString(trackData)).append("\n"); if (storeAndForwardIndicator != null) sb.append(" storeAndForwardIndicator: ").append(toIndentedString(storeAndForwardIndicator)).append("\n"); if (cardholderVerificationMethod != null) sb.append(" cardholderVerificationMethod: ").append(toIndentedString(cardholderVerificationMethod)).append("\n"); + if (terminalCategory != null) sb.append(" terminalCategory: ").append(toIndentedString(terminalCategory)).append("\n"); if (terminalInputCapability != null) sb.append(" terminalInputCapability: ").append(toIndentedString(terminalInputCapability)).append("\n"); if (terminalCardCaptureCapability != null) sb.append(" terminalCardCaptureCapability: ").append(toIndentedString(terminalCardCaptureCapability)).append("\n"); if (terminalOutputCapability != null) sb.append(" terminalOutputCapability: ").append(toIndentedString(terminalOutputCapability)).append("\n"); diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsProcessingInformation.java index 34b0104e5..93733713f 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformation.java @@ -153,6 +153,18 @@ public class Ptsv2paymentsProcessingInformation { @SerializedName("processingInstruction") private String processingInstruction = null; + @SerializedName("transactionTypeIndicator") + private String transactionTypeIndicator = null; + + @SerializedName("purposeOfPayment") + private String purposeOfPayment = null; + + @SerializedName("languageCode") + private String languageCode = null; + + @SerializedName("originalPaymentId") + private String originalPaymentId = null; + public Ptsv2paymentsProcessingInformation actionList(List actionList) { this.actionList = actionList; return this; @@ -854,6 +866,78 @@ public void setProcessingInstruction(String processingInstruction) { this.processingInstruction = processingInstruction; } + public Ptsv2paymentsProcessingInformation transactionTypeIndicator(String transactionTypeIndicator) { + this.transactionTypeIndicator = transactionTypeIndicator; + return this; + } + + /** + * This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities + * @return transactionTypeIndicator + **/ + @ApiModelProperty(value = "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities ") + public String getTransactionTypeIndicator() { + return transactionTypeIndicator; + } + + public void setTransactionTypeIndicator(String transactionTypeIndicator) { + this.transactionTypeIndicator = transactionTypeIndicator; + } + + public Ptsv2paymentsProcessingInformation purposeOfPayment(String purposeOfPayment) { + this.purposeOfPayment = purposeOfPayment; + return this; + } + + /** + * Possible values: - `16` : High Risk Security Other values can also be accommodated in future for different transactions. Currently this field is only used in OCT, we could not find any existing valid values for the past 30 days in production. Issuer may decline invalid purpose of payment code with response code 93. This field is also applicable for AFT transactions. For list of supported values, please refer to Developer Guide. + * @return purposeOfPayment + **/ + @ApiModelProperty(value = " Possible values: - `16` : High Risk Security Other values can also be accommodated in future for different transactions. Currently this field is only used in OCT, we could not find any existing valid values for the past 30 days in production. Issuer may decline invalid purpose of payment code with response code 93. This field is also applicable for AFT transactions. For list of supported values, please refer to Developer Guide. ") + public String getPurposeOfPayment() { + return purposeOfPayment; + } + + public void setPurposeOfPayment(String purposeOfPayment) { + this.purposeOfPayment = purposeOfPayment; + } + + public Ptsv2paymentsProcessingInformation languageCode(String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Contains the ISO 639-2 defined language Code + * @return languageCode + **/ + @ApiModelProperty(value = "Contains the ISO 639-2 defined language Code ") + public String getLanguageCode() { + return languageCode; + } + + public void setLanguageCode(String languageCode) { + this.languageCode = languageCode; + } + + public Ptsv2paymentsProcessingInformation originalPaymentId(String originalPaymentId) { + this.originalPaymentId = originalPaymentId; + return this; + } + + /** + * This value is used for linking Authorization extension transaction to the original Authorization transaction and for linking MIT (Merchant initiated transaction) with the respective CIT (Customer initiated transaction). + * @return originalPaymentId + **/ + @ApiModelProperty(value = "This value is used for linking Authorization extension transaction to the original Authorization transaction and for linking MIT (Merchant initiated transaction) with the respective CIT (Customer initiated transaction). ") + public String getOriginalPaymentId() { + return originalPaymentId; + } + + public void setOriginalPaymentId(String originalPaymentId) { + this.originalPaymentId = originalPaymentId; + } + @Override public boolean equals(java.lang.Object o) { @@ -901,12 +985,16 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.networkPartnerId, ptsv2paymentsProcessingInformation.networkPartnerId) && Objects.equals(this.paymentType, ptsv2paymentsProcessingInformation.paymentType) && Objects.equals(this.enablerId, ptsv2paymentsProcessingInformation.enablerId) && - Objects.equals(this.processingInstruction, ptsv2paymentsProcessingInformation.processingInstruction); + Objects.equals(this.processingInstruction, ptsv2paymentsProcessingInformation.processingInstruction) && + Objects.equals(this.transactionTypeIndicator, ptsv2paymentsProcessingInformation.transactionTypeIndicator) && + Objects.equals(this.purposeOfPayment, ptsv2paymentsProcessingInformation.purposeOfPayment) && + Objects.equals(this.languageCode, ptsv2paymentsProcessingInformation.languageCode) && + Objects.equals(this.originalPaymentId, ptsv2paymentsProcessingInformation.originalPaymentId); } @Override public int hashCode() { - return Objects.hash(actionList, enableEscrowOption, actionTokenTypes, binSource, capture, processorId, businessApplicationId, commerceIndicator, commerceIndicatorLabel, paymentSolution, reconciliationId, linkId, purchaseLevel, transactionTimeout, intentsId, reportGroup, visaCheckoutId, industryDataType, authorizationOptions, captureOptions, recurringOptions, bankTransferOptions, purchaseOptions, electronicBenefitsTransfer, loanOptions, walletType, nationalNetDomesticData, japanPaymentOptions, mobileRemotePaymentType, extendedCreditTotalCount, networkRoutingOrder, payByPointsIndicator, timeout, isReturnAuthRecordEnabled, networkPartnerId, paymentType, enablerId, processingInstruction); + return Objects.hash(actionList, enableEscrowOption, actionTokenTypes, binSource, capture, processorId, businessApplicationId, commerceIndicator, commerceIndicatorLabel, paymentSolution, reconciliationId, linkId, purchaseLevel, transactionTimeout, intentsId, reportGroup, visaCheckoutId, industryDataType, authorizationOptions, captureOptions, recurringOptions, bankTransferOptions, purchaseOptions, electronicBenefitsTransfer, loanOptions, walletType, nationalNetDomesticData, japanPaymentOptions, mobileRemotePaymentType, extendedCreditTotalCount, networkRoutingOrder, payByPointsIndicator, timeout, isReturnAuthRecordEnabled, networkPartnerId, paymentType, enablerId, processingInstruction, transactionTypeIndicator, purposeOfPayment, languageCode, originalPaymentId); } @@ -953,6 +1041,10 @@ public String toString() { if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); if (enablerId != null) sb.append(" enablerId: ").append(toIndentedString(enablerId)).append("\n"); if (processingInstruction != null) sb.append(" processingInstruction: ").append(toIndentedString(processingInstruction)).append("\n"); + if (transactionTypeIndicator != null) sb.append(" transactionTypeIndicator: ").append(toIndentedString(transactionTypeIndicator)).append("\n"); + if (purposeOfPayment != null) sb.append(" purposeOfPayment: ").append(toIndentedString(purposeOfPayment)).append("\n"); + if (languageCode != null) sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + if (originalPaymentId != null) sb.append(" originalPaymentId: ").append(toIndentedString(originalPaymentId)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java index be20016d7..8a29bf5a5 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.java @@ -98,9 +98,21 @@ public class Ptsv2paymentsProcessingInformationAuthorizationOptions { @SerializedName("cardVerificationIndicator") private Boolean cardVerificationIndicator = null; + @SerializedName("transactionMode") + private String transactionMode = null; + @SerializedName("aftIndicator") private Boolean aftIndicator = null; + @SerializedName("serviceType") + private String serviceType = null; + + @SerializedName("balanceUpdate") + private Boolean balanceUpdate = null; + + @SerializedName("moneyLoad") + private Boolean moneyLoad = null; + public Ptsv2paymentsProcessingInformationAuthorizationOptions authType(String authType) { this.authType = authType; return this; @@ -215,10 +227,10 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions extendAuthIndicato } /** - * Flag that indicates whether the transaction is an extended authorization. + * Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period. Possible values: - true: Transaction is an Authorization Extension transaction. - false: Transaction is not an Authorization Extension transaction. * @return extendAuthIndicator **/ - @ApiModelProperty(value = "Flag that indicates whether the transaction is an extended authorization. ") + @ApiModelProperty(value = "Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period. Possible values: - true: Transaction is an Authorization Extension transaction. - false: Transaction is not an Authorization Extension transaction. ") public String getExtendAuthIndicator() { return extendAuthIndicator; } @@ -349,10 +361,10 @@ public Ptsv2paymentsProcessingInformationAuthorizationOptions billPaymentType(St } /** - * Reason for the payment. Possible values: - 001: Utility payment - 002: Government services - 003: Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. + * Reason for the payment. Possible values: - 001: Public utilities / Utility payment - 002: Government services - 003: Cellular / Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment - 006: Billing payment - 007: Tax payment - 008: Tax payment refunds The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. * @return billPaymentType **/ - @ApiModelProperty(value = "Reason for the payment. Possible values: - 001: Utility payment - 002: Government services - 003: Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. ") + @ApiModelProperty(value = "Reason for the payment. Possible values: - 001: Public utilities / Utility payment - 002: Government services - 003: Cellular / Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment - 006: Billing payment - 007: Tax payment - 008: Tax payment refunds The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. ") public String getBillPaymentType() { return billPaymentType; } @@ -505,6 +517,24 @@ public void setCardVerificationIndicator(Boolean cardVerificationIndicator) { this.cardVerificationIndicator = cardVerificationIndicator; } + public Ptsv2paymentsProcessingInformationAuthorizationOptions transactionMode(String transactionMode) { + this.transactionMode = transactionMode; + return this; + } + + /** + * Transaction mode identifier. Identifies the specific channel from which the transaction originates. Possible values: - M – Mobile Order - T – Telephone Order + * @return transactionMode + **/ + @ApiModelProperty(value = "Transaction mode identifier. Identifies the specific channel from which the transaction originates. Possible values: - M – Mobile Order - T – Telephone Order ") + public String getTransactionMode() { + return transactionMode; + } + + public void setTransactionMode(String transactionMode) { + this.transactionMode = transactionMode; + } + public Ptsv2paymentsProcessingInformationAuthorizationOptions aftIndicator(Boolean aftIndicator) { this.aftIndicator = aftIndicator; return this; @@ -523,6 +553,60 @@ public void setAftIndicator(Boolean aftIndicator) { this.aftIndicator = aftIndicator; } + public Ptsv2paymentsProcessingInformationAuthorizationOptions serviceType(String serviceType) { + this.serviceType = serviceType; + return this; + } + + /** + * Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time funding or a live-load. This type of transaction can also be connected to a purchase. In back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: - account one is used to make the purchase - account two is used to automatically fund or reimburse account one Possible values: - 0B = back to back funding transaction - 00 = normal transaction - 01 = originator hold - 02 = Visa deferred OCT hold, default interval - 03 = Visa deferred OCT hold, user-defined interval - 09 = Cancel pending deferred OCT request - 0I = Visa Direct custom program 1 - 0Q = uery the status of the deferred OCT - A0 = Alias Directory 2 + * @return serviceType + **/ + @ApiModelProperty(value = "Field is used for back-to-back funding transaction and can be defined as a payment flow that automatically transfers funds through a real-time funding or a live-load. This type of transaction can also be connected to a purchase. In back-to-back funding of general purpose card that is used to make a purchase, two separate accounts are involved: - account one is used to make the purchase - account two is used to automatically fund or reimburse account one Possible values: - 0B = back to back funding transaction - 00 = normal transaction - 01 = originator hold - 02 = Visa deferred OCT hold, default interval - 03 = Visa deferred OCT hold, user-defined interval - 09 = Cancel pending deferred OCT request - 0I = Visa Direct custom program 1 - 0Q = uery the status of the deferred OCT - A0 = Alias Directory 2 ") + public String getServiceType() { + return serviceType; + } + + public void setServiceType(String serviceType) { + this.serviceType = serviceType; + } + + public Ptsv2paymentsProcessingInformationAuthorizationOptions balanceUpdate(Boolean balanceUpdate) { + this.balanceUpdate = balanceUpdate; + return this; + } + + /** + * Merchant to inform Cybersource whether a transaction is Money load with Balance Update. Possible values: - `true` (This is a Money load with balance update transaction) - `false` (default value) (This is not a Money load with balance update transaction) + * @return balanceUpdate + **/ + @ApiModelProperty(value = "Merchant to inform Cybersource whether a transaction is Money load with Balance Update. Possible values: - `true` (This is a Money load with balance update transaction) - `false` (default value) (This is not a Money load with balance update transaction) ") + public Boolean BalanceUpdate() { + return balanceUpdate; + } + + public void setBalanceUpdate(Boolean balanceUpdate) { + this.balanceUpdate = balanceUpdate; + } + + public Ptsv2paymentsProcessingInformationAuthorizationOptions moneyLoad(Boolean moneyLoad) { + this.moneyLoad = moneyLoad; + return this; + } + + /** + * Merchant to inform Cybersource whether a transaction is Money load with Money load only. Possible values: - `true` (This is a money load transaction) - `false` (default value) (This is not a money load transaction) + * @return moneyLoad + **/ + @ApiModelProperty(value = "Merchant to inform Cybersource whether a transaction is Money load with Money load only. Possible values: - `true` (This is a money load transaction) - `false` (default value) (This is not a money load transaction) ") + public Boolean MoneyLoad() { + return moneyLoad; + } + + public void setMoneyLoad(Boolean moneyLoad) { + this.moneyLoad = moneyLoad; + } + @Override public boolean equals(java.lang.Object o) { @@ -555,12 +639,16 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.cashAdvanceIndicator, ptsv2paymentsProcessingInformationAuthorizationOptions.cashAdvanceIndicator) && Objects.equals(this.splitPaymentTransaction, ptsv2paymentsProcessingInformationAuthorizationOptions.splitPaymentTransaction) && Objects.equals(this.cardVerificationIndicator, ptsv2paymentsProcessingInformationAuthorizationOptions.cardVerificationIndicator) && - Objects.equals(this.aftIndicator, ptsv2paymentsProcessingInformationAuthorizationOptions.aftIndicator); + Objects.equals(this.transactionMode, ptsv2paymentsProcessingInformationAuthorizationOptions.transactionMode) && + Objects.equals(this.aftIndicator, ptsv2paymentsProcessingInformationAuthorizationOptions.aftIndicator) && + Objects.equals(this.serviceType, ptsv2paymentsProcessingInformationAuthorizationOptions.serviceType) && + Objects.equals(this.balanceUpdate, ptsv2paymentsProcessingInformationAuthorizationOptions.balanceUpdate) && + Objects.equals(this.moneyLoad, ptsv2paymentsProcessingInformationAuthorizationOptions.moneyLoad); } @Override public int hashCode() { - return Objects.hash(authType, panReturnIndicator, verbalAuthCode, verbalAuthTransactionId, authIndicator, partialAuthIndicator, extendAuthIndicator, balanceInquiry, ignoreAvsResult, declineAvsFlags, ignoreCvResult, initiator, billPayment, billPaymentType, redemptionInquiry, transportationMode, aggregatedAuthIndicator, debtRecoveryIndicator, deferredAuthIndicator, cashAdvanceIndicator, splitPaymentTransaction, cardVerificationIndicator, aftIndicator); + return Objects.hash(authType, panReturnIndicator, verbalAuthCode, verbalAuthTransactionId, authIndicator, partialAuthIndicator, extendAuthIndicator, balanceInquiry, ignoreAvsResult, declineAvsFlags, ignoreCvResult, initiator, billPayment, billPaymentType, redemptionInquiry, transportationMode, aggregatedAuthIndicator, debtRecoveryIndicator, deferredAuthIndicator, cashAdvanceIndicator, splitPaymentTransaction, cardVerificationIndicator, transactionMode, aftIndicator, serviceType, balanceUpdate, moneyLoad); } @@ -591,7 +679,11 @@ public String toString() { if (cashAdvanceIndicator != null) sb.append(" cashAdvanceIndicator: ").append(toIndentedString(cashAdvanceIndicator)).append("\n"); if (splitPaymentTransaction != null) sb.append(" splitPaymentTransaction: ").append(toIndentedString(splitPaymentTransaction)).append("\n"); if (cardVerificationIndicator != null) sb.append(" cardVerificationIndicator: ").append(toIndentedString(cardVerificationIndicator)).append("\n"); + if (transactionMode != null) sb.append(" transactionMode: ").append(toIndentedString(transactionMode)).append("\n"); if (aftIndicator != null) sb.append(" aftIndicator: ").append(toIndentedString(aftIndicator)).append("\n"); + if (serviceType != null) sb.append(" serviceType: ").append(toIndentedString(serviceType)).append("\n"); + if (balanceUpdate != null) sb.append(" balanceUpdate: ").append(toIndentedString(balanceUpdate)).append("\n"); + if (moneyLoad != null) sb.append(" moneyLoad: ").append(toIndentedString(moneyLoad)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java index 8783b9e7e..818520a18 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java @@ -38,6 +38,9 @@ public class Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerc @SerializedName("originalAuthorizedAmount") private String originalAuthorizedAmount = null; + @SerializedName("agreementId") + private String agreementId = null; + public Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction reason(String reason) { this.reason = reason; return this; @@ -92,6 +95,24 @@ public void setOriginalAuthorizedAmount(String originalAuthorizedAmount) { this.originalAuthorizedAmount = originalAuthorizedAmount; } + public Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction agreementId(String agreementId) { + this.agreementId = agreementId; + return this; + } + + /** + * An API to carry the agreement ID generated for recurring and unscheduled Card on file transaction. the merchant generates this per card holder or per payment agreement and shares the generated unique ID in the subsequent transactions. This can contain foreign/arabic character set also. Cybersource forwards this value to the Saudi Payment processor. + * @return agreementId + **/ + @ApiModelProperty(value = "An API to carry the agreement ID generated for recurring and unscheduled Card on file transaction. the merchant generates this per card holder or per payment agreement and shares the generated unique ID in the subsequent transactions. This can contain foreign/arabic character set also. Cybersource forwards this value to the Saudi Payment processor. ") + public String getAgreementId() { + return agreementId; + } + + public void setAgreementId(String agreementId) { + this.agreementId = agreementId; + } + @Override public boolean equals(java.lang.Object o) { @@ -104,12 +125,13 @@ public boolean equals(java.lang.Object o) { Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction = (Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction) o; return Objects.equals(this.reason, ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.reason) && Objects.equals(this.previousTransactionId, ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.previousTransactionId) && - Objects.equals(this.originalAuthorizedAmount, ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.originalAuthorizedAmount); + Objects.equals(this.originalAuthorizedAmount, ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.originalAuthorizedAmount) && + Objects.equals(this.agreementId, ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.agreementId); } @Override public int hashCode() { - return Objects.hash(reason, previousTransactionId, originalAuthorizedAmount); + return Objects.hash(reason, previousTransactionId, originalAuthorizedAmount, agreementId); } @@ -121,6 +143,7 @@ public String toString() { if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); if (previousTransactionId != null) sb.append(" previousTransactionId: ").append(toIndentedString(previousTransactionId)).append("\n"); if (originalAuthorizedAmount != null) sb.append(" originalAuthorizedAmount: ").append(toIndentedString(originalAuthorizedAmount)).append("\n"); + if (agreementId != null) sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java index 3f2f952e3..4a7d28896 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationCaptureOptions.java @@ -44,6 +44,12 @@ public class Ptsv2paymentsProcessingInformationCaptureOptions { @SerializedName("notes") private String notes = null; + @SerializedName("reconciliationId") + private String reconciliationId = null; + + @SerializedName("reconciliationIdAlternate") + private String reconciliationIdAlternate = null; + public Ptsv2paymentsProcessingInformationCaptureOptions captureSequenceNumber(Integer captureSequenceNumber) { this.captureSequenceNumber = captureSequenceNumber; return this; @@ -138,6 +144,42 @@ public void setNotes(String notes) { this.notes = notes; } + public Ptsv2paymentsProcessingInformationCaptureOptions reconciliationId(String reconciliationId) { + this.reconciliationId = reconciliationId; + return this; + } + + /** + * Used for authbill request when capture field equals true + * @return reconciliationId + **/ + @ApiModelProperty(value = "Used for authbill request when capture field equals true") + public String getReconciliationId() { + return reconciliationId; + } + + public void setReconciliationId(String reconciliationId) { + this.reconciliationId = reconciliationId; + } + + public Ptsv2paymentsProcessingInformationCaptureOptions reconciliationIdAlternate(String reconciliationIdAlternate) { + this.reconciliationIdAlternate = reconciliationIdAlternate; + return this; + } + + /** + * Used by Nike merchant to send 12 digit order number + * @return reconciliationIdAlternate + **/ + @ApiModelProperty(value = "Used by Nike merchant to send 12 digit order number") + public String getReconciliationIdAlternate() { + return reconciliationIdAlternate; + } + + public void setReconciliationIdAlternate(String reconciliationIdAlternate) { + this.reconciliationIdAlternate = reconciliationIdAlternate; + } + @Override public boolean equals(java.lang.Object o) { @@ -152,12 +194,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalCaptureCount, ptsv2paymentsProcessingInformationCaptureOptions.totalCaptureCount) && Objects.equals(this.dateToCapture, ptsv2paymentsProcessingInformationCaptureOptions.dateToCapture) && Objects.equals(this.isFinal, ptsv2paymentsProcessingInformationCaptureOptions.isFinal) && - Objects.equals(this.notes, ptsv2paymentsProcessingInformationCaptureOptions.notes); + Objects.equals(this.notes, ptsv2paymentsProcessingInformationCaptureOptions.notes) && + Objects.equals(this.reconciliationId, ptsv2paymentsProcessingInformationCaptureOptions.reconciliationId) && + Objects.equals(this.reconciliationIdAlternate, ptsv2paymentsProcessingInformationCaptureOptions.reconciliationIdAlternate); } @Override public int hashCode() { - return Objects.hash(captureSequenceNumber, totalCaptureCount, dateToCapture, isFinal, notes); + return Objects.hash(captureSequenceNumber, totalCaptureCount, dateToCapture, isFinal, notes, reconciliationId, reconciliationIdAlternate); } @@ -171,6 +215,8 @@ public String toString() { if (dateToCapture != null) sb.append(" dateToCapture: ").append(toIndentedString(dateToCapture)).append("\n"); if (isFinal != null) sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n"); if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n"); + if (reconciliationIdAlternate != null) sb.append(" reconciliationIdAlternate: ").append(toIndentedString(reconciliationIdAlternate)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java b/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java index 059006de0..54e4e0c59 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java +++ b/src/main/java/Model/Ptsv2paymentsProcessingInformationPurchaseOptions.java @@ -35,6 +35,15 @@ public class Ptsv2paymentsProcessingInformationPurchaseOptions { @SerializedName("type") private String type = null; + @SerializedName("eligibilityIndicator") + private String eligibilityIndicator = null; + + @SerializedName("benefitAmount") + private String benefitAmount = null; + + @SerializedName("benefitType") + private String benefitType = null; + public Ptsv2paymentsProcessingInformationPurchaseOptions isElectronicBenefitsTransfer(Boolean isElectronicBenefitsTransfer) { this.isElectronicBenefitsTransfer = isElectronicBenefitsTransfer; return this; @@ -71,6 +80,60 @@ public void setType(String type) { this.type = type; } + public Ptsv2paymentsProcessingInformationPurchaseOptions eligibilityIndicator(String eligibilityIndicator) { + this.eligibilityIndicator = eligibilityIndicator; + return this; + } + + /** + * This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile + * @return eligibilityIndicator + **/ + @ApiModelProperty(value = "This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile ") + public String getEligibilityIndicator() { + return eligibilityIndicator; + } + + public void setEligibilityIndicator(String eligibilityIndicator) { + this.eligibilityIndicator = eligibilityIndicator; + } + + public Ptsv2paymentsProcessingInformationPurchaseOptions benefitAmount(String benefitAmount) { + this.benefitAmount = benefitAmount; + return this; + } + + /** + * Workplace benefit amount. + * @return benefitAmount + **/ + @ApiModelProperty(value = "Workplace benefit amount.") + public String getBenefitAmount() { + return benefitAmount; + } + + public void setBenefitAmount(String benefitAmount) { + this.benefitAmount = benefitAmount; + } + + public Ptsv2paymentsProcessingInformationPurchaseOptions benefitType(String benefitType) { + this.benefitType = benefitType; + return this; + } + + /** + * Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education + * @return benefitType + **/ + @ApiModelProperty(value = "Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education ") + public String getBenefitType() { + return benefitType; + } + + public void setBenefitType(String benefitType) { + this.benefitType = benefitType; + } + @Override public boolean equals(java.lang.Object o) { @@ -82,12 +145,15 @@ public boolean equals(java.lang.Object o) { } Ptsv2paymentsProcessingInformationPurchaseOptions ptsv2paymentsProcessingInformationPurchaseOptions = (Ptsv2paymentsProcessingInformationPurchaseOptions) o; return Objects.equals(this.isElectronicBenefitsTransfer, ptsv2paymentsProcessingInformationPurchaseOptions.isElectronicBenefitsTransfer) && - Objects.equals(this.type, ptsv2paymentsProcessingInformationPurchaseOptions.type); + Objects.equals(this.type, ptsv2paymentsProcessingInformationPurchaseOptions.type) && + Objects.equals(this.eligibilityIndicator, ptsv2paymentsProcessingInformationPurchaseOptions.eligibilityIndicator) && + Objects.equals(this.benefitAmount, ptsv2paymentsProcessingInformationPurchaseOptions.benefitAmount) && + Objects.equals(this.benefitType, ptsv2paymentsProcessingInformationPurchaseOptions.benefitType); } @Override public int hashCode() { - return Objects.hash(isElectronicBenefitsTransfer, type); + return Objects.hash(isElectronicBenefitsTransfer, type, eligibilityIndicator, benefitAmount, benefitType); } @@ -98,6 +164,9 @@ public String toString() { if (isElectronicBenefitsTransfer != null) sb.append(" isElectronicBenefitsTransfer: ").append(toIndentedString(isElectronicBenefitsTransfer)).append("\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (eligibilityIndicator != null) sb.append(" eligibilityIndicator: ").append(toIndentedString(eligibilityIndicator)).append("\n"); + if (benefitAmount != null) sb.append(" benefitAmount: ").append(toIndentedString(benefitAmount)).append("\n"); + if (benefitType != null) sb.append(" benefitType: ").append(toIndentedString(benefitType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsRecipientInformation.java b/src/main/java/Model/Ptsv2paymentsRecipientInformation.java index 3469fbe8f..a6cfe6040 100644 --- a/src/main/java/Model/Ptsv2paymentsRecipientInformation.java +++ b/src/main/java/Model/Ptsv2paymentsRecipientInformation.java @@ -47,6 +47,9 @@ public class Ptsv2paymentsRecipientInformation { @SerializedName("address1") private String address1 = null; + @SerializedName("administrativeArea") + private String administrativeArea = null; + @SerializedName("postalCode") private String postalCode = null; @@ -65,6 +68,24 @@ public class Ptsv2paymentsRecipientInformation { @SerializedName("beneficiaryAddress") private String beneficiaryAddress = null; + @SerializedName("aliasName") + private String aliasName = null; + + @SerializedName("nationality") + private String nationality = null; + + @SerializedName("countryOfBirth") + private String countryOfBirth = null; + + @SerializedName("occupation") + private String occupation = null; + + @SerializedName("email") + private String email = null; + + @SerializedName("locality") + private String locality = null; + public Ptsv2paymentsRecipientInformation accountId(String accountId) { this.accountId = accountId; return this; @@ -173,6 +194,24 @@ public void setAddress1(String address1) { this.address1 = address1; } + public Ptsv2paymentsRecipientInformation administrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * The state or province of the recipient. This field is applicable for AFT transactions when the recipient country is US or CA. Else it is optional. Must be a two character value + * @return administrativeArea + **/ + @ApiModelProperty(value = "The state or province of the recipient. This field is applicable for AFT transactions when the recipient country is US or CA. Else it is optional. Must be a two character value ") + public String getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + } + public Ptsv2paymentsRecipientInformation postalCode(String postalCode) { this.postalCode = postalCode; return this; @@ -281,6 +320,114 @@ public void setBeneficiaryAddress(String beneficiaryAddress) { this.beneficiaryAddress = beneficiaryAddress; } + public Ptsv2paymentsRecipientInformation aliasName(String aliasName) { + this.aliasName = aliasName; + return this; + } + + /** + * Account owner alias name. + * @return aliasName + **/ + @ApiModelProperty(value = "Account owner alias name. ") + public String getAliasName() { + return aliasName; + } + + public void setAliasName(String aliasName) { + this.aliasName = aliasName; + } + + public Ptsv2paymentsRecipientInformation nationality(String nationality) { + this.nationality = nationality; + return this; + } + + /** + * Account Owner Nationality + * @return nationality + **/ + @ApiModelProperty(value = "Account Owner Nationality") + public String getNationality() { + return nationality; + } + + public void setNationality(String nationality) { + this.nationality = nationality; + } + + public Ptsv2paymentsRecipientInformation countryOfBirth(String countryOfBirth) { + this.countryOfBirth = countryOfBirth; + return this; + } + + /** + * Account Owner Country of Birth + * @return countryOfBirth + **/ + @ApiModelProperty(value = "Account Owner Country of Birth") + public String getCountryOfBirth() { + return countryOfBirth; + } + + public void setCountryOfBirth(String countryOfBirth) { + this.countryOfBirth = countryOfBirth; + } + + public Ptsv2paymentsRecipientInformation occupation(String occupation) { + this.occupation = occupation; + return this; + } + + /** + * Account Owner Occupation + * @return occupation + **/ + @ApiModelProperty(value = "Account Owner Occupation") + public String getOccupation() { + return occupation; + } + + public void setOccupation(String occupation) { + this.occupation = occupation; + } + + public Ptsv2paymentsRecipientInformation email(String email) { + this.email = email; + return this; + } + + /** + * Account Owner email address + * @return email + **/ + @ApiModelProperty(value = "Account Owner email address") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public Ptsv2paymentsRecipientInformation locality(String locality) { + this.locality = locality; + return this; + } + + /** + * The city of the recipient. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. + * @return locality + **/ + @ApiModelProperty(value = "The city of the recipient. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. ") + public String getLocality() { + return locality; + } + + public void setLocality(String locality) { + this.locality = locality; + } + @Override public boolean equals(java.lang.Object o) { @@ -297,17 +444,24 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.middleName, ptsv2paymentsRecipientInformation.middleName) && Objects.equals(this.lastName, ptsv2paymentsRecipientInformation.lastName) && Objects.equals(this.address1, ptsv2paymentsRecipientInformation.address1) && + Objects.equals(this.administrativeArea, ptsv2paymentsRecipientInformation.administrativeArea) && Objects.equals(this.postalCode, ptsv2paymentsRecipientInformation.postalCode) && Objects.equals(this.country, ptsv2paymentsRecipientInformation.country) && Objects.equals(this.dateOfBirth, ptsv2paymentsRecipientInformation.dateOfBirth) && Objects.equals(this.beneficiaryId, ptsv2paymentsRecipientInformation.beneficiaryId) && Objects.equals(this.beneficiaryName, ptsv2paymentsRecipientInformation.beneficiaryName) && - Objects.equals(this.beneficiaryAddress, ptsv2paymentsRecipientInformation.beneficiaryAddress); + Objects.equals(this.beneficiaryAddress, ptsv2paymentsRecipientInformation.beneficiaryAddress) && + Objects.equals(this.aliasName, ptsv2paymentsRecipientInformation.aliasName) && + Objects.equals(this.nationality, ptsv2paymentsRecipientInformation.nationality) && + Objects.equals(this.countryOfBirth, ptsv2paymentsRecipientInformation.countryOfBirth) && + Objects.equals(this.occupation, ptsv2paymentsRecipientInformation.occupation) && + Objects.equals(this.email, ptsv2paymentsRecipientInformation.email) && + Objects.equals(this.locality, ptsv2paymentsRecipientInformation.locality); } @Override public int hashCode() { - return Objects.hash(accountId, accountType, firstName, middleName, lastName, address1, postalCode, country, dateOfBirth, beneficiaryId, beneficiaryName, beneficiaryAddress); + return Objects.hash(accountId, accountType, firstName, middleName, lastName, address1, administrativeArea, postalCode, country, dateOfBirth, beneficiaryId, beneficiaryName, beneficiaryAddress, aliasName, nationality, countryOfBirth, occupation, email, locality); } @@ -322,12 +476,19 @@ public String toString() { if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); if (beneficiaryId != null) sb.append(" beneficiaryId: ").append(toIndentedString(beneficiaryId)).append("\n"); if (beneficiaryName != null) sb.append(" beneficiaryName: ").append(toIndentedString(beneficiaryName)).append("\n"); if (beneficiaryAddress != null) sb.append(" beneficiaryAddress: ").append(toIndentedString(beneficiaryAddress)).append("\n"); + if (aliasName != null) sb.append(" aliasName: ").append(toIndentedString(aliasName)).append("\n"); + if (nationality != null) sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); + if (countryOfBirth != null) sb.append(" countryOfBirth: ").append(toIndentedString(countryOfBirth)).append("\n"); + if (occupation != null) sb.append(" occupation: ").append(toIndentedString(occupation)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsSenderInformation.java b/src/main/java/Model/Ptsv2paymentsSenderInformation.java index 82b087585..cda7721a2 100644 --- a/src/main/java/Model/Ptsv2paymentsSenderInformation.java +++ b/src/main/java/Model/Ptsv2paymentsSenderInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2paymentsSenderInformationAccount; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,18 @@ public class Ptsv2paymentsSenderInformation { @SerializedName("countryCode") private String countryCode = null; + @SerializedName("aliasName") + private String aliasName = null; + + @SerializedName("referenceNumber") + private String referenceNumber = null; + + @SerializedName("account") + private Ptsv2paymentsSenderInformationAccount account = null; + + @SerializedName("postalCode") + private String postalCode = null; + public Ptsv2paymentsSenderInformation firstName(String firstName) { this.firstName = firstName; return this; @@ -176,6 +189,78 @@ public void setCountryCode(String countryCode) { this.countryCode = countryCode; } + public Ptsv2paymentsSenderInformation aliasName(String aliasName) { + this.aliasName = aliasName; + return this; + } + + /** + * Sender's alias name. + * @return aliasName + **/ + @ApiModelProperty(value = "Sender's alias name.") + public String getAliasName() { + return aliasName; + } + + public void setAliasName(String aliasName) { + this.aliasName = aliasName; + } + + public Ptsv2paymentsSenderInformation referenceNumber(String referenceNumber) { + this.referenceNumber = referenceNumber; + return this; + } + + /** + * This field is applicable for AFT transactions. Contains a transaction reference number provided by the Merchant. Only alpha numeric values are supported. + * @return referenceNumber + **/ + @ApiModelProperty(value = "This field is applicable for AFT transactions. Contains a transaction reference number provided by the Merchant. Only alpha numeric values are supported. ") + public String getReferenceNumber() { + return referenceNumber; + } + + public void setReferenceNumber(String referenceNumber) { + this.referenceNumber = referenceNumber; + } + + public Ptsv2paymentsSenderInformation account(Ptsv2paymentsSenderInformationAccount account) { + this.account = account; + return this; + } + + /** + * Get account + * @return account + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsSenderInformationAccount getAccount() { + return account; + } + + public void setAccount(Ptsv2paymentsSenderInformationAccount account) { + this.account = account; + } + + public Ptsv2paymentsSenderInformation postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Postal code of sender. + * @return postalCode + **/ + @ApiModelProperty(value = "Postal code of sender. ") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + @Override public boolean equals(java.lang.Object o) { @@ -192,12 +277,16 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.address1, ptsv2paymentsSenderInformation.address1) && Objects.equals(this.locality, ptsv2paymentsSenderInformation.locality) && Objects.equals(this.administrativeArea, ptsv2paymentsSenderInformation.administrativeArea) && - Objects.equals(this.countryCode, ptsv2paymentsSenderInformation.countryCode); + Objects.equals(this.countryCode, ptsv2paymentsSenderInformation.countryCode) && + Objects.equals(this.aliasName, ptsv2paymentsSenderInformation.aliasName) && + Objects.equals(this.referenceNumber, ptsv2paymentsSenderInformation.referenceNumber) && + Objects.equals(this.account, ptsv2paymentsSenderInformation.account) && + Objects.equals(this.postalCode, ptsv2paymentsSenderInformation.postalCode); } @Override public int hashCode() { - return Objects.hash(firstName, middleName, lastName, address1, locality, administrativeArea, countryCode); + return Objects.hash(firstName, middleName, lastName, address1, locality, administrativeArea, countryCode, aliasName, referenceNumber, account, postalCode); } @@ -213,6 +302,10 @@ public String toString() { if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (aliasName != null) sb.append(" aliasName: ").append(toIndentedString(aliasName)).append("\n"); + if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsSenderInformationAccount.java b/src/main/java/Model/Ptsv2paymentsSenderInformationAccount.java new file mode 100644 index 000000000..68eefd127 --- /dev/null +++ b/src/main/java/Model/Ptsv2paymentsSenderInformationAccount.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Ptsv2paymentsSenderInformationAccount + */ + +public class Ptsv2paymentsSenderInformationAccount { + @SerializedName("number") + private String number = null; + + @SerializedName("type") + private String type = null; + + @SerializedName("fundsSource") + private String fundsSource = null; + + public Ptsv2paymentsSenderInformationAccount number(String number) { + this.number = number; + return this; + } + + /** + * The account number of the entity funding the transaction. The value for this field can be a payment card account number or bank account number. + * @return number + **/ + @ApiModelProperty(value = "The account number of the entity funding the transaction. The value for this field can be a payment card account number or bank account number. ") + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public Ptsv2paymentsSenderInformationAccount type(String type) { + this.type = type; + return this; + } + + /** + * Identifies the sender's account type. This field is applicable for AFT transactions. Valid values are: - `00` for Other - `01` for Routing Transit Number (RTN) + Bank Account Number (BAN) - `02` for International Bank Account Number (IBAN) - `03` for Card Account - `04` for Email - `05` for Phone Number - `06` for Bank Account Number (BAN) + Bank Identification Code (BIC), also known as a SWIFT code - `07` for Wallet ID - `08` for Social Network ID + * @return type + **/ + @ApiModelProperty(value = "Identifies the sender's account type. This field is applicable for AFT transactions. Valid values are: - `00` for Other - `01` for Routing Transit Number (RTN) + Bank Account Number (BAN) - `02` for International Bank Account Number (IBAN) - `03` for Card Account - `04` for Email - `05` for Phone Number - `06` for Bank Account Number (BAN) + Bank Identification Code (BIC), also known as a SWIFT code - `07` for Wallet ID - `08` for Social Network ID ") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Ptsv2paymentsSenderInformationAccount fundsSource(String fundsSource) { + this.fundsSource = fundsSource; + return this; + } + + /** + * Source of funds. Possible Values: - `01`: Credit. - `02`: Debit. - `03`: Prepaid. - `04`: Deposit Account. - `05`: Mobile Money Account. - `06`: Cash. - `07`: Other. - `V5`: Debits / deposit access other than those linked to the cardholders' scheme. - `V6`: Credit accounts other than those linked to the cardholder's scheme. + * @return fundsSource + **/ + @ApiModelProperty(value = "Source of funds. Possible Values: - `01`: Credit. - `02`: Debit. - `03`: Prepaid. - `04`: Deposit Account. - `05`: Mobile Money Account. - `06`: Cash. - `07`: Other. - `V5`: Debits / deposit access other than those linked to the cardholders' scheme. - `V6`: Credit accounts other than those linked to the cardholder's scheme. ") + public String getFundsSource() { + return fundsSource; + } + + public void setFundsSource(String fundsSource) { + this.fundsSource = fundsSource; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Ptsv2paymentsSenderInformationAccount ptsv2paymentsSenderInformationAccount = (Ptsv2paymentsSenderInformationAccount) o; + return Objects.equals(this.number, ptsv2paymentsSenderInformationAccount.number) && + Objects.equals(this.type, ptsv2paymentsSenderInformationAccount.type) && + Objects.equals(this.fundsSource, ptsv2paymentsSenderInformationAccount.fundsSource); + } + + @Override + public int hashCode() { + return Objects.hash(number, type, fundsSource); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Ptsv2paymentsSenderInformationAccount {\n"); + + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (fundsSource != null) sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsUnscheduledPaymentInformation.java similarity index 78% rename from src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java rename to src/main/java/Model/Ptsv2paymentsUnscheduledPaymentInformation.java index b1fb2ddc6..dddbc176c 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseUnscheduledPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsUnscheduledPaymentInformation.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * TssV2TransactionsGet200ResponseUnscheduledPaymentInformation + * Ptsv2paymentsUnscheduledPaymentInformation */ -public class TssV2TransactionsGet200ResponseUnscheduledPaymentInformation { +public class Ptsv2paymentsUnscheduledPaymentInformation { @SerializedName("type") private String type = null; - public TssV2TransactionsGet200ResponseUnscheduledPaymentInformation type(String type) { + public Ptsv2paymentsUnscheduledPaymentInformation type(String type) { this.type = type; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TssV2TransactionsGet200ResponseUnscheduledPaymentInformation tssV2TransactionsGet200ResponseUnscheduledPaymentInformation = (TssV2TransactionsGet200ResponseUnscheduledPaymentInformation) o; - return Objects.equals(this.type, tssV2TransactionsGet200ResponseUnscheduledPaymentInformation.type); + Ptsv2paymentsUnscheduledPaymentInformation ptsv2paymentsUnscheduledPaymentInformation = (Ptsv2paymentsUnscheduledPaymentInformation) o; + return Objects.equals(this.type, ptsv2paymentsUnscheduledPaymentInformation.type); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class TssV2TransactionsGet200ResponseUnscheduledPaymentInformation {\n"); + sb.append("class Ptsv2paymentsUnscheduledPaymentInformation {\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java b/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java index df9e89613..f66454fbf 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesInstallmentInformation.java @@ -165,7 +165,7 @@ public Ptsv2paymentsidcapturesInstallmentInformation sequence(Integer sequence) /** * Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return sequence **/ @ApiModelProperty(value = "Installment number when making payments in installments. Used along with `totalCount` to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as `sequence` = 2 and `totalCount` = 5. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### CyberSource through VisaNet When you do not include this field in a request for a Crediario installment payment, CyberSource sends a value of 0 to the processor. For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 38-40 - Field: Installment Payment Number * The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") @@ -202,7 +202,7 @@ public Ptsv2paymentsidcapturesInstallmentInformation totalCount(Integer totalCou /** * Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. - * maximum: 99 + * maximum: 999 * @return totalCount **/ @ApiModelProperty(value = "Total number of installments when making payments in installments. #### Chase Paymentech Solutions and FDC Compass This field is optional because this value is required in the merchant descriptors. #### American Express Direct, Cielo, and Comercio Latino This value is the total number of installments you approved. #### CyberSource Latin American Processing in Brazil This value is the total number of installments that you approved. The default is 1. #### All Other Processors This value is used along with _sequence_ to track which payment is being processed. For example, the second of 5 payments would be passed to CyberSource as _sequence_ = 2 and _totalCount_ = 5. #### CyberSource through VisaNet For Crediario installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR9 - Position: 23-25 - Field: Number of Installments For installment payments with American Express in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR3 - Position: 7-8 - Field: Number of Installments For installment payments with Visa in Brazil, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP07 TCR1 - Position: 7-8 - Field: Number of Installments For all other kinds of installment payments, the value for this field corresponds to the following data in the TC 33 capture file*: - Record: CP01 TCR5 - Position: 20-22 - Field: Installment Total Count **Note** The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment card companies. ") @@ -274,10 +274,10 @@ public Ptsv2paymentsidcapturesInstallmentInformation paymentType(String paymentT } /** - * Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information + * Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. * @return paymentType **/ - @ApiModelProperty(value = "Payment plan for the installments. Possible values: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. This field is supported only for installment payments with Visa on CyberSource through VisaNet in Brazil. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR1 - Position: 9 - Field: Merchant Installment Supporting Information ") + @ApiModelProperty(value = "Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow. ") public String getPaymentType() { return paymentType; } diff --git a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java index 43462f4fb..614d234e3 100644 --- a/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.java @@ -41,6 +41,9 @@ public class Ptsv2paymentsidcapturesProcessingInformationCaptureOptions { @SerializedName("notes") private String notes = null; + @SerializedName("reconciliationIdAlternate") + private String reconciliationIdAlternate = null; + public Ptsv2paymentsidcapturesProcessingInformationCaptureOptions captureSequenceNumber(Integer captureSequenceNumber) { this.captureSequenceNumber = captureSequenceNumber; return this; @@ -117,6 +120,24 @@ public void setNotes(String notes) { this.notes = notes; } + public Ptsv2paymentsidcapturesProcessingInformationCaptureOptions reconciliationIdAlternate(String reconciliationIdAlternate) { + this.reconciliationIdAlternate = reconciliationIdAlternate; + return this; + } + + /** + * Used by Nike merchant to send 12 digit order number + * @return reconciliationIdAlternate + **/ + @ApiModelProperty(value = "Used by Nike merchant to send 12 digit order number") + public String getReconciliationIdAlternate() { + return reconciliationIdAlternate; + } + + public void setReconciliationIdAlternate(String reconciliationIdAlternate) { + this.reconciliationIdAlternate = reconciliationIdAlternate; + } + @Override public boolean equals(java.lang.Object o) { @@ -130,12 +151,13 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.captureSequenceNumber, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.captureSequenceNumber) && Objects.equals(this.totalCaptureCount, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.totalCaptureCount) && Objects.equals(this.isFinal, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.isFinal) && - Objects.equals(this.notes, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.notes); + Objects.equals(this.notes, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.notes) && + Objects.equals(this.reconciliationIdAlternate, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.reconciliationIdAlternate); } @Override public int hashCode() { - return Objects.hash(captureSequenceNumber, totalCaptureCount, isFinal, notes); + return Objects.hash(captureSequenceNumber, totalCaptureCount, isFinal, notes, reconciliationIdAlternate); } @@ -148,6 +170,7 @@ public String toString() { if (totalCaptureCount != null) sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n"); if (isFinal != null) sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n"); if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + if (reconciliationIdAlternate != null) sb.append(" reconciliationIdAlternate: ").append(toIndentedString(reconciliationIdAlternate)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java index 248ce61f3..91789bef5 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsPointOfSaleInformation.java @@ -33,6 +33,9 @@ public class Ptsv2paymentsidrefundsPointOfSaleInformation { @SerializedName("emv") private Ptsv2paymentsidcapturesPointOfSaleInformationEmv emv = null; + @SerializedName("terminalCategory") + private String terminalCategory = null; + public Ptsv2paymentsidrefundsPointOfSaleInformation emv(Ptsv2paymentsidcapturesPointOfSaleInformationEmv emv) { this.emv = emv; return this; @@ -51,6 +54,24 @@ public void setEmv(Ptsv2paymentsidcapturesPointOfSaleInformationEmv emv) { this.emv = emv; } + public Ptsv2paymentsidrefundsPointOfSaleInformation terminalCategory(String terminalCategory) { + this.terminalCategory = terminalCategory; + return this; + } + + /** + * Indicates the type of terminal. Possible values: - `AFD`: Automated Fuel Dispenser + * @return terminalCategory + **/ + @ApiModelProperty(value = "Indicates the type of terminal. Possible values: - `AFD`: Automated Fuel Dispenser ") + public String getTerminalCategory() { + return terminalCategory; + } + + public void setTerminalCategory(String terminalCategory) { + this.terminalCategory = terminalCategory; + } + @Override public boolean equals(java.lang.Object o) { @@ -61,12 +82,13 @@ public boolean equals(java.lang.Object o) { return false; } Ptsv2paymentsidrefundsPointOfSaleInformation ptsv2paymentsidrefundsPointOfSaleInformation = (Ptsv2paymentsidrefundsPointOfSaleInformation) o; - return Objects.equals(this.emv, ptsv2paymentsidrefundsPointOfSaleInformation.emv); + return Objects.equals(this.emv, ptsv2paymentsidrefundsPointOfSaleInformation.emv) && + Objects.equals(this.terminalCategory, ptsv2paymentsidrefundsPointOfSaleInformation.terminalCategory); } @Override public int hashCode() { - return Objects.hash(emv); + return Objects.hash(emv, terminalCategory); } @@ -76,6 +98,7 @@ public String toString() { sb.append("class Ptsv2paymentsidrefundsPointOfSaleInformation {\n"); if (emv != null) sb.append(" emv: ").append(toIndentedString(emv)).append("\n"); + if (terminalCategory != null) sb.append(" terminalCategory: ").append(toIndentedString(terminalCategory)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java index 8f8c186c6..8cee3226b 100644 --- a/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidrefundsProcessingInformation.java @@ -66,6 +66,9 @@ public class Ptsv2paymentsidrefundsProcessingInformation { @SerializedName("refundOptions") private Ptsv2paymentsidrefundsProcessingInformationRefundOptions refundOptions = null; + @SerializedName("transactionTypeIndicator") + private String transactionTypeIndicator = null; + public Ptsv2paymentsidrefundsProcessingInformation actionList(List actionList) { this.actionList = actionList; return this; @@ -272,6 +275,24 @@ public void setRefundOptions(Ptsv2paymentsidrefundsProcessingInformationRefundOp this.refundOptions = refundOptions; } + public Ptsv2paymentsidrefundsProcessingInformation transactionTypeIndicator(String transactionTypeIndicator) { + this.transactionTypeIndicator = transactionTypeIndicator; + return this; + } + + /** + * This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities + * @return transactionTypeIndicator + **/ + @ApiModelProperty(value = "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities ") + public String getTransactionTypeIndicator() { + return transactionTypeIndicator; + } + + public void setTransactionTypeIndicator(String transactionTypeIndicator) { + this.transactionTypeIndicator = transactionTypeIndicator; + } + @Override public boolean equals(java.lang.Object o) { @@ -292,12 +313,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recurringOptions, ptsv2paymentsidrefundsProcessingInformation.recurringOptions) && Objects.equals(this.industryDataType, ptsv2paymentsidrefundsProcessingInformation.industryDataType) && Objects.equals(this.paymentType, ptsv2paymentsidrefundsProcessingInformation.paymentType) && - Objects.equals(this.refundOptions, ptsv2paymentsidrefundsProcessingInformation.refundOptions); + Objects.equals(this.refundOptions, ptsv2paymentsidrefundsProcessingInformation.refundOptions) && + Objects.equals(this.transactionTypeIndicator, ptsv2paymentsidrefundsProcessingInformation.transactionTypeIndicator); } @Override public int hashCode() { - return Objects.hash(actionList, paymentSolution, reconciliationId, linkId, reportGroup, visaCheckoutId, purchaseLevel, recurringOptions, industryDataType, paymentType, refundOptions); + return Objects.hash(actionList, paymentSolution, reconciliationId, linkId, reportGroup, visaCheckoutId, purchaseLevel, recurringOptions, industryDataType, paymentType, refundOptions, transactionTypeIndicator); } @@ -317,6 +339,7 @@ public String toString() { if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n"); if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); if (refundOptions != null) sb.append(" refundOptions: ").append(toIndentedString(refundOptions)).append("\n"); + if (transactionTypeIndicator != null) sb.append(" transactionTypeIndicator: ").append(toIndentedString(transactionTypeIndicator)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java index c6da57362..836ff5270 100644 --- a/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidreversalsProcessingInformation.java @@ -53,6 +53,9 @@ public class Ptsv2paymentsidreversalsProcessingInformation { @SerializedName("actionList") private List actionList = null; + @SerializedName("transactionTypeIndicator") + private String transactionTypeIndicator = null; + public Ptsv2paymentsidreversalsProcessingInformation paymentSolution(String paymentSolution) { this.paymentSolution = paymentSolution; return this; @@ -187,6 +190,24 @@ public void setActionList(List actionList) { this.actionList = actionList; } + public Ptsv2paymentsidreversalsProcessingInformation transactionTypeIndicator(String transactionTypeIndicator) { + this.transactionTypeIndicator = transactionTypeIndicator; + return this; + } + + /** + * This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities + * @return transactionTypeIndicator + **/ + @ApiModelProperty(value = "This field is used identify the type of payment transaction taking place. This field is applicable for MasterCard transactions only. Possible values: - 201- Mastercard Rebate - 202- rePower Load Value - 203- Gaming Re-pay - 204- General Person-to-Person - 205- General Transfer to Own Account - 206- Agent Cash Out - 207- Payment of Own Credit Card Bill - 208- Business Disbursement - 209- Government/Non-Profit Disbursement - 210- Rapid Merchant Settlement - 211- Cash in at ATM (Usage limited to specific countries) - 212- Cash in at Point of Sale (Usage limited to specific countries) - 213- General Business to Business Transfer - 214- Mastercard Merchant Presented QR - 215- Mastercard Merchant Presented QR Refund Payment - 216- Utility Payments (for Brazil domestic use only) - 217- Government Services (for Brazil domestic use only) - 218- Mobile phone top-ups (for Brazil domestic use only) - 219- Coupon booklet payments (for Brazil domestic use only) - 220- General Person-to-Person Transfer - 221- Person-to-Person Transfer to Card Account - 222- General Transfer to Own Account - 223- Agent Cash Out - 224- Payment of Own Credit Card Bill - 225- Business Disbursement - 226- Transfer to Own Staged Digital Wallet Account - 227- Transfer to Own Debit or Prepaid Account - 228- General Business-to-Business Transfer - 229- Installment-based repayment - 230- Mastercard ATM Cash Pick-Up Transaction - 231- Cryptocurrency - 232- High-risk Securities ") + public String getTransactionTypeIndicator() { + return transactionTypeIndicator; + } + + public void setTransactionTypeIndicator(String transactionTypeIndicator) { + this.transactionTypeIndicator = transactionTypeIndicator; + } + @Override public boolean equals(java.lang.Object o) { @@ -203,12 +224,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.reportGroup, ptsv2paymentsidreversalsProcessingInformation.reportGroup) && Objects.equals(this.visaCheckoutId, ptsv2paymentsidreversalsProcessingInformation.visaCheckoutId) && Objects.equals(this.issuer, ptsv2paymentsidreversalsProcessingInformation.issuer) && - Objects.equals(this.actionList, ptsv2paymentsidreversalsProcessingInformation.actionList); + Objects.equals(this.actionList, ptsv2paymentsidreversalsProcessingInformation.actionList) && + Objects.equals(this.transactionTypeIndicator, ptsv2paymentsidreversalsProcessingInformation.transactionTypeIndicator); } @Override public int hashCode() { - return Objects.hash(paymentSolution, reconciliationId, linkId, reportGroup, visaCheckoutId, issuer, actionList); + return Objects.hash(paymentSolution, reconciliationId, linkId, reportGroup, visaCheckoutId, issuer, actionList, transactionTypeIndicator); } @@ -224,6 +246,7 @@ public String toString() { if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n"); if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (transactionTypeIndicator != null) sb.append(" transactionTypeIndicator: ").append(toIndentedString(transactionTypeIndicator)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2payoutsAggregatorInformation.java b/src/main/java/Model/Ptsv2payoutsAggregatorInformation.java new file mode 100644 index 000000000..7348c64ef --- /dev/null +++ b/src/main/java/Model/Ptsv2payoutsAggregatorInformation.java @@ -0,0 +1,279 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Ptsv2payoutsAggregatorInformationSubMerchant; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Ptsv2payoutsAggregatorInformation + */ + +public class Ptsv2payoutsAggregatorInformation { + @SerializedName("aggregatorId") + private String aggregatorId = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("independentSalesOrganizationID") + private String independentSalesOrganizationID = null; + + @SerializedName("subMerchant") + private Ptsv2payoutsAggregatorInformationSubMerchant subMerchant = null; + + @SerializedName("streetAddress") + private String streetAddress = null; + + @SerializedName("city") + private String city = null; + + @SerializedName("state") + private String state = null; + + @SerializedName("postalCode") + private String postalCode = null; + + @SerializedName("country") + private String country = null; + + public Ptsv2payoutsAggregatorInformation aggregatorId(String aggregatorId) { + this.aggregatorId = aggregatorId; + return this; + } + + /** + * Value that identifies you as a payment aggregator. Get this value from the processor. + * @return aggregatorId + **/ + @ApiModelProperty(value = "Value that identifies you as a payment aggregator. Get this value from the processor. ") + public String getAggregatorId() { + return aggregatorId; + } + + public void setAggregatorId(String aggregatorId) { + this.aggregatorId = aggregatorId; + } + + public Ptsv2payoutsAggregatorInformation name(String name) { + this.name = name; + return this; + } + + /** + * Your payment aggregator business name. This field is conditionally required when aggregator id is present. + * @return name + **/ + @ApiModelProperty(value = "Your payment aggregator business name. This field is conditionally required when aggregator id is present. ") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Ptsv2payoutsAggregatorInformation independentSalesOrganizationID(String independentSalesOrganizationID) { + this.independentSalesOrganizationID = independentSalesOrganizationID; + return this; + } + + /** + * Independent sales organization ID. This field is only used for Mastercard transactions submitted through PPGS. + * @return independentSalesOrganizationID + **/ + @ApiModelProperty(value = "Independent sales organization ID. This field is only used for Mastercard transactions submitted through PPGS. ") + public String getIndependentSalesOrganizationID() { + return independentSalesOrganizationID; + } + + public void setIndependentSalesOrganizationID(String independentSalesOrganizationID) { + this.independentSalesOrganizationID = independentSalesOrganizationID; + } + + public Ptsv2payoutsAggregatorInformation subMerchant(Ptsv2payoutsAggregatorInformationSubMerchant subMerchant) { + this.subMerchant = subMerchant; + return this; + } + + /** + * Get subMerchant + * @return subMerchant + **/ + @ApiModelProperty(value = "") + public Ptsv2payoutsAggregatorInformationSubMerchant getSubMerchant() { + return subMerchant; + } + + public void setSubMerchant(Ptsv2payoutsAggregatorInformationSubMerchant subMerchant) { + this.subMerchant = subMerchant; + } + + public Ptsv2payoutsAggregatorInformation streetAddress(String streetAddress) { + this.streetAddress = streetAddress; + return this; + } + + /** + * Acquirer street name. + * @return streetAddress + **/ + @ApiModelProperty(value = "Acquirer street name.") + public String getStreetAddress() { + return streetAddress; + } + + public void setStreetAddress(String streetAddress) { + this.streetAddress = streetAddress; + } + + public Ptsv2payoutsAggregatorInformation city(String city) { + this.city = city; + return this; + } + + /** + * Acquirer city. + * @return city + **/ + @ApiModelProperty(value = "Acquirer city.") + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public Ptsv2payoutsAggregatorInformation state(String state) { + this.state = state; + return this; + } + + /** + * Acquirer state. + * @return state + **/ + @ApiModelProperty(value = "Acquirer state.") + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public Ptsv2payoutsAggregatorInformation postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Acquirer postal code. + * @return postalCode + **/ + @ApiModelProperty(value = "Acquirer postal code.") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + public Ptsv2payoutsAggregatorInformation country(String country) { + this.country = country; + return this; + } + + /** + * Acquirer country. + * @return country + **/ + @ApiModelProperty(value = "Acquirer country.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Ptsv2payoutsAggregatorInformation ptsv2payoutsAggregatorInformation = (Ptsv2payoutsAggregatorInformation) o; + return Objects.equals(this.aggregatorId, ptsv2payoutsAggregatorInformation.aggregatorId) && + Objects.equals(this.name, ptsv2payoutsAggregatorInformation.name) && + Objects.equals(this.independentSalesOrganizationID, ptsv2payoutsAggregatorInformation.independentSalesOrganizationID) && + Objects.equals(this.subMerchant, ptsv2payoutsAggregatorInformation.subMerchant) && + Objects.equals(this.streetAddress, ptsv2payoutsAggregatorInformation.streetAddress) && + Objects.equals(this.city, ptsv2payoutsAggregatorInformation.city) && + Objects.equals(this.state, ptsv2payoutsAggregatorInformation.state) && + Objects.equals(this.postalCode, ptsv2payoutsAggregatorInformation.postalCode) && + Objects.equals(this.country, ptsv2payoutsAggregatorInformation.country); + } + + @Override + public int hashCode() { + return Objects.hash(aggregatorId, name, independentSalesOrganizationID, subMerchant, streetAddress, city, state, postalCode, country); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Ptsv2payoutsAggregatorInformation {\n"); + + if (aggregatorId != null) sb.append(" aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (independentSalesOrganizationID != null) sb.append(" independentSalesOrganizationID: ").append(toIndentedString(independentSalesOrganizationID)).append("\n"); + if (subMerchant != null) sb.append(" subMerchant: ").append(toIndentedString(subMerchant)).append("\n"); + if (streetAddress != null) sb.append(" streetAddress: ").append(toIndentedString(streetAddress)).append("\n"); + if (city != null) sb.append(" city: ").append(toIndentedString(city)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java b/src/main/java/Model/Ptsv2payoutsAggregatorInformationSubMerchant.java similarity index 77% rename from src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java rename to src/main/java/Model/Ptsv2payoutsAggregatorInformationSubMerchant.java index 89dbf4209..e3d6c03e3 100644 --- a/src/main/java/Model/Ptsv1pushfundstransferAggregatorInformationSubMerchant.java +++ b/src/main/java/Model/Ptsv2payoutsAggregatorInformationSubMerchant.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Ptsv1pushfundstransferAggregatorInformationSubMerchant + * Ptsv2payoutsAggregatorInformationSubMerchant */ -public class Ptsv1pushfundstransferAggregatorInformationSubMerchant { +public class Ptsv2payoutsAggregatorInformationSubMerchant { @SerializedName("id") private String id = null; - public Ptsv1pushfundstransferAggregatorInformationSubMerchant id(String id) { + public Ptsv2payoutsAggregatorInformationSubMerchant id(String id) { this.id = id; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Ptsv1pushfundstransferAggregatorInformationSubMerchant ptsv1pushfundstransferAggregatorInformationSubMerchant = (Ptsv1pushfundstransferAggregatorInformationSubMerchant) o; - return Objects.equals(this.id, ptsv1pushfundstransferAggregatorInformationSubMerchant.id); + Ptsv2payoutsAggregatorInformationSubMerchant ptsv2payoutsAggregatorInformationSubMerchant = (Ptsv2payoutsAggregatorInformationSubMerchant) o; + return Objects.equals(this.id, ptsv2payoutsAggregatorInformationSubMerchant.id); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Ptsv1pushfundstransferAggregatorInformationSubMerchant {\n"); + sb.append("class Ptsv2payoutsAggregatorInformationSubMerchant {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Ptsv2payoutsProcessingInformation.java b/src/main/java/Model/Ptsv2payoutsProcessingInformation.java index 22e4a7b50..9a69c2c4f 100644 --- a/src/main/java/Model/Ptsv2payoutsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2payoutsProcessingInformation.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.Ptsv2payoutsProcessingInformationFundingOptions; import Model.Ptsv2payoutsProcessingInformationPayoutsOptions; +import Model.Ptsv2payoutsProcessingInformationPurchaseOptions; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -55,6 +56,12 @@ public class Ptsv2payoutsProcessingInformation { @SerializedName("fundingOptions") private Ptsv2payoutsProcessingInformationFundingOptions fundingOptions = null; + @SerializedName("languageCode") + private String languageCode = null; + + @SerializedName("purchaseOptions") + private Ptsv2payoutsProcessingInformationPurchaseOptions purchaseOptions = null; + public Ptsv2payoutsProcessingInformation businessApplicationId(String businessApplicationId) { this.businessApplicationId = businessApplicationId; return this; @@ -199,6 +206,42 @@ public void setFundingOptions(Ptsv2payoutsProcessingInformationFundingOptions fu this.fundingOptions = fundingOptions; } + public Ptsv2payoutsProcessingInformation languageCode(String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Contains the ISO 639-2 defined language Code + * @return languageCode + **/ + @ApiModelProperty(value = "Contains the ISO 639-2 defined language Code ") + public String getLanguageCode() { + return languageCode; + } + + public void setLanguageCode(String languageCode) { + this.languageCode = languageCode; + } + + public Ptsv2payoutsProcessingInformation purchaseOptions(Ptsv2payoutsProcessingInformationPurchaseOptions purchaseOptions) { + this.purchaseOptions = purchaseOptions; + return this; + } + + /** + * Get purchaseOptions + * @return purchaseOptions + **/ + @ApiModelProperty(value = "") + public Ptsv2payoutsProcessingInformationPurchaseOptions getPurchaseOptions() { + return purchaseOptions; + } + + public void setPurchaseOptions(Ptsv2payoutsProcessingInformationPurchaseOptions purchaseOptions) { + this.purchaseOptions = purchaseOptions; + } + @Override public boolean equals(java.lang.Object o) { @@ -216,12 +259,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.payoutsOptions, ptsv2payoutsProcessingInformation.payoutsOptions) && Objects.equals(this.transactionReason, ptsv2payoutsProcessingInformation.transactionReason) && Objects.equals(this.purposeOfPayment, ptsv2payoutsProcessingInformation.purposeOfPayment) && - Objects.equals(this.fundingOptions, ptsv2payoutsProcessingInformation.fundingOptions); + Objects.equals(this.fundingOptions, ptsv2payoutsProcessingInformation.fundingOptions) && + Objects.equals(this.languageCode, ptsv2payoutsProcessingInformation.languageCode) && + Objects.equals(this.purchaseOptions, ptsv2payoutsProcessingInformation.purchaseOptions); } @Override public int hashCode() { - return Objects.hash(businessApplicationId, networkRoutingOrder, commerceIndicator, reconciliationId, payoutsOptions, transactionReason, purposeOfPayment, fundingOptions); + return Objects.hash(businessApplicationId, networkRoutingOrder, commerceIndicator, reconciliationId, payoutsOptions, transactionReason, purposeOfPayment, fundingOptions, languageCode, purchaseOptions); } @@ -238,6 +283,8 @@ public String toString() { if (transactionReason != null) sb.append(" transactionReason: ").append(toIndentedString(transactionReason)).append("\n"); if (purposeOfPayment != null) sb.append(" purposeOfPayment: ").append(toIndentedString(purposeOfPayment)).append("\n"); if (fundingOptions != null) sb.append(" fundingOptions: ").append(toIndentedString(fundingOptions)).append("\n"); + if (languageCode != null) sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + if (purchaseOptions != null) sb.append(" purchaseOptions: ").append(toIndentedString(purchaseOptions)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2payoutsProcessingInformationPurchaseOptions.java b/src/main/java/Model/Ptsv2payoutsProcessingInformationPurchaseOptions.java new file mode 100644 index 000000000..40899e5d0 --- /dev/null +++ b/src/main/java/Model/Ptsv2payoutsProcessingInformationPurchaseOptions.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Ptsv2payoutsProcessingInformationPurchaseOptions + */ + +public class Ptsv2payoutsProcessingInformationPurchaseOptions { + @SerializedName("benefitAmount") + private String benefitAmount = null; + + @SerializedName("benefitType") + private String benefitType = null; + + public Ptsv2payoutsProcessingInformationPurchaseOptions benefitAmount(String benefitAmount) { + this.benefitAmount = benefitAmount; + return this; + } + + /** + * Workplace benefit amount. + * @return benefitAmount + **/ + @ApiModelProperty(value = "Workplace benefit amount.") + public String getBenefitAmount() { + return benefitAmount; + } + + public void setBenefitAmount(String benefitAmount) { + this.benefitAmount = benefitAmount; + } + + public Ptsv2payoutsProcessingInformationPurchaseOptions benefitType(String benefitType) { + this.benefitType = benefitType; + return this; + } + + /** + * Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education + * @return benefitType + **/ + @ApiModelProperty(value = "Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education ") + public String getBenefitType() { + return benefitType; + } + + public void setBenefitType(String benefitType) { + this.benefitType = benefitType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Ptsv2payoutsProcessingInformationPurchaseOptions ptsv2payoutsProcessingInformationPurchaseOptions = (Ptsv2payoutsProcessingInformationPurchaseOptions) o; + return Objects.equals(this.benefitAmount, ptsv2payoutsProcessingInformationPurchaseOptions.benefitAmount) && + Objects.equals(this.benefitType, ptsv2payoutsProcessingInformationPurchaseOptions.benefitType); + } + + @Override + public int hashCode() { + return Objects.hash(benefitAmount, benefitType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Ptsv2payoutsProcessingInformationPurchaseOptions {\n"); + + if (benefitAmount != null) sb.append(" benefitAmount: ").append(toIndentedString(benefitAmount)).append("\n"); + if (benefitType != null) sb.append(" benefitType: ").append(toIndentedString(benefitType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Ptsv2payoutsRecipientInformation.java b/src/main/java/Model/Ptsv2payoutsRecipientInformation.java index 0940e92fc..7ca7b50e8 100644 --- a/src/main/java/Model/Ptsv2payoutsRecipientInformation.java +++ b/src/main/java/Model/Ptsv2payoutsRecipientInformation.java @@ -56,6 +56,21 @@ public class Ptsv2payoutsRecipientInformation { @SerializedName("phoneNumber") private String phoneNumber = null; + @SerializedName("aliasName") + private String aliasName = null; + + @SerializedName("nationality") + private String nationality = null; + + @SerializedName("countryOfBirth") + private String countryOfBirth = null; + + @SerializedName("occupation") + private String occupation = null; + + @SerializedName("email") + private String email = null; + public Ptsv2payoutsRecipientInformation firstName(String firstName) { this.firstName = firstName; return this; @@ -218,6 +233,96 @@ public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } + public Ptsv2payoutsRecipientInformation aliasName(String aliasName) { + this.aliasName = aliasName; + return this; + } + + /** + * Account owner alias name. + * @return aliasName + **/ + @ApiModelProperty(value = "Account owner alias name. ") + public String getAliasName() { + return aliasName; + } + + public void setAliasName(String aliasName) { + this.aliasName = aliasName; + } + + public Ptsv2payoutsRecipientInformation nationality(String nationality) { + this.nationality = nationality; + return this; + } + + /** + * Account Owner Nationality + * @return nationality + **/ + @ApiModelProperty(value = "Account Owner Nationality") + public String getNationality() { + return nationality; + } + + public void setNationality(String nationality) { + this.nationality = nationality; + } + + public Ptsv2payoutsRecipientInformation countryOfBirth(String countryOfBirth) { + this.countryOfBirth = countryOfBirth; + return this; + } + + /** + * Account Owner Country of Birth + * @return countryOfBirth + **/ + @ApiModelProperty(value = "Account Owner Country of Birth") + public String getCountryOfBirth() { + return countryOfBirth; + } + + public void setCountryOfBirth(String countryOfBirth) { + this.countryOfBirth = countryOfBirth; + } + + public Ptsv2payoutsRecipientInformation occupation(String occupation) { + this.occupation = occupation; + return this; + } + + /** + * Account Owner Occupation + * @return occupation + **/ + @ApiModelProperty(value = "Account Owner Occupation") + public String getOccupation() { + return occupation; + } + + public void setOccupation(String occupation) { + this.occupation = occupation; + } + + public Ptsv2payoutsRecipientInformation email(String email) { + this.email = email; + return this; + } + + /** + * Account Owner email address + * @return email + **/ + @ApiModelProperty(value = "Account Owner email address") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + @Override public boolean equals(java.lang.Object o) { @@ -236,12 +341,17 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.administrativeArea, ptsv2payoutsRecipientInformation.administrativeArea) && Objects.equals(this.country, ptsv2payoutsRecipientInformation.country) && Objects.equals(this.postalCode, ptsv2payoutsRecipientInformation.postalCode) && - Objects.equals(this.phoneNumber, ptsv2payoutsRecipientInformation.phoneNumber); + Objects.equals(this.phoneNumber, ptsv2payoutsRecipientInformation.phoneNumber) && + Objects.equals(this.aliasName, ptsv2payoutsRecipientInformation.aliasName) && + Objects.equals(this.nationality, ptsv2payoutsRecipientInformation.nationality) && + Objects.equals(this.countryOfBirth, ptsv2payoutsRecipientInformation.countryOfBirth) && + Objects.equals(this.occupation, ptsv2payoutsRecipientInformation.occupation) && + Objects.equals(this.email, ptsv2payoutsRecipientInformation.email); } @Override public int hashCode() { - return Objects.hash(firstName, middleName, lastName, address1, locality, administrativeArea, country, postalCode, phoneNumber); + return Objects.hash(firstName, middleName, lastName, address1, locality, administrativeArea, country, postalCode, phoneNumber, aliasName, nationality, countryOfBirth, occupation, email); } @@ -259,6 +369,11 @@ public String toString() { if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (aliasName != null) sb.append(" aliasName: ").append(toIndentedString(aliasName)).append("\n"); + if (nationality != null) sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); + if (countryOfBirth != null) sb.append(" countryOfBirth: ").append(toIndentedString(countryOfBirth)).append("\n"); + if (occupation != null) sb.append(" occupation: ").append(toIndentedString(occupation)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2payoutsSenderInformation.java b/src/main/java/Model/Ptsv2payoutsSenderInformation.java index d61caf08b..acd750970 100644 --- a/src/main/java/Model/Ptsv2payoutsSenderInformation.java +++ b/src/main/java/Model/Ptsv2payoutsSenderInformation.java @@ -84,6 +84,9 @@ public class Ptsv2payoutsSenderInformation { @SerializedName("identificationNumber") private String identificationNumber = null; + @SerializedName("aliasName") + private String aliasName = null; + public Ptsv2payoutsSenderInformation referenceNumber(String referenceNumber) { this.referenceNumber = referenceNumber; return this; @@ -408,6 +411,24 @@ public void setIdentificationNumber(String identificationNumber) { this.identificationNumber = identificationNumber; } + public Ptsv2payoutsSenderInformation aliasName(String aliasName) { + this.aliasName = aliasName; + return this; + } + + /** + * Sender's alias name. + * @return aliasName + **/ + @ApiModelProperty(value = "Sender's alias name.") + public String getAliasName() { + return aliasName; + } + + public void setAliasName(String aliasName) { + this.aliasName = aliasName; + } + @Override public boolean equals(java.lang.Object o) { @@ -435,12 +456,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.vatRegistrationNumber, ptsv2payoutsSenderInformation.vatRegistrationNumber) && Objects.equals(this.personalIdType, ptsv2payoutsSenderInformation.personalIdType) && Objects.equals(this.type, ptsv2payoutsSenderInformation.type) && - Objects.equals(this.identificationNumber, ptsv2payoutsSenderInformation.identificationNumber); + Objects.equals(this.identificationNumber, ptsv2payoutsSenderInformation.identificationNumber) && + Objects.equals(this.aliasName, ptsv2payoutsSenderInformation.aliasName); } @Override public int hashCode() { - return Objects.hash(referenceNumber, account, firstName, middleInitial, middleName, lastName, name, address1, locality, administrativeArea, countryCode, postalCode, phoneNumber, dateOfBirth, vatRegistrationNumber, personalIdType, type, identificationNumber); + return Objects.hash(referenceNumber, account, firstName, middleInitial, middleName, lastName, name, address1, locality, administrativeArea, countryCode, postalCode, phoneNumber, dateOfBirth, vatRegistrationNumber, personalIdType, type, identificationNumber, aliasName); } @@ -467,6 +489,7 @@ public String toString() { if (personalIdType != null) sb.append(" personalIdType: ").append(toIndentedString(personalIdType)).append("\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); if (identificationNumber != null) sb.append(" identificationNumber: ").append(toIndentedString(identificationNumber)).append("\n"); + if (aliasName != null) sb.append(" aliasName: ").append(toIndentedString(aliasName)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2voidsProcessingInformation.java b/src/main/java/Model/Ptsv2voidsProcessingInformation.java index cf4b63105..04bd84273 100644 --- a/src/main/java/Model/Ptsv2voidsProcessingInformation.java +++ b/src/main/java/Model/Ptsv2voidsProcessingInformation.java @@ -30,9 +30,9 @@ public class Ptsv2voidsProcessingInformation { @SerializedName("paymentId") - private Object paymentId = null; + private String paymentId = null; - public Ptsv2voidsProcessingInformation paymentId(Object paymentId) { + public Ptsv2voidsProcessingInformation paymentId(String paymentId) { this.paymentId = paymentId; return this; } @@ -42,11 +42,11 @@ public Ptsv2voidsProcessingInformation paymentId(Object paymentId) { * @return paymentId **/ @ApiModelProperty(value = "This field is to accept the id of credit/capture in the body of the requests so the type of void can be identified and processed correctly.") - public Object getPaymentId() { + public String getPaymentId() { return paymentId; } - public void setPaymentId(Object paymentId) { + public void setPaymentId(String paymentId) { this.paymentId = paymentId; } diff --git a/src/main/java/Model/PushFundsRequest.java b/src/main/java/Model/PushFundsRequest.java index 04acb70cc..62465da92 100644 --- a/src/main/java/Model/PushFundsRequest.java +++ b/src/main/java/Model/PushFundsRequest.java @@ -15,7 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.Ptsv1pushfundstransferAggregatorInformation; import Model.Ptsv1pushfundstransferClientReferenceInformation; import Model.Ptsv1pushfundstransferMerchantInformation; import Model.Ptsv1pushfundstransferOrderInformation; @@ -23,6 +22,7 @@ import Model.Ptsv1pushfundstransferProcessingInformation; import Model.Ptsv1pushfundstransferRecipientInformation; import Model.Ptsv1pushfundstransferSenderInformation; +import Model.Ptsv2payoutsAggregatorInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -38,7 +38,7 @@ public class PushFundsRequest { @SerializedName("aggregatorInformation") - private Ptsv1pushfundstransferAggregatorInformation aggregatorInformation = null; + private Ptsv2payoutsAggregatorInformation aggregatorInformation = null; @SerializedName("clientReferenceInformation") private Ptsv1pushfundstransferClientReferenceInformation clientReferenceInformation = null; @@ -61,7 +61,7 @@ public class PushFundsRequest { @SerializedName("pointOfServiceInformation") private Ptsv1pushfundstransferPointOfServiceInformation pointOfServiceInformation = null; - public PushFundsRequest aggregatorInformation(Ptsv1pushfundstransferAggregatorInformation aggregatorInformation) { + public PushFundsRequest aggregatorInformation(Ptsv2payoutsAggregatorInformation aggregatorInformation) { this.aggregatorInformation = aggregatorInformation; return this; } @@ -71,11 +71,11 @@ public PushFundsRequest aggregatorInformation(Ptsv1pushfundstransferAggregatorIn * @return aggregatorInformation **/ @ApiModelProperty(value = "") - public Ptsv1pushfundstransferAggregatorInformation getAggregatorInformation() { + public Ptsv2payoutsAggregatorInformation getAggregatorInformation() { return aggregatorInformation; } - public void setAggregatorInformation(Ptsv1pushfundstransferAggregatorInformation aggregatorInformation) { + public void setAggregatorInformation(Ptsv2payoutsAggregatorInformation aggregatorInformation) { this.aggregatorInformation = aggregatorInformation; } diff --git a/src/main/java/Model/TmsBinLookup.java b/src/main/java/Model/TmsBinLookup.java new file mode 100644 index 000000000..8102c7dc7 --- /dev/null +++ b/src/main/java/Model/TmsBinLookup.java @@ -0,0 +1,120 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.TmsBinLookupIssuerInformation; +import Model.TmsBinLookupPaymentAccountInformation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter. + */ +@ApiModel(description = "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter. ") + +public class TmsBinLookup { + @SerializedName("paymentAccountInformation") + private TmsBinLookupPaymentAccountInformation paymentAccountInformation = null; + + @SerializedName("issuerInformation") + private TmsBinLookupIssuerInformation issuerInformation = null; + + public TmsBinLookup paymentAccountInformation(TmsBinLookupPaymentAccountInformation paymentAccountInformation) { + this.paymentAccountInformation = paymentAccountInformation; + return this; + } + + /** + * Get paymentAccountInformation + * @return paymentAccountInformation + **/ + @ApiModelProperty(value = "") + public TmsBinLookupPaymentAccountInformation getPaymentAccountInformation() { + return paymentAccountInformation; + } + + public void setPaymentAccountInformation(TmsBinLookupPaymentAccountInformation paymentAccountInformation) { + this.paymentAccountInformation = paymentAccountInformation; + } + + public TmsBinLookup issuerInformation(TmsBinLookupIssuerInformation issuerInformation) { + this.issuerInformation = issuerInformation; + return this; + } + + /** + * Get issuerInformation + * @return issuerInformation + **/ + @ApiModelProperty(value = "") + public TmsBinLookupIssuerInformation getIssuerInformation() { + return issuerInformation; + } + + public void setIssuerInformation(TmsBinLookupIssuerInformation issuerInformation) { + this.issuerInformation = issuerInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TmsBinLookup tmsBinLookup = (TmsBinLookup) o; + return Objects.equals(this.paymentAccountInformation, tmsBinLookup.paymentAccountInformation) && + Objects.equals(this.issuerInformation, tmsBinLookup.issuerInformation); + } + + @Override + public int hashCode() { + return Objects.hash(paymentAccountInformation, issuerInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TmsBinLookup {\n"); + + if (paymentAccountInformation != null) sb.append(" paymentAccountInformation: ").append(toIndentedString(paymentAccountInformation)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse2011IssuerInformation.java b/src/main/java/Model/TmsBinLookupIssuerInformation.java similarity index 81% rename from src/main/java/Model/InlineResponse2011IssuerInformation.java rename to src/main/java/Model/TmsBinLookupIssuerInformation.java index 67aa61521..14eb832c8 100644 --- a/src/main/java/Model/InlineResponse2011IssuerInformation.java +++ b/src/main/java/Model/TmsBinLookupIssuerInformation.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse2011IssuerInformation + * TmsBinLookupIssuerInformation */ -public class InlineResponse2011IssuerInformation { +public class TmsBinLookupIssuerInformation { @SerializedName("name") private String name = null; @@ -44,7 +44,7 @@ public class InlineResponse2011IssuerInformation { @SerializedName("phoneNumber") private String phoneNumber = null; - public InlineResponse2011IssuerInformation name(String name) { + public TmsBinLookupIssuerInformation name(String name) { this.name = name; return this; } @@ -62,7 +62,7 @@ public void setName(String name) { this.name = name; } - public InlineResponse2011IssuerInformation country(String country) { + public TmsBinLookupIssuerInformation country(String country) { this.country = country; return this; } @@ -80,7 +80,7 @@ public void setCountry(String country) { this.country = country; } - public InlineResponse2011IssuerInformation binLength(String binLength) { + public TmsBinLookupIssuerInformation binLength(String binLength) { this.binLength = binLength; return this; } @@ -98,7 +98,7 @@ public void setBinLength(String binLength) { this.binLength = binLength; } - public InlineResponse2011IssuerInformation accountPrefix(String accountPrefix) { + public TmsBinLookupIssuerInformation accountPrefix(String accountPrefix) { this.accountPrefix = accountPrefix; return this; } @@ -116,7 +116,7 @@ public void setAccountPrefix(String accountPrefix) { this.accountPrefix = accountPrefix; } - public InlineResponse2011IssuerInformation phoneNumber(String phoneNumber) { + public TmsBinLookupIssuerInformation phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -143,12 +143,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2011IssuerInformation inlineResponse2011IssuerInformation = (InlineResponse2011IssuerInformation) o; - return Objects.equals(this.name, inlineResponse2011IssuerInformation.name) && - Objects.equals(this.country, inlineResponse2011IssuerInformation.country) && - Objects.equals(this.binLength, inlineResponse2011IssuerInformation.binLength) && - Objects.equals(this.accountPrefix, inlineResponse2011IssuerInformation.accountPrefix) && - Objects.equals(this.phoneNumber, inlineResponse2011IssuerInformation.phoneNumber); + TmsBinLookupIssuerInformation tmsBinLookupIssuerInformation = (TmsBinLookupIssuerInformation) o; + return Objects.equals(this.name, tmsBinLookupIssuerInformation.name) && + Objects.equals(this.country, tmsBinLookupIssuerInformation.country) && + Objects.equals(this.binLength, tmsBinLookupIssuerInformation.binLength) && + Objects.equals(this.accountPrefix, tmsBinLookupIssuerInformation.accountPrefix) && + Objects.equals(this.phoneNumber, tmsBinLookupIssuerInformation.phoneNumber); } @Override @@ -160,7 +160,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2011IssuerInformation {\n"); + sb.append("class TmsBinLookupIssuerInformation {\n"); if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformation.java b/src/main/java/Model/TmsBinLookupPaymentAccountInformation.java similarity index 57% rename from src/main/java/Model/InlineResponse2011PaymentAccountInformation.java rename to src/main/java/Model/TmsBinLookupPaymentAccountInformation.java index c99ff2f0c..95227eb15 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformation.java +++ b/src/main/java/Model/TmsBinLookupPaymentAccountInformation.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2011PaymentAccountInformationCard; -import Model.InlineResponse2011PaymentAccountInformationFeatures; -import Model.InlineResponse2011PaymentAccountInformationNetwork; +import Model.TmsBinLookupPaymentAccountInformationCard; +import Model.TmsBinLookupPaymentAccountInformationFeatures; +import Model.TmsBinLookupPaymentAccountInformationNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,20 +28,20 @@ import java.io.IOException; /** - * InlineResponse2011PaymentAccountInformation + * TmsBinLookupPaymentAccountInformation */ -public class InlineResponse2011PaymentAccountInformation { +public class TmsBinLookupPaymentAccountInformation { @SerializedName("card") - private InlineResponse2011PaymentAccountInformationCard card = null; + private TmsBinLookupPaymentAccountInformationCard card = null; @SerializedName("features") - private InlineResponse2011PaymentAccountInformationFeatures features = null; + private TmsBinLookupPaymentAccountInformationFeatures features = null; @SerializedName("network") - private InlineResponse2011PaymentAccountInformationNetwork network = null; + private TmsBinLookupPaymentAccountInformationNetwork network = null; - public InlineResponse2011PaymentAccountInformation card(InlineResponse2011PaymentAccountInformationCard card) { + public TmsBinLookupPaymentAccountInformation card(TmsBinLookupPaymentAccountInformationCard card) { this.card = card; return this; } @@ -51,15 +51,15 @@ public InlineResponse2011PaymentAccountInformation card(InlineResponse2011Paymen * @return card **/ @ApiModelProperty(value = "") - public InlineResponse2011PaymentAccountInformationCard getCard() { + public TmsBinLookupPaymentAccountInformationCard getCard() { return card; } - public void setCard(InlineResponse2011PaymentAccountInformationCard card) { + public void setCard(TmsBinLookupPaymentAccountInformationCard card) { this.card = card; } - public InlineResponse2011PaymentAccountInformation features(InlineResponse2011PaymentAccountInformationFeatures features) { + public TmsBinLookupPaymentAccountInformation features(TmsBinLookupPaymentAccountInformationFeatures features) { this.features = features; return this; } @@ -69,15 +69,15 @@ public InlineResponse2011PaymentAccountInformation features(InlineResponse2011Pa * @return features **/ @ApiModelProperty(value = "") - public InlineResponse2011PaymentAccountInformationFeatures getFeatures() { + public TmsBinLookupPaymentAccountInformationFeatures getFeatures() { return features; } - public void setFeatures(InlineResponse2011PaymentAccountInformationFeatures features) { + public void setFeatures(TmsBinLookupPaymentAccountInformationFeatures features) { this.features = features; } - public InlineResponse2011PaymentAccountInformation network(InlineResponse2011PaymentAccountInformationNetwork network) { + public TmsBinLookupPaymentAccountInformation network(TmsBinLookupPaymentAccountInformationNetwork network) { this.network = network; return this; } @@ -87,11 +87,11 @@ public InlineResponse2011PaymentAccountInformation network(InlineResponse2011Pay * @return network **/ @ApiModelProperty(value = "") - public InlineResponse2011PaymentAccountInformationNetwork getNetwork() { + public TmsBinLookupPaymentAccountInformationNetwork getNetwork() { return network; } - public void setNetwork(InlineResponse2011PaymentAccountInformationNetwork network) { + public void setNetwork(TmsBinLookupPaymentAccountInformationNetwork network) { this.network = network; } @@ -104,10 +104,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2011PaymentAccountInformation inlineResponse2011PaymentAccountInformation = (InlineResponse2011PaymentAccountInformation) o; - return Objects.equals(this.card, inlineResponse2011PaymentAccountInformation.card) && - Objects.equals(this.features, inlineResponse2011PaymentAccountInformation.features) && - Objects.equals(this.network, inlineResponse2011PaymentAccountInformation.network); + TmsBinLookupPaymentAccountInformation tmsBinLookupPaymentAccountInformation = (TmsBinLookupPaymentAccountInformation) o; + return Objects.equals(this.card, tmsBinLookupPaymentAccountInformation.card) && + Objects.equals(this.features, tmsBinLookupPaymentAccountInformation.features) && + Objects.equals(this.network, tmsBinLookupPaymentAccountInformation.network); } @Override @@ -119,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2011PaymentAccountInformation {\n"); + sb.append("class TmsBinLookupPaymentAccountInformation {\n"); if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); if (features != null) sb.append(" features: ").append(toIndentedString(features)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java b/src/main/java/Model/TmsBinLookupPaymentAccountInformationCard.java similarity index 85% rename from src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java rename to src/main/java/Model/TmsBinLookupPaymentAccountInformationCard.java index e1a8daca3..958117e6c 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCard.java +++ b/src/main/java/Model/TmsBinLookupPaymentAccountInformationCard.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2011PaymentAccountInformationCardBrands; +import Model.TmsBinLookupPaymentAccountInformationCardBrands; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,10 +28,10 @@ import java.util.List; /** - * InlineResponse2011PaymentAccountInformationCard + * TmsBinLookupPaymentAccountInformationCard */ -public class InlineResponse2011PaymentAccountInformationCard { +public class TmsBinLookupPaymentAccountInformationCard { @SerializedName("type") private String type = null; @@ -48,9 +48,9 @@ public class InlineResponse2011PaymentAccountInformationCard { private String credentialType = null; @SerializedName("brands") - private List brands = null; + private List brands = null; - public InlineResponse2011PaymentAccountInformationCard type(String type) { + public TmsBinLookupPaymentAccountInformationCard type(String type) { this.type = type; return this; } @@ -68,7 +68,7 @@ public void setType(String type) { this.type = type; } - public InlineResponse2011PaymentAccountInformationCard brandName(String brandName) { + public TmsBinLookupPaymentAccountInformationCard brandName(String brandName) { this.brandName = brandName; return this; } @@ -86,7 +86,7 @@ public void setBrandName(String brandName) { this.brandName = brandName; } - public InlineResponse2011PaymentAccountInformationCard currency(String currency) { + public TmsBinLookupPaymentAccountInformationCard currency(String currency) { this.currency = currency; return this; } @@ -104,7 +104,7 @@ public void setCurrency(String currency) { this.currency = currency; } - public InlineResponse2011PaymentAccountInformationCard maxLength(String maxLength) { + public TmsBinLookupPaymentAccountInformationCard maxLength(String maxLength) { this.maxLength = maxLength; return this; } @@ -122,7 +122,7 @@ public void setMaxLength(String maxLength) { this.maxLength = maxLength; } - public InlineResponse2011PaymentAccountInformationCard credentialType(String credentialType) { + public TmsBinLookupPaymentAccountInformationCard credentialType(String credentialType) { this.credentialType = credentialType; return this; } @@ -140,14 +140,14 @@ public void setCredentialType(String credentialType) { this.credentialType = credentialType; } - public InlineResponse2011PaymentAccountInformationCard brands(List brands) { + public TmsBinLookupPaymentAccountInformationCard brands(List brands) { this.brands = brands; return this; } - public InlineResponse2011PaymentAccountInformationCard addBrandsItem(InlineResponse2011PaymentAccountInformationCardBrands brandsItem) { + public TmsBinLookupPaymentAccountInformationCard addBrandsItem(TmsBinLookupPaymentAccountInformationCardBrands brandsItem) { if (this.brands == null) { - this.brands = new ArrayList(); + this.brands = new ArrayList(); } this.brands.add(brandsItem); return this; @@ -158,11 +158,11 @@ public InlineResponse2011PaymentAccountInformationCard addBrandsItem(InlineRespo * @return brands **/ @ApiModelProperty(value = "Array of brands") - public List getBrands() { + public List getBrands() { return brands; } - public void setBrands(List brands) { + public void setBrands(List brands) { this.brands = brands; } @@ -175,13 +175,13 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2011PaymentAccountInformationCard inlineResponse2011PaymentAccountInformationCard = (InlineResponse2011PaymentAccountInformationCard) o; - return Objects.equals(this.type, inlineResponse2011PaymentAccountInformationCard.type) && - Objects.equals(this.brandName, inlineResponse2011PaymentAccountInformationCard.brandName) && - Objects.equals(this.currency, inlineResponse2011PaymentAccountInformationCard.currency) && - Objects.equals(this.maxLength, inlineResponse2011PaymentAccountInformationCard.maxLength) && - Objects.equals(this.credentialType, inlineResponse2011PaymentAccountInformationCard.credentialType) && - Objects.equals(this.brands, inlineResponse2011PaymentAccountInformationCard.brands); + TmsBinLookupPaymentAccountInformationCard tmsBinLookupPaymentAccountInformationCard = (TmsBinLookupPaymentAccountInformationCard) o; + return Objects.equals(this.type, tmsBinLookupPaymentAccountInformationCard.type) && + Objects.equals(this.brandName, tmsBinLookupPaymentAccountInformationCard.brandName) && + Objects.equals(this.currency, tmsBinLookupPaymentAccountInformationCard.currency) && + Objects.equals(this.maxLength, tmsBinLookupPaymentAccountInformationCard.maxLength) && + Objects.equals(this.credentialType, tmsBinLookupPaymentAccountInformationCard.credentialType) && + Objects.equals(this.brands, tmsBinLookupPaymentAccountInformationCard.brands); } @Override @@ -193,7 +193,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2011PaymentAccountInformationCard {\n"); + sb.append("class TmsBinLookupPaymentAccountInformationCard {\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); if (brandName != null) sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java b/src/main/java/Model/TmsBinLookupPaymentAccountInformationCardBrands.java similarity index 92% rename from src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java rename to src/main/java/Model/TmsBinLookupPaymentAccountInformationCardBrands.java index 5fdbaec81..de31ce4c7 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationCardBrands.java +++ b/src/main/java/Model/TmsBinLookupPaymentAccountInformationCardBrands.java @@ -25,17 +25,17 @@ import java.io.IOException; /** - * InlineResponse2011PaymentAccountInformationCardBrands + * TmsBinLookupPaymentAccountInformationCardBrands */ -public class InlineResponse2011PaymentAccountInformationCardBrands { +public class TmsBinLookupPaymentAccountInformationCardBrands { @SerializedName("type") private String type = null; @SerializedName("brandName") private String brandName = null; - public InlineResponse2011PaymentAccountInformationCardBrands type(String type) { + public TmsBinLookupPaymentAccountInformationCardBrands type(String type) { this.type = type; return this; } @@ -53,7 +53,7 @@ public void setType(String type) { this.type = type; } - public InlineResponse2011PaymentAccountInformationCardBrands brandName(String brandName) { + public TmsBinLookupPaymentAccountInformationCardBrands brandName(String brandName) { this.brandName = brandName; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2011PaymentAccountInformationCardBrands inlineResponse2011PaymentAccountInformationCardBrands = (InlineResponse2011PaymentAccountInformationCardBrands) o; - return Objects.equals(this.type, inlineResponse2011PaymentAccountInformationCardBrands.type) && - Objects.equals(this.brandName, inlineResponse2011PaymentAccountInformationCardBrands.brandName); + TmsBinLookupPaymentAccountInformationCardBrands tmsBinLookupPaymentAccountInformationCardBrands = (TmsBinLookupPaymentAccountInformationCardBrands) o; + return Objects.equals(this.type, tmsBinLookupPaymentAccountInformationCardBrands.type) && + Objects.equals(this.brandName, tmsBinLookupPaymentAccountInformationCardBrands.brandName); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2011PaymentAccountInformationCardBrands {\n"); + sb.append("class TmsBinLookupPaymentAccountInformationCardBrands {\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); if (brandName != null) sb.append(" brandName: ").append(toIndentedString(brandName)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java b/src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java similarity index 79% rename from src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java rename to src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java index eadeb1ece..11b0db94b 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationFeatures.java +++ b/src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse2011PaymentAccountInformationFeatures + * TmsBinLookupPaymentAccountInformationFeatures */ -public class InlineResponse2011PaymentAccountInformationFeatures { +public class TmsBinLookupPaymentAccountInformationFeatures { @SerializedName("accountFundingSource") private String accountFundingSource = null; @@ -56,7 +56,7 @@ public class InlineResponse2011PaymentAccountInformationFeatures { @SerializedName("healthCard") private Boolean healthCard = null; - public InlineResponse2011PaymentAccountInformationFeatures accountFundingSource(String accountFundingSource) { + public TmsBinLookupPaymentAccountInformationFeatures accountFundingSource(String accountFundingSource) { this.accountFundingSource = accountFundingSource; return this; } @@ -74,7 +74,7 @@ public void setAccountFundingSource(String accountFundingSource) { this.accountFundingSource = accountFundingSource; } - public InlineResponse2011PaymentAccountInformationFeatures accountFundingSourceSubType(String accountFundingSourceSubType) { + public TmsBinLookupPaymentAccountInformationFeatures accountFundingSourceSubType(String accountFundingSourceSubType) { this.accountFundingSourceSubType = accountFundingSourceSubType; return this; } @@ -92,7 +92,7 @@ public void setAccountFundingSourceSubType(String accountFundingSourceSubType) { this.accountFundingSourceSubType = accountFundingSourceSubType; } - public InlineResponse2011PaymentAccountInformationFeatures cardProduct(String cardProduct) { + public TmsBinLookupPaymentAccountInformationFeatures cardProduct(String cardProduct) { this.cardProduct = cardProduct; return this; } @@ -110,7 +110,7 @@ public void setCardProduct(String cardProduct) { this.cardProduct = cardProduct; } - public InlineResponse2011PaymentAccountInformationFeatures messageType(String messageType) { + public TmsBinLookupPaymentAccountInformationFeatures messageType(String messageType) { this.messageType = messageType; return this; } @@ -128,7 +128,7 @@ public void setMessageType(String messageType) { this.messageType = messageType; } - public InlineResponse2011PaymentAccountInformationFeatures acceptanceLevel(String acceptanceLevel) { + public TmsBinLookupPaymentAccountInformationFeatures acceptanceLevel(String acceptanceLevel) { this.acceptanceLevel = acceptanceLevel; return this; } @@ -146,7 +146,7 @@ public void setAcceptanceLevel(String acceptanceLevel) { this.acceptanceLevel = acceptanceLevel; } - public InlineResponse2011PaymentAccountInformationFeatures cardPlatform(String cardPlatform) { + public TmsBinLookupPaymentAccountInformationFeatures cardPlatform(String cardPlatform) { this.cardPlatform = cardPlatform; return this; } @@ -164,7 +164,7 @@ public void setCardPlatform(String cardPlatform) { this.cardPlatform = cardPlatform; } - public InlineResponse2011PaymentAccountInformationFeatures comboCard(String comboCard) { + public TmsBinLookupPaymentAccountInformationFeatures comboCard(String comboCard) { this.comboCard = comboCard; return this; } @@ -182,7 +182,7 @@ public void setComboCard(String comboCard) { this.comboCard = comboCard; } - public InlineResponse2011PaymentAccountInformationFeatures corporatePurchase(Boolean corporatePurchase) { + public TmsBinLookupPaymentAccountInformationFeatures corporatePurchase(Boolean corporatePurchase) { this.corporatePurchase = corporatePurchase; return this; } @@ -200,7 +200,7 @@ public void setCorporatePurchase(Boolean corporatePurchase) { this.corporatePurchase = corporatePurchase; } - public InlineResponse2011PaymentAccountInformationFeatures healthCard(Boolean healthCard) { + public TmsBinLookupPaymentAccountInformationFeatures healthCard(Boolean healthCard) { this.healthCard = healthCard; return this; } @@ -227,16 +227,16 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2011PaymentAccountInformationFeatures inlineResponse2011PaymentAccountInformationFeatures = (InlineResponse2011PaymentAccountInformationFeatures) o; - return Objects.equals(this.accountFundingSource, inlineResponse2011PaymentAccountInformationFeatures.accountFundingSource) && - Objects.equals(this.accountFundingSourceSubType, inlineResponse2011PaymentAccountInformationFeatures.accountFundingSourceSubType) && - Objects.equals(this.cardProduct, inlineResponse2011PaymentAccountInformationFeatures.cardProduct) && - Objects.equals(this.messageType, inlineResponse2011PaymentAccountInformationFeatures.messageType) && - Objects.equals(this.acceptanceLevel, inlineResponse2011PaymentAccountInformationFeatures.acceptanceLevel) && - Objects.equals(this.cardPlatform, inlineResponse2011PaymentAccountInformationFeatures.cardPlatform) && - Objects.equals(this.comboCard, inlineResponse2011PaymentAccountInformationFeatures.comboCard) && - Objects.equals(this.corporatePurchase, inlineResponse2011PaymentAccountInformationFeatures.corporatePurchase) && - Objects.equals(this.healthCard, inlineResponse2011PaymentAccountInformationFeatures.healthCard); + TmsBinLookupPaymentAccountInformationFeatures tmsBinLookupPaymentAccountInformationFeatures = (TmsBinLookupPaymentAccountInformationFeatures) o; + return Objects.equals(this.accountFundingSource, tmsBinLookupPaymentAccountInformationFeatures.accountFundingSource) && + Objects.equals(this.accountFundingSourceSubType, tmsBinLookupPaymentAccountInformationFeatures.accountFundingSourceSubType) && + Objects.equals(this.cardProduct, tmsBinLookupPaymentAccountInformationFeatures.cardProduct) && + Objects.equals(this.messageType, tmsBinLookupPaymentAccountInformationFeatures.messageType) && + Objects.equals(this.acceptanceLevel, tmsBinLookupPaymentAccountInformationFeatures.acceptanceLevel) && + Objects.equals(this.cardPlatform, tmsBinLookupPaymentAccountInformationFeatures.cardPlatform) && + Objects.equals(this.comboCard, tmsBinLookupPaymentAccountInformationFeatures.comboCard) && + Objects.equals(this.corporatePurchase, tmsBinLookupPaymentAccountInformationFeatures.corporatePurchase) && + Objects.equals(this.healthCard, tmsBinLookupPaymentAccountInformationFeatures.healthCard); } @Override @@ -248,7 +248,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2011PaymentAccountInformationFeatures {\n"); + sb.append("class TmsBinLookupPaymentAccountInformationFeatures {\n"); if (accountFundingSource != null) sb.append(" accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n"); if (accountFundingSourceSubType != null) sb.append(" accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java b/src/main/java/Model/TmsBinLookupPaymentAccountInformationNetwork.java similarity index 80% rename from src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java rename to src/main/java/Model/TmsBinLookupPaymentAccountInformationNetwork.java index adaf403d6..8dce1f4a4 100644 --- a/src/main/java/Model/InlineResponse2011PaymentAccountInformationNetwork.java +++ b/src/main/java/Model/TmsBinLookupPaymentAccountInformationNetwork.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * InlineResponse2011PaymentAccountInformationNetwork + * TmsBinLookupPaymentAccountInformationNetwork */ -public class InlineResponse2011PaymentAccountInformationNetwork { +public class TmsBinLookupPaymentAccountInformationNetwork { @SerializedName("id") private String id = null; - public InlineResponse2011PaymentAccountInformationNetwork id(String id) { + public TmsBinLookupPaymentAccountInformationNetwork id(String id) { this.id = id; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2011PaymentAccountInformationNetwork inlineResponse2011PaymentAccountInformationNetwork = (InlineResponse2011PaymentAccountInformationNetwork) o; - return Objects.equals(this.id, inlineResponse2011PaymentAccountInformationNetwork.id); + TmsBinLookupPaymentAccountInformationNetwork tmsBinLookupPaymentAccountInformationNetwork = (TmsBinLookupPaymentAccountInformationNetwork) o; + return Objects.equals(this.id, tmsBinLookupPaymentAccountInformationNetwork.id); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2011PaymentAccountInformationNetwork {\n"); + sb.append("class TmsBinLookupPaymentAccountInformationNetwork {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/TmsCardArt.java b/src/main/java/Model/TmsCardArt.java new file mode 100644 index 000000000..6b7e9a862 --- /dev/null +++ b/src/main/java/Model/TmsCardArt.java @@ -0,0 +1,182 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.TmsCardArtBrandLogoAsset; +import Model.TmsCardArtCombinedAsset; +import Model.TmsCardArtIconAsset; +import Model.TmsCardArtIssuerLogoAsset; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Card art associated with the tokenized card. + */ +@ApiModel(description = "Card art associated with the tokenized card. ") + +public class TmsCardArt { + @SerializedName("foregroundColor") + private String foregroundColor = null; + + @SerializedName("combinedAsset") + private TmsCardArtCombinedAsset combinedAsset = null; + + @SerializedName("brandLogoAsset") + private TmsCardArtBrandLogoAsset brandLogoAsset = null; + + @SerializedName("issuerLogoAsset") + private TmsCardArtIssuerLogoAsset issuerLogoAsset = null; + + @SerializedName("iconAsset") + private TmsCardArtIconAsset iconAsset = null; + + /** + * Card foreground color. + * @return foregroundColor + **/ + @ApiModelProperty(value = "Card foreground color. ") + public String getForegroundColor() { + return foregroundColor; + } + + public TmsCardArt combinedAsset(TmsCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + return this; + } + + /** + * Get combinedAsset + * @return combinedAsset + **/ + @ApiModelProperty(value = "") + public TmsCardArtCombinedAsset getCombinedAsset() { + return combinedAsset; + } + + public void setCombinedAsset(TmsCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + } + + public TmsCardArt brandLogoAsset(TmsCardArtBrandLogoAsset brandLogoAsset) { + this.brandLogoAsset = brandLogoAsset; + return this; + } + + /** + * Get brandLogoAsset + * @return brandLogoAsset + **/ + @ApiModelProperty(value = "") + public TmsCardArtBrandLogoAsset getBrandLogoAsset() { + return brandLogoAsset; + } + + public void setBrandLogoAsset(TmsCardArtBrandLogoAsset brandLogoAsset) { + this.brandLogoAsset = brandLogoAsset; + } + + public TmsCardArt issuerLogoAsset(TmsCardArtIssuerLogoAsset issuerLogoAsset) { + this.issuerLogoAsset = issuerLogoAsset; + return this; + } + + /** + * Get issuerLogoAsset + * @return issuerLogoAsset + **/ + @ApiModelProperty(value = "") + public TmsCardArtIssuerLogoAsset getIssuerLogoAsset() { + return issuerLogoAsset; + } + + public void setIssuerLogoAsset(TmsCardArtIssuerLogoAsset issuerLogoAsset) { + this.issuerLogoAsset = issuerLogoAsset; + } + + public TmsCardArt iconAsset(TmsCardArtIconAsset iconAsset) { + this.iconAsset = iconAsset; + return this; + } + + /** + * Get iconAsset + * @return iconAsset + **/ + @ApiModelProperty(value = "") + public TmsCardArtIconAsset getIconAsset() { + return iconAsset; + } + + public void setIconAsset(TmsCardArtIconAsset iconAsset) { + this.iconAsset = iconAsset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TmsCardArt tmsCardArt = (TmsCardArt) o; + return Objects.equals(this.foregroundColor, tmsCardArt.foregroundColor) && + Objects.equals(this.combinedAsset, tmsCardArt.combinedAsset) && + Objects.equals(this.brandLogoAsset, tmsCardArt.brandLogoAsset) && + Objects.equals(this.issuerLogoAsset, tmsCardArt.issuerLogoAsset) && + Objects.equals(this.iconAsset, tmsCardArt.iconAsset); + } + + @Override + public int hashCode() { + return Objects.hash(foregroundColor, combinedAsset, brandLogoAsset, issuerLogoAsset, iconAsset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TmsCardArt {\n"); + + if (foregroundColor != null) sb.append(" foregroundColor: ").append(toIndentedString(foregroundColor)).append("\n"); + if (combinedAsset != null) sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); + if (brandLogoAsset != null) sb.append(" brandLogoAsset: ").append(toIndentedString(brandLogoAsset)).append("\n"); + if (issuerLogoAsset != null) sb.append(" issuerLogoAsset: ").append(toIndentedString(issuerLogoAsset)).append("\n"); + if (iconAsset != null) sb.append(" iconAsset: ").append(toIndentedString(iconAsset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java b/src/main/java/Model/TmsCardArtBrandLogoAsset.java similarity index 65% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java rename to src/main/java/Model/TmsCardArtBrandLogoAsset.java index d5c90506a..bfa2888e5 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java +++ b/src/main/java/Model/TmsCardArtBrandLogoAsset.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks; +import Model.TmsCardArtBrandLogoAssetLinks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,26 +26,36 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtCombinedAsset + * Brand logo card art asset associated with the tokenized card. */ +@ApiModel(description = "Brand logo card art asset associated with the tokenized card. ") -public class Tmsv2TokenizedCardMetadataCardArtCombinedAsset { +public class TmsCardArtBrandLogoAsset { @SerializedName("id") private String id = null; @SerializedName("_links") - private Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks links = null; + private TmsCardArtBrandLogoAssetLinks links = null; + + public TmsCardArtBrandLogoAsset id(String id) { + this.id = id; + return this; + } /** - * The Id of the combined asset. + * Unique identifier for the asset * @return id **/ - @ApiModelProperty(value = "The Id of the combined asset. ") + @ApiModelProperty(value = "Unique identifier for the asset ") public String getId() { return id; } - public Tmsv2TokenizedCardMetadataCardArtCombinedAsset links(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks links) { + public void setId(String id) { + this.id = id; + } + + public TmsCardArtBrandLogoAsset links(TmsCardArtBrandLogoAssetLinks links) { this.links = links; return this; } @@ -55,11 +65,11 @@ public Tmsv2TokenizedCardMetadataCardArtCombinedAsset links(Tmsv2TokenizedCardMe * @return links **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks getLinks() { + public TmsCardArtBrandLogoAssetLinks getLinks() { return links; } - public void setLinks(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks links) { + public void setLinks(TmsCardArtBrandLogoAssetLinks links) { this.links = links; } @@ -72,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtCombinedAsset tmsv2TokenizedCardMetadataCardArtCombinedAsset = (Tmsv2TokenizedCardMetadataCardArtCombinedAsset) o; - return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtCombinedAsset.id) && - Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtCombinedAsset.links); + TmsCardArtBrandLogoAsset tmsCardArtBrandLogoAsset = (TmsCardArtBrandLogoAsset) o; + return Objects.equals(this.id, tmsCardArtBrandLogoAsset.id) && + Objects.equals(this.links, tmsCardArtBrandLogoAsset.links); } @Override @@ -86,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAsset {\n"); + sb.append("class TmsCardArtBrandLogoAsset {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java b/src/main/java/Model/TmsCardArtBrandLogoAssetLinks.java similarity index 67% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java rename to src/main/java/Model/TmsCardArtBrandLogoAssetLinks.java index 17c9d8bd4..85217fee8 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java +++ b/src/main/java/Model/TmsCardArtBrandLogoAssetLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf; +import Model.TmsCardArtBrandLogoAssetLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +26,14 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + * TmsCardArtBrandLogoAssetLinks */ -public class Tmsv2TokenizedCardMetadataCardArtIconAssetLinks { +public class TmsCardArtBrandLogoAssetLinks { @SerializedName("self") - private Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf self = null; + private TmsCardArtBrandLogoAssetLinksSelf self = null; - public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks self(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf self) { + public TmsCardArtBrandLogoAssetLinks self(TmsCardArtBrandLogoAssetLinksSelf self) { this.self = self; return this; } @@ -43,11 +43,11 @@ public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks self(Tmsv2TokenizedCardMe * @return self **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf getSelf() { + public TmsCardArtBrandLogoAssetLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf self) { + public void setSelf(TmsCardArtBrandLogoAssetLinksSelf self) { this.self = self; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtIconAssetLinks tmsv2TokenizedCardMetadataCardArtIconAssetLinks = (Tmsv2TokenizedCardMetadataCardArtIconAssetLinks) o; - return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtIconAssetLinks.self); + TmsCardArtBrandLogoAssetLinks tmsCardArtBrandLogoAssetLinks = (TmsCardArtBrandLogoAssetLinks) o; + return Objects.equals(this.self, tmsCardArtBrandLogoAssetLinks.self); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinks {\n"); + sb.append("class TmsCardArtBrandLogoAssetLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java b/src/main/java/Model/TmsCardArtBrandLogoAssetLinksSelf.java similarity index 74% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java rename to src/main/java/Model/TmsCardArtBrandLogoAssetLinksSelf.java index 6236cf3be..f1414ac8d 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java +++ b/src/main/java/Model/TmsCardArtBrandLogoAssetLinksSelf.java @@ -25,18 +25,18 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + * TmsCardArtBrandLogoAssetLinksSelf */ -public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf { +public class TmsCardArtBrandLogoAssetLinksSelf { @SerializedName("href") private String href = null; /** - * Link to the combined asset. + * Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo' * @return href **/ - @ApiModelProperty(value = "Link to the combined asset. ") + @ApiModelProperty(value = "Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo' ") public String getHref() { return href; } @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf) o; - return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.href); + TmsCardArtBrandLogoAssetLinksSelf tmsCardArtBrandLogoAssetLinksSelf = (TmsCardArtBrandLogoAssetLinksSelf) o; + return Objects.equals(this.href, tmsCardArtBrandLogoAssetLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf {\n"); + sb.append("class TmsCardArtBrandLogoAssetLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java b/src/main/java/Model/TmsCardArtCombinedAsset.java similarity index 65% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java rename to src/main/java/Model/TmsCardArtCombinedAsset.java index 52a179726..287d9ec9b 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java +++ b/src/main/java/Model/TmsCardArtCombinedAsset.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks; +import Model.TmsCardArtCombinedAssetLinks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,26 +26,36 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + * Combined card art asset associated with the tokenized card. */ +@ApiModel(description = "Combined card art asset associated with the tokenized card. ") -public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset { +public class TmsCardArtCombinedAsset { @SerializedName("id") private String id = null; @SerializedName("_links") - private Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks links = null; + private TmsCardArtCombinedAssetLinks links = null; + + public TmsCardArtCombinedAsset id(String id) { + this.id = id; + return this; + } /** - * The Id of the brand logo asset. + * Unique identifier for the asset * @return id **/ - @ApiModelProperty(value = "The Id of the brand logo asset. ") + @ApiModelProperty(value = "Unique identifier for the asset ") public String getId() { return id; } - public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset links(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks links) { + public void setId(String id) { + this.id = id; + } + + public TmsCardArtCombinedAsset links(TmsCardArtCombinedAssetLinks links) { this.links = links; return this; } @@ -55,11 +65,11 @@ public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset links(Tmsv2TokenizedCardM * @return links **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks getLinks() { + public TmsCardArtCombinedAssetLinks getLinks() { return links; } - public void setLinks(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks links) { + public void setLinks(TmsCardArtCombinedAssetLinks links) { this.links = links; } @@ -72,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset tmsv2TokenizedCardMetadataCardArtBrandLogoAsset = (Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset) o; - return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.id) && - Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.links); + TmsCardArtCombinedAsset tmsCardArtCombinedAsset = (TmsCardArtCombinedAsset) o; + return Objects.equals(this.id, tmsCardArtCombinedAsset.id) && + Objects.equals(this.links, tmsCardArtCombinedAsset.links); } @Override @@ -86,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset {\n"); + sb.append("class TmsCardArtCombinedAsset {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java b/src/main/java/Model/TmsCardArtCombinedAssetLinks.java similarity index 66% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java rename to src/main/java/Model/TmsCardArtCombinedAssetLinks.java index 1e80ed186..9241a741f 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java +++ b/src/main/java/Model/TmsCardArtCombinedAssetLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf; +import Model.TmsCardArtCombinedAssetLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +26,14 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + * TmsCardArtCombinedAssetLinks */ -public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks { +public class TmsCardArtCombinedAssetLinks { @SerializedName("self") - private Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf self = null; + private TmsCardArtCombinedAssetLinksSelf self = null; - public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks self(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf self) { + public TmsCardArtCombinedAssetLinks self(TmsCardArtCombinedAssetLinksSelf self) { this.self = self; return this; } @@ -43,11 +43,11 @@ public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks self(Tmsv2TokenizedCa * @return self **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf getSelf() { + public TmsCardArtCombinedAssetLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf self) { + public void setSelf(TmsCardArtCombinedAssetLinksSelf self) { this.self = self; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks = (Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks) o; - return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.self); + TmsCardArtCombinedAssetLinks tmsCardArtCombinedAssetLinks = (TmsCardArtCombinedAssetLinks) o; + return Objects.equals(this.self, tmsCardArtCombinedAssetLinks.self); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks {\n"); + sb.append("class TmsCardArtCombinedAssetLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java b/src/main/java/Model/TmsCardArtCombinedAssetLinksSelf.java similarity index 74% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java rename to src/main/java/Model/TmsCardArtCombinedAssetLinksSelf.java index 5af3b19fb..7f99705c7 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java +++ b/src/main/java/Model/TmsCardArtCombinedAssetLinksSelf.java @@ -25,18 +25,18 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + * TmsCardArtCombinedAssetLinksSelf */ -public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf { +public class TmsCardArtCombinedAssetLinksSelf { @SerializedName("href") private String href = null; /** - * Link to the brand logo asset. + * Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined' * @return href **/ - @ApiModelProperty(value = "Link to the brand logo asset. ") + @ApiModelProperty(value = "Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined' ") public String getHref() { return href; } @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf) o; - return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.href); + TmsCardArtCombinedAssetLinksSelf tmsCardArtCombinedAssetLinksSelf = (TmsCardArtCombinedAssetLinksSelf) o; + return Objects.equals(this.href, tmsCardArtCombinedAssetLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf {\n"); + sb.append("class TmsCardArtCombinedAssetLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java b/src/main/java/Model/TmsCardArtIconAsset.java similarity index 67% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java rename to src/main/java/Model/TmsCardArtIconAsset.java index 7f9fd3d09..8df2bc7e8 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java +++ b/src/main/java/Model/TmsCardArtIconAsset.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtIconAssetLinks; +import Model.TmsCardArtIconAssetLinks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,26 +26,36 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtIconAsset + * Icon card art asset associated with the tokenized card. */ +@ApiModel(description = "Icon card art asset associated with the tokenized card. ") -public class Tmsv2TokenizedCardMetadataCardArtIconAsset { +public class TmsCardArtIconAsset { @SerializedName("id") private String id = null; @SerializedName("_links") - private Tmsv2TokenizedCardMetadataCardArtIconAssetLinks links = null; + private TmsCardArtIconAssetLinks links = null; + + public TmsCardArtIconAsset id(String id) { + this.id = id; + return this; + } /** - * The Id of the icon asset. + * Unique identifier for the asset * @return id **/ - @ApiModelProperty(value = "The Id of the icon asset. ") + @ApiModelProperty(value = "Unique identifier for the asset ") public String getId() { return id; } - public Tmsv2TokenizedCardMetadataCardArtIconAsset links(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks links) { + public void setId(String id) { + this.id = id; + } + + public TmsCardArtIconAsset links(TmsCardArtIconAssetLinks links) { this.links = links; return this; } @@ -55,11 +65,11 @@ public Tmsv2TokenizedCardMetadataCardArtIconAsset links(Tmsv2TokenizedCardMetada * @return links **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks getLinks() { + public TmsCardArtIconAssetLinks getLinks() { return links; } - public void setLinks(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks links) { + public void setLinks(TmsCardArtIconAssetLinks links) { this.links = links; } @@ -72,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtIconAsset tmsv2TokenizedCardMetadataCardArtIconAsset = (Tmsv2TokenizedCardMetadataCardArtIconAsset) o; - return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtIconAsset.id) && - Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtIconAsset.links); + TmsCardArtIconAsset tmsCardArtIconAsset = (TmsCardArtIconAsset) o; + return Objects.equals(this.id, tmsCardArtIconAsset.id) && + Objects.equals(this.links, tmsCardArtIconAsset.links); } @Override @@ -86,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAsset {\n"); + sb.append("class TmsCardArtIconAsset {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java b/src/main/java/Model/TmsCardArtIconAssetLinks.java similarity index 65% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java rename to src/main/java/Model/TmsCardArtIconAssetLinks.java index de9a03545..36fd89aaf 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java +++ b/src/main/java/Model/TmsCardArtIconAssetLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf; +import Model.TmsCardArtIconAssetLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +26,14 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + * TmsCardArtIconAssetLinks */ -public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks { +public class TmsCardArtIconAssetLinks { @SerializedName("self") - private Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf self = null; + private TmsCardArtIconAssetLinksSelf self = null; - public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks self(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf self) { + public TmsCardArtIconAssetLinks self(TmsCardArtIconAssetLinksSelf self) { this.self = self; return this; } @@ -43,11 +43,11 @@ public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks self(Tmsv2TokenizedC * @return self **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf getSelf() { + public TmsCardArtIconAssetLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf self) { + public void setSelf(TmsCardArtIconAssetLinksSelf self) { this.self = self; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks = (Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks) o; - return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.self); + TmsCardArtIconAssetLinks tmsCardArtIconAssetLinks = (TmsCardArtIconAssetLinks) o; + return Objects.equals(this.self, tmsCardArtIconAssetLinks.self); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks {\n"); + sb.append("class TmsCardArtIconAssetLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java b/src/main/java/Model/TmsCardArtIconAssetLinksSelf.java similarity index 75% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java rename to src/main/java/Model/TmsCardArtIconAssetLinksSelf.java index 80b1a9448..dbc749d89 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java +++ b/src/main/java/Model/TmsCardArtIconAssetLinksSelf.java @@ -25,18 +25,18 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + * TmsCardArtIconAssetLinksSelf */ -public class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf { +public class TmsCardArtIconAssetLinksSelf { @SerializedName("href") private String href = null; /** - * Link to the icon asset. + * Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/icon' * @return href **/ - @ApiModelProperty(value = "Link to the icon asset. ") + @ApiModelProperty(value = "Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/icon' ") public String getHref() { return href; } @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf) o; - return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.href); + TmsCardArtIconAssetLinksSelf tmsCardArtIconAssetLinksSelf = (TmsCardArtIconAssetLinksSelf) o; + return Objects.equals(this.href, tmsCardArtIconAssetLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf {\n"); + sb.append("class TmsCardArtIconAssetLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java b/src/main/java/Model/TmsCardArtIssuerLogoAsset.java similarity index 65% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java rename to src/main/java/Model/TmsCardArtIssuerLogoAsset.java index 8987d893e..203cd219b 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java +++ b/src/main/java/Model/TmsCardArtIssuerLogoAsset.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks; +import Model.TmsCardArtIssuerLogoAssetLinks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,26 +26,36 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + * Issuer logo card art asset associated with the tokenized card. */ +@ApiModel(description = "Issuer logo card art asset associated with the tokenized card. ") -public class Tmsv2TokenizedCardMetadataCardArtBackgroundAsset { +public class TmsCardArtIssuerLogoAsset { @SerializedName("id") private String id = null; @SerializedName("_links") - private Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks links = null; + private TmsCardArtIssuerLogoAssetLinks links = null; + + public TmsCardArtIssuerLogoAsset id(String id) { + this.id = id; + return this; + } /** - * The Id of the icon asset. + * Unique identifier for the asset * @return id **/ - @ApiModelProperty(value = "The Id of the icon asset. ") + @ApiModelProperty(value = "Unique identifier for the asset ") public String getId() { return id; } - public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset links(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks links) { + public void setId(String id) { + this.id = id; + } + + public TmsCardArtIssuerLogoAsset links(TmsCardArtIssuerLogoAssetLinks links) { this.links = links; return this; } @@ -55,11 +65,11 @@ public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset links(Tmsv2TokenizedCard * @return links **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks getLinks() { + public TmsCardArtIssuerLogoAssetLinks getLinks() { return links; } - public void setLinks(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks links) { + public void setLinks(TmsCardArtIssuerLogoAssetLinks links) { this.links = links; } @@ -72,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtBackgroundAsset tmsv2TokenizedCardMetadataCardArtBackgroundAsset = (Tmsv2TokenizedCardMetadataCardArtBackgroundAsset) o; - return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtBackgroundAsset.id) && - Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtBackgroundAsset.links); + TmsCardArtIssuerLogoAsset tmsCardArtIssuerLogoAsset = (TmsCardArtIssuerLogoAsset) o; + return Objects.equals(this.id, tmsCardArtIssuerLogoAsset.id) && + Objects.equals(this.links, tmsCardArtIssuerLogoAsset.links); } @Override @@ -86,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAsset {\n"); + sb.append("class TmsCardArtIssuerLogoAsset {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java b/src/main/java/Model/TmsCardArtIssuerLogoAssetLinks.java similarity index 66% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java rename to src/main/java/Model/TmsCardArtIssuerLogoAssetLinks.java index 639ccfeda..0c3bb80c0 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java +++ b/src/main/java/Model/TmsCardArtIssuerLogoAssetLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf; +import Model.TmsCardArtIssuerLogoAssetLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +26,14 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + * TmsCardArtIssuerLogoAssetLinks */ -public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks { +public class TmsCardArtIssuerLogoAssetLinks { @SerializedName("self") - private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf self = null; + private TmsCardArtIssuerLogoAssetLinksSelf self = null; - public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks self(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf self) { + public TmsCardArtIssuerLogoAssetLinks self(TmsCardArtIssuerLogoAssetLinksSelf self) { this.self = self; return this; } @@ -43,11 +43,11 @@ public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks self(Tmsv2Tokenized * @return self **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf getSelf() { + public TmsCardArtIssuerLogoAssetLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf self) { + public void setSelf(TmsCardArtIssuerLogoAssetLinksSelf self) { this.self = self; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks = (Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks) o; - return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.self); + TmsCardArtIssuerLogoAssetLinks tmsCardArtIssuerLogoAssetLinks = (TmsCardArtIssuerLogoAssetLinks) o; + return Objects.equals(this.self, tmsCardArtIssuerLogoAssetLinks.self); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks {\n"); + sb.append("class TmsCardArtIssuerLogoAssetLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java b/src/main/java/Model/TmsCardArtIssuerLogoAssetLinksSelf.java similarity index 73% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java rename to src/main/java/Model/TmsCardArtIssuerLogoAssetLinksSelf.java index 10be9d056..e0da03edb 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java +++ b/src/main/java/Model/TmsCardArtIssuerLogoAssetLinksSelf.java @@ -25,18 +25,18 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + * TmsCardArtIssuerLogoAssetLinksSelf */ -public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf { +public class TmsCardArtIssuerLogoAssetLinksSelf { @SerializedName("href") private String href = null; /** - * Link to the background asset. + * Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo' * @return href **/ - @ApiModelProperty(value = "Link to the background asset. ") + @ApiModelProperty(value = "Link to the card art asset. example: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo' ") public String getHref() { return href; } @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf) o; - return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.href); + TmsCardArtIssuerLogoAssetLinksSelf tmsCardArtIssuerLogoAssetLinksSelf = (TmsCardArtIssuerLogoAssetLinksSelf) o; + return Objects.equals(this.href, tmsCardArtIssuerLogoAssetLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf {\n"); + sb.append("class TmsCardArtIssuerLogoAssetLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java index 0ada3118a..3800ab6fb 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java @@ -19,6 +19,7 @@ import Model.TmsEmbeddedInstrumentIdentifierBankAccount; import Model.TmsEmbeddedInstrumentIdentifierBillTo; import Model.TmsEmbeddedInstrumentIdentifierCard; +import Model.TmsEmbeddedInstrumentIdentifierEmbedded; import Model.TmsEmbeddedInstrumentIdentifierIssuer; import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; @@ -77,6 +78,9 @@ public class TmsEmbeddedInstrumentIdentifier { @SerializedName("metadata") private TmsEmbeddedInstrumentIdentifierMetadata metadata = null; + @SerializedName("_embedded") + private TmsEmbeddedInstrumentIdentifierEmbedded embedded = null; + public TmsEmbeddedInstrumentIdentifier links(TmsEmbeddedInstrumentIdentifierLinks links) { this.links = links; return this; @@ -293,6 +297,24 @@ public void setMetadata(TmsEmbeddedInstrumentIdentifierMetadata metadata) { this.metadata = metadata; } + public TmsEmbeddedInstrumentIdentifier embedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + return this; + } + + /** + * Get embedded + * @return embedded + **/ + @ApiModelProperty(value = "") + public TmsEmbeddedInstrumentIdentifierEmbedded getEmbedded() { + return embedded; + } + + public void setEmbedded(TmsEmbeddedInstrumentIdentifierEmbedded embedded) { + this.embedded = embedded; + } + @Override public boolean equals(java.lang.Object o) { @@ -315,12 +337,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.issuer, tmsEmbeddedInstrumentIdentifier.issuer) && Objects.equals(this.processingInformation, tmsEmbeddedInstrumentIdentifier.processingInformation) && Objects.equals(this.billTo, tmsEmbeddedInstrumentIdentifier.billTo) && - Objects.equals(this.metadata, tmsEmbeddedInstrumentIdentifier.metadata); + Objects.equals(this.metadata, tmsEmbeddedInstrumentIdentifier.metadata) && + Objects.equals(this.embedded, tmsEmbeddedInstrumentIdentifier.embedded); } @Override public int hashCode() { - return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata); + return Objects.hash(links, id, object, state, type, tokenProvisioningInformation, card, bankAccount, tokenizedCard, issuer, processingInformation, billTo, metadata, embedded); } @@ -342,6 +365,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java index 20acb87ea..eeb9bc79a 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierBankAccount.java @@ -59,10 +59,10 @@ public TmsEmbeddedInstrumentIdentifierBankAccount routingNumber(String routingNu } /** - * Bank routing number. This is also called the transit number. + * Bank routing number. This is also called the transit number. # For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) * @return routingNumber **/ - @ApiModelProperty(value = "Bank routing number. This is also called the transit number. ") + @ApiModelProperty(value = "Bank routing number. This is also called the transit number. # For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) ") public String getRoutingNumber() { return routingNumber; } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierEmbedded.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierEmbedded.java new file mode 100644 index 000000000..5eed4ec5c --- /dev/null +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifierEmbedded.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.TmsBinLookup; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * TmsEmbeddedInstrumentIdentifierEmbedded + */ + +public class TmsEmbeddedInstrumentIdentifierEmbedded { + @SerializedName("binLookup") + private TmsBinLookup binLookup = null; + + public TmsEmbeddedInstrumentIdentifierEmbedded binLookup(TmsBinLookup binLookup) { + this.binLookup = binLookup; + return this; + } + + /** + * Get binLookup + * @return binLookup + **/ + @ApiModelProperty(value = "") + public TmsBinLookup getBinLookup() { + return binLookup; + } + + public void setBinLookup(TmsBinLookup binLookup) { + this.binLookup = binLookup; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TmsEmbeddedInstrumentIdentifierEmbedded tmsEmbeddedInstrumentIdentifierEmbedded = (TmsEmbeddedInstrumentIdentifierEmbedded) o; + return Objects.equals(this.binLookup, tmsEmbeddedInstrumentIdentifierEmbedded.binLookup); + } + + @Override + public int hashCode() { + return Objects.hash(binLookup); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TmsEmbeddedInstrumentIdentifierEmbedded {\n"); + + if (binLookup != null) sb.append(" binLookup: ").append(toIndentedString(binLookup)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java b/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java index b96ef0538..4df3b7028 100644 --- a/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java +++ b/src/main/java/Model/TmsPaymentInstrumentProcessingInfo.java @@ -42,10 +42,10 @@ public TmsPaymentInstrumentProcessingInfo billPaymentProgramEnabled(Boolean bill } /** - * Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. + * Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. # For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) * @return billPaymentProgramEnabled **/ - @ApiModelProperty(value = "Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. ") + @ApiModelProperty(value = "Flag that indicates that this is a payment for a bill or for an existing contractual loan. Possible Values: - `true`: Bill payment or loan payment. - `false` (default): Not a bill payment or loan payment. # For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) ") public Boolean BillPaymentProgramEnabled() { return billPaymentProgramEnabled; } diff --git a/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java b/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java index 8cbefa306..ff75fd062 100644 --- a/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java +++ b/src/main/java/Model/TmsPaymentInstrumentProcessingInfoBankTransferOptions.java @@ -38,10 +38,10 @@ public TmsPaymentInstrumentProcessingInfoBankTransferOptions seCCode(String seCC } /** - * Specifies the authorization method for the transaction. #### TeleCheck Possible Values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry + * Specifies the authorization method for the transaction. #### TeleCheck Possible Values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry # For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) * @return seCCode **/ - @ApiModelProperty(value = "Specifies the authorization method for the transaction. #### TeleCheck Possible Values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry ") + @ApiModelProperty(value = "Specifies the authorization method for the transaction. #### TeleCheck Possible Values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry # For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) ") public String getSeCCode() { return seCCode; } diff --git a/src/main/java/Model/Tmsv2TokenizedCard.java b/src/main/java/Model/Tmsv2TokenizedCard.java index 32ebc925d..670fbe132 100644 --- a/src/main/java/Model/Tmsv2TokenizedCard.java +++ b/src/main/java/Model/Tmsv2TokenizedCard.java @@ -16,7 +16,9 @@ import java.util.Objects; import java.util.Arrays; import Model.Tmsv2TokenizedCardCard; +import Model.Tmsv2TokenizedCardLinks; import Model.Tmsv2TokenizedCardMetadata; +import Model.Tmsv2TokenizedCardPasscode; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -31,8 +33,23 @@ */ public class Tmsv2TokenizedCard { - @SerializedName("type") - private String type = null; + @SerializedName("_links") + private Tmsv2TokenizedCardLinks links = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("object") + private String object = null; + + @SerializedName("accountReferenceId") + private String accountReferenceId = null; + + @SerializedName("consumerId") + private String consumerId = null; + + @SerializedName("createInstrumentIdentifier") + private Boolean createInstrumentIdentifier = null; @SerializedName("source") private String source = null; @@ -40,76 +57,157 @@ public class Tmsv2TokenizedCard { @SerializedName("state") private String state = null; - @SerializedName("enrollmentId") - private String enrollmentId = null; - - @SerializedName("tokenReferenceId") - private String tokenReferenceId = null; - @SerializedName("reason") private String reason = null; @SerializedName("number") private String number = null; - @SerializedName("expirationMonth") - private String expirationMonth = null; - - @SerializedName("expirationYear") - private String expirationYear = null; - @SerializedName("cryptogram") private String cryptogram = null; + @SerializedName("securityCode") + private String securityCode = null; + + @SerializedName("eci") + private String eci = null; + + @SerializedName("requestorId") + private String requestorId = null; + + @SerializedName("enrollmentId") + private String enrollmentId = null; + + @SerializedName("tokenReferenceId") + private String tokenReferenceId = null; + + @SerializedName("paymentAccountReference") + private String paymentAccountReference = null; + @SerializedName("card") private Tmsv2TokenizedCardCard card = null; + @SerializedName("passcode") + private Tmsv2TokenizedCardPasscode passcode = null; + @SerializedName("metadata") private Tmsv2TokenizedCardMetadata metadata = null; + public Tmsv2TokenizedCard links(Tmsv2TokenizedCardLinks links) { + this.links = links; + return this; + } + /** - * The network token card association brand Possible Values: - visa - mastercard - americanexpress - * @return type + * Get links + * @return links **/ - @ApiModelProperty(example = "visa", value = "The network token card association brand Possible Values: - visa - mastercard - americanexpress ") - public String getType() { - return type; + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardLinks links) { + this.links = links; } /** - * This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data. Possible Values: - TOKEN - ISSUER - ONFILE - * @return source + * The Id of the Tokenized Card. + * @return id **/ - @ApiModelProperty(example = "ONFILE", value = "This enumeration value indicates the origin of the payment instrument (PAN) and the technique employed to supply the payment instrument data. Possible Values: - TOKEN - ISSUER - ONFILE ") - public String getSource() { - return source; + @ApiModelProperty(value = "The Id of the Tokenized Card. ") + public String getId() { + return id; } /** - * State of the network token or network token provision Possible Values: - ACTIVE : Network token is active. - SUSPENDED : Network token is suspended. This state can change back to ACTIVE. - DELETED : This is a final state for a network token instance. - UNPROVISIONED : A previous network token provision was unsuccessful. - * @return state + * The type. Possible Values: - tokenizedCard + * @return object **/ - @ApiModelProperty(example = "ACTIVE", value = "State of the network token or network token provision Possible Values: - ACTIVE : Network token is active. - SUSPENDED : Network token is suspended. This state can change back to ACTIVE. - DELETED : This is a final state for a network token instance. - UNPROVISIONED : A previous network token provision was unsuccessful. ") - public String getState() { - return state; + @ApiModelProperty(example = "tokenizedCard", value = "The type. Possible Values: - tokenizedCard ") + public String getObject() { + return object; + } + + public Tmsv2TokenizedCard accountReferenceId(String accountReferenceId) { + this.accountReferenceId = accountReferenceId; + return this; } /** - * Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully. - * @return enrollmentId + * An identifier provided by the issuer for the account. + * @return accountReferenceId **/ - @ApiModelProperty(value = "Unique Identifier for the enrolled PAN. This Id is provided by the card association when a network token is provisioned successfully. ") - public String getEnrollmentId() { - return enrollmentId; + @ApiModelProperty(value = "An identifier provided by the issuer for the account. ") + public String getAccountReferenceId() { + return accountReferenceId; + } + + public void setAccountReferenceId(String accountReferenceId) { + this.accountReferenceId = accountReferenceId; + } + + public Tmsv2TokenizedCard consumerId(String consumerId) { + this.consumerId = consumerId; + return this; } /** - * Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully. - * @return tokenReferenceId + * Identifier of the consumer within the wallet. Maximum 24 characters for VTS. + * @return consumerId **/ - @ApiModelProperty(value = "Unique Identifier for the network token. This Id is provided by the card association when a network token is provisioned successfully. ") - public String getTokenReferenceId() { - return tokenReferenceId; + @ApiModelProperty(value = "Identifier of the consumer within the wallet. Maximum 24 characters for VTS.") + public String getConsumerId() { + return consumerId; + } + + public void setConsumerId(String consumerId) { + this.consumerId = consumerId; + } + + public Tmsv2TokenizedCard createInstrumentIdentifier(Boolean createInstrumentIdentifier) { + this.createInstrumentIdentifier = createInstrumentIdentifier; + return this; + } + + /** + * Specifies whether the InstrumentId should be created (true) or not (false). Possible Values: - `true`: The InstrumentId should be created. - `false`: The InstrumentId should be created. + * @return createInstrumentIdentifier + **/ + @ApiModelProperty(value = "Specifies whether the InstrumentId should be created (true) or not (false). Possible Values: - `true`: The InstrumentId should be created. - `false`: The InstrumentId should be created. ") + public Boolean CreateInstrumentIdentifier() { + return createInstrumentIdentifier; + } + + public void setCreateInstrumentIdentifier(Boolean createInstrumentIdentifier) { + this.createInstrumentIdentifier = createInstrumentIdentifier; + } + + public Tmsv2TokenizedCard source(String source) { + this.source = source; + return this; + } + + /** + * Source of the payment instrument. Possible Values: - ONFILE - TOKEN - ISSUER + * @return source + **/ + @ApiModelProperty(value = "Source of the payment instrument. Possible Values: - ONFILE - TOKEN - ISSUER ") + public String getSource() { + return source; + } + + public void setSource(String source) { + this.source = source; + } + + /** + * State of the network token or network token provision. Possible Values: ACTIVE : Network token is active. SUSPENDED : Network token is suspended. This state can change back to ACTIVE. DELETED : This is a final state for a network token instance. UNPROVISIONED : A previous network token. + * @return state + **/ + @ApiModelProperty(example = "ACTIVE", value = "State of the network token or network token provision. Possible Values: ACTIVE : Network token is active. SUSPENDED : Network token is suspended. This state can change back to ACTIVE. DELETED : This is a final state for a network token instance. UNPROVISIONED : A previous network token. ") + public String getState() { + return state; } /** @@ -122,39 +220,75 @@ public String getReason() { } /** - * The token requestors network token + * The token requestor's network token for the provided PAN and consumer Id, if available. * @return number **/ - @ApiModelProperty(value = "The token requestors network token ") + @ApiModelProperty(value = "The token requestor's network token for the provided PAN and consumer Id, if available. ") public String getNumber() { return number; } /** - * Two-digit month in which the network token expires. Format: `MM`. Possible Values: `01` through `12`. - * @return expirationMonth + * Value generated by the card association to be used alongside the network token for processing a payment. + * @return cryptogram **/ - @ApiModelProperty(value = "Two-digit month in which the network token expires. Format: `MM`. Possible Values: `01` through `12`. ") - public String getExpirationMonth() { - return expirationMonth; + @ApiModelProperty(example = "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=", value = "Value generated by the card association to be used alongside the network token for processing a payment. ") + public String getCryptogram() { + return cryptogram; } /** - * Four-digit year in which the network token expires. Format: `YYYY`. - * @return expirationYear + * 4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF. + * @return securityCode **/ - @ApiModelProperty(value = "Four-digit year in which the network token expires. Format: `YYYY`. ") - public String getExpirationYear() { - return expirationYear; + @ApiModelProperty(example = "4523", value = "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF. ") + public String getSecurityCode() { + return securityCode; } /** - * Generated value used in conjunction with the network token for making a payment. - * @return cryptogram + * Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication. + * @return eci **/ - @ApiModelProperty(example = "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=", value = "Generated value used in conjunction with the network token for making a payment. ") - public String getCryptogram() { - return cryptogram; + @ApiModelProperty(value = "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication. ") + public String getEci() { + return eci; + } + + /** + * 11-digit identifier that uniquely identifies the Token Requestor. + * @return requestorId + **/ + @ApiModelProperty(value = "11-digit identifier that uniquely identifies the Token Requestor. ") + public String getRequestorId() { + return requestorId; + } + + /** + * Unique id to identify this PAN/ enrollment. + * @return enrollmentId + **/ + @ApiModelProperty(value = "Unique id to identify this PAN/ enrollment. ") + public String getEnrollmentId() { + return enrollmentId; + } + + /** + * Unique ID for netwrok token. + * @return tokenReferenceId + **/ + @ApiModelProperty(value = "Unique ID for netwrok token. ") + public String getTokenReferenceId() { + return tokenReferenceId; + } + + /** + * Payment account reference. + * @return paymentAccountReference + **/ + @ApiModelProperty(value = "Payment account reference. ") + public String getPaymentAccountReference() { + return paymentAccountReference; } public Tmsv2TokenizedCard card(Tmsv2TokenizedCardCard card) { @@ -175,6 +309,24 @@ public void setCard(Tmsv2TokenizedCardCard card) { this.card = card; } + public Tmsv2TokenizedCard passcode(Tmsv2TokenizedCardPasscode passcode) { + this.passcode = passcode; + return this; + } + + /** + * Get passcode + * @return passcode + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardPasscode getPasscode() { + return passcode; + } + + public void setPasscode(Tmsv2TokenizedCardPasscode passcode) { + this.passcode = passcode; + } + public Tmsv2TokenizedCard metadata(Tmsv2TokenizedCardMetadata metadata) { this.metadata = metadata; return this; @@ -203,23 +355,31 @@ public boolean equals(java.lang.Object o) { return false; } Tmsv2TokenizedCard tmsv2TokenizedCard = (Tmsv2TokenizedCard) o; - return Objects.equals(this.type, tmsv2TokenizedCard.type) && + return Objects.equals(this.links, tmsv2TokenizedCard.links) && + Objects.equals(this.id, tmsv2TokenizedCard.id) && + Objects.equals(this.object, tmsv2TokenizedCard.object) && + Objects.equals(this.accountReferenceId, tmsv2TokenizedCard.accountReferenceId) && + Objects.equals(this.consumerId, tmsv2TokenizedCard.consumerId) && + Objects.equals(this.createInstrumentIdentifier, tmsv2TokenizedCard.createInstrumentIdentifier) && Objects.equals(this.source, tmsv2TokenizedCard.source) && Objects.equals(this.state, tmsv2TokenizedCard.state) && - Objects.equals(this.enrollmentId, tmsv2TokenizedCard.enrollmentId) && - Objects.equals(this.tokenReferenceId, tmsv2TokenizedCard.tokenReferenceId) && Objects.equals(this.reason, tmsv2TokenizedCard.reason) && Objects.equals(this.number, tmsv2TokenizedCard.number) && - Objects.equals(this.expirationMonth, tmsv2TokenizedCard.expirationMonth) && - Objects.equals(this.expirationYear, tmsv2TokenizedCard.expirationYear) && Objects.equals(this.cryptogram, tmsv2TokenizedCard.cryptogram) && + Objects.equals(this.securityCode, tmsv2TokenizedCard.securityCode) && + Objects.equals(this.eci, tmsv2TokenizedCard.eci) && + Objects.equals(this.requestorId, tmsv2TokenizedCard.requestorId) && + Objects.equals(this.enrollmentId, tmsv2TokenizedCard.enrollmentId) && + Objects.equals(this.tokenReferenceId, tmsv2TokenizedCard.tokenReferenceId) && + Objects.equals(this.paymentAccountReference, tmsv2TokenizedCard.paymentAccountReference) && Objects.equals(this.card, tmsv2TokenizedCard.card) && + Objects.equals(this.passcode, tmsv2TokenizedCard.passcode) && Objects.equals(this.metadata, tmsv2TokenizedCard.metadata); } @Override public int hashCode() { - return Objects.hash(type, source, state, enrollmentId, tokenReferenceId, reason, number, expirationMonth, expirationYear, cryptogram, card, metadata); + return Objects.hash(links, id, object, accountReferenceId, consumerId, createInstrumentIdentifier, source, state, reason, number, cryptogram, securityCode, eci, requestorId, enrollmentId, tokenReferenceId, paymentAccountReference, card, passcode, metadata); } @@ -228,17 +388,25 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCard {\n"); - if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (accountReferenceId != null) sb.append(" accountReferenceId: ").append(toIndentedString(accountReferenceId)).append("\n"); + if (consumerId != null) sb.append(" consumerId: ").append(toIndentedString(consumerId)).append("\n"); + if (createInstrumentIdentifier != null) sb.append(" createInstrumentIdentifier: ").append(toIndentedString(createInstrumentIdentifier)).append("\n"); if (source != null) sb.append(" source: ").append(toIndentedString(source)).append("\n"); if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); - if (enrollmentId != null) sb.append(" enrollmentId: ").append(toIndentedString(enrollmentId)).append("\n"); - if (tokenReferenceId != null) sb.append(" tokenReferenceId: ").append(toIndentedString(tokenReferenceId)).append("\n"); if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); - if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); - if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); if (cryptogram != null) sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); + if (securityCode != null) sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + if (eci != null) sb.append(" eci: ").append(toIndentedString(eci)).append("\n"); + if (requestorId != null) sb.append(" requestorId: ").append(toIndentedString(requestorId)).append("\n"); + if (enrollmentId != null) sb.append(" enrollmentId: ").append(toIndentedString(enrollmentId)).append("\n"); + if (tokenReferenceId != null) sb.append(" tokenReferenceId: ").append(toIndentedString(tokenReferenceId)).append("\n"); + if (paymentAccountReference != null) sb.append(" paymentAccountReference: ").append(toIndentedString(paymentAccountReference)).append("\n"); if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (passcode != null) sb.append(" passcode: ").append(toIndentedString(passcode)).append("\n"); if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/Tmsv2TokenizedCardCard.java b/src/main/java/Model/Tmsv2TokenizedCardCard.java index 880de92dd..b95ce0d9a 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardCard.java +++ b/src/main/java/Model/Tmsv2TokenizedCardCard.java @@ -25,13 +25,13 @@ import java.io.IOException; /** - * The latest card details associated with the network token + * Card object used to create a network token */ -@ApiModel(description = "The latest card details associated with the network token") +@ApiModel(description = "Card object used to create a network token ") public class Tmsv2TokenizedCardCard { - @SerializedName("suffix") - private String suffix = null; + @SerializedName("number") + private String number = null; @SerializedName("expirationMonth") private String expirationMonth = null; @@ -39,33 +39,93 @@ public class Tmsv2TokenizedCardCard { @SerializedName("expirationYear") private String expirationYear = null; + @SerializedName("type") + private String type = null; + + @SerializedName("suffix") + private String suffix = null; + + public Tmsv2TokenizedCardCard number(String number) { + this.number = number; + return this; + } + /** - * The customer's latest payment card number suffix - * @return suffix + * The customer's payment card number, also known as the Primary Account Number (PAN). + * @return number **/ - @ApiModelProperty(example = "1111", value = "The customer's latest payment card number suffix ") - public String getSuffix() { - return suffix; + @ApiModelProperty(value = "The customer's payment card number, also known as the Primary Account Number (PAN). ") + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public Tmsv2TokenizedCardCard expirationMonth(String expirationMonth) { + this.expirationMonth = expirationMonth; + return this; } /** - * Two-digit month in which the customer's latest payment card expires. Format: `MM`. Possible Values: `01` through `12`. + * Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`. * @return expirationMonth **/ - @ApiModelProperty(value = " Two-digit month in which the customer's latest payment card expires. Format: `MM`. Possible Values: `01` through `12`. ") + @ApiModelProperty(value = "Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`. ") public String getExpirationMonth() { return expirationMonth; } + public void setExpirationMonth(String expirationMonth) { + this.expirationMonth = expirationMonth; + } + + public Tmsv2TokenizedCardCard expirationYear(String expirationYear) { + this.expirationYear = expirationYear; + return this; + } + /** - * Four-digit year in which the customer's latest payment card expires. Format: `YYYY`. + * Four-digit year in which the credit card expires. Format: `YYYY`. * @return expirationYear **/ - @ApiModelProperty(value = "Four-digit year in which the customer's latest payment card expires. Format: `YYYY`. ") + @ApiModelProperty(value = "Four-digit year in which the credit card expires. Format: `YYYY`. ") public String getExpirationYear() { return expirationYear; } + public void setExpirationYear(String expirationYear) { + this.expirationYear = expirationYear; + } + + public Tmsv2TokenizedCardCard type(String type) { + this.type = type; + return this; + } + + /** + * The type of card(Card network). Possible Values: 001: visa + * @return type + **/ + @ApiModelProperty(value = "The type of card(Card network). Possible Values: 001: visa ") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + /** + * The customer's latest payment card number suffix. + * @return suffix + **/ + @ApiModelProperty(value = "The customer's latest payment card number suffix. ") + public String getSuffix() { + return suffix; + } + @Override public boolean equals(java.lang.Object o) { @@ -76,14 +136,16 @@ public boolean equals(java.lang.Object o) { return false; } Tmsv2TokenizedCardCard tmsv2TokenizedCardCard = (Tmsv2TokenizedCardCard) o; - return Objects.equals(this.suffix, tmsv2TokenizedCardCard.suffix) && + return Objects.equals(this.number, tmsv2TokenizedCardCard.number) && Objects.equals(this.expirationMonth, tmsv2TokenizedCardCard.expirationMonth) && - Objects.equals(this.expirationYear, tmsv2TokenizedCardCard.expirationYear); + Objects.equals(this.expirationYear, tmsv2TokenizedCardCard.expirationYear) && + Objects.equals(this.type, tmsv2TokenizedCardCard.type) && + Objects.equals(this.suffix, tmsv2TokenizedCardCard.suffix); } @Override public int hashCode() { - return Objects.hash(suffix, expirationMonth, expirationYear); + return Objects.hash(number, expirationMonth, expirationYear, type, suffix); } @@ -92,9 +154,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Tmsv2TokenizedCardCard {\n"); - if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (suffix != null) sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardLinks.java similarity index 65% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java rename to src/main/java/Model/Tmsv2TokenizedCardLinks.java index 4bb41690a..01e78f388 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java +++ b/src/main/java/Model/Tmsv2TokenizedCardLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf; +import Model.Tmsv2TokenizedCardLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +26,14 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + * Tmsv2TokenizedCardLinks */ -public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks { +public class Tmsv2TokenizedCardLinks { @SerializedName("self") - private Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf self = null; + private Tmsv2TokenizedCardLinksSelf self = null; - public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks self(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf self) { + public Tmsv2TokenizedCardLinks self(Tmsv2TokenizedCardLinksSelf self) { this.self = self; return this; } @@ -43,11 +43,11 @@ public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks self(Tmsv2Tokenized * @return self **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf getSelf() { + public Tmsv2TokenizedCardLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf self) { + public void setSelf(Tmsv2TokenizedCardLinksSelf self) { this.self = self; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks = (Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks) o; - return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.self); + Tmsv2TokenizedCardLinks tmsv2TokenizedCardLinks = (Tmsv2TokenizedCardLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardLinks.self); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks {\n"); + sb.append("class Tmsv2TokenizedCardLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardLinksSelf.java new file mode 100644 index 000000000..9d1bc53b2 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardLinksSelf.java @@ -0,0 +1,85 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardLinksSelf + */ + +public class Tmsv2TokenizedCardLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the Tokenized Card. example: 'tms/v2/tokenized-cards/7010000000016241111' + * @return href + **/ + @ApiModelProperty(value = "Link to the Tokenized Card. example: 'tms/v2/tokenized-cards/7010000000016241111' ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardLinksSelf tmsv2TokenizedCardLinksSelf = (Tmsv2TokenizedCardLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardLinksSelf {\n"); + + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadata.java b/src/main/java/Model/Tmsv2TokenizedCardMetadata.java index a239b1bf3..bee7e048a 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadata.java +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadata.java @@ -15,7 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArt; +import Model.TmsCardArt; +import Model.Tmsv2TokenizedCardMetadataIssuer; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +27,18 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadata + * Metadata associated with the tokenized card. */ +@ApiModel(description = "Metadata associated with the tokenized card. ") public class Tmsv2TokenizedCardMetadata { @SerializedName("cardArt") - private Tmsv2TokenizedCardMetadataCardArt cardArt = null; + private TmsCardArt cardArt = null; - public Tmsv2TokenizedCardMetadata cardArt(Tmsv2TokenizedCardMetadataCardArt cardArt) { + @SerializedName("issuer") + private Tmsv2TokenizedCardMetadataIssuer issuer = null; + + public Tmsv2TokenizedCardMetadata cardArt(TmsCardArt cardArt) { this.cardArt = cardArt; return this; } @@ -43,14 +48,32 @@ public Tmsv2TokenizedCardMetadata cardArt(Tmsv2TokenizedCardMetadataCardArt card * @return cardArt **/ @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArt getCardArt() { + public TmsCardArt getCardArt() { return cardArt; } - public void setCardArt(Tmsv2TokenizedCardMetadataCardArt cardArt) { + public void setCardArt(TmsCardArt cardArt) { this.cardArt = cardArt; } + public Tmsv2TokenizedCardMetadata issuer(Tmsv2TokenizedCardMetadataIssuer issuer) { + this.issuer = issuer; + return this; + } + + /** + * Get issuer + * @return issuer + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataIssuer getIssuer() { + return issuer; + } + + public void setIssuer(Tmsv2TokenizedCardMetadataIssuer issuer) { + this.issuer = issuer; + } + @Override public boolean equals(java.lang.Object o) { @@ -61,12 +84,13 @@ public boolean equals(java.lang.Object o) { return false; } Tmsv2TokenizedCardMetadata tmsv2TokenizedCardMetadata = (Tmsv2TokenizedCardMetadata) o; - return Objects.equals(this.cardArt, tmsv2TokenizedCardMetadata.cardArt); + return Objects.equals(this.cardArt, tmsv2TokenizedCardMetadata.cardArt) && + Objects.equals(this.issuer, tmsv2TokenizedCardMetadata.issuer); } @Override public int hashCode() { - return Objects.hash(cardArt); + return Objects.hash(cardArt, issuer); } @@ -76,6 +100,7 @@ public String toString() { sb.append("class Tmsv2TokenizedCardMetadata {\n"); if (cardArt != null) sb.append(" cardArt: ").append(toIndentedString(cardArt)).append("\n"); + if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java deleted file mode 100644 index 5a87eb80d..000000000 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAsset; -import Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset; -import Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset; -import Model.Tmsv2TokenizedCardMetadataCardArtCombinedAsset; -import Model.Tmsv2TokenizedCardMetadataCardArtIconAsset; -import Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Tmsv2TokenizedCardMetadataCardArt - */ - -public class Tmsv2TokenizedCardMetadataCardArt { - @SerializedName("combinedAsset") - private Tmsv2TokenizedCardMetadataCardArtCombinedAsset combinedAsset = null; - - @SerializedName("brandLogoAsset") - private Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset brandLogoAsset = null; - - @SerializedName("coBrandLogoAsset") - private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset coBrandLogoAsset = null; - - @SerializedName("issuerLogoAsset") - private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset issuerLogoAsset = null; - - @SerializedName("iconAsset") - private Tmsv2TokenizedCardMetadataCardArtIconAsset iconAsset = null; - - @SerializedName("foregroundColor") - private String foregroundColor = null; - - @SerializedName("backgroundAsset") - private Tmsv2TokenizedCardMetadataCardArtBackgroundAsset backgroundAsset = null; - - public Tmsv2TokenizedCardMetadataCardArt combinedAsset(Tmsv2TokenizedCardMetadataCardArtCombinedAsset combinedAsset) { - this.combinedAsset = combinedAsset; - return this; - } - - /** - * Get combinedAsset - * @return combinedAsset - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtCombinedAsset getCombinedAsset() { - return combinedAsset; - } - - public void setCombinedAsset(Tmsv2TokenizedCardMetadataCardArtCombinedAsset combinedAsset) { - this.combinedAsset = combinedAsset; - } - - public Tmsv2TokenizedCardMetadataCardArt brandLogoAsset(Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset brandLogoAsset) { - this.brandLogoAsset = brandLogoAsset; - return this; - } - - /** - * Get brandLogoAsset - * @return brandLogoAsset - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset getBrandLogoAsset() { - return brandLogoAsset; - } - - public void setBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset brandLogoAsset) { - this.brandLogoAsset = brandLogoAsset; - } - - public Tmsv2TokenizedCardMetadataCardArt coBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset coBrandLogoAsset) { - this.coBrandLogoAsset = coBrandLogoAsset; - return this; - } - - /** - * Get coBrandLogoAsset - * @return coBrandLogoAsset - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset getCoBrandLogoAsset() { - return coBrandLogoAsset; - } - - public void setCoBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset coBrandLogoAsset) { - this.coBrandLogoAsset = coBrandLogoAsset; - } - - public Tmsv2TokenizedCardMetadataCardArt issuerLogoAsset(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset issuerLogoAsset) { - this.issuerLogoAsset = issuerLogoAsset; - return this; - } - - /** - * Get issuerLogoAsset - * @return issuerLogoAsset - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset getIssuerLogoAsset() { - return issuerLogoAsset; - } - - public void setIssuerLogoAsset(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset issuerLogoAsset) { - this.issuerLogoAsset = issuerLogoAsset; - } - - public Tmsv2TokenizedCardMetadataCardArt iconAsset(Tmsv2TokenizedCardMetadataCardArtIconAsset iconAsset) { - this.iconAsset = iconAsset; - return this; - } - - /** - * Get iconAsset - * @return iconAsset - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtIconAsset getIconAsset() { - return iconAsset; - } - - public void setIconAsset(Tmsv2TokenizedCardMetadataCardArtIconAsset iconAsset) { - this.iconAsset = iconAsset; - } - - /** - * The foreground color of the brand logo asset. - * @return foregroundColor - **/ - @ApiModelProperty(value = "The foreground color of the brand logo asset. ") - public String getForegroundColor() { - return foregroundColor; - } - - public Tmsv2TokenizedCardMetadataCardArt backgroundAsset(Tmsv2TokenizedCardMetadataCardArtBackgroundAsset backgroundAsset) { - this.backgroundAsset = backgroundAsset; - return this; - } - - /** - * Get backgroundAsset - * @return backgroundAsset - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset getBackgroundAsset() { - return backgroundAsset; - } - - public void setBackgroundAsset(Tmsv2TokenizedCardMetadataCardArtBackgroundAsset backgroundAsset) { - this.backgroundAsset = backgroundAsset; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Tmsv2TokenizedCardMetadataCardArt tmsv2TokenizedCardMetadataCardArt = (Tmsv2TokenizedCardMetadataCardArt) o; - return Objects.equals(this.combinedAsset, tmsv2TokenizedCardMetadataCardArt.combinedAsset) && - Objects.equals(this.brandLogoAsset, tmsv2TokenizedCardMetadataCardArt.brandLogoAsset) && - Objects.equals(this.coBrandLogoAsset, tmsv2TokenizedCardMetadataCardArt.coBrandLogoAsset) && - Objects.equals(this.issuerLogoAsset, tmsv2TokenizedCardMetadataCardArt.issuerLogoAsset) && - Objects.equals(this.iconAsset, tmsv2TokenizedCardMetadataCardArt.iconAsset) && - Objects.equals(this.foregroundColor, tmsv2TokenizedCardMetadataCardArt.foregroundColor) && - Objects.equals(this.backgroundAsset, tmsv2TokenizedCardMetadataCardArt.backgroundAsset); - } - - @Override - public int hashCode() { - return Objects.hash(combinedAsset, brandLogoAsset, coBrandLogoAsset, issuerLogoAsset, iconAsset, foregroundColor, backgroundAsset); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArt {\n"); - - if (combinedAsset != null) sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); - if (brandLogoAsset != null) sb.append(" brandLogoAsset: ").append(toIndentedString(brandLogoAsset)).append("\n"); - if (coBrandLogoAsset != null) sb.append(" coBrandLogoAsset: ").append(toIndentedString(coBrandLogoAsset)).append("\n"); - if (issuerLogoAsset != null) sb.append(" issuerLogoAsset: ").append(toIndentedString(issuerLogoAsset)).append("\n"); - if (iconAsset != null) sb.append(" iconAsset: ").append(toIndentedString(iconAsset)).append("\n"); - if (foregroundColor != null) sb.append(" foregroundColor: ").append(toIndentedString(foregroundColor)).append("\n"); - if (backgroundAsset != null) sb.append(" backgroundAsset: ").append(toIndentedString(backgroundAsset)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java deleted file mode 100644 index 84d4ba8c0..000000000 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset - */ - -public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset { - @SerializedName("id") - private String id = null; - - @SerializedName("_links") - private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks links = null; - - /** - * The Id of the co-brand logo asset. - * @return id - **/ - @ApiModelProperty(value = "The Id of the co-brand logo asset. ") - public String getId() { - return id; - } - - public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset links(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks links) { - this.links = links; - return this; - } - - /** - * Get links - * @return links - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks getLinks() { - return links; - } - - public void setLinks(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks links) { - this.links = links; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset = (Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset) o; - return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.id) && - Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.links); - } - - @Override - public int hashCode() { - return Objects.hash(id, links); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset {\n"); - - if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); - if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java deleted file mode 100644 index 21a42aa87..000000000 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset - */ - -public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset { - @SerializedName("id") - private String id = null; - - @SerializedName("_links") - private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks links = null; - - /** - * The Id of the issuer logo asset. - * @return id - **/ - @ApiModelProperty(value = "The Id of the issuer logo asset. ") - public String getId() { - return id; - } - - public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset links(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks links) { - this.links = links; - return this; - } - - /** - * Get links - * @return links - **/ - @ApiModelProperty(value = "") - public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks getLinks() { - return links; - } - - public void setLinks(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks links) { - this.links = links; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset = (Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset) o; - return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.id) && - Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.links); - } - - @Override - public int hashCode() { - return Objects.hash(id, links); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset {\n"); - - if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); - if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java deleted file mode 100644 index 92f2a0da3..000000000 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf - */ - -public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf { - @SerializedName("href") - private String href = null; - - /** - * Link to the issuer logo asset. - * @return href - **/ - @ApiModelProperty(value = "Link to the issuer logo asset. ") - public String getHref() { - return href; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf) o; - return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.href); - } - - @Override - public int hashCode() { - return Objects.hash(href); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf {\n"); - - if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataIssuer.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataIssuer.java new file mode 100644 index 000000000..2e3a46829 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataIssuer.java @@ -0,0 +1,114 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Issuer associated with the tokenized card. + */ +@ApiModel(description = "Issuer associated with the tokenized card. ") + +public class Tmsv2TokenizedCardMetadataIssuer { + @SerializedName("name") + private String name = null; + + @SerializedName("shortDescription") + private String shortDescription = null; + + @SerializedName("longDescription") + private String longDescription = null; + + /** + * issuer name. + * @return name + **/ + @ApiModelProperty(value = "issuer name. ") + public String getName() { + return name; + } + + /** + * issuer short description. + * @return shortDescription + **/ + @ApiModelProperty(value = "issuer short description. ") + public String getShortDescription() { + return shortDescription; + } + + /** + * issuer long description. + * @return longDescription + **/ + @ApiModelProperty(value = "issuer long description. ") + public String getLongDescription() { + return longDescription; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataIssuer tmsv2TokenizedCardMetadataIssuer = (Tmsv2TokenizedCardMetadataIssuer) o; + return Objects.equals(this.name, tmsv2TokenizedCardMetadataIssuer.name) && + Objects.equals(this.shortDescription, tmsv2TokenizedCardMetadataIssuer.shortDescription) && + Objects.equals(this.longDescription, tmsv2TokenizedCardMetadataIssuer.longDescription); + } + + @Override + public int hashCode() { + return Objects.hash(name, shortDescription, longDescription); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataIssuer {\n"); + + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (shortDescription != null) sb.append(" shortDescription: ").append(toIndentedString(shortDescription)).append("\n"); + if (longDescription != null) sb.append(" longDescription: ").append(toIndentedString(longDescription)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardPasscode.java similarity index 62% rename from src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java rename to src/main/java/Model/Tmsv2TokenizedCardPasscode.java index 953c0fae3..a0b7babb6 100644 --- a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java +++ b/src/main/java/Model/Tmsv2TokenizedCardPasscode.java @@ -25,20 +25,30 @@ import java.io.IOException; /** - * Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + * Passcode by issuer for ID&V. */ +@ApiModel(description = "Passcode by issuer for ID&V. ") -public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf { - @SerializedName("href") - private String href = null; +public class Tmsv2TokenizedCardPasscode { + @SerializedName("value") + private String value = null; + + public Tmsv2TokenizedCardPasscode value(String value) { + this.value = value; + return this; + } /** - * Link to the co-brand logo asset. - * @return href + * OTP generated at issuer. + * @return value **/ - @ApiModelProperty(value = "Link to the co-brand logo asset. ") - public String getHref() { - return href; + @ApiModelProperty(value = "OTP generated at issuer. ") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; } @@ -50,22 +60,22 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf) o; - return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.href); + Tmsv2TokenizedCardPasscode tmsv2TokenizedCardPasscode = (Tmsv2TokenizedCardPasscode) o; + return Objects.equals(this.value, tmsv2TokenizedCardPasscode.value); } @Override public int hashCode() { - return Objects.hash(href); + return Objects.hash(value); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf {\n"); + sb.append("class Tmsv2TokenizedCardPasscode {\n"); - if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java index b92fadb57..c4714772f 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java +++ b/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java @@ -69,10 +69,10 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation currency(S } /** - * Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). + * Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) * @return currency **/ - @ApiModelProperty(value = "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). ") + @ApiModelProperty(value = "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) ") public String getCurrency() { return currency; } diff --git a/src/main/java/Model/TssV2TransactionsGet200Response.java b/src/main/java/Model/TssV2TransactionsGet200Response.java index 67389308f..cb16c5784 100644 --- a/src/main/java/Model/TssV2TransactionsGet200Response.java +++ b/src/main/java/Model/TssV2TransactionsGet200Response.java @@ -18,6 +18,7 @@ import Model.PtsV2PaymentsPost201ResponsePaymentInsightsInformation; import Model.Ptsv2paymentsHealthCareInformation; import Model.Ptsv2paymentsMerchantDefinedInformation; +import Model.Ptsv2paymentsUnscheduledPaymentInformation; import Model.TssV2TransactionsGet200ResponseApplicationInformation; import Model.TssV2TransactionsGet200ResponseBuyerInformation; import Model.TssV2TransactionsGet200ResponseClientReferenceInformation; @@ -38,7 +39,6 @@ import Model.TssV2TransactionsGet200ResponseRiskInformation; import Model.TssV2TransactionsGet200ResponseSenderInformation; import Model.TssV2TransactionsGet200ResponseTokenInformation; -import Model.TssV2TransactionsGet200ResponseUnscheduledPaymentInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -119,7 +119,7 @@ public class TssV2TransactionsGet200Response { private TssV2TransactionsGet200ResponsePayoutOptions payoutOptions = null; @SerializedName("unscheduledPaymentInformation") - private TssV2TransactionsGet200ResponseUnscheduledPaymentInformation unscheduledPaymentInformation = null; + private Ptsv2paymentsUnscheduledPaymentInformation unscheduledPaymentInformation = null; @SerializedName("processingInformation") private TssV2TransactionsGet200ResponseProcessingInformation processingInformation = null; @@ -531,7 +531,7 @@ public void setPayoutOptions(TssV2TransactionsGet200ResponsePayoutOptions payout this.payoutOptions = payoutOptions; } - public TssV2TransactionsGet200Response unscheduledPaymentInformation(TssV2TransactionsGet200ResponseUnscheduledPaymentInformation unscheduledPaymentInformation) { + public TssV2TransactionsGet200Response unscheduledPaymentInformation(Ptsv2paymentsUnscheduledPaymentInformation unscheduledPaymentInformation) { this.unscheduledPaymentInformation = unscheduledPaymentInformation; return this; } @@ -541,11 +541,11 @@ public TssV2TransactionsGet200Response unscheduledPaymentInformation(TssV2Transa * @return unscheduledPaymentInformation **/ @ApiModelProperty(value = "") - public TssV2TransactionsGet200ResponseUnscheduledPaymentInformation getUnscheduledPaymentInformation() { + public Ptsv2paymentsUnscheduledPaymentInformation getUnscheduledPaymentInformation() { return unscheduledPaymentInformation; } - public void setUnscheduledPaymentInformation(TssV2TransactionsGet200ResponseUnscheduledPaymentInformation unscheduledPaymentInformation) { + public void setUnscheduledPaymentInformation(Ptsv2paymentsUnscheduledPaymentInformation unscheduledPaymentInformation) { this.unscheduledPaymentInformation = unscheduledPaymentInformation; } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java index d352ee113..aa20ff93f 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePointOfSaleInformation.java @@ -107,10 +107,10 @@ public TssV2TransactionsGet200ResponsePointOfSaleInformation cardholderVerificat } /** - * Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM + * Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM - `4`: Biometric - `5`: OTP * @return cardholderVerificationMethodUsed **/ - @ApiModelProperty(value = "Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM ") + @ApiModelProperty(value = "Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM - `4`: Biometric - `5`: OTP ") public Integer getCardholderVerificationMethodUsed() { return cardholderVerificationMethodUsed; } diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java index b8685e8b4..c9f08c546 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.java @@ -87,10 +87,10 @@ public TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions } /** - * Flag that indicates whether the transaction is an extended authorization. + * Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period. Possible values: - true: Transaction is an Authorization Extension transaction. - false: Transaction is not an Authorization Extension transaction. * @return extendAuthIndicator **/ - @ApiModelProperty(value = "Flag that indicates whether the transaction is an extended authorization. ") + @ApiModelProperty(value = "Indicates Authorization extension transaction. Extension transaction is used to prolong the settlement period by one additional settlement cycle period. Possible values: - true: Transaction is an Authorization Extension transaction. - false: Transaction is not an Authorization Extension transaction. ") public String getExtendAuthIndicator() { return extendAuthIndicator; } diff --git a/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java b/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java deleted file mode 100644 index 493f6acc7..000000000 --- a/src/main/java/Model/Upv1capturecontextsCheckoutApiInitialization.java +++ /dev/null @@ -1,302 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Unified Checkout to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser. - */ -@ApiModel(description = "Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Unified Checkout to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page. The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser. ") - -public class Upv1capturecontextsCheckoutApiInitialization { - @SerializedName("profile_id") - private String profileId = null; - - @SerializedName("access_key") - private String accessKey = null; - - @SerializedName("reference_number") - private String referenceNumber = null; - - @SerializedName("transaction_uuid") - private String transactionUuid = null; - - @SerializedName("transaction_type") - private String transactionType = null; - - @SerializedName("currency") - private String currency = null; - - @SerializedName("amount") - private String amount = null; - - @SerializedName("locale") - private String locale = null; - - @SerializedName("override_custom_receipt_page") - private String overrideCustomReceiptPage = null; - - @SerializedName("unsigned_field_names") - private String unsignedFieldNames = null; - - public Upv1capturecontextsCheckoutApiInitialization profileId(String profileId) { - this.profileId = profileId; - return this; - } - - /** - * Get profileId - * @return profileId - **/ - @ApiModelProperty(example = "12341234-1234-1234-1234-123412341234", value = "") - public String getProfileId() { - return profileId; - } - - public void setProfileId(String profileId) { - this.profileId = profileId; - } - - public Upv1capturecontextsCheckoutApiInitialization accessKey(String accessKey) { - this.accessKey = accessKey; - return this; - } - - /** - * Get accessKey - * @return accessKey - **/ - @ApiModelProperty(example = "acce55acce55acce55acce55acce5500", value = "") - public String getAccessKey() { - return accessKey; - } - - public void setAccessKey(String accessKey) { - this.accessKey = accessKey; - } - - public Upv1capturecontextsCheckoutApiInitialization referenceNumber(String referenceNumber) { - this.referenceNumber = referenceNumber; - return this; - } - - /** - * Get referenceNumber - * @return referenceNumber - **/ - @ApiModelProperty(example = "1611305732", value = "") - public String getReferenceNumber() { - return referenceNumber; - } - - public void setReferenceNumber(String referenceNumber) { - this.referenceNumber = referenceNumber; - } - - public Upv1capturecontextsCheckoutApiInitialization transactionUuid(String transactionUuid) { - this.transactionUuid = transactionUuid; - return this; - } - - /** - * Get transactionUuid - * @return transactionUuid - **/ - @ApiModelProperty(example = "1611305732-001", value = "") - public String getTransactionUuid() { - return transactionUuid; - } - - public void setTransactionUuid(String transactionUuid) { - this.transactionUuid = transactionUuid; - } - - public Upv1capturecontextsCheckoutApiInitialization transactionType(String transactionType) { - this.transactionType = transactionType; - return this; - } - - /** - * Get transactionType - * @return transactionType - **/ - @ApiModelProperty(example = "authorization", value = "") - public String getTransactionType() { - return transactionType; - } - - public void setTransactionType(String transactionType) { - this.transactionType = transactionType; - } - - public Upv1capturecontextsCheckoutApiInitialization currency(String currency) { - this.currency = currency; - return this; - } - - /** - * Get currency - * @return currency - **/ - @ApiModelProperty(example = "USD", value = "") - public String getCurrency() { - return currency; - } - - public void setCurrency(String currency) { - this.currency = currency; - } - - public Upv1capturecontextsCheckoutApiInitialization amount(String amount) { - this.amount = amount; - return this; - } - - /** - * Get amount - * @return amount - **/ - @ApiModelProperty(example = "100", value = "") - public String getAmount() { - return amount; - } - - public void setAmount(String amount) { - this.amount = amount; - } - - public Upv1capturecontextsCheckoutApiInitialization locale(String locale) { - this.locale = locale; - return this; - } - - /** - * Get locale - * @return locale - **/ - @ApiModelProperty(example = "en-us", value = "") - public String getLocale() { - return locale; - } - - public void setLocale(String locale) { - this.locale = locale; - } - - public Upv1capturecontextsCheckoutApiInitialization overrideCustomReceiptPage(String overrideCustomReceiptPage) { - this.overrideCustomReceiptPage = overrideCustomReceiptPage; - return this; - } - - /** - * Get overrideCustomReceiptPage - * @return overrideCustomReceiptPage - **/ - @ApiModelProperty(example = "https://the-up-demo.appspot.com/demos/demo5/receipt", value = "") - public String getOverrideCustomReceiptPage() { - return overrideCustomReceiptPage; - } - - public void setOverrideCustomReceiptPage(String overrideCustomReceiptPage) { - this.overrideCustomReceiptPage = overrideCustomReceiptPage; - } - - public Upv1capturecontextsCheckoutApiInitialization unsignedFieldNames(String unsignedFieldNames) { - this.unsignedFieldNames = unsignedFieldNames; - return this; - } - - /** - * Get unsignedFieldNames - * @return unsignedFieldNames - **/ - @ApiModelProperty(example = "transient_token, address1, address2", value = "") - public String getUnsignedFieldNames() { - return unsignedFieldNames; - } - - public void setUnsignedFieldNames(String unsignedFieldNames) { - this.unsignedFieldNames = unsignedFieldNames; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Upv1capturecontextsCheckoutApiInitialization upv1capturecontextsCheckoutApiInitialization = (Upv1capturecontextsCheckoutApiInitialization) o; - return Objects.equals(this.profileId, upv1capturecontextsCheckoutApiInitialization.profileId) && - Objects.equals(this.accessKey, upv1capturecontextsCheckoutApiInitialization.accessKey) && - Objects.equals(this.referenceNumber, upv1capturecontextsCheckoutApiInitialization.referenceNumber) && - Objects.equals(this.transactionUuid, upv1capturecontextsCheckoutApiInitialization.transactionUuid) && - Objects.equals(this.transactionType, upv1capturecontextsCheckoutApiInitialization.transactionType) && - Objects.equals(this.currency, upv1capturecontextsCheckoutApiInitialization.currency) && - Objects.equals(this.amount, upv1capturecontextsCheckoutApiInitialization.amount) && - Objects.equals(this.locale, upv1capturecontextsCheckoutApiInitialization.locale) && - Objects.equals(this.overrideCustomReceiptPage, upv1capturecontextsCheckoutApiInitialization.overrideCustomReceiptPage) && - Objects.equals(this.unsignedFieldNames, upv1capturecontextsCheckoutApiInitialization.unsignedFieldNames); - } - - @Override - public int hashCode() { - return Objects.hash(profileId, accessKey, referenceNumber, transactionUuid, transactionType, currency, amount, locale, overrideCustomReceiptPage, unsignedFieldNames); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Upv1capturecontextsCheckoutApiInitialization {\n"); - - if (profileId != null) sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); - if (accessKey != null) sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); - if (referenceNumber != null) sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); - if (transactionUuid != null) sb.append(" transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n"); - if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); - if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - if (amount != null) sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - if (overrideCustomReceiptPage != null) sb.append(" overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n"); - if (unsignedFieldNames != null) sb.append(" unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/test/java/Api/InstrumentIdentifierApiTest.java b/src/test/java/Api/InstrumentIdentifierApiTest.java index e72d4d89f..bbdcaadcd 100644 --- a/src/test/java/Api/InstrumentIdentifierApiTest.java +++ b/src/test/java/Api/InstrumentIdentifierApiTest.java @@ -71,7 +71,8 @@ public void deleteInstrumentIdentifierTest() throws Exception { public void getInstrumentIdentifierTest() throws Exception { String instrumentIdentifierId = null; String profileId = null; - PostInstrumentIdentifierRequest response = api.getInstrumentIdentifier(instrumentIdentifierId, profileId); + Boolean retrieveBinDetails = null; + PostInstrumentIdentifierRequest response = api.getInstrumentIdentifier(instrumentIdentifierId, profileId, retrieveBinDetails); // TODO: test validations } @@ -88,9 +89,10 @@ public void getInstrumentIdentifierTest() throws Exception { public void getInstrumentIdentifierPaymentInstrumentsListTest() throws Exception { String instrumentIdentifierId = null; String profileId = null; + Boolean retrieveBinDetails = null; Long offset = null; Long limit = null; - PaymentInstrumentList1 response = api.getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, offset, limit); + PaymentInstrumentList1 response = api.getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit); // TODO: test validations } @@ -108,8 +110,9 @@ public void patchInstrumentIdentifierTest() throws Exception { String instrumentIdentifierId = null; PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest = null; String profileId = null; + Boolean retrieveBinDetails = null; String ifMatch = null; - PatchInstrumentIdentifierRequest response = api.patchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch); + PatchInstrumentIdentifierRequest response = api.patchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch); // TODO: test validations } @@ -126,7 +129,8 @@ public void patchInstrumentIdentifierTest() throws Exception { public void postInstrumentIdentifierTest() throws Exception { PostInstrumentIdentifierRequest postInstrumentIdentifierRequest = null; String profileId = null; - PostInstrumentIdentifierRequest response = api.postInstrumentIdentifier(postInstrumentIdentifierRequest, profileId); + Boolean retrieveBinDetails = null; + PostInstrumentIdentifierRequest response = api.postInstrumentIdentifier(postInstrumentIdentifierRequest, profileId, retrieveBinDetails); // TODO: test validations } diff --git a/src/test/java/Api/PaymentInstrumentApiTest.java b/src/test/java/Api/PaymentInstrumentApiTest.java index 3f73f4f8b..4c09f68fd 100644 --- a/src/test/java/Api/PaymentInstrumentApiTest.java +++ b/src/test/java/Api/PaymentInstrumentApiTest.java @@ -69,7 +69,8 @@ public void deletePaymentInstrumentTest() throws Exception { public void getPaymentInstrumentTest() throws Exception { String paymentInstrumentId = null; String profileId = null; - PostPaymentInstrumentRequest response = api.getPaymentInstrument(paymentInstrumentId, profileId); + Boolean retrieveBinDetails = null; + PostPaymentInstrumentRequest response = api.getPaymentInstrument(paymentInstrumentId, profileId, retrieveBinDetails); // TODO: test validations } @@ -87,8 +88,9 @@ public void patchPaymentInstrumentTest() throws Exception { String paymentInstrumentId = null; PatchPaymentInstrumentRequest patchPaymentInstrumentRequest = null; String profileId = null; + Boolean retrieveBinDetails = null; String ifMatch = null; - PatchPaymentInstrumentRequest response = api.patchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch); + PatchPaymentInstrumentRequest response = api.patchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch); // TODO: test validations } @@ -105,7 +107,8 @@ public void patchPaymentInstrumentTest() throws Exception { public void postPaymentInstrumentTest() throws Exception { PostPaymentInstrumentRequest postPaymentInstrumentRequest = null; String profileId = null; - PostPaymentInstrumentRequest response = api.postPaymentInstrument(postPaymentInstrumentRequest, profileId); + Boolean retrieveBinDetails = null; + PostPaymentInstrumentRequest response = api.postPaymentInstrument(postPaymentInstrumentRequest, profileId, retrieveBinDetails); // TODO: test validations } From ea1c66e7598e72f5a489f8c7b7e528a35c517830 Mon Sep 17 00:00:00 2001 From: Bansal Date: Wed, 5 Feb 2025 15:01:30 +0530 Subject: [PATCH 19/21] auth SDK version update --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index dbc8f834e..61f4eea1d 100644 --- a/pom.xml +++ b/pom.xml @@ -274,7 +274,7 @@ com.cybersource AuthenticationSdk - 0.0.33 + 0.0.34 From 295b77ae38ccffde6324d91061d338243e98b96b Mon Sep 17 00:00:00 2001 From: Bansal Date: Wed, 5 Feb 2025 15:07:09 +0530 Subject: [PATCH 20/21] [maven-release-plugin] prepare release cybersource-rest-client-java-0.0.73 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 61f4eea1d..6803514b0 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ cybersource-rest-client-java jar cybersource-rest-client-java - 0.0.73-SNAPSHOT + 0.0.73 http://developer.cybersource.com Cybersource Rest Client SDK From 088ab7dea6bf4e40e8c4c3a8924ec2d530f54dd3 Mon Sep 17 00:00:00 2001 From: Bansal Date: Wed, 5 Feb 2025 15:08:42 +0530 Subject: [PATCH 21/21] [maven-release-plugin] prepare for next development iteration --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6803514b0..6ab619a4b 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ cybersource-rest-client-java jar cybersource-rest-client-java - 0.0.73 + 0.0.74-SNAPSHOT http://developer.cybersource.com Cybersource Rest Client SDK