diff --git a/pom.xml b/pom.xml index 1705bb14c..b2b0470e2 100644 --- a/pom.xml +++ b/pom.xml @@ -1,75 +1,81 @@ - 4.0.0 - io.swagger - cybersource-rest-client-java - jar - cybersource-rest-client-java - 0.0.1 - https://github.com/swagger-api/swagger-codegen - Swagger Java - - scm:git:git@github.com:swagger-api/swagger-codegen.git - scm:git:git@github.com:swagger-api/swagger-codegen.git - https://github.com/swagger-api/swagger-codegen - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + io.swagger + cybersource-rest-client-java + jar + cybersource-rest-client-java + 0.0.1-SNAPSHOT + https://github.com/swagger-api/swagger-codegen + Swagger Java + + + scm:git:https://github.com/CyberSource/cybersource-rest-client-java.git + scm:git:https://github.com/CyberSource/cybersource-rest-client-java.git + https://github.com/CyberSource/cybersource-rest-client-java.git + - - - Unlicense - http://unlicense.org - repo - - + + + SDK License Agreement + https://github.com/CyberSource/cybersource-rest-client-java.git + https://github.com/CyberSource/cybersource-rest-client-java/tree/master/LICENSE.txt + + - - - Swagger - apiteam@swagger.io - Swagger - http://swagger.io - - + + + CyberSource + CyberSource Developer + Swagger + developer@cybersource.com + + - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M1 - - - enforce-maven - - enforce - - - - - 2.2.0 - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12 - - - - loggerPath - conf/log4j.properties - - - -Xms512m -Xmx1500m - methods - pertest - - - + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M1 + + + enforce-maven + + enforce + + + + + 2.2.0 + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12 + + + + loggerPath + conf/log4j.properties + + + -Xms512m -Xmx1500m + methods + pertest + + + maven-dependency-plugin @@ -84,24 +90,24 @@ - - - org.apache.maven.plugins - maven-jar-plugin - 2.2 - - - - jar - test-jar - - - - - - + + + org.apache.maven.plugins + maven-jar-plugin + 2.2 + + + + jar + test-jar + + + + + + - + org.codehaus.mojo build-helper-maven-plugin 3.0.0 @@ -132,91 +138,91 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + - - - sign-artifacts - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - - - + + + sign-artifacts + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + - - - io.swagger - swagger-annotations - ${swagger-core-version} - - - com.squareup.okhttp - okhttp - ${okhttp-version} - - - com.squareup.okhttp - logging-interceptor - ${okhttp-version} - - - com.google.code.gson - gson - ${gson-version} - - - io.gsonfire - gson-fire - ${gson-fire-version} - - - joda-time - joda-time - ${jodatime-version} - - + + + io.swagger + swagger-annotations + ${swagger-core-version} + + + com.squareup.okhttp + okhttp + ${okhttp-version} + + + com.squareup.okhttp + logging-interceptor + ${okhttp-version} + + + com.google.code.gson + gson + ${gson-version} + + + io.gsonfire + gson-fire + ${gson-fire-version} + + + joda-time + joda-time + ${jodatime-version} + + org.apache.logging.log4j log4j 2.11.0 @@ -240,34 +246,34 @@ log4j-1.2-api 2.11.0 - - - junit - junit - ${junit-version} - test - - - - + + + junit + junit + ${junit-version} + test + + + + com.cybersource AuthenticationSdk - 0.0.1-SNAPSHOT + 0.0.1-Snapshot - - - - - 1.7 - ${java.version} - ${java.version} - 1.8.0 - 1.5.18 - 2.7.5 - 2.8.1 - 2.9.9 - 1.0.0 - 4.12 - UTF-8 - + + + + + 1.7 + ${java.version} + ${java.version} + 1.8.0 + 1.5.18 + 2.7.5 + 2.8.1 + 2.9.9 + 1.0.0 + 4.12 + UTF-8 + diff --git a/src/main/java/Api/CaptureApi.java b/src/main/java/Api/CaptureApi.java index b0742ee84..a832175ed 100644 --- a/src/main/java/Api/CaptureApi.java +++ b/src/main/java/Api/CaptureApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,23 +30,9 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.CapturePaymentRequest; import Model.InlineResponse2004; import Model.InlineResponse2012; -import Model.InlineResponse4002; -import Model.InlineResponse502; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class CaptureApi { private ApiClient apiClient; @@ -149,7 +144,7 @@ public InlineResponse2012 capturePayment(CapturePaymentRequest capturePaymentReq * Include the payment ID in the POST request to capture the payment amount. * @param capturePaymentRequest (required) * @param id The payment ID returned from a previous payment request. This ID links the capture to the payment. (required) - * @return ApiResponse<InlineResponse2012> + * @return ApiResponse - InlineResponse2012; * @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 { @@ -264,7 +259,7 @@ private com.squareup.okhttp.Call getCaptureValidateBeforeCall(String id, final P * Retrieve a Capture * Include the capture ID in the GET request to retrieve the capture details. * @param id The capture ID returned from a previous capture request. (required) - * @return InlineResponse2004 + * @return InlineResponse2004 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2004 getCapture(String id) throws ApiException { @@ -276,7 +271,7 @@ public InlineResponse2004 getCapture(String id) throws ApiException { * Retrieve a Capture * Include the capture ID in the GET request to retrieve the capture details. * @param id The capture ID returned from a previous capture request. (required) - * @return ApiResponse<InlineResponse2004> + * @return ApiResponse - InlineResponse2004 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCaptureWithHttpInfo(String id) throws ApiException { diff --git a/src/main/java/Api/CreditApi.java b/src/main/java/Api/CreditApi.java index e571d36d8..5a8b595ac 100644 --- a/src/main/java/Api/CreditApi.java +++ b/src/main/java/Api/CreditApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,23 +30,9 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.CreateCreditRequest; import Model.InlineResponse2006; import Model.InlineResponse2014; -import Model.InlineResponse4003; -import Model.InlineResponse502; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class CreditApi { private ApiClient apiClient; @@ -128,7 +123,7 @@ private com.squareup.okhttp.Call createCreditValidateBeforeCall(CreateCreditRequ * Process a Credit * POST to the credit resource to credit funds to a specified credit card. * @param createCreditRequest (required) - * @return InlineResponse2014 + * @return InlineResponse2014 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2014 createCredit(CreateCreditRequest createCreditRequest) throws ApiException { @@ -140,7 +135,7 @@ public InlineResponse2014 createCredit(CreateCreditRequest createCreditRequest) * Process a Credit * POST to the credit resource to credit funds to a specified credit card. * @param createCreditRequest (required) - * @return ApiResponse<InlineResponse2014> + * @return ApiResponse - InlineResponse2014 * @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 { @@ -254,7 +249,7 @@ private com.squareup.okhttp.Call getCreditValidateBeforeCall(String id, final Pr * Retrieve a Credit * Include the credit ID in the GET request to return details of the credit. * @param id The credit ID returned from a previous stand-alone credit request. (required) - * @return InlineResponse2006 + * @return InlineResponse2006 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2006 getCredit(String id) throws ApiException { @@ -266,7 +261,7 @@ public InlineResponse2006 getCredit(String id) throws ApiException { * Retrieve a Credit * Include the credit ID in the GET request to return details of the credit. * @param id The credit ID returned from a previous stand-alone credit request. (required) - * @return ApiResponse<InlineResponse2006> + * @return ApiResponse - InlineResponse2006. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getCreditWithHttpInfo(String id) throws ApiException { diff --git a/src/main/java/Api/DefaultApi.java b/src/main/java/Api/DefaultApi.java index deba7d9a3..9233440c1 100644 --- a/src/main/java/Api/DefaultApi.java +++ b/src/main/java/Api/DefaultApi.java @@ -13,6 +13,12 @@ package Api; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,22 +27,8 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import Model.InlineResponse4005; -import Model.InlineResponse502; import Model.OctCreatePaymentRequest; -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - public class DefaultApi { private ApiClient apiClient; @@ -136,7 +128,7 @@ public void octCreatePayment(OctCreatePaymentRequest octCreatePaymentRequest) th * Process a Payout * Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT). * @param octCreatePaymentRequest (required) - * @return ApiResponse<Void> + * @return ApiResponse - Void. * @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 { diff --git a/src/main/java/Api/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java index b159850b0..b69134b2c 100644 --- a/src/main/java/Api/InstrumentIdentifierApi.java +++ b/src/main/java/Api/InstrumentIdentifierApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,24 +30,10 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.Body; import Model.Body1; import Model.InlineResponse2007; import Model.InlineResponse2008; -import Model.InlineResponse4006; -import Model.InlineResponse409; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class InstrumentIdentifierApi { private ApiClient apiClient; @@ -133,7 +128,7 @@ private com.squareup.okhttp.Call instrumentidentifiersPostValidateBeforeCall(Str * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param body Please specify either a Card or Bank Account. (optional) - * @return InlineResponse2007 + * @return InlineResponse2007 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2007 instrumentidentifiersPost(String profileId, Body body) throws ApiException { @@ -146,7 +141,7 @@ public InlineResponse2007 instrumentidentifiersPost(String profileId, Body body) * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param body Please specify either a Card or Bank Account. (optional) - * @return ApiResponse<InlineResponse2007> + * @return ApiResponse - InlineResponse2007. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse instrumentidentifiersPostWithHttpInfo(String profileId, Body body) throws ApiException { @@ -281,7 +276,7 @@ public void instrumentidentifiersTokenIdDelete(String profileId, String tokenId) * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of an Instrument Identifier. (required) - * @return ApiResponse<Void> + * @return ApiResponse - Void. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse instrumentidentifiersTokenIdDeleteWithHttpInfo(String profileId, String tokenId) throws ApiException { @@ -403,7 +398,7 @@ private com.squareup.okhttp.Call instrumentidentifiersTokenIdGetValidateBeforeCa * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of an Instrument Identifier. (required) - * @return InlineResponse2007 + * @return InlineResponse2007 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2007 instrumentidentifiersTokenIdGet(String profileId, String tokenId) throws ApiException { @@ -416,7 +411,7 @@ public InlineResponse2007 instrumentidentifiersTokenIdGet(String profileId, Stri * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of an Instrument Identifier. (required) - * @return ApiResponse<InlineResponse2007> + * @return ApiResponse - InlineResponse2007. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse instrumentidentifiersTokenIdGetWithHttpInfo(String profileId, String tokenId) throws ApiException { @@ -547,7 +542,7 @@ private com.squareup.okhttp.Call instrumentidentifiersTokenIdPatchValidateBefore * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of an Instrument Identifier (required) * @param body Please specify the previous transaction Id to update. (required) - * @return InlineResponse2007 + * @return InlineResponse2007 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2007 instrumentidentifiersTokenIdPatch(String profileId, String tokenId, Body1 body) throws ApiException { @@ -561,7 +556,7 @@ public InlineResponse2007 instrumentidentifiersTokenIdPatch(String profileId, St * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of an Instrument Identifier (required) * @param body Please specify the previous transaction Id to update. (required) - * @return ApiResponse<InlineResponse2007> + * @return ApiResponse - InlineResponse2007. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse instrumentidentifiersTokenIdPatchWithHttpInfo(String profileId, String tokenId, Body1 body) throws ApiException { @@ -694,7 +689,7 @@ private com.squareup.okhttp.Call instrumentidentifiersTokenIdPaymentinstrumentsG * @param tokenId The TokenId of an Instrument Identifier. (required) * @param offset Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional) * @param limit The maximum number of Payment Instruments 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 InlineResponse2008 + * @return InlineResponse2008 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2008 instrumentidentifiersTokenIdPaymentinstrumentsGet(String profileId, String tokenId, String offset, String limit) throws ApiException { @@ -709,7 +704,7 @@ public InlineResponse2008 instrumentidentifiersTokenIdPaymentinstrumentsGet(Stri * @param tokenId The TokenId of an Instrument Identifier. (required) * @param offset Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional) * @param limit The maximum number of Payment Instruments 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<InlineResponse2008> + * @return ApiResponse - InlineResponse2008. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse instrumentidentifiersTokenIdPaymentinstrumentsGetWithHttpInfo(String profileId, String tokenId, String offset, String limit) throws ApiException { diff --git a/src/main/java/Api/KeyGenerationApi.java b/src/main/java/Api/KeyGenerationApi.java index d30afa05b..bdd55f427 100644 --- a/src/main/java/Api/KeyGenerationApi.java +++ b/src/main/java/Api/KeyGenerationApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,21 +30,8 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.GeneratePublicKeyRequest; import Model.InlineResponse200; -import Model.InlineResponseDefault; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class KeyGenerationApi { private ApiClient apiClient; @@ -76,12 +72,7 @@ public com.squareup.okhttp.Call generatePublicKeyCall(GeneratePublicKeyRequest g Map localVarFormParams = new HashMap(); - /*final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); -*/ + final String[] localVarContentTypes = { }; @@ -126,7 +117,7 @@ private com.squareup.okhttp.Call generatePublicKeyValidateBeforeCall(GeneratePub * Generate Key * Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser. * @param generatePublicKeyRequest (required) - * @return InlineResponse200 + * @return InlineResponse200 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse200 generatePublicKey(GeneratePublicKeyRequest generatePublicKeyRequest) throws ApiException { @@ -138,7 +129,7 @@ public InlineResponse200 generatePublicKey(GeneratePublicKeyRequest generatePubl * Generate Key * Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser. * @param generatePublicKeyRequest (required) - * @return ApiResponse<InlineResponse200> + * @return ApiResponse - InlineResponse200. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse generatePublicKeyWithHttpInfo(GeneratePublicKeyRequest generatePublicKeyRequest) throws ApiException { diff --git a/src/main/java/Api/PaymentApi.java b/src/main/java/Api/PaymentApi.java index 3ab6e9cbf..c50b9ad39 100644 --- a/src/main/java/Api/PaymentApi.java +++ b/src/main/java/Api/PaymentApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,23 +30,9 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.CreatePaymentRequest; import Model.InlineResponse2002; import Model.InlineResponse201; -import Model.InlineResponse400; -import Model.InlineResponse502; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class PaymentApi { private ApiClient apiClient; @@ -128,7 +123,7 @@ private com.squareup.okhttp.Call createPaymentValidateBeforeCall(CreatePaymentRe * Process a Payment * Authorize the payment for the transaction. * @param createPaymentRequest (required) - * @return InlineResponse201 + * @return InlineResponse201 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse201 createPayment(CreatePaymentRequest createPaymentRequest) throws ApiException { @@ -140,7 +135,7 @@ public InlineResponse201 createPayment(CreatePaymentRequest createPaymentRequest * Process a Payment * Authorize the payment for the transaction. * @param createPaymentRequest (required) - * @return ApiResponse<InlineResponse201> + * @return ApiResponse - InlineResponse201. * @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 { @@ -254,7 +249,7 @@ private com.squareup.okhttp.Call getPaymentValidateBeforeCall(String id, final P * Retrieve a Payment * Include the payment ID in the GET request to retrieve the payment details. * @param id The payment ID returned from a previous payment request. (required) - * @return InlineResponse2002 + * @return InlineResponse2002 generated * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2002 getPayment(String id) throws ApiException { @@ -266,7 +261,7 @@ public InlineResponse2002 getPayment(String id) throws ApiException { * Retrieve a Payment * Include the payment ID in the GET request to retrieve the payment details. * @param id The payment ID returned from a previous payment request. (required) - * @return ApiResponse<InlineResponse2002> + * @return ApiResponse - InlineResponse2002. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getPaymentWithHttpInfo(String id) throws ApiException { diff --git a/src/main/java/Api/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java index 631fb2abe..073bfab9a 100644 --- a/src/main/java/Api/PaymentInstrumentApi.java +++ b/src/main/java/Api/PaymentInstrumentApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,22 +30,9 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.Body2; import Model.Body3; import Model.InlineResponse2016; -import Model.InlineResponse4006; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class PaymentInstrumentApi { private ApiClient apiClient; @@ -136,7 +132,7 @@ private com.squareup.okhttp.Call paymentinstrumentsPostValidateBeforeCall(String * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param body Please specify the customers payment details for card or bank account. (required) - * @return InlineResponse2016 + * @return InlineResponse2016 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2016 paymentinstrumentsPost(String profileId, Body2 body) throws ApiException { @@ -149,7 +145,7 @@ public InlineResponse2016 paymentinstrumentsPost(String profileId, Body2 body) t * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param body Please specify the customers payment details for card or bank account. (required) - * @return ApiResponse<InlineResponse2016> + * @return ApiResponse - InlineResponse2016. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse paymentinstrumentsPostWithHttpInfo(String profileId, Body2 body) throws ApiException { @@ -284,7 +280,7 @@ public void paymentinstrumentsTokenIdDelete(String profileId, String tokenId) th * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of a Payment Instrument. (required) - * @return ApiResponse<Void> + * @return ApiResponse - Void. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse paymentinstrumentsTokenIdDeleteWithHttpInfo(String profileId, String tokenId) throws ApiException { @@ -406,7 +402,7 @@ private com.squareup.okhttp.Call paymentinstrumentsTokenIdGetValidateBeforeCall( * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of a Payment Instrument. (required) - * @return InlineResponse2016 + * @return InlineResponse2016 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2016 paymentinstrumentsTokenIdGet(String profileId, String tokenId) throws ApiException { @@ -419,7 +415,7 @@ public InlineResponse2016 paymentinstrumentsTokenIdGet(String profileId, String * * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of a Payment Instrument. (required) - * @return ApiResponse<InlineResponse2016> + * @return ApiResponse - InlineResponse2016. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse paymentinstrumentsTokenIdGetWithHttpInfo(String profileId, String tokenId) throws ApiException { @@ -550,7 +546,7 @@ private com.squareup.okhttp.Call paymentinstrumentsTokenIdPatchValidateBeforeCal * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of a Payment Instrument. (required) * @param body Please specify the customers payment details. (required) - * @return InlineResponse2016 + * @return InlineResponse2016 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2016 paymentinstrumentsTokenIdPatch(String profileId, String tokenId, Body3 body) throws ApiException { @@ -564,7 +560,7 @@ public InlineResponse2016 paymentinstrumentsTokenIdPatch(String profileId, Strin * @param profileId The id of a profile containing user specific TMS configuration. (required) * @param tokenId The TokenId of a Payment Instrument. (required) * @param body Please specify the customers payment details. (required) - * @return ApiResponse<InlineResponse2016> + * @return ApiResponse - InlineResponse2016. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse paymentinstrumentsTokenIdPatchWithHttpInfo(String profileId, String tokenId, Body3 body) throws ApiException { diff --git a/src/main/java/Api/RefundApi.java b/src/main/java/Api/RefundApi.java index a82bcf8d9..7d5c27e3c 100644 --- a/src/main/java/Api/RefundApi.java +++ b/src/main/java/Api/RefundApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,25 +30,11 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.InlineResponse2005; import Model.InlineResponse2013; -import Model.InlineResponse4003; -import Model.InlineResponse502; import Model.RefundCaptureRequest; import Model.RefundPaymentRequest; -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - public class RefundApi { private ApiClient apiClient; @@ -130,7 +125,7 @@ private com.squareup.okhttp.Call getRefundValidateBeforeCall(String id, final Pr * Retrieve a Refund * Include the refund ID in the GET request to to retrieve the refund details. * @param id The refund ID. This ID is returned from a previous refund request. (required) - * @return InlineResponse2005 + * @return InlineResponse2005 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2005 getRefund(String id) throws ApiException { @@ -142,7 +137,7 @@ public InlineResponse2005 getRefund(String id) throws ApiException { * Retrieve a Refund * Include the refund ID in the GET request to to retrieve the refund details. * @param id The refund ID. This ID is returned from a previous refund request. (required) - * @return ApiResponse<InlineResponse2005> + * @return ApiResponse - InlineResponse2005. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getRefundWithHttpInfo(String id) throws ApiException { @@ -263,7 +258,7 @@ private com.squareup.okhttp.Call refundCaptureValidateBeforeCall(RefundCaptureRe * Include the capture ID in the POST request to refund the captured amount. * @param refundCaptureRequest (required) * @param id The capture ID. This ID is returned from a previous capture request. (required) - * @return InlineResponse2013 + * @return InlineResponse2013 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2013 refundCapture(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException { @@ -276,7 +271,7 @@ public InlineResponse2013 refundCapture(RefundCaptureRequest refundCaptureReques * Include the capture ID in the POST request to refund the captured amount. * @param refundCaptureRequest (required) * @param id The capture ID. This ID is returned from a previous capture request. (required) - * @return ApiResponse<InlineResponse2013> + * @return ApiResponse - InlineResponse2013. * @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 { @@ -398,7 +393,7 @@ private com.squareup.okhttp.Call refundPaymentValidateBeforeCall(RefundPaymentRe * Include the payment ID in the POST request to refund the payment amount. * @param refundPaymentRequest (required) * @param id The payment ID. This ID is returned from a previous payment request. (required) - * @return InlineResponse2013 + * @return InlineResponse2013 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2013 refundPayment(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException { @@ -411,7 +406,7 @@ public InlineResponse2013 refundPayment(RefundPaymentRequest refundPaymentReques * Include the payment ID in the POST request to refund the payment amount. * @param refundPaymentRequest (required) * @param id The payment ID. This ID is returned from a previous payment request. (required) - * @return ApiResponse<InlineResponse2013> + * @return ApiResponse - InlineResponse2013. * @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 { diff --git a/src/main/java/Api/ReversalApi.java b/src/main/java/Api/ReversalApi.java index b4ff2721a..210bcb217 100644 --- a/src/main/java/Api/ReversalApi.java +++ b/src/main/java/Api/ReversalApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,23 +30,9 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.AuthReversalRequest; import Model.InlineResponse2003; import Model.InlineResponse2011; -import Model.InlineResponse4001; -import Model.InlineResponse502; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; public class ReversalApi { private ApiClient apiClient; @@ -136,7 +131,7 @@ private com.squareup.okhttp.Call authReversalValidateBeforeCall(String id, AuthR * Include the payment ID in the POST request to reverse the payment amount. * @param id The payment ID returned from a previous payment request. (required) * @param authReversalRequest (required) - * @return InlineResponse2011 + * @return InlineResponse2011 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2011 authReversal(String id, AuthReversalRequest authReversalRequest) throws ApiException { @@ -149,7 +144,7 @@ public InlineResponse2011 authReversal(String id, AuthReversalRequest authRevers * Include the payment ID in the POST request to reverse the payment amount. * @param id The payment ID returned from a previous payment request. (required) * @param authReversalRequest (required) - * @return ApiResponse<InlineResponse2011> + * @return ApiResponse - InlineResponse2011. * @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 { @@ -264,7 +259,7 @@ private com.squareup.okhttp.Call getAuthReversalValidateBeforeCall(String id, fi * Retrieve an Authorization Reversal * Include the authorization reversal ID in the GET request to retrieve the authorization reversal details. * @param id The authorization reversal ID returned from a previous authorization reversal request. (required) - * @return InlineResponse2003 + * @return InlineResponse2003 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2003 getAuthReversal(String id) throws ApiException { @@ -276,7 +271,7 @@ public InlineResponse2003 getAuthReversal(String id) throws ApiException { * Retrieve an Authorization Reversal * Include the authorization reversal ID in the GET request to retrieve the authorization reversal details. * @param id The authorization reversal ID returned from a previous authorization reversal request. (required) - * @return ApiResponse<InlineResponse2003> + * @return ApiResponse - InlineResponse2003. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getAuthReversalWithHttpInfo(String id) throws ApiException { diff --git a/src/main/java/Api/TokenizationApi.java b/src/main/java/Api/TokenizationApi.java index 386adf1af..31c7271c9 100644 --- a/src/main/java/Api/TokenizationApi.java +++ b/src/main/java/Api/TokenizationApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,22 +30,9 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.InlineResponse2001; -import Model.InlineResponseDefault; import Model.TokenizeRequest; -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - public class TokenizationApi { private ApiClient apiClient; @@ -121,7 +117,7 @@ private com.squareup.okhttp.Call tokenizeValidateBeforeCall(TokenizeRequest toke * Tokenize card * Returns a token representing the supplied card details. The token replaces card data and can be used as the Subscription ID in the CyberSource Simple Order API or SCMP API. This is an unauthenticated call that you should initiate from your customer’s device or browser. * @param tokenizeRequest (optional) - * @return InlineResponse2001 + * @return InlineResponse2001 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2001 tokenize(TokenizeRequest tokenizeRequest) throws ApiException { @@ -133,7 +129,7 @@ public InlineResponse2001 tokenize(TokenizeRequest tokenizeRequest) throws ApiEx * Tokenize card * Returns a token representing the supplied card details. The token replaces card data and can be used as the Subscription ID in the CyberSource Simple Order API or SCMP API. This is an unauthenticated call that you should initiate from your customer’s device or browser. * @param tokenizeRequest (optional) - * @return ApiResponse<InlineResponse2001> + * @return ApiResponse - InlineResponse2001. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse tokenizeWithHttpInfo(TokenizeRequest tokenizeRequest) throws ApiException { diff --git a/src/main/java/Api/VoidApi.java b/src/main/java/Api/VoidApi.java index da5ed6abf..1ce332355 100644 --- a/src/main/java/Api/VoidApi.java +++ b/src/main/java/Api/VoidApi.java @@ -13,6 +13,15 @@ package Api; +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.reflect.TypeToken; + import Invokers.ApiCallback; import Invokers.ApiClient; import Invokers.ApiException; @@ -21,26 +30,12 @@ import Invokers.Pair; import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - import Model.InlineResponse2015; -import Model.InlineResponse4004; -import Model.InlineResponse502; import Model.VoidCaptureRequest; import Model.VoidCreditRequest; import Model.VoidPaymentRequest; import Model.VoidRefundRequest; -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - public class VoidApi { private ApiClient apiClient; @@ -131,7 +126,7 @@ private com.squareup.okhttp.Call getVoidValidateBeforeCall(String id, final Prog * Retrieve A Void * Include the void ID in the GET request to retrieve the void details. * @param id The void ID returned from a previous void request. (required) - * @return InlineResponse2015 + * @return InlineResponse2015 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2015 getVoid(String id) throws ApiException { @@ -143,7 +138,7 @@ public InlineResponse2015 getVoid(String id) throws ApiException { * Retrieve A Void * Include the void ID in the GET request to retrieve the void details. * @param id The void ID returned from a previous void request. (required) - * @return ApiResponse<InlineResponse2015> + * @return ApiResponse - InlineResponse2015. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse getVoidWithHttpInfo(String id) throws ApiException { @@ -264,7 +259,7 @@ private com.squareup.okhttp.Call voidCaptureValidateBeforeCall(VoidCaptureReques * Include the capture ID in the POST request to cancel the capture. * @param voidCaptureRequest (required) * @param id The capture ID returned from a previous capture request. (required) - * @return InlineResponse2015 + * @return InlineResponse2015 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2015 voidCapture(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException { @@ -277,7 +272,7 @@ public InlineResponse2015 voidCapture(VoidCaptureRequest voidCaptureRequest, Str * Include the capture ID in the POST request to cancel the capture. * @param voidCaptureRequest (required) * @param id The capture ID returned from a previous capture request. (required) - * @return ApiResponse<InlineResponse2015> + * @return ApiResponse - InlineResponse2015. * @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 { @@ -399,7 +394,7 @@ private com.squareup.okhttp.Call voidCreditValidateBeforeCall(VoidCreditRequest * Include the credit ID in the POST request to cancel the credit. * @param voidCreditRequest (required) * @param id The credit ID returned from a previous credit request. (required) - * @return InlineResponse2015 + * @return InlineResponse2015 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2015 voidCredit(VoidCreditRequest voidCreditRequest, String id) throws ApiException { @@ -412,7 +407,7 @@ public InlineResponse2015 voidCredit(VoidCreditRequest voidCreditRequest, String * Include the credit ID in the POST request to cancel the credit. * @param voidCreditRequest (required) * @param id The credit ID returned from a previous credit request. (required) - * @return ApiResponse<InlineResponse2015> + * @return ApiResponse - InlineResponse2015. * @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 { @@ -534,7 +529,7 @@ private com.squareup.okhttp.Call voidPaymentValidateBeforeCall(VoidPaymentReques * Include the payment ID in the POST request to cancel the payment. * @param voidPaymentRequest (required) * @param id The payment ID returned from a previous payment request. (required) - * @return InlineResponse2015 + * @return InlineResponse2015 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2015 voidPayment(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException { @@ -547,7 +542,7 @@ public InlineResponse2015 voidPayment(VoidPaymentRequest voidPaymentRequest, Str * Include the payment ID in the POST request to cancel the payment. * @param voidPaymentRequest (required) * @param id The payment ID returned from a previous payment request. (required) - * @return ApiResponse<InlineResponse2015> + * @return ApiResponse - InlineResponse2015. * @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 { @@ -669,7 +664,7 @@ private com.squareup.okhttp.Call voidRefundValidateBeforeCall(VoidRefundRequest * Include the refund ID in the POST request to cancel the refund. * @param voidRefundRequest (required) * @param id The refund ID returned from a previous refund request. (required) - * @return InlineResponse2015 + * @return InlineResponse2015 generated. * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public InlineResponse2015 voidRefund(VoidRefundRequest voidRefundRequest, String id) throws ApiException { @@ -682,7 +677,7 @@ public InlineResponse2015 voidRefund(VoidRefundRequest voidRefundRequest, String * Include the refund ID in the POST request to cancel the refund. * @param voidRefundRequest (required) * @param id The refund ID returned from a previous refund request. (required) - * @return ApiResponse<InlineResponse2015> + * @return ApiResponse - InlineResponse2015. * @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 { diff --git a/src/main/java/Invokers/ApiCallback.java b/src/main/java/Invokers/ApiCallback.java index b5660bae4..cb4e4dfeb 100644 --- a/src/main/java/Invokers/ApiCallback.java +++ b/src/main/java/Invokers/ApiCallback.java @@ -10,53 +10,65 @@ * Do not edit the class manually. */ - package Invokers; -import java.io.IOException; - -import java.util.Map; import java.util.List; +import java.util.Map; /** * Callback for asynchronous API call. * - * @param The return type + * @param + * The return type */ public interface ApiCallback { - /** - * This is called when the API call fails. - * - * @param e The exception causing the failure - * @param statusCode Status code of the response if available, otherwise it would be 0 - * @param responseHeaders Headers of the response if available, otherwise it would be null - */ - void onFailure(ApiException e, int statusCode, Map> responseHeaders); + /** + * This is called when the API call fails. + * + * @param e + * The exception causing the failure + * @param statusCode + * Status code of the response if available, otherwise it would + * be 0 + * @param responseHeaders + * Headers of the response if available, otherwise it would be + * null + */ + void onFailure(ApiException e, int statusCode, Map> responseHeaders); - /** - * This is called when the API call succeeded. - * - * @param result The result deserialized from response - * @param statusCode Status code of the response - * @param responseHeaders Headers of the response - */ - void onSuccess(T result, int statusCode, Map> responseHeaders); + /** + * This is called when the API call succeeded. + * + * @param result + * The result deserialized from response + * @param statusCode + * Status code of the response + * @param responseHeaders + * Headers of the response + */ + void onSuccess(T result, int statusCode, Map> responseHeaders); - /** - * This is called when the API upload processing. - * - * @param bytesWritten bytes Written - * @param contentLength content length of request body - * @param done write end - */ - void onUploadProgress(long bytesWritten, long contentLength, boolean done); + /** + * This is called when the API upload processing. + * + * @param bytesWritten + * bytes Written + * @param contentLength + * content length of request body + * @param done + * write end + */ + void onUploadProgress(long bytesWritten, long contentLength, boolean done); - /** - * This is called when the API downlond processing. - * - * @param bytesRead bytes Read - * @param contentLength content lenngth of the response - * @param done Read end - */ - void onDownloadProgress(long bytesRead, long contentLength, boolean done); + /** + * This is called when the API downlond processing. + * + * @param bytesRead + * bytes Read + * @param contentLength + * content lenngth of the response + * @param done + * Read end + */ + void onDownloadProgress(long bytesRead, long contentLength, boolean done); } diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index 692a167bb..f9e6a83bc 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -60,7 +60,6 @@ import com.cybersource.authsdk.payloaddigest.PayloadDigest; import com.cybersource.authsdk.util.GlobalLabelParameters; import com.cybersource.authsdk.util.PropertiesUtil; -import com.cybersource.authsdk.util.Utility; import com.google.gson.Gson; import com.squareup.okhttp.Call; import com.squareup.okhttp.Callback; @@ -87,9 +86,7 @@ public class ApiClient { public static final double JAVA_VERSION; public static final boolean IS_ANDROID; public static final int ANDROID_SDK_VERSION; - - //Divya - public static String responseCode; + public static String responseCode; public static String status; static { JAVA_VERSION = Double.parseDouble(System.getProperty("java.specification.version")); @@ -117,7 +114,7 @@ public class ApiClient { } /** - * The datetime format to be used when lenientDatetimeFormat is + * The dateTime format to be used when lenientDatetimeFormat is * enabled. */ public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; @@ -181,7 +178,7 @@ public ApiClient() { /** * Get base path * - * @return Baes path + * @return Base path */ public String getBasePath() { return basePath; @@ -213,7 +210,7 @@ public OkHttpClient getHttpClient() { * * @param httpClient * An instance of OkHttpClient - * @return Api Client + * @return ApiClient object. */ public ApiClient setHttpClient(OkHttpClient httpClient) { this.httpClient = httpClient; @@ -298,7 +295,7 @@ public KeyManager[] getKeyManagers() { * * @param managers * The KeyManagers to use - * @return ApiClient + * @return ApiClient generated. */ public ApiClient setKeyManagers(KeyManager[] managers) { this.keyManagers = managers; @@ -326,8 +323,8 @@ public ApiClient setDatetimeFormat(DateFormat datetimeFormat) { } /** - * Whether to allow various ISO 8601 datetime formats when parsing a - * datetime string. + * Whether to allow various ISO 8601 dateTime formats when parsing a + * dateTime string. * * @see #parseDatetime(String) * @return True if lenientDatetimeFormat flag is set to true @@ -348,7 +345,7 @@ public ApiClient setLenientDatetimeFormat(boolean lenientDatetimeFormat) { * * @param str * String to be parsed - * @return Date + * @return Date generated. */ public Date parseDate(String str) { if (str == null) @@ -361,8 +358,8 @@ public Date parseDate(String str) { } /** - * Parse the given datetime string into Date object. When - * lenientDatetimeFormat is enabled, the following ISO 8601 datetime formats + * Parse the given dateTime string into Date object. When + * lenientDatetimeFormat is enabled, the following ISO 8601 dateTime formats * are supported: 2015-08-16T08:20:05Z 2015-8-16T8:20:05Z * 2015-08-16T08:20:05+00:00 2015-08-16T08:20:05+0000 * 2015-08-16T08:20:05.376Z 2015-08-16T08:20:05.376+00:00 @@ -410,10 +407,11 @@ public Date parseDatetime(String str) { } } - /* + /** * Parse date or date time in string format into Date object. * - * @param str Date time string to be parsed + * @param str + * Date time string to be parsed * * @return Date representation of the string */ @@ -438,11 +436,11 @@ public String formatDate(Date date) { } /** - * Format the given Date object into string (Datetime format). + * Format the given Date object into string (DateTime format). * * @param date * Date object - * @return Formatted datetime in string representation + * @return Formatted dateTime in string representation */ public String formatDatetime(Date date) { return datetimeFormat.format(date); @@ -469,10 +467,10 @@ public Authentication getAuthentication(String authName) { } /** - * Helper method to set username for the first HTTP basic authentication. + * Helper method to set userName for the first HTTP basic authentication. * * @param username - * Username + * - userName */ public void setUsername(String username) { for (Authentication auth : authentications.values()) { @@ -488,7 +486,7 @@ public void setUsername(String username) { * Helper method to set password for the first HTTP basic authentication. * * @param password - * Password + * - Password */ public void setPassword(String password) { for (Authentication auth : authentications.values()) { @@ -504,7 +502,7 @@ public void setPassword(String password) { * Helper method to set API key value for the first API key authentication. * * @param apiKey - * API key + * - API key */ public void setApiKey(String apiKey) { for (Authentication auth : authentications.values()) { @@ -520,7 +518,7 @@ public void setApiKey(String apiKey) { * Helper method to set API key prefix for the first API key authentication. * * @param apiKeyPrefix - * API key prefix + * - API key prefix */ public void setApiKeyPrefix(String apiKeyPrefix) { for (Authentication auth : authentications.values()) { @@ -536,7 +534,7 @@ public void setApiKeyPrefix(String apiKeyPrefix) { * Helper method to set access token for the first OAuth2 authentication. * * @param accessToken - * Access token + * - Access token */ public void setAccessToken(String accessToken) { for (Authentication auth : authentications.values()) { @@ -553,7 +551,7 @@ public void setAccessToken(String accessToken) { * * @param userAgent * HTTP request's user agent - * @return ApiClient + * @return ApiClient object. */ public ApiClient setUserAgent(String userAgent) { addDefaultHeader("User-Agent", userAgent); @@ -567,7 +565,7 @@ public ApiClient setUserAgent(String userAgent) { * The header's key * @param value * The header's value - * @return ApiClient + * @return ApiClient object. */ public ApiClient addDefaultHeader(String key, String value) { defaultHeaderMap.put(key, value); @@ -589,7 +587,7 @@ public boolean isLenientOnJson() { * * @param lenient * True to enable lenientOnJson - * @return ApiClient + * @return ApiClient object. */ public ApiClient setLenientOnJson(boolean lenient) { this.lenientOnJson = lenient; @@ -610,7 +608,7 @@ public boolean isDebugging() { * * @param debugging * To enable (true) or disable (false) debugging - * @return ApiClient + * @return ApiClient object. */ public ApiClient setDebugging(boolean debugging) { if (debugging != this.debugging) { @@ -645,7 +643,7 @@ public String getTempFolderPath() { * * @param tempFolderPath * Temporary folder path - * @return ApiClient + * @return ApiClient object. */ public ApiClient setTempFolderPath(String tempFolderPath) { this.tempFolderPath = tempFolderPath; @@ -667,7 +665,7 @@ public int getConnectTimeout() { * * @param connectionTimeout * connection timeout in milliseconds - * @return Api client + * @return ApiClient object. */ public ApiClient setConnectTimeout(int connectionTimeout) { httpClient.setConnectTimeout(connectionTimeout, TimeUnit.MILLISECONDS); @@ -706,9 +704,9 @@ public String parameterToString(Object param) { * @param collectionFormat * collection format (e.g. csv, tsv) * @param name - * Name + * - Name * @param value - * Value + * - Value * @return A list of Pair objects */ public List parameterToPairs(String collectionFormat, String name, Object value) { @@ -770,7 +768,7 @@ public List parameterToPairs(String collectionFormat, String name, Object * Sanitize filename by removing path. e.g. ../../sun.gif becomes sun.gif * * @param filename - * The filename to be sanitized + * - The filename to be sanitized * @return The sanitized filename */ public String sanitizeFilename(String filename) { @@ -819,9 +817,9 @@ public String selectHeaderAccept(String[] accepts) { * array. * * @param contentTypes - * The Content-Type array to select from - * @return The Content-Type header to use. If the given array is empty, JSON - * will be used. + * The Content - Type array to select from + * @return The Content - Type header to use. If the given array is empty, + * JSON will be used. */ public String selectHeaderContentType(String[] contentTypes) { if (contentTypes.length == 0) { @@ -940,9 +938,7 @@ public RequestBody serialize(Object obj, String contentType) throws ApiException } else { content = null; } - System.out.println("Content :: " + content); RequestBody rb = RequestBodyChild.create(MediaType.parse(contentType), content); - System.out.println("Content Type :: " + rb.contentType()); return rb; } else { throw new ApiException("Content type \"" + contentType + "\" is not supported"); @@ -1025,7 +1021,7 @@ public File prepareDownloadFile(Response response) throws IOException { * An instance of the Call object * @throws ApiException * If fail to execute the call - * @return ApiResponse<T> + * @return ApiResponse generated. */ public ApiResponse execute(Call call) throws ApiException { return execute(call, null); @@ -1050,9 +1046,8 @@ public ApiResponse execute(Call call) throws ApiException { public ApiResponse execute(Call call, Type returnType) throws ApiException { try { Response response = call.execute(); - responseCode=String.valueOf(response.code()); - status=response.message(); - System.out.println(responseCode); + responseCode = String.valueOf(response.code()); + status = response.message(); T data = handleResponse(response, returnType); return new ApiResponse(response.code(), response.headers().toMultimap(), data); } catch (IOException e) { @@ -1122,7 +1117,7 @@ public void onResponse(Response response) throws IOException { * @throws ApiException * If the response has a unsuccessful status code or fail to * deserialize the response body - * @return Type + * @return Type generated. */ public T handleResponse(Response response, Type returnType) throws ApiException { if (response.isSuccessful()) { @@ -1182,7 +1177,6 @@ public Call buildCall(String path, String method, List queryParams, Object ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { callAuthenticationHeader(method, path, body); headerParams.putAll(defaultHeaderMap); - System.out.println(headerParams); Request request = buildRequest(path, method, queryParams, body, headerParams, formParams, authNames, progressRequestListener); @@ -1195,6 +1189,14 @@ public Call buildCall(String path, String method, List queryParams, Object * */ + /** + * @param method + * - PUT/POST/DELETE + * @param path + * - request target path. + * @param body + * - request body. + */ public void callAuthenticationHeader(String method, String path, Object body) { Properties merchantProp; @@ -1204,7 +1206,7 @@ public void callAuthenticationHeader(String method, String path, Object body) { MerchantConfig merchantConfig = new MerchantConfig(merchantProp); merchantConfig.setRequestType(method); merchantConfig.setRequestTarget(path); - + Authorization authorization = new Authorization(); Logger logger = Log4j.getInstance(merchantConfig); authorization.setLogger(logger); @@ -1355,7 +1357,7 @@ public String buildUrl(String path, List queryParams) { * Set header parameters to the request builder, including default headers. * * @param headerParams - * Header parameters in the ofrm of Map + * Header parameters in the Map * @param reqBuilder * Reqeust.Builder */ @@ -1394,7 +1396,7 @@ public void updateParamsForAuth(String[] authNames, List queryParams, Map< * * @param formParams * Form parameters in the form of Map - * @return RequestBody + * @return RequestBody generated. */ public RequestBody buildRequestBodyFormEncoding(Map formParams) { FormEncodingBuilder formBuilder = new FormEncodingBuilder(); @@ -1410,7 +1412,7 @@ public RequestBody buildRequestBodyFormEncoding(Map formParams) * * @param formParams * Form parameters in the form of Map - * @return RequestBody + * @return RequestBody generated. */ public RequestBody buildRequestBodyMultipart(Map formParams) { MultipartBuilder mpBuilder = new MultipartBuilder().type(MultipartBuilder.FORM); diff --git a/src/main/java/Invokers/ApiException.java b/src/main/java/Invokers/ApiException.java index 3fc2a6103..dff780387 100644 --- a/src/main/java/Invokers/ApiException.java +++ b/src/main/java/Invokers/ApiException.java @@ -13,8 +13,8 @@ package Invokers; -import java.util.Map; import java.util.List; +import java.util.Map; @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-09-22T07:56:07.186+05:30") public class ApiException extends Exception { diff --git a/src/main/java/Invokers/JSON.java b/src/main/java/Invokers/JSON.java index 6b606f850..d5366e2e1 100644 --- a/src/main/java/Invokers/JSON.java +++ b/src/main/java/Invokers/JSON.java @@ -58,7 +58,7 @@ public JSON(ApiClient apiClient) { /** * Get Gson. * - * @return Gson + * @return Gson object. */ public Gson getGson() { return gson; @@ -67,7 +67,7 @@ public Gson getGson() { /** * Set Gson. * - * @param gson Gson + * @param gson - Gson object. */ public void setGson(Gson gson) { this.gson = gson; @@ -151,7 +151,7 @@ public JsonElement serialize(Date src, Type typeOfSrc, JsonSerializationContext * @param json Json element * @param date Type * @param context Json Serialization Context - * @return Date + * @return Date Object. * @throws JsonParseException if fail to parse */ @Override diff --git a/src/main/java/Invokers/RequestBodyChild.java b/src/main/java/Invokers/RequestBodyChild.java index 5d6da5f21..9a1c2ffab 100644 --- a/src/main/java/Invokers/RequestBodyChild.java +++ b/src/main/java/Invokers/RequestBodyChild.java @@ -9,7 +9,7 @@ import okio.BufferedSink; -public class RequestBodyChild extends RequestBody{ +public class RequestBodyChild extends RequestBody { @Override public MediaType contentType() { @@ -20,24 +20,30 @@ public MediaType contentType() { @Override public void writeTo(BufferedSink sink) throws IOException { // TODO Auto-generated method stub - + } - + /** - * Returns a new request body that transmits {@code content}. If {@code - * contentType} is non-null and lacks a charset, this will use UTF-8. - */ - public static RequestBody create(MediaType contentType, String content) { - Charset charset = Util.UTF_8; - if (contentType != null) { - charset = contentType.charset(); - if (charset == null) { - charset = Util.UTF_8; - contentType = MediaType.parse(contentType.toString()); - } - } - byte[] bytes = content.getBytes(charset); - return create(contentType, bytes); - } + * Returns a new request body that transmits {@code content}. If {@code + * contentType} is non-null and lacks a charset, this will use UTF-8. + * + * @param contentType + * - content type + * @param content + * -request body + * @return request body generated. + */ + public static RequestBody create(MediaType contentType, String content) { + Charset charset = Util.UTF_8; + if (contentType != null) { + charset = contentType.charset(); + if (charset == null) { + charset = Util.UTF_8; + contentType = MediaType.parse(contentType.toString()); + } + } + byte[] bytes = content.getBytes(charset); + return create(contentType, bytes); + } } diff --git a/src/main/java/Invokers/auth/HttpBasicAuth.java b/src/main/java/Invokers/auth/HttpBasicAuth.java index abec1bfe6..9e2d49c35 100644 --- a/src/main/java/Invokers/auth/HttpBasicAuth.java +++ b/src/main/java/Invokers/auth/HttpBasicAuth.java @@ -13,14 +13,12 @@ package Invokers.auth; -import Invokers.Pair; +import java.util.List; +import java.util.Map; import com.squareup.okhttp.Credentials; -import java.util.Map; -import java.util.List; - -import java.io.UnsupportedEncodingException; +import Invokers.Pair; public class HttpBasicAuth implements Authentication { private String username; diff --git a/src/main/java/Model/AuthReversalRequest.java b/src/main/java/Model/AuthReversalRequest.java index beca3558c..ea169bd58 100644 --- a/src/main/java/Model/AuthReversalRequest.java +++ b/src/main/java/Model/AuthReversalRequest.java @@ -14,19 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidreversalsClientReferenceInformation; -import Model.V2paymentsidreversalsOrderInformation; -import Model.V2paymentsidreversalsPointOfSaleInformation; -import Model.V2paymentsidreversalsProcessingInformation; -import Model.V2paymentsidreversalsReversalInformation; -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; /** * AuthReversalRequest @@ -55,7 +46,7 @@ public AuthReversalRequest clientReferenceInformation(V2paymentsidreversalsClien /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidreversalsClientReferenceInformation getClientReferenceInformation() { @@ -73,7 +64,7 @@ public AuthReversalRequest reversalInformation(V2paymentsidreversalsReversalInfo /** * Get reversalInformation - * @return reversalInformation + * @return reversalInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidreversalsReversalInformation getReversalInformation() { @@ -91,7 +82,7 @@ public AuthReversalRequest processingInformation(V2paymentsidreversalsProcessing /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidreversalsProcessingInformation getProcessingInformation() { @@ -109,7 +100,7 @@ public AuthReversalRequest orderInformation(V2paymentsidreversalsOrderInformatio /** * Get orderInformation - * @return orderInformation + * @return orderInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidreversalsOrderInformation getOrderInformation() { @@ -127,7 +118,7 @@ public AuthReversalRequest pointOfSaleInformation(V2paymentsidreversalsPointOfSa /** * Get pointOfSaleInformation - * @return pointOfSaleInformation + * @return pointOfSaleInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidreversalsPointOfSaleInformation getPointOfSaleInformation() { diff --git a/src/main/java/Model/Body.java b/src/main/java/Model/Body.java index adeda0b54..ef5fba178 100644 --- a/src/main/java/Model/Body.java +++ b/src/main/java/Model/Body.java @@ -13,20 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InstrumentidentifiersBankAccount; -import Model.InstrumentidentifiersCard; -import Model.InstrumentidentifiersLinks; -import Model.InstrumentidentifiersMetadata; -import Model.InstrumentidentifiersProcessingInformation; + 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; /** * Body @@ -156,7 +152,7 @@ public Body links(InstrumentidentifiersLinks links) { /** * Get links - * @return links + * @return links object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersLinks getLinks() { @@ -169,7 +165,7 @@ public void setLinks(InstrumentidentifiersLinks links) { /** * Unique identification number assigned by CyberSource to the submitted request. - * @return id + * @return id - getId. **/ @ApiModelProperty(example = "1234567890123456800", value = "Unique identification number assigned by CyberSource to the submitted request.") public String getId() { @@ -178,7 +174,7 @@ public String getId() { /** * Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier. - * @return object + * @return object generated. **/ @ApiModelProperty(example = "instrumentIdentifier", value = "Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier.") public ObjectEnum getObject() { @@ -201,7 +197,7 @@ public Body card(InstrumentidentifiersCard card) { /** * Get card - * @return card + * @return card object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersCard getCard() { @@ -219,7 +215,7 @@ public Body bankAccount(InstrumentidentifiersBankAccount bankAccount) { /** * Get bankAccount - * @return bankAccount + * @return bankAccount object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersBankAccount getBankAccount() { @@ -237,7 +233,7 @@ public Body processingInformation(InstrumentidentifiersProcessingInformation pro /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersProcessingInformation getProcessingInformation() { @@ -255,7 +251,7 @@ public Body metadata(InstrumentidentifiersMetadata metadata) { /** * Get metadata - * @return metadata + * @return metadata object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersMetadata getMetadata() { diff --git a/src/main/java/Model/Body1.java b/src/main/java/Model/Body1.java index dcb740377..9bbf6a3c4 100644 --- a/src/main/java/Model/Body1.java +++ b/src/main/java/Model/Body1.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InstrumentidentifiersProcessingInformation; -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; /** * Body1 @@ -39,7 +34,7 @@ public Body1 processingInformation(InstrumentidentifiersProcessingInformation pr /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersProcessingInformation getProcessingInformation() { diff --git a/src/main/java/Model/Body2.java b/src/main/java/Model/Body2.java index a33045344..74ae85d96 100644 --- a/src/main/java/Model/Body2.java +++ b/src/main/java/Model/Body2.java @@ -13,24 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InstrumentidentifiersLinks; -import Model.InstrumentidentifiersMetadata; -import Model.PaymentinstrumentsBankAccount; -import Model.PaymentinstrumentsBillTo; -import Model.PaymentinstrumentsBuyerInformation; -import Model.PaymentinstrumentsCard; -import Model.PaymentinstrumentsInstrumentIdentifier; -import Model.PaymentinstrumentsMerchantInformation; -import Model.PaymentinstrumentsProcessingInformation; + 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; /** * Body2 @@ -172,7 +164,7 @@ public Body2 links(InstrumentidentifiersLinks links) { /** * Get links - * @return links + * @return links object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersLinks getLinks() { @@ -185,7 +177,7 @@ public void setLinks(InstrumentidentifiersLinks links) { /** * Unique identification number assigned by CyberSource to the submitted request. - * @return id + * @return id - getId. **/ @ApiModelProperty(example = "1234567890123456800", value = "Unique identification number assigned by CyberSource to the submitted request.") public String getId() { @@ -194,7 +186,7 @@ public String getId() { /** * Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier. - * @return object + * @return object generated. **/ @ApiModelProperty(example = "instrumentIdentifier", value = "Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier.") public ObjectEnum getObject() { @@ -203,7 +195,7 @@ public ObjectEnum getObject() { /** * Current state of the token. - * @return state + * @return state object. **/ @ApiModelProperty(example = "ACTIVE", value = "Current state of the token.") public StateEnum getState() { @@ -217,7 +209,7 @@ public Body2 bankAccount(PaymentinstrumentsBankAccount bankAccount) { /** * Get bankAccount - * @return bankAccount + * @return bankAccount object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsBankAccount getBankAccount() { @@ -235,7 +227,7 @@ public Body2 card(PaymentinstrumentsCard card) { /** * Get card - * @return card + * @return card object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsCard getCard() { @@ -253,7 +245,7 @@ public Body2 buyerInformation(PaymentinstrumentsBuyerInformation buyerInformatio /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsBuyerInformation getBuyerInformation() { @@ -271,7 +263,7 @@ public Body2 billTo(PaymentinstrumentsBillTo billTo) { /** * Get billTo - * @return billTo + * @return billTo object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsBillTo getBillTo() { @@ -289,7 +281,7 @@ public Body2 processingInformation(PaymentinstrumentsProcessingInformation proce /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsProcessingInformation getProcessingInformation() { @@ -307,7 +299,7 @@ public Body2 merchantInformation(PaymentinstrumentsMerchantInformation merchantI /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsMerchantInformation getMerchantInformation() { @@ -325,7 +317,7 @@ public Body2 metaData(InstrumentidentifiersMetadata metaData) { /** * Get metaData - * @return metaData + * @return metaData object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersMetadata getMetaData() { @@ -343,7 +335,7 @@ public Body2 instrumentIdentifier(PaymentinstrumentsInstrumentIdentifier instrum /** * Get instrumentIdentifier - * @return instrumentIdentifier + * @return instrumentIdentifier object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsInstrumentIdentifier getInstrumentIdentifier() { diff --git a/src/main/java/Model/Body3.java b/src/main/java/Model/Body3.java index 988c147fc..12e258f22 100644 --- a/src/main/java/Model/Body3.java +++ b/src/main/java/Model/Body3.java @@ -13,24 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InstrumentidentifiersLinks; -import Model.InstrumentidentifiersMetadata; -import Model.PaymentinstrumentsBankAccount; -import Model.PaymentinstrumentsBillTo; -import Model.PaymentinstrumentsBuyerInformation; -import Model.PaymentinstrumentsCard; -import Model.PaymentinstrumentsInstrumentIdentifier; -import Model.PaymentinstrumentsMerchantInformation; -import Model.PaymentinstrumentsProcessingInformation; + 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; /** * Body3 @@ -172,7 +164,7 @@ public Body3 links(InstrumentidentifiersLinks links) { /** * Get links - * @return links + * @return links object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersLinks getLinks() { @@ -185,7 +177,7 @@ public void setLinks(InstrumentidentifiersLinks links) { /** * Unique identification number assigned by CyberSource to the submitted request. - * @return id + * @return id - getId. **/ @ApiModelProperty(example = "1234567890123456800", value = "Unique identification number assigned by CyberSource to the submitted request.") public String getId() { @@ -194,7 +186,7 @@ public String getId() { /** * Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier. - * @return object + * @return object generated. **/ @ApiModelProperty(example = "instrumentIdentifier", value = "Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier.") public ObjectEnum getObject() { @@ -217,7 +209,7 @@ public Body3 bankAccount(PaymentinstrumentsBankAccount bankAccount) { /** * Get bankAccount - * @return bankAccount + * @return bankAccount object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsBankAccount getBankAccount() { @@ -235,7 +227,7 @@ public Body3 card(PaymentinstrumentsCard card) { /** * Get card - * @return card + * @return card object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsCard getCard() { @@ -253,7 +245,7 @@ public Body3 buyerInformation(PaymentinstrumentsBuyerInformation buyerInformatio /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsBuyerInformation getBuyerInformation() { @@ -271,7 +263,7 @@ public Body3 billTo(PaymentinstrumentsBillTo billTo) { /** * Get billTo - * @return billTo + * @return billTo object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsBillTo getBillTo() { @@ -289,7 +281,7 @@ public Body3 processingInformation(PaymentinstrumentsProcessingInformation proce /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsProcessingInformation getProcessingInformation() { @@ -307,7 +299,7 @@ public Body3 merchantInformation(PaymentinstrumentsMerchantInformation merchantI /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsMerchantInformation getMerchantInformation() { @@ -325,7 +317,7 @@ public Body3 metaData(InstrumentidentifiersMetadata metaData) { /** * Get metaData - * @return metaData + * @return metaData object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersMetadata getMetaData() { @@ -343,7 +335,7 @@ public Body3 instrumentIdentifier(PaymentinstrumentsInstrumentIdentifier instrum /** * Get instrumentIdentifier - * @return instrumentIdentifier + * @return instrumentIdentifier object. **/ @ApiModelProperty(value = "") public PaymentinstrumentsInstrumentIdentifier getInstrumentIdentifier() { diff --git a/src/main/java/Model/CapturePaymentRequest.java b/src/main/java/Model/CapturePaymentRequest.java index 2e8aee5d7..2ebad2f15 100644 --- a/src/main/java/Model/CapturePaymentRequest.java +++ b/src/main/java/Model/CapturePaymentRequest.java @@ -13,27 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsClientReferenceInformation; -import Model.V2paymentsDeviceInformation; -import Model.V2paymentsMerchantDefinedInformation; -import Model.V2paymentsidcapturesAggregatorInformation; -import Model.V2paymentsidcapturesBuyerInformation; -import Model.V2paymentsidcapturesMerchantInformation; -import Model.V2paymentsidcapturesOrderInformation; -import Model.V2paymentsidcapturesPaymentInformation; -import Model.V2paymentsidcapturesPointOfSaleInformation; -import Model.V2paymentsidcapturesProcessingInformation; -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; -import java.util.ArrayList; -import java.util.List; /** * CapturePaymentRequest @@ -77,7 +63,7 @@ public CapturePaymentRequest clientReferenceInformation(V2paymentsClientReferenc /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsClientReferenceInformation getClientReferenceInformation() { @@ -95,7 +81,7 @@ public CapturePaymentRequest processingInformation(V2paymentsidcapturesProcessin /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesProcessingInformation getProcessingInformation() { @@ -113,7 +99,7 @@ public CapturePaymentRequest paymentInformation(V2paymentsidcapturesPaymentInfor /** * Get paymentInformation - * @return paymentInformation + * @return paymentInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesPaymentInformation getPaymentInformation() { @@ -131,7 +117,7 @@ public CapturePaymentRequest orderInformation(V2paymentsidcapturesOrderInformati /** * Get orderInformation - * @return orderInformation + * @return orderInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesOrderInformation getOrderInformation() { @@ -149,7 +135,7 @@ public CapturePaymentRequest buyerInformation(V2paymentsidcapturesBuyerInformati /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesBuyerInformation getBuyerInformation() { @@ -167,7 +153,7 @@ public CapturePaymentRequest deviceInformation(V2paymentsDeviceInformation devic /** * Get deviceInformation - * @return deviceInformation + * @return deviceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsDeviceInformation getDeviceInformation() { @@ -185,7 +171,7 @@ public CapturePaymentRequest merchantInformation(V2paymentsidcapturesMerchantInf /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesMerchantInformation getMerchantInformation() { @@ -203,7 +189,7 @@ public CapturePaymentRequest aggregatorInformation(V2paymentsidcapturesAggregato /** * Get aggregatorInformation - * @return aggregatorInformation + * @return aggregatorInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesAggregatorInformation getAggregatorInformation() { @@ -221,7 +207,7 @@ public CapturePaymentRequest pointOfSaleInformation(V2paymentsidcapturesPointOfS /** * Get pointOfSaleInformation - * @return pointOfSaleInformation + * @return pointOfSaleInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesPointOfSaleInformation getPointOfSaleInformation() { @@ -247,7 +233,7 @@ public CapturePaymentRequest addMerchantDefinedInformationItem(V2paymentsMerchan /** * TBD - * @return merchantDefinedInformation + * @return merchantDefinedInformation object. **/ @ApiModelProperty(value = "TBD") public List getMerchantDefinedInformation() { diff --git a/src/main/java/Model/CardInfo.java b/src/main/java/Model/CardInfo.java index 5890ae9cb..59a3b2162 100644 --- a/src/main/java/Model/CardInfo.java +++ b/src/main/java/Model/CardInfo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * CardInfo @@ -65,7 +61,7 @@ public CardInfo cardExpirationMonth(String cardExpirationMonth) { /** * Two digit expiration month - * @return cardExpirationMonth + * @return cardExpirationMonth object. **/ @ApiModelProperty(value = "Two digit expiration month") public String getCardExpirationMonth() { @@ -83,7 +79,7 @@ public CardInfo cardExpirationYear(String cardExpirationYear) { /** * Four digit expiration year - * @return cardExpirationYear + * @return cardExpirationYear object. **/ @ApiModelProperty(value = "Four digit expiration year") public String getCardExpirationYear() { @@ -101,7 +97,7 @@ public CardInfo cardType(String cardType) { /** * Card Type. This field is required. Refer to the CyberSource Credit Card Services documentation for supported card types. - * @return cardType + * @return cardType object. **/ @ApiModelProperty(value = "Card Type. This field is required. Refer to the CyberSource Credit Card Services documentation for supported card types.") public String getCardType() { diff --git a/src/main/java/Model/CreateCreditRequest.java b/src/main/java/Model/CreateCreditRequest.java index 5867d5748..9548b6b8e 100644 --- a/src/main/java/Model/CreateCreditRequest.java +++ b/src/main/java/Model/CreateCreditRequest.java @@ -13,27 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2creditsPointOfSaleInformation; -import Model.V2creditsProcessingInformation; -import Model.V2paymentsClientReferenceInformation; -import Model.V2paymentsDeviceInformation; -import Model.V2paymentsMerchantDefinedInformation; -import Model.V2paymentsidcapturesAggregatorInformation; -import Model.V2paymentsidcapturesBuyerInformation; -import Model.V2paymentsidrefundsMerchantInformation; -import Model.V2paymentsidrefundsOrderInformation; -import Model.V2paymentsidrefundsPaymentInformation; -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; -import java.util.ArrayList; -import java.util.List; /** * CreateCreditRequest @@ -77,7 +63,7 @@ public CreateCreditRequest clientReferenceInformation(V2paymentsClientReferenceI /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsClientReferenceInformation getClientReferenceInformation() { @@ -95,7 +81,7 @@ public CreateCreditRequest processingInformation(V2creditsProcessingInformation /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public V2creditsProcessingInformation getProcessingInformation() { @@ -113,7 +99,7 @@ public CreateCreditRequest paymentInformation(V2paymentsidrefundsPaymentInformat /** * Get paymentInformation - * @return paymentInformation + * @return paymentInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidrefundsPaymentInformation getPaymentInformation() { @@ -131,7 +117,7 @@ public CreateCreditRequest orderInformation(V2paymentsidrefundsOrderInformation /** * Get orderInformation - * @return orderInformation + * @return orderInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidrefundsOrderInformation getOrderInformation() { @@ -149,7 +135,7 @@ public CreateCreditRequest buyerInformation(V2paymentsidcapturesBuyerInformation /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesBuyerInformation getBuyerInformation() { @@ -167,7 +153,7 @@ public CreateCreditRequest deviceInformation(V2paymentsDeviceInformation deviceI /** * Get deviceInformation - * @return deviceInformation + * @return deviceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsDeviceInformation getDeviceInformation() { @@ -185,7 +171,7 @@ public CreateCreditRequest merchantInformation(V2paymentsidrefundsMerchantInform /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidrefundsMerchantInformation getMerchantInformation() { @@ -203,7 +189,7 @@ public CreateCreditRequest aggregatorInformation(V2paymentsidcapturesAggregatorI /** * Get aggregatorInformation - * @return aggregatorInformation + * @return aggregatorInformation object. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesAggregatorInformation getAggregatorInformation() { @@ -221,7 +207,7 @@ public CreateCreditRequest pointOfSaleInformation(V2creditsPointOfSaleInformatio /** * Get pointOfSaleInformation - * @return pointOfSaleInformation + * @return pointOfSaleInformation object. **/ @ApiModelProperty(value = "") public V2creditsPointOfSaleInformation getPointOfSaleInformation() { @@ -247,7 +233,7 @@ public CreateCreditRequest addMerchantDefinedInformationItem(V2paymentsMerchantD /** * TBD - * @return merchantDefinedInformation + * @return merchantDefinedInformation object. **/ @ApiModelProperty(value = "TBD") public List getMerchantDefinedInformation() { diff --git a/src/main/java/Model/CreatePaymentRequest.java b/src/main/java/Model/CreatePaymentRequest.java index c33b39dd7..a1e2dfafa 100644 --- a/src/main/java/Model/CreatePaymentRequest.java +++ b/src/main/java/Model/CreatePaymentRequest.java @@ -13,29 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsAggregatorInformation; -import Model.V2paymentsBuyerInformation; -import Model.V2paymentsClientReferenceInformation; -import Model.V2paymentsConsumerAuthenticationInformation; -import Model.V2paymentsDeviceInformation; -import Model.V2paymentsMerchantDefinedInformation; -import Model.V2paymentsMerchantInformation; -import Model.V2paymentsOrderInformation; -import Model.V2paymentsPaymentInformation; -import Model.V2paymentsPointOfSaleInformation; -import Model.V2paymentsProcessingInformation; -import Model.V2paymentsRecipientInformation; -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; -import java.util.ArrayList; -import java.util.List; /** * CreatePaymentRequest @@ -85,7 +69,7 @@ public CreatePaymentRequest clientReferenceInformation(V2paymentsClientReference /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsClientReferenceInformation getClientReferenceInformation() { @@ -103,7 +87,7 @@ public CreatePaymentRequest processingInformation(V2paymentsProcessingInformatio /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public V2paymentsProcessingInformation getProcessingInformation() { @@ -121,7 +105,7 @@ public CreatePaymentRequest paymentInformation(V2paymentsPaymentInformation paym /** * Get paymentInformation - * @return paymentInformation + * @return paymentInformation object. **/ @ApiModelProperty(value = "") public V2paymentsPaymentInformation getPaymentInformation() { @@ -139,7 +123,7 @@ public CreatePaymentRequest orderInformation(V2paymentsOrderInformation orderInf /** * Get orderInformation - * @return orderInformation + * @return orderInformation object. **/ @ApiModelProperty(value = "") public V2paymentsOrderInformation getOrderInformation() { @@ -157,7 +141,7 @@ public CreatePaymentRequest buyerInformation(V2paymentsBuyerInformation buyerInf /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation object. **/ @ApiModelProperty(value = "") public V2paymentsBuyerInformation getBuyerInformation() { @@ -175,7 +159,7 @@ public CreatePaymentRequest recipientInformation(V2paymentsRecipientInformation /** * Get recipientInformation - * @return recipientInformation + * @return recipientInformation object. **/ @ApiModelProperty(value = "") public V2paymentsRecipientInformation getRecipientInformation() { @@ -193,7 +177,7 @@ public CreatePaymentRequest deviceInformation(V2paymentsDeviceInformation device /** * Get deviceInformation - * @return deviceInformation + * @return deviceInformation object. **/ @ApiModelProperty(value = "") public V2paymentsDeviceInformation getDeviceInformation() { @@ -211,7 +195,7 @@ public CreatePaymentRequest merchantInformation(V2paymentsMerchantInformation me /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation object. **/ @ApiModelProperty(value = "") public V2paymentsMerchantInformation getMerchantInformation() { @@ -229,7 +213,7 @@ public CreatePaymentRequest aggregatorInformation(V2paymentsAggregatorInformatio /** * Get aggregatorInformation - * @return aggregatorInformation + * @return aggregatorInformation object. **/ @ApiModelProperty(value = "") public V2paymentsAggregatorInformation getAggregatorInformation() { @@ -247,7 +231,7 @@ public CreatePaymentRequest consumerAuthenticationInformation(V2paymentsConsumer /** * Get consumerAuthenticationInformation - * @return consumerAuthenticationInformation + * @return consumerAuthenticationInformation object. **/ @ApiModelProperty(value = "") public V2paymentsConsumerAuthenticationInformation getConsumerAuthenticationInformation() { @@ -265,7 +249,7 @@ public CreatePaymentRequest pointOfSaleInformation(V2paymentsPointOfSaleInformat /** * Get pointOfSaleInformation - * @return pointOfSaleInformation + * @return pointOfSaleInformation object. **/ @ApiModelProperty(value = "") public V2paymentsPointOfSaleInformation getPointOfSaleInformation() { @@ -291,7 +275,7 @@ public CreatePaymentRequest addMerchantDefinedInformationItem(V2paymentsMerchant /** * TBD - * @return merchantDefinedInformation + * @return merchantDefinedInformation object. **/ @ApiModelProperty(value = "TBD") public List getMerchantDefinedInformation() { diff --git a/src/main/java/Model/DerPublicKey.java b/src/main/java/Model/DerPublicKey.java index a37bc58dc..1cb5e9b6e 100644 --- a/src/main/java/Model/DerPublicKey.java +++ b/src/main/java/Model/DerPublicKey.java @@ -14,14 +14,11 @@ package Model; import java.util.Objects; -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; /** * The public key in DER format. Used to validate the response from the Tokenize Card request. Additionally this format is useful for client side encryption in Android and iOS implementations. @@ -63,7 +60,7 @@ public DerPublicKey algorithm(String algorithm) { /** * Algorithm used to encrypt the public key. - * @return algorithm + * @return algorithm to encrypt. **/ @ApiModelProperty(value = "Algorithm used to encrypt the public key.") public String getAlgorithm() { @@ -81,7 +78,7 @@ public DerPublicKey publicKey(String publicKey) { /** * Base64 encoded public key value. - * @return publicKey + * @return publicKey to encode. **/ @ApiModelProperty(value = "Base64 encoded public key value.") public String getPublicKey() { diff --git a/src/main/java/Model/Error.java b/src/main/java/Model/Error.java index be506442a..c6025dd60 100644 --- a/src/main/java/Model/Error.java +++ b/src/main/java/Model/Error.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.ErrorLinks; -import Model.InlineResponseDefaultResponseStatus; -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; /** * Error @@ -43,7 +37,7 @@ public Error responseStatus(InlineResponseDefaultResponseStatus responseStatus) /** * Get responseStatus - * @return responseStatus + * @return responseStatus object. **/ @ApiModelProperty(value = "") public InlineResponseDefaultResponseStatus getResponseStatus() { @@ -61,7 +55,7 @@ public Error links(ErrorLinks links) { /** * Get links - * @return links + * @return links object. **/ @ApiModelProperty(value = "") public ErrorLinks getLinks() { diff --git a/src/main/java/Model/ErrorLinks.java b/src/main/java/Model/ErrorLinks.java index fb89157db..a4c65c9c1 100644 --- a/src/main/java/Model/ErrorLinks.java +++ b/src/main/java/Model/ErrorLinks.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponseDefaultLinksNext; -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; -import java.util.ArrayList; -import java.util.List; /** * ErrorLinks @@ -47,7 +42,7 @@ public ErrorLinks self(InlineResponseDefaultLinksNext self) { /** * Get self - * @return self + * @return self object. **/ @ApiModelProperty(value = "") public InlineResponseDefaultLinksNext getSelf() { @@ -73,7 +68,7 @@ public ErrorLinks addDocumentationItem(InlineResponseDefaultLinksNext documentat /** * Get documentation - * @return documentation + * @return documentation object. **/ @ApiModelProperty(value = "") public List getDocumentation() { @@ -99,7 +94,7 @@ public ErrorLinks addNextItem(InlineResponseDefaultLinksNext nextItem) { /** * Get next - * @return next + * @return next object. **/ @ApiModelProperty(value = "") public List getNext() { diff --git a/src/main/java/Model/ErrorResponse.java b/src/main/java/Model/ErrorResponse.java index 2219a751a..d8391e9c7 100644 --- a/src/main/java/Model/ErrorResponse.java +++ b/src/main/java/Model/ErrorResponse.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponseDefaultLinks; -import Model.InlineResponseDefaultResponseStatus; -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; /** * ErrorResponse @@ -43,7 +37,7 @@ public ErrorResponse responseStatus(InlineResponseDefaultResponseStatus response /** * Get responseStatus - * @return responseStatus + * @return responseStatus object. **/ @ApiModelProperty(value = "") public InlineResponseDefaultResponseStatus getResponseStatus() { @@ -61,7 +55,7 @@ public ErrorResponse links(InlineResponseDefaultLinks links) { /** * Get links - * @return links + * @return links object. **/ @ApiModelProperty(value = "") public InlineResponseDefaultLinks getLinks() { diff --git a/src/main/java/Model/GeneratePublicKeyRequest.java b/src/main/java/Model/GeneratePublicKeyRequest.java index 1a3a794cc..7dbb2e015 100644 --- a/src/main/java/Model/GeneratePublicKeyRequest.java +++ b/src/main/java/Model/GeneratePublicKeyRequest.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * GeneratePublicKeyRequest diff --git a/src/main/java/Model/InlineResponse200.java b/src/main/java/Model/InlineResponse200.java index 872b514c2..3cd1e2937 100644 --- a/src/main/java/Model/InlineResponse200.java +++ b/src/main/java/Model/InlineResponse200.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse200Der; -import Model.InlineResponse200Jwk; -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; /** * InlineResponse200 @@ -64,7 +58,7 @@ public InlineResponse200 der(InlineResponse200Der der) { /** * Get der - * @return der + * @return der object. **/ @ApiModelProperty(value = "") public InlineResponse200Der getDer() { @@ -82,7 +76,7 @@ public InlineResponse200 jwk(InlineResponse200Jwk jwk) { /** * Get jwk - * @return jwk + * @return jwk object. **/ @ApiModelProperty(value = "") public InlineResponse200Jwk getJwk() { diff --git a/src/main/java/Model/InlineResponse2001.java b/src/main/java/Model/InlineResponse2001.java index d66c2609f..afc80b442 100644 --- a/src/main/java/Model/InlineResponse2001.java +++ b/src/main/java/Model/InlineResponse2001.java @@ -13,18 +13,13 @@ package Model; +import java.util.HashMap; +import java.util.Map; import java.util.Objects; -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; -import java.util.HashMap; -import java.util.List; -import java.util.Map; /** * InlineResponse2001 @@ -62,7 +57,7 @@ public InlineResponse2001 keyId(String keyId) { /** * The Key ID. - * @return keyId + * @return keyId The Key ID. **/ @ApiModelProperty(value = "The Key ID.") public String getKeyId() { @@ -80,7 +75,7 @@ public InlineResponse2001 token(String token) { /** * The generated token. The token replaces card data and is used as the Subscription ID in the CyberSource Simple Order API or SCMP API. - * @return token + * @return token The generated token. **/ @ApiModelProperty(value = "The generated token. The token replaces card data and is used as the Subscription ID in the CyberSource Simple Order API or SCMP API.") public String getToken() { @@ -98,7 +93,7 @@ public InlineResponse2001 maskedPan(String maskedPan) { /** * The masked card number displaying the first 6 digits and the last 4 digits. - * @return maskedPan + * @return maskedPan The masked card number. **/ @ApiModelProperty(value = "The masked card number displaying the first 6 digits and the last 4 digits.") public String getMaskedPan() { @@ -116,7 +111,7 @@ public InlineResponse2001 cardType(String cardType) { /** * The card type. - * @return cardType + * @return cardType The card type **/ @ApiModelProperty(value = "The card type.") public String getCardType() { @@ -134,7 +129,7 @@ public InlineResponse2001 timestamp(Long timestamp) { /** * The UTC date and time in milliseconds at which the signature was generated. - * @return timestamp + * @return timestamp The UTC date and time **/ @ApiModelProperty(value = "The UTC date and time in milliseconds at which the signature was generated.") public Long getTimestamp() { @@ -152,7 +147,7 @@ public InlineResponse2001 signedFields(String signedFields) { /** * Indicates which fields from the response make up the data that is used when verifying the response signature. See the [sample code] (https://github.com/CyberSource/cybersource-flex-samples/blob/master/java/spring-boot/src/main/java/com/cybersource/flex/application/CheckoutController.java) on how to verify the signature. - * @return signedFields + * @return signedFields Signed fields. **/ @ApiModelProperty(value = "Indicates which fields from the response make up the data that is used when verifying the response signature. See the [sample code] (https://github.com/CyberSource/cybersource-flex-samples/blob/master/java/spring-boot/src/main/java/com/cybersource/flex/application/CheckoutController.java) on how to verify the signature.") public String getSignedFields() { @@ -170,7 +165,7 @@ public InlineResponse2001 signature(String signature) { /** * Flex-generated digital signature. To ensure the values have not been tampered with while passing through the client, verify this server-side using the public key generated from the /keys resource. - * @return signature + * @return signature Flex-generated digital signature. **/ @ApiModelProperty(value = "Flex-generated digital signature. To ensure the values have not been tampered with while passing through the client, verify this server-side using the public key generated from the /keys resource.") public String getSignature() { @@ -196,7 +191,7 @@ public InlineResponse2001 putDiscoverableServicesItem(String key, Object discove /** * Get discoverableServices - * @return discoverableServices + * @return discoverableServices object. **/ @ApiModelProperty(value = "") public Map getDiscoverableServices() { diff --git a/src/main/java/Model/InlineResponse2002.java b/src/main/java/Model/InlineResponse2002.java index 13c52b999..959074a66 100644 --- a/src/main/java/Model/InlineResponse2002.java +++ b/src/main/java/Model/InlineResponse2002.java @@ -13,26 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2002BuyerInformation; -import Model.InlineResponse2002DeviceInformation; -import Model.InlineResponse2002MerchantInformation; -import Model.InlineResponse2002OrderInformation; -import Model.InlineResponse2002PaymentInformation; -import Model.InlineResponse2002ProcessingInformation; -import Model.InlineResponse2002ProcessorInformation; -import Model.InlineResponse201ClientReferenceInformation; -import Model.InlineResponse201Embedded; -import Model.InlineResponse201ErrorInformation; -import Model.InlineResponse201Links; + 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; /** * InlineResponse2002 @@ -142,7 +132,7 @@ public InlineResponse2002 links(InlineResponse201Links links) { /** * Get links - * @return links + * @return links object. **/ @ApiModelProperty(value = "") public InlineResponse201Links getLinks() { @@ -160,7 +150,7 @@ public InlineResponse2002 embedded(InlineResponse201Embedded embedded) { /** * Get embedded - * @return embedded + * @return embedded value. **/ @ApiModelProperty(value = "") public InlineResponse201Embedded getEmbedded() { @@ -178,7 +168,7 @@ public InlineResponse2002 id(String id) { /** * An unique identification number assigned by CyberSource to identify the submitted request. - * @return id + * @return id - getId. **/ @ApiModelProperty(value = "An unique identification number assigned by CyberSource to identify the submitted request.") public String getId() { @@ -196,7 +186,7 @@ public InlineResponse2002 submitTimeUtc(String submitTimeUtc) { /** * 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. - * @return submitTimeUtc + * @return submitTimeUtc Time of request in UTC. **/ @ApiModelProperty(value = "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. ") public String getSubmitTimeUtc() { @@ -214,7 +204,7 @@ public InlineResponse2002 status(StatusEnum status) { /** * The status of the submitted transaction. - * @return status + * @return status The status of the submitted transaction. **/ @ApiModelProperty(value = "The status of the submitted transaction.") public StatusEnum getStatus() { @@ -232,7 +222,7 @@ public InlineResponse2002 reconciliationId(String reconciliationId) { /** * The reconciliation id for the submitted transaction. This value is not returned for all processors. - * @return reconciliationId + * @return reconciliationId The reconciliation id for the submitted transaction. **/ @ApiModelProperty(value = "The reconciliation id for the submitted transaction. This value is not returned for all processors. ") public String getReconciliationId() { @@ -250,7 +240,7 @@ public InlineResponse2002 errorInformation(InlineResponse201ErrorInformation err /** * Get errorInformation - * @return errorInformation + * @return errorInformation object. **/ @ApiModelProperty(value = "") public InlineResponse201ErrorInformation getErrorInformation() { @@ -268,7 +258,7 @@ public InlineResponse2002 clientReferenceInformation(InlineResponse201ClientRefe /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation object. **/ @ApiModelProperty(value = "") public InlineResponse201ClientReferenceInformation getClientReferenceInformation() { @@ -286,7 +276,7 @@ public InlineResponse2002 processingInformation(InlineResponse2002ProcessingInfo /** * Get processingInformation - * @return processingInformation + * @return processingInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002ProcessingInformation getProcessingInformation() { @@ -304,7 +294,7 @@ public InlineResponse2002 processorInformation(InlineResponse2002ProcessorInform /** * Get processorInformation - * @return processorInformation + * @return processorInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002ProcessorInformation getProcessorInformation() { @@ -322,7 +312,7 @@ public InlineResponse2002 paymentInformation(InlineResponse2002PaymentInformatio /** * Get paymentInformation - * @return paymentInformation + * @return paymentInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002PaymentInformation getPaymentInformation() { @@ -340,7 +330,7 @@ public InlineResponse2002 orderInformation(InlineResponse2002OrderInformation or /** * Get orderInformation - * @return orderInformation + * @return orderInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002OrderInformation getOrderInformation() { @@ -358,7 +348,7 @@ public InlineResponse2002 buyerInformation(InlineResponse2002BuyerInformation bu /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002BuyerInformation getBuyerInformation() { @@ -376,7 +366,7 @@ public InlineResponse2002 merchantInformation(InlineResponse2002MerchantInformat /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002MerchantInformation getMerchantInformation() { @@ -394,7 +384,7 @@ public InlineResponse2002 deviceInformation(InlineResponse2002DeviceInformation /** * Get deviceInformation - * @return deviceInformation + * @return deviceInformation object. **/ @ApiModelProperty(value = "") public InlineResponse2002DeviceInformation getDeviceInformation() { diff --git a/src/main/java/Model/InlineResponse2002BuyerInformation.java b/src/main/java/Model/InlineResponse2002BuyerInformation.java index fa79c2abe..b80801f72 100644 --- a/src/main/java/Model/InlineResponse2002BuyerInformation.java +++ b/src/main/java/Model/InlineResponse2002BuyerInformation.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsBuyerInformationPersonalIdentification; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse2002BuyerInformation @@ -53,7 +48,7 @@ public InlineResponse2002BuyerInformation merchantCustomerId(String merchantCust /** * Your identifier for the customer. For processor-specific information, see the customer_account_id field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return merchantCustomerId + * @return merchantCustomerId merchant customer id. **/ @ApiModelProperty(value = "Your identifier for the customer. For processor-specific information, see the customer_account_id field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getMerchantCustomerId() { @@ -70,10 +65,10 @@ public InlineResponse2002BuyerInformation dateOfBirth(String dateOfBirth) { } /** - * 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. - * @return dateOfBirth + * 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. + * @return dateOfBirth recipient date of birth. **/ - @ApiModelProperty(value = "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. ") + @ApiModelProperty(value = "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. ") public String getDateOfBirth() { return dateOfBirth; } @@ -88,10 +83,10 @@ public InlineResponse2002BuyerInformation vatRegistrationNumber(String vatRegist } /** - * Customer’s government-assigned tax identification number. For processor-specific information, see the purchaser_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return vatRegistrationNumber + * Customer's government-assigned tax identification number. For processor-specific information, see the purchaser_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) + * @return vatRegistrationNumber Customer's government-assigned tax identification number **/ - @ApiModelProperty(value = "Customer’s government-assigned tax identification number. For processor-specific information, see the purchaser_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") + @ApiModelProperty(value = "Customer's government-assigned tax identification number. For processor-specific information, see the purchaser_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getVatRegistrationNumber() { return vatRegistrationNumber; } @@ -115,7 +110,7 @@ public InlineResponse2002BuyerInformation addPersonalIdentificationItem(V2paymen /** * Get personalIdentification - * @return personalIdentification + * @return personalIdentification personal identification number. **/ @ApiModelProperty(value = "") public List getPersonalIdentification() { @@ -133,7 +128,7 @@ public InlineResponse2002BuyerInformation taxId(String taxId) { /** * TBD - * @return taxId + * @return taxId TBD. **/ @ApiModelProperty(value = "TBD") public String getTaxId() { diff --git a/src/main/java/Model/InlineResponse2002DeviceInformation.java b/src/main/java/Model/InlineResponse2002DeviceInformation.java index 78a25f9c0..2335f4d10 100644 --- a/src/main/java/Model/InlineResponse2002DeviceInformation.java +++ b/src/main/java/Model/InlineResponse2002DeviceInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002DeviceInformation @@ -44,7 +40,7 @@ public InlineResponse2002DeviceInformation id(String id) { /** * TBD - * @return id + * @return id - getID. **/ @ApiModelProperty(value = "TBD") public String getId() { @@ -62,7 +58,7 @@ public InlineResponse2002DeviceInformation fingerprintId(String fingerprintId) { /** * TBD - * @return fingerprintId + * @return fingerprintId - ID. **/ @ApiModelProperty(value = "TBD") public String getFingerprintId() { @@ -80,7 +76,7 @@ public InlineResponse2002DeviceInformation ipAddress(String ipAddress) { /** * IP address of the customer. - * @return ipAddress + * @return ipAddress IP address of the customer. **/ @ApiModelProperty(value = "IP address of the customer.") public String getIpAddress() { diff --git a/src/main/java/Model/InlineResponse2002MerchantInformation.java b/src/main/java/Model/InlineResponse2002MerchantInformation.java index cbb0c6c99..8d05c5870 100644 --- a/src/main/java/Model/InlineResponse2002MerchantInformation.java +++ b/src/main/java/Model/InlineResponse2002MerchantInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsMerchantInformationMerchantDescriptor; -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; /** * InlineResponse2002MerchantInformation @@ -46,7 +41,7 @@ public InlineResponse2002MerchantInformation categoryCode(Integer categoryCode) /** * Four-digit number that the payment card industry uses to classify merchants into market segments. Visa assigned one or more of these values to your business when you started accepting Visa cards. If you do not include this field in your request, CyberSource uses the value in your CyberSource account. For processor-specific information, see the merchant_category_code field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) * maximum: 9999 - * @return categoryCode + * @return categoryCode - code. **/ @ApiModelProperty(value = "Four-digit number that the payment card industry uses to classify merchants into market segments. Visa assigned one or more of these values to your business when you started accepting Visa cards. If you do not include this field in your request, CyberSource uses the value in your CyberSource account. For processor-specific information, see the merchant_category_code field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public Integer getCategoryCode() { @@ -64,7 +59,7 @@ public InlineResponse2002MerchantInformation vatRegistrationNumber(String vatReg /** * Your government-assigned tax identification number. For CtV processors, the maximum length is 20. For other processor-specific information, see the merchant_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return vatRegistrationNumber + * @return vatRegistrationNumber - number. **/ @ApiModelProperty(value = "Your government-assigned tax identification number. For CtV processors, the maximum length is 20. For other processor-specific information, see the merchant_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getVatRegistrationNumber() { @@ -82,7 +77,7 @@ public InlineResponse2002MerchantInformation merchantDescriptor(V2paymentsMercha /** * Get merchantDescriptor - * @return merchantDescriptor + * @return merchantDescriptor object. **/ @ApiModelProperty(value = "") public V2paymentsMerchantInformationMerchantDescriptor getMerchantDescriptor() { diff --git a/src/main/java/Model/InlineResponse2002OrderInformation.java b/src/main/java/Model/InlineResponse2002OrderInformation.java index 0c1fea55e..534b340e5 100644 --- a/src/main/java/Model/InlineResponse2002OrderInformation.java +++ b/src/main/java/Model/InlineResponse2002OrderInformation.java @@ -13,23 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse2002OrderInformationAmountDetails; -import Model.InlineResponse2002OrderInformationBillTo; -import Model.InlineResponse2002OrderInformationInvoiceDetails; -import Model.InlineResponse2002OrderInformationLineItems; -import Model.InlineResponse2002OrderInformationShipTo; -import Model.V2paymentsOrderInformationShippingDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse2002OrderInformation @@ -61,7 +51,7 @@ public InlineResponse2002OrderInformation amountDetails(InlineResponse2002OrderI /** * Get amountDetails - * @return amountDetails + * @return amountDetails Get amountDetails. **/ @ApiModelProperty(value = "") public InlineResponse2002OrderInformationAmountDetails getAmountDetails() { @@ -79,7 +69,7 @@ public InlineResponse2002OrderInformation billTo(InlineResponse2002OrderInformat /** * Get billTo - * @return billTo + * @return billTo Get billTo. **/ @ApiModelProperty(value = "") public InlineResponse2002OrderInformationBillTo getBillTo() { @@ -97,7 +87,7 @@ public InlineResponse2002OrderInformation shipTo(InlineResponse2002OrderInformat /** * Get shipTo - * @return shipTo + * @return shipTo Get shipTo. **/ @ApiModelProperty(value = "") public InlineResponse2002OrderInformationShipTo getShipTo() { @@ -123,7 +113,7 @@ public InlineResponse2002OrderInformation addLineItemsItem(InlineResponse2002Ord /** * Get lineItems - * @return lineItems + * @return lineItems Get lineItems. **/ @ApiModelProperty(value = "") public List getLineItems() { @@ -141,7 +131,7 @@ public InlineResponse2002OrderInformation invoiceDetails(InlineResponse2002Order /** * Get invoiceDetails - * @return invoiceDetails + * @return invoiceDetails Get invoiceDetails. **/ @ApiModelProperty(value = "") public InlineResponse2002OrderInformationInvoiceDetails getInvoiceDetails() { @@ -159,7 +149,7 @@ public InlineResponse2002OrderInformation shippingDetails(V2paymentsOrderInforma /** * Get shippingDetails - * @return shippingDetails + * @return shippingDetails Get shippingDetails. **/ @ApiModelProperty(value = "") public V2paymentsOrderInformationShippingDetails getShippingDetails() { diff --git a/src/main/java/Model/InlineResponse2002OrderInformationAmountDetails.java b/src/main/java/Model/InlineResponse2002OrderInformationAmountDetails.java index b806efa18..9f258a805 100644 --- a/src/main/java/Model/InlineResponse2002OrderInformationAmountDetails.java +++ b/src/main/java/Model/InlineResponse2002OrderInformationAmountDetails.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse2002OrderInformationAmountDetails @@ -65,7 +60,7 @@ public InlineResponse2002OrderInformationAmountDetails authorizedAmount(String a /** * Amount that was authorized. - * @return authorizedAmount + * @return authorizedAmount Amount that was authorized. **/ @ApiModelProperty(value = "Amount that was authorized. ") public String getAuthorizedAmount() { @@ -83,7 +78,7 @@ public InlineResponse2002OrderInformationAmountDetails totalAmount(String totalA /** * Grand total for the order. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. * CTV, FDCCompass, Paymentech (<= 12) For processor-specific information, see the grand_total_amount field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return totalAmount + * @return totalAmount Grand total for the order. **/ @ApiModelProperty(value = "Grand total for the order. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. * CTV, FDCCompass, Paymentech (<= 12) For processor-specific information, see the grand_total_amount field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getTotalAmount() { @@ -101,7 +96,7 @@ public InlineResponse2002OrderInformationAmountDetails currency(String currency) /** * Currency used for the order. Use the three-character ISO Standard Currency Codes. For an authorization reversal or a capture, you must use the same currency that you used in your request for Payment API. - * @return currency + * @return currency Currency used for the order. **/ @ApiModelProperty(value = "Currency used for the order. Use the three-character ISO Standard Currency Codes. For an authorization reversal or a capture, you must use the same currency that you used in your request for Payment API. ") public String getCurrency() { @@ -119,7 +114,7 @@ public InlineResponse2002OrderInformationAmountDetails discountAmount(String dis /** * Total discount amount applied to the order. For processor-specific information, see the order_discount_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return discountAmount + * @return discountAmount Total discount amount applied to the order. **/ @ApiModelProperty(value = "Total discount amount applied to the order. For processor-specific information, see the order_discount_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getDiscountAmount() { @@ -137,7 +132,7 @@ public InlineResponse2002OrderInformationAmountDetails dutyAmount(String dutyAmo /** * Total charges for any import or export duties included in the order. For processor-specific information, see the duty_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return dutyAmount + * @return dutyAmount Total charges for any import or export duties included in the order. **/ @ApiModelProperty(value = "Total charges for any import or export duties included in the order. For processor-specific information, see the duty_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getDutyAmount() { @@ -155,7 +150,7 @@ public InlineResponse2002OrderInformationAmountDetails taxAmount(String taxAmoun /** * Total tax amount for all the items in the order. For processor-specific information, see the total_tax_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return taxAmount + * @return taxAmount Total tax amount for all the items in the order. **/ @ApiModelProperty(value = "Total tax amount for all the items in the order. For processor-specific information, see the total_tax_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getTaxAmount() { @@ -173,7 +168,7 @@ public InlineResponse2002OrderInformationAmountDetails nationalTaxIncluded(Strin /** * Flag that indicates whether a national tax is included in the order total. Possible values: - **0**: national tax not included - **1**: national tax included For processor-specific information, see the national_tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return nationalTaxIncluded + * @return nationalTaxIncluded Flag that indicates whether a national tax is included in the order total. **/ @ApiModelProperty(value = "Flag that indicates whether a national tax is included in the order total. Possible values: - **0**: national tax not included - **1**: national tax included For processor-specific information, see the national_tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getNationalTaxIncluded() { @@ -191,7 +186,7 @@ public InlineResponse2002OrderInformationAmountDetails freightAmount(String frei /** * Total freight or shipping and handling charges for the order. When you include this field in your request, you must also include the **totalAmount** field. For processor-specific information, see the freight_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return freightAmount + * @return freightAmount Total freight or shipping and handling charges for the order. **/ @ApiModelProperty(value = "Total freight or shipping and handling charges for the order. When you include this field in your request, you must also include the **totalAmount** field. For processor-specific information, see the freight_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getFreightAmount() { @@ -217,7 +212,7 @@ public InlineResponse2002OrderInformationAmountDetails addTaxDetailsItem(V2payme /** * Get taxDetails - * @return taxDetails + * @return taxDetails Get taxDetails. **/ @ApiModelProperty(value = "") public List getTaxDetails() { diff --git a/src/main/java/Model/InlineResponse2002OrderInformationBillTo.java b/src/main/java/Model/InlineResponse2002OrderInformationBillTo.java index a5ec59e25..87e68364a 100644 --- a/src/main/java/Model/InlineResponse2002OrderInformationBillTo.java +++ b/src/main/java/Model/InlineResponse2002OrderInformationBillTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002OrderInformationBillTo @@ -70,10 +66,10 @@ public InlineResponse2002OrderInformationBillTo firstName(String firstName) { } /** - * Customer’s first name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_firstname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return firstName + * Customer's first name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_firstname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return firstName Customer's first name. **/ - @ApiModelProperty(value = "Customer’s first name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_firstname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") + @ApiModelProperty(value = "Customer's first name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_firstname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getFirstName() { return firstName; } @@ -88,10 +84,10 @@ public InlineResponse2002OrderInformationBillTo lastName(String lastName) { } /** - * Customer’s last name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_lastname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return lastName + * Customer's last name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_lastname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return lastName Customer's last name. **/ - @ApiModelProperty(value = "Customer’s last name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_lastname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") + @ApiModelProperty(value = "Customer's last name. This name must be the same as the name on the card. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the customer_lastname field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getLastName() { return lastName; } @@ -106,10 +102,10 @@ public InlineResponse2002OrderInformationBillTo company(String company) { } /** - * Name of the customer’s company. For processor-specific information, see the company_name field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return company + * Name of the customer's company. For processor-specific information, see the company_name field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return company Name of the customer's company. **/ - @ApiModelProperty(value = "Name of the customer’s company. For processor-specific information, see the company_name field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") + @ApiModelProperty(value = "Name of the customer's company. For processor-specific information, see the company_name field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getCompany() { return company; } @@ -124,10 +120,10 @@ public InlineResponse2002OrderInformationBillTo address1(String address1) { } /** - * First line of the billing street address as it appears on the credit card issuer’s records. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_address1 field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return address1 + * First line of the billing street address as it appears on the credit card issuer's records. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_address1 field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return address1 First line of the billing street address as it appears on the credit card issuer's records. **/ - @ApiModelProperty(value = "First line of the billing street address as it appears on the credit card issuer’s records. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_address1 field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") + @ApiModelProperty(value = "First line of the billing street address as it appears on the credit card issuer's records. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_address1 field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getAddress1() { return address1; } @@ -143,7 +139,7 @@ public InlineResponse2002OrderInformationBillTo address2(String address2) { /** * Additional address information. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_address2 field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return address2 + * @return address2 Additional address information. **/ @ApiModelProperty(value = "Additional address information. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_address2 field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getAddress2() { @@ -161,7 +157,7 @@ public InlineResponse2002OrderInformationBillTo locality(String locality) { /** * City of the billing address. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_city field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return locality + * @return locality City of the billing address. **/ @ApiModelProperty(value = "City of the billing address. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_city field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getLocality() { @@ -179,7 +175,7 @@ public InlineResponse2002OrderInformationBillTo administrativeArea(String admini /** * State or province of the billing address. Use the State, Province, and Territory Codes for the United States and Canada. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_state field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return administrativeArea + * @return administrativeArea State or province of the billing address. **/ @ApiModelProperty(value = "State or province of the billing address. Use the State, Province, and Territory Codes for the United States and Canada. For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_state field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getAdministrativeArea() { @@ -197,7 +193,7 @@ public InlineResponse2002OrderInformationBillTo postalCode(String postalCode) { /** * Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_zip field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return postalCode + * @return postalCode Postal code for the billing address. **/ @ApiModelProperty(value = "Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 For Payouts: This field may be sent only for FDC Compass. For processor-specific information, see the bill_zip field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getPostalCode() { @@ -215,7 +211,7 @@ public InlineResponse2002OrderInformationBillTo county(String county) { /** * TBD - * @return county + * @return county TBD. **/ @ApiModelProperty(value = "TBD") public String getCounty() { @@ -233,7 +229,7 @@ public InlineResponse2002OrderInformationBillTo country(String country) { /** * Country of the billing address. Use the two-character ISO Standard Country Codes. For processor-specific information, see the bill_country field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return country + * @return country Country of the billing address. **/ @ApiModelProperty(value = "Country of the billing address. Use the two-character ISO Standard Country Codes. For processor-specific information, see the bill_country field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getCountry() { @@ -250,8 +246,8 @@ public InlineResponse2002OrderInformationBillTo email(String email) { } /** - * Customer's email address, including the full domain name. For processor-specific information, see the customer_email field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return email + * Customer's email address, including the full domain name. For processor-specific information, see the customer_email field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return email Customer's email address **/ @ApiModelProperty(value = "Customer's email address, including the full domain name. For processor-specific information, see the customer_email field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getEmail() { @@ -268,10 +264,10 @@ public InlineResponse2002OrderInformationBillTo phoneNumber(String phoneNumber) } /** - * Customer’s phone number. For Payouts: This field may be sent only for FDC Compass. CyberSource recommends that you include the country code when the order is from outside the U.S. For processor-specific information, see the customer_phone field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return phoneNumber + * Customer's phone number. For Payouts: This field may be sent only for FDC Compass. CyberSource recommends that you include the country code when the order is from outside the U.S. For processor-specific information, see the customer_phone field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return phoneNumber Customer's phone numbers **/ - @ApiModelProperty(value = "Customer’s phone number. For Payouts: This field may be sent only for FDC Compass. CyberSource recommends that you include the country code when the order is from outside the U.S. For processor-specific information, see the customer_phone field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") + @ApiModelProperty(value = "Customer's phone number. For Payouts: This field may be sent only for FDC Compass. CyberSource recommends that you include the country code when the order is from outside the U.S. For processor-specific information, see the customer_phone field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getPhoneNumber() { return phoneNumber; } diff --git a/src/main/java/Model/InlineResponse2002OrderInformationInvoiceDetails.java b/src/main/java/Model/InlineResponse2002OrderInformationInvoiceDetails.java index 193504434..af807393c 100644 --- a/src/main/java/Model/InlineResponse2002OrderInformationInvoiceDetails.java +++ b/src/main/java/Model/InlineResponse2002OrderInformationInvoiceDetails.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * InlineResponse2002OrderInformationInvoiceDetails @@ -63,7 +58,7 @@ public InlineResponse2002OrderInformationInvoiceDetails purchaseOrderNumber(Stri /** * Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource recommends that you do not populate the field with all zeros or nines. For processor-specific information, see the user_po field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return purchaseOrderNumber + * @return purchaseOrderNumber Value used by your customer to identify the order. **/ @ApiModelProperty(value = "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource recommends that you do not populate the field with all zeros or nines. For processor-specific information, see the user_po field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getPurchaseOrderNumber() { @@ -80,8 +75,8 @@ public InlineResponse2002OrderInformationInvoiceDetails purchaseOrderDate(String } /** - * Date the order was processed. `Format: YYYY-MM-DD`. For processor-specific information, see the purchaser_order_date field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return purchaseOrderDate + * Date the order was processed. For processor-specific information, see the purchaser_order_date field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) + * @return purchaseOrderDate Date the order was processed. **/ @ApiModelProperty(value = "Date the order was processed. `Format: YYYY-MM-DD`. For processor-specific information, see the purchaser_order_date field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getPurchaseOrderDate() { @@ -99,7 +94,7 @@ public InlineResponse2002OrderInformationInvoiceDetails taxable(Boolean taxable) /** * 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. For processor-specific information, see the tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return taxable + * @return taxable Flag that indicates whether an order is 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. For processor-specific information, see the tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public Boolean getTaxable() { @@ -117,7 +112,7 @@ public InlineResponse2002OrderInformationInvoiceDetails vatInvoiceReferenceNumbe /** * VAT invoice number associated with the transaction. For processor-specific information, see the vat_invoice_ref_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return vatInvoiceReferenceNumber + * @return vatInvoiceReferenceNumber VAT invoice number associated with the transaction. **/ @ApiModelProperty(value = "VAT invoice number associated with the transaction. For processor-specific information, see the vat_invoice_ref_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getVatInvoiceReferenceNumber() { @@ -134,10 +129,10 @@ public InlineResponse2002OrderInformationInvoiceDetails commodityCode(String com } /** - * International description code of the overall order’s goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return commodityCode + * International description code of the overall ordered goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) + * @return commodityCode International description code. **/ - @ApiModelProperty(value = "International description code of the overall order’s goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") + @ApiModelProperty(value = "International description code of the overall ordered goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getCommodityCode() { return commodityCode; } @@ -153,7 +148,7 @@ public InlineResponse2002OrderInformationInvoiceDetails merchandiseCode(BigDecim /** * Identifier for the merchandise. Possible value: - 1000: Gift card This field is supported only for **American Express Direct**. - * @return merchandiseCode + * @return merchandiseCode Identifier for the merchandise. **/ @ApiModelProperty(value = "Identifier for the merchandise. Possible value: - 1000: Gift card This field is supported only for **American Express Direct**. ") public BigDecimal getMerchandiseCode() { @@ -179,7 +174,7 @@ public InlineResponse2002OrderInformationInvoiceDetails addTransactionAdviceAdde /** * Get transactionAdviceAddendum - * @return transactionAdviceAddendum + * @return transactionAdviceAddendum Transaction Advice Addendum. **/ @ApiModelProperty(value = "") public List getTransactionAdviceAddendum() { @@ -197,7 +192,7 @@ public InlineResponse2002OrderInformationInvoiceDetails level3TransmissionStatus /** * 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. For processor-specific information, see the bill_purchasing_level3_enabled field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return level3TransmissionStatus + * @return level3TransmissionStatus Indicates whether CyberSource sent the Level III information to the processor. **/ @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. For processor-specific information, see the bill_purchasing_level3_enabled field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public Boolean getLevel3TransmissionStatus() { diff --git a/src/main/java/Model/InlineResponse2002OrderInformationLineItems.java b/src/main/java/Model/InlineResponse2002OrderInformationLineItems.java index f0537a1e6..7f4a79b89 100644 --- a/src/main/java/Model/InlineResponse2002OrderInformationLineItems.java +++ b/src/main/java/Model/InlineResponse2002OrderInformationLineItems.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * InlineResponse2002OrderInformationLineItems @@ -90,7 +85,7 @@ public InlineResponse2002OrderInformationLineItems productCode(String productCod /** * Type of product. This value is used to determine the category that the product is in: electronic, handling, physical, service, or shipping. The default value is **default**. For a payment, when you set this field to a value other than default or any of the values related to shipping and handling, below fields _quantity_, _productName_, and _productSKU_ are required. - * @return productCode + * @return productCode Type of product. **/ @ApiModelProperty(value = "Type of product. This value is used to determine the category that the product is in: electronic, handling, physical, service, or shipping. The default value is **default**. For a payment, when you set this field to a value other than default or any of the values related to shipping and handling, below fields _quantity_, _productName_, and _productSKU_ are required. ") public String getProductCode() { @@ -108,7 +103,7 @@ public InlineResponse2002OrderInformationLineItems productName(String productNam /** * For PAYMENT and CAPTURE API, this field is required when above _productCode_ is not **default** or one of the values related to shipping and handling. - * @return productName + * @return productName Product Name. **/ @ApiModelProperty(value = "For PAYMENT and CAPTURE API, this field is required when above _productCode_ is not **default** or one of the values related to shipping and handling. ") public String getProductName() { @@ -126,7 +121,7 @@ public InlineResponse2002OrderInformationLineItems productSku(String productSku) /** * Identification code for the product. For PAYMENT and CAPTURE API, this field is required when above _productCode_ is not **default** or one of the values related to shipping and/or handling. - * @return productSku + * @return productSku Identification code for the product. **/ @ApiModelProperty(value = "Identification code for the product. For PAYMENT and CAPTURE API, this field is required when above _productCode_ is not **default** or one of the values related to shipping and/or handling. ") public String getProductSku() { @@ -146,7 +141,7 @@ public InlineResponse2002OrderInformationLineItems quantity(BigDecimal quantity) * For a payment or capture, this field is required when _productCode_ is not **default** or one of the values related to shipping and handling. * minimum: 1 * maximum: 9999999999 - * @return quantity + * @return quantity Quantity. **/ @ApiModelProperty(value = "For a payment or capture, this field is required when _productCode_ is not **default** or one of the values related to shipping and handling. ") public BigDecimal getQuantity() { @@ -182,7 +177,7 @@ public InlineResponse2002OrderInformationLineItems unitOfMeasure(String unitOfMe /** * Unit of measure, or unit of measure code, for the item. - * @return unitOfMeasure + * @return unitOfMeasure Unit of measure. **/ @ApiModelProperty(value = "Unit of measure, or unit of measure code, for the item. ") public String getUnitOfMeasure() { @@ -200,7 +195,7 @@ public InlineResponse2002OrderInformationLineItems totalAmount(String totalAmoun /** * Total amount for the item. Normally calculated as the unit price x quantity. - * @return totalAmount + * @return totalAmount Total amount for the item. **/ @ApiModelProperty(value = "Total amount for the item. Normally calculated as the unit price x quantity. ") public String getTotalAmount() { @@ -218,7 +213,7 @@ public InlineResponse2002OrderInformationLineItems taxAmount(String taxAmount) { /** * Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. This field is frequently used for Level II and Level III transactions. - * @return taxAmount + * @return taxAmount Total tax to apply to the product. **/ @ApiModelProperty(value = "Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. This field is frequently used for Level II and Level III transactions. ") public String getTaxAmount() { @@ -236,7 +231,7 @@ public InlineResponse2002OrderInformationLineItems taxRate(String taxRate) { /** * Tax rate applied to the item. See \"Numbered Elements,\" page 14. Visa: Valid range is 0.01 to 0.99 (1% to 99%, with only whole percentage values accepted; values with additional decimal places will be truncated). Mastercard: Valid range is 0.00001 to 0.99999 (0.001% to 99.999%). - * @return taxRate + * @return taxRate Tax rate applied to the item. **/ @ApiModelProperty(value = "Tax rate applied to the item. See \"Numbered Elements,\" page 14. Visa: Valid range is 0.01 to 0.99 (1% to 99%, with only whole percentage values accepted; values with additional decimal places will be truncated). Mastercard: Valid range is 0.00001 to 0.99999 (0.001% to 99.999%). ") public String getTaxRate() { @@ -254,7 +249,7 @@ public InlineResponse2002OrderInformationLineItems taxTypeCode(String taxTypeCod /** * Type of tax being applied to the item. Possible values: Below values are used by **RBS WorldPay Atlanta**, **FDC Nashville Global**, **Litle** - 0000: unknown tax type - 0001: federal/national sales tax - 0002: state sales tax - 0003: city sales tax - 0004: local sales tax - 0005: municipal sales tax - 0006: other tax - 0010: value-added tax - 0011: goods and services tax - 0012: provincial sales tax - 0013: harmonized sales tax - 0014: Quebec sales tax (QST) - 0020: room tax - 0021: occupancy tax - 0022: energy tax - Blank: Tax not supported on line item. - * @return taxTypeCode + * @return taxTypeCode Type of tax being applied to the item. **/ @ApiModelProperty(value = "Type of tax being applied to the item. Possible values: Below values are used by **RBS WorldPay Atlanta**, **FDC Nashville Global**, **Litle** - 0000: unknown tax type - 0001: federal/national sales tax - 0002: state sales tax - 0003: city sales tax - 0004: local sales tax - 0005: municipal sales tax - 0006: other tax - 0010: value-added tax - 0011: goods and services tax - 0012: provincial sales tax - 0013: harmonized sales tax - 0014: Quebec sales tax (QST) - 0020: room tax - 0021: occupancy tax - 0022: energy tax - Blank: Tax not supported on line item. ") public String getTaxTypeCode() { @@ -272,7 +267,7 @@ public InlineResponse2002OrderInformationLineItems amountIncludesTax(Boolean amo /** * Flag that indicates whether the tax amount is included in the Line Item Total. - * @return amountIncludesTax + * @return amountIncludesTax Flag that indicates whether the tax amount is included in the Line Item Total. **/ @ApiModelProperty(value = "Flag that indicates whether the tax amount is included in the Line Item Total. ") public Boolean getAmountIncludesTax() { @@ -290,7 +285,7 @@ public InlineResponse2002OrderInformationLineItems commodityCode(String commodit /** * Commodity code or International description code used to classify the item. Contact your acquirer for a list of codes. - * @return commodityCode + * @return commodityCode Commodity code or International description code used to classify the item. Contact your acquirer for a list of codes. **/ @ApiModelProperty(value = "Commodity code or International description code used to classify the item. Contact your acquirer for a list of codes. ") public String getCommodityCode() { @@ -308,7 +303,7 @@ public InlineResponse2002OrderInformationLineItems discountAmount(String discoun /** * Discount applied to the item. - * @return discountAmount + * @return discountAmount Discount applied to the item. **/ @ApiModelProperty(value = "Discount applied to the item.") public String getDiscountAmount() { @@ -326,7 +321,7 @@ public InlineResponse2002OrderInformationLineItems discountApplied(Boolean disco /** * 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**. - * @return discountApplied + * @return discountApplied Flag that indicates whether the amount is discounted. **/ @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**. ") public Boolean getDiscountApplied() { @@ -344,7 +339,7 @@ public InlineResponse2002OrderInformationLineItems discountRate(String discountR /** * Rate the item is discounted. Maximum of 2 decimal places. Example 5.25 (=5.25%) - * @return discountRate + * @return discountRate Rate the item is discounted. **/ @ApiModelProperty(value = "Rate the item is discounted. Maximum of 2 decimal places. Example 5.25 (=5.25%) ") public String getDiscountRate() { @@ -362,7 +357,7 @@ public InlineResponse2002OrderInformationLineItems invoiceNumber(String invoiceN /** * Field to support an invoice number for a transaction. You must specify the number of line items that will include an invoice number. By default, the first line item will include an invoice number field. The invoice number field can be included for up to 10 line items. - * @return invoiceNumber + * @return invoiceNumber Field to support an invoice number for a transaction. **/ @ApiModelProperty(value = "Field to support an invoice number for a transaction. You must specify the number of line items that will include an invoice number. By default, the first line item will include an invoice number field. The invoice number field can be included for up to 10 line items. ") public String getInvoiceNumber() { @@ -388,7 +383,7 @@ public InlineResponse2002OrderInformationLineItems addTaxDetailsItem(V2paymentsO /** * Get taxDetails - * @return taxDetails + * @return taxDetails object. **/ @ApiModelProperty(value = "") public List getTaxDetails() { diff --git a/src/main/java/Model/InlineResponse2002OrderInformationShipTo.java b/src/main/java/Model/InlineResponse2002OrderInformationShipTo.java index 4ba34f420..eec311ebb 100644 --- a/src/main/java/Model/InlineResponse2002OrderInformationShipTo.java +++ b/src/main/java/Model/InlineResponse2002OrderInformationShipTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002OrderInformationShipTo @@ -71,7 +67,7 @@ public InlineResponse2002OrderInformationShipTo firstName(String firstName) { /** * First name of the recipient. **Processor specific maximum length** - Litle: 25 - All other processors: 60 - * @return firstName + * @return firstName First name of the recipient. **/ @ApiModelProperty(value = "First name of the recipient. **Processor specific maximum length** - Litle: 25 - All other processors: 60 ") public String getFirstName() { @@ -89,7 +85,7 @@ public InlineResponse2002OrderInformationShipTo lastName(String lastName) { /** * Last name of the recipient. **Processor specific maximum length** - Litle: 25 - All other processors: 60 - * @return lastName + * @return lastName Last name of the recipient. **/ @ApiModelProperty(value = "Last name of the recipient. **Processor specific maximum length** - Litle: 25 - All other processors: 60 ") public String getLastName() { @@ -107,7 +103,7 @@ public InlineResponse2002OrderInformationShipTo company(String company) { /** * TBD - * @return company + * @return company TBD **/ @ApiModelProperty(value = "TBD") public String getCompany() { @@ -125,7 +121,7 @@ public InlineResponse2002OrderInformationShipTo address1(String address1) { /** * First line of the shipping address. - * @return address1 + * @return address1 First line of the shipping address. **/ @ApiModelProperty(value = "First line of the shipping address.") public String getAddress1() { @@ -143,7 +139,7 @@ public InlineResponse2002OrderInformationShipTo address2(String address2) { /** * Second line of the shipping address. - * @return address2 + * @return address2 Second line of the shipping address. **/ @ApiModelProperty(value = "Second line of the shipping address.") public String getAddress2() { @@ -161,7 +157,7 @@ public InlineResponse2002OrderInformationShipTo locality(String locality) { /** * City of the shipping address. - * @return locality + * @return locality City of the shipping address. **/ @ApiModelProperty(value = "City of the shipping address.") public String getLocality() { @@ -179,7 +175,7 @@ public InlineResponse2002OrderInformationShipTo administrativeArea(String admini /** * State or province of the shipping address. Use the State, Province, and Territory Codes for the United States and Canada. - * @return administrativeArea + * @return administrativeArea State or province of the shipping address. **/ @ApiModelProperty(value = "State or province of the shipping address. Use the State, Province, and Territory Codes for the United States and Canada. ") public String getAdministrativeArea() { @@ -197,7 +193,7 @@ public InlineResponse2002OrderInformationShipTo postalCode(String postalCode) { /** * Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 - * @return postalCode + * @return postalCode Postal code for the shipping address. **/ @ApiModelProperty(value = "Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 ") public String getPostalCode() { @@ -215,7 +211,7 @@ public InlineResponse2002OrderInformationShipTo county(String county) { /** * TBD - * @return county + * @return county TBD **/ @ApiModelProperty(value = "TBD") public String getCounty() { @@ -233,7 +229,7 @@ public InlineResponse2002OrderInformationShipTo country(String country) { /** * Country of the shipping address. Use the two character ISO Standard Country Codes. - * @return country + * @return country Country of the shipping address. **/ @ApiModelProperty(value = "Country of the shipping address. Use the two character ISO Standard Country Codes.") public String getCountry() { @@ -251,7 +247,7 @@ public InlineResponse2002OrderInformationShipTo email(String email) { /** * TBD - * @return email + * @return email - Email **/ @ApiModelProperty(value = "TBD") public String getEmail() { @@ -269,7 +265,7 @@ public InlineResponse2002OrderInformationShipTo phoneNumber(String phoneNumber) /** * Phone number for the shipping address. - * @return phoneNumber + * @return phoneNumber Phone number for the shipping address. **/ @ApiModelProperty(value = "Phone number for the shipping address.") public String getPhoneNumber() { diff --git a/src/main/java/Model/InlineResponse2002PaymentInformation.java b/src/main/java/Model/InlineResponse2002PaymentInformation.java index 4644f4372..1984b99e4 100644 --- a/src/main/java/Model/InlineResponse2002PaymentInformation.java +++ b/src/main/java/Model/InlineResponse2002PaymentInformation.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse2002PaymentInformationCard; -import Model.InlineResponse2002PaymentInformationTokenizedCard; -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; /** * InlineResponse2002PaymentInformation @@ -43,7 +37,7 @@ public InlineResponse2002PaymentInformation card(InlineResponse2002PaymentInform /** * Get card - * @return card + * @return card - Card. **/ @ApiModelProperty(value = "") public InlineResponse2002PaymentInformationCard getCard() { @@ -61,7 +55,7 @@ public InlineResponse2002PaymentInformation tokenizedCard(InlineResponse2002Paym /** * Get tokenizedCard - * @return tokenizedCard + * @return tokenizedCard Get tokenizedCard. **/ @ApiModelProperty(value = "") public InlineResponse2002PaymentInformationTokenizedCard getTokenizedCard() { diff --git a/src/main/java/Model/InlineResponse2002PaymentInformationCard.java b/src/main/java/Model/InlineResponse2002PaymentInformationCard.java index 410fb4f6f..15d20b3c5 100644 --- a/src/main/java/Model/InlineResponse2002PaymentInformationCard.java +++ b/src/main/java/Model/InlineResponse2002PaymentInformationCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002PaymentInformationCard @@ -46,10 +42,10 @@ public InlineResponse2002PaymentInformationCard suffix(String suffix) { } /** - * Last four digits of the cardholder’s account number. This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. - * @return suffix + * Last four digits of the cardholder's account number. This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. + * @return suffix Last four digits of the cardholder's account number. **/ - @ApiModelProperty(value = "Last four digits of the cardholder’s account number. This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. ") + @ApiModelProperty(value = "Last four digits of the cardholder's account number. This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. ") public String getSuffix() { return suffix; } @@ -64,8 +60,8 @@ public InlineResponse2002PaymentInformationCard expirationMonth(String expiratio } /** - * Two-digit month in which the credit card expires. `Format: MM`. Possible values: 01 through 12. **Encoded Account Numbers** For encoded account numbers (_type_=039), if there is no expiration date on the card, use 12. For processor-specific information, see the customer_cc_expmo field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return expirationMonth + * Two-digit month in which the credit card expires.Possible values: 01 through 12. **Encoded Account Numbers** For encoded account numbers (_type_=039), if there is no expiration date on the card, use 12. For processor-specific information, see the customer_cc_expmo field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return expirationMonth Two-digit month in which the credit card expires. **/ @ApiModelProperty(value = "Two-digit month in which the credit card expires. `Format: MM`. Possible values: 01 through 12. **Encoded Account Numbers** For encoded account numbers (_type_=039), if there is no expiration date on the card, use 12. For processor-specific information, see the customer_cc_expmo field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getExpirationMonth() { @@ -82,8 +78,8 @@ public InlineResponse2002PaymentInformationCard expirationYear(String expiration } /** - * Four-digit year in which the credit card expires. `Format: YYYY`. **Encoded Account Numbers** For encoded account numbers (_type_=039), if there is no expiration date on the card, use 2021. For processor-specific information, see the customer_cc_expyr field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return expirationYear + * Four-digit year in which the credit card expires. **Encoded Account Numbers** For encoded account numbers (_type_=039), if there is no expiration date on the card, use 2021. For processor-specific information, see the customer_cc_expyr field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + * @return expirationYear Four-digit year in which the credit card expires. **/ @ApiModelProperty(value = "Four-digit year in which the credit card expires. `Format: YYYY`. **Encoded Account Numbers** For encoded account numbers (_type_=039), if there is no expiration date on the card, use 2021. For processor-specific information, see the customer_cc_expyr field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getExpirationYear() { @@ -101,7 +97,7 @@ public InlineResponse2002PaymentInformationCard type(String type) { /** * Type of card to authorize. - 001 Visa - 002 Mastercard - 003 Amex - 004 Discover - * @return type + * @return type Type of card to authorize. **/ @ApiModelProperty(value = "Type of card to authorize. - 001 Visa - 002 Mastercard - 003 Amex - 004 Discover ") public String getType() { diff --git a/src/main/java/Model/InlineResponse2002PaymentInformationTokenizedCard.java b/src/main/java/Model/InlineResponse2002PaymentInformationTokenizedCard.java index c98893ab7..64a0c00bc 100644 --- a/src/main/java/Model/InlineResponse2002PaymentInformationTokenizedCard.java +++ b/src/main/java/Model/InlineResponse2002PaymentInformationTokenizedCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002PaymentInformationTokenizedCard @@ -50,7 +46,7 @@ public InlineResponse2002PaymentInformationTokenizedCard prefix(String prefix) { /** * First six digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. - * @return prefix + * @return prefix First six digits of token. **/ @ApiModelProperty(value = "First six digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. ") public String getPrefix() { @@ -68,7 +64,7 @@ public InlineResponse2002PaymentInformationTokenizedCard suffix(String suffix) { /** * Last four digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. - * @return suffix + * @return suffix Last four digits of token. **/ @ApiModelProperty(value = "Last four digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. ") public String getSuffix() { @@ -86,7 +82,7 @@ public InlineResponse2002PaymentInformationTokenizedCard type(String type) { /** * Type of card to authorize. - 001 Visa - 002 Mastercard - 003 Amex - 004 Discover - * @return type + * @return type Type of card to authorize. **/ @ApiModelProperty(value = "Type of card to authorize. - 001 Visa - 002 Mastercard - 003 Amex - 004 Discover ") public String getType() { @@ -103,8 +99,8 @@ public InlineResponse2002PaymentInformationTokenizedCard expirationMonth(String } /** - * Two-digit month in which the payment network token expires. `Format: MM`. Possible values: 01 through 12. - * @return expirationMonth + * Two-digit month in which the payment network token expires. Possible values: 01 through 12. + * @return expirationMonth Two-digit month in which the payment network token expires. **/ @ApiModelProperty(value = "Two-digit month in which the payment network token expires. `Format: MM`. Possible values: 01 through 12. ") public String getExpirationMonth() { @@ -121,8 +117,8 @@ public InlineResponse2002PaymentInformationTokenizedCard expirationYear(String e } /** - * Four-digit year in which the payment network token expires. `Format: YYYY`. - * @return expirationYear + * Four-digit year in which the payment network token expires. + * @return expirationYear Four-digit year in which the payment network token expires. **/ @ApiModelProperty(value = "Four-digit year in which the payment network token expires. `Format: YYYY`. ") public String getExpirationYear() { diff --git a/src/main/java/Model/InlineResponse2002ProcessingInformation.java b/src/main/java/Model/InlineResponse2002ProcessingInformation.java index e2d23745f..526dc06ec 100644 --- a/src/main/java/Model/InlineResponse2002ProcessingInformation.java +++ b/src/main/java/Model/InlineResponse2002ProcessingInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002ProcessingInformation @@ -38,7 +34,7 @@ public InlineResponse2002ProcessingInformation paymentSolution(String paymentSol /** * Type of digital payment solution that is being used for the transaction. Possible Values: - **visacheckout**: Visa Checkout. - **001**: Apple Pay. - **005**: Masterpass. Required for Masterpass transactions on OmniPay Direct. - **006**: Android Pay. - **008**: Samsung Pay. - * @return paymentSolution + * @return paymentSolution Type of digital payment solution that is being used for the transaction. **/ @ApiModelProperty(value = "Type of digital payment solution that is being used for the transaction. Possible Values: - **visacheckout**: Visa Checkout. - **001**: Apple Pay. - **005**: Masterpass. Required for Masterpass transactions on OmniPay Direct. - **006**: Android Pay. - **008**: Samsung Pay. ") public String getPaymentSolution() { diff --git a/src/main/java/Model/InlineResponse2002ProcessorInformation.java b/src/main/java/Model/InlineResponse2002ProcessorInformation.java index c5d1b1146..659bf0e55 100644 --- a/src/main/java/Model/InlineResponse2002ProcessorInformation.java +++ b/src/main/java/Model/InlineResponse2002ProcessorInformation.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse2002ProcessorInformationAvs; -import Model.InlineResponse2002ProcessorInformationCardVerification; -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; /** * InlineResponse2002ProcessorInformation @@ -49,7 +43,7 @@ public InlineResponse2002ProcessorInformation approvalCode(String approvalCode) /** * Authorization code. Returned only when the processor returns this value. - * @return approvalCode + * @return approvalCode Authorization code. **/ @ApiModelProperty(value = "Authorization code. Returned only when the processor returns this value. ") public String getApprovalCode() { @@ -67,7 +61,7 @@ public InlineResponse2002ProcessorInformation cardVerification(InlineResponse200 /** * Get cardVerification - * @return cardVerification + * @return cardVerification card Verification **/ @ApiModelProperty(value = "") public InlineResponse2002ProcessorInformationCardVerification getCardVerification() { @@ -103,7 +97,7 @@ public InlineResponse2002ProcessorInformation transactionId(String transactionId /** * Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. - * @return transactionId + * @return transactionId Network transaction identifier **/ @ApiModelProperty(value = "Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. ") public String getTransactionId() { diff --git a/src/main/java/Model/InlineResponse2002ProcessorInformationAvs.java b/src/main/java/Model/InlineResponse2002ProcessorInformationAvs.java index 41cb17df5..8e9f4d96e 100644 --- a/src/main/java/Model/InlineResponse2002ProcessorInformationAvs.java +++ b/src/main/java/Model/InlineResponse2002ProcessorInformationAvs.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002ProcessorInformationAvs @@ -38,7 +34,7 @@ public InlineResponse2002ProcessorInformationAvs code(String code) { /** * AVS result code. - * @return code + * @return code AVS result code. **/ @ApiModelProperty(value = "AVS result code. ") public String getCode() { diff --git a/src/main/java/Model/InlineResponse2002ProcessorInformationCardVerification.java b/src/main/java/Model/InlineResponse2002ProcessorInformationCardVerification.java index 717024fbe..40256f45e 100644 --- a/src/main/java/Model/InlineResponse2002ProcessorInformationCardVerification.java +++ b/src/main/java/Model/InlineResponse2002ProcessorInformationCardVerification.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2002ProcessorInformationCardVerification @@ -38,7 +34,7 @@ public InlineResponse2002ProcessorInformationCardVerification resultCode(String /** * CVN result code. - * @return resultCode + * @return resultCode CVN result code. **/ @ApiModelProperty(value = "CVN result code. ") public String getResultCode() { diff --git a/src/main/java/Model/InlineResponse2003.java b/src/main/java/Model/InlineResponse2003.java index b4d5693fe..a1cb15ef1 100644 --- a/src/main/java/Model/InlineResponse2003.java +++ b/src/main/java/Model/InlineResponse2003.java @@ -13,19 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2011ProcessorInformation; -import Model.InlineResponse2011ReversalAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; -import Model.InlineResponse201EmbeddedCaptureLinks; + 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; /** * InlineResponse2003 @@ -108,7 +105,7 @@ public InlineResponse2003 links(InlineResponse201EmbeddedCaptureLinks links) { /** * Get links - * @return links + * @return links Get links. **/ @ApiModelProperty(value = "") public InlineResponse201EmbeddedCaptureLinks getLinks() { @@ -126,7 +123,7 @@ public InlineResponse2003 id(String id) { /** * An unique identification number assigned by CyberSource to identify the submitted request. - * @return id + * @return id unique identification number. **/ @ApiModelProperty(value = "An unique identification number assigned by CyberSource to identify the submitted request.") public String getId() { @@ -143,8 +140,8 @@ public InlineResponse2003 submitTimeUtc(String submitTimeUtc) { } /** - * 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. - * @return submitTimeUtc + * Time of request in UTC. 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. + * @return submitTimeUtc Time of request in UTC. **/ @ApiModelProperty(value = "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. ") public String getSubmitTimeUtc() { @@ -162,7 +159,7 @@ public InlineResponse2003 status(StatusEnum status) { /** * The status of the submitted transaction. - * @return status + * @return status The status of the submitted transaction. **/ @ApiModelProperty(value = "The status of the submitted transaction.") public StatusEnum getStatus() { @@ -180,7 +177,7 @@ public InlineResponse2003 reconciliationId(String reconciliationId) { /** * The reconciliation id for the submitted transaction. This value is not returned for all processors. - * @return reconciliationId + * @return reconciliationId The reconciliation id for the submitted transaction. **/ @ApiModelProperty(value = "The reconciliation id for the submitted transaction. This value is not returned for all processors. ") public String getReconciliationId() { @@ -198,7 +195,7 @@ public InlineResponse2003 clientReferenceInformation(InlineResponse201ClientRefe /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation client Reference Information. **/ @ApiModelProperty(value = "") public InlineResponse201ClientReferenceInformation getClientReferenceInformation() { @@ -216,7 +213,7 @@ public InlineResponse2003 processorInformation(InlineResponse2011ProcessorInform /** * Get processorInformation - * @return processorInformation + * @return processorInformation processor Information. **/ @ApiModelProperty(value = "") public InlineResponse2011ProcessorInformation getProcessorInformation() { @@ -234,7 +231,7 @@ public InlineResponse2003 reversalAmountDetails(InlineResponse2011ReversalAmount /** * Get reversalAmountDetails - * @return reversalAmountDetails + * @return reversalAmountDetails reversal AmountDetails. **/ @ApiModelProperty(value = "") public InlineResponse2011ReversalAmountDetails getReversalAmountDetails() { diff --git a/src/main/java/Model/InlineResponse2004.java b/src/main/java/Model/InlineResponse2004.java index f8cd09c0c..616a1ea70 100644 --- a/src/main/java/Model/InlineResponse2004.java +++ b/src/main/java/Model/InlineResponse2004.java @@ -13,23 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2002MerchantInformation; -import Model.InlineResponse2004DeviceInformation; -import Model.InlineResponse2004OrderInformation; -import Model.InlineResponse2004ProcessingInformation; -import Model.InlineResponse2012Links; -import Model.InlineResponse2012ProcessorInformation; -import Model.InlineResponse201ClientReferenceInformation; -import Model.V2paymentsidcapturesBuyerInformation; + 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; /** * InlineResponse2004 @@ -130,7 +123,7 @@ public InlineResponse2004 links(InlineResponse2012Links links) { /** * Get links - * @return links + * @return links Get links **/ @ApiModelProperty(value = "") public InlineResponse2012Links getLinks() { @@ -148,7 +141,7 @@ public InlineResponse2004 id(String id) { /** * An unique identification number assigned by CyberSource to identify the submitted request. - * @return id + * @return id unique identification number. **/ @ApiModelProperty(value = "An unique identification number assigned by CyberSource to identify the submitted request.") public String getId() { @@ -165,8 +158,8 @@ public InlineResponse2004 submitTimeUtc(String submitTimeUtc) { } /** - * 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. - * @return submitTimeUtc + * Time of request in UTC. 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. + * @return submitTimeUtc Time of request in UTC. **/ @ApiModelProperty(value = "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. ") public String getSubmitTimeUtc() { @@ -184,7 +177,7 @@ public InlineResponse2004 status(StatusEnum status) { /** * The status of the submitted transaction. - * @return status + * @return status The status of the submitted transaction. **/ @ApiModelProperty(value = "The status of the submitted transaction.") public StatusEnum getStatus() { @@ -202,7 +195,7 @@ public InlineResponse2004 reconciliationId(String reconciliationId) { /** * The reconciliation id for the submitted transaction. This value is not returned for all processors. - * @return reconciliationId + * @return reconciliationId The reconciliation id for the submitted transaction. **/ @ApiModelProperty(value = "The reconciliation id for the submitted transaction. This value is not returned for all processors. ") public String getReconciliationId() { @@ -220,7 +213,7 @@ public InlineResponse2004 clientReferenceInformation(InlineResponse201ClientRefe /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation client Reference Information. **/ @ApiModelProperty(value = "") public InlineResponse201ClientReferenceInformation getClientReferenceInformation() { @@ -238,7 +231,7 @@ public InlineResponse2004 processingInformation(InlineResponse2004ProcessingInfo /** * Get processingInformation - * @return processingInformation + * @return processingInformation processing Information. **/ @ApiModelProperty(value = "") public InlineResponse2004ProcessingInformation getProcessingInformation() { @@ -256,7 +249,7 @@ public InlineResponse2004 processorInformation(InlineResponse2012ProcessorInform /** * Get processorInformation - * @return processorInformation + * @return processorInformation processor Information. **/ @ApiModelProperty(value = "") public InlineResponse2012ProcessorInformation getProcessorInformation() { @@ -274,7 +267,7 @@ public InlineResponse2004 orderInformation(InlineResponse2004OrderInformation or /** * Get orderInformation - * @return orderInformation + * @return orderInformation order Information. **/ @ApiModelProperty(value = "") public InlineResponse2004OrderInformation getOrderInformation() { @@ -292,7 +285,7 @@ public InlineResponse2004 buyerInformation(V2paymentsidcapturesBuyerInformation /** * Get buyerInformation - * @return buyerInformation + * @return buyerInformation buyer Information. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesBuyerInformation getBuyerInformation() { @@ -310,7 +303,7 @@ public InlineResponse2004 merchantInformation(InlineResponse2002MerchantInformat /** * Get merchantInformation - * @return merchantInformation + * @return merchantInformation merchant Information. **/ @ApiModelProperty(value = "") public InlineResponse2002MerchantInformation getMerchantInformation() { @@ -328,7 +321,7 @@ public InlineResponse2004 deviceInformation(InlineResponse2004DeviceInformation /** * Get deviceInformation - * @return deviceInformation + * @return deviceInformation device Information **/ @ApiModelProperty(value = "") public InlineResponse2004DeviceInformation getDeviceInformation() { diff --git a/src/main/java/Model/InlineResponse2004DeviceInformation.java b/src/main/java/Model/InlineResponse2004DeviceInformation.java index 6c9666ba7..d1eb360fd 100644 --- a/src/main/java/Model/InlineResponse2004DeviceInformation.java +++ b/src/main/java/Model/InlineResponse2004DeviceInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2004DeviceInformation @@ -38,7 +34,7 @@ public InlineResponse2004DeviceInformation ipAddress(String ipAddress) { /** * IP address of the customer. - * @return ipAddress + * @return ipAddress IP address of the customer. **/ @ApiModelProperty(value = "IP address of the customer.") public String getIpAddress() { diff --git a/src/main/java/Model/InlineResponse2004OrderInformation.java b/src/main/java/Model/InlineResponse2004OrderInformation.java index 7da60f7a1..5ddd54614 100644 --- a/src/main/java/Model/InlineResponse2004OrderInformation.java +++ b/src/main/java/Model/InlineResponse2004OrderInformation.java @@ -13,23 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse2002OrderInformationBillTo; -import Model.InlineResponse2002OrderInformationLineItems; -import Model.InlineResponse2004OrderInformationAmountDetails; -import Model.InlineResponse2004OrderInformationInvoiceDetails; -import Model.InlineResponse2004OrderInformationShipTo; -import Model.V2paymentsidcapturesOrderInformationShippingDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse2004OrderInformation @@ -61,7 +51,7 @@ public InlineResponse2004OrderInformation amountDetails(InlineResponse2004OrderI /** * Get amountDetails - * @return amountDetails + * @return amountDetails amount Details. **/ @ApiModelProperty(value = "") public InlineResponse2004OrderInformationAmountDetails getAmountDetails() { @@ -79,7 +69,7 @@ public InlineResponse2004OrderInformation billTo(InlineResponse2002OrderInformat /** * Get billTo - * @return billTo + * @return billTo bill To. **/ @ApiModelProperty(value = "") public InlineResponse2002OrderInformationBillTo getBillTo() { @@ -97,7 +87,7 @@ public InlineResponse2004OrderInformation shipTo(InlineResponse2004OrderInformat /** * Get shipTo - * @return shipTo + * @return shipTo ship To. **/ @ApiModelProperty(value = "") public InlineResponse2004OrderInformationShipTo getShipTo() { @@ -123,7 +113,7 @@ public InlineResponse2004OrderInformation addLineItemsItem(InlineResponse2002Ord /** * Get lineItems - * @return lineItems + * @return lineItems line Items. **/ @ApiModelProperty(value = "") public List getLineItems() { @@ -141,7 +131,7 @@ public InlineResponse2004OrderInformation invoiceDetails(InlineResponse2004Order /** * Get invoiceDetails - * @return invoiceDetails + * @return invoiceDetails invoice Details. **/ @ApiModelProperty(value = "") public InlineResponse2004OrderInformationInvoiceDetails getInvoiceDetails() { @@ -159,7 +149,7 @@ public InlineResponse2004OrderInformation shippingDetails(V2paymentsidcapturesOr /** * Get shippingDetails - * @return shippingDetails + * @return shippingDetails shipping Details. **/ @ApiModelProperty(value = "") public V2paymentsidcapturesOrderInformationShippingDetails getShippingDetails() { diff --git a/src/main/java/Model/InlineResponse2004OrderInformationAmountDetails.java b/src/main/java/Model/InlineResponse2004OrderInformationAmountDetails.java index 14a652976..63a856594 100644 --- a/src/main/java/Model/InlineResponse2004OrderInformationAmountDetails.java +++ b/src/main/java/Model/InlineResponse2004OrderInformationAmountDetails.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse2004OrderInformationAmountDetails @@ -62,7 +57,7 @@ public InlineResponse2004OrderInformationAmountDetails totalAmount(String totalA /** * Grand total for the order. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. * CTV, FDCCompass, Paymentech (<= 12) For processor-specific information, see the grand_total_amount field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return totalAmount + * @return totalAmount Grand total for the order. **/ @ApiModelProperty(value = "Grand total for the order. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. * CTV, FDCCompass, Paymentech (<= 12) For processor-specific information, see the grand_total_amount field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getTotalAmount() { @@ -80,7 +75,7 @@ public InlineResponse2004OrderInformationAmountDetails currency(String currency) /** * Currency used for the order. Use the three-character ISO Standard Currency Codes. For an authorization reversal or a capture, you must use the same currency that you used in your request for Payment API. - * @return currency + * @return currency Currency used for the order. **/ @ApiModelProperty(value = "Currency used for the order. Use the three-character ISO Standard Currency Codes. For an authorization reversal or a capture, you must use the same currency that you used in your request for Payment API. ") public String getCurrency() { @@ -98,7 +93,7 @@ public InlineResponse2004OrderInformationAmountDetails discountAmount(String dis /** * Total discount amount applied to the order. For processor-specific information, see the order_discount_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return discountAmount + * @return discountAmount Total discount amount applied to the order. **/ @ApiModelProperty(value = "Total discount amount applied to the order. For processor-specific information, see the order_discount_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getDiscountAmount() { @@ -116,7 +111,7 @@ public InlineResponse2004OrderInformationAmountDetails dutyAmount(String dutyAmo /** * Total charges for any import or export duties included in the order. For processor-specific information, see the duty_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return dutyAmount + * @return dutyAmount Total charges for any import or export duties included in the order. **/ @ApiModelProperty(value = "Total charges for any import or export duties included in the order. For processor-specific information, see the duty_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getDutyAmount() { @@ -134,7 +129,7 @@ public InlineResponse2004OrderInformationAmountDetails taxAmount(String taxAmoun /** * Total tax amount for all the items in the order. For processor-specific information, see the total_tax_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return taxAmount + * @return taxAmount Total tax amount for all the items in the order. **/ @ApiModelProperty(value = "Total tax amount for all the items in the order. For processor-specific information, see the total_tax_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getTaxAmount() { @@ -152,7 +147,7 @@ public InlineResponse2004OrderInformationAmountDetails nationalTaxIncluded(Strin /** * Flag that indicates whether a national tax is included in the order total. Possible values: - **0**: national tax not included - **1**: national tax included For processor-specific information, see the national_tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return nationalTaxIncluded + * @return nationalTaxIncluded Flag that indicates whether a national tax is included in the order total. **/ @ApiModelProperty(value = "Flag that indicates whether a national tax is included in the order total. Possible values: - **0**: national tax not included - **1**: national tax included For processor-specific information, see the national_tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getNationalTaxIncluded() { @@ -170,7 +165,7 @@ public InlineResponse2004OrderInformationAmountDetails freightAmount(String frei /** * Total freight or shipping and handling charges for the order. When you include this field in your request, you must also include the **totalAmount** field. For processor-specific information, see the freight_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return freightAmount + * @return freightAmount Total freight or shipping and handling charges for the order. **/ @ApiModelProperty(value = "Total freight or shipping and handling charges for the order. When you include this field in your request, you must also include the **totalAmount** field. For processor-specific information, see the freight_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getFreightAmount() { @@ -196,7 +191,7 @@ public InlineResponse2004OrderInformationAmountDetails addTaxDetailsItem(V2payme /** * Get taxDetails - * @return taxDetails + * @return taxDetails tax Details. **/ @ApiModelProperty(value = "") public List getTaxDetails() { diff --git a/src/main/java/Model/InlineResponse2004OrderInformationInvoiceDetails.java b/src/main/java/Model/InlineResponse2004OrderInformationInvoiceDetails.java index 526720f9e..9e94c554f 100644 --- a/src/main/java/Model/InlineResponse2004OrderInformationInvoiceDetails.java +++ b/src/main/java/Model/InlineResponse2004OrderInformationInvoiceDetails.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse2004OrderInformationInvoiceDetails @@ -59,7 +54,7 @@ public InlineResponse2004OrderInformationInvoiceDetails purchaseOrderNumber(Stri /** * Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource recommends that you do not populate the field with all zeros or nines. For processor-specific information, see the user_po field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return purchaseOrderNumber + * @return purchaseOrderNumber Value used by your customer to identify the order. **/ @ApiModelProperty(value = "Value used by your customer to identify the order. This value is typically a purchase order number. CyberSource recommends that you do not populate the field with all zeros or nines. For processor-specific information, see the user_po field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getPurchaseOrderNumber() { @@ -76,8 +71,8 @@ public InlineResponse2004OrderInformationInvoiceDetails purchaseOrderDate(String } /** - * Date the order was processed. `Format: YYYY-MM-DD`. For processor-specific information, see the purchaser_order_date field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return purchaseOrderDate + * Date the order was processed.For processor-specific information, see the purchaser_order_date field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) + * @return purchaseOrderDate Date the order was processed. **/ @ApiModelProperty(value = "Date the order was processed. `Format: YYYY-MM-DD`. For processor-specific information, see the purchaser_order_date field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getPurchaseOrderDate() { @@ -95,7 +90,7 @@ public InlineResponse2004OrderInformationInvoiceDetails taxable(Boolean taxable) /** * 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. For processor-specific information, see the tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return taxable + * @return taxable Flag that indicates whether an order is 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. For processor-specific information, see the tax_indicator field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public Boolean getTaxable() { @@ -113,7 +108,7 @@ public InlineResponse2004OrderInformationInvoiceDetails vatInvoiceReferenceNumbe /** * VAT invoice number associated with the transaction. For processor-specific information, see the vat_invoice_ref_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return vatInvoiceReferenceNumber + * @return vatInvoiceReferenceNumber VAT invoice number associated with the transaction. **/ @ApiModelProperty(value = "VAT invoice number associated with the transaction. For processor-specific information, see the vat_invoice_ref_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getVatInvoiceReferenceNumber() { @@ -130,10 +125,10 @@ public InlineResponse2004OrderInformationInvoiceDetails commodityCode(String com } /** - * International description code of the overall order’s goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return commodityCode + * International description code of the overall order's goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) + * @return commodityCode International description code. **/ - @ApiModelProperty(value = "International description code of the overall order’s goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") + @ApiModelProperty(value = "International description code of the overall order's goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the summary_commodity_code field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public String getCommodityCode() { return commodityCode; } @@ -157,7 +152,7 @@ public InlineResponse2004OrderInformationInvoiceDetails addTransactionAdviceAdde /** * Get transactionAdviceAddendum - * @return transactionAdviceAddendum + * @return transactionAdviceAddendum transaction AdviceAddendum. **/ @ApiModelProperty(value = "") public List getTransactionAdviceAddendum() { @@ -175,7 +170,7 @@ public InlineResponse2004OrderInformationInvoiceDetails level3TransmissionStatus /** * 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. For processor-specific information, see the bill_purchasing_level3_enabled field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) - * @return level3TransmissionStatus + * @return level3TransmissionStatus Indicates whether CyberSource sent the Level III information to the processor. **/ @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. For processor-specific information, see the bill_purchasing_level3_enabled field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) ") public Boolean getLevel3TransmissionStatus() { diff --git a/src/main/java/Model/InlineResponse2004OrderInformationShipTo.java b/src/main/java/Model/InlineResponse2004OrderInformationShipTo.java index 323e2f96f..5bcde29bc 100644 --- a/src/main/java/Model/InlineResponse2004OrderInformationShipTo.java +++ b/src/main/java/Model/InlineResponse2004OrderInformationShipTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2004OrderInformationShipTo @@ -44,7 +40,7 @@ public InlineResponse2004OrderInformationShipTo administrativeArea(String admini /** * State or province of the shipping address. Use the State, Province, and Territory Codes for the United States and Canada. - * @return administrativeArea + * @return administrativeArea State or province of the shipping address. **/ @ApiModelProperty(value = "State or province of the shipping address. Use the State, Province, and Territory Codes for the United States and Canada. ") public String getAdministrativeArea() { @@ -62,7 +58,7 @@ public InlineResponse2004OrderInformationShipTo postalCode(String postalCode) { /** * Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 - * @return postalCode + * @return postalCode Postal code for the shipping address. **/ @ApiModelProperty(value = "Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 ") public String getPostalCode() { @@ -80,7 +76,7 @@ public InlineResponse2004OrderInformationShipTo country(String country) { /** * Country of the shipping address. Use the two character ISO Standard Country Codes. - * @return country + * @return country Country of the shipping address. **/ @ApiModelProperty(value = "Country of the shipping address. Use the two character ISO Standard Country Codes.") public String getCountry() { diff --git a/src/main/java/Model/InlineResponse2004ProcessingInformation.java b/src/main/java/Model/InlineResponse2004ProcessingInformation.java index 5857dab12..b53c0af7e 100644 --- a/src/main/java/Model/InlineResponse2004ProcessingInformation.java +++ b/src/main/java/Model/InlineResponse2004ProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse2004ProcessingInformationAuthorizationOptions; -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; /** * InlineResponse2004ProcessingInformation @@ -42,7 +37,7 @@ public InlineResponse2004ProcessingInformation paymentSolution(String paymentSol /** * Type of digital payment solution that is being used for the transaction. Possible Values: - **visacheckout**: Visa Checkout. - **001**: Apple Pay. - **005**: Masterpass. Required for Masterpass transactions on OmniPay Direct. - **006**: Android Pay. - **008**: Samsung Pay. - * @return paymentSolution + * @return paymentSolution Type of digital payment solution. **/ @ApiModelProperty(value = "Type of digital payment solution that is being used for the transaction. Possible Values: - **visacheckout**: Visa Checkout. - **001**: Apple Pay. - **005**: Masterpass. Required for Masterpass transactions on OmniPay Direct. - **006**: Android Pay. - **008**: Samsung Pay. ") public String getPaymentSolution() { @@ -60,7 +55,7 @@ public InlineResponse2004ProcessingInformation authorizationOptions(InlineRespon /** * Get authorizationOptions - * @return authorizationOptions + * @return authorizationOptions authorization Options. **/ @ApiModelProperty(value = "") public InlineResponse2004ProcessingInformationAuthorizationOptions getAuthorizationOptions() { diff --git a/src/main/java/Model/InlineResponse2004ProcessingInformationAuthorizationOptions.java b/src/main/java/Model/InlineResponse2004ProcessingInformationAuthorizationOptions.java index 86009ecd4..b770ed806 100644 --- a/src/main/java/Model/InlineResponse2004ProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/InlineResponse2004ProcessingInformationAuthorizationOptions.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2004ProcessingInformationAuthorizationOptions @@ -38,7 +34,7 @@ public InlineResponse2004ProcessingInformationAuthorizationOptions verbalAuthCod /** * Authorization code. **Forced Capture** Use this field to send the authorization code you received from a payment that you authorized outside the CyberSource system. **Verbal Authorization** Use this field in CAPTURE API to send the verbally received authorization code. For processor-specific information, see the auth_code field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) - * @return verbalAuthCode + * @return verbalAuthCode Authorization code. **/ @ApiModelProperty(value = "Authorization code. **Forced Capture** Use this field to send the authorization code you received from a payment that you authorized outside the CyberSource system. **Verbal Authorization** Use this field in CAPTURE API to send the verbally received authorization code. For processor-specific information, see the auth_code field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) ") public String getVerbalAuthCode() { diff --git a/src/main/java/Model/InlineResponse2005.java b/src/main/java/Model/InlineResponse2005.java index 037ea432e..022b674e7 100644 --- a/src/main/java/Model/InlineResponse2005.java +++ b/src/main/java/Model/InlineResponse2005.java @@ -13,18 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2013Links; -import Model.InlineResponse2013RefundAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; + 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; /** * InlineResponse2005 @@ -110,7 +108,7 @@ public InlineResponse2005 links(InlineResponse2013Links links) { /** * Get links - * @return links + * @return links Links. **/ @ApiModelProperty(value = "") public InlineResponse2013Links getLinks() { @@ -128,7 +126,7 @@ public InlineResponse2005 id(String id) { /** * An unique identification number assigned by CyberSource to identify the submitted request. - * @return id + * @return id unique identification number. **/ @ApiModelProperty(value = "An unique identification number assigned by CyberSource to identify the submitted request.") public String getId() { @@ -145,8 +143,8 @@ public InlineResponse2005 submitTimeUtc(String submitTimeUtc) { } /** - * 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. - * @return submitTimeUtc + * Time of request in UTC. 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. + * @return submitTimeUtc Time of request in UTC.. **/ @ApiModelProperty(value = "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. ") public String getSubmitTimeUtc() { @@ -164,7 +162,7 @@ public InlineResponse2005 status(StatusEnum status) { /** * The status of the submitted transaction. - * @return status + * @return status The status of the submitted transaction. **/ @ApiModelProperty(value = "The status of the submitted transaction.") public StatusEnum getStatus() { @@ -182,7 +180,7 @@ public InlineResponse2005 reconciliationId(String reconciliationId) { /** * The reconciliation id for the submitted transaction. This value is not returned for all processors. - * @return reconciliationId + * @return reconciliationId The reconciliation id for the submitted transaction. **/ @ApiModelProperty(value = "The reconciliation id for the submitted transaction. This value is not returned for all processors. ") public String getReconciliationId() { @@ -200,7 +198,7 @@ public InlineResponse2005 clientReferenceInformation(InlineResponse201ClientRefe /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation client Reference Information. **/ @ApiModelProperty(value = "") public InlineResponse201ClientReferenceInformation getClientReferenceInformation() { @@ -218,7 +216,7 @@ public InlineResponse2005 refundAmountDetails(InlineResponse2013RefundAmountDeta /** * Get refundAmountDetails - * @return refundAmountDetails + * @return refundAmountDetails refund Amount Details. **/ @ApiModelProperty(value = "") public InlineResponse2013RefundAmountDetails getRefundAmountDetails() { diff --git a/src/main/java/Model/InlineResponse2006.java b/src/main/java/Model/InlineResponse2006.java index 10aa09cd1..cf9643398 100644 --- a/src/main/java/Model/InlineResponse2006.java +++ b/src/main/java/Model/InlineResponse2006.java @@ -13,18 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2013Links; -import Model.InlineResponse2014CreditAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; + 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; /** * InlineResponse2006 @@ -110,7 +108,7 @@ public InlineResponse2006 links(InlineResponse2013Links links) { /** * Get links - * @return links + * @return links Links. **/ @ApiModelProperty(value = "") public InlineResponse2013Links getLinks() { @@ -128,7 +126,7 @@ public InlineResponse2006 id(String id) { /** * An unique identification number assigned by CyberSource to identify the submitted request. - * @return id + * @return id unique identification number. **/ @ApiModelProperty(value = "An unique identification number assigned by CyberSource to identify the submitted request.") public String getId() { @@ -145,8 +143,8 @@ public InlineResponse2006 submitTimeUtc(String submitTimeUtc) { } /** - * 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. - * @return submitTimeUtc + * Time of request in UTC. 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. + * @return submitTimeUtc Time of request in UTC. **/ @ApiModelProperty(value = "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. ") public String getSubmitTimeUtc() { @@ -164,7 +162,7 @@ public InlineResponse2006 status(StatusEnum status) { /** * The status of the submitted transaction. - * @return status + * @return status The status of the submitted transaction. **/ @ApiModelProperty(value = "The status of the submitted transaction.") public StatusEnum getStatus() { @@ -182,7 +180,7 @@ public InlineResponse2006 reconciliationId(String reconciliationId) { /** * The reconciliation id for the submitted transaction. This value is not returned for all processors. - * @return reconciliationId + * @return reconciliationId The reconciliation id for the submitted transaction. **/ @ApiModelProperty(value = "The reconciliation id for the submitted transaction. This value is not returned for all processors. ") public String getReconciliationId() { @@ -200,7 +198,7 @@ public InlineResponse2006 clientReferenceInformation(InlineResponse201ClientRefe /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation client Reference Information. **/ @ApiModelProperty(value = "") public InlineResponse201ClientReferenceInformation getClientReferenceInformation() { @@ -218,7 +216,7 @@ public InlineResponse2006 creditAmountDetails(InlineResponse2014CreditAmountDeta /** * Get creditAmountDetails - * @return creditAmountDetails + * @return creditAmountDetails credit Amount Details. **/ @ApiModelProperty(value = "") public InlineResponse2014CreditAmountDetails getCreditAmountDetails() { diff --git a/src/main/java/Model/InlineResponse2007.java b/src/main/java/Model/InlineResponse2007.java index a5fcf806e..8428c0304 100644 --- a/src/main/java/Model/InlineResponse2007.java +++ b/src/main/java/Model/InlineResponse2007.java @@ -13,20 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InstrumentidentifiersBankAccount; -import Model.InstrumentidentifiersCard; -import Model.InstrumentidentifiersLinks; -import Model.InstrumentidentifiersMetadata; -import Model.InstrumentidentifiersProcessingInformation; + 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; /** * InlineResponse2007 @@ -156,7 +152,7 @@ public InlineResponse2007 links(InstrumentidentifiersLinks links) { /** * Get links - * @return links + * @return links links. **/ @ApiModelProperty(value = "") public InstrumentidentifiersLinks getLinks() { @@ -169,7 +165,7 @@ public void setLinks(InstrumentidentifiersLinks links) { /** * Unique identification number assigned by CyberSource to the submitted request. - * @return id + * @return id Unique identification number. **/ @ApiModelProperty(example = "1234567890123456800", value = "Unique identification number assigned by CyberSource to the submitted request.") public String getId() { @@ -178,7 +174,7 @@ public String getId() { /** * Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier. - * @return object + * @return object Describes type of token. **/ @ApiModelProperty(example = "instrumentIdentifier", value = "Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier.") public ObjectEnum getObject() { @@ -187,7 +183,7 @@ public ObjectEnum getObject() { /** * Current state of the token. - * @return state + * @return state Current state of the token. **/ @ApiModelProperty(example = "ACTIVE", value = "Current state of the token.") public StateEnum getState() { @@ -201,7 +197,7 @@ public InlineResponse2007 card(InstrumentidentifiersCard card) { /** * Get card - * @return card + * @return card Card. **/ @ApiModelProperty(value = "") public InstrumentidentifiersCard getCard() { @@ -219,7 +215,7 @@ public InlineResponse2007 bankAccount(InstrumentidentifiersBankAccount bankAccou /** * Get bankAccount - * @return bankAccount + * @return bankAccount bank Account. **/ @ApiModelProperty(value = "") public InstrumentidentifiersBankAccount getBankAccount() { @@ -236,7 +232,7 @@ public InlineResponse2007 processingInformation(InstrumentidentifiersProcessingI } /** - * Get processingInformation + * Get processingInformation processing Information. * @return processingInformation **/ @ApiModelProperty(value = "") @@ -255,7 +251,7 @@ public InlineResponse2007 metadata(InstrumentidentifiersMetadata metadata) { /** * Get metadata - * @return metadata + * @return metadata object. **/ @ApiModelProperty(value = "") public InstrumentidentifiersMetadata getMetadata() { diff --git a/src/main/java/Model/InlineResponse2008.java b/src/main/java/Model/InlineResponse2008.java index 34fd88d18..7afc98653 100644 --- a/src/main/java/Model/InlineResponse2008.java +++ b/src/main/java/Model/InlineResponse2008.java @@ -13,16 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2008Links; + 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; /** * InlineResponse2008 @@ -102,7 +102,7 @@ public InlineResponse2008 links(InlineResponse2008Links links) { /** * Get links - * @return links + * @return links Links. **/ @ApiModelProperty(value = "") public InlineResponse2008Links getLinks() { @@ -124,7 +124,7 @@ public ObjectEnum getObject() { /** * The offset parameter supplied in the request. - * @return offset + * @return offset The offset parameter supplied in the request. **/ @ApiModelProperty(example = "20", value = "The offset parameter supplied in the request.") public String getOffset() { @@ -133,7 +133,7 @@ public String getOffset() { /** * The limit parameter supplied in the request. - * @return limit + * @return limit The limit parameter supplied in the request **/ @ApiModelProperty(example = "1", value = "The limit parameter supplied in the request.") public String getLimit() { @@ -142,7 +142,7 @@ public String getLimit() { /** * The number of Payment Instruments returned in the array. - * @return count + * @return count The number of Payment Instruments returned in the array. **/ @ApiModelProperty(example = "1", value = "The number of Payment Instruments returned in the array.") public String getCount() { @@ -151,7 +151,7 @@ public String getCount() { /** * The total number of Payment Instruments associated with the Instrument Identifier in the zero-based dataset. - * @return total + * @return total The total number of Payment Instruments associated with the Instrument Identifier in the zero-based dataset. **/ @ApiModelProperty(example = "39", value = "The total number of Payment Instruments associated with the Instrument Identifier in the zero-based dataset.") public String getTotal() { @@ -165,7 +165,7 @@ public InlineResponse2008 embedded(Object embedded) { /** * Array of Payment Instruments returned for the supplied Instrument Identifier. - * @return embedded + * @return embedded Array of Payment Instruments returned for the supplied Instrument Identifier. **/ @ApiModelProperty(value = "Array of Payment Instruments returned for the supplied Instrument Identifier.") public Object getEmbedded() { diff --git a/src/main/java/Model/InlineResponse2008Links.java b/src/main/java/Model/InlineResponse2008Links.java index 5f0f7bfc2..40d1b9f15 100644 --- a/src/main/java/Model/InlineResponse2008Links.java +++ b/src/main/java/Model/InlineResponse2008Links.java @@ -14,19 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse2008LinksFirst; -import Model.InlineResponse2008LinksLast; -import Model.InlineResponse2008LinksNext; -import Model.InlineResponse2008LinksPrev; -import Model.InlineResponse2008LinksSelf; -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; /** * InlineResponse2008Links @@ -55,7 +46,7 @@ public InlineResponse2008Links self(InlineResponse2008LinksSelf self) { /** * Get self - * @return self + * @return self Get self. **/ @ApiModelProperty(value = "") public InlineResponse2008LinksSelf getSelf() { @@ -73,7 +64,7 @@ public InlineResponse2008Links first(InlineResponse2008LinksFirst first) { /** * Get first - * @return first + * @return first Get first. **/ @ApiModelProperty(value = "") public InlineResponse2008LinksFirst getFirst() { @@ -91,7 +82,7 @@ public InlineResponse2008Links prev(InlineResponse2008LinksPrev prev) { /** * Get prev - * @return prev + * @return prev previous. **/ @ApiModelProperty(value = "") public InlineResponse2008LinksPrev getPrev() { @@ -109,7 +100,7 @@ public InlineResponse2008Links next(InlineResponse2008LinksNext next) { /** * Get next - * @return next + * @return next Next. **/ @ApiModelProperty(value = "") public InlineResponse2008LinksNext getNext() { @@ -127,7 +118,7 @@ public InlineResponse2008Links last(InlineResponse2008LinksLast last) { /** * Get last - * @return last + * @return last Last. **/ @ApiModelProperty(value = "") public InlineResponse2008LinksLast getLast() { diff --git a/src/main/java/Model/InlineResponse2008LinksFirst.java b/src/main/java/Model/InlineResponse2008LinksFirst.java index afa62f0e5..a7960c856 100644 --- a/src/main/java/Model/InlineResponse2008LinksFirst.java +++ b/src/main/java/Model/InlineResponse2008LinksFirst.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2008LinksFirst @@ -38,7 +34,7 @@ public InlineResponse2008LinksFirst href(String href) { /** * A link to the collection starting at offset zero for the supplied limit. - * @return href + * @return href A link to the collection starting at offset zero for the supplied limit. **/ @ApiModelProperty(example = "https://api.cybersource.com/tms/v1/instrumentidentifiers/5B32CE6167B09343E05333B9D30A53E1/paymentinstruments?offset=0&limit=5", value = "A link to the collection starting at offset zero for the supplied limit.") public String getHref() { diff --git a/src/main/java/Model/InlineResponse2008LinksLast.java b/src/main/java/Model/InlineResponse2008LinksLast.java index 4eb8bcf7e..f04084262 100644 --- a/src/main/java/Model/InlineResponse2008LinksLast.java +++ b/src/main/java/Model/InlineResponse2008LinksLast.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2008LinksLast @@ -38,7 +34,7 @@ public InlineResponse2008LinksLast href(String href) { /** * A link to the last collection containing the remaining objects. - * @return href + * @return href A link to the last collection containing the remaining objects. **/ @ApiModelProperty(example = "https://api.cybersource.com/tms/v1/instrumentidentifiers/5B32CE6167B09343E05333B9D30A53E1/paymentinstruments?offset=35&limit=5", value = "A link to the last collection containing the remaining objects.") public String getHref() { diff --git a/src/main/java/Model/InlineResponse2008LinksNext.java b/src/main/java/Model/InlineResponse2008LinksNext.java index 158295bc0..fcc5b9c3d 100644 --- a/src/main/java/Model/InlineResponse2008LinksNext.java +++ b/src/main/java/Model/InlineResponse2008LinksNext.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2008LinksNext diff --git a/src/main/java/Model/InlineResponse2008LinksPrev.java b/src/main/java/Model/InlineResponse2008LinksPrev.java index 98b0956e5..de41b207f 100644 --- a/src/main/java/Model/InlineResponse2008LinksPrev.java +++ b/src/main/java/Model/InlineResponse2008LinksPrev.java @@ -14,14 +14,11 @@ package Model; import java.util.Objects; -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; /** * A link to the previous collection starting at the supplied offset minus the supplied limit. diff --git a/src/main/java/Model/InlineResponse2008LinksSelf.java b/src/main/java/Model/InlineResponse2008LinksSelf.java index ab332d9c1..dbd6da03d 100644 --- a/src/main/java/Model/InlineResponse2008LinksSelf.java +++ b/src/main/java/Model/InlineResponse2008LinksSelf.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2008LinksSelf diff --git a/src/main/java/Model/InlineResponse200Der.java b/src/main/java/Model/InlineResponse200Der.java index 50d10ef84..35e0bc00b 100644 --- a/src/main/java/Model/InlineResponse200Der.java +++ b/src/main/java/Model/InlineResponse200Der.java @@ -14,14 +14,11 @@ package Model; import java.util.Objects; -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; /** * The public key in DER format. Used to validate the response from the Tokenize Card request. Additionally this format is useful for client side encryption in Android and iOS implementations. diff --git a/src/main/java/Model/InlineResponse200Jwk.java b/src/main/java/Model/InlineResponse200Jwk.java index 993982e0c..4f64d7005 100644 --- a/src/main/java/Model/InlineResponse200Jwk.java +++ b/src/main/java/Model/InlineResponse200Jwk.java @@ -14,14 +14,11 @@ package Model; import java.util.Objects; -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; /** * The public key in JSON Web Key (JWK) format. This format is useful for client side encryption in JavaScript based implementations. diff --git a/src/main/java/Model/InlineResponse201.java b/src/main/java/Model/InlineResponse201.java index 0b28897fe..988556d8b 100644 --- a/src/main/java/Model/InlineResponse201.java +++ b/src/main/java/Model/InlineResponse201.java @@ -13,23 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse201ClientReferenceInformation; -import Model.InlineResponse201Embedded; -import Model.InlineResponse201ErrorInformation; -import Model.InlineResponse201Links; -import Model.InlineResponse201OrderInformation; -import Model.InlineResponse201PaymentInformation; -import Model.InlineResponse201PointOfSaleInformation; -import Model.InlineResponse201ProcessorInformation; + 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; /** * InlineResponse201 diff --git a/src/main/java/Model/InlineResponse2011.java b/src/main/java/Model/InlineResponse2011.java index 8ede665fa..9dd5d7d54 100644 --- a/src/main/java/Model/InlineResponse2011.java +++ b/src/main/java/Model/InlineResponse2011.java @@ -13,21 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2011AuthorizationInformation; -import Model.InlineResponse2011ProcessorInformation; -import Model.InlineResponse2011ReversalAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; -import Model.InlineResponse201EmbeddedCaptureLinks; -import Model.V2paymentsidreversalsPointOfSaleInformation; + 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; /** * InlineResponse2011 @@ -116,7 +111,7 @@ public InlineResponse2011 links(InlineResponse201EmbeddedCaptureLinks links) { /** * Get links - * @return links + * @return links links **/ @ApiModelProperty(value = "") public InlineResponse201EmbeddedCaptureLinks getLinks() { @@ -134,7 +129,7 @@ public InlineResponse2011 id(String id) { /** * An unique identification number assigned by CyberSource to identify the submitted request. - * @return id + * @return id unique identification number **/ @ApiModelProperty(value = "An unique identification number assigned by CyberSource to identify the submitted request.") public String getId() { @@ -151,8 +146,8 @@ public InlineResponse2011 submitTimeUtc(String submitTimeUtc) { } /** - * 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. - * @return submitTimeUtc + * Time of request in UTC.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. + * @return submitTimeUtc Time of request in UTC. **/ @ApiModelProperty(value = "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. ") public String getSubmitTimeUtc() { @@ -170,7 +165,7 @@ public InlineResponse2011 status(StatusEnum status) { /** * The status of the submitted transaction. - * @return status + * @return status The status of the submitted transaction. **/ @ApiModelProperty(value = "The status of the submitted transaction.") public StatusEnum getStatus() { @@ -188,7 +183,7 @@ public InlineResponse2011 reconciliationId(String reconciliationId) { /** * The reconciliation id for the submitted transaction. This value is not returned for all processors. - * @return reconciliationId + * @return reconciliationId The reconciliation id for the submitted transaction. **/ @ApiModelProperty(value = "The reconciliation id for the submitted transaction. This value is not returned for all processors. ") public String getReconciliationId() { @@ -206,7 +201,7 @@ public InlineResponse2011 clientReferenceInformation(InlineResponse201ClientRefe /** * Get clientReferenceInformation - * @return clientReferenceInformation + * @return clientReferenceInformation Get clientReferenceInformation **/ @ApiModelProperty(value = "") public InlineResponse201ClientReferenceInformation getClientReferenceInformation() { @@ -224,7 +219,7 @@ public InlineResponse2011 reversalAmountDetails(InlineResponse2011ReversalAmount /** * Get reversalAmountDetails - * @return reversalAmountDetails + * @return reversalAmountDetails Get reversalAmountDetails **/ @ApiModelProperty(value = "") public InlineResponse2011ReversalAmountDetails getReversalAmountDetails() { @@ -242,7 +237,7 @@ public InlineResponse2011 processorInformation(InlineResponse2011ProcessorInform /** * Get processorInformation - * @return processorInformation + * @return processorInformation Get processorInformation **/ @ApiModelProperty(value = "") public InlineResponse2011ProcessorInformation getProcessorInformation() { @@ -259,8 +254,8 @@ public InlineResponse2011 authorizationInformation(InlineResponse2011Authorizati } /** - * Get authorizationInformation - * @return authorizationInformation + * Get processorInformation + * @return authorizationInformation Get processorInformation **/ @ApiModelProperty(value = "") public InlineResponse2011AuthorizationInformation getAuthorizationInformation() { diff --git a/src/main/java/Model/InlineResponse2011AuthorizationInformation.java b/src/main/java/Model/InlineResponse2011AuthorizationInformation.java index 0b87d405e..4956309cd 100644 --- a/src/main/java/Model/InlineResponse2011AuthorizationInformation.java +++ b/src/main/java/Model/InlineResponse2011AuthorizationInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2011AuthorizationInformation diff --git a/src/main/java/Model/InlineResponse2011ProcessorInformation.java b/src/main/java/Model/InlineResponse2011ProcessorInformation.java index 9caf3bfd8..6970921cc 100644 --- a/src/main/java/Model/InlineResponse2011ProcessorInformation.java +++ b/src/main/java/Model/InlineResponse2011ProcessorInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2011ProcessorInformation diff --git a/src/main/java/Model/InlineResponse2011ReversalAmountDetails.java b/src/main/java/Model/InlineResponse2011ReversalAmountDetails.java index e8bf83dd0..98747a4cc 100644 --- a/src/main/java/Model/InlineResponse2011ReversalAmountDetails.java +++ b/src/main/java/Model/InlineResponse2011ReversalAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2011ReversalAmountDetails diff --git a/src/main/java/Model/InlineResponse2012.java b/src/main/java/Model/InlineResponse2012.java index 9dc23884e..02619b418 100644 --- a/src/main/java/Model/InlineResponse2012.java +++ b/src/main/java/Model/InlineResponse2012.java @@ -13,19 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2012Links; -import Model.InlineResponse2012OrderInformation; -import Model.InlineResponse2012ProcessorInformation; -import Model.InlineResponse201ClientReferenceInformation; + 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; /** * InlineResponse2012 diff --git a/src/main/java/Model/InlineResponse2012Links.java b/src/main/java/Model/InlineResponse2012Links.java index f3f614fb0..136469a91 100644 --- a/src/main/java/Model/InlineResponse2012Links.java +++ b/src/main/java/Model/InlineResponse2012Links.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201LinksSelf; -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; /** * InlineResponse2012Links diff --git a/src/main/java/Model/InlineResponse2012OrderInformation.java b/src/main/java/Model/InlineResponse2012OrderInformation.java index dc5d3c7ff..150e663ce 100644 --- a/src/main/java/Model/InlineResponse2012OrderInformation.java +++ b/src/main/java/Model/InlineResponse2012OrderInformation.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse2012OrderInformationAmountDetails; -import Model.InlineResponse201OrderInformationInvoiceDetails; -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; /** * InlineResponse2012OrderInformation diff --git a/src/main/java/Model/InlineResponse2012OrderInformationAmountDetails.java b/src/main/java/Model/InlineResponse2012OrderInformationAmountDetails.java index 380f0307b..323c8c561 100644 --- a/src/main/java/Model/InlineResponse2012OrderInformationAmountDetails.java +++ b/src/main/java/Model/InlineResponse2012OrderInformationAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2012OrderInformationAmountDetails diff --git a/src/main/java/Model/InlineResponse2012ProcessorInformation.java b/src/main/java/Model/InlineResponse2012ProcessorInformation.java index 8c2072512..45efa47fa 100644 --- a/src/main/java/Model/InlineResponse2012ProcessorInformation.java +++ b/src/main/java/Model/InlineResponse2012ProcessorInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2012ProcessorInformation diff --git a/src/main/java/Model/InlineResponse2013.java b/src/main/java/Model/InlineResponse2013.java index 148785096..e213676d2 100644 --- a/src/main/java/Model/InlineResponse2013.java +++ b/src/main/java/Model/InlineResponse2013.java @@ -13,20 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2013Links; -import Model.InlineResponse2013OrderInformation; -import Model.InlineResponse2013ProcessorInformation; -import Model.InlineResponse2013RefundAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; + 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; /** * InlineResponse2013 diff --git a/src/main/java/Model/InlineResponse2013Links.java b/src/main/java/Model/InlineResponse2013Links.java index 370164065..3b7fb8ba3 100644 --- a/src/main/java/Model/InlineResponse2013Links.java +++ b/src/main/java/Model/InlineResponse2013Links.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201LinksSelf; -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; /** * InlineResponse2013Links diff --git a/src/main/java/Model/InlineResponse2013OrderInformation.java b/src/main/java/Model/InlineResponse2013OrderInformation.java index d52b42c02..151e2ecb7 100644 --- a/src/main/java/Model/InlineResponse2013OrderInformation.java +++ b/src/main/java/Model/InlineResponse2013OrderInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201OrderInformationInvoiceDetails; -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; /** * InlineResponse2013OrderInformation diff --git a/src/main/java/Model/InlineResponse2013ProcessorInformation.java b/src/main/java/Model/InlineResponse2013ProcessorInformation.java index c0e15b2fe..68bfac8f7 100644 --- a/src/main/java/Model/InlineResponse2013ProcessorInformation.java +++ b/src/main/java/Model/InlineResponse2013ProcessorInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2013ProcessorInformation diff --git a/src/main/java/Model/InlineResponse2013RefundAmountDetails.java b/src/main/java/Model/InlineResponse2013RefundAmountDetails.java index e6bb6e5dd..bb2a30bdf 100644 --- a/src/main/java/Model/InlineResponse2013RefundAmountDetails.java +++ b/src/main/java/Model/InlineResponse2013RefundAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2013RefundAmountDetails diff --git a/src/main/java/Model/InlineResponse2014.java b/src/main/java/Model/InlineResponse2014.java index 79f1941cc..13448ebd6 100644 --- a/src/main/java/Model/InlineResponse2014.java +++ b/src/main/java/Model/InlineResponse2014.java @@ -1,5 +1,5 @@ /* - * CyberSource Flex API +O * CyberSource Flex API * Simple PAN tokenization service * * OpenAPI spec version: 0.0.1 @@ -13,20 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2013Links; -import Model.InlineResponse2013OrderInformation; -import Model.InlineResponse2013ProcessorInformation; -import Model.InlineResponse2014CreditAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; + 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; /** * InlineResponse2014 diff --git a/src/main/java/Model/InlineResponse2014CreditAmountDetails.java b/src/main/java/Model/InlineResponse2014CreditAmountDetails.java index c683dcc11..142d861d0 100644 --- a/src/main/java/Model/InlineResponse2014CreditAmountDetails.java +++ b/src/main/java/Model/InlineResponse2014CreditAmountDetails.java @@ -1,5 +1,5 @@ /* - * CyberSource Flex API +O * CyberSource Flex API * Simple PAN tokenization service * * OpenAPI spec version: 0.0.1 @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2014CreditAmountDetails diff --git a/src/main/java/Model/InlineResponse2015.java b/src/main/java/Model/InlineResponse2015.java index 38e01e3cd..e97383a36 100644 --- a/src/main/java/Model/InlineResponse2015.java +++ b/src/main/java/Model/InlineResponse2015.java @@ -13,18 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InlineResponse2015VoidAmountDetails; -import Model.InlineResponse201ClientReferenceInformation; -import Model.InlineResponse201EmbeddedCaptureLinks; + 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; /** * InlineResponse2015 diff --git a/src/main/java/Model/InlineResponse2015VoidAmountDetails.java b/src/main/java/Model/InlineResponse2015VoidAmountDetails.java index 138554ba3..0cbc3d1ac 100644 --- a/src/main/java/Model/InlineResponse2015VoidAmountDetails.java +++ b/src/main/java/Model/InlineResponse2015VoidAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse2015VoidAmountDetails diff --git a/src/main/java/Model/InlineResponse2016.java b/src/main/java/Model/InlineResponse2016.java index e2def5d50..4f6592e28 100644 --- a/src/main/java/Model/InlineResponse2016.java +++ b/src/main/java/Model/InlineResponse2016.java @@ -13,24 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InstrumentidentifiersLinks; -import Model.InstrumentidentifiersMetadata; -import Model.PaymentinstrumentsBankAccount; -import Model.PaymentinstrumentsBillTo; -import Model.PaymentinstrumentsBuyerInformation; -import Model.PaymentinstrumentsCard; -import Model.PaymentinstrumentsInstrumentIdentifier; -import Model.PaymentinstrumentsMerchantInformation; -import Model.PaymentinstrumentsProcessingInformation; + 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; /** * InlineResponse2016 diff --git a/src/main/java/Model/InlineResponse201ClientReferenceInformation.java b/src/main/java/Model/InlineResponse201ClientReferenceInformation.java index 86a7415ca..6f0b2f31e 100644 --- a/src/main/java/Model/InlineResponse201ClientReferenceInformation.java +++ b/src/main/java/Model/InlineResponse201ClientReferenceInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ClientReferenceInformation diff --git a/src/main/java/Model/InlineResponse201Embedded.java b/src/main/java/Model/InlineResponse201Embedded.java index ab82f4063..c8b3d48da 100644 --- a/src/main/java/Model/InlineResponse201Embedded.java +++ b/src/main/java/Model/InlineResponse201Embedded.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201EmbeddedCapture; -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; /** * InlineResponse201Embedded diff --git a/src/main/java/Model/InlineResponse201EmbeddedCapture.java b/src/main/java/Model/InlineResponse201EmbeddedCapture.java index bdee97ec2..bb8b9efd0 100644 --- a/src/main/java/Model/InlineResponse201EmbeddedCapture.java +++ b/src/main/java/Model/InlineResponse201EmbeddedCapture.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201EmbeddedCaptureLinks; -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; /** * InlineResponse201EmbeddedCapture diff --git a/src/main/java/Model/InlineResponse201EmbeddedCaptureLinks.java b/src/main/java/Model/InlineResponse201EmbeddedCaptureLinks.java index 353b8432c..a3c905f37 100644 --- a/src/main/java/Model/InlineResponse201EmbeddedCaptureLinks.java +++ b/src/main/java/Model/InlineResponse201EmbeddedCaptureLinks.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201LinksSelf; -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; /** * InlineResponse201EmbeddedCaptureLinks diff --git a/src/main/java/Model/InlineResponse201ErrorInformation.java b/src/main/java/Model/InlineResponse201ErrorInformation.java index 121022aba..8f08a3ad0 100644 --- a/src/main/java/Model/InlineResponse201ErrorInformation.java +++ b/src/main/java/Model/InlineResponse201ErrorInformation.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse201ErrorInformation diff --git a/src/main/java/Model/InlineResponse201ErrorInformationDetails.java b/src/main/java/Model/InlineResponse201ErrorInformationDetails.java index 4d04ee5a5..a7fde8dcf 100644 --- a/src/main/java/Model/InlineResponse201ErrorInformationDetails.java +++ b/src/main/java/Model/InlineResponse201ErrorInformationDetails.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * InlineResponse201ErrorInformationDetails diff --git a/src/main/java/Model/InlineResponse201Links.java b/src/main/java/Model/InlineResponse201Links.java index 9c7cf99bf..5caec1d39 100644 --- a/src/main/java/Model/InlineResponse201Links.java +++ b/src/main/java/Model/InlineResponse201Links.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201LinksSelf; -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; /** * InlineResponse201Links diff --git a/src/main/java/Model/InlineResponse201LinksSelf.java b/src/main/java/Model/InlineResponse201LinksSelf.java index e3c0d8b47..bdaab780c 100644 --- a/src/main/java/Model/InlineResponse201LinksSelf.java +++ b/src/main/java/Model/InlineResponse201LinksSelf.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201LinksSelf diff --git a/src/main/java/Model/InlineResponse201OrderInformation.java b/src/main/java/Model/InlineResponse201OrderInformation.java index 7c8787248..e04a212c2 100644 --- a/src/main/java/Model/InlineResponse201OrderInformation.java +++ b/src/main/java/Model/InlineResponse201OrderInformation.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201OrderInformationAmountDetails; -import Model.InlineResponse201OrderInformationInvoiceDetails; -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; /** * InlineResponse201OrderInformation diff --git a/src/main/java/Model/InlineResponse201OrderInformationAmountDetails.java b/src/main/java/Model/InlineResponse201OrderInformationAmountDetails.java index 71d511994..e7d7d5261 100644 --- a/src/main/java/Model/InlineResponse201OrderInformationAmountDetails.java +++ b/src/main/java/Model/InlineResponse201OrderInformationAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201OrderInformationAmountDetails diff --git a/src/main/java/Model/InlineResponse201OrderInformationInvoiceDetails.java b/src/main/java/Model/InlineResponse201OrderInformationInvoiceDetails.java index 0955564de..d0a5d0fe5 100644 --- a/src/main/java/Model/InlineResponse201OrderInformationInvoiceDetails.java +++ b/src/main/java/Model/InlineResponse201OrderInformationInvoiceDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201OrderInformationInvoiceDetails diff --git a/src/main/java/Model/InlineResponse201PaymentInformation.java b/src/main/java/Model/InlineResponse201PaymentInformation.java index 942a643d4..4e3655d0e 100644 --- a/src/main/java/Model/InlineResponse201PaymentInformation.java +++ b/src/main/java/Model/InlineResponse201PaymentInformation.java @@ -14,17 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201PaymentInformationAccountFeatures; -import Model.InlineResponse201PaymentInformationCard; -import Model.InlineResponse201PaymentInformationTokenizedCard; -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; /** * InlineResponse201PaymentInformation diff --git a/src/main/java/Model/InlineResponse201PaymentInformationAccountFeatures.java b/src/main/java/Model/InlineResponse201PaymentInformationAccountFeatures.java index cef4c2d9b..93b0e3c68 100644 --- a/src/main/java/Model/InlineResponse201PaymentInformationAccountFeatures.java +++ b/src/main/java/Model/InlineResponse201PaymentInformationAccountFeatures.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * InlineResponse201PaymentInformationAccountFeatures diff --git a/src/main/java/Model/InlineResponse201PaymentInformationCard.java b/src/main/java/Model/InlineResponse201PaymentInformationCard.java index a00593098..2a9058a77 100644 --- a/src/main/java/Model/InlineResponse201PaymentInformationCard.java +++ b/src/main/java/Model/InlineResponse201PaymentInformationCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201PaymentInformationCard diff --git a/src/main/java/Model/InlineResponse201PaymentInformationTokenizedCard.java b/src/main/java/Model/InlineResponse201PaymentInformationTokenizedCard.java index 6c6fe2516..2cb862c4a 100644 --- a/src/main/java/Model/InlineResponse201PaymentInformationTokenizedCard.java +++ b/src/main/java/Model/InlineResponse201PaymentInformationTokenizedCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201PaymentInformationTokenizedCard diff --git a/src/main/java/Model/InlineResponse201PointOfSaleInformation.java b/src/main/java/Model/InlineResponse201PointOfSaleInformation.java index 806cae70d..dafc073ab 100644 --- a/src/main/java/Model/InlineResponse201PointOfSaleInformation.java +++ b/src/main/java/Model/InlineResponse201PointOfSaleInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201PointOfSaleInformationEmv; -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; /** * InlineResponse201PointOfSaleInformation diff --git a/src/main/java/Model/InlineResponse201PointOfSaleInformationEmv.java b/src/main/java/Model/InlineResponse201PointOfSaleInformationEmv.java index 5c7bddc5c..90475f68e 100644 --- a/src/main/java/Model/InlineResponse201PointOfSaleInformationEmv.java +++ b/src/main/java/Model/InlineResponse201PointOfSaleInformationEmv.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201PointOfSaleInformationEmv diff --git a/src/main/java/Model/InlineResponse201ProcessorInformation.java b/src/main/java/Model/InlineResponse201ProcessorInformation.java index 308d57628..0f0c2041e 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformation.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformation.java @@ -13,23 +13,12 @@ package Model; +import java.math.BigDecimal; import java.util.Objects; -import Model.InlineResponse201ProcessorInformationAvs; -import Model.InlineResponse201ProcessorInformationCardVerification; -import Model.InlineResponse201ProcessorInformationConsumerAuthenticationResponse; -import Model.InlineResponse201ProcessorInformationCustomer; -import Model.InlineResponse201ProcessorInformationElectronicVerificationResults; -import Model.InlineResponse201ProcessorInformationIssuer; -import Model.InlineResponse201ProcessorInformationMerchantAdvice; -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; -import java.math.BigDecimal; /** * InlineResponse201ProcessorInformation diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationAvs.java b/src/main/java/Model/InlineResponse201ProcessorInformationAvs.java index ed8f4c8ad..833648672 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationAvs.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationAvs.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationAvs diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationCardVerification.java b/src/main/java/Model/InlineResponse201ProcessorInformationCardVerification.java index 932917d33..80af474c3 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationCardVerification.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationCardVerification.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationCardVerification diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationConsumerAuthenticationResponse.java b/src/main/java/Model/InlineResponse201ProcessorInformationConsumerAuthenticationResponse.java index 82e80746e..e6b654e7f 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationConsumerAuthenticationResponse.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationConsumerAuthenticationResponse.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationConsumerAuthenticationResponse diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationCustomer.java b/src/main/java/Model/InlineResponse201ProcessorInformationCustomer.java index e3a6da927..95bd84a61 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationCustomer.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationCustomer.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationCustomer diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationElectronicVerificationResults.java b/src/main/java/Model/InlineResponse201ProcessorInformationElectronicVerificationResults.java index af5673087..b7be9e375 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationElectronicVerificationResults.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationElectronicVerificationResults.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationElectronicVerificationResults diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationIssuer.java b/src/main/java/Model/InlineResponse201ProcessorInformationIssuer.java index 667612f30..5a331cd10 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationIssuer.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationIssuer.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationIssuer diff --git a/src/main/java/Model/InlineResponse201ProcessorInformationMerchantAdvice.java b/src/main/java/Model/InlineResponse201ProcessorInformationMerchantAdvice.java index d9a381d2b..f5f9bdc9f 100644 --- a/src/main/java/Model/InlineResponse201ProcessorInformationMerchantAdvice.java +++ b/src/main/java/Model/InlineResponse201ProcessorInformationMerchantAdvice.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse201ProcessorInformationMerchantAdvice diff --git a/src/main/java/Model/InlineResponse400.java b/src/main/java/Model/InlineResponse400.java index 63e3cef86..445d083b0 100644 --- a/src/main/java/Model/InlineResponse400.java +++ b/src/main/java/Model/InlineResponse400.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse400 diff --git a/src/main/java/Model/InlineResponse4001.java b/src/main/java/Model/InlineResponse4001.java index 56cb4c2e6..f55c3fcad 100644 --- a/src/main/java/Model/InlineResponse4001.java +++ b/src/main/java/Model/InlineResponse4001.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse4001 diff --git a/src/main/java/Model/InlineResponse4002.java b/src/main/java/Model/InlineResponse4002.java index 3117c9391..3fb3675fa 100644 --- a/src/main/java/Model/InlineResponse4002.java +++ b/src/main/java/Model/InlineResponse4002.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse4002 diff --git a/src/main/java/Model/InlineResponse4003.java b/src/main/java/Model/InlineResponse4003.java index 8a4bfd1b2..c282f7ab7 100644 --- a/src/main/java/Model/InlineResponse4003.java +++ b/src/main/java/Model/InlineResponse4003.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse4003 diff --git a/src/main/java/Model/InlineResponse4004.java b/src/main/java/Model/InlineResponse4004.java index 6e7e1dd33..af4dd3633 100644 --- a/src/main/java/Model/InlineResponse4004.java +++ b/src/main/java/Model/InlineResponse4004.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse4004 diff --git a/src/main/java/Model/InlineResponse4005.java b/src/main/java/Model/InlineResponse4005.java index 2042c46a0..07a0a6093 100644 --- a/src/main/java/Model/InlineResponse4005.java +++ b/src/main/java/Model/InlineResponse4005.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponse201ErrorInformationDetails; + 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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse4005 diff --git a/src/main/java/Model/InlineResponse4006.java b/src/main/java/Model/InlineResponse4006.java index ebeb79835..e0acde227 100644 --- a/src/main/java/Model/InlineResponse4006.java +++ b/src/main/java/Model/InlineResponse4006.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InstrumentidentifiersDetails; -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; /** * InlineResponse4006 diff --git a/src/main/java/Model/InlineResponse409.java b/src/main/java/Model/InlineResponse409.java index f1eaa4e5c..06115b1b9 100644 --- a/src/main/java/Model/InlineResponse409.java +++ b/src/main/java/Model/InlineResponse409.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse409Links; -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; /** * InlineResponse409 diff --git a/src/main/java/Model/InlineResponse409Links.java b/src/main/java/Model/InlineResponse409Links.java index 0c4c58fdc..3a60066c5 100644 --- a/src/main/java/Model/InlineResponse409Links.java +++ b/src/main/java/Model/InlineResponse409Links.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse409LinksPaymentInstruments; -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; /** * InlineResponse409Links diff --git a/src/main/java/Model/InlineResponse409LinksPaymentInstruments.java b/src/main/java/Model/InlineResponse409LinksPaymentInstruments.java index e9f6473bf..c7f47970b 100644 --- a/src/main/java/Model/InlineResponse409LinksPaymentInstruments.java +++ b/src/main/java/Model/InlineResponse409LinksPaymentInstruments.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponse409LinksPaymentInstruments diff --git a/src/main/java/Model/InlineResponse502.java b/src/main/java/Model/InlineResponse502.java index 7e93f9772..0c0b1d0ff 100644 --- a/src/main/java/Model/InlineResponse502.java +++ b/src/main/java/Model/InlineResponse502.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * InlineResponse502 diff --git a/src/main/java/Model/InlineResponseDefault.java b/src/main/java/Model/InlineResponseDefault.java index 9f15112e1..bfcb58ad2 100644 --- a/src/main/java/Model/InlineResponseDefault.java +++ b/src/main/java/Model/InlineResponseDefault.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponseDefaultLinks; -import Model.InlineResponseDefaultResponseStatus; -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; /** * InlineResponseDefault diff --git a/src/main/java/Model/InlineResponseDefaultLinks.java b/src/main/java/Model/InlineResponseDefaultLinks.java index 974fe4c0c..3ea970577 100644 --- a/src/main/java/Model/InlineResponseDefaultLinks.java +++ b/src/main/java/Model/InlineResponseDefaultLinks.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponseDefaultLinksNext; -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; -import java.util.ArrayList; -import java.util.List; /** * InlineResponseDefaultLinks diff --git a/src/main/java/Model/InlineResponseDefaultLinksNext.java b/src/main/java/Model/InlineResponseDefaultLinksNext.java index 691217b36..feac5f69c 100644 --- a/src/main/java/Model/InlineResponseDefaultLinksNext.java +++ b/src/main/java/Model/InlineResponseDefaultLinksNext.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponseDefaultLinksNext diff --git a/src/main/java/Model/InlineResponseDefaultResponseStatus.java b/src/main/java/Model/InlineResponseDefaultResponseStatus.java index f0c9dd50e..12314cc3b 100644 --- a/src/main/java/Model/InlineResponseDefaultResponseStatus.java +++ b/src/main/java/Model/InlineResponseDefaultResponseStatus.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.InlineResponseDefaultResponseStatusDetails; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * InlineResponseDefaultResponseStatus diff --git a/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java b/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java index 1cd82bb1a..effcacea5 100644 --- a/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java +++ b/src/main/java/Model/InlineResponseDefaultResponseStatusDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InlineResponseDefaultResponseStatusDetails diff --git a/src/main/java/Model/InstrumentidentifiersBankAccount.java b/src/main/java/Model/InstrumentidentifiersBankAccount.java index c591597d2..422183923 100644 --- a/src/main/java/Model/InstrumentidentifiersBankAccount.java +++ b/src/main/java/Model/InstrumentidentifiersBankAccount.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InstrumentidentifiersBankAccount diff --git a/src/main/java/Model/InstrumentidentifiersCard.java b/src/main/java/Model/InstrumentidentifiersCard.java index e758ec5af..99b4a604b 100644 --- a/src/main/java/Model/InstrumentidentifiersCard.java +++ b/src/main/java/Model/InstrumentidentifiersCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InstrumentidentifiersCard diff --git a/src/main/java/Model/InstrumentidentifiersDetails.java b/src/main/java/Model/InstrumentidentifiersDetails.java index 294e673af..f174b2c76 100644 --- a/src/main/java/Model/InstrumentidentifiersDetails.java +++ b/src/main/java/Model/InstrumentidentifiersDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InstrumentidentifiersDetails diff --git a/src/main/java/Model/InstrumentidentifiersLinks.java b/src/main/java/Model/InstrumentidentifiersLinks.java index b11ef214e..138c534a9 100644 --- a/src/main/java/Model/InstrumentidentifiersLinks.java +++ b/src/main/java/Model/InstrumentidentifiersLinks.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InstrumentidentifiersLinksSelf; -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; /** * InstrumentidentifiersLinks diff --git a/src/main/java/Model/InstrumentidentifiersLinksSelf.java b/src/main/java/Model/InstrumentidentifiersLinksSelf.java index 7ee65f9c2..f98383f04 100644 --- a/src/main/java/Model/InstrumentidentifiersLinksSelf.java +++ b/src/main/java/Model/InstrumentidentifiersLinksSelf.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InstrumentidentifiersLinksSelf diff --git a/src/main/java/Model/InstrumentidentifiersMetadata.java b/src/main/java/Model/InstrumentidentifiersMetadata.java index 46fa48812..ffaf9ff38 100644 --- a/src/main/java/Model/InstrumentidentifiersMetadata.java +++ b/src/main/java/Model/InstrumentidentifiersMetadata.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InstrumentidentifiersMetadata diff --git a/src/main/java/Model/InstrumentidentifiersProcessingInformation.java b/src/main/java/Model/InstrumentidentifiersProcessingInformation.java index 15f867245..d85dae432 100644 --- a/src/main/java/Model/InstrumentidentifiersProcessingInformation.java +++ b/src/main/java/Model/InstrumentidentifiersProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InstrumentidentifiersProcessingInformationAuthorizationOptions; -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; /** * InstrumentidentifiersProcessingInformation diff --git a/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptions.java b/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptions.java index e2e8fd817..adda806a6 100644 --- a/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptions.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiator; -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; /** * InstrumentidentifiersProcessingInformationAuthorizationOptions diff --git a/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiator.java index e814f6b9f..f4ef6bb8c 100644 --- a/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiator.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction; -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; /** * InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiator diff --git a/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java b/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java index f76039400..c168a1d83 100644 --- a/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java +++ b/src/main/java/Model/InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * InstrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction diff --git a/src/main/java/Model/JsonWebKey.java b/src/main/java/Model/JsonWebKey.java index 954e86351..3ae3418b7 100644 --- a/src/main/java/Model/JsonWebKey.java +++ b/src/main/java/Model/JsonWebKey.java @@ -14,14 +14,11 @@ package Model; import java.util.Objects; -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; /** * The public key in JSON Web Key (JWK) format. This format is useful for client side encryption in JavaScript based implementations. diff --git a/src/main/java/Model/KeyParameters.java b/src/main/java/Model/KeyParameters.java index e67e87429..5422b9ba7 100644 --- a/src/main/java/Model/KeyParameters.java +++ b/src/main/java/Model/KeyParameters.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * KeyParameters diff --git a/src/main/java/Model/KeyResult.java b/src/main/java/Model/KeyResult.java index dd67e355a..7654f7c84 100644 --- a/src/main/java/Model/KeyResult.java +++ b/src/main/java/Model/KeyResult.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse200Der; -import Model.InlineResponse200Jwk; -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; /** * KeyResult diff --git a/src/main/java/Model/Link.java b/src/main/java/Model/Link.java index 01a1aeba5..b31426a24 100644 --- a/src/main/java/Model/Link.java +++ b/src/main/java/Model/Link.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * Link diff --git a/src/main/java/Model/Links.java b/src/main/java/Model/Links.java index f2d22f053..5e6f48d45 100644 --- a/src/main/java/Model/Links.java +++ b/src/main/java/Model/Links.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.InlineResponseDefaultLinksNext; -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; -import java.util.ArrayList; -import java.util.List; /** * Links diff --git a/src/main/java/Model/OctCreatePaymentRequest.java b/src/main/java/Model/OctCreatePaymentRequest.java index 2c5d8fd83..12a671213 100644 --- a/src/main/java/Model/OctCreatePaymentRequest.java +++ b/src/main/java/Model/OctCreatePaymentRequest.java @@ -14,21 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201ClientReferenceInformation; -import Model.V2payoutsMerchantInformation; -import Model.V2payoutsOrderInformation; -import Model.V2payoutsPaymentInformation; -import Model.V2payoutsProcessingInformation; -import Model.V2payoutsRecipientInformation; -import Model.V2payoutsSenderInformation; -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; /** * OctCreatePaymentRequest diff --git a/src/main/java/Model/PaymentinstrumentsBankAccount.java b/src/main/java/Model/PaymentinstrumentsBankAccount.java index 9ce96f2d5..d60bf00af 100644 --- a/src/main/java/Model/PaymentinstrumentsBankAccount.java +++ b/src/main/java/Model/PaymentinstrumentsBankAccount.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * PaymentinstrumentsBankAccount diff --git a/src/main/java/Model/PaymentinstrumentsBillTo.java b/src/main/java/Model/PaymentinstrumentsBillTo.java index 257a2f620..8ad9ca9cd 100644 --- a/src/main/java/Model/PaymentinstrumentsBillTo.java +++ b/src/main/java/Model/PaymentinstrumentsBillTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * PaymentinstrumentsBillTo diff --git a/src/main/java/Model/PaymentinstrumentsBuyerInformation.java b/src/main/java/Model/PaymentinstrumentsBuyerInformation.java index b1e5bc324..8d4b654dc 100644 --- a/src/main/java/Model/PaymentinstrumentsBuyerInformation.java +++ b/src/main/java/Model/PaymentinstrumentsBuyerInformation.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.PaymentinstrumentsBuyerInformationPersonalIdentification; -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; -import java.util.ArrayList; -import java.util.List; /** * PaymentinstrumentsBuyerInformation diff --git a/src/main/java/Model/PaymentinstrumentsBuyerInformationIssuedBy.java b/src/main/java/Model/PaymentinstrumentsBuyerInformationIssuedBy.java index bcc13aa7b..4e168bb88 100644 --- a/src/main/java/Model/PaymentinstrumentsBuyerInformationIssuedBy.java +++ b/src/main/java/Model/PaymentinstrumentsBuyerInformationIssuedBy.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * PaymentinstrumentsBuyerInformationIssuedBy diff --git a/src/main/java/Model/PaymentinstrumentsBuyerInformationPersonalIdentification.java b/src/main/java/Model/PaymentinstrumentsBuyerInformationPersonalIdentification.java index d2af5a8b7..fd9360e82 100644 --- a/src/main/java/Model/PaymentinstrumentsBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/PaymentinstrumentsBuyerInformationPersonalIdentification.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.PaymentinstrumentsBuyerInformationIssuedBy; -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; /** * PaymentinstrumentsBuyerInformationPersonalIdentification diff --git a/src/main/java/Model/PaymentinstrumentsCard.java b/src/main/java/Model/PaymentinstrumentsCard.java index e430bb645..ee7b97e03 100644 --- a/src/main/java/Model/PaymentinstrumentsCard.java +++ b/src/main/java/Model/PaymentinstrumentsCard.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * PaymentinstrumentsCard diff --git a/src/main/java/Model/PaymentinstrumentsInstrumentIdentifier.java b/src/main/java/Model/PaymentinstrumentsInstrumentIdentifier.java index 27103e2af..ac7d1bb47 100644 --- a/src/main/java/Model/PaymentinstrumentsInstrumentIdentifier.java +++ b/src/main/java/Model/PaymentinstrumentsInstrumentIdentifier.java @@ -13,20 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.InstrumentidentifiersBankAccount; -import Model.InstrumentidentifiersCard; -import Model.InstrumentidentifiersLinks; -import Model.InstrumentidentifiersMetadata; -import Model.InstrumentidentifiersProcessingInformation; + 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; /** * PaymentinstrumentsInstrumentIdentifier diff --git a/src/main/java/Model/PaymentinstrumentsMerchantInformation.java b/src/main/java/Model/PaymentinstrumentsMerchantInformation.java index 6259fe322..85c37f28d 100644 --- a/src/main/java/Model/PaymentinstrumentsMerchantInformation.java +++ b/src/main/java/Model/PaymentinstrumentsMerchantInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.PaymentinstrumentsMerchantInformationMerchantDescriptor; -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; /** * PaymentinstrumentsMerchantInformation diff --git a/src/main/java/Model/PaymentinstrumentsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/PaymentinstrumentsMerchantInformationMerchantDescriptor.java index 31f96f979..9714b2910 100644 --- a/src/main/java/Model/PaymentinstrumentsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/PaymentinstrumentsMerchantInformationMerchantDescriptor.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * PaymentinstrumentsMerchantInformationMerchantDescriptor diff --git a/src/main/java/Model/PaymentinstrumentsProcessingInformation.java b/src/main/java/Model/PaymentinstrumentsProcessingInformation.java index be0af32f8..a2b35a73f 100644 --- a/src/main/java/Model/PaymentinstrumentsProcessingInformation.java +++ b/src/main/java/Model/PaymentinstrumentsProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.PaymentinstrumentsProcessingInformationBankTransferOptions; -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; /** * PaymentinstrumentsProcessingInformation diff --git a/src/main/java/Model/PaymentinstrumentsProcessingInformationBankTransferOptions.java b/src/main/java/Model/PaymentinstrumentsProcessingInformationBankTransferOptions.java index f0e30868f..03e38ba06 100644 --- a/src/main/java/Model/PaymentinstrumentsProcessingInformationBankTransferOptions.java +++ b/src/main/java/Model/PaymentinstrumentsProcessingInformationBankTransferOptions.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * PaymentinstrumentsProcessingInformationBankTransferOptions diff --git a/src/main/java/Model/Paymentsflexv1tokensCardInfo.java b/src/main/java/Model/Paymentsflexv1tokensCardInfo.java index f0ea6e66a..f2e54ea39 100644 --- a/src/main/java/Model/Paymentsflexv1tokensCardInfo.java +++ b/src/main/java/Model/Paymentsflexv1tokensCardInfo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * Paymentsflexv1tokensCardInfo diff --git a/src/main/java/Model/RefundCaptureRequest.java b/src/main/java/Model/RefundCaptureRequest.java index 596789eb1..90eeaf54b 100644 --- a/src/main/java/Model/RefundCaptureRequest.java +++ b/src/main/java/Model/RefundCaptureRequest.java @@ -13,27 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsClientReferenceInformation; -import Model.V2paymentsDeviceInformation; -import Model.V2paymentsMerchantDefinedInformation; -import Model.V2paymentsidcapturesAggregatorInformation; -import Model.V2paymentsidcapturesBuyerInformation; -import Model.V2paymentsidrefundsMerchantInformation; -import Model.V2paymentsidrefundsOrderInformation; -import Model.V2paymentsidrefundsPaymentInformation; -import Model.V2paymentsidrefundsPointOfSaleInformation; -import Model.V2paymentsidrefundsProcessingInformation; -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; -import java.util.ArrayList; -import java.util.List; /** * RefundCaptureRequest diff --git a/src/main/java/Model/RefundPaymentRequest.java b/src/main/java/Model/RefundPaymentRequest.java index 6163501ad..74aa103b2 100644 --- a/src/main/java/Model/RefundPaymentRequest.java +++ b/src/main/java/Model/RefundPaymentRequest.java @@ -13,27 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsClientReferenceInformation; -import Model.V2paymentsDeviceInformation; -import Model.V2paymentsMerchantDefinedInformation; -import Model.V2paymentsidcapturesAggregatorInformation; -import Model.V2paymentsidcapturesBuyerInformation; -import Model.V2paymentsidrefundsMerchantInformation; -import Model.V2paymentsidrefundsOrderInformation; -import Model.V2paymentsidrefundsPaymentInformation; -import Model.V2paymentsidrefundsPointOfSaleInformation; -import Model.V2paymentsidrefundsProcessingInformation; -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; -import java.util.ArrayList; -import java.util.List; /** * RefundPaymentRequest diff --git a/src/main/java/Model/ResponseStatus.java b/src/main/java/Model/ResponseStatus.java index 8c8006fa3..ef6946c1a 100644 --- a/src/main/java/Model/ResponseStatus.java +++ b/src/main/java/Model/ResponseStatus.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.InlineResponseDefaultResponseStatusDetails; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * ResponseStatus diff --git a/src/main/java/Model/ResponseStatusDetails.java b/src/main/java/Model/ResponseStatusDetails.java index 379918183..7f2e74430 100644 --- a/src/main/java/Model/ResponseStatusDetails.java +++ b/src/main/java/Model/ResponseStatusDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * ResponseStatusDetails diff --git a/src/main/java/Model/TokenizeParameters.java b/src/main/java/Model/TokenizeParameters.java index 064eacf3d..3a98d1113 100644 --- a/src/main/java/Model/TokenizeParameters.java +++ b/src/main/java/Model/TokenizeParameters.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.Paymentsflexv1tokensCardInfo; -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; /** * TokenizeParameters diff --git a/src/main/java/Model/TokenizeRequest.java b/src/main/java/Model/TokenizeRequest.java index 60b186d03..1b271bcce 100644 --- a/src/main/java/Model/TokenizeRequest.java +++ b/src/main/java/Model/TokenizeRequest.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.Paymentsflexv1tokensCardInfo; -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; /** * TokenizeRequest diff --git a/src/main/java/Model/TokenizeResult.java b/src/main/java/Model/TokenizeResult.java index d817eea60..00a44d866 100644 --- a/src/main/java/Model/TokenizeResult.java +++ b/src/main/java/Model/TokenizeResult.java @@ -13,18 +13,13 @@ package Model; +import java.util.HashMap; +import java.util.Map; import java.util.Objects; -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; -import java.util.HashMap; -import java.util.List; -import java.util.Map; /** * TokenizeResult diff --git a/src/main/java/Model/V2creditsPointOfSaleInformation.java b/src/main/java/Model/V2creditsPointOfSaleInformation.java index 13cdfed8b..fd0c2e0df 100644 --- a/src/main/java/Model/V2creditsPointOfSaleInformation.java +++ b/src/main/java/Model/V2creditsPointOfSaleInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2creditsPointOfSaleInformationEmv; -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; /** * V2creditsPointOfSaleInformation diff --git a/src/main/java/Model/V2creditsPointOfSaleInformationEmv.java b/src/main/java/Model/V2creditsPointOfSaleInformationEmv.java index e8f2af763..1d5ccb5ca 100644 --- a/src/main/java/Model/V2creditsPointOfSaleInformationEmv.java +++ b/src/main/java/Model/V2creditsPointOfSaleInformationEmv.java @@ -13,16 +13,12 @@ package Model; +import java.math.BigDecimal; import java.util.Objects; -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; -import java.math.BigDecimal; /** * V2creditsPointOfSaleInformationEmv diff --git a/src/main/java/Model/V2creditsProcessingInformation.java b/src/main/java/Model/V2creditsProcessingInformation.java index 2586c1413..16a57e6dc 100644 --- a/src/main/java/Model/V2creditsProcessingInformation.java +++ b/src/main/java/Model/V2creditsProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidrefundsProcessingInformationRecurringOptions; -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; /** * V2creditsProcessingInformation diff --git a/src/main/java/Model/V2paymentsAggregatorInformation.java b/src/main/java/Model/V2paymentsAggregatorInformation.java index 183ef1de6..6daef383d 100644 --- a/src/main/java/Model/V2paymentsAggregatorInformation.java +++ b/src/main/java/Model/V2paymentsAggregatorInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsAggregatorInformationSubMerchant; -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; /** * V2paymentsAggregatorInformation diff --git a/src/main/java/Model/V2paymentsAggregatorInformationSubMerchant.java b/src/main/java/Model/V2paymentsAggregatorInformationSubMerchant.java index 574334abb..dc7436b5e 100644 --- a/src/main/java/Model/V2paymentsAggregatorInformationSubMerchant.java +++ b/src/main/java/Model/V2paymentsAggregatorInformationSubMerchant.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsAggregatorInformationSubMerchant diff --git a/src/main/java/Model/V2paymentsBuyerInformation.java b/src/main/java/Model/V2paymentsBuyerInformation.java index 839ac1fad..51bc232f0 100644 --- a/src/main/java/Model/V2paymentsBuyerInformation.java +++ b/src/main/java/Model/V2paymentsBuyerInformation.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsBuyerInformationPersonalIdentification; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsBuyerInformation diff --git a/src/main/java/Model/V2paymentsBuyerInformationPersonalIdentification.java b/src/main/java/Model/V2paymentsBuyerInformationPersonalIdentification.java index 57125c659..ca3cba415 100644 --- a/src/main/java/Model/V2paymentsBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/V2paymentsBuyerInformationPersonalIdentification.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * V2paymentsBuyerInformationPersonalIdentification diff --git a/src/main/java/Model/V2paymentsClientReferenceInformation.java b/src/main/java/Model/V2paymentsClientReferenceInformation.java index 5bf8ea4c6..0c1f3036a 100644 --- a/src/main/java/Model/V2paymentsClientReferenceInformation.java +++ b/src/main/java/Model/V2paymentsClientReferenceInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsClientReferenceInformation diff --git a/src/main/java/Model/V2paymentsConsumerAuthenticationInformation.java b/src/main/java/Model/V2paymentsConsumerAuthenticationInformation.java index 9d82e05c4..269a3fc97 100644 --- a/src/main/java/Model/V2paymentsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/V2paymentsConsumerAuthenticationInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsConsumerAuthenticationInformation diff --git a/src/main/java/Model/V2paymentsDeviceInformation.java b/src/main/java/Model/V2paymentsDeviceInformation.java index e4674d90b..b96f486eb 100644 --- a/src/main/java/Model/V2paymentsDeviceInformation.java +++ b/src/main/java/Model/V2paymentsDeviceInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsDeviceInformation diff --git a/src/main/java/Model/V2paymentsMerchantDefinedInformation.java b/src/main/java/Model/V2paymentsMerchantDefinedInformation.java index c54107c09..9fac10e2e 100644 --- a/src/main/java/Model/V2paymentsMerchantDefinedInformation.java +++ b/src/main/java/Model/V2paymentsMerchantDefinedInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsMerchantDefinedInformation diff --git a/src/main/java/Model/V2paymentsMerchantInformation.java b/src/main/java/Model/V2paymentsMerchantInformation.java index f22b7fc57..00d6c1bc1 100644 --- a/src/main/java/Model/V2paymentsMerchantInformation.java +++ b/src/main/java/Model/V2paymentsMerchantInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsMerchantInformationMerchantDescriptor; -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; /** * V2paymentsMerchantInformation diff --git a/src/main/java/Model/V2paymentsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/V2paymentsMerchantInformationMerchantDescriptor.java index 85cfb5ada..77547a499 100644 --- a/src/main/java/Model/V2paymentsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/V2paymentsMerchantInformationMerchantDescriptor.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsMerchantInformationMerchantDescriptor diff --git a/src/main/java/Model/V2paymentsOrderInformation.java b/src/main/java/Model/V2paymentsOrderInformation.java index 13e925a9d..65486c3f5 100644 --- a/src/main/java/Model/V2paymentsOrderInformation.java +++ b/src/main/java/Model/V2paymentsOrderInformation.java @@ -13,23 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetails; -import Model.V2paymentsOrderInformationBillTo; -import Model.V2paymentsOrderInformationInvoiceDetails; -import Model.V2paymentsOrderInformationLineItems; -import Model.V2paymentsOrderInformationShipTo; -import Model.V2paymentsOrderInformationShippingDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsOrderInformation diff --git a/src/main/java/Model/V2paymentsOrderInformationAmountDetails.java b/src/main/java/Model/V2paymentsOrderInformationAmountDetails.java index 79e6e1e98..6c687ca13 100644 --- a/src/main/java/Model/V2paymentsOrderInformationAmountDetails.java +++ b/src/main/java/Model/V2paymentsOrderInformationAmountDetails.java @@ -13,20 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts; -import Model.V2paymentsOrderInformationAmountDetailsSurcharge; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsOrderInformationAmountDetails diff --git a/src/main/java/Model/V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java b/src/main/java/Model/V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java index 01ee83a58..7f675c858 100644 --- a/src/main/java/Model/V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java +++ b/src/main/java/Model/V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts diff --git a/src/main/java/Model/V2paymentsOrderInformationAmountDetailsSurcharge.java b/src/main/java/Model/V2paymentsOrderInformationAmountDetailsSurcharge.java index 551e21a47..22894cd2c 100644 --- a/src/main/java/Model/V2paymentsOrderInformationAmountDetailsSurcharge.java +++ b/src/main/java/Model/V2paymentsOrderInformationAmountDetailsSurcharge.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsOrderInformationAmountDetailsSurcharge diff --git a/src/main/java/Model/V2paymentsOrderInformationAmountDetailsTaxDetails.java b/src/main/java/Model/V2paymentsOrderInformationAmountDetailsTaxDetails.java index 780dbc52b..288c23ef9 100644 --- a/src/main/java/Model/V2paymentsOrderInformationAmountDetailsTaxDetails.java +++ b/src/main/java/Model/V2paymentsOrderInformationAmountDetailsTaxDetails.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * V2paymentsOrderInformationAmountDetailsTaxDetails diff --git a/src/main/java/Model/V2paymentsOrderInformationBillTo.java b/src/main/java/Model/V2paymentsOrderInformationBillTo.java index 29f2ff00b..fc460a167 100644 --- a/src/main/java/Model/V2paymentsOrderInformationBillTo.java +++ b/src/main/java/Model/V2paymentsOrderInformationBillTo.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * V2paymentsOrderInformationBillTo diff --git a/src/main/java/Model/V2paymentsOrderInformationInvoiceDetails.java b/src/main/java/Model/V2paymentsOrderInformationInvoiceDetails.java index ec260d945..b619c9e6b 100644 --- a/src/main/java/Model/V2paymentsOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/V2paymentsOrderInformationInvoiceDetails.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * V2paymentsOrderInformationInvoiceDetails diff --git a/src/main/java/Model/V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java b/src/main/java/Model/V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java index 82881300f..2db26c460 100644 --- a/src/main/java/Model/V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java +++ b/src/main/java/Model/V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum diff --git a/src/main/java/Model/V2paymentsOrderInformationLineItems.java b/src/main/java/Model/V2paymentsOrderInformationLineItems.java index 57f8d8f18..a8b3cfba3 100644 --- a/src/main/java/Model/V2paymentsOrderInformationLineItems.java +++ b/src/main/java/Model/V2paymentsOrderInformationLineItems.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * V2paymentsOrderInformationLineItems diff --git a/src/main/java/Model/V2paymentsOrderInformationShipTo.java b/src/main/java/Model/V2paymentsOrderInformationShipTo.java index ddc8ecba6..30ecc9025 100644 --- a/src/main/java/Model/V2paymentsOrderInformationShipTo.java +++ b/src/main/java/Model/V2paymentsOrderInformationShipTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsOrderInformationShipTo diff --git a/src/main/java/Model/V2paymentsOrderInformationShippingDetails.java b/src/main/java/Model/V2paymentsOrderInformationShippingDetails.java index 751ab9c4b..46ee6152d 100644 --- a/src/main/java/Model/V2paymentsOrderInformationShippingDetails.java +++ b/src/main/java/Model/V2paymentsOrderInformationShippingDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsOrderInformationShippingDetails diff --git a/src/main/java/Model/V2paymentsPaymentInformation.java b/src/main/java/Model/V2paymentsPaymentInformation.java index ec1c12e39..75ec47987 100644 --- a/src/main/java/Model/V2paymentsPaymentInformation.java +++ b/src/main/java/Model/V2paymentsPaymentInformation.java @@ -14,18 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsPaymentInformationCard; -import Model.V2paymentsPaymentInformationCustomer; -import Model.V2paymentsPaymentInformationFluidData; -import Model.V2paymentsPaymentInformationTokenizedCard; -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; /** * V2paymentsPaymentInformation diff --git a/src/main/java/Model/V2paymentsPaymentInformationCard.java b/src/main/java/Model/V2paymentsPaymentInformationCard.java index 91619a366..3a44052e5 100644 --- a/src/main/java/Model/V2paymentsPaymentInformationCard.java +++ b/src/main/java/Model/V2paymentsPaymentInformationCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsPaymentInformationCard diff --git a/src/main/java/Model/V2paymentsPaymentInformationCustomer.java b/src/main/java/Model/V2paymentsPaymentInformationCustomer.java index c51a9b5a2..db1c82a35 100644 --- a/src/main/java/Model/V2paymentsPaymentInformationCustomer.java +++ b/src/main/java/Model/V2paymentsPaymentInformationCustomer.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsPaymentInformationCustomer diff --git a/src/main/java/Model/V2paymentsPaymentInformationFluidData.java b/src/main/java/Model/V2paymentsPaymentInformationFluidData.java index 0efa0a807..d72f91ab2 100644 --- a/src/main/java/Model/V2paymentsPaymentInformationFluidData.java +++ b/src/main/java/Model/V2paymentsPaymentInformationFluidData.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsPaymentInformationFluidData diff --git a/src/main/java/Model/V2paymentsPaymentInformationTokenizedCard.java b/src/main/java/Model/V2paymentsPaymentInformationTokenizedCard.java index f5ddd9bda..62385043a 100644 --- a/src/main/java/Model/V2paymentsPaymentInformationTokenizedCard.java +++ b/src/main/java/Model/V2paymentsPaymentInformationTokenizedCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsPaymentInformationTokenizedCard diff --git a/src/main/java/Model/V2paymentsPointOfSaleInformation.java b/src/main/java/Model/V2paymentsPointOfSaleInformation.java index ad7fe98d1..9ab9666fd 100644 --- a/src/main/java/Model/V2paymentsPointOfSaleInformation.java +++ b/src/main/java/Model/V2paymentsPointOfSaleInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsPointOfSaleInformationEmv; -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; /** * V2paymentsPointOfSaleInformation diff --git a/src/main/java/Model/V2paymentsPointOfSaleInformationEmv.java b/src/main/java/Model/V2paymentsPointOfSaleInformationEmv.java index 4a9d88fb4..f4d990218 100644 --- a/src/main/java/Model/V2paymentsPointOfSaleInformationEmv.java +++ b/src/main/java/Model/V2paymentsPointOfSaleInformationEmv.java @@ -13,16 +13,12 @@ package Model; +import java.math.BigDecimal; import java.util.Objects; -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; -import java.math.BigDecimal; /** * V2paymentsPointOfSaleInformationEmv diff --git a/src/main/java/Model/V2paymentsProcessingInformation.java b/src/main/java/Model/V2paymentsProcessingInformation.java index ace44504a..105600a47 100644 --- a/src/main/java/Model/V2paymentsProcessingInformation.java +++ b/src/main/java/Model/V2paymentsProcessingInformation.java @@ -14,18 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsProcessingInformationAuthorizationOptions; -import Model.V2paymentsProcessingInformationCaptureOptions; -import Model.V2paymentsProcessingInformationIssuer; -import Model.V2paymentsProcessingInformationRecurringOptions; -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; /** * V2paymentsProcessingInformation diff --git a/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptions.java b/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptions.java index 46754ae41..8f488ffb9 100644 --- a/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptions.java @@ -13,18 +13,18 @@ package Model; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsProcessingInformationAuthorizationOptionsInitiator; + 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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsProcessingInformationAuthorizationOptions diff --git a/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiator.java index 98a64c980..1c055109d 100644 --- a/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiator.java @@ -13,16 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; -import Model.V2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction; + 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; /** * V2paymentsProcessingInformationAuthorizationOptionsInitiator diff --git a/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java b/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java index 52255fe28..345a0254d 100644 --- a/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java +++ b/src/main/java/Model/V2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction diff --git a/src/main/java/Model/V2paymentsProcessingInformationCaptureOptions.java b/src/main/java/Model/V2paymentsProcessingInformationCaptureOptions.java index 4439b87b8..6022dcfe2 100644 --- a/src/main/java/Model/V2paymentsProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/V2paymentsProcessingInformationCaptureOptions.java @@ -13,16 +13,12 @@ package Model; +import java.math.BigDecimal; import java.util.Objects; -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; -import java.math.BigDecimal; /** * V2paymentsProcessingInformationCaptureOptions diff --git a/src/main/java/Model/V2paymentsProcessingInformationIssuer.java b/src/main/java/Model/V2paymentsProcessingInformationIssuer.java index e34725072..dd0e6e470 100644 --- a/src/main/java/Model/V2paymentsProcessingInformationIssuer.java +++ b/src/main/java/Model/V2paymentsProcessingInformationIssuer.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsProcessingInformationIssuer diff --git a/src/main/java/Model/V2paymentsProcessingInformationRecurringOptions.java b/src/main/java/Model/V2paymentsProcessingInformationRecurringOptions.java index d44c9b099..3e4a18ed4 100644 --- a/src/main/java/Model/V2paymentsProcessingInformationRecurringOptions.java +++ b/src/main/java/Model/V2paymentsProcessingInformationRecurringOptions.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsProcessingInformationRecurringOptions diff --git a/src/main/java/Model/V2paymentsRecipientInformation.java b/src/main/java/Model/V2paymentsRecipientInformation.java index 50a348844..4a4ad7bcc 100644 --- a/src/main/java/Model/V2paymentsRecipientInformation.java +++ b/src/main/java/Model/V2paymentsRecipientInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsRecipientInformation diff --git a/src/main/java/Model/V2paymentsidcapturesAggregatorInformation.java b/src/main/java/Model/V2paymentsidcapturesAggregatorInformation.java index d3bfa777a..23de0aa10 100644 --- a/src/main/java/Model/V2paymentsidcapturesAggregatorInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesAggregatorInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidcapturesAggregatorInformationSubMerchant; -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; /** * V2paymentsidcapturesAggregatorInformation diff --git a/src/main/java/Model/V2paymentsidcapturesAggregatorInformationSubMerchant.java b/src/main/java/Model/V2paymentsidcapturesAggregatorInformationSubMerchant.java index 3ca10d766..06b52dd26 100644 --- a/src/main/java/Model/V2paymentsidcapturesAggregatorInformationSubMerchant.java +++ b/src/main/java/Model/V2paymentsidcapturesAggregatorInformationSubMerchant.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesAggregatorInformationSubMerchant diff --git a/src/main/java/Model/V2paymentsidcapturesBuyerInformation.java b/src/main/java/Model/V2paymentsidcapturesBuyerInformation.java index 00a9f487b..b4f49e7e7 100644 --- a/src/main/java/Model/V2paymentsidcapturesBuyerInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesBuyerInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesBuyerInformation diff --git a/src/main/java/Model/V2paymentsidcapturesMerchantInformation.java b/src/main/java/Model/V2paymentsidcapturesMerchantInformation.java index 7cb5502ba..9ea7d6e6b 100644 --- a/src/main/java/Model/V2paymentsidcapturesMerchantInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesMerchantInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsMerchantInformationMerchantDescriptor; -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; /** * V2paymentsidcapturesMerchantInformation diff --git a/src/main/java/Model/V2paymentsidcapturesOrderInformation.java b/src/main/java/Model/V2paymentsidcapturesOrderInformation.java index b17e94d3d..6e3b203ee 100644 --- a/src/main/java/Model/V2paymentsidcapturesOrderInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesOrderInformation.java @@ -13,23 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationLineItems; -import Model.V2paymentsidcapturesOrderInformationAmountDetails; -import Model.V2paymentsidcapturesOrderInformationBillTo; -import Model.V2paymentsidcapturesOrderInformationInvoiceDetails; -import Model.V2paymentsidcapturesOrderInformationShipTo; -import Model.V2paymentsidcapturesOrderInformationShippingDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsidcapturesOrderInformation diff --git a/src/main/java/Model/V2paymentsidcapturesOrderInformationAmountDetails.java b/src/main/java/Model/V2paymentsidcapturesOrderInformationAmountDetails.java index 4bb30bd4b..2f5c0a081 100644 --- a/src/main/java/Model/V2paymentsidcapturesOrderInformationAmountDetails.java +++ b/src/main/java/Model/V2paymentsidcapturesOrderInformationAmountDetails.java @@ -13,19 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsidcapturesOrderInformationAmountDetails diff --git a/src/main/java/Model/V2paymentsidcapturesOrderInformationBillTo.java b/src/main/java/Model/V2paymentsidcapturesOrderInformationBillTo.java index dd59ac461..2d7a843dc 100644 --- a/src/main/java/Model/V2paymentsidcapturesOrderInformationBillTo.java +++ b/src/main/java/Model/V2paymentsidcapturesOrderInformationBillTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesOrderInformationBillTo diff --git a/src/main/java/Model/V2paymentsidcapturesOrderInformationInvoiceDetails.java b/src/main/java/Model/V2paymentsidcapturesOrderInformationInvoiceDetails.java index 97866f2e9..69310cb4a 100644 --- a/src/main/java/Model/V2paymentsidcapturesOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/V2paymentsidcapturesOrderInformationInvoiceDetails.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsidcapturesOrderInformationInvoiceDetails diff --git a/src/main/java/Model/V2paymentsidcapturesOrderInformationShipTo.java b/src/main/java/Model/V2paymentsidcapturesOrderInformationShipTo.java index 14da5be8c..adf8e4938 100644 --- a/src/main/java/Model/V2paymentsidcapturesOrderInformationShipTo.java +++ b/src/main/java/Model/V2paymentsidcapturesOrderInformationShipTo.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesOrderInformationShipTo diff --git a/src/main/java/Model/V2paymentsidcapturesOrderInformationShippingDetails.java b/src/main/java/Model/V2paymentsidcapturesOrderInformationShippingDetails.java index 3d6a27c53..14094ece3 100644 --- a/src/main/java/Model/V2paymentsidcapturesOrderInformationShippingDetails.java +++ b/src/main/java/Model/V2paymentsidcapturesOrderInformationShippingDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesOrderInformationShippingDetails diff --git a/src/main/java/Model/V2paymentsidcapturesPaymentInformation.java b/src/main/java/Model/V2paymentsidcapturesPaymentInformation.java index ef53f063a..42d3fa1dd 100644 --- a/src/main/java/Model/V2paymentsidcapturesPaymentInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesPaymentInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsPaymentInformationCustomer; -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; /** * V2paymentsidcapturesPaymentInformation diff --git a/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformation.java b/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformation.java index 9c73e2192..38ebc8084 100644 --- a/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidcapturesPointOfSaleInformationEmv; -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; /** * V2paymentsidcapturesPointOfSaleInformation diff --git a/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformationEmv.java b/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformationEmv.java index b67c323cc..cb9580288 100644 --- a/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformationEmv.java +++ b/src/main/java/Model/V2paymentsidcapturesPointOfSaleInformationEmv.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesPointOfSaleInformationEmv diff --git a/src/main/java/Model/V2paymentsidcapturesProcessingInformation.java b/src/main/java/Model/V2paymentsidcapturesProcessingInformation.java index e7b7f80d5..72632f6a5 100644 --- a/src/main/java/Model/V2paymentsidcapturesProcessingInformation.java +++ b/src/main/java/Model/V2paymentsidcapturesProcessingInformation.java @@ -14,17 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsProcessingInformationIssuer; -import Model.V2paymentsidcapturesProcessingInformationAuthorizationOptions; -import Model.V2paymentsidcapturesProcessingInformationCaptureOptions; -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; /** * V2paymentsidcapturesProcessingInformation diff --git a/src/main/java/Model/V2paymentsidcapturesProcessingInformationAuthorizationOptions.java b/src/main/java/Model/V2paymentsidcapturesProcessingInformationAuthorizationOptions.java index 8817d0880..6d34e797d 100644 --- a/src/main/java/Model/V2paymentsidcapturesProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/V2paymentsidcapturesProcessingInformationAuthorizationOptions.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidcapturesProcessingInformationAuthorizationOptions diff --git a/src/main/java/Model/V2paymentsidcapturesProcessingInformationCaptureOptions.java b/src/main/java/Model/V2paymentsidcapturesProcessingInformationCaptureOptions.java index 21960f6b0..a8e880409 100644 --- a/src/main/java/Model/V2paymentsidcapturesProcessingInformationCaptureOptions.java +++ b/src/main/java/Model/V2paymentsidcapturesProcessingInformationCaptureOptions.java @@ -13,16 +13,12 @@ package Model; +import java.math.BigDecimal; import java.util.Objects; -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; -import java.math.BigDecimal; /** * V2paymentsidcapturesProcessingInformationCaptureOptions diff --git a/src/main/java/Model/V2paymentsidrefundsMerchantInformation.java b/src/main/java/Model/V2paymentsidrefundsMerchantInformation.java index 69e39d8fa..f1a1c5fee 100644 --- a/src/main/java/Model/V2paymentsidrefundsMerchantInformation.java +++ b/src/main/java/Model/V2paymentsidrefundsMerchantInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsMerchantInformationMerchantDescriptor; -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; /** * V2paymentsidrefundsMerchantInformation diff --git a/src/main/java/Model/V2paymentsidrefundsOrderInformation.java b/src/main/java/Model/V2paymentsidrefundsOrderInformation.java index 5d93cc85d..809575b42 100644 --- a/src/main/java/Model/V2paymentsidrefundsOrderInformation.java +++ b/src/main/java/Model/V2paymentsidrefundsOrderInformation.java @@ -13,23 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsidcapturesOrderInformationAmountDetails; -import Model.V2paymentsidcapturesOrderInformationBillTo; -import Model.V2paymentsidcapturesOrderInformationInvoiceDetails; -import Model.V2paymentsidcapturesOrderInformationShipTo; -import Model.V2paymentsidcapturesOrderInformationShippingDetails; -import Model.V2paymentsidrefundsOrderInformationLineItems; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsidrefundsOrderInformation diff --git a/src/main/java/Model/V2paymentsidrefundsOrderInformationLineItems.java b/src/main/java/Model/V2paymentsidrefundsOrderInformationLineItems.java index 04347a1dc..87cdba693 100644 --- a/src/main/java/Model/V2paymentsidrefundsOrderInformationLineItems.java +++ b/src/main/java/Model/V2paymentsidrefundsOrderInformationLineItems.java @@ -13,19 +13,14 @@ package Model; -import java.util.Objects; -import Model.V2paymentsOrderInformationAmountDetailsTaxDetails; -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; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Objects; + +import com.google.gson.annotations.SerializedName; + +import io.swagger.annotations.ApiModelProperty; /** * V2paymentsidrefundsOrderInformationLineItems diff --git a/src/main/java/Model/V2paymentsidrefundsPaymentInformation.java b/src/main/java/Model/V2paymentsidrefundsPaymentInformation.java index ee028ad63..95a885f9d 100644 --- a/src/main/java/Model/V2paymentsidrefundsPaymentInformation.java +++ b/src/main/java/Model/V2paymentsidrefundsPaymentInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidrefundsPaymentInformationCard; -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; /** * V2paymentsidrefundsPaymentInformation diff --git a/src/main/java/Model/V2paymentsidrefundsPaymentInformationCard.java b/src/main/java/Model/V2paymentsidrefundsPaymentInformationCard.java index d3de9a243..4fb8c9113 100644 --- a/src/main/java/Model/V2paymentsidrefundsPaymentInformationCard.java +++ b/src/main/java/Model/V2paymentsidrefundsPaymentInformationCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidrefundsPaymentInformationCard diff --git a/src/main/java/Model/V2paymentsidrefundsPointOfSaleInformation.java b/src/main/java/Model/V2paymentsidrefundsPointOfSaleInformation.java index 83d9260d5..b930a24ec 100644 --- a/src/main/java/Model/V2paymentsidrefundsPointOfSaleInformation.java +++ b/src/main/java/Model/V2paymentsidrefundsPointOfSaleInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidcapturesPointOfSaleInformationEmv; -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; /** * V2paymentsidrefundsPointOfSaleInformation diff --git a/src/main/java/Model/V2paymentsidrefundsProcessingInformation.java b/src/main/java/Model/V2paymentsidrefundsProcessingInformation.java index d5710223c..c6fda6067 100644 --- a/src/main/java/Model/V2paymentsidrefundsProcessingInformation.java +++ b/src/main/java/Model/V2paymentsidrefundsProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidrefundsProcessingInformationRecurringOptions; -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; /** * V2paymentsidrefundsProcessingInformation diff --git a/src/main/java/Model/V2paymentsidrefundsProcessingInformationRecurringOptions.java b/src/main/java/Model/V2paymentsidrefundsProcessingInformationRecurringOptions.java index 8f9e432b2..0edf091db 100644 --- a/src/main/java/Model/V2paymentsidrefundsProcessingInformationRecurringOptions.java +++ b/src/main/java/Model/V2paymentsidrefundsProcessingInformationRecurringOptions.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidrefundsProcessingInformationRecurringOptions diff --git a/src/main/java/Model/V2paymentsidreversalsClientReferenceInformation.java b/src/main/java/Model/V2paymentsidreversalsClientReferenceInformation.java index 080a11c67..d2841e657 100644 --- a/src/main/java/Model/V2paymentsidreversalsClientReferenceInformation.java +++ b/src/main/java/Model/V2paymentsidreversalsClientReferenceInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidreversalsClientReferenceInformation diff --git a/src/main/java/Model/V2paymentsidreversalsOrderInformation.java b/src/main/java/Model/V2paymentsidreversalsOrderInformation.java index 1a598c7dc..bc9f6952d 100644 --- a/src/main/java/Model/V2paymentsidreversalsOrderInformation.java +++ b/src/main/java/Model/V2paymentsidreversalsOrderInformation.java @@ -13,18 +13,13 @@ package Model; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; -import Model.V2paymentsidreversalsOrderInformationLineItems; -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; -import java.util.ArrayList; -import java.util.List; /** * V2paymentsidreversalsOrderInformation diff --git a/src/main/java/Model/V2paymentsidreversalsOrderInformationLineItems.java b/src/main/java/Model/V2paymentsidreversalsOrderInformationLineItems.java index d5827811d..f902ffc39 100644 --- a/src/main/java/Model/V2paymentsidreversalsOrderInformationLineItems.java +++ b/src/main/java/Model/V2paymentsidreversalsOrderInformationLineItems.java @@ -13,16 +13,12 @@ package Model; +import java.math.BigDecimal; import java.util.Objects; -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; -import java.math.BigDecimal; /** * V2paymentsidreversalsOrderInformationLineItems diff --git a/src/main/java/Model/V2paymentsidreversalsPointOfSaleInformation.java b/src/main/java/Model/V2paymentsidreversalsPointOfSaleInformation.java index 59ce008d6..04540ed5d 100644 --- a/src/main/java/Model/V2paymentsidreversalsPointOfSaleInformation.java +++ b/src/main/java/Model/V2paymentsidreversalsPointOfSaleInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.InlineResponse201PointOfSaleInformationEmv; -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; /** * V2paymentsidreversalsPointOfSaleInformation diff --git a/src/main/java/Model/V2paymentsidreversalsProcessingInformation.java b/src/main/java/Model/V2paymentsidreversalsProcessingInformation.java index 07ee72f4e..2334e4155 100644 --- a/src/main/java/Model/V2paymentsidreversalsProcessingInformation.java +++ b/src/main/java/Model/V2paymentsidreversalsProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsProcessingInformationIssuer; -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; /** * V2paymentsidreversalsProcessingInformation diff --git a/src/main/java/Model/V2paymentsidreversalsReversalInformation.java b/src/main/java/Model/V2paymentsidreversalsReversalInformation.java index c57504a14..81d83a90b 100644 --- a/src/main/java/Model/V2paymentsidreversalsReversalInformation.java +++ b/src/main/java/Model/V2paymentsidreversalsReversalInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidreversalsReversalInformationAmountDetails; -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; /** * V2paymentsidreversalsReversalInformation diff --git a/src/main/java/Model/V2paymentsidreversalsReversalInformationAmountDetails.java b/src/main/java/Model/V2paymentsidreversalsReversalInformationAmountDetails.java index cd01fbc42..48807f9ac 100644 --- a/src/main/java/Model/V2paymentsidreversalsReversalInformationAmountDetails.java +++ b/src/main/java/Model/V2paymentsidreversalsReversalInformationAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2paymentsidreversalsReversalInformationAmountDetails diff --git a/src/main/java/Model/V2payoutsMerchantInformation.java b/src/main/java/Model/V2payoutsMerchantInformation.java index 7e207f9a4..1f7013803 100644 --- a/src/main/java/Model/V2payoutsMerchantInformation.java +++ b/src/main/java/Model/V2payoutsMerchantInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2payoutsMerchantInformationMerchantDescriptor; -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; /** * V2payoutsMerchantInformation diff --git a/src/main/java/Model/V2payoutsMerchantInformationMerchantDescriptor.java b/src/main/java/Model/V2payoutsMerchantInformationMerchantDescriptor.java index f228b19b2..d18554bbb 100644 --- a/src/main/java/Model/V2payoutsMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/V2payoutsMerchantInformationMerchantDescriptor.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2payoutsMerchantInformationMerchantDescriptor diff --git a/src/main/java/Model/V2payoutsOrderInformation.java b/src/main/java/Model/V2payoutsOrderInformation.java index f469e6c42..c904c7fd1 100644 --- a/src/main/java/Model/V2payoutsOrderInformation.java +++ b/src/main/java/Model/V2payoutsOrderInformation.java @@ -14,16 +14,10 @@ package Model; import java.util.Objects; -import Model.V2payoutsOrderInformationAmountDetails; -import Model.V2payoutsOrderInformationBillTo; -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; /** * V2payoutsOrderInformation diff --git a/src/main/java/Model/V2payoutsOrderInformationAmountDetails.java b/src/main/java/Model/V2payoutsOrderInformationAmountDetails.java index 222637b28..84a519009 100644 --- a/src/main/java/Model/V2payoutsOrderInformationAmountDetails.java +++ b/src/main/java/Model/V2payoutsOrderInformationAmountDetails.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2payoutsOrderInformationAmountDetails diff --git a/src/main/java/Model/V2payoutsOrderInformationBillTo.java b/src/main/java/Model/V2payoutsOrderInformationBillTo.java index 7698ee886..77bcabf26 100644 --- a/src/main/java/Model/V2payoutsOrderInformationBillTo.java +++ b/src/main/java/Model/V2payoutsOrderInformationBillTo.java @@ -13,15 +13,16 @@ package Model; +import java.io.IOException; import java.util.Objects; + 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; /** * V2payoutsOrderInformationBillTo diff --git a/src/main/java/Model/V2payoutsPaymentInformation.java b/src/main/java/Model/V2payoutsPaymentInformation.java index 2c69879a8..a93ad3817 100644 --- a/src/main/java/Model/V2payoutsPaymentInformation.java +++ b/src/main/java/Model/V2payoutsPaymentInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2payoutsPaymentInformationCard; -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; /** * V2payoutsPaymentInformation diff --git a/src/main/java/Model/V2payoutsPaymentInformationCard.java b/src/main/java/Model/V2payoutsPaymentInformationCard.java index f5cb68caa..2339202a7 100644 --- a/src/main/java/Model/V2payoutsPaymentInformationCard.java +++ b/src/main/java/Model/V2payoutsPaymentInformationCard.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2payoutsPaymentInformationCard diff --git a/src/main/java/Model/V2payoutsProcessingInformation.java b/src/main/java/Model/V2payoutsProcessingInformation.java index efd3c61e4..52a21ae32 100644 --- a/src/main/java/Model/V2payoutsProcessingInformation.java +++ b/src/main/java/Model/V2payoutsProcessingInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2payoutsProcessingInformationPayoutsOptions; -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; /** * V2payoutsProcessingInformation diff --git a/src/main/java/Model/V2payoutsProcessingInformationPayoutsOptions.java b/src/main/java/Model/V2payoutsProcessingInformationPayoutsOptions.java index 74fd0e13f..de604931b 100644 --- a/src/main/java/Model/V2payoutsProcessingInformationPayoutsOptions.java +++ b/src/main/java/Model/V2payoutsProcessingInformationPayoutsOptions.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2payoutsProcessingInformationPayoutsOptions diff --git a/src/main/java/Model/V2payoutsRecipientInformation.java b/src/main/java/Model/V2payoutsRecipientInformation.java index c93fc9480..84cbd97d6 100644 --- a/src/main/java/Model/V2payoutsRecipientInformation.java +++ b/src/main/java/Model/V2payoutsRecipientInformation.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2payoutsRecipientInformation diff --git a/src/main/java/Model/V2payoutsSenderInformation.java b/src/main/java/Model/V2payoutsSenderInformation.java index 447a77053..62048c7e3 100644 --- a/src/main/java/Model/V2payoutsSenderInformation.java +++ b/src/main/java/Model/V2payoutsSenderInformation.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2payoutsSenderInformationAccount; -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; /** * V2payoutsSenderInformation diff --git a/src/main/java/Model/V2payoutsSenderInformationAccount.java b/src/main/java/Model/V2payoutsSenderInformationAccount.java index df116e34f..7878d67b1 100644 --- a/src/main/java/Model/V2payoutsSenderInformationAccount.java +++ b/src/main/java/Model/V2payoutsSenderInformationAccount.java @@ -14,14 +14,10 @@ package Model; import java.util.Objects; -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; /** * V2payoutsSenderInformationAccount diff --git a/src/main/java/Model/VoidCaptureRequest.java b/src/main/java/Model/VoidCaptureRequest.java index 4a3609a9a..5d5efe626 100644 --- a/src/main/java/Model/VoidCaptureRequest.java +++ b/src/main/java/Model/VoidCaptureRequest.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidreversalsClientReferenceInformation; -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; /** * VoidCaptureRequest diff --git a/src/main/java/Model/VoidCreditRequest.java b/src/main/java/Model/VoidCreditRequest.java index fb2d99f70..ed1287bf8 100644 --- a/src/main/java/Model/VoidCreditRequest.java +++ b/src/main/java/Model/VoidCreditRequest.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidreversalsClientReferenceInformation; -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; /** * VoidCreditRequest diff --git a/src/main/java/Model/VoidPaymentRequest.java b/src/main/java/Model/VoidPaymentRequest.java index 6fbbad96a..937adac02 100644 --- a/src/main/java/Model/VoidPaymentRequest.java +++ b/src/main/java/Model/VoidPaymentRequest.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidreversalsClientReferenceInformation; -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; /** * VoidPaymentRequest diff --git a/src/main/java/Model/VoidRefundRequest.java b/src/main/java/Model/VoidRefundRequest.java index 9b1e53939..dd09eae38 100644 --- a/src/main/java/Model/VoidRefundRequest.java +++ b/src/main/java/Model/VoidRefundRequest.java @@ -14,15 +14,10 @@ package Model; import java.util.Objects; -import Model.V2paymentsidreversalsClientReferenceInformation; -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; /** * VoidRefundRequest