diff --git a/docs/BankAccountValidationApi.md b/docs/BankAccountValidationApi.md index 9302db2d6..71a45df0e 100644 --- a/docs/BankAccountValidationApi.md +++ b/docs/BankAccountValidationApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **bankAccountValidationRequest** -> InlineResponse20013 bankAccountValidationRequest(accountValidationsRequest) +> InlineResponse20014 bankAccountValidationRequest(accountValidationsRequest) Visa Bank Account Validation Service @@ -25,7 +25,7 @@ The Visa Bank Account Validation Service is a new standalone product designed to BankAccountValidationApi apiInstance = new BankAccountValidationApi(); AccountValidationsRequest accountValidationsRequest = new AccountValidationsRequest(); // AccountValidationsRequest | try { - InlineResponse20013 result = apiInstance.bankAccountValidationRequest(accountValidationsRequest); + InlineResponse20014 result = apiInstance.bankAccountValidationRequest(accountValidationsRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BankAccountValidationApi#bankAccountValidationRequest"); @@ -41,7 +41,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20013**](InlineResponse20013.md) +[**InlineResponse20014**](InlineResponse20014.md) ### Authorization diff --git a/docs/BatchesApi.md b/docs/BatchesApi.md index a6e0e292a..c3df9045b 100644 --- a/docs/BatchesApi.md +++ b/docs/BatchesApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **getBatchReport** -> InlineResponse20012 getBatchReport(batchId) +> InlineResponse20013 getBatchReport(batchId) Retrieve a Batch Report @@ -28,7 +28,7 @@ Retrieve a Batch Report BatchesApi apiInstance = new BatchesApi(); String batchId = "batchId_example"; // String | Unique identification number assigned to the submitted request. try { - InlineResponse20012 result = apiInstance.getBatchReport(batchId); + InlineResponse20013 result = apiInstance.getBatchReport(batchId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchesApi#getBatchReport"); @@ -44,7 +44,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20012**](InlineResponse20012.md) +[**InlineResponse20013**](InlineResponse20013.md) ### Authorization @@ -57,7 +57,7 @@ No authorization required # **getBatchStatus** -> InlineResponse20011 getBatchStatus(batchId) +> InlineResponse20012 getBatchStatus(batchId) Retrieve a Batch Status @@ -73,7 +73,7 @@ Retrieve a Batch Status BatchesApi apiInstance = new BatchesApi(); String batchId = "batchId_example"; // String | Unique identification number assigned to the submitted request. try { - InlineResponse20011 result = apiInstance.getBatchStatus(batchId); + InlineResponse20012 result = apiInstance.getBatchStatus(batchId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchesApi#getBatchStatus"); @@ -89,7 +89,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20011**](InlineResponse20011.md) +[**InlineResponse20012**](InlineResponse20012.md) ### Authorization @@ -102,7 +102,7 @@ No authorization required # **getBatchesList** -> InlineResponse20010 getBatchesList(offset, limit, fromDate, toDate) +> InlineResponse20011 getBatchesList(offset, limit, fromDate, toDate) List Batches @@ -121,7 +121,7 @@ Long limit = 20L; // Long | The maximum number that can be returned in the array String fromDate = "fromDate_example"; // String | ISO-8601 format: yyyyMMddTHHmmssZ String toDate = "toDate_example"; // String | ISO-8601 format: yyyyMMddTHHmmssZ try { - InlineResponse20010 result = apiInstance.getBatchesList(offset, limit, fromDate, toDate); + InlineResponse20011 result = apiInstance.getBatchesList(offset, limit, fromDate, toDate); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchesApi#getBatchesList"); @@ -140,7 +140,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20010**](InlineResponse20010.md) +[**InlineResponse20011**](InlineResponse20011.md) ### Authorization diff --git a/docs/CreateNewWebhooksApi.md b/docs/CreateNewWebhooksApi.md index af9252fcd..b151b6bc2 100644 --- a/docs/CreateNewWebhooksApi.md +++ b/docs/CreateNewWebhooksApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **findProductsToSubscribe** -> List<InlineResponse2004> findProductsToSubscribe(organizationId) +> List<InlineResponse2005> findProductsToSubscribe(organizationId) Find Products You Can Subscribe To @@ -27,7 +27,7 @@ Retrieve a list of products and event types that your account is eligible for. T CreateNewWebhooksApi apiInstance = new CreateNewWebhooksApi(); String organizationId = "organizationId_example"; // String | The Organization Identifier. try { - List result = apiInstance.findProductsToSubscribe(organizationId); + List result = apiInstance.findProductsToSubscribe(organizationId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CreateNewWebhooksApi#findProductsToSubscribe"); @@ -43,7 +43,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2004>**](InlineResponse2004.md) +[**List<InlineResponse2005>**](InlineResponse2005.md) ### Authorization diff --git a/docs/CreatePlanRequest.md b/docs/CreatePlanRequest.md index aec708923..5b1a43d6e 100644 --- a/docs/CreatePlanRequest.md +++ b/docs/CreatePlanRequest.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clientReferenceInformation** | [**Rbsv1plansClientReferenceInformation**](Rbsv1plansClientReferenceInformation.md) | | [optional] **planInformation** | [**Rbsv1plansPlanInformation**](Rbsv1plansPlanInformation.md) | | [optional] **orderInformation** | [**Rbsv1plansOrderInformation**](Rbsv1plansOrderInformation.md) | | [optional] diff --git a/docs/CreateSubscriptionRequest.md b/docs/CreateSubscriptionRequest.md index e7192b679..b5f89a83a 100644 --- a/docs/CreateSubscriptionRequest.md +++ b/docs/CreateSubscriptionRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**clientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **processingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **planInformation** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional] **subscriptionInformation** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional] diff --git a/docs/CreateSubscriptionRequest1.md b/docs/CreateSubscriptionRequest1.md index 2d97b787c..392675110 100644 --- a/docs/CreateSubscriptionRequest1.md +++ b/docs/CreateSubscriptionRequest1.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**clientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **processingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **planInformation** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional] **subscriptionInformation** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional] diff --git a/docs/CreateSubscriptionResponse.md b/docs/CreateSubscriptionResponse.md index f964ee564..87add3302 100644 --- a/docs/CreateSubscriptionResponse.md +++ b/docs/CreateSubscriptionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] **status** | **String** | The status of the submitted transaction. Possible values: - COMPLETED - PENDING_REVIEW - DECLINED - INVALID_REQUEST | [optional] **subscriptionInformation** | [**CreateSubscriptionResponseSubscriptionInformation**](CreateSubscriptionResponseSubscriptionInformation.md) | | [optional] +**clientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] diff --git a/docs/DecisionManagerApi.md b/docs/DecisionManagerApi.md index ceb091440..4672bed35 100644 --- a/docs/DecisionManagerApi.md +++ b/docs/DecisionManagerApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **actionDecisionManagerCase** -> InlineResponse2001 actionDecisionManagerCase(id, caseManagementActionsRequest) +> InlineResponse2002 actionDecisionManagerCase(id, caseManagementActionsRequest) Take action on a DM post-transactional case @@ -30,7 +30,7 @@ DecisionManagerApi apiInstance = new DecisionManagerApi(); String id = "id_example"; // String | An unique identification number generated by Cybersource to identify the submitted request. CaseManagementActionsRequest caseManagementActionsRequest = new CaseManagementActionsRequest(); // CaseManagementActionsRequest | try { - InlineResponse2001 result = apiInstance.actionDecisionManagerCase(id, caseManagementActionsRequest); + InlineResponse2002 result = apiInstance.actionDecisionManagerCase(id, caseManagementActionsRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DecisionManagerApi#actionDecisionManagerCase"); @@ -47,7 +47,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2001**](InlineResponse2001.md) +[**InlineResponse2002**](InlineResponse2002.md) ### Authorization diff --git a/docs/DeviceDeAssociationApi.md b/docs/DeviceDeAssociationApi.md index 5df07caf9..75a49a727 100644 --- a/docs/DeviceDeAssociationApi.md +++ b/docs/DeviceDeAssociationApi.md @@ -54,7 +54,7 @@ No authorization required # **postDeAssociateV3Terminal** -> List<InlineResponse2008> postDeAssociateV3Terminal(deviceDeAssociateV3Request) +> List<InlineResponse2009> postDeAssociateV3Terminal(deviceDeAssociateV3Request) De-associate a device from merchant to account or reseller and from account to reseller @@ -70,7 +70,7 @@ A device will be de-associated from its current organization and moved up in the DeviceDeAssociationApi apiInstance = new DeviceDeAssociationApi(); List deviceDeAssociateV3Request = Arrays.asList(new DeviceDeAssociateV3Request()); // List | deviceId that has to be de-associated to the destination organizationId. try { - List result = apiInstance.postDeAssociateV3Terminal(deviceDeAssociateV3Request); + List result = apiInstance.postDeAssociateV3Terminal(deviceDeAssociateV3Request); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DeviceDeAssociationApi#postDeAssociateV3Terminal"); @@ -86,7 +86,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2008>**](InlineResponse2008.md) +[**List<InlineResponse2009>**](InlineResponse2009.md) ### Authorization diff --git a/docs/DeviceSearchApi.md b/docs/DeviceSearchApi.md index ed1a9a95d..4c066d231 100644 --- a/docs/DeviceSearchApi.md +++ b/docs/DeviceSearchApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **postSearchQuery** -> InlineResponse2007 postSearchQuery(postDeviceSearchRequest) +> InlineResponse2008 postSearchQuery(postDeviceSearchRequest) Retrieve List of Devices for a given search query V2 @@ -26,7 +26,7 @@ Retrieves list of terminals in paginated format. DeviceSearchApi apiInstance = new DeviceSearchApi(); PostDeviceSearchRequest postDeviceSearchRequest = new PostDeviceSearchRequest(); // PostDeviceSearchRequest | try { - InlineResponse2007 result = apiInstance.postSearchQuery(postDeviceSearchRequest); + InlineResponse2008 result = apiInstance.postSearchQuery(postDeviceSearchRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DeviceSearchApi#postSearchQuery"); @@ -42,7 +42,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2007**](InlineResponse2007.md) +[**InlineResponse2008**](InlineResponse2008.md) ### Authorization @@ -55,7 +55,7 @@ No authorization required # **postSearchQueryV3** -> InlineResponse2009 postSearchQueryV3(postDeviceSearchRequestV3) +> InlineResponse20010 postSearchQueryV3(postDeviceSearchRequestV3) Retrieve List of Devices for a given search query @@ -71,7 +71,7 @@ Search for devices matching a given search query. The search query supports ser DeviceSearchApi apiInstance = new DeviceSearchApi(); PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = new PostDeviceSearchRequestV3(); // PostDeviceSearchRequestV3 | try { - InlineResponse2009 result = apiInstance.postSearchQueryV3(postDeviceSearchRequestV3); + InlineResponse20010 result = apiInstance.postSearchQueryV3(postDeviceSearchRequestV3); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DeviceSearchApi#postSearchQueryV3"); @@ -87,7 +87,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2009**](InlineResponse2009.md) +[**InlineResponse20010**](InlineResponse20010.md) ### Authorization diff --git a/docs/GenerateUnifiedCheckoutCaptureContextRequest.md b/docs/GenerateUnifiedCheckoutCaptureContextRequest.md index 361a99da5..05cee7bac 100644 --- a/docs/GenerateUnifiedCheckoutCaptureContextRequest.md +++ b/docs/GenerateUnifiedCheckoutCaptureContextRequest.md @@ -7,9 +7,10 @@ Name | Type | Description | Notes **clientVersion** | **String** | Specify the version of Unified Checkout that you want to use. | [optional] **targetOrigins** | **List<String>** | The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Unified Checkout is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080<br><br> If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \"https://example.com\", \"https://basket.example.com\", \"https://ecom.example.com\" ] | [optional] **allowedCardNetworks** | **List<String>** | The list of card networks you want to use for this Unified Checkout transaction. Unified Checkout currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JAYWAN - JCB - JCREW - KCP - MADA - MAESTRO - MEEZA - PAYPAK - UATP | [optional] -**allowedPaymentTypes** | **List<String>** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. | [optional] +**allowedPaymentTypes** | **List<String>** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. | [optional] **country** | **String** | Country the purchase is originating from (e.g. country of the merchant). Use the two-character ISO Standard | [optional] **locale** | **String** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code. Please refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html) | [optional] +**buttonType** | **String** | Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, | [optional] **captureMandate** | [**Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional] **completeMandate** | [**Upv1capturecontextsCompleteMandate**](Upv1capturecontextsCompleteMandate.md) | | [optional] **transientTokenResponseOptions** | [**Microformv2sessionsTransientTokenResponseOptions**](Microformv2sessionsTransientTokenResponseOptions.md) | | [optional] diff --git a/docs/GetAllSubscriptionsResponseClientReferenceInformation.md b/docs/GetAllSubscriptionsResponseClientReferenceInformation.md new file mode 100644 index 000000000..0dc8afe06 --- /dev/null +++ b/docs/GetAllSubscriptionsResponseClientReferenceInformation.md @@ -0,0 +1,10 @@ + +# GetAllSubscriptionsResponseClientReferenceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. | [optional] + + + diff --git a/docs/GetAllSubscriptionsResponseSubscriptions.md b/docs/GetAllSubscriptionsResponseSubscriptions.md index 9b8a223f3..cbac6d22a 100644 --- a/docs/GetAllSubscriptionsResponseSubscriptions.md +++ b/docs/GetAllSubscriptionsResponseSubscriptions.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **id** | **String** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional] **planInformation** | [**GetAllSubscriptionsResponsePlanInformation**](GetAllSubscriptionsResponsePlanInformation.md) | | [optional] **subscriptionInformation** | [**GetAllSubscriptionsResponseSubscriptionInformation**](GetAllSubscriptionsResponseSubscriptionInformation.md) | | [optional] +**clientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **paymentInformation** | [**GetAllSubscriptionsResponsePaymentInformation**](GetAllSubscriptionsResponsePaymentInformation.md) | | [optional] **orderInformation** | [**GetAllSubscriptionsResponseOrderInformation**](GetAllSubscriptionsResponseOrderInformation.md) | | [optional] diff --git a/docs/GetSubscriptionResponse.md b/docs/GetSubscriptionResponse.md index f51b4ff32..52a4a6aa0 100644 --- a/docs/GetSubscriptionResponse.md +++ b/docs/GetSubscriptionResponse.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **subscriptionInformation** | [**GetAllSubscriptionsResponseSubscriptionInformation**](GetAllSubscriptionsResponseSubscriptionInformation.md) | | [optional] **paymentInformation** | [**GetAllSubscriptionsResponsePaymentInformation**](GetAllSubscriptionsResponsePaymentInformation.md) | | [optional] **orderInformation** | [**GetAllSubscriptionsResponseOrderInformation**](GetAllSubscriptionsResponseOrderInformation.md) | | [optional] +**clientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **reactivationInformation** | [**GetSubscriptionResponseReactivationInformation**](GetSubscriptionResponseReactivationInformation.md) | | [optional] diff --git a/docs/GetSubscriptionResponse1PaymentInstrument.md b/docs/GetSubscriptionResponse1PaymentInstrument.md index d5cf98e77..f75ab6ba9 100644 --- a/docs/GetSubscriptionResponse1PaymentInstrument.md +++ b/docs/GetSubscriptionResponse1PaymentInstrument.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **String** | The Id of the Payment Instrument Token. | [optional] **bankAccount** | [**GetSubscriptionResponse1PaymentInstrumentBankAccount**](GetSubscriptionResponse1PaymentInstrumentBankAccount.md) | | [optional] **card** | [**GetSubscriptionResponse1PaymentInstrumentCard**](GetSubscriptionResponse1PaymentInstrumentCard.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **buyerInformation** | [**GetSubscriptionResponse1PaymentInstrumentBuyerInformation**](GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md) | | [optional] diff --git a/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md b/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md index fff41010e..c6eca4d9f 100644 --- a/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md +++ b/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **companyTaxID** | **String** | Company's tax identifier. This is only used for eCheck service. | [optional] **currency** | **String** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). | [optional] **dateOfBirth** | [**LocalDate**](LocalDate.md) | Date of birth of the customer. Format: YYYY-MM-DD | [optional] -**personalIdentification** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] +**personalIdentification** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] diff --git a/docs/GetSubscriptionResponse1ShippingAddress.md b/docs/GetSubscriptionResponse1ShippingAddress.md index c179402c1..18d31237f 100644 --- a/docs/GetSubscriptionResponse1ShippingAddress.md +++ b/docs/GetSubscriptionResponse1ShippingAddress.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | The Id of the Shipping Address Token. | [optional] -**shipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**shipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] diff --git a/docs/GetSubscriptionResponseReactivationInformation.md b/docs/GetSubscriptionResponseReactivationInformation.md index 53d43f70d..3f23037a9 100644 --- a/docs/GetSubscriptionResponseReactivationInformation.md +++ b/docs/GetSubscriptionResponseReactivationInformation.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**skippedPaymentsCount** | **String** | Number of payments that should have occurred while the subscription was in a suspended status. | [optional] -**skippedPaymentsTotalAmount** | **String** | Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. | [optional] +**missedPaymentsCount** | **String** | Number of payments that should have occurred while the subscription was in a suspended status. | [optional] +**missedPaymentsTotalAmount** | **String** | Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. | [optional] diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md index 9b62c39fb..059002d67 100644 --- a/docs/InlineResponse200.md +++ b/docs/InlineResponse200.md @@ -4,10 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Unique identifier for the Card Art Asset. | [optional] -**type** | **String** | The type of Card Art Asset. | [optional] -**provider** | **String** | The provider of the Card Art Asset. | [optional] -**content** | [**List<InlineResponse200Content>**](InlineResponse200Content.md) | Array of content objects representing the Card Art Asset. | [optional] +**responses** | [**List<InlineResponse200Responses>**](InlineResponse200Responses.md) | | [optional] diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md index 4dfa8a6ed..e33e5c3f5 100644 --- a/docs/InlineResponse2001.md +++ b/docs/InlineResponse2001.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | UUID uniquely generated for this comments. | [optional] -**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] -**status** | **String** | The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` | [optional] -**embedded** | [**InlineResponse2001Embedded**](InlineResponse2001Embedded.md) | | [optional] +**id** | **String** | Unique identifier for the Card Art Asset. | [optional] +**type** | **String** | The type of Card Art Asset. | [optional] +**provider** | **String** | The provider of the Card Art Asset. | [optional] +**content** | [**List<InlineResponse2001Content>**](InlineResponse2001Content.md) | Array of content objects representing the Card Art Asset. | [optional] diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md index 70cf590a3..567939056 100644 --- a/docs/InlineResponse20010.md +++ b/docs/InlineResponse20010.md @@ -4,13 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**List<InlineResponse20010Links>**](InlineResponse20010Links.md) | | [optional] -**object** | **String** | | [optional] -**offset** | **Integer** | | [optional] -**limit** | **Integer** | | [optional] -**count** | **Integer** | | [optional] -**total** | **Integer** | | [optional] -**embedded** | [**InlineResponse20010Embedded**](InlineResponse20010Embedded.md) | | [optional] +**totalCount** | **Integer** | Total number of results. | [optional] +**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**sort** | **String** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] +**count** | **Integer** | Results for this page, this could be below the limit. | [optional] +**devices** | [**List<InlineResponse20010Devices>**](InlineResponse20010Devices.md) | A collection of devices | [optional] diff --git a/docs/InlineResponse2009Devices.md b/docs/InlineResponse20010Devices.md similarity index 83% rename from docs/InlineResponse2009Devices.md rename to docs/InlineResponse20010Devices.md index b0a159944..e8a25d643 100644 --- a/docs/InlineResponse2009Devices.md +++ b/docs/InlineResponse20010Devices.md @@ -1,5 +1,5 @@ -# InlineResponse2009Devices +# InlineResponse20010Devices ## Properties Name | Type | Description | Notes @@ -15,7 +15,7 @@ Name | Type | Description | Notes **accountId** | **String** | ID of the account to whom the device assigned. | [optional] **terminalCreationDate** | [**DateTime**](DateTime.md) | Timestamp in which the device was created. | [optional] **terminalUpdationDate** | [**DateTime**](DateTime.md) | Timestamp in which the device was updated/modified. | [optional] -**paymentProcessorToTerminalMap** | [**InlineResponse2009PaymentProcessorToTerminalMap**](InlineResponse2009PaymentProcessorToTerminalMap.md) | | [optional] +**paymentProcessorToTerminalMap** | [**InlineResponse20010PaymentProcessorToTerminalMap**](InlineResponse20010PaymentProcessorToTerminalMap.md) | | [optional] diff --git a/docs/InlineResponse20010Embedded.md b/docs/InlineResponse20010Embedded.md deleted file mode 100644 index d01d65ded..000000000 --- a/docs/InlineResponse20010Embedded.md +++ /dev/null @@ -1,10 +0,0 @@ - -# InlineResponse20010Embedded - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**batches** | [**List<InlineResponse20010EmbeddedBatches>**](InlineResponse20010EmbeddedBatches.md) | | [optional] - - - diff --git a/docs/InlineResponse20010EmbeddedLinks.md b/docs/InlineResponse20010EmbeddedLinks.md deleted file mode 100644 index b3e4c0e2c..000000000 --- a/docs/InlineResponse20010EmbeddedLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# InlineResponse20010EmbeddedLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reports** | [**List<InlineResponse20010EmbeddedLinksReports>**](InlineResponse20010EmbeddedLinksReports.md) | | [optional] - - - diff --git a/docs/InlineResponse20010Links.md b/docs/InlineResponse20010Links.md deleted file mode 100644 index 96b94ed4e..000000000 --- a/docs/InlineResponse20010Links.md +++ /dev/null @@ -1,11 +0,0 @@ - -# InlineResponse20010Links - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**rel** | **String** | Valid Values: * self * first * last * prev * next | [optional] -**href** | **String** | | [optional] - - - diff --git a/docs/InlineResponse2009PaymentProcessorToTerminalMap.md b/docs/InlineResponse20010PaymentProcessorToTerminalMap.md similarity index 79% rename from docs/InlineResponse2009PaymentProcessorToTerminalMap.md rename to docs/InlineResponse20010PaymentProcessorToTerminalMap.md index 9d1cac6fb..9f737abc8 100644 --- a/docs/InlineResponse2009PaymentProcessorToTerminalMap.md +++ b/docs/InlineResponse20010PaymentProcessorToTerminalMap.md @@ -1,5 +1,5 @@ -# InlineResponse2009PaymentProcessorToTerminalMap +# InlineResponse20010PaymentProcessorToTerminalMap ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011.md b/docs/InlineResponse20011.md index 272d2f726..6441a2cdc 100644 --- a/docs/InlineResponse20011.md +++ b/docs/InlineResponse20011.md @@ -4,16 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**InlineResponse20011Links**](InlineResponse20011Links.md) | | [optional] -**batchId** | **String** | Unique identification number assigned to the submitted request. | [optional] -**batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] -**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**merchantReference** | **String** | Reference used by merchant to identify batch. | [optional] -**batchCaEndpoints** | **String** | | [optional] -**status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] -**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] -**billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] -**description** | **String** | | [optional] +**links** | [**List<InlineResponse20011Links>**](InlineResponse20011Links.md) | | [optional] +**object** | **String** | | [optional] +**offset** | **Integer** | | [optional] +**limit** | **Integer** | | [optional] +**count** | **Integer** | | [optional] +**total** | **Integer** | | [optional] +**embedded** | [**InlineResponse20011Embedded**](InlineResponse20011Embedded.md) | | [optional] diff --git a/docs/InlineResponse20011Embedded.md b/docs/InlineResponse20011Embedded.md new file mode 100644 index 000000000..438bf6a85 --- /dev/null +++ b/docs/InlineResponse20011Embedded.md @@ -0,0 +1,10 @@ + +# InlineResponse20011Embedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**batches** | [**List<InlineResponse20011EmbeddedBatches>**](InlineResponse20011EmbeddedBatches.md) | | [optional] + + + diff --git a/docs/InlineResponse20010EmbeddedBatches.md b/docs/InlineResponse20011EmbeddedBatches.md similarity index 80% rename from docs/InlineResponse20010EmbeddedBatches.md rename to docs/InlineResponse20011EmbeddedBatches.md index 2cd67e031..6164f8d7b 100644 --- a/docs/InlineResponse20010EmbeddedBatches.md +++ b/docs/InlineResponse20011EmbeddedBatches.md @@ -1,10 +1,10 @@ -# InlineResponse20010EmbeddedBatches +# InlineResponse20011EmbeddedBatches ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**InlineResponse20010EmbeddedLinks**](InlineResponse20010EmbeddedLinks.md) | | [optional] +**links** | [**InlineResponse20011EmbeddedLinks**](InlineResponse20011EmbeddedLinks.md) | | [optional] **batchId** | **String** | Unique identification number assigned to the submitted request. | [optional] **batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] **batchModifiedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] @@ -13,7 +13,7 @@ Name | Type | Description | Notes **merchantReference** | **String** | Reference used by merchant to identify batch. | [optional] **batchCaEndpoints** | **List<String>** | Valid Values: * VISA * MASTERCARD * AMEX | [optional] **status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE | [optional] -**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] +**totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] diff --git a/docs/InlineResponse20011EmbeddedLinks.md b/docs/InlineResponse20011EmbeddedLinks.md new file mode 100644 index 000000000..689e85285 --- /dev/null +++ b/docs/InlineResponse20011EmbeddedLinks.md @@ -0,0 +1,10 @@ + +# InlineResponse20011EmbeddedLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reports** | [**List<InlineResponse20011EmbeddedLinksReports>**](InlineResponse20011EmbeddedLinksReports.md) | | [optional] + + + diff --git a/docs/InlineResponse20010EmbeddedLinksReports.md b/docs/InlineResponse20011EmbeddedLinksReports.md similarity index 78% rename from docs/InlineResponse20010EmbeddedLinksReports.md rename to docs/InlineResponse20011EmbeddedLinksReports.md index 6f050c887..a616f9a4b 100644 --- a/docs/InlineResponse20010EmbeddedLinksReports.md +++ b/docs/InlineResponse20011EmbeddedLinksReports.md @@ -1,5 +1,5 @@ -# InlineResponse20010EmbeddedLinksReports +# InlineResponse20011EmbeddedLinksReports ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20010EmbeddedTotals.md b/docs/InlineResponse20011EmbeddedTotals.md similarity index 91% rename from docs/InlineResponse20010EmbeddedTotals.md rename to docs/InlineResponse20011EmbeddedTotals.md index 7edba34a9..2ed5da90e 100644 --- a/docs/InlineResponse20010EmbeddedTotals.md +++ b/docs/InlineResponse20011EmbeddedTotals.md @@ -1,5 +1,5 @@ -# InlineResponse20010EmbeddedTotals +# InlineResponse20011EmbeddedTotals ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011Links.md b/docs/InlineResponse20011Links.md index b1ea80b4c..d0da0d003 100644 --- a/docs/InlineResponse20011Links.md +++ b/docs/InlineResponse20011Links.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] -**report** | [**List<InlineResponse20011LinksReport>**](InlineResponse20011LinksReport.md) | | [optional] +**rel** | **String** | Valid Values: * self * first * last * prev * next | [optional] +**href** | **String** | | [optional] diff --git a/docs/InlineResponse20012.md b/docs/InlineResponse20012.md index 6d164e0d8..258a70249 100644 --- a/docs/InlineResponse20012.md +++ b/docs/InlineResponse20012.md @@ -4,16 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version** | **String** | | [optional] -**reportCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**links** | [**InlineResponse20012Links**](InlineResponse20012Links.md) | | [optional] **batchId** | **String** | Unique identification number assigned to the submitted request. | [optional] -**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**batchCaEndpoints** | **String** | | [optional] **batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] **merchantReference** | **String** | Reference used by merchant to identify batch. | [optional] -**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] -**billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] -**records** | [**List<InlineResponse20012Records>**](InlineResponse20012Records.md) | | [optional] +**batchCaEndpoints** | **String** | | [optional] +**status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] +**totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] +**billing** | [**InlineResponse20012Billing**](InlineResponse20012Billing.md) | | [optional] +**description** | **String** | | [optional] diff --git a/docs/InlineResponse20011Billing.md b/docs/InlineResponse20012Billing.md similarity index 90% rename from docs/InlineResponse20011Billing.md rename to docs/InlineResponse20012Billing.md index 89da4fb56..9d23bf3e2 100644 --- a/docs/InlineResponse20011Billing.md +++ b/docs/InlineResponse20012Billing.md @@ -1,5 +1,5 @@ -# InlineResponse20011Billing +# InlineResponse20012Billing ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20012Links.md b/docs/InlineResponse20012Links.md new file mode 100644 index 000000000..799e8fa48 --- /dev/null +++ b/docs/InlineResponse20012Links.md @@ -0,0 +1,11 @@ + +# InlineResponse20012Links + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] +**report** | [**List<InlineResponse20012LinksReport>**](InlineResponse20012LinksReport.md) | | [optional] + + + diff --git a/docs/InlineResponse20011LinksReport.md b/docs/InlineResponse20012LinksReport.md similarity index 82% rename from docs/InlineResponse20011LinksReport.md rename to docs/InlineResponse20012LinksReport.md index 67b8c376e..8eb6cf6d4 100644 --- a/docs/InlineResponse20011LinksReport.md +++ b/docs/InlineResponse20012LinksReport.md @@ -1,5 +1,5 @@ -# InlineResponse20011LinksReport +# InlineResponse20012LinksReport ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20012Records.md b/docs/InlineResponse20012Records.md deleted file mode 100644 index 774ff9dd6..000000000 --- a/docs/InlineResponse20012Records.md +++ /dev/null @@ -1,12 +0,0 @@ - -# InlineResponse20012Records - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**sourceRecord** | [**InlineResponse20012SourceRecord**](InlineResponse20012SourceRecord.md) | | [optional] -**responseRecord** | [**InlineResponse20012ResponseRecord**](InlineResponse20012ResponseRecord.md) | | [optional] - - - diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md index 97d4705c5..ad7eb796b 100644 --- a/docs/InlineResponse20013.md +++ b/docs/InlineResponse20013.md @@ -4,10 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clientReferenceInformation** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] -**requestId** | **String** | Request Id sent as part of the request. | [optional] -**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] -**bankAccountValidation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] +**version** | **String** | | [optional] +**reportCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**batchId** | **String** | Unique identification number assigned to the submitted request. | [optional] +**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] +**batchCaEndpoints** | **String** | | [optional] +**batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**merchantReference** | **String** | Reference used by merchant to identify batch. | [optional] +**totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] +**billing** | [**InlineResponse20012Billing**](InlineResponse20012Billing.md) | | [optional] +**records** | [**List<InlineResponse20013Records>**](InlineResponse20013Records.md) | | [optional] diff --git a/docs/InlineResponse20013Records.md b/docs/InlineResponse20013Records.md new file mode 100644 index 000000000..8ffcb2e16 --- /dev/null +++ b/docs/InlineResponse20013Records.md @@ -0,0 +1,12 @@ + +# InlineResponse20013Records + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**sourceRecord** | [**InlineResponse20013SourceRecord**](InlineResponse20013SourceRecord.md) | | [optional] +**responseRecord** | [**InlineResponse20013ResponseRecord**](InlineResponse20013ResponseRecord.md) | | [optional] + + + diff --git a/docs/InlineResponse20012ResponseRecord.md b/docs/InlineResponse20013ResponseRecord.md similarity index 81% rename from docs/InlineResponse20012ResponseRecord.md rename to docs/InlineResponse20013ResponseRecord.md index 8f3624937..5c0bd447d 100644 --- a/docs/InlineResponse20012ResponseRecord.md +++ b/docs/InlineResponse20013ResponseRecord.md @@ -1,5 +1,5 @@ -# InlineResponse20012ResponseRecord +# InlineResponse20013ResponseRecord ## Properties Name | Type | Description | Notes @@ -13,7 +13,7 @@ Name | Type | Description | Notes **cardExpiryMonth** | **String** | | [optional] **cardExpiryYear** | **String** | | [optional] **cardType** | **String** | | [optional] -**additionalUpdates** | [**List<InlineResponse20012ResponseRecordAdditionalUpdates>**](InlineResponse20012ResponseRecordAdditionalUpdates.md) | | [optional] +**additionalUpdates** | [**List<InlineResponse20013ResponseRecordAdditionalUpdates>**](InlineResponse20013ResponseRecordAdditionalUpdates.md) | | [optional] diff --git a/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md b/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md similarity index 87% rename from docs/InlineResponse20012ResponseRecordAdditionalUpdates.md rename to docs/InlineResponse20013ResponseRecordAdditionalUpdates.md index 8d46fcea9..87d750dae 100644 --- a/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md +++ b/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md @@ -1,5 +1,5 @@ -# InlineResponse20012ResponseRecordAdditionalUpdates +# InlineResponse20013ResponseRecordAdditionalUpdates ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20012SourceRecord.md b/docs/InlineResponse20013SourceRecord.md similarity index 93% rename from docs/InlineResponse20012SourceRecord.md rename to docs/InlineResponse20013SourceRecord.md index 4ff5d9b09..c22f59bb0 100644 --- a/docs/InlineResponse20012SourceRecord.md +++ b/docs/InlineResponse20013SourceRecord.md @@ -1,5 +1,5 @@ -# InlineResponse20012SourceRecord +# InlineResponse20013SourceRecord ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20014.md b/docs/InlineResponse20014.md index f9042e65e..c165945bd 100644 --- a/docs/InlineResponse20014.md +++ b/docs/InlineResponse20014.md @@ -4,12 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clientReferenceInformation** | [**InlineResponse20014ClientReferenceInformation**](InlineResponse20014ClientReferenceInformation.md) | | [optional] -**id** | **String** | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid | -**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. | -**status** | **String** | Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` | -**errorInformation** | [**InlineResponse2018ErrorInformation**](InlineResponse2018ErrorInformation.md) | | [optional] -**orderInformation** | [**InlineResponse2018OrderInformation**](InlineResponse2018OrderInformation.md) | | [optional] +**clientReferenceInformation** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] +**requestId** | **String** | Request Id sent as part of the request. | [optional] +**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**bankAccountValidation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md new file mode 100644 index 000000000..3d60b6ffa --- /dev/null +++ b/docs/InlineResponse20015.md @@ -0,0 +1,15 @@ + +# InlineResponse20015 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientReferenceInformation** | [**InlineResponse20015ClientReferenceInformation**](InlineResponse20015ClientReferenceInformation.md) | | [optional] +**id** | **String** | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid | +**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. | +**status** | **String** | Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` | +**errorInformation** | [**InlineResponse2018ErrorInformation**](InlineResponse2018ErrorInformation.md) | | [optional] +**orderInformation** | [**InlineResponse2018OrderInformation**](InlineResponse2018OrderInformation.md) | | [optional] + + + diff --git a/docs/InlineResponse20014ClientReferenceInformation.md b/docs/InlineResponse20015ClientReferenceInformation.md similarity index 95% rename from docs/InlineResponse20014ClientReferenceInformation.md rename to docs/InlineResponse20015ClientReferenceInformation.md index 2b5717a76..ae9118df0 100644 --- a/docs/InlineResponse20014ClientReferenceInformation.md +++ b/docs/InlineResponse20015ClientReferenceInformation.md @@ -1,5 +1,5 @@ -# InlineResponse20014ClientReferenceInformation +# InlineResponse20015ClientReferenceInformation ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse200Content.md b/docs/InlineResponse2001Content.md similarity index 93% rename from docs/InlineResponse200Content.md rename to docs/InlineResponse2001Content.md index 2c4046d73..35f3e37bf 100644 --- a/docs/InlineResponse200Content.md +++ b/docs/InlineResponse2001Content.md @@ -1,5 +1,5 @@ -# InlineResponse200Content +# InlineResponse2001Content ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2001Embedded.md b/docs/InlineResponse2001Embedded.md deleted file mode 100644 index e21f3c933..000000000 --- a/docs/InlineResponse2001Embedded.md +++ /dev/null @@ -1,11 +0,0 @@ - -# InlineResponse2001Embedded - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**capture** | [**InlineResponse2001EmbeddedCapture**](InlineResponse2001EmbeddedCapture.md) | | [optional] -**reversal** | [**InlineResponse2001EmbeddedReversal**](InlineResponse2001EmbeddedReversal.md) | | [optional] - - - diff --git a/docs/InlineResponse2001EmbeddedCaptureLinks.md b/docs/InlineResponse2001EmbeddedCaptureLinks.md deleted file mode 100644 index 708757e84..000000000 --- a/docs/InlineResponse2001EmbeddedCaptureLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# InlineResponse2001EmbeddedCaptureLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**InlineResponse2001EmbeddedCaptureLinksSelf**](InlineResponse2001EmbeddedCaptureLinksSelf.md) | | [optional] - - - diff --git a/docs/InlineResponse2001EmbeddedReversalLinks.md b/docs/InlineResponse2001EmbeddedReversalLinks.md deleted file mode 100644 index 95bde6078..000000000 --- a/docs/InlineResponse2001EmbeddedReversalLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# InlineResponse2001EmbeddedReversalLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**InlineResponse2001EmbeddedReversalLinksSelf**](InlineResponse2001EmbeddedReversalLinksSelf.md) | | [optional] - - - diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index 3a5d46c63..804063220 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -4,18 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Long** | | [optional] -**fieldType** | **String** | | [optional] -**label** | **String** | | [optional] -**customerVisible** | **Boolean** | | [optional] -**textMinLength** | **Integer** | | [optional] -**textMaxLength** | **Integer** | | [optional] -**possibleValues** | **String** | | [optional] -**textDefaultValue** | **String** | | [optional] -**merchantId** | **String** | | [optional] -**referenceType** | **String** | | [optional] -**readOnly** | **Boolean** | | [optional] -**merchantDefinedDataIndex** | **Integer** | | [optional] +**id** | **String** | UUID uniquely generated for this comments. | [optional] +**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] +**status** | **String** | The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` | [optional] +**embedded** | [**InlineResponse2002Embedded**](InlineResponse2002Embedded.md) | | [optional] diff --git a/docs/InlineResponse2002Embedded.md b/docs/InlineResponse2002Embedded.md new file mode 100644 index 000000000..d783f463d --- /dev/null +++ b/docs/InlineResponse2002Embedded.md @@ -0,0 +1,11 @@ + +# InlineResponse2002Embedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capture** | [**InlineResponse2002EmbeddedCapture**](InlineResponse2002EmbeddedCapture.md) | | [optional] +**reversal** | [**InlineResponse2002EmbeddedReversal**](InlineResponse2002EmbeddedReversal.md) | | [optional] + + + diff --git a/docs/InlineResponse2001EmbeddedCapture.md b/docs/InlineResponse2002EmbeddedCapture.md similarity index 57% rename from docs/InlineResponse2001EmbeddedCapture.md rename to docs/InlineResponse2002EmbeddedCapture.md index 9ebdf9d9b..4d5879956 100644 --- a/docs/InlineResponse2001EmbeddedCapture.md +++ b/docs/InlineResponse2002EmbeddedCapture.md @@ -1,11 +1,11 @@ -# InlineResponse2001EmbeddedCapture +# InlineResponse2002EmbeddedCapture ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | **String** | The status of the capture if the capture is called. | [optional] -**links** | [**InlineResponse2001EmbeddedCaptureLinks**](InlineResponse2001EmbeddedCaptureLinks.md) | | [optional] +**links** | [**InlineResponse2002EmbeddedCaptureLinks**](InlineResponse2002EmbeddedCaptureLinks.md) | | [optional] diff --git a/docs/InlineResponse2002EmbeddedCaptureLinks.md b/docs/InlineResponse2002EmbeddedCaptureLinks.md new file mode 100644 index 000000000..73ea016cf --- /dev/null +++ b/docs/InlineResponse2002EmbeddedCaptureLinks.md @@ -0,0 +1,10 @@ + +# InlineResponse2002EmbeddedCaptureLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**InlineResponse2002EmbeddedCaptureLinksSelf**](InlineResponse2002EmbeddedCaptureLinksSelf.md) | | [optional] + + + diff --git a/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md b/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md similarity index 89% rename from docs/InlineResponse2001EmbeddedCaptureLinksSelf.md rename to docs/InlineResponse2002EmbeddedCaptureLinksSelf.md index b3bf774e5..8ffdd5b83 100644 --- a/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md +++ b/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md @@ -1,5 +1,5 @@ -# InlineResponse2001EmbeddedCaptureLinksSelf +# InlineResponse2002EmbeddedCaptureLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2001EmbeddedReversal.md b/docs/InlineResponse2002EmbeddedReversal.md similarity index 57% rename from docs/InlineResponse2001EmbeddedReversal.md rename to docs/InlineResponse2002EmbeddedReversal.md index 0b125668b..7a9360c65 100644 --- a/docs/InlineResponse2001EmbeddedReversal.md +++ b/docs/InlineResponse2002EmbeddedReversal.md @@ -1,11 +1,11 @@ -# InlineResponse2001EmbeddedReversal +# InlineResponse2002EmbeddedReversal ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | **String** | The status of the reversal if the auth reversal is called. | [optional] -**links** | [**InlineResponse2001EmbeddedReversalLinks**](InlineResponse2001EmbeddedReversalLinks.md) | | [optional] +**links** | [**InlineResponse2002EmbeddedReversalLinks**](InlineResponse2002EmbeddedReversalLinks.md) | | [optional] diff --git a/docs/InlineResponse2002EmbeddedReversalLinks.md b/docs/InlineResponse2002EmbeddedReversalLinks.md new file mode 100644 index 000000000..43d6f4202 --- /dev/null +++ b/docs/InlineResponse2002EmbeddedReversalLinks.md @@ -0,0 +1,10 @@ + +# InlineResponse2002EmbeddedReversalLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**InlineResponse2002EmbeddedReversalLinksSelf**](InlineResponse2002EmbeddedReversalLinksSelf.md) | | [optional] + + + diff --git a/docs/InlineResponse2001EmbeddedReversalLinksSelf.md b/docs/InlineResponse2002EmbeddedReversalLinksSelf.md similarity index 89% rename from docs/InlineResponse2001EmbeddedReversalLinksSelf.md rename to docs/InlineResponse2002EmbeddedReversalLinksSelf.md index a612e5975..ac08a460a 100644 --- a/docs/InlineResponse2001EmbeddedReversalLinksSelf.md +++ b/docs/InlineResponse2002EmbeddedReversalLinksSelf.md @@ -1,5 +1,5 @@ -# InlineResponse2001EmbeddedReversalLinksSelf +# InlineResponse2002EmbeddedReversalLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index 538fd4706..66decda51 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -4,13 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**registrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] -**integrationInformation** | [**InlineResponse2003IntegrationInformation**](InlineResponse2003IntegrationInformation.md) | | [optional] -**organizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] -**productInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] -**productInformationSetups** | [**List<InlineResponse2013ProductInformationSetups>**](InlineResponse2013ProductInformationSetups.md) | | [optional] -**documentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] -**details** | [**Map<String, List<Object>>**](List.md) | | [optional] +**id** | **Long** | | [optional] +**fieldType** | **String** | | [optional] +**label** | **String** | | [optional] +**customerVisible** | **Boolean** | | [optional] +**textMinLength** | **Integer** | | [optional] +**textMaxLength** | **Integer** | | [optional] +**possibleValues** | **String** | | [optional] +**textDefaultValue** | **String** | | [optional] +**merchantId** | **String** | | [optional] +**referenceType** | **String** | | [optional] +**readOnly** | **Boolean** | | [optional] +**merchantDefinedDataIndex** | **Integer** | | [optional] diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index 84eaac257..eafc898ab 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -4,9 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**productId** | **String** | Product ID. | [optional] -**productName** | **String** | Product Name. | [optional] -**eventTypes** | [**List<Notificationsubscriptionsv2productsorganizationIdEventTypes>**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] +**registrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] +**integrationInformation** | [**InlineResponse2004IntegrationInformation**](InlineResponse2004IntegrationInformation.md) | | [optional] +**organizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] +**productInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] +**productInformationSetups** | [**List<InlineResponse2013ProductInformationSetups>**](InlineResponse2013ProductInformationSetups.md) | | [optional] +**documentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] +**details** | [**Map<String, List<Object>>**](List.md) | | [optional] diff --git a/docs/InlineResponse2003IntegrationInformation.md b/docs/InlineResponse2004IntegrationInformation.md similarity index 72% rename from docs/InlineResponse2003IntegrationInformation.md rename to docs/InlineResponse2004IntegrationInformation.md index 2949d15d5..4d9a9d90d 100644 --- a/docs/InlineResponse2003IntegrationInformation.md +++ b/docs/InlineResponse2004IntegrationInformation.md @@ -1,11 +1,11 @@ -# InlineResponse2003IntegrationInformation +# InlineResponse2004IntegrationInformation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **oauth2** | [**List<Boardingv1registrationsIntegrationInformationOauth2>**](Boardingv1registrationsIntegrationInformationOauth2.md) | | [optional] -**tenantConfigurations** | [**List<InlineResponse2003IntegrationInformationTenantConfigurations>**](InlineResponse2003IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] +**tenantConfigurations** | [**List<InlineResponse2004IntegrationInformationTenantConfigurations>**](InlineResponse2004IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] diff --git a/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md b/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md similarity index 93% rename from docs/InlineResponse2003IntegrationInformationTenantConfigurations.md rename to docs/InlineResponse2004IntegrationInformationTenantConfigurations.md index 34a0eeadd..0c1b0f81a 100644 --- a/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md +++ b/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md @@ -1,5 +1,5 @@ -# InlineResponse2003IntegrationInformationTenantConfigurations +# InlineResponse2004IntegrationInformationTenantConfigurations ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md index 464dadb3c..5b13713cf 100644 --- a/docs/InlineResponse2005.md +++ b/docs/InlineResponse2005.md @@ -4,18 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**webhookId** | **String** | Webhook Id. This is generated by the server. | [optional] -**organizationId** | **String** | Organization ID. | [optional] -**products** | [**List<Notificationsubscriptionsv2webhooksProducts>**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] -**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional] -**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional] -**status** | **String** | Webhook status. | [optional] -**name** | **String** | Client friendly webhook name. | [optional] -**description** | **String** | Client friendly webhook description. | [optional] -**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] -**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] -**createdOn** | **String** | Date on which webhook was created/registered. | [optional] -**notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] +**productId** | **String** | Product ID. | [optional] +**productName** | **String** | Product Name. | [optional] +**eventTypes** | [**List<Notificationsubscriptionsv2productsorganizationIdEventTypes>**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md index 592dbb836..2fecbac99 100644 --- a/docs/InlineResponse2006.md +++ b/docs/InlineResponse2006.md @@ -15,7 +15,6 @@ Name | Type | Description | Notes **retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] **securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] **createdOn** | **String** | Date on which webhook was created/registered. | [optional] -**updatedOn** | **String** | Date on which webhook was most recently updated. | [optional] **notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index 6c65ff033..cbd526442 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -4,12 +4,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalCount** | **Integer** | Total number of results. | [optional] -**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**sort** | **String** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] -**count** | **Integer** | Results for this page, this could be below the limit. | [optional] -**devices** | [**List<InlineResponse2007Devices>**](InlineResponse2007Devices.md) | A collection of devices | [optional] +**webhookId** | **String** | Webhook Id. This is generated by the server. | [optional] +**organizationId** | **String** | Organization ID. | [optional] +**products** | [**List<Notificationsubscriptionsv2webhooksProducts>**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] +**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional] +**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional] +**status** | **String** | Webhook status. | [optional] +**name** | **String** | Client friendly webhook name. | [optional] +**description** | **String** | Client friendly webhook description. | [optional] +**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] +**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] +**createdOn** | **String** | Date on which webhook was created/registered. | [optional] +**updatedOn** | **String** | Date on which webhook was most recently updated. | [optional] +**notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index c45afa757..bc157f80a 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -4,8 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **String** | Possible values: - OK | [optional] -**devices** | [**List<Dmsv3devicesdeassociateDevices>**](Dmsv3devicesdeassociateDevices.md) | | [optional] +**totalCount** | **Integer** | Total number of results. | [optional] +**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**sort** | **String** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] +**count** | **Integer** | Results for this page, this could be below the limit. | [optional] +**devices** | [**List<InlineResponse2008Devices>**](InlineResponse2008Devices.md) | A collection of devices | [optional] diff --git a/docs/InlineResponse2007Devices.md b/docs/InlineResponse2008Devices.md similarity index 95% rename from docs/InlineResponse2007Devices.md rename to docs/InlineResponse2008Devices.md index 3793c354e..c1032f472 100644 --- a/docs/InlineResponse2007Devices.md +++ b/docs/InlineResponse2008Devices.md @@ -1,5 +1,5 @@ -# InlineResponse2007Devices +# InlineResponse2008Devices ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md index ce7f02a2c..292e652ed 100644 --- a/docs/InlineResponse2009.md +++ b/docs/InlineResponse2009.md @@ -4,12 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalCount** | **Integer** | Total number of results. | [optional] -**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**sort** | **String** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] -**count** | **Integer** | Results for this page, this could be below the limit. | [optional] -**devices** | [**List<InlineResponse2009Devices>**](InlineResponse2009Devices.md) | A collection of devices | [optional] +**status** | **String** | Possible values: - OK | [optional] +**devices** | [**List<Dmsv3devicesdeassociateDevices>**](Dmsv3devicesdeassociateDevices.md) | | [optional] diff --git a/docs/InlineResponse200Details.md b/docs/InlineResponse200Details.md new file mode 100644 index 000000000..f3c307f45 --- /dev/null +++ b/docs/InlineResponse200Details.md @@ -0,0 +1,11 @@ + +# InlineResponse200Details + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the field that caused the error. | [optional] +**location** | **String** | The location of the field that caused the error. | [optional] + + + diff --git a/docs/InlineResponse200Errors.md b/docs/InlineResponse200Errors.md new file mode 100644 index 000000000..0b6465de0 --- /dev/null +++ b/docs/InlineResponse200Errors.md @@ -0,0 +1,12 @@ + +# InlineResponse200Errors + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. | [optional] +**message** | **String** | The detailed message related to the type. | [optional] +**details** | [**List<InlineResponse200Details>**](InlineResponse200Details.md) | | [optional] + + + diff --git a/docs/InlineResponse200Responses.md b/docs/InlineResponse200Responses.md new file mode 100644 index 000000000..0b1c84490 --- /dev/null +++ b/docs/InlineResponse200Responses.md @@ -0,0 +1,13 @@ + +# InlineResponse200Responses + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**resource** | **String** | TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard | [optional] +**httpStatus** | **Integer** | Http status associated with the response. | [optional] +**id** | **String** | TMS token id associated with the response. | [optional] +**errors** | [**List<InlineResponse200Errors>**](InlineResponse200Errors.md) | | [optional] + + + diff --git a/docs/InlineResponse2013SetupsPayments.md b/docs/InlineResponse2013SetupsPayments.md index b611c955d..aafc4bdd2 100644 --- a/docs/InlineResponse2013SetupsPayments.md +++ b/docs/InlineResponse2013SetupsPayments.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **unifiedCheckout** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] **receivablesManager** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] **serviceFee** | [**InlineResponse2013SetupsPaymentsCardProcessing**](InlineResponse2013SetupsPaymentsCardProcessing.md) | | [optional] +**batchUpload** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] diff --git a/docs/ManageWebhooksApi.md b/docs/ManageWebhooksApi.md index 1ced30118..1907bf5b7 100644 --- a/docs/ManageWebhooksApi.md +++ b/docs/ManageWebhooksApi.md @@ -104,7 +104,7 @@ No authorization required # **getWebhookSubscriptionsByOrg** -> List<InlineResponse2005> getWebhookSubscriptionsByOrg(organizationId, productId, eventType) +> List<InlineResponse2006> getWebhookSubscriptionsByOrg(organizationId, productId, eventType) Get Details On All Created Webhooks @@ -122,7 +122,7 @@ String organizationId = "organizationId_example"; // String | The Organization I String productId = "productId_example"; // String | The Product Identifier. String eventType = "eventType_example"; // String | The Event Type. try { - List result = apiInstance.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); + List result = apiInstance.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManageWebhooksApi#getWebhookSubscriptionsByOrg"); @@ -140,7 +140,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2005>**](InlineResponse2005.md) +[**List<InlineResponse2006>**](InlineResponse2006.md) ### Authorization @@ -198,7 +198,7 @@ No authorization required # **notificationSubscriptionsV2WebhooksWebhookIdPatch** -> InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook) +> InlineResponse2007 notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook) Update a Webhook Subscription @@ -215,7 +215,7 @@ ManageWebhooksApi apiInstance = new ManageWebhooksApi(); String webhookId = "webhookId_example"; // String | The Webhook Identifier. UpdateWebhook updateWebhook = new UpdateWebhook(); // UpdateWebhook | The webhook payload or changes to apply. try { - InlineResponse2006 result = apiInstance.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); + InlineResponse2007 result = apiInstance.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManageWebhooksApi#notificationSubscriptionsV2WebhooksWebhookIdPatch"); @@ -232,7 +232,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](InlineResponse2006.md) +[**InlineResponse2007**](InlineResponse2007.md) ### Authorization diff --git a/docs/MerchantBoardingApi.md b/docs/MerchantBoardingApi.md index 38970e2b6..ad26a53d6 100644 --- a/docs/MerchantBoardingApi.md +++ b/docs/MerchantBoardingApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **getRegistration** -> InlineResponse2003 getRegistration(registrationId) +> InlineResponse2004 getRegistration(registrationId) Gets all the information on a boarding registration @@ -26,7 +26,7 @@ This end point will get all information of a boarding registration MerchantBoardingApi apiInstance = new MerchantBoardingApi(); String registrationId = "registrationId_example"; // String | Identifies the boarding registration to be updated try { - InlineResponse2003 result = apiInstance.getRegistration(registrationId); + InlineResponse2004 result = apiInstance.getRegistration(registrationId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling MerchantBoardingApi#getRegistration"); @@ -42,7 +42,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2003**](InlineResponse2003.md) +[**InlineResponse2004**](InlineResponse2004.md) ### Authorization diff --git a/docs/MerchantDefinedFieldsApi.md b/docs/MerchantDefinedFieldsApi.md index 60fb92a0b..3b79bb4a0 100644 --- a/docs/MerchantDefinedFieldsApi.md +++ b/docs/MerchantDefinedFieldsApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **createMerchantDefinedFieldDefinition** -> List<InlineResponse2002> createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest) +> List<InlineResponse2003> createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest) Create merchant defined field for a given reference type @@ -27,7 +27,7 @@ MerchantDefinedFieldsApi apiInstance = new MerchantDefinedFieldsApi(); String referenceType = "referenceType_example"; // String | The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = new MerchantDefinedFieldDefinitionRequest(); // MerchantDefinedFieldDefinitionRequest | try { - List result = apiInstance.createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); + List result = apiInstance.createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling MerchantDefinedFieldsApi#createMerchantDefinedFieldDefinition"); @@ -44,7 +44,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2002>**](InlineResponse2002.md) +[**List<InlineResponse2003>**](InlineResponse2003.md) ### Authorization @@ -101,7 +101,7 @@ No authorization required # **getMerchantDefinedFieldsDefinitions** -> List<InlineResponse2002> getMerchantDefinedFieldsDefinitions(referenceType) +> List<InlineResponse2003> getMerchantDefinedFieldsDefinitions(referenceType) Get all merchant defined fields for a given reference type @@ -115,7 +115,7 @@ Get all merchant defined fields for a given reference type MerchantDefinedFieldsApi apiInstance = new MerchantDefinedFieldsApi(); String referenceType = "referenceType_example"; // String | The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation try { - List result = apiInstance.getMerchantDefinedFieldsDefinitions(referenceType); + List result = apiInstance.getMerchantDefinedFieldsDefinitions(referenceType); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling MerchantDefinedFieldsApi#getMerchantDefinedFieldsDefinitions"); @@ -131,7 +131,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2002>**](InlineResponse2002.md) +[**List<InlineResponse2003>**](InlineResponse2003.md) ### Authorization @@ -144,7 +144,7 @@ No authorization required # **putMerchantDefinedFieldsDefinitions** -> List<InlineResponse2002> putMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore) +> List<InlineResponse2003> putMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore) Update a MerchantDefinedField by ID @@ -160,7 +160,7 @@ String referenceType = "referenceType_example"; // String | Long id = 789L; // Long | MerchantDefinedFieldCore merchantDefinedFieldCore = new MerchantDefinedFieldCore(); // MerchantDefinedFieldCore | try { - List result = apiInstance.putMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); + List result = apiInstance.putMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling MerchantDefinedFieldsApi#putMerchantDefinedFieldsDefinitions"); @@ -178,7 +178,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2002>**](InlineResponse2002.md) +[**List<InlineResponse2003>**](InlineResponse2003.md) ### Authorization diff --git a/docs/OffersApi.md b/docs/OffersApi.md index 36bf68f79..e0912f835 100644 --- a/docs/OffersApi.md +++ b/docs/OffersApi.md @@ -65,7 +65,7 @@ No authorization required # **getOffer** -> InlineResponse20014 getOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id) +> InlineResponse20015 getOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id) Retrieve an Offer @@ -86,7 +86,7 @@ String vCCorrelationId = "vCCorrelationId_example"; // String | String vCOrganizationId = "vCOrganizationId_example"; // String | String id = "id_example"; // String | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id try { - InlineResponse20014 result = apiInstance.getOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); + InlineResponse20015 result = apiInstance.getOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling OffersApi#getOffer"); @@ -107,7 +107,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20014**](InlineResponse20014.md) +[**InlineResponse20015**](InlineResponse20015.md) ### Authorization diff --git a/docs/PatchCustomerPaymentInstrumentRequest.md b/docs/PatchCustomerPaymentInstrumentRequest.md index a6465853c..41f93e8dd 100644 --- a/docs/PatchCustomerPaymentInstrumentRequest.md +++ b/docs/PatchCustomerPaymentInstrumentRequest.md @@ -4,21 +4,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **String** | The Id of the Payment Instrument Token. | [optional] **object** | **String** | The type. Possible Values: - paymentInstrument | [optional] **_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] diff --git a/docs/PatchCustomerRequest.md b/docs/PatchCustomerRequest.md index 65e158710..8b6d55845 100644 --- a/docs/PatchCustomerRequest.md +++ b/docs/PatchCustomerRequest.md @@ -4,16 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersLinks**](Tmsv2customersLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] **id** | **String** | The Id of the Customer Token. | [optional] -**objectInformation** | [**Tmsv2customersObjectInformation**](Tmsv2customersObjectInformation.md) | | [optional] -**buyerInformation** | [**Tmsv2customersBuyerInformation**](Tmsv2customersBuyerInformation.md) | | [optional] -**clientReferenceInformation** | [**Tmsv2customersClientReferenceInformation**](Tmsv2customersClientReferenceInformation.md) | | [optional] -**merchantDefinedInformation** | [**List<Tmsv2customersMerchantDefinedInformation>**](Tmsv2customersMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] -**defaultPaymentInstrument** | [**Tmsv2customersDefaultPaymentInstrument**](Tmsv2customersDefaultPaymentInstrument.md) | | [optional] -**defaultShippingAddress** | [**Tmsv2customersDefaultShippingAddress**](Tmsv2customersDefaultShippingAddress.md) | | [optional] -**metadata** | [**Tmsv2customersMetadata**](Tmsv2customersMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbedded**](Tmsv2customersEmbedded.md) | | [optional] +**objectInformation** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**clientReferenceInformation** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**merchantDefinedInformation** | [**List<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**defaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**defaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] diff --git a/docs/PatchCustomerShippingAddressRequest.md b/docs/PatchCustomerShippingAddressRequest.md index 4e3e51a4e..bd7b7b559 100644 --- a/docs/PatchCustomerShippingAddressRequest.md +++ b/docs/PatchCustomerShippingAddressRequest.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] **id** | **String** | The Id of the Shipping Address Token. | [optional] **_default** | **Boolean** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**shipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] +**shipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] diff --git a/docs/PatchPaymentInstrumentRequest.md b/docs/PatchPaymentInstrumentRequest.md index 77c6de701..569443dcd 100644 --- a/docs/PatchPaymentInstrumentRequest.md +++ b/docs/PatchPaymentInstrumentRequest.md @@ -4,21 +4,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **String** | The Id of the Payment Instrument Token. | [optional] **object** | **String** | The type. Possible Values: - paymentInstrument | [optional] **_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] diff --git a/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md b/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md index 0f1138951..ce5db455c 100644 --- a/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md +++ b/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md @@ -4,20 +4,20 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **String** | The Id of the Payment Instrument Token. | [optional] **object** | **String** | The type. Possible Values: - paymentInstrument | [optional] **_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**merchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] **embedded** | [**PaymentInstrumentList1EmbeddedEmbedded**](PaymentInstrumentList1EmbeddedEmbedded.md) | | [optional] diff --git a/docs/PaymentInstrumentListEmbedded.md b/docs/PaymentInstrumentListEmbedded.md index 598034852..d07ceb77f 100644 --- a/docs/PaymentInstrumentListEmbedded.md +++ b/docs/PaymentInstrumentListEmbedded.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**paymentInstruments** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrument>**](Tmsv2customersEmbeddedDefaultPaymentInstrument.md) | | [optional] +**paymentInstruments** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] diff --git a/docs/PaymentsProducts.md b/docs/PaymentsProducts.md index 6be3b0afb..9aa5d0386 100644 --- a/docs/PaymentsProducts.md +++ b/docs/PaymentsProducts.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **unifiedCheckout** | [**PaymentsProductsUnifiedCheckout**](PaymentsProductsUnifiedCheckout.md) | | [optional] **receivablesManager** | [**PaymentsProductsTax**](PaymentsProductsTax.md) | | [optional] **serviceFee** | [**PaymentsProductsServiceFee**](PaymentsProductsServiceFee.md) | | [optional] +**batchUpload** | [**PaymentsProductsTax**](PaymentsProductsTax.md) | | [optional] diff --git a/docs/PostCustomerPaymentInstrumentRequest.md b/docs/PostCustomerPaymentInstrumentRequest.md index 780524761..e825d6ff9 100644 --- a/docs/PostCustomerPaymentInstrumentRequest.md +++ b/docs/PostCustomerPaymentInstrumentRequest.md @@ -4,21 +4,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **String** | The Id of the Payment Instrument Token. | [optional] **object** | **String** | The type. Possible Values: - paymentInstrument | [optional] **_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] diff --git a/docs/PostCustomerRequest.md b/docs/PostCustomerRequest.md index b5845fe58..12032c840 100644 --- a/docs/PostCustomerRequest.md +++ b/docs/PostCustomerRequest.md @@ -4,16 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersLinks**](Tmsv2customersLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] **id** | **String** | The Id of the Customer Token. | [optional] -**objectInformation** | [**Tmsv2customersObjectInformation**](Tmsv2customersObjectInformation.md) | | [optional] -**buyerInformation** | [**Tmsv2customersBuyerInformation**](Tmsv2customersBuyerInformation.md) | | [optional] -**clientReferenceInformation** | [**Tmsv2customersClientReferenceInformation**](Tmsv2customersClientReferenceInformation.md) | | [optional] -**merchantDefinedInformation** | [**List<Tmsv2customersMerchantDefinedInformation>**](Tmsv2customersMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] -**defaultPaymentInstrument** | [**Tmsv2customersDefaultPaymentInstrument**](Tmsv2customersDefaultPaymentInstrument.md) | | [optional] -**defaultShippingAddress** | [**Tmsv2customersDefaultShippingAddress**](Tmsv2customersDefaultShippingAddress.md) | | [optional] -**metadata** | [**Tmsv2customersMetadata**](Tmsv2customersMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbedded**](Tmsv2customersEmbedded.md) | | [optional] +**objectInformation** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**clientReferenceInformation** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**merchantDefinedInformation** | [**List<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**defaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**defaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] diff --git a/docs/PostCustomerShippingAddressRequest.md b/docs/PostCustomerShippingAddressRequest.md index 3dfb280ce..fd631beff 100644 --- a/docs/PostCustomerShippingAddressRequest.md +++ b/docs/PostCustomerShippingAddressRequest.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] **id** | **String** | The Id of the Shipping Address Token. | [optional] **_default** | **Boolean** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**shipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] +**shipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] diff --git a/docs/PostIssuerLifeCycleSimulationRequest.md b/docs/PostIssuerLifeCycleSimulationRequest.md new file mode 100644 index 000000000..549f4daee --- /dev/null +++ b/docs/PostIssuerLifeCycleSimulationRequest.md @@ -0,0 +1,12 @@ + +# PostIssuerLifeCycleSimulationRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**state** | **String** | The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED | [optional] +**card** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md) | | [optional] +**metadata** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md) | | [optional] + + + diff --git a/docs/PostPaymentInstrumentRequest.md b/docs/PostPaymentInstrumentRequest.md index 399b13c59..05f1456bb 100644 --- a/docs/PostPaymentInstrumentRequest.md +++ b/docs/PostPaymentInstrumentRequest.md @@ -4,21 +4,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **String** | The Id of the Payment Instrument Token. | [optional] **object** | **String** | The type. Possible Values: - paymentInstrument | [optional] **_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] diff --git a/docs/PostTokenizeRequest.md b/docs/PostTokenizeRequest.md new file mode 100644 index 000000000..06cb1e443 --- /dev/null +++ b/docs/PostTokenizeRequest.md @@ -0,0 +1,11 @@ + +# PostTokenizeRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**processingInformation** | [**Tmsv2tokenizeProcessingInformation**](Tmsv2tokenizeProcessingInformation.md) | | [optional] +**tokenInformation** | [**Tmsv2tokenizeTokenInformation**](Tmsv2tokenizeTokenInformation.md) | | [optional] + + + diff --git a/docs/Ptsv2paymentsAggregatorInformation.md b/docs/Ptsv2paymentsAggregatorInformation.md index d2ebf0022..991acc8a6 100644 --- a/docs/Ptsv2paymentsAggregatorInformation.md +++ b/docs/Ptsv2paymentsAggregatorInformation.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **state** | **String** | Acquirer state. | [optional] **postalCode** | **String** | Acquirer postal code. | [optional] **country** | **String** | Acquirer country. | [optional] +**serviceProvidername** | **String** | Contains transfer service provider name. | [optional] diff --git a/docs/Rbsv1plansClientReferenceInformation.md b/docs/Rbsv1plansClientReferenceInformation.md deleted file mode 100644 index 4e5a3ddbb..000000000 --- a/docs/Rbsv1plansClientReferenceInformation.md +++ /dev/null @@ -1,14 +0,0 @@ - -# Rbsv1plansClientReferenceInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comments** | **String** | Brief description of the order or any comment you wish to add to the order. | [optional] -**partner** | [**Riskv1decisionsClientReferenceInformationPartner**](Riskv1decisionsClientReferenceInformationPartner.md) | | [optional] -**applicationName** | **String** | The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. | [optional] -**applicationVersion** | **String** | Version of the CyberSource application or integration used for a transaction. | [optional] -**applicationUser** | **String** | The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. | [optional] - - - diff --git a/docs/Rbsv1subscriptionsClientReferenceInformation.md b/docs/Rbsv1subscriptionsClientReferenceInformation.md deleted file mode 100644 index c2f322b1f..000000000 --- a/docs/Rbsv1subscriptionsClientReferenceInformation.md +++ /dev/null @@ -1,15 +0,0 @@ - -# Rbsv1subscriptionsClientReferenceInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. | [optional] -**comments** | **String** | > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. | [optional] -**partner** | [**Rbsv1subscriptionsClientReferenceInformationPartner**](Rbsv1subscriptionsClientReferenceInformationPartner.md) | | [optional] -**applicationName** | **String** | > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. | [optional] -**applicationVersion** | **String** | > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. | [optional] -**applicationUser** | **String** | > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. | [optional] - - - diff --git a/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md b/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md deleted file mode 100644 index 5a80afddb..000000000 --- a/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Rbsv1subscriptionsClientReferenceInformationPartner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**developerId** | **String** | > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. | [optional] -**solutionId** | **String** | > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. | [optional] - - - diff --git a/docs/ShippingAddressListForCustomerEmbedded.md b/docs/ShippingAddressListForCustomerEmbedded.md index 2bf6fe9bc..7c46f87a2 100644 --- a/docs/ShippingAddressListForCustomerEmbedded.md +++ b/docs/ShippingAddressListForCustomerEmbedded.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**shippingAddresses** | [**List<Tmsv2customersEmbeddedDefaultShippingAddress>**](Tmsv2customersEmbeddedDefaultShippingAddress.md) | | [optional] +**shippingAddresses** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] diff --git a/docs/SubscriptionsApi.md b/docs/SubscriptionsApi.md index 6a59b6b1d..8a513193e 100644 --- a/docs/SubscriptionsApi.md +++ b/docs/SubscriptionsApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://apitest.cybersource.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**activateSubscription**](SubscriptionsApi.md#activateSubscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Activate a Subscription +[**activateSubscription**](SubscriptionsApi.md#activateSubscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Reactivating a Suspended Subscription [**cancelSubscription**](SubscriptionsApi.md#cancelSubscription) | **POST** /rbs/v1/subscriptions/{id}/cancel | Cancel a Subscription [**createSubscription**](SubscriptionsApi.md#createSubscription) | **POST** /rbs/v1/subscriptions | Create a Subscription [**getAllSubscriptions**](SubscriptionsApi.md#getAllSubscriptions) | **GET** /rbs/v1/subscriptions | Get a List of Subscriptions @@ -16,11 +16,11 @@ Method | HTTP request | Description # **activateSubscription** -> ActivateSubscriptionResponse activateSubscription(id, processSkippedPayments) +> ActivateSubscriptionResponse activateSubscription(id, processMissedPayments) -Activate a Subscription +Reactivating a Suspended Subscription -Activate a `SUSPENDED` Subscription +# Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). ### Example ```java @@ -31,9 +31,9 @@ Activate a `SUSPENDED` Subscription SubscriptionsApi apiInstance = new SubscriptionsApi(); String id = "id_example"; // String | Subscription Id -Boolean processSkippedPayments = true; // Boolean | Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. +Boolean processMissedPayments = true; // Boolean | Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. try { - ActivateSubscriptionResponse result = apiInstance.activateSubscription(id, processSkippedPayments); + ActivateSubscriptionResponse result = apiInstance.activateSubscription(id, processMissedPayments); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SubscriptionsApi#activateSubscription"); @@ -46,7 +46,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **String**| Subscription Id | - **processSkippedPayments** | **Boolean**| Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. | [optional] [default to true] + **processMissedPayments** | **Boolean**| Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. | [optional] [default to true] ### Return type @@ -294,7 +294,7 @@ No authorization required Suspend a Subscription -Suspend a Subscription +Suspend a Subscription ### Example ```java diff --git a/docs/TmsMerchantInformation.md b/docs/TmsMerchantInformation.md new file mode 100644 index 000000000..a39352db1 --- /dev/null +++ b/docs/TmsMerchantInformation.md @@ -0,0 +1,10 @@ + +# TmsMerchantInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**merchantDescriptor** | [**TmsMerchantInformationMerchantDescriptor**](TmsMerchantInformationMerchantDescriptor.md) | | [optional] + + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md b/docs/TmsMerchantInformationMerchantDescriptor.md similarity index 85% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md rename to docs/TmsMerchantInformationMerchantDescriptor.md index 2ea930d15..93a55d37f 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md +++ b/docs/TmsMerchantInformationMerchantDescriptor.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor +# TmsMerchantInformationMerchantDescriptor ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbedded.md b/docs/Tmsv2customersEmbedded.md deleted file mode 100644 index af6bcbc93..000000000 --- a/docs/Tmsv2customersEmbedded.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2customersEmbedded - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**defaultPaymentInstrument** | [**Tmsv2customersEmbeddedDefaultPaymentInstrument**](Tmsv2customersEmbeddedDefaultPaymentInstrument.md) | | [optional] -**defaultShippingAddress** | [**Tmsv2customersEmbeddedDefaultShippingAddress**](Tmsv2customersEmbeddedDefaultShippingAddress.md) | | [optional] - - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md deleted file mode 100644 index fe67fa822..000000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md +++ /dev/null @@ -1,24 +0,0 @@ - -# Tmsv2customersEmbeddedDefaultPaymentInstrument - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] -**id** | **String** | The Id of the Payment Instrument Token. | [optional] -**object** | **String** | The type. Possible Values: - paymentInstrument | [optional] -**_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] -**state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] -**type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**billTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] -**processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] - - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md deleted file mode 100644 index b5c98a99d..000000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md +++ /dev/null @@ -1,12 +0,0 @@ - -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The value of the identification type. | [optional] -**type** | **String** | The type of the identification. Possible Values: - driver license | [optional] -**issuedBy** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md) | | [optional] - - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md deleted file mode 100644 index f93c91a57..000000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md) | | [optional] -**customer** | [**Tmsv2customersLinksSelf**](Tmsv2customersLinksSelf.md) | | [optional] - - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md deleted file mode 100644 index d692b7829..000000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md +++ /dev/null @@ -1,10 +0,0 @@ - -# Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**merchantDescriptor** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md) | | [optional] - - - diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md b/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md deleted file mode 100644 index f088a8981..000000000 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md +++ /dev/null @@ -1,14 +0,0 @@ - -# Tmsv2customersEmbeddedDefaultShippingAddress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] -**id** | **String** | The Id of the Shipping Address Token. | [optional] -**_default** | **Boolean** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**shipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] - - - diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md b/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md deleted file mode 100644 index 13e75793a..000000000 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Tmsv2customersEmbeddedDefaultShippingAddressLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf**](Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md) | | [optional] -**customer** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer**](Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md) | | [optional] - - - diff --git a/docs/Tmsv2customersLinks.md b/docs/Tmsv2customersLinks.md deleted file mode 100644 index 20fd34540..000000000 --- a/docs/Tmsv2customersLinks.md +++ /dev/null @@ -1,12 +0,0 @@ - -# Tmsv2customersLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**self** | [**Tmsv2customersLinksSelf**](Tmsv2customersLinksSelf.md) | | [optional] -**paymentInstruments** | [**Tmsv2customersLinksPaymentInstruments**](Tmsv2customersLinksPaymentInstruments.md) | | [optional] -**shippingAddress** | [**Tmsv2customersLinksShippingAddress**](Tmsv2customersLinksShippingAddress.md) | | [optional] - - - diff --git a/docs/Tmsv2tokenizeProcessingInformation.md b/docs/Tmsv2tokenizeProcessingInformation.md new file mode 100644 index 000000000..b86afd119 --- /dev/null +++ b/docs/Tmsv2tokenizeProcessingInformation.md @@ -0,0 +1,11 @@ + +# Tmsv2tokenizeProcessingInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**actionList** | **List<String>** | Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. | [optional] +**actionTokenTypes** | **List<String>** | TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard | [optional] + + + diff --git a/docs/Tmsv2tokenizeTokenInformation.md b/docs/Tmsv2tokenizeTokenInformation.md new file mode 100644 index 000000000..42b1049c2 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformation.md @@ -0,0 +1,15 @@ + +# Tmsv2tokenizeTokenInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**jti** | **String** | TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). | [optional] +**transientTokenJwt** | **String** | Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. | [optional] +**customer** | [**Tmsv2tokenizeTokenInformationCustomer**](Tmsv2tokenizeTokenInformationCustomer.md) | | [optional] +**shippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] +**paymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] +**instrumentIdentifier** | [**TmsEmbeddedInstrumentIdentifier**](TmsEmbeddedInstrumentIdentifier.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizeTokenInformationCustomer.md b/docs/Tmsv2tokenizeTokenInformationCustomer.md new file mode 100644 index 000000000..e6c2dc5ff --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomer.md @@ -0,0 +1,19 @@ + +# Tmsv2tokenizeTokenInformationCustomer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] +**id** | **String** | The Id of the Customer Token. | [optional] +**objectInformation** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**clientReferenceInformation** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**merchantDefinedInformation** | [**List<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**defaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**defaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] + + + diff --git a/docs/Tmsv2customersBuyerInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md similarity index 84% rename from docs/Tmsv2customersBuyerInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md index 927a15ac5..dc3e19354 100644 --- a/docs/Tmsv2customersBuyerInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md @@ -1,5 +1,5 @@ -# Tmsv2customersBuyerInformation +# Tmsv2tokenizeTokenInformationCustomerBuyerInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersClientReferenceInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md similarity index 75% rename from docs/Tmsv2customersClientReferenceInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md index 365dca55b..6cf5dbc8a 100644 --- a/docs/Tmsv2customersClientReferenceInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md @@ -1,5 +1,5 @@ -# Tmsv2customersClientReferenceInformation +# Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersDefaultPaymentInstrument.md b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md similarity index 75% rename from docs/Tmsv2customersDefaultPaymentInstrument.md rename to docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md index 74219c90c..707a9b3d7 100644 --- a/docs/Tmsv2customersDefaultPaymentInstrument.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md @@ -1,5 +1,5 @@ -# Tmsv2customersDefaultPaymentInstrument +# Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersDefaultShippingAddress.md b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md similarity index 76% rename from docs/Tmsv2customersDefaultShippingAddress.md rename to docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md index 00b324334..d48ae12a3 100644 --- a/docs/Tmsv2customersDefaultShippingAddress.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md @@ -1,5 +1,5 @@ -# Tmsv2customersDefaultShippingAddress +# Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md new file mode 100644 index 000000000..f6575973f --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md @@ -0,0 +1,11 @@ + +# Tmsv2tokenizeTokenInformationCustomerEmbedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**defaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] +**defaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md new file mode 100644 index 000000000..f27f8105f --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md @@ -0,0 +1,24 @@ + +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**id** | **String** | The Id of the Payment Instrument Token. | [optional] +**object** | **String** | The type. Possible Values: - paymentInstrument | [optional] +**_default** | **Boolean** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] +**state** | **String** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] +**type** | **String** | The type of Payment Instrument. Possible Values: - cardHash | [optional] +**bankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**billTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**processingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] +**merchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] + + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md similarity index 80% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md index 837334aec..ae5c634d3 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md similarity index 95% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md index 24552dc03..73c4ff272 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md similarity index 78% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md index 909e6cc6a..54d6c2b23 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation ## Properties Name | Type | Description | Notes @@ -7,7 +7,7 @@ Name | Type | Description | Notes **companyTaxID** | **String** | Company's tax identifier. This is only used for eCheck service. | [optional] **currency** | **String** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **dateOfBirth** | [**LocalDate**](LocalDate.md) | Date of birth of the customer. Format: YYYY-MM-DD | [optional] -**personalIdentification** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] +**personalIdentification** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md similarity index 78% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md index a84d5500a..819b43307 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md new file mode 100644 index 000000000..7d98d46ce --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md @@ -0,0 +1,12 @@ + +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The value of the identification type. | [optional] +**type** | **String** | The type of the identification. Possible Values: - driver license | [optional] +**issuedBy** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md) | | [optional] + + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md similarity index 91% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md index 6de284d2a..3f9ba2f4f 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentCard +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard ## Properties Name | Type | Description | Notes @@ -12,7 +12,7 @@ Name | Type | Description | Notes **startYear** | **String** | Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions. | [optional] **useAs** | **String** | 'Payment Instrument was created / updated as part of a pinless debit transaction.' | [optional] **hash** | **String** | Hash value representing the card. | [optional] -**tokenizedInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md) | | [optional] +**tokenizedInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md) | | [optional] diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md similarity index 89% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md index 016c6d233..12791f804 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md similarity index 74% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md index 128e0e7a1..ea12424f2 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md similarity index 70% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md index 4b64b0a82..bcc3c7168 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md new file mode 100644 index 000000000..bd7810682 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md @@ -0,0 +1,11 @@ + +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md) | | [optional] +**customer** | [**Tmsv2tokenizeTokenInformationCustomerLinksSelf**](Tmsv2tokenizeTokenInformationCustomerLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md similarity index 69% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md index b39d16819..9b7c69a97 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md similarity index 70% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md index e5746a309..6dc47ab2c 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md new file mode 100644 index 000000000..83946286b --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md @@ -0,0 +1,14 @@ + +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**id** | **String** | The Id of the Shipping Address Token. | [optional] +**_default** | **Boolean** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] +**shipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md new file mode 100644 index 000000000..56dc68ece --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md @@ -0,0 +1,11 @@ + +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md) | | [optional] +**customer** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md) | | [optional] + + + diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md similarity index 67% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md index 8a8a68cac..088bcc5e5 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md similarity index 70% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md index ab783ea4f..6e85fa2cc 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md similarity index 71% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md index f318b6ab0..fd952fa56 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressMetadata +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md similarity index 95% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md index 87be5fd80..1acd3de83 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md @@ -1,5 +1,5 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressShipTo +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md new file mode 100644 index 000000000..8d548c9ec --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md @@ -0,0 +1,12 @@ + +# Tmsv2tokenizeTokenInformationCustomerLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2tokenizeTokenInformationCustomerLinksSelf**](Tmsv2tokenizeTokenInformationCustomerLinksSelf.md) | | [optional] +**paymentInstruments** | [**Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments**](Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md) | | [optional] +**shippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress**](Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md) | | [optional] + + + diff --git a/docs/Tmsv2customersLinksPaymentInstruments.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md similarity index 75% rename from docs/Tmsv2customersLinksPaymentInstruments.md rename to docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md index 0c0a61279..2a1b5623a 100644 --- a/docs/Tmsv2customersLinksPaymentInstruments.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md @@ -1,5 +1,5 @@ -# Tmsv2customersLinksPaymentInstruments +# Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersLinksSelf.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md similarity index 78% rename from docs/Tmsv2customersLinksSelf.md rename to docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md index 1b23b0f83..59c9ef5b7 100644 --- a/docs/Tmsv2customersLinksSelf.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md @@ -1,5 +1,5 @@ -# Tmsv2customersLinksSelf +# Tmsv2tokenizeTokenInformationCustomerLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersLinksShippingAddress.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md similarity index 76% rename from docs/Tmsv2customersLinksShippingAddress.md rename to docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md index fee3240aa..57799983f 100644 --- a/docs/Tmsv2customersLinksShippingAddress.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md @@ -1,5 +1,5 @@ -# Tmsv2customersLinksShippingAddress +# Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersMerchantDefinedInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md similarity index 95% rename from docs/Tmsv2customersMerchantDefinedInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md index d85951bc9..68991902c 100644 --- a/docs/Tmsv2customersMerchantDefinedInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md @@ -1,5 +1,5 @@ -# Tmsv2customersMerchantDefinedInformation +# Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersMetadata.md b/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md similarity index 79% rename from docs/Tmsv2customersMetadata.md rename to docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md index c92f0e7b0..0420ae689 100644 --- a/docs/Tmsv2customersMetadata.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md @@ -1,5 +1,5 @@ -# Tmsv2customersMetadata +# Tmsv2tokenizeTokenInformationCustomerMetadata ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersObjectInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md similarity index 82% rename from docs/Tmsv2customersObjectInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md index fcd67632c..2b19f80bf 100644 --- a/docs/Tmsv2customersObjectInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md @@ -1,5 +1,5 @@ -# Tmsv2customersObjectInformation +# Tmsv2tokenizeTokenInformationCustomerObjectInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md new file mode 100644 index 000000000..5a9c137be --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md @@ -0,0 +1,12 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last4** | **String** | The new last 4 digits of the card number associated to the Tokenized Card. | [optional] +**expirationMonth** | **String** | The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. | [optional] +**expirationYear** | **String** | The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. | [optional] + + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md new file mode 100644 index 000000000..dc0f32d4f --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md @@ -0,0 +1,10 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cardArt** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md new file mode 100644 index 000000000..0f5785508 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md @@ -0,0 +1,10 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**combinedAsset** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md new file mode 100644 index 000000000..c3be70685 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md @@ -0,0 +1,10 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**update** | **String** | Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. | [optional] + + + diff --git a/docs/TokenApi.md b/docs/TokenApi.md index f7f9b3cee..0ff831e6e 100644 --- a/docs/TokenApi.md +++ b/docs/TokenApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **getCardArtAsset** -> InlineResponse200 getCardArtAsset(instrumentIdentifierId, tokenProvider, assetType) +> InlineResponse2001 getCardArtAsset(instrumentIdentifierId, tokenProvider, assetType) Retrieve Card Art @@ -28,7 +28,7 @@ String instrumentIdentifierId = "instrumentIdentifierId_example"; // String | Th String tokenProvider = "tokenProvider_example"; // String | The token provider. String assetType = "assetType_example"; // String | The type of asset. try { - InlineResponse200 result = apiInstance.getCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); + InlineResponse2001 result = apiInstance.getCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling TokenApi#getCardArtAsset"); @@ -46,7 +46,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse200**](InlineResponse200.md) +[**InlineResponse2001**](InlineResponse2001.md) ### Authorization diff --git a/docs/TokenizeApi.md b/docs/TokenizeApi.md new file mode 100644 index 000000000..0f30b40ce --- /dev/null +++ b/docs/TokenizeApi.md @@ -0,0 +1,56 @@ +# TokenizeApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**tokenize**](TokenizeApi.md#tokenize) | **POST** /tms/v2/tokenize | Tokenize + + + +# **tokenize** +> InlineResponse200 tokenize(postTokenizeRequest, profileId) + +Tokenize + +| | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.TokenizeApi; + + +TokenizeApi apiInstance = new TokenizeApi(); +PostTokenizeRequest postTokenizeRequest = new PostTokenizeRequest(); // PostTokenizeRequest | +String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +try { + InlineResponse200 result = apiInstance.tokenize(postTokenizeRequest, profileId); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling TokenizeApi#tokenize"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **postTokenizeRequest** | [**PostTokenizeRequest**](PostTokenizeRequest.md)| | + **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | [optional] + +### Return type + +[**InlineResponse200**](InlineResponse200.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + diff --git a/docs/TokenizedCardApi.md b/docs/TokenizedCardApi.md index f977fcb14..6acb6ac7c 100644 --- a/docs/TokenizedCardApi.md +++ b/docs/TokenizedCardApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**deleteTokenizedCard**](TokenizedCardApi.md#deleteTokenizedCard) | **DELETE** /tms/v2/tokenized-cards/{tokenizedCardId} | Delete a Tokenized Card [**getTokenizedCard**](TokenizedCardApi.md#getTokenizedCard) | **GET** /tms/v2/tokenized-cards/{tokenizedCardId} | Retrieve a Tokenized Card +[**postIssuerLifeCycleSimulation**](TokenizedCardApi.md#postIssuerLifeCycleSimulation) | **POST** /tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations | Simulate Issuer Life Cycle Management Events [**postTokenizedCard**](TokenizedCardApi.md#postTokenizedCard) | **POST** /tms/v2/tokenized-cards | Create a Tokenized Card @@ -97,6 +98,54 @@ Name | Type | Description | Notes No authorization required +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + + +# **postIssuerLifeCycleSimulation** +> postIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest) + +Simulate Issuer Life Cycle Management Events + +**Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.TokenizedCardApi; + + +TokenizedCardApi apiInstance = new TokenizedCardApi(); +String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +String tokenizedCardId = "tokenizedCardId_example"; // String | The Id of a tokenized card. +PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = new PostIssuerLifeCycleSimulationRequest(); // PostIssuerLifeCycleSimulationRequest | +try { + apiInstance.postIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); +} catch (ApiException e) { + System.err.println("Exception when calling TokenizedCardApi#postIssuerLifeCycleSimulation"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | + **tokenizedCardId** | **String**| The Id of a tokenized card. | + **postIssuerLifeCycleSimulationRequest** | [**PostIssuerLifeCycleSimulationRequest**](PostIssuerLifeCycleSimulationRequest.md)| | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + ### HTTP request headers - **Content-Type**: application/json;charset=utf-8 diff --git a/docs/UpdateSubscription.md b/docs/UpdateSubscription.md index 9a5647dbc..d6208730c 100644 --- a/docs/UpdateSubscription.md +++ b/docs/UpdateSubscription.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**clientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **processingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **planInformation** | [**Rbsv1subscriptionsidPlanInformation**](Rbsv1subscriptionsidPlanInformation.md) | | [optional] **subscriptionInformation** | [**Rbsv1subscriptionsidSubscriptionInformation**](Rbsv1subscriptionsidSubscriptionInformation.md) | | [optional] diff --git a/docs/Upv1capturecontextsData.md b/docs/Upv1capturecontextsData.md index c887d39ef..768270e6a 100644 --- a/docs/Upv1capturecontextsData.md +++ b/docs/Upv1capturecontextsData.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes **processingInformation** | [**Upv1capturecontextsDataProcessingInformation**](Upv1capturecontextsDataProcessingInformation.md) | | [optional] **recipientInformation** | [**Upv1capturecontextsDataRecipientInformation**](Upv1capturecontextsDataRecipientInformation.md) | | [optional] **merchantDefinedInformation** | [**Upv1capturecontextsDataMerchantDefinedInformation**](Upv1capturecontextsDataMerchantDefinedInformation.md) | | [optional] +**deviceInformation** | [**Upv1capturecontextsDataDeviceInformation**](Upv1capturecontextsDataDeviceInformation.md) | | [optional] +**paymentInformation** | [**Upv1capturecontextsDataPaymentInformation**](Upv1capturecontextsDataPaymentInformation.md) | | [optional] diff --git a/docs/Upv1capturecontextsDataBuyerInformation.md b/docs/Upv1capturecontextsDataBuyerInformation.md index 8ffac2bad..1dd6beace 100644 --- a/docs/Upv1capturecontextsDataBuyerInformation.md +++ b/docs/Upv1capturecontextsDataBuyerInformation.md @@ -5,8 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **personalIdentification** | [**Upv1capturecontextsDataBuyerInformationPersonalIdentification**](Upv1capturecontextsDataBuyerInformationPersonalIdentification.md) | | [optional] -**merchantCustomerId** | **String** | | [optional] -**companyTaxId** | **String** | | [optional] +**merchantCustomerId** | **String** | The Merchant Customer ID | [optional] +**companyTaxId** | **String** | The Company Tax ID | [optional] +**dateOfBirth** | **String** | The date of birth | [optional] +**language** | **String** | The preferred language | [optional] diff --git a/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md b/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md index 44443a505..4b46ac6c3 100644 --- a/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md +++ b/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**cpf** | **String** | | [optional] +**cpf** | **String** | CPF Number (Brazil). Must be 11 digits in length. | [optional] diff --git a/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md b/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md index 08c766e7b..26863ad81 100644 --- a/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md +++ b/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md @@ -4,8 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**challengeCode** | **String** | | [optional] -**messageCategory** | **String** | | [optional] +**challengeCode** | **String** | The challenge code | [optional] +**messageCategory** | **String** | The message category | [optional] +**acsWindowSize** | **String** | The acs window size | [optional] diff --git a/docs/Upv1capturecontextsDataDeviceInformation.md b/docs/Upv1capturecontextsDataDeviceInformation.md new file mode 100644 index 000000000..e1a7458b9 --- /dev/null +++ b/docs/Upv1capturecontextsDataDeviceInformation.md @@ -0,0 +1,10 @@ + +# Upv1capturecontextsDataDeviceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipAddress** | **String** | The IP Address | [optional] + + + diff --git a/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md b/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md index d93cfcaf8..b4a76b340 100644 --- a/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md +++ b/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md @@ -5,6 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the merchant | [optional] +**alternateName** | **String** | The alternate name of the merchant | [optional] +**locality** | **String** | The locality of the merchant | [optional] +**phone** | **String** | The phone number of the merchant | [optional] +**country** | **String** | The country code of the merchant | [optional] +**postalCode** | **String** | The postal code of the merchant | [optional] +**administrativeArea** | **String** | The administrative area of the merchant | [optional] +**address1** | **String** | The first line of the merchant's address | [optional] diff --git a/docs/Upv1capturecontextsDataOrderInformation.md b/docs/Upv1capturecontextsDataOrderInformation.md index f680fe715..6bb8ad4c0 100644 --- a/docs/Upv1capturecontextsDataOrderInformation.md +++ b/docs/Upv1capturecontextsDataOrderInformation.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **billTo** | [**Upv1capturecontextsDataOrderInformationBillTo**](Upv1capturecontextsDataOrderInformationBillTo.md) | | [optional] **shipTo** | [**Upv1capturecontextsDataOrderInformationShipTo**](Upv1capturecontextsDataOrderInformationShipTo.md) | | [optional] **lineItems** | [**Upv1capturecontextsDataOrderInformationLineItems**](Upv1capturecontextsDataOrderInformationLineItems.md) | | [optional] +**invoiceDetails** | [**Upv1capturecontextsDataOrderInformationInvoiceDetails**](Upv1capturecontextsDataOrderInformationInvoiceDetails.md) | | [optional] diff --git a/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md b/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md index 17579d954..7647a7343 100644 --- a/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md +++ b/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **subTotalAmount** | **String** | This field defines the sub total amount applicable to the order. | [optional] **serviceFeeAmount** | **String** | This field defines the service fee amount applicable to the order. | [optional] **taxAmount** | **String** | This field defines the tax amount applicable to the order. | [optional] +**taxDetails** | [**Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails**](Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md) | | [optional] diff --git a/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md b/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md new file mode 100644 index 000000000..29138c2c8 --- /dev/null +++ b/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md @@ -0,0 +1,11 @@ + +# Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**taxId** | **String** | This field defines the tax identifier/registration number | [optional] +**type** | **String** | This field defines the Tax type code (N=National, S=State, L=Local etc) | [optional] + + + diff --git a/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md b/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md new file mode 100644 index 000000000..b4a3dbccd --- /dev/null +++ b/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md @@ -0,0 +1,11 @@ + +# Upv1capturecontextsDataOrderInformationInvoiceDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invoiceNumber** | **String** | Invoice number | [optional] +**productDescription** | **String** | Product description | [optional] + + + diff --git a/docs/Upv1capturecontextsDataOrderInformationLineItems.md b/docs/Upv1capturecontextsDataOrderInformationLineItems.md index 40c4a59fe..9d6390479 100644 --- a/docs/Upv1capturecontextsDataOrderInformationLineItems.md +++ b/docs/Upv1capturecontextsDataOrderInformationLineItems.md @@ -4,37 +4,37 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**productCode** | **String** | | [optional] -**productName** | **String** | | [optional] -**productSku** | **String** | | [optional] -**quantity** | **Integer** | | [optional] -**unitPrice** | **String** | | [optional] -**unitOfMeasure** | **String** | | [optional] -**totalAmount** | **String** | | [optional] -**taxAmount** | **String** | | [optional] -**taxRate** | **String** | | [optional] -**taxAppliedAfterDiscount** | **String** | | [optional] -**taxStatusIndicator** | **String** | | [optional] -**taxTypeCode** | **String** | | [optional] -**amountIncludesTax** | **Boolean** | | [optional] -**typeOfSupply** | **String** | | [optional] -**commodityCode** | **String** | | [optional] -**discountAmount** | **String** | | [optional] -**discountApplied** | **Boolean** | | [optional] -**discountRate** | **String** | | [optional] -**invoiceNumber** | **String** | | [optional] +**productCode** | **String** | Code identifying the product. | [optional] +**productName** | **String** | Name of the product. | [optional] +**productSku** | **String** | Stock Keeping Unit identifier | [optional] +**quantity** | **Integer** | Quantity of the product | [optional] +**unitPrice** | **String** | Price per unit | [optional] +**unitOfMeasure** | **String** | Unit of measure (e.g. EA, KG, LB) | [optional] +**totalAmount** | **String** | Total amount for the line item | [optional] +**taxAmount** | **String** | Tax amount applied | [optional] +**taxRate** | **String** | Tax rate applied | [optional] +**taxAppliedAfterDiscount** | **String** | Indicates if tax applied after discount | [optional] +**taxStatusIndicator** | **String** | Tax status indicator | [optional] +**taxTypeCode** | **String** | Tax type code | [optional] +**amountIncludesTax** | **Boolean** | Indicates if amount includes tax | [optional] +**typeOfSupply** | **String** | Type of supply | [optional] +**commodityCode** | **String** | Commodity code | [optional] +**discountAmount** | **String** | Discount amount applied | [optional] +**discountApplied** | **Boolean** | Indicates if discount applied | [optional] +**discountRate** | **String** | Discount rate applied | [optional] +**invoiceNumber** | **String** | Invoice number for the line item | [optional] **taxDetails** | [**Upv1capturecontextsDataOrderInformationLineItemsTaxDetails**](Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md) | | [optional] -**fulfillmentType** | **String** | | [optional] -**weight** | **String** | | [optional] -**weightIdentifier** | **String** | | [optional] -**weightUnit** | **String** | | [optional] -**referenceDataCode** | **String** | | [optional] -**referenceDataNumber** | **String** | | [optional] -**unitTaxAmount** | **String** | | [optional] -**productDescription** | **String** | | [optional] -**giftCardCurrency** | **String** | | [optional] -**shippingDestinationTypes** | **String** | | [optional] -**gift** | **Boolean** | | [optional] +**fulfillmentType** | **String** | Fulfillment type | [optional] +**weight** | **String** | Weight of the product | [optional] +**weightIdentifier** | **String** | Weight identifier | [optional] +**weightUnit** | **String** | Unit of weight of the product | [optional] +**referenceDataCode** | **String** | Reference data code | [optional] +**referenceDataNumber** | **String** | Reference data number | [optional] +**unitTaxAmount** | **String** | Unit tax amount | [optional] +**productDescription** | **String** | Description of the product | [optional] +**giftCardCurrency** | **String** | Gift card currency | [optional] +**shippingDestinationTypes** | **String** | Shipping destination types | [optional] +**gift** | **Boolean** | Indicates if item is a gift | [optional] **passenger** | [**Upv1capturecontextsDataOrderInformationLineItemsPassenger**](Upv1capturecontextsDataOrderInformationLineItemsPassenger.md) | | [optional] diff --git a/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md b/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md index 494bd1658..950306cc4 100644 --- a/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md +++ b/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **String** | | [optional] -**status** | **String** | | [optional] -**phone** | **String** | | [optional] -**firstName** | **String** | | [optional] -**lastName** | **String** | | [optional] -**id** | **String** | | [optional] -**email** | **String** | | [optional] -**nationality** | **String** | | [optional] +**type** | **String** | Passenger type | [optional] +**status** | **String** | Passenger status | [optional] +**phone** | **String** | Passenger phone number | [optional] +**firstName** | **String** | Passenger first name | [optional] +**lastName** | **String** | Passenger last name | [optional] +**id** | **String** | Passenger ID | [optional] +**email** | **String** | Passenger email | [optional] +**nationality** | **String** | Passenger nationality | [optional] diff --git a/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md b/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md index e6278fd20..e7f5c4bdb 100644 --- a/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md +++ b/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **String** | | [optional] -**amount** | **String** | | [optional] -**rate** | **String** | | [optional] -**code** | **String** | | [optional] -**taxId** | **String** | | [optional] -**applied** | **Boolean** | | [optional] -**exemptionCode** | **String** | | [optional] +**type** | **String** | Type of tax | [optional] +**amount** | **String** | Tax amount | [optional] +**rate** | **String** | Tax rate | [optional] +**code** | **String** | Tax code | [optional] +**taxId** | **String** | Tax Identifier | [optional] +**applied** | **Boolean** | Indicates if tax applied | [optional] +**exemptionCode** | **String** | Tax exemption code | [optional] diff --git a/docs/Upv1capturecontextsDataPaymentInformation.md b/docs/Upv1capturecontextsDataPaymentInformation.md new file mode 100644 index 000000000..f641bbe83 --- /dev/null +++ b/docs/Upv1capturecontextsDataPaymentInformation.md @@ -0,0 +1,10 @@ + +# Upv1capturecontextsDataPaymentInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**card** | [**Upv1capturecontextsDataPaymentInformationCard**](Upv1capturecontextsDataPaymentInformationCard.md) | | [optional] + + + diff --git a/docs/Upv1capturecontextsDataPaymentInformationCard.md b/docs/Upv1capturecontextsDataPaymentInformationCard.md new file mode 100644 index 000000000..896754aff --- /dev/null +++ b/docs/Upv1capturecontextsDataPaymentInformationCard.md @@ -0,0 +1,10 @@ + +# Upv1capturecontextsDataPaymentInformationCard + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**typeSelectionIndicator** | **String** | The card type selection indicator | [optional] + + + diff --git a/docs/Upv1capturecontextsDataProcessingInformation.md b/docs/Upv1capturecontextsDataProcessingInformation.md index 3d3f4b4bd..a34645cd4 100644 --- a/docs/Upv1capturecontextsDataProcessingInformation.md +++ b/docs/Upv1capturecontextsDataProcessingInformation.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reconciliationId** | **String** | | [optional] +**reconciliationId** | **String** | The reconciliation ID | [optional] **authorizationOptions** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptions**](Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md) | | [optional] diff --git a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md index da567ca17..cc6c25b6c 100644 --- a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md +++ b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md @@ -4,9 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**aftIndicator** | **Boolean** | | [optional] +**aftIndicator** | **Boolean** | The AFT indicator | [optional] +**authIndicator** | **String** | The authorization indicator | [optional] +**ignoreCvResult** | **Boolean** | Ignore the CV result | [optional] +**ignoreAvsResult** | **Boolean** | Ignore the AVS result | [optional] **initiator** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator**](Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md) | | [optional] -**businessApplicationId** | **String** | | [optional] +**businessApplicationId** | **String** | The business application Id | [optional] +**commerceIndicator** | **String** | The commerce indicator | [optional] +**processingInstruction** | **String** | The processing instruction | [optional] diff --git a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md index 1f040f14e..a36000e26 100644 --- a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md +++ b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**credentialStoredOnFile** | **Boolean** | | [optional] +**credentialStoredOnFile** | **Boolean** | Store the credential on file | [optional] **merchantInitiatedTransaction** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction**](Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md) | | [optional] diff --git a/docs/Upv1capturecontextsDataRecipientInformation.md b/docs/Upv1capturecontextsDataRecipientInformation.md index 208bdbcb6..650299e5a 100644 --- a/docs/Upv1capturecontextsDataRecipientInformation.md +++ b/docs/Upv1capturecontextsDataRecipientInformation.md @@ -11,6 +11,8 @@ Name | Type | Description | Notes **accountId** | **String** | The account ID of the recipient | [optional] **administrativeArea** | **String** | The administrative area of the recipient | [optional] **accountType** | **String** | The account type of the recipient | [optional] +**dateOfBirth** | **String** | The date of birth of the recipient | [optional] +**postalCode** | **String** | The postal code of the recipient | [optional] diff --git a/generator/cybersource-rest-spec-java.json b/generator/cybersource-rest-spec-java.json index 9db4d9e02..b974731bb 100644 --- a/generator/cybersource-rest-spec-java.json +++ b/generator/cybersource-rest-spec-java.json @@ -65,6 +65,10 @@ "name": "payment-tokens", "description": "A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.\n" }, + { + "name": "Tokenize", + "description": "An orchestration resource used to combine multiple API calls into a single request.\n" + }, { "name": "Customer", "description": "A Customer can be linked to multiple Payment Instruments and Shipping Addresses.\nWith one Payment Instrument and Shipping Address designated as the default.\nIt stores merchant reference information for the Customer such as email and merchant defined data.\n" @@ -85,6 +89,10 @@ "name": "Instrument Identifier", "description": "An Instrument Identifier represents a unique card number(PAN) or bank account (echeck).\nIt can also be associated with a Network Token that can be used for payment transactions.\n" }, + { + "name": "Tokenized Card", + "description": "A Tokenized Card represents a Network Token that can be used for payment transactions.\n" + }, { "name": "Token", "description": "Token resources can act on different token types such as Customers, Payment Instruments or Instrument Identifiers.\n" @@ -3135,6 +3143,11 @@ "type": "string", "maxLength": 10, "description": "Acquirer country." + }, + "serviceProvidername": { + "type": "string", + "maxLength": 50, + "description": "Contains transfer service provider name." } } }, @@ -47498,10 +47511,10 @@ } } }, - "/tms/v2/customers": { + "/tms/v2/tokenize": { "post": { - "summary": "Create a Customer", - "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "summary": "Tokenize", + "description": "| | | | \n| --- | --- | --- |\n|The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.\n", "parameters": [ { "name": "profile-id", @@ -47514,154 +47527,53 @@ "x-hide-field": true }, { - "name": "postCustomerRequest", + "name": "postTokenizeRequest", "in": "body", "required": true, "schema": { "type": "object", "properties": { - "_links": { + "processingInformation": { "type": "object", - "readOnly": true, "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" - } - } - }, - "paymentInstruments": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Payment Instruments.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" - } - } + "actionList": { + "type": "array", + "description": "Array of actions (one or more) to be included in the tokenize request.\n\nPossible Values:\n\n - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request.\n", + "items": { + "type": "string" + }, + "example": [ + "TOKEN_CREATE" + ] }, - "shippingAddress": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Shipping Addresses.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" - } - } + "actionTokenTypes": { + "type": "array", + "description": "TMS tokens types you want to perform the action on.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "items": { + "type": "string" + }, + "example": [ + "customer", + "paymentInstrument", + "shippingAddress", + "instrumentIdentifier" + ] } } }, - "id": { - "type": "string", - "minLength": 1, - "maxLength": 32, - "description": "The Id of the Customer Token." - }, - "objectInformation": { + "tokenInformation": { "type": "object", "properties": { - "title": { + "jti": { "type": "string", - "description": "Name or title of the customer.\n", - "maxLength": 60 + "maxLength": 64, + "description": "TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).\n" }, - "comment": { - "type": "string", - "description": "Comments that you can make about the customer.\n", - "maxLength": 150 - } - } - }, - "buyerInformation": { - "type": "object", - "properties": { - "merchantCustomerID": { + "transientTokenJwt": { "type": "string", - "description": "Your identifier for the customer.\n", - "maxLength": 100 + "description": "Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result.\n" }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's primary email address, including the full domain name.\n" - } - } - }, - "clientReferenceInformation": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Client-generated order reference or tracking number.\n", - "maxLength": 50 - } - } - }, - "merchantDefinedInformation": { - "type": "array", - "description": "Object containing the custom data that the merchant defines.\n", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" - }, - "value": { - "type": "string", - "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", - "maxLength": 100 - } - } - } - }, - "defaultPaymentInstrument": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Payment Instrument\n" - } - } - }, - "defaultShippingAddress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Shipping Address\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "properties": { - "creator": { - "type": "string", - "readOnly": true, - "description": "The creator of the Customer.\n" - } - } - }, - "_embedded": { - "type": "object", - "readOnly": true, - "description": "Additional resources for the Customer.\n", - "properties": { - "defaultPaymentInstrument": { - "readOnly": true, + "customer": { "type": "object", "properties": { "_links": { @@ -47675,20 +47587,32 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Payment Instrument.\n", + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "customer": { + "shippingAddress": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" } } } @@ -47698,251 +47622,81 @@ "type": "string", "minLength": 1, "maxLength": 32, - "description": "The Id of the Payment Instrument Token." - }, - "object": { - "type": "string", - "readOnly": true, - "example": "paymentInstrument", - "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + "description": "The Id of the Customer Token." }, - "default": { - "type": "boolean", - "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" - }, - "bankAccount": { - "type": "object", - "properties": { - "type": { - "type": "string", - "maxLength": 18, - "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" - } - } - }, - "card": { + "objectInformation": { "type": "object", "properties": { - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { - "type": "string", - "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" - }, - "issueNumber": { - "type": "string", - "maxLength": 2, - "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" - }, - "startMonth": { - "type": "string", - "maxLength": 2, - "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" - }, - "startYear": { + "title": { "type": "string", - "maxLength": 4, - "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + "description": "Name or title of the customer.\n", + "maxLength": 60 }, - "useAs": { + "comment": { "type": "string", - "example": "pinless debit", - "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" - }, - "hash": { - "type": "string", - "minLength": 32, - "maxLength": 34, - "readOnly": true, - "description": "Hash value representing the card.\n" - }, - "tokenizedInformation": { - "type": "object", - "properties": { - "requestorID": { - "type": "string", - "maxLength": 11, - "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" - }, - "transactionType": { - "type": "string", - "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" - } - } + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 } } }, "buyerInformation": { "type": "object", "properties": { - "companyTaxID": { - "type": "string", - "maxLength": 9, - "description": "Company's tax identifier. This is only used for eCheck service.\n" - }, - "currency": { + "merchantCustomerID": { "type": "string", - "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + "description": "Your identifier for the customer.\n", + "maxLength": 100 }, - "dateOfBirth": { + "email": { "type": "string", - "format": "date", - "example": "1960-12-30", - "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" - }, - "personalIdentification": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "maxLength": 26, - "description": "The value of the identification type.\n" - }, - "type": { - "type": "string", - "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" - }, - "issuedBy": { - "type": "object", - "properties": { - "administrativeArea": { - "type": "string", - "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", - "maxLength": 20 - } - } - } - } - } + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" } } }, - "billTo": { + "clientReferenceInformation": { "type": "object", "properties": { - "firstName": { - "type": "string", - "maxLength": 60, - "description": "Customer's first name. This name must be the same as the name on the card.\n" - }, - "lastName": { - "type": "string", - "maxLength": 60, - "description": "Customer's last name. This name must be the same as the name on the card.\n" - }, - "company": { - "type": "string", - "maxLength": 60, - "description": "Name of the customer's company.\n" - }, - "address1": { - "type": "string", - "maxLength": 60, - "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" - }, - "address2": { - "type": "string", - "maxLength": 60, - "description": "Additional address information.\n" - }, - "locality": { - "type": "string", - "maxLength": 50, - "description": "Payment card billing city.\n" - }, - "administrativeArea": { - "type": "string", - "maxLength": 20, - "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" - }, - "postalCode": { - "type": "string", - "maxLength": 10, - "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" - }, - "country": { + "code": { "type": "string", - "maxLength": 2, - "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" - }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's email address, including the full domain name.\n" - }, - "phoneNumber": { - "type": "string", - "maxLength": 15, - "description": "Customer's phone number.\n" + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 } } }, - "processingInformation": { - "type": "object", - "title": "tmsPaymentInstrumentProcessingInfo", - "properties": { - "billPaymentProgramEnabled": { - "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" - }, - "bankTransferOptions": { - "type": "object", - "properties": { - "SECCode": { - "type": "string", - "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 } } } }, - "merchantInformation": { + "defaultPaymentInstrument": { "type": "object", "properties": { - "merchantDescriptor": { - "type": "object", - "properties": { - "alternateName": { - "type": "string", - "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", - "maxLength": 13 - } - } + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" } } }, - "instrumentIdentifier": { + "defaultShippingAddress": { "type": "object", "properties": { "id": { "type": "string", - "minLength": 12, - "maxLength": 32, - "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + "description": "The Id of the Customers default Shipping Address\n" } } }, @@ -47953,18 +47707,17 @@ "creator": { "type": "string", "readOnly": true, - "description": "The creator of the Payment Instrument.\n" + "description": "The creator of the Customer.\n" } } }, "_embedded": { "type": "object", "readOnly": true, - "description": "Additional resources for the Payment Instrument.\n", + "description": "Additional resources for the Customer.\n", "properties": { - "instrumentIdentifier": { + "defaultPaymentInstrument": { "readOnly": true, - "title": "tmsEmbeddedInstrumentIdentifier", "type": "object", "properties": { "_links": { @@ -47978,20 +47731,20 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifier.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111" + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "paymentInstruments": { + "customer": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifiers Payment Instruments.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" } } } @@ -47999,13 +47752,19 @@ }, "id": { "type": "string", - "description": "The Id of the Instrument Identifier Token.\n" + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." }, "object": { "type": "string", "readOnly": true, - "example": "instrumentIdentifier", - "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" }, "state": { "type": "string", @@ -48015,35 +47774,22 @@ }, "type": { "type": "string", - "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" }, - "tokenProvisioningInformation": { + "bankAccount": { "type": "object", "properties": { - "consumerConsentObtained": { - "type": "boolean", - "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" - }, - "multiFactorAuthenticated": { - "type": "boolean", - "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" } } }, "card": { "type": "object", - "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" - }, "expirationMonth": { "type": "string", "maxLength": 2, @@ -48054,474 +47800,94 @@ "maxLength": 4, "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" }, - "securityCode": { - "type": "string", - "maxLength": 4, - "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" - } - } - }, - "pointOfSaleInformation": { - "type": "object", - "required": [ - "emvTags" - ], - "properties": { - "emvTags": { - "type": "array", - "minItems": 1, - "maxItems": 50, - "items": { - "type": "object", - "required": [ - "tag", - "value", - "source" - ], - "properties": { - "tag": { - "type": "string", - "minLength": 1, - "maxLength": 10, - "pattern": "^[0-9A-Fa-f]{1,10}$", - "description": "EMV tag, 1-10 hex characters." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "EMV tag value, 1-64 characters." - }, - "source": { - "type": "string", - "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" - } - }, - "example": { - "tag": "5A", - "value": "4111111111111111", - "source": "CARD" - } - } - } - } - }, - "bankAccount": { - "type": "object", - "properties": { - "number": { - "type": "string", - "maxLength": 17, - "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" - }, - "routingNumber": { - "type": "string", - "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } - } - }, - "tokenizedCard": { - "title": "tmsv2TokenizedCard", - "type": "object", - "properties": { - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" - } - } - } - } - }, - "id": { - "type": "string", - "readOnly": true, - "description": "The Id of the Tokenized Card.\n" - }, - "object": { - "type": "string", - "readOnly": true, - "example": "tokenizedCard", - "description": "The type.\nPossible Values:\n- tokenizedCard\n" - }, - "accountReferenceId": { - "type": "string", - "description": "An identifier provided by the issuer for the account.\n" - }, - "consumerId": { - "type": "string", - "maxLength": 36, - "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." - }, - "createInstrumentIdentifier": { - "type": "boolean", - "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" - }, - "reason": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" - }, - "number": { - "type": "string", - "readOnly": true, - "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" - }, - "expirationMonth": { - "type": "string", - "readOnly": true, - "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "readOnly": true, - "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" - }, "type": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" }, - "cryptogram": { + "issueNumber": { "type": "string", - "readOnly": true, - "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" - }, - "securityCode": { - "type": "string", - "readOnly": true, - "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", - "example": "4523" - }, - "eci": { - "type": "string", - "readOnly": true, - "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" }, - "requestorId": { + "startMonth": { "type": "string", - "readOnly": true, - "maxLength": 11, - "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "enrollmentId": { + "startYear": { "type": "string", - "readOnly": true, - "description": "Unique id to identify this PAN/ enrollment.\n" + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "tokenReferenceId": { + "useAs": { "type": "string", - "readOnly": true, - "description": "Unique ID for netwrok token.\n" + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" }, - "paymentAccountReference": { + "hash": { "type": "string", + "minLength": 32, + "maxLength": 34, "readOnly": true, - "description": "Payment account reference.\n" + "description": "Hash value representing the card.\n" }, - "card": { + "tokenizedInformation": { "type": "object", - "description": "Card object used to create a network token\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" - }, - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { + "requestorID": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" }, - "suffix": { + "transactionType": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix.\n" - }, - "issueDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card issuance date. XML date format: YYYY-MM-DD.", - "example": "2030-12-15" - }, - "activationDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card activation date. XML date format: YYYY-MM-DD", - "example": "2030-12-20" - }, - "expirationPrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the expiration date is printed on the card.", - "example": true - }, - "securityCodePrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the Card Verification Number is printed on the card.", - "example": true - }, - "termsAndConditions": { - "type": "object", - "readOnly": true, - "properties": { - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer Card Terms and Conditions url." - } - } - } - } - }, - "passcode": { - "type": "object", - "description": "Passcode by issuer for ID&V.\n", - "properties": { - "value": { - "type": "string", - "description": "OTP generated at issuer.\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "description": "Metadata associated with the tokenized card.\n", - "properties": { - "cardArt": { - "title": "TmsCardArt", - "description": "Card art associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "foregroundColor": { - "description": "Card foreground color.\n", - "type": "string", - "readOnly": true - }, - "combinedAsset": { - "description": "Combined card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" - } - } - } - } - } - } - }, - "brandLogoAsset": { - "description": "Brand logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" - } - } - } - } - } - } - }, - "issuerLogoAsset": { - "description": "Issuer logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" - } - } - } - } - } - } - }, - "iconAsset": { - "description": "Icon card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" - } - } - } - } - } - } - } - } - }, - "issuer": { - "description": "Issuer associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "name": { - "description": "Issuer name.\n", - "type": "string", - "readOnly": true - }, - "shortDescription": { - "description": "Short description of the card.\n", - "type": "string", - "readOnly": true - }, - "longDescription": { - "description": "Long description of the card.\n", - "type": "string", - "readOnly": true - }, - "email": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service email address." - }, - "phoneNumber": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service phone number." - }, - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service url." - } - } + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" } } } } }, - "issuer": { + "buyerInformation": { "type": "object", - "readOnly": true, "properties": { - "paymentAccountReference": { + "companyTaxID": { "type": "string", - "readOnly": true, - "maxLength": 32, - "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" - } - } - }, - "processingInformation": { - "type": "object", - "properties": { - "authorizationOptions": { - "type": "object", - "title": "tmsAuthorizationOptions", - "properties": { - "initiator": { - "type": "object", - "properties": { - "merchantInitiatedTransaction": { - "type": "object", - "properties": { - "previousTransactionId": { - "type": "string", - "maxLength": 15, - "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" - }, - "originalAuthorizedAmount": { - "type": "string", - "maxLength": 15, - "description": "Amount of the original authorization.\n" - } + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 } } } @@ -48532,7 +47898,4760 @@ }, "billTo": { "type": "object", - "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "defaultShippingAddress": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + } + } + } + } + }, + "shippingAddress": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + }, + "paymentInstrument": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenize" + ], + "operationId": "tokenize", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/all/rest/tms-developer/intro.html", + "mleForRequest": "mandatory" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "200": { + "description": "Returns the responses from the orchestrated API requests.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally-unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resource": { + "type": "string", + "description": "TMS token type associated with the response.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "example": "customer" + }, + "httpStatus": { + "type": "integer", + "format": "int32", + "description": "Http status associated with the response.\n", + "example": 201 + }, + "id": { + "type": "string", + "description": "TMS token id associated with the response.\n", + "example": "351A67733325454AE0633F36CF0A9420" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n - forbidden\n - notFound\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n - notAvailable\n - serverError\n - notAttempted\n\nA \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing.\n", + "example": "notAttempted" + }, + "message": { + "type": "string", + "description": "The detailed message related to the type.", + "example": "Creation not attempted due to customer token creation failure" + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error.", + "example": "address1" + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error.", + "example": "billTo" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } + } + } + } + } + } + }, + "examples": { + "Invalid Customer request body": { + "errors": [ + { + "type": "invalidRequest", + "message": "Invalid HTTP Body" + } + ] + } + } + }, + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Profile not found" + } + ] + } + } + }, + "500": { + "description": "Unexpected error.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Create Complete Customer & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example1": { + "summary": "Create Customer Payment Instrument & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "id": "" + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example2": { + "summary": "Create Instrument Identifier & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example3": { + "summary": "Create Complete Customer using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "", + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + } + } + }, + "example4": { + "summary": "Create Instrument Identifier using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "" + } + } + } + } + } + }, + "/tms/v2/customers": { + "post": { + "summary": "Create a Customer", + "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "description": "The Id of a profile containing user specific TMS configuration.", + "required": false, + "type": "string", + "minLength": 36, + "maxLength": 36, + "x-hide-field": true + }, + { + "name": "postCustomerRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "shippingAddress": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Customer Token." + }, + "objectInformation": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "Name or title of the customer.\n", + "maxLength": 60 + }, + "comment": { + "type": "string", + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "merchantCustomerID": { + "type": "string", + "description": "Your identifier for the customer.\n", + "maxLength": 100 + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" + } + } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 + } + } + }, + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 + } + } + } + }, + "defaultPaymentInstrument": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" + } + } + }, + "defaultShippingAddress": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Shipping Address\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Customer.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Customer.\n", + "properties": { + "defaultPaymentInstrument": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { "address1": { "type": "string", @@ -48927,7 +53046,8 @@ "operationId": "postCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -49362,6 +53482,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -51120,6 +55241,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -52875,6 +56997,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -53880,7 +58003,8 @@ "operationId": "patchCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -54324,6 +58448,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -56255,7 +60380,8 @@ "operationId": "postCustomerShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -58030,7 +62156,8 @@ "operationId": "patchCustomersShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -59303,6 +63430,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -60187,7 +64315,8 @@ "operationId": "postCustomerPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -60491,6 +64620,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -62212,6 +66342,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -63748,6 +67879,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -65247,6 +69379,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -66131,7 +70264,8 @@ "operationId": "patchCustomersPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -66431,6 +70565,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -68473,6 +72608,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -69357,7 +73493,8 @@ "operationId": "postPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -69643,6 +73780,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -71221,6 +75359,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -72718,6 +76857,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -73602,7 +77742,8 @@ "operationId": "patchPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -73902,6 +78043,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -76389,7 +80531,8 @@ "operationId": "postInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -80528,7 +84671,8 @@ "operationId": "patchInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -82600,6 +86744,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -84666,7 +88811,8 @@ "operationId": "postInstrumentIdentifierEnrollment", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -85447,7 +89593,8 @@ "operationId": "postTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -87321,7 +91468,154 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Token not found" + } + ] + } + } + }, + "409": { + "description": "Conflict. The token is linked to a Payment Instrument.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "conflict", + "message": "Action cannot be performed as the PaymentInstrument is the customers default" + } + ] + } + } + }, + "410": { + "description": "Token Not Available. The token has been deleted.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" }, "message": { "type": "string", @@ -87337,15 +91631,15 @@ "application/json": { "errors": [ { - "type": "forbidden", - "message": "Request not permitted" + "type": "notAvailable", + "message": "Token not available." } ] } } }, - "404": { - "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87387,14 +91681,14 @@ "errors": [ { "type": "notFound", - "message": "Token not found" + "message": "Profile not found" } ] } } }, - "409": { - "description": "Conflict. The token is linked to a Payment Instrument.", + "500": { + "description": "Unexpected error.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87405,6 +91699,16 @@ "type": "string" } }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, "schema": { "type": "object", "readOnly": true, @@ -87419,12 +91723,180 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + } + } + }, + "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations": { + "post": { + "summary": "Simulate Issuer Life Cycle Management Events", + "description": "**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card.\nThe events that can be simulated are:\n- Token status changes (e.g. active, suspended, deleted)\n- Updates to the underlying card, including card art changes, expiration date changes, and card number suffix.\n**Note:** This is only available in CAS environment.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "required": true, + "type": "string", + "description": "The Id of a profile containing user specific TMS configuration.", + "minLength": 36, + "maxLength": 36 + }, + { + "name": "tokenizedCardId", + "in": "path", + "description": "The Id of a tokenized card.", + "required": true, + "type": "string", + "minLength": 12, + "maxLength": 32 + }, + { + "name": "postIssuerLifeCycleSimulationRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "description": "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card.\n", + "properties": { + "state": { + "type": "string", + "description": "The new state of the Tokenized Card.\nPossible Values:\n- ACTIVE\n- SUSPENDED\n- DELETED\n" + }, + "card": { + "type": "object", + "properties": { + "last4": { + "type": "string", + "maxLength": 4, + "description": "The new last 4 digits of the card number associated to the Tokenized Card.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "The new two-digit month of the card associated to the Tokenized Card.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "The new four-digit year of the card associated to the Tokenized Card.\nFormat: `YYYY`.\n" + } + } + }, + "metadata": { + "type": "object", + "properties": { + "cardArt": { + "type": "object", + "properties": { + "combinedAsset": { + "type": "object", + "properties": { + "update": { + "type": "string", + "description": "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card.\n" + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenized Card" + ], + "operationId": "postIssuerLifeCycleSimulation", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-simulate-issuer-life-cycle-event-intro.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "204": { + "description": "The request is fulfilled but does not need to return a body", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" }, "message": { "type": "string", "readOnly": true, "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } } } } @@ -87432,18 +91904,18 @@ } }, "examples": { - "application/json": { + "Invalid Customer request body": { "errors": [ { - "type": "conflict", - "message": "Action cannot be performed as the PaymentInstrument is the customers default" + "type": "invalidRequest", + "message": "Invalid HTTP Body" } ] } } }, - "410": { - "description": "Token Not Available. The token has been deleted.", + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87468,7 +91940,7 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" }, "message": { "type": "string", @@ -87484,15 +91956,15 @@ "application/json": { "errors": [ { - "type": "notAvailable", - "message": "Token not available." + "type": "forbidden", + "message": "Request not permitted" } ] } } }, - "424": { - "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87534,7 +92006,7 @@ "errors": [ { "type": "notFound", - "message": "Profile not found" + "message": "Token not found" } ] } @@ -87589,6 +92061,36 @@ } } } + }, + "x-example": { + "example0": { + "summary": "Simulate Network Token Status Update", + "value": { + "state": "SUSPENDED" + } + }, + "example1": { + "summary": "Simulate Network Token Card Metadata Update", + "value": { + "card": { + "last4": "9876", + "expirationMonth": "11", + "expirationYear": "2040" + } + } + }, + "example2": { + "summary": "Simulate Network Token Card Art Update", + "value": { + "metadata": { + "cardArt": { + "combinedAsset": { + "update": "true" + } + } + } + } + } } } }, @@ -87853,7 +92355,8 @@ "operationId": "postTokenPaymentCredentials", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -101675,43 +106178,6 @@ "schema": { "type": "object", "properties": { - "clientReferenceInformation": { - "type": "object", - "properties": { - "comments": { - "type": "string", - "maxLength": 255, - "description": "Brief description of the order or any comment you wish to add to the order.\n" - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n" - }, - "solutionId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n" - } - } - }, - "applicationName": { - "type": "string", - "description": "The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n" - }, - "applicationVersion": { - "type": "string", - "description": "Version of the CyberSource application or integration used for a transaction.\n" - }, - "applicationUser": { - "type": "string", - "description": "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n" - } - } - }, "planInformation": { "type": "object", "required": [ @@ -103422,41 +107888,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -103607,6 +108041,9 @@ "customer": { "id": "C24F5921EB870D99E053AF598E0A4105" } + }, + "clientReferenceInformation": { + "code": "TC501713" } } } @@ -103715,6 +108152,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -103820,6 +108267,9 @@ "summary": "Create Subscription", "sample-name": "Create Subscription", "value": { + "clientReferenceInformation": { + "code": "TC501713" + }, "subscriptionInformation": { "planId": "6868912495476705603955", "name": "Subscription with PlanId", @@ -103838,13 +108288,7 @@ "sample-name": "(deprecated) Create Subscription with Authorization", "value": { "clientReferenceInformation": { - "code": "TC501713", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "TC501713" }, "processingInformation": { "commerceIndicator": "recurring", @@ -104116,6 +108560,16 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "paymentInformation": { "type": "object", "properties": { @@ -104475,18 +108929,28 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "reactivationInformation": { "type": "object", "properties": { - "skippedPaymentsCount": { + "missedPaymentsCount": { "type": "string", "maxLength": 10, "description": "Number of payments that should have occurred while the subscription was in a suspended status.\n" }, - "skippedPaymentsTotalAmount": { + "missedPaymentsTotalAmount": { "type": "string", "maxLength": 19, - "description": "Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`.\n" + "description": "Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`.\n" } } } @@ -104616,41 +109080,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -105109,7 +109541,7 @@ "/rbs/v1/subscriptions/{id}/suspend": { "post": { "summary": "Suspend a Subscription", - "description": "Suspend a Subscription", + "description": "Suspend a Subscription\n", "tags": [ "Subscriptions" ], @@ -105277,8 +109709,8 @@ }, "/rbs/v1/subscriptions/{id}/activate": { "post": { - "summary": "Activate a Subscription", - "description": "Activate a `SUSPENDED` Subscription\n", + "summary": "Reactivating a Suspended Subscription", + "description": "# Reactivating a Suspended Subscription\n\nYou can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription.\n\nYou can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. \nIf no value is specified, the system will default to `true`.\n\n**Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html).\n\nYou can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).\n", "tags": [ "Subscriptions" ], @@ -105306,10 +109738,10 @@ "description": "Subscription Id" }, { - "name": "processSkippedPayments", + "name": "processMissedPayments", "in": "query", "type": "boolean", - "description": "Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true.", + "description": "Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true.\nWhen any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored.\n", "required": false, "default": true } @@ -106073,41 +110505,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -106230,13 +110630,7 @@ }, "example": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -106358,6 +110752,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -106464,13 +110868,7 @@ "sample-name": "Create Follow-On Subscription", "value": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -134847,6 +139245,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -136622,26 +141038,159 @@ "type": "string" } } - } - } - }, - "recurringBilling": { - "type": "object", - "properties": { - "subscriptionStatus": { + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -136665,28 +141214,26 @@ "type": "string" } } - }, - "configurationStatus": { + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionStatus": { "type": "object", "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" }, "reason": { "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" }, "details": { "type": "array", @@ -136713,7 +141260,7 @@ } } }, - "cybsReadyTerminal": { + "payouts": { "type": "object", "properties": { "subscriptionStatus": { @@ -136801,7 +141348,7 @@ } } }, - "paymentOrchestration": { + "payByLink": { "type": "object", "properties": { "subscriptionStatus": { @@ -136844,7 +141391,7 @@ } } }, - "payouts": { + "unifiedCheckout": { "type": "object", "properties": { "subscriptionStatus": { @@ -136884,55 +141431,10 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } }, - "payByLink": { + "receivablesManager": { "type": "object", "properties": { "subscriptionStatus": { @@ -136975,7 +141477,7 @@ } } }, - "unifiedCheckout": { + "serviceFee": { "type": "object", "properties": { "subscriptionStatus": { @@ -137015,26 +141517,28 @@ "type": "string" } } - } - } - }, - "receivablesManager": { - "type": "object", - "properties": { - "subscriptionStatus": { + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -137061,7 +141565,7 @@ } } }, - "serviceFee": { + "batchUpload": { "type": "object", "properties": { "subscriptionStatus": { @@ -137101,51 +141605,6 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } } @@ -145273,6 +149732,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -147440,6 +151917,49 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } } } }, @@ -151507,7 +156027,7 @@ "properties": { "clientVersion": { "type": "string", - "example": "0.25", + "example": "0.32", "maxLength": 60, "description": "Specify the version of Unified Checkout that you want to use." }, @@ -151536,7 +156056,7 @@ "items": { "type": "string" }, - "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" + "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)

\n\n Unified Checkout supports the following Post-Pay Reference payment methods:\n - Konbini (JP)

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

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" }, "country": { "type": "string", @@ -151549,6 +156069,11 @@ "example": "en_US", "description": "Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code.\n\nPlease refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html)\n" }, + "buttonType": { + "type": "string", + "example": null, + "description": "Changes the label on the payment button within Unified Checkout .

\n\nPossible values:\n- ADD_CARD\n- CARD_PAYMENT\n- CHECKOUT\n- CHECKOUT_AND_CONTINUE\n- DEBIT_CREDIT\n- DONATE\n- PAY\n- PAY_WITH_CARD\n- SAVE_CARD\n- SUBSCRIBE_WITH_CARD

\n\nThis is an optional field,\n" + }, "captureMandate": { "type": "object", "properties": { @@ -151705,6 +156230,23 @@ "type": "string", "example": 10, "description": "This field defines the tax amount applicable to the order.\n" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxId": { + "type": "string", + "example": 1234, + "maxLength": 20, + "description": "This field defines the tax identifier/registration number\n" + }, + "type": { + "type": "string", + "example": "N", + "maxLength": 1, + "description": "This field defines the Tax type code (N=National, S=State, L=Local etc)\n" + } + } } } }, @@ -151971,188 +156513,225 @@ "productCode": { "type": "string", "maxLength": 255, - "example": "electronics" + "example": "electronics", + "description": "Code identifying the product." }, "productName": { "type": "string", "maxLength": 255, - "example": "smartphone" + "example": "smartphone", + "description": "Name of the product." }, "productSku": { "type": "string", "maxLength": 255, - "example": "SKU12345" + "example": "SKU12345", + "description": "Stock Keeping Unit identifier" }, "quantity": { "type": "integer", "minimum": 1, "maximum": 999999999, "default": 1, - "example": 2 + "example": 2, + "description": "Quantity of the product" }, "unitPrice": { "type": "string", "maxLength": 15, - "example": "399.99" + "example": "399.99", + "description": "Price per unit" }, "unitOfMeasure": { "type": "string", "maxLength": 12, - "example": "EA" + "example": "EA", + "description": "Unit of measure (e.g. EA, KG, LB)" }, "totalAmount": { "type": "string", "maxLength": 13, - "example": "799.98" + "example": "799.98", + "description": "Total amount for the line item" }, "taxAmount": { "type": "string", "maxLength": 15, - "example": "64.00" + "example": "64.00", + "description": "Tax amount applied" }, "taxRate": { "type": "string", "maxLength": 7, - "example": "0.88" + "example": "0.88", + "description": "Tax rate applied" }, "taxAppliedAfterDiscount": { "type": "string", "maxLength": 1, - "example": "Y" + "example": "Y", + "description": "Indicates if tax applied after discount" }, "taxStatusIndicator": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Tax status indicator" }, "taxTypeCode": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax type code" }, "amountIncludesTax": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if amount includes tax" }, "typeOfSupply": { "type": "string", "maxLength": 2, - "example": "GS" + "example": "GS", + "description": "Type of supply" }, "commodityCode": { "type": "string", "maxLength": 15, - "example": "123456" + "example": "123456", + "description": "Commodity code" }, "discountAmount": { "type": "string", "maxLength": 13, - "example": "10.00" + "example": "10.00", + "description": "Discount amount applied" }, "discountApplied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if discount applied" }, "discountRate": { "type": "string", "maxLength": 6, - "example": "0.05" + "example": "0.05", + "description": "Discount rate applied" }, "invoiceNumber": { "type": "string", "maxLength": 23, - "example": "INV-001" + "example": "INV-001", + "description": "Invoice number for the line item" }, "taxDetails": { "type": "object", "properties": { "type": { "type": "string", - "example": "VAT" + "example": "VAT", + "description": "Type of tax" }, "amount": { "type": "string", "maxLength": 13, - "example": 5.99 + "example": 5.99, + "description": "Tax amount" }, "rate": { "type": "string", "maxLength": 6, - "example": 20 + "example": 20, + "description": "Tax rate" }, "code": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax code" }, "taxId": { "type": "string", "maxLength": 15, - "example": "TAXID12345" + "example": "TAXID12345", + "description": "Tax Identifier" }, "applied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if tax applied" }, "exemptionCode": { "type": "string", "maxLength": 1, - "example": "E" + "example": "E", + "description": "Tax exemption code" } } }, "fulfillmentType": { "type": "string", - "example": "Delivery" + "example": "Delivery", + "description": "Fulfillment type" }, "weight": { "type": "string", "maxLength": 9, - "example": "1.5" + "example": "1.5", + "description": "Weight of the product" }, "weightIdentifier": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Weight identifier" }, "weightUnit": { "type": "string", "maxLength": 2, - "example": "KG" + "example": "KG", + "description": "Unit of weight of the product" }, "referenceDataCode": { "type": "string", "maxLength": 150, - "example": "REFCODE" + "example": "REFCODE", + "description": "Reference data code" }, "referenceDataNumber": { "type": "string", "maxLength": 30, - "example": "REF123" + "example": "REF123", + "description": "Reference data number" }, "unitTaxAmount": { "type": "string", "maxLength": 15, - "example": "3.20" + "example": "3.20", + "description": "Unit tax amount" }, "productDescription": { "type": "string", "maxLength": 30, - "example": "Latest model smartphone" + "example": "Latest model smartphone", + "description": "Description of the product" }, "giftCardCurrency": { "type": "string", "maxLength": 3, - "example": "USD" + "example": "USD", + "description": "Gift card currency" }, "shippingDestinationTypes": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Shipping destination types" }, "gift": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if item is a gift" }, "passenger": { "type": "object", @@ -152160,46 +156739,71 @@ "type": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Passenger type" }, "status": { "type": "string", "maxLength": 32, - "example": "Gold" + "example": "Gold", + "description": "Passenger status" }, "phone": { "type": "string", "maxLength": 15, - "example": "123456789" + "example": "123456789", + "description": "Passenger phone number" }, "firstName": { "type": "string", "maxLength": 60, - "example": "John" + "example": "John", + "description": "Passenger first name" }, "lastName": { "type": "string", "maxLength": 60, - "example": "Doe" + "example": "Doe", + "description": "Passenger last name" }, "id": { "type": "string", "maxLength": 40, - "example": "AIR1234567" + "example": "AIR1234567", + "description": "Passenger ID" }, "email": { "type": "string", "maxLength": 50, - "example": "john.doe@example.com" + "example": "john.doe@example.com", + "description": "Passenger email" }, "nationality": { "type": "string", "maxLength": 2, - "example": "US" + "example": "US", + "description": "Passenger nationality" } } } } + }, + "invoiceDetails": { + "type": "object", + "properties": { + "invoiceNumber": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Invoice number" + }, + "productDescription": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Product description" + } + } } } }, @@ -152211,21 +156815,35 @@ "properties": { "cpf": { "type": "string", - "minLength": 11, "maxLength": 11, - "example": "12345678900" + "example": "12345678900", + "description": "CPF Number (Brazil). Must be 11 digits in length.\n" } } }, "merchantCustomerId": { "type": "string", "maxLength": 100, - "example": "M123456767" + "example": "M123456767", + "description": "The Merchant Customer ID\n" }, "companyTaxId": { "type": "string", "maxLength": 9, - "example": "" + "example": "", + "description": "The Company Tax ID\n" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 10, + "example": "12/03/1976", + "description": "The date of birth\n" + }, + "language": { + "type": "string", + "maxLength": 10, + "example": "English", + "description": "The preferred language\n" } } }, @@ -152245,7 +156863,7 @@ "maxLength": 8, "example": "DEV12345" }, - "SolutionId": { + "solutionId": { "type": "string", "maxLength": 8, "example": "SOL1234" @@ -152260,12 +156878,20 @@ "challengeCode": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The challenge code\n" }, "messageCategory": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The message category\n" + }, + "acsWindowSize": { + "type": "string", + "maxLength": 2, + "example": "01", + "description": "The acs window size\n" } } }, @@ -152277,9 +156903,51 @@ "properties": { "name": { "type": "string", - "maxLength": 22, + "maxLength": 25, "example": "Euro Electronics", "description": "The name of the merchant" + }, + "alternateName": { + "type": "string", + "maxLength": 25, + "example": "Smyth Holdings PLC", + "description": "The alternate name of the merchant" + }, + "locality": { + "type": "string", + "maxLength": 50, + "example": "New York", + "description": "The locality of the merchant" + }, + "phone": { + "type": "string", + "maxLength": 15, + "example": "555-555-123", + "description": "The phone number of the merchant" + }, + "country": { + "type": "string", + "maxLength": 2, + "example": "US", + "description": "The country code of the merchant" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the merchant" + }, + "administrativeArea": { + "type": "string", + "maxLength": 2, + "example": "NY", + "description": "The administrative area of the merchant" + }, + "address1": { + "type": "string", + "maxLength": 60, + "example": "123 47th Street", + "description": "The first line of the merchant's address" } } } @@ -152291,28 +156959,46 @@ "reconciliationId": { "type": "string", "maxLength": 60, - "example": "01234567" + "example": "01234567", + "description": "The reconciliation ID" }, "authorizationOptions": { "type": "object", "properties": { "aftIndicator": { "type": "boolean", - "example": true + "example": true, + "description": "The AFT indicator" + }, + "authIndicator": { + "type": "string", + "example": 1, + "description": "The authorization indicator" + }, + "ignoreCvResult": { + "type": "boolean", + "example": true, + "description": "Ignore the CV result" + }, + "ignoreAvsResult": { + "type": "boolean", + "example": true, + "description": "Ignore the AVS result" }, "initiator": { "type": "object", "properties": { "credentialStoredOnFile": { "type": "boolean", - "example": true + "example": true, + "description": "Store the credential on file" }, "merchantInitiatedTransaction": { "type": "object", "properties": { "reason": { "type": "string", - "maxLength": 1, + "maxLength": 2, "example": 1 } } @@ -152322,7 +157008,20 @@ "businessApplicationId": { "type": "string", "maxLength": 2, - "example": "AA" + "example": "AA", + "description": "The business application Id" + }, + "commerceIndicator": { + "type": "string", + "maxLength": 20, + "example": "INDICATOR", + "description": "The commerce indicator" + }, + "processingInstruction": { + "type": "string", + "maxLength": 50, + "example": "ORDER_SAVED_EXPLICITLY", + "description": "The processing instruction" } } } @@ -152361,14 +157060,26 @@ "administrativeArea": { "type": "string", "maxLength": 2, - "example": "Devon", + "example": "GB", "description": "The administrative area of the recipient" }, "accountType": { "type": "string", "maxLength": 2, - "example": "Checking", + "example": "01", "description": "The account type of the recipient" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 8, + "example": "05111999", + "description": "The date of birth of the recipient" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the recipient" } } }, @@ -152377,20 +157088,50 @@ "properties": { "key": { "type": "string", - "maxLength": 50, + "maxLength": 10, + "example": "1", "description": "The key or identifier for the merchant-defined data field" }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 100, + "example": "123456", "description": "The value associated with the merchant-defined data field" } } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "maxLength": 45, + "example": "192.168.1.1", + "description": "The IP Address" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "typeSelectionIndicator": { + "type": "string", + "maxLength": 1, + "example": "0", + "description": "The card type selection indicator" + } + } + } + } } } }, "orderInformation": { "type": "object", + "description": "If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object.", "properties": { "amountDetails": { "type": "object", @@ -152674,7 +157415,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152709,10 +157450,12 @@ "decisionManager": true, "consumerAuthentication": true }, - "orderInformation": { - "amountDetails": { - "totalAmount": "21.00", - "currency": "USD" + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + } } } } @@ -152720,7 +157463,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152784,7 +157527,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152840,7 +157583,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152890,7 +157633,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152941,7 +157684,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153036,7 +157779,7 @@ "example6": { "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153074,7 +157817,7 @@ "example7": { "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153145,7 +157888,7 @@ "example8": { "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153216,7 +157959,7 @@ "example9": { "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153289,7 +158032,7 @@ "example10": { "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153360,7 +158103,7 @@ "example11": { "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153429,9 +158172,153 @@ "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" }, "example12": { + "summary": "Generate Unified Checkout Capture Context (Bancontact (BE))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "BANCONTACT" + ], + "country": "BE", + "locale": "fr_BE", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "BE", + "NL", + "FR" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "jean.dupont@example.com", + "firstName": "Jean", + "lastName": "Dupont", + "address1": "Avenue Louise 123", + "administrativeArea": "Brussels", + "buildingNumber": 123, + "country": "BE", + "locality": "Brussels", + "postalCode": "1050" + }, + "shipTo": { + "firstName": "Marie", + "lastName": "Dupont", + "address1": "Rue de la Loi 200", + "administrativeArea": "Brussels", + "buildingNumber": 200, + "country": "BE", + "locality": "Brussels", + "postalCode": "1040" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (DragonPay (PH))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "DRAGONPAY" + ], + "country": "PH", + "locale": "en-PH", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PH", + "SG", + "MY" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "121.00", + "currency": "PHP" + }, + "billTo": { + "email": "juan.dela.cruz@example.com", + "firstName": "Juan", + "lastName": "Dela Cruz", + "address1": "123 Ayala Avenue", + "administrativeArea": "NCR", + "buildingNumber": 123, + "country": "PH", + "locality": "Makati City", + "postalCode": "1226" + }, + "shipTo": { + "firstName": "Maria", + "lastName": "Dela Cruz", + "address1": "45 Ortigas Center", + "administrativeArea": "NCR", + "buildingNumber": 45, + "country": "PH", + "locality": "Pasig City", + "postalCode": "1605" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153499,10 +158386,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example13": { + "example15": { "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153571,10 +158458,83 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example14": { + "example16": { + "summary": "Generate Unified Checkout Capture Context (MyBank (IT))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MYBBT" + ], + "country": "IT", + "locale": "it-IT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "IT", + "ES", + "BE", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "mario.rossi@example.com", + "firstName": "Mario", + "lastName": "Rossi", + "address1": "Via Dante Alighieri 15", + "administrativeArea": "MI", + "buildingNumber": 15, + "country": "IT", + "locality": "Milano", + "postalCode": "20121" + }, + "shipTo": { + "firstName": "Lucia", + "lastName": "Rossi", + "address1": "Corso Vittorio Emanuele II 8", + "administrativeArea": "RM", + "buildingNumber": 8, + "country": "IT", + "locality": "Roma", + "postalCode": "00186" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example17": { "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153643,10 +158603,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example15": { + "example18": { "summary": "Generate Unified Checkout Capture Context (Tink Pay By Bank (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153712,6 +158672,78 @@ } }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example19": { + "summary": "Generate Unified Checkout Capture Context (Konbini (JP))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "KONBINI" + ], + "country": "JP", + "locale": "ja-JP", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "JP", + "US" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "JPY" + }, + "billTo": { + "email": "taro.suzuki@example.jp", + "firstName": "Taro", + "lastName": "Suzuki", + "address1": "1-9-1 Marunouchi", + "administrativeArea": "Tokyo", + "buildingNumber": 1, + "country": "JP", + "locality": "Chiyoda-ku", + "postalCode": "100-0005", + "phoneNumber": "0312345678" + }, + "shipTo": { + "firstName": "Hanako", + "lastName": "Suzuki", + "address1": "3-1-1 Umeda", + "administrativeArea": "Osaka", + "buildingNumber": 3, + "country": "JP", + "locality": "Kita-ku", + "postalCode": "530-0001" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Post-Pay Reference)" } }, "responses": { @@ -155215,7 +160247,7 @@ "authorizationType": [ "Json Web Token" ], - "overrideMerchantCredential": "echecktestdevcenter001", + "overrideMerchantCredential": "apiref_chase", "SDK_ONLY_AddDisclaimer": true }, "consumes": [ diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 77d450b9b..b3b3e5905 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -65,6 +65,10 @@ "name": "payment-tokens", "description": "A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.\n" }, + { + "name": "Tokenize", + "description": "An orchestration resource used to combine multiple API calls into a single request.\n" + }, { "name": "Customer", "description": "A Customer can be linked to multiple Payment Instruments and Shipping Addresses.\nWith one Payment Instrument and Shipping Address designated as the default.\nIt stores merchant reference information for the Customer such as email and merchant defined data.\n" @@ -85,6 +89,10 @@ "name": "Instrument Identifier", "description": "An Instrument Identifier represents a unique card number(PAN) or bank account (echeck).\nIt can also be associated with a Network Token that can be used for payment transactions.\n" }, + { + "name": "Tokenized Card", + "description": "A Tokenized Card represents a Network Token that can be used for payment transactions.\n" + }, { "name": "Token", "description": "Token resources can act on different token types such as Customers, Payment Instruments or Instrument Identifiers.\n" @@ -3135,6 +3143,11 @@ "type": "string", "maxLength": 10, "description": "Acquirer country." + }, + "serviceProvidername": { + "type": "string", + "maxLength": 50, + "description": "Contains transfer service provider name." } } }, @@ -47498,10 +47511,10 @@ } } }, - "/tms/v2/customers": { + "/tms/v2/tokenize": { "post": { - "summary": "Create a Customer", - "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "summary": "Tokenize", + "description": "| | | | \n| --- | --- | --- |\n|The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.\n", "parameters": [ { "name": "profile-id", @@ -47514,154 +47527,53 @@ "x-hide-field": true }, { - "name": "postCustomerRequest", + "name": "postTokenizeRequest", "in": "body", "required": true, "schema": { "type": "object", "properties": { - "_links": { + "processingInformation": { "type": "object", - "readOnly": true, "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" - } - } - }, - "paymentInstruments": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Payment Instruments.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" - } - } + "actionList": { + "type": "array", + "description": "Array of actions (one or more) to be included in the tokenize request.\n\nPossible Values:\n\n - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request.\n", + "items": { + "type": "string" + }, + "example": [ + "TOKEN_CREATE" + ] }, - "shippingAddress": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Shipping Addresses.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" - } - } + "actionTokenTypes": { + "type": "array", + "description": "TMS tokens types you want to perform the action on.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "items": { + "type": "string" + }, + "example": [ + "customer", + "paymentInstrument", + "shippingAddress", + "instrumentIdentifier" + ] } } }, - "id": { - "type": "string", - "minLength": 1, - "maxLength": 32, - "description": "The Id of the Customer Token." - }, - "objectInformation": { + "tokenInformation": { "type": "object", "properties": { - "title": { + "jti": { "type": "string", - "description": "Name or title of the customer.\n", - "maxLength": 60 + "maxLength": 64, + "description": "TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).\n" }, - "comment": { - "type": "string", - "description": "Comments that you can make about the customer.\n", - "maxLength": 150 - } - } - }, - "buyerInformation": { - "type": "object", - "properties": { - "merchantCustomerID": { + "transientTokenJwt": { "type": "string", - "description": "Your identifier for the customer.\n", - "maxLength": 100 + "description": "Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result.\n" }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's primary email address, including the full domain name.\n" - } - } - }, - "clientReferenceInformation": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Client-generated order reference or tracking number.\n", - "maxLength": 50 - } - } - }, - "merchantDefinedInformation": { - "type": "array", - "description": "Object containing the custom data that the merchant defines.\n", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" - }, - "value": { - "type": "string", - "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", - "maxLength": 100 - } - } - } - }, - "defaultPaymentInstrument": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Payment Instrument\n" - } - } - }, - "defaultShippingAddress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Shipping Address\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "properties": { - "creator": { - "type": "string", - "readOnly": true, - "description": "The creator of the Customer.\n" - } - } - }, - "_embedded": { - "type": "object", - "readOnly": true, - "description": "Additional resources for the Customer.\n", - "properties": { - "defaultPaymentInstrument": { - "readOnly": true, + "customer": { "type": "object", "properties": { "_links": { @@ -47675,20 +47587,32 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Payment Instrument.\n", + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "customer": { + "shippingAddress": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" } } } @@ -47698,251 +47622,81 @@ "type": "string", "minLength": 1, "maxLength": 32, - "description": "The Id of the Payment Instrument Token." - }, - "object": { - "type": "string", - "readOnly": true, - "example": "paymentInstrument", - "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + "description": "The Id of the Customer Token." }, - "default": { - "type": "boolean", - "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" - }, - "bankAccount": { - "type": "object", - "properties": { - "type": { - "type": "string", - "maxLength": 18, - "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" - } - } - }, - "card": { + "objectInformation": { "type": "object", "properties": { - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { - "type": "string", - "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" - }, - "issueNumber": { - "type": "string", - "maxLength": 2, - "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" - }, - "startMonth": { - "type": "string", - "maxLength": 2, - "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" - }, - "startYear": { + "title": { "type": "string", - "maxLength": 4, - "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + "description": "Name or title of the customer.\n", + "maxLength": 60 }, - "useAs": { + "comment": { "type": "string", - "example": "pinless debit", - "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" - }, - "hash": { - "type": "string", - "minLength": 32, - "maxLength": 34, - "readOnly": true, - "description": "Hash value representing the card.\n" - }, - "tokenizedInformation": { - "type": "object", - "properties": { - "requestorID": { - "type": "string", - "maxLength": 11, - "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" - }, - "transactionType": { - "type": "string", - "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" - } - } + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 } } }, "buyerInformation": { "type": "object", "properties": { - "companyTaxID": { - "type": "string", - "maxLength": 9, - "description": "Company's tax identifier. This is only used for eCheck service.\n" - }, - "currency": { + "merchantCustomerID": { "type": "string", - "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + "description": "Your identifier for the customer.\n", + "maxLength": 100 }, - "dateOfBirth": { + "email": { "type": "string", - "format": "date", - "example": "1960-12-30", - "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" - }, - "personalIdentification": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "maxLength": 26, - "description": "The value of the identification type.\n" - }, - "type": { - "type": "string", - "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" - }, - "issuedBy": { - "type": "object", - "properties": { - "administrativeArea": { - "type": "string", - "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", - "maxLength": 20 - } - } - } - } - } + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" } } }, - "billTo": { + "clientReferenceInformation": { "type": "object", "properties": { - "firstName": { - "type": "string", - "maxLength": 60, - "description": "Customer's first name. This name must be the same as the name on the card.\n" - }, - "lastName": { - "type": "string", - "maxLength": 60, - "description": "Customer's last name. This name must be the same as the name on the card.\n" - }, - "company": { - "type": "string", - "maxLength": 60, - "description": "Name of the customer's company.\n" - }, - "address1": { - "type": "string", - "maxLength": 60, - "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" - }, - "address2": { - "type": "string", - "maxLength": 60, - "description": "Additional address information.\n" - }, - "locality": { - "type": "string", - "maxLength": 50, - "description": "Payment card billing city.\n" - }, - "administrativeArea": { - "type": "string", - "maxLength": 20, - "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" - }, - "postalCode": { - "type": "string", - "maxLength": 10, - "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" - }, - "country": { + "code": { "type": "string", - "maxLength": 2, - "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" - }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's email address, including the full domain name.\n" - }, - "phoneNumber": { - "type": "string", - "maxLength": 15, - "description": "Customer's phone number.\n" + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 } } }, - "processingInformation": { - "type": "object", - "title": "tmsPaymentInstrumentProcessingInfo", - "properties": { - "billPaymentProgramEnabled": { - "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" - }, - "bankTransferOptions": { - "type": "object", - "properties": { - "SECCode": { - "type": "string", - "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 } } } }, - "merchantInformation": { + "defaultPaymentInstrument": { "type": "object", "properties": { - "merchantDescriptor": { - "type": "object", - "properties": { - "alternateName": { - "type": "string", - "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", - "maxLength": 13 - } - } + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" } } }, - "instrumentIdentifier": { + "defaultShippingAddress": { "type": "object", "properties": { "id": { "type": "string", - "minLength": 12, - "maxLength": 32, - "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + "description": "The Id of the Customers default Shipping Address\n" } } }, @@ -47953,18 +47707,17 @@ "creator": { "type": "string", "readOnly": true, - "description": "The creator of the Payment Instrument.\n" + "description": "The creator of the Customer.\n" } } }, "_embedded": { "type": "object", "readOnly": true, - "description": "Additional resources for the Payment Instrument.\n", + "description": "Additional resources for the Customer.\n", "properties": { - "instrumentIdentifier": { + "defaultPaymentInstrument": { "readOnly": true, - "title": "tmsEmbeddedInstrumentIdentifier", "type": "object", "properties": { "_links": { @@ -47978,20 +47731,20 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifier.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111" + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "paymentInstruments": { + "customer": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifiers Payment Instruments.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" } } } @@ -47999,13 +47752,19 @@ }, "id": { "type": "string", - "description": "The Id of the Instrument Identifier Token.\n" + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." }, "object": { "type": "string", "readOnly": true, - "example": "instrumentIdentifier", - "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" }, "state": { "type": "string", @@ -48015,35 +47774,22 @@ }, "type": { "type": "string", - "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" }, - "tokenProvisioningInformation": { + "bankAccount": { "type": "object", "properties": { - "consumerConsentObtained": { - "type": "boolean", - "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" - }, - "multiFactorAuthenticated": { - "type": "boolean", - "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" } } }, "card": { "type": "object", - "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" - }, "expirationMonth": { "type": "string", "maxLength": 2, @@ -48054,474 +47800,94 @@ "maxLength": 4, "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" }, - "securityCode": { - "type": "string", - "maxLength": 4, - "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" - } - } - }, - "pointOfSaleInformation": { - "type": "object", - "required": [ - "emvTags" - ], - "properties": { - "emvTags": { - "type": "array", - "minItems": 1, - "maxItems": 50, - "items": { - "type": "object", - "required": [ - "tag", - "value", - "source" - ], - "properties": { - "tag": { - "type": "string", - "minLength": 1, - "maxLength": 10, - "pattern": "^[0-9A-Fa-f]{1,10}$", - "description": "EMV tag, 1-10 hex characters." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "EMV tag value, 1-64 characters." - }, - "source": { - "type": "string", - "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" - } - }, - "example": { - "tag": "5A", - "value": "4111111111111111", - "source": "CARD" - } - } - } - } - }, - "bankAccount": { - "type": "object", - "properties": { - "number": { - "type": "string", - "maxLength": 17, - "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" - }, - "routingNumber": { - "type": "string", - "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } - } - }, - "tokenizedCard": { - "title": "tmsv2TokenizedCard", - "type": "object", - "properties": { - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" - } - } - } - } - }, - "id": { - "type": "string", - "readOnly": true, - "description": "The Id of the Tokenized Card.\n" - }, - "object": { - "type": "string", - "readOnly": true, - "example": "tokenizedCard", - "description": "The type.\nPossible Values:\n- tokenizedCard\n" - }, - "accountReferenceId": { - "type": "string", - "description": "An identifier provided by the issuer for the account.\n" - }, - "consumerId": { - "type": "string", - "maxLength": 36, - "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." - }, - "createInstrumentIdentifier": { - "type": "boolean", - "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" - }, - "reason": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" - }, - "number": { - "type": "string", - "readOnly": true, - "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" - }, - "expirationMonth": { - "type": "string", - "readOnly": true, - "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "readOnly": true, - "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" - }, "type": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" }, - "cryptogram": { + "issueNumber": { "type": "string", - "readOnly": true, - "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" - }, - "securityCode": { - "type": "string", - "readOnly": true, - "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", - "example": "4523" - }, - "eci": { - "type": "string", - "readOnly": true, - "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" }, - "requestorId": { + "startMonth": { "type": "string", - "readOnly": true, - "maxLength": 11, - "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "enrollmentId": { + "startYear": { "type": "string", - "readOnly": true, - "description": "Unique id to identify this PAN/ enrollment.\n" + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "tokenReferenceId": { + "useAs": { "type": "string", - "readOnly": true, - "description": "Unique ID for netwrok token.\n" + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" }, - "paymentAccountReference": { + "hash": { "type": "string", + "minLength": 32, + "maxLength": 34, "readOnly": true, - "description": "Payment account reference.\n" + "description": "Hash value representing the card.\n" }, - "card": { + "tokenizedInformation": { "type": "object", - "description": "Card object used to create a network token\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" - }, - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { + "requestorID": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" }, - "suffix": { + "transactionType": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix.\n" - }, - "issueDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card issuance date. XML date format: YYYY-MM-DD.", - "example": "2030-12-15" - }, - "activationDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card activation date. XML date format: YYYY-MM-DD", - "example": "2030-12-20" - }, - "expirationPrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the expiration date is printed on the card.", - "example": true - }, - "securityCodePrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the Card Verification Number is printed on the card.", - "example": true - }, - "termsAndConditions": { - "type": "object", - "readOnly": true, - "properties": { - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer Card Terms and Conditions url." - } - } - } - } - }, - "passcode": { - "type": "object", - "description": "Passcode by issuer for ID&V.\n", - "properties": { - "value": { - "type": "string", - "description": "OTP generated at issuer.\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "description": "Metadata associated with the tokenized card.\n", - "properties": { - "cardArt": { - "title": "TmsCardArt", - "description": "Card art associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "foregroundColor": { - "description": "Card foreground color.\n", - "type": "string", - "readOnly": true - }, - "combinedAsset": { - "description": "Combined card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" - } - } - } - } - } - } - }, - "brandLogoAsset": { - "description": "Brand logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" - } - } - } - } - } - } - }, - "issuerLogoAsset": { - "description": "Issuer logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" - } - } - } - } - } - } - }, - "iconAsset": { - "description": "Icon card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" - } - } - } - } - } - } - } - } - }, - "issuer": { - "description": "Issuer associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "name": { - "description": "Issuer name.\n", - "type": "string", - "readOnly": true - }, - "shortDescription": { - "description": "Short description of the card.\n", - "type": "string", - "readOnly": true - }, - "longDescription": { - "description": "Long description of the card.\n", - "type": "string", - "readOnly": true - }, - "email": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service email address." - }, - "phoneNumber": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service phone number." - }, - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service url." - } - } + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" } } } } }, - "issuer": { + "buyerInformation": { "type": "object", - "readOnly": true, "properties": { - "paymentAccountReference": { + "companyTaxID": { "type": "string", - "readOnly": true, - "maxLength": 32, - "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" - } - } - }, - "processingInformation": { - "type": "object", - "properties": { - "authorizationOptions": { - "type": "object", - "title": "tmsAuthorizationOptions", - "properties": { - "initiator": { - "type": "object", - "properties": { - "merchantInitiatedTransaction": { - "type": "object", - "properties": { - "previousTransactionId": { - "type": "string", - "maxLength": 15, - "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" - }, - "originalAuthorizedAmount": { - "type": "string", - "maxLength": 15, - "description": "Amount of the original authorization.\n" - } + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 } } } @@ -48532,7 +47898,4760 @@ }, "billTo": { "type": "object", - "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "defaultShippingAddress": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + } + } + } + } + }, + "shippingAddress": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + }, + "paymentInstrument": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenize" + ], + "operationId": "tokenize", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/all/rest/tms-developer/intro.html", + "mleForRequest": "mandatory" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "200": { + "description": "Returns the responses from the orchestrated API requests.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally-unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resource": { + "type": "string", + "description": "TMS token type associated with the response.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "example": "customer" + }, + "httpStatus": { + "type": "integer", + "format": "int32", + "description": "Http status associated with the response.\n", + "example": 201 + }, + "id": { + "type": "string", + "description": "TMS token id associated with the response.\n", + "example": "351A67733325454AE0633F36CF0A9420" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n - forbidden\n - notFound\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n - notAvailable\n - serverError\n - notAttempted\n\nA \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing.\n", + "example": "notAttempted" + }, + "message": { + "type": "string", + "description": "The detailed message related to the type.", + "example": "Creation not attempted due to customer token creation failure" + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error.", + "example": "address1" + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error.", + "example": "billTo" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } + } + } + } + } + } + }, + "examples": { + "Invalid Customer request body": { + "errors": [ + { + "type": "invalidRequest", + "message": "Invalid HTTP Body" + } + ] + } + } + }, + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Profile not found" + } + ] + } + } + }, + "500": { + "description": "Unexpected error.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Create Complete Customer & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example1": { + "summary": "Create Customer Payment Instrument & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "id": "" + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example2": { + "summary": "Create Instrument Identifier & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example3": { + "summary": "Create Complete Customer using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "", + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + } + } + }, + "example4": { + "summary": "Create Instrument Identifier using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "" + } + } + } + } + } + }, + "/tms/v2/customers": { + "post": { + "summary": "Create a Customer", + "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "description": "The Id of a profile containing user specific TMS configuration.", + "required": false, + "type": "string", + "minLength": 36, + "maxLength": 36, + "x-hide-field": true + }, + { + "name": "postCustomerRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "shippingAddress": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Customer Token." + }, + "objectInformation": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "Name or title of the customer.\n", + "maxLength": 60 + }, + "comment": { + "type": "string", + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "merchantCustomerID": { + "type": "string", + "description": "Your identifier for the customer.\n", + "maxLength": 100 + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" + } + } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 + } + } + }, + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 + } + } + } + }, + "defaultPaymentInstrument": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" + } + } + }, + "defaultShippingAddress": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Shipping Address\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Customer.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Customer.\n", + "properties": { + "defaultPaymentInstrument": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { "address1": { "type": "string", @@ -48927,7 +53046,8 @@ "operationId": "postCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -49362,6 +53482,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -51120,6 +55241,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -52875,6 +56997,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -53880,7 +58003,8 @@ "operationId": "patchCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -54324,6 +58448,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -56255,7 +60380,8 @@ "operationId": "postCustomerShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -58030,7 +62156,8 @@ "operationId": "patchCustomersShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -59303,6 +63430,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -60187,7 +64315,8 @@ "operationId": "postCustomerPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -60491,6 +64620,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -62212,6 +66342,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -63748,6 +67879,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -65247,6 +69379,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -66131,7 +70264,8 @@ "operationId": "patchCustomersPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -66431,6 +70565,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -68473,6 +72608,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -69357,7 +73493,8 @@ "operationId": "postPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -69643,6 +73780,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -71221,6 +75359,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -72718,6 +76857,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -73602,7 +77742,8 @@ "operationId": "patchPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -73902,6 +78043,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -76389,7 +80531,8 @@ "operationId": "postInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -80528,7 +84671,8 @@ "operationId": "patchInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -82600,6 +86744,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -84666,7 +88811,8 @@ "operationId": "postInstrumentIdentifierEnrollment", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -85447,7 +89593,8 @@ "operationId": "postTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -87321,7 +91468,154 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Token not found" + } + ] + } + } + }, + "409": { + "description": "Conflict. The token is linked to a Payment Instrument.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "conflict", + "message": "Action cannot be performed as the PaymentInstrument is the customers default" + } + ] + } + } + }, + "410": { + "description": "Token Not Available. The token has been deleted.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" }, "message": { "type": "string", @@ -87337,15 +91631,15 @@ "application/json": { "errors": [ { - "type": "forbidden", - "message": "Request not permitted" + "type": "notAvailable", + "message": "Token not available." } ] } } }, - "404": { - "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87387,14 +91681,14 @@ "errors": [ { "type": "notFound", - "message": "Token not found" + "message": "Profile not found" } ] } } }, - "409": { - "description": "Conflict. The token is linked to a Payment Instrument.", + "500": { + "description": "Unexpected error.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87405,6 +91699,16 @@ "type": "string" } }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, "schema": { "type": "object", "readOnly": true, @@ -87419,12 +91723,180 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + } + } + }, + "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations": { + "post": { + "summary": "Simulate Issuer Life Cycle Management Events", + "description": "**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card.\nThe events that can be simulated are:\n- Token status changes (e.g. active, suspended, deleted)\n- Updates to the underlying card, including card art changes, expiration date changes, and card number suffix.\n**Note:** This is only available in CAS environment.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "required": true, + "type": "string", + "description": "The Id of a profile containing user specific TMS configuration.", + "minLength": 36, + "maxLength": 36 + }, + { + "name": "tokenizedCardId", + "in": "path", + "description": "The Id of a tokenized card.", + "required": true, + "type": "string", + "minLength": 12, + "maxLength": 32 + }, + { + "name": "postIssuerLifeCycleSimulationRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "description": "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card.\n", + "properties": { + "state": { + "type": "string", + "description": "The new state of the Tokenized Card.\nPossible Values:\n- ACTIVE\n- SUSPENDED\n- DELETED\n" + }, + "card": { + "type": "object", + "properties": { + "last4": { + "type": "string", + "maxLength": 4, + "description": "The new last 4 digits of the card number associated to the Tokenized Card.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "The new two-digit month of the card associated to the Tokenized Card.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "The new four-digit year of the card associated to the Tokenized Card.\nFormat: `YYYY`.\n" + } + } + }, + "metadata": { + "type": "object", + "properties": { + "cardArt": { + "type": "object", + "properties": { + "combinedAsset": { + "type": "object", + "properties": { + "update": { + "type": "string", + "description": "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card.\n" + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenized Card" + ], + "operationId": "postIssuerLifeCycleSimulation", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-simulate-issuer-life-cycle-event-intro.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "204": { + "description": "The request is fulfilled but does not need to return a body", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" }, "message": { "type": "string", "readOnly": true, "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } } } } @@ -87432,18 +91904,18 @@ } }, "examples": { - "application/json": { + "Invalid Customer request body": { "errors": [ { - "type": "conflict", - "message": "Action cannot be performed as the PaymentInstrument is the customers default" + "type": "invalidRequest", + "message": "Invalid HTTP Body" } ] } } }, - "410": { - "description": "Token Not Available. The token has been deleted.", + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87468,7 +91940,7 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" }, "message": { "type": "string", @@ -87484,15 +91956,15 @@ "application/json": { "errors": [ { - "type": "notAvailable", - "message": "Token not available." + "type": "forbidden", + "message": "Request not permitted" } ] } } }, - "424": { - "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87534,7 +92006,7 @@ "errors": [ { "type": "notFound", - "message": "Profile not found" + "message": "Token not found" } ] } @@ -87589,6 +92061,36 @@ } } } + }, + "x-example": { + "example0": { + "summary": "Simulate Network Token Status Update", + "value": { + "state": "SUSPENDED" + } + }, + "example1": { + "summary": "Simulate Network Token Card Metadata Update", + "value": { + "card": { + "last4": "9876", + "expirationMonth": "11", + "expirationYear": "2040" + } + } + }, + "example2": { + "summary": "Simulate Network Token Card Art Update", + "value": { + "metadata": { + "cardArt": { + "combinedAsset": { + "update": "true" + } + } + } + } + } } } }, @@ -87853,7 +92355,8 @@ "operationId": "postTokenPaymentCredentials", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -101675,43 +106178,6 @@ "schema": { "type": "object", "properties": { - "clientReferenceInformation": { - "type": "object", - "properties": { - "comments": { - "type": "string", - "maxLength": 255, - "description": "Brief description of the order or any comment you wish to add to the order.\n" - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n" - }, - "solutionId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n" - } - } - }, - "applicationName": { - "type": "string", - "description": "The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n" - }, - "applicationVersion": { - "type": "string", - "description": "Version of the CyberSource application or integration used for a transaction.\n" - }, - "applicationUser": { - "type": "string", - "description": "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n" - } - } - }, "planInformation": { "type": "object", "required": [ @@ -103422,41 +107888,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -103607,6 +108041,9 @@ "customer": { "id": "C24F5921EB870D99E053AF598E0A4105" } + }, + "clientReferenceInformation": { + "code": "TC501713" } } } @@ -103715,6 +108152,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -103820,6 +108267,9 @@ "summary": "Create Subscription", "sample-name": "Create Subscription", "value": { + "clientReferenceInformation": { + "code": "TC501713" + }, "subscriptionInformation": { "planId": "6868912495476705603955", "name": "Subscription with PlanId", @@ -103838,13 +108288,7 @@ "sample-name": "(deprecated) Create Subscription with Authorization", "value": { "clientReferenceInformation": { - "code": "TC501713", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "TC501713" }, "processingInformation": { "commerceIndicator": "recurring", @@ -104116,6 +108560,16 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "paymentInformation": { "type": "object", "properties": { @@ -104475,18 +108929,28 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "reactivationInformation": { "type": "object", "properties": { - "skippedPaymentsCount": { + "missedPaymentsCount": { "type": "string", "maxLength": 10, "description": "Number of payments that should have occurred while the subscription was in a suspended status.\n" }, - "skippedPaymentsTotalAmount": { + "missedPaymentsTotalAmount": { "type": "string", "maxLength": 19, - "description": "Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`.\n" + "description": "Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`.\n" } } } @@ -104616,41 +109080,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -105109,7 +109541,7 @@ "/rbs/v1/subscriptions/{id}/suspend": { "post": { "summary": "Suspend a Subscription", - "description": "Suspend a Subscription", + "description": "Suspend a Subscription\n", "tags": [ "Subscriptions" ], @@ -105277,8 +109709,8 @@ }, "/rbs/v1/subscriptions/{id}/activate": { "post": { - "summary": "Activate a Subscription", - "description": "Activate a `SUSPENDED` Subscription\n", + "summary": "Reactivating a Suspended Subscription", + "description": "# Reactivating a Suspended Subscription\n\nYou can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription.\n\nYou can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. \nIf no value is specified, the system will default to `true`.\n\n**Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html).\n\nYou can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).\n", "tags": [ "Subscriptions" ], @@ -105306,10 +109738,10 @@ "description": "Subscription Id" }, { - "name": "processSkippedPayments", + "name": "processMissedPayments", "in": "query", "type": "boolean", - "description": "Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true.", + "description": "Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true.\nWhen any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored.\n", "required": false, "default": true } @@ -106073,41 +110505,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -106230,13 +110630,7 @@ }, "example": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -106358,6 +110752,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -106464,13 +110868,7 @@ "sample-name": "Create Follow-On Subscription", "value": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -134847,6 +139245,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -136622,26 +141038,159 @@ "type": "string" } } - } - } - }, - "recurringBilling": { - "type": "object", - "properties": { - "subscriptionStatus": { + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -136665,28 +141214,26 @@ "type": "string" } } - }, - "configurationStatus": { + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionStatus": { "type": "object", "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" }, "reason": { "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" }, "details": { "type": "array", @@ -136713,7 +141260,7 @@ } } }, - "cybsReadyTerminal": { + "payouts": { "type": "object", "properties": { "subscriptionStatus": { @@ -136801,7 +141348,7 @@ } } }, - "paymentOrchestration": { + "payByLink": { "type": "object", "properties": { "subscriptionStatus": { @@ -136844,7 +141391,7 @@ } } }, - "payouts": { + "unifiedCheckout": { "type": "object", "properties": { "subscriptionStatus": { @@ -136884,55 +141431,10 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } }, - "payByLink": { + "receivablesManager": { "type": "object", "properties": { "subscriptionStatus": { @@ -136975,7 +141477,7 @@ } } }, - "unifiedCheckout": { + "serviceFee": { "type": "object", "properties": { "subscriptionStatus": { @@ -137015,26 +141517,28 @@ "type": "string" } } - } - } - }, - "receivablesManager": { - "type": "object", - "properties": { - "subscriptionStatus": { + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -137061,7 +141565,7 @@ } } }, - "serviceFee": { + "batchUpload": { "type": "object", "properties": { "subscriptionStatus": { @@ -137101,51 +141605,6 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } } @@ -145273,6 +149732,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -147440,6 +151917,49 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 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\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } } } }, @@ -151507,7 +156027,7 @@ "properties": { "clientVersion": { "type": "string", - "example": "0.25", + "example": "0.32", "maxLength": 60, "description": "Specify the version of Unified Checkout that you want to use." }, @@ -151536,7 +156056,7 @@ "items": { "type": "string" }, - "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" + "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)

\n\n Unified Checkout supports the following Post-Pay Reference payment methods:\n - Konbini (JP)

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

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" }, "country": { "type": "string", @@ -151549,6 +156069,11 @@ "example": "en_US", "description": "Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code.\n\nPlease refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html)\n" }, + "buttonType": { + "type": "string", + "example": null, + "description": "Changes the label on the payment button within Unified Checkout .

\n\nPossible values:\n- ADD_CARD\n- CARD_PAYMENT\n- CHECKOUT\n- CHECKOUT_AND_CONTINUE\n- DEBIT_CREDIT\n- DONATE\n- PAY\n- PAY_WITH_CARD\n- SAVE_CARD\n- SUBSCRIBE_WITH_CARD

\n\nThis is an optional field,\n" + }, "captureMandate": { "type": "object", "properties": { @@ -151705,6 +156230,23 @@ "type": "string", "example": 10, "description": "This field defines the tax amount applicable to the order.\n" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxId": { + "type": "string", + "example": 1234, + "maxLength": 20, + "description": "This field defines the tax identifier/registration number\n" + }, + "type": { + "type": "string", + "example": "N", + "maxLength": 1, + "description": "This field defines the Tax type code (N=National, S=State, L=Local etc)\n" + } + } } } }, @@ -151971,188 +156513,225 @@ "productCode": { "type": "string", "maxLength": 255, - "example": "electronics" + "example": "electronics", + "description": "Code identifying the product." }, "productName": { "type": "string", "maxLength": 255, - "example": "smartphone" + "example": "smartphone", + "description": "Name of the product." }, "productSku": { "type": "string", "maxLength": 255, - "example": "SKU12345" + "example": "SKU12345", + "description": "Stock Keeping Unit identifier" }, "quantity": { "type": "integer", "minimum": 1, "maximum": 999999999, "default": 1, - "example": 2 + "example": 2, + "description": "Quantity of the product" }, "unitPrice": { "type": "string", "maxLength": 15, - "example": "399.99" + "example": "399.99", + "description": "Price per unit" }, "unitOfMeasure": { "type": "string", "maxLength": 12, - "example": "EA" + "example": "EA", + "description": "Unit of measure (e.g. EA, KG, LB)" }, "totalAmount": { "type": "string", "maxLength": 13, - "example": "799.98" + "example": "799.98", + "description": "Total amount for the line item" }, "taxAmount": { "type": "string", "maxLength": 15, - "example": "64.00" + "example": "64.00", + "description": "Tax amount applied" }, "taxRate": { "type": "string", "maxLength": 7, - "example": "0.88" + "example": "0.88", + "description": "Tax rate applied" }, "taxAppliedAfterDiscount": { "type": "string", "maxLength": 1, - "example": "Y" + "example": "Y", + "description": "Indicates if tax applied after discount" }, "taxStatusIndicator": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Tax status indicator" }, "taxTypeCode": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax type code" }, "amountIncludesTax": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if amount includes tax" }, "typeOfSupply": { "type": "string", "maxLength": 2, - "example": "GS" + "example": "GS", + "description": "Type of supply" }, "commodityCode": { "type": "string", "maxLength": 15, - "example": "123456" + "example": "123456", + "description": "Commodity code" }, "discountAmount": { "type": "string", "maxLength": 13, - "example": "10.00" + "example": "10.00", + "description": "Discount amount applied" }, "discountApplied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if discount applied" }, "discountRate": { "type": "string", "maxLength": 6, - "example": "0.05" + "example": "0.05", + "description": "Discount rate applied" }, "invoiceNumber": { "type": "string", "maxLength": 23, - "example": "INV-001" + "example": "INV-001", + "description": "Invoice number for the line item" }, "taxDetails": { "type": "object", "properties": { "type": { "type": "string", - "example": "VAT" + "example": "VAT", + "description": "Type of tax" }, "amount": { "type": "string", "maxLength": 13, - "example": 5.99 + "example": 5.99, + "description": "Tax amount" }, "rate": { "type": "string", "maxLength": 6, - "example": 20 + "example": 20, + "description": "Tax rate" }, "code": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax code" }, "taxId": { "type": "string", "maxLength": 15, - "example": "TAXID12345" + "example": "TAXID12345", + "description": "Tax Identifier" }, "applied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if tax applied" }, "exemptionCode": { "type": "string", "maxLength": 1, - "example": "E" + "example": "E", + "description": "Tax exemption code" } } }, "fulfillmentType": { "type": "string", - "example": "Delivery" + "example": "Delivery", + "description": "Fulfillment type" }, "weight": { "type": "string", "maxLength": 9, - "example": "1.5" + "example": "1.5", + "description": "Weight of the product" }, "weightIdentifier": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Weight identifier" }, "weightUnit": { "type": "string", "maxLength": 2, - "example": "KG" + "example": "KG", + "description": "Unit of weight of the product" }, "referenceDataCode": { "type": "string", "maxLength": 150, - "example": "REFCODE" + "example": "REFCODE", + "description": "Reference data code" }, "referenceDataNumber": { "type": "string", "maxLength": 30, - "example": "REF123" + "example": "REF123", + "description": "Reference data number" }, "unitTaxAmount": { "type": "string", "maxLength": 15, - "example": "3.20" + "example": "3.20", + "description": "Unit tax amount" }, "productDescription": { "type": "string", "maxLength": 30, - "example": "Latest model smartphone" + "example": "Latest model smartphone", + "description": "Description of the product" }, "giftCardCurrency": { "type": "string", "maxLength": 3, - "example": "USD" + "example": "USD", + "description": "Gift card currency" }, "shippingDestinationTypes": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Shipping destination types" }, "gift": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if item is a gift" }, "passenger": { "type": "object", @@ -152160,46 +156739,71 @@ "type": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Passenger type" }, "status": { "type": "string", "maxLength": 32, - "example": "Gold" + "example": "Gold", + "description": "Passenger status" }, "phone": { "type": "string", "maxLength": 15, - "example": "123456789" + "example": "123456789", + "description": "Passenger phone number" }, "firstName": { "type": "string", "maxLength": 60, - "example": "John" + "example": "John", + "description": "Passenger first name" }, "lastName": { "type": "string", "maxLength": 60, - "example": "Doe" + "example": "Doe", + "description": "Passenger last name" }, "id": { "type": "string", "maxLength": 40, - "example": "AIR1234567" + "example": "AIR1234567", + "description": "Passenger ID" }, "email": { "type": "string", "maxLength": 50, - "example": "john.doe@example.com" + "example": "john.doe@example.com", + "description": "Passenger email" }, "nationality": { "type": "string", "maxLength": 2, - "example": "US" + "example": "US", + "description": "Passenger nationality" } } } } + }, + "invoiceDetails": { + "type": "object", + "properties": { + "invoiceNumber": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Invoice number" + }, + "productDescription": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Product description" + } + } } } }, @@ -152211,21 +156815,35 @@ "properties": { "cpf": { "type": "string", - "minLength": 11, "maxLength": 11, - "example": "12345678900" + "example": "12345678900", + "description": "CPF Number (Brazil). Must be 11 digits in length.\n" } } }, "merchantCustomerId": { "type": "string", "maxLength": 100, - "example": "M123456767" + "example": "M123456767", + "description": "The Merchant Customer ID\n" }, "companyTaxId": { "type": "string", "maxLength": 9, - "example": "" + "example": "", + "description": "The Company Tax ID\n" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 10, + "example": "12/03/1976", + "description": "The date of birth\n" + }, + "language": { + "type": "string", + "maxLength": 10, + "example": "English", + "description": "The preferred language\n" } } }, @@ -152245,7 +156863,7 @@ "maxLength": 8, "example": "DEV12345" }, - "SolutionId": { + "solutionId": { "type": "string", "maxLength": 8, "example": "SOL1234" @@ -152260,12 +156878,20 @@ "challengeCode": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The challenge code\n" }, "messageCategory": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The message category\n" + }, + "acsWindowSize": { + "type": "string", + "maxLength": 2, + "example": "01", + "description": "The acs window size\n" } } }, @@ -152277,9 +156903,51 @@ "properties": { "name": { "type": "string", - "maxLength": 22, + "maxLength": 25, "example": "Euro Electronics", "description": "The name of the merchant" + }, + "alternateName": { + "type": "string", + "maxLength": 25, + "example": "Smyth Holdings PLC", + "description": "The alternate name of the merchant" + }, + "locality": { + "type": "string", + "maxLength": 50, + "example": "New York", + "description": "The locality of the merchant" + }, + "phone": { + "type": "string", + "maxLength": 15, + "example": "555-555-123", + "description": "The phone number of the merchant" + }, + "country": { + "type": "string", + "maxLength": 2, + "example": "US", + "description": "The country code of the merchant" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the merchant" + }, + "administrativeArea": { + "type": "string", + "maxLength": 2, + "example": "NY", + "description": "The administrative area of the merchant" + }, + "address1": { + "type": "string", + "maxLength": 60, + "example": "123 47th Street", + "description": "The first line of the merchant's address" } } } @@ -152291,28 +156959,46 @@ "reconciliationId": { "type": "string", "maxLength": 60, - "example": "01234567" + "example": "01234567", + "description": "The reconciliation ID" }, "authorizationOptions": { "type": "object", "properties": { "aftIndicator": { "type": "boolean", - "example": true + "example": true, + "description": "The AFT indicator" + }, + "authIndicator": { + "type": "string", + "example": 1, + "description": "The authorization indicator" + }, + "ignoreCvResult": { + "type": "boolean", + "example": true, + "description": "Ignore the CV result" + }, + "ignoreAvsResult": { + "type": "boolean", + "example": true, + "description": "Ignore the AVS result" }, "initiator": { "type": "object", "properties": { "credentialStoredOnFile": { "type": "boolean", - "example": true + "example": true, + "description": "Store the credential on file" }, "merchantInitiatedTransaction": { "type": "object", "properties": { "reason": { "type": "string", - "maxLength": 1, + "maxLength": 2, "example": 1 } } @@ -152322,7 +157008,20 @@ "businessApplicationId": { "type": "string", "maxLength": 2, - "example": "AA" + "example": "AA", + "description": "The business application Id" + }, + "commerceIndicator": { + "type": "string", + "maxLength": 20, + "example": "INDICATOR", + "description": "The commerce indicator" + }, + "processingInstruction": { + "type": "string", + "maxLength": 50, + "example": "ORDER_SAVED_EXPLICITLY", + "description": "The processing instruction" } } } @@ -152361,14 +157060,26 @@ "administrativeArea": { "type": "string", "maxLength": 2, - "example": "Devon", + "example": "GB", "description": "The administrative area of the recipient" }, "accountType": { "type": "string", "maxLength": 2, - "example": "Checking", + "example": "01", "description": "The account type of the recipient" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 8, + "example": "05111999", + "description": "The date of birth of the recipient" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the recipient" } } }, @@ -152377,20 +157088,50 @@ "properties": { "key": { "type": "string", - "maxLength": 50, + "maxLength": 10, + "example": "1", "description": "The key or identifier for the merchant-defined data field" }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 100, + "example": "123456", "description": "The value associated with the merchant-defined data field" } } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "maxLength": 45, + "example": "192.168.1.1", + "description": "The IP Address" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "typeSelectionIndicator": { + "type": "string", + "maxLength": 1, + "example": "0", + "description": "The card type selection indicator" + } + } + } + } } } }, "orderInformation": { "type": "object", + "description": "If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object.", "properties": { "amountDetails": { "type": "object", @@ -152674,7 +157415,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152709,10 +157450,12 @@ "decisionManager": true, "consumerAuthentication": true }, - "orderInformation": { - "amountDetails": { - "totalAmount": "21.00", - "currency": "USD" + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + } } } } @@ -152720,7 +157463,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152784,7 +157527,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152840,7 +157583,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152890,7 +157633,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152941,7 +157684,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153036,7 +157779,7 @@ "example6": { "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153074,7 +157817,7 @@ "example7": { "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153145,7 +157888,7 @@ "example8": { "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153216,7 +157959,7 @@ "example9": { "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153289,7 +158032,7 @@ "example10": { "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153360,7 +158103,7 @@ "example11": { "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153429,9 +158172,153 @@ "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" }, "example12": { + "summary": "Generate Unified Checkout Capture Context (Bancontact (BE))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "BANCONTACT" + ], + "country": "BE", + "locale": "fr_BE", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "BE", + "NL", + "FR" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "jean.dupont@example.com", + "firstName": "Jean", + "lastName": "Dupont", + "address1": "Avenue Louise 123", + "administrativeArea": "Brussels", + "buildingNumber": 123, + "country": "BE", + "locality": "Brussels", + "postalCode": "1050" + }, + "shipTo": { + "firstName": "Marie", + "lastName": "Dupont", + "address1": "Rue de la Loi 200", + "administrativeArea": "Brussels", + "buildingNumber": 200, + "country": "BE", + "locality": "Brussels", + "postalCode": "1040" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (DragonPay (PH))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "DRAGONPAY" + ], + "country": "PH", + "locale": "en-PH", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PH", + "SG", + "MY" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "121.00", + "currency": "PHP" + }, + "billTo": { + "email": "juan.dela.cruz@example.com", + "firstName": "Juan", + "lastName": "Dela Cruz", + "address1": "123 Ayala Avenue", + "administrativeArea": "NCR", + "buildingNumber": 123, + "country": "PH", + "locality": "Makati City", + "postalCode": "1226" + }, + "shipTo": { + "firstName": "Maria", + "lastName": "Dela Cruz", + "address1": "45 Ortigas Center", + "administrativeArea": "NCR", + "buildingNumber": 45, + "country": "PH", + "locality": "Pasig City", + "postalCode": "1605" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153499,10 +158386,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example13": { + "example15": { "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153571,10 +158458,83 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example14": { + "example16": { + "summary": "Generate Unified Checkout Capture Context (MyBank (IT))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MYBBT" + ], + "country": "IT", + "locale": "it-IT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "IT", + "ES", + "BE", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "mario.rossi@example.com", + "firstName": "Mario", + "lastName": "Rossi", + "address1": "Via Dante Alighieri 15", + "administrativeArea": "MI", + "buildingNumber": 15, + "country": "IT", + "locality": "Milano", + "postalCode": "20121" + }, + "shipTo": { + "firstName": "Lucia", + "lastName": "Rossi", + "address1": "Corso Vittorio Emanuele II 8", + "administrativeArea": "RM", + "buildingNumber": 8, + "country": "IT", + "locality": "Roma", + "postalCode": "00186" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example17": { "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153643,10 +158603,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example15": { + "example18": { "summary": "Generate Unified Checkout Capture Context (Tink Pay By Bank (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153712,6 +158672,78 @@ } }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example19": { + "summary": "Generate Unified Checkout Capture Context (Konbini (JP))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "KONBINI" + ], + "country": "JP", + "locale": "ja-JP", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "JP", + "US" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "JPY" + }, + "billTo": { + "email": "taro.suzuki@example.jp", + "firstName": "Taro", + "lastName": "Suzuki", + "address1": "1-9-1 Marunouchi", + "administrativeArea": "Tokyo", + "buildingNumber": 1, + "country": "JP", + "locality": "Chiyoda-ku", + "postalCode": "100-0005", + "phoneNumber": "0312345678" + }, + "shipTo": { + "firstName": "Hanako", + "lastName": "Suzuki", + "address1": "3-1-1 Umeda", + "administrativeArea": "Osaka", + "buildingNumber": 3, + "country": "JP", + "locality": "Kita-ku", + "postalCode": "530-0001" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Post-Pay Reference)" } }, "responses": { @@ -155215,7 +160247,7 @@ "authorizationType": [ "Json Web Token" ], - "overrideMerchantCredential": "echecktestdevcenter001", + "overrideMerchantCredential": "apiref_chase", "SDK_ONLY_AddDisclaimer": true }, "consumes": [ diff --git a/pom.xml b/pom.xml index 101528b5d..744eede02 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ cybersource-rest-client-java jar cybersource-rest-client-java - 0.0.84-SNAPSHOT + 0.0.84 http://developer.cybersource.com Cybersource Rest Client SDK @@ -304,7 +304,7 @@ com.cybersource AuthenticationSdk - 0.0.39 + 0.0.40 diff --git a/src/main/java/Api/BankAccountValidationApi.java b/src/main/java/Api/BankAccountValidationApi.java index 21ba719f8..3fa01e890 100644 --- a/src/main/java/Api/BankAccountValidationApi.java +++ b/src/main/java/Api/BankAccountValidationApi.java @@ -30,7 +30,7 @@ import Model.AccountValidationsRequest; -import Model.InlineResponse20013; +import Model.InlineResponse20014; import Model.InlineResponse4009; import Model.InlineResponse4033; import Model.InlineResponse4045; @@ -155,13 +155,13 @@ private okhttp3.Call bankAccountValidationRequestValidateBeforeCall(AccountValid * The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. *

DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.

* @param accountValidationsRequest (required) - * @return InlineResponse20013 + * @return InlineResponse20014 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20013 bankAccountValidationRequest(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException { + public InlineResponse20014 bankAccountValidationRequest(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'bankAccountValidationRequest' STARTED"); - ApiResponse resp = bankAccountValidationRequestWithHttpInfo(accountValidationsRequest); + ApiResponse resp = bankAccountValidationRequestWithHttpInfo(accountValidationsRequest); logger.info("CALL TO METHOD 'bankAccountValidationRequest' ENDED"); return resp.getData(); } @@ -170,14 +170,14 @@ public InlineResponse20013 bankAccountValidationRequest(AccountValidationsReques * Visa Bank Account Validation Service * The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. * @param accountValidationsRequest (required) - * @return ApiResponse<InlineResponse20013> + * @return ApiResponse<InlineResponse20014> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse bankAccountValidationRequestWithHttpInfo(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException { + public ApiResponse bankAccountValidationRequestWithHttpInfo(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = bankAccountValidationRequestValidateBeforeCall(accountValidationsRequest, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -190,7 +190,7 @@ public ApiResponse bankAccountValidationRequestWithHttpInfo * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call bankAccountValidationRequestAsync(AccountValidationsRequest accountValidationsRequest, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call bankAccountValidationRequestAsync(AccountValidationsRequest accountValidationsRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -213,7 +213,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = bankAccountValidationRequestValidateBeforeCall(accountValidationsRequest, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/BatchesApi.java b/src/main/java/Api/BatchesApi.java index f27a2717b..3ad1f69cd 100644 --- a/src/main/java/Api/BatchesApi.java +++ b/src/main/java/Api/BatchesApi.java @@ -30,9 +30,9 @@ import Model.Body; -import Model.InlineResponse20010; import Model.InlineResponse20011; import Model.InlineResponse20012; +import Model.InlineResponse20013; import Model.InlineResponse202; import Model.InlineResponse4011; @@ -157,13 +157,13 @@ private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final Prog * Retrieve a Batch Report * **Get Batch Report**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type. * @param batchId Unique identification number assigned to the submitted request. (required) - * @return InlineResponse20012 + * @return InlineResponse20013 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20012 getBatchReport(String batchId) throws ApiException, ConfigException { + public InlineResponse20013 getBatchReport(String batchId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getBatchReport' STARTED"); - ApiResponse resp = getBatchReportWithHttpInfo(batchId); + ApiResponse resp = getBatchReportWithHttpInfo(batchId); logger.info("CALL TO METHOD 'getBatchReport' ENDED"); return resp.getData(); } @@ -172,14 +172,14 @@ public InlineResponse20012 getBatchReport(String batchId) throws ApiException, C * Retrieve a Batch Report * **Get Batch Report**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type. * @param batchId Unique identification number assigned to the submitted request. (required) - * @return ApiResponse<InlineResponse20012> + * @return ApiResponse<InlineResponse20013> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException, ConfigException { + public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -192,7 +192,7 @@ public ApiResponse getBatchReportWithHttpInfo(String batchI * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchReportAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call getBatchReportAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -215,7 +215,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -307,13 +307,13 @@ private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final Prog * Retrieve a Batch Status * **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) * @param batchId Unique identification number assigned to the submitted request. (required) - * @return InlineResponse20011 + * @return InlineResponse20012 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20011 getBatchStatus(String batchId) throws ApiException, ConfigException { + public InlineResponse20012 getBatchStatus(String batchId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getBatchStatus' STARTED"); - ApiResponse resp = getBatchStatusWithHttpInfo(batchId); + ApiResponse resp = getBatchStatusWithHttpInfo(batchId); logger.info("CALL TO METHOD 'getBatchStatus' ENDED"); return resp.getData(); } @@ -322,14 +322,14 @@ public InlineResponse20011 getBatchStatus(String batchId) throws ApiException, C * Retrieve a Batch Status * **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) * @param batchId Unique identification number assigned to the submitted request. (required) - * @return ApiResponse<InlineResponse20011> + * @return ApiResponse<InlineResponse20012> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException, ConfigException { + public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -342,7 +342,7 @@ public ApiResponse getBatchStatusWithHttpInfo(String batchI * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchStatusAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call getBatchStatusAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -365,7 +365,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -464,13 +464,13 @@ private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, S * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) * @param fromDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) * @param toDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) - * @return InlineResponse20010 + * @return InlineResponse20011 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20010 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException { + public InlineResponse20011 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getBatchesList' STARTED"); - ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate); + ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate); logger.info("CALL TO METHOD 'getBatchesList' ENDED"); return resp.getData(); } @@ -482,14 +482,14 @@ public InlineResponse20010 getBatchesList(Long offset, Long limit, String fromDa * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) * @param fromDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) * @param toDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) - * @return ApiResponse<InlineResponse20010> + * @return ApiResponse<InlineResponse20011> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException { + public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -505,7 +505,7 @@ public ApiResponse getBatchesListWithHttpInfo(Long offset, * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchesListAsync(Long offset, Long limit, String fromDate, String toDate, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call getBatchesListAsync(Long offset, Long limit, String fromDate, String toDate, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -528,7 +528,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/CreateNewWebhooksApi.java b/src/main/java/Api/CreateNewWebhooksApi.java index 3801db4a6..27496db35 100644 --- a/src/main/java/Api/CreateNewWebhooksApi.java +++ b/src/main/java/Api/CreateNewWebhooksApi.java @@ -30,7 +30,7 @@ import Model.CreateWebhook; -import Model.InlineResponse2004; +import Model.InlineResponse2005; import Model.InlineResponse2014; import Model.InlineResponse2015; import Model.SaveSymEgressKey; @@ -156,13 +156,13 @@ private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizati * Find Products You Can Subscribe To * Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. * @param organizationId The Organization Identifier. (required) - * @return List<InlineResponse2004> + * @return List<InlineResponse2005> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List findProductsToSubscribe(String organizationId) throws ApiException, ConfigException { + public List findProductsToSubscribe(String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'findProductsToSubscribe' STARTED"); - ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId); + ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId); logger.info("CALL TO METHOD 'findProductsToSubscribe' ENDED"); return resp.getData(); } @@ -171,14 +171,14 @@ public List findProductsToSubscribe(String organizationId) t * Find Products You Can Subscribe To * Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. * @param organizationId The Organization Identifier. (required) - * @return ApiResponse<List<InlineResponse2004>> + * @return ApiResponse<List<InlineResponse2005>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException, ConfigException { + public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -191,7 +191,7 @@ public ApiResponse> findProductsToSubscribeWithHttpInfo * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call findProductsToSubscribeAsync(String organizationId, final ApiCallback> callback) throws ApiException, ConfigException { + public okhttp3.Call findProductsToSubscribeAsync(String organizationId, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -214,7 +214,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/CustomerApi.java b/src/main/java/Api/CustomerApi.java index a89767744..45547b7ae 100644 --- a/src/main/java/Api/CustomerApi.java +++ b/src/main/java/Api/CustomerApi.java @@ -396,7 +396,7 @@ public okhttp3.Call patchCustomerCall(String customerId, PatchCustomerRequest pa SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerRequest, PatchCustomerRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchCustomer,patchCustomerAsync,patchCustomerWithHttpInfo,patchCustomerCall")) { try { @@ -563,7 +563,7 @@ public okhttp3.Call postCustomerCall(PostCustomerRequest postCustomerRequest, St SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerRequest, PostCustomerRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postCustomer,postCustomerAsync,postCustomerWithHttpInfo,postCustomerCall")) { try { diff --git a/src/main/java/Api/CustomerPaymentInstrumentApi.java b/src/main/java/Api/CustomerPaymentInstrumentApi.java index f866e2b41..c54ee8e81 100644 --- a/src/main/java/Api/CustomerPaymentInstrumentApi.java +++ b/src/main/java/Api/CustomerPaymentInstrumentApi.java @@ -588,7 +588,7 @@ public okhttp3.Call patchCustomersPaymentInstrumentCall(String customerId, Strin SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, PatchCustomerPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchCustomersPaymentInstrument,patchCustomersPaymentInstrumentAsync,patchCustomersPaymentInstrumentWithHttpInfo,patchCustomersPaymentInstrumentCall")) { try { @@ -766,7 +766,7 @@ public okhttp3.Call postCustomerPaymentInstrumentCall(String customerId, PostCus SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, PostCustomerPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postCustomerPaymentInstrument,postCustomerPaymentInstrumentAsync,postCustomerPaymentInstrumentWithHttpInfo,postCustomerPaymentInstrumentCall")) { try { diff --git a/src/main/java/Api/CustomerShippingAddressApi.java b/src/main/java/Api/CustomerShippingAddressApi.java index dfbf1467c..a076a7e47 100644 --- a/src/main/java/Api/CustomerShippingAddressApi.java +++ b/src/main/java/Api/CustomerShippingAddressApi.java @@ -588,7 +588,7 @@ public okhttp3.Call patchCustomersShippingAddressCall(String customerId, String SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerShippingAddressRequest, PatchCustomerShippingAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchCustomersShippingAddress,patchCustomersShippingAddressAsync,patchCustomersShippingAddressWithHttpInfo,patchCustomersShippingAddressCall")) { try { @@ -766,7 +766,7 @@ public okhttp3.Call postCustomerShippingAddressCall(String customerId, PostCusto SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerShippingAddressRequest, PostCustomerShippingAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postCustomerShippingAddress,postCustomerShippingAddressAsync,postCustomerShippingAddressWithHttpInfo,postCustomerShippingAddressCall")) { try { diff --git a/src/main/java/Api/DecisionManagerApi.java b/src/main/java/Api/DecisionManagerApi.java index 840a704e1..033afc6d9 100644 --- a/src/main/java/Api/DecisionManagerApi.java +++ b/src/main/java/Api/DecisionManagerApi.java @@ -34,7 +34,7 @@ import Model.CaseManagementCommentsRequest; import Model.CreateBundledDecisionManagerCaseRequest; import Model.FraudMarkingActionRequest; -import Model.InlineResponse2001; +import Model.InlineResponse2002; import Model.InlineResponse2011; import Model.InlineResponse4002; import Model.InlineResponse4031; @@ -174,13 +174,13 @@ private okhttp3.Call actionDecisionManagerCaseValidateBeforeCall(String id, Case * Take action on a DM post-transactional case * @param id An unique identification number generated by Cybersource to identify the submitted request. (required) * @param caseManagementActionsRequest (required) - * @return InlineResponse2001 + * @return InlineResponse2002 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException { + public InlineResponse2002 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'actionDecisionManagerCase' STARTED"); - ApiResponse resp = actionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest); + ApiResponse resp = actionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest); logger.info("CALL TO METHOD 'actionDecisionManagerCase' ENDED"); return resp.getData(); } @@ -190,14 +190,14 @@ public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementAct * Take action on a DM post-transactional case * @param id An unique identification number generated by Cybersource to identify the submitted request. (required) * @param caseManagementActionsRequest (required) - * @return ApiResponse<InlineResponse2001> + * @return ApiResponse<InlineResponse2002> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException { + public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = actionDecisionManagerCaseValidateBeforeCall(id, caseManagementActionsRequest, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -211,7 +211,7 @@ public ApiResponse actionDecisionManagerCaseWithHttpInfo(Str * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call actionDecisionManagerCaseAsync(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call actionDecisionManagerCaseAsync(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -234,7 +234,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = actionDecisionManagerCaseValidateBeforeCall(id, caseManagementActionsRequest, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/DeviceDeAssociationApi.java b/src/main/java/Api/DeviceDeAssociationApi.java index 2d59038f7..b397b9e20 100644 --- a/src/main/java/Api/DeviceDeAssociationApi.java +++ b/src/main/java/Api/DeviceDeAssociationApi.java @@ -31,7 +31,7 @@ import Model.DeAssociationRequestBody; import Model.DeviceDeAssociateV3Request; -import Model.InlineResponse2008; +import Model.InlineResponse2009; import Model.InlineResponse206; import Model.InlineResponse4008; import Model.InlineResponse401; @@ -298,13 +298,13 @@ private okhttp3.Call postDeAssociateV3TerminalValidateBeforeCall(List postDeAssociateV3Terminal(List deviceDeAssociateV3Request) throws ApiException, ConfigException { + public List postDeAssociateV3Terminal(List deviceDeAssociateV3Request) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postDeAssociateV3Terminal' STARTED"); - ApiResponse> resp = postDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request); + ApiResponse> resp = postDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request); logger.info("CALL TO METHOD 'postDeAssociateV3Terminal' ENDED"); return resp.getData(); } @@ -313,14 +313,14 @@ public List postDeAssociateV3Terminal(List> postDeAssociateV3TerminalWithHttpInfo(List deviceDeAssociateV3Request) throws ApiException, ConfigException { + public ApiResponse> postDeAssociateV3TerminalWithHttpInfo(List deviceDeAssociateV3Request) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postDeAssociateV3TerminalValidateBeforeCall(deviceDeAssociateV3Request, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -333,7 +333,7 @@ public ApiResponse> postDeAssociateV3TerminalWithHttpIn * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postDeAssociateV3TerminalAsync(List deviceDeAssociateV3Request, final ApiCallback> callback) throws ApiException, ConfigException { + public okhttp3.Call postDeAssociateV3TerminalAsync(List deviceDeAssociateV3Request, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -356,7 +356,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = postDeAssociateV3TerminalValidateBeforeCall(deviceDeAssociateV3Request, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/DeviceSearchApi.java b/src/main/java/Api/DeviceSearchApi.java index 8592249bd..7a71a0737 100644 --- a/src/main/java/Api/DeviceSearchApi.java +++ b/src/main/java/Api/DeviceSearchApi.java @@ -29,8 +29,8 @@ import java.io.InputStream; -import Model.InlineResponse2007; -import Model.InlineResponse2009; +import Model.InlineResponse20010; +import Model.InlineResponse2008; import Model.InlineResponse4008; import Model.InlineResponse401; import Model.InlineResponse4032; @@ -156,13 +156,13 @@ private okhttp3.Call postSearchQueryValidateBeforeCall(PostDeviceSearchRequest p * Retrieve List of Devices for a given search query V2 * Retrieves list of terminals in paginated format. * @param postDeviceSearchRequest (required) - * @return InlineResponse2007 + * @return InlineResponse2008 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2007 postSearchQuery(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException { + public InlineResponse2008 postSearchQuery(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postSearchQuery' STARTED"); - ApiResponse resp = postSearchQueryWithHttpInfo(postDeviceSearchRequest); + ApiResponse resp = postSearchQueryWithHttpInfo(postDeviceSearchRequest); logger.info("CALL TO METHOD 'postSearchQuery' ENDED"); return resp.getData(); } @@ -171,14 +171,14 @@ public InlineResponse2007 postSearchQuery(PostDeviceSearchRequest postDeviceSear * Retrieve List of Devices for a given search query V2 * Retrieves list of terminals in paginated format. * @param postDeviceSearchRequest (required) - * @return ApiResponse<InlineResponse2007> + * @return ApiResponse<InlineResponse2008> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException { + public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postSearchQueryValidateBeforeCall(postDeviceSearchRequest, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -191,7 +191,7 @@ public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSea * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postSearchQueryAsync(PostDeviceSearchRequest postDeviceSearchRequest, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call postSearchQueryAsync(PostDeviceSearchRequest postDeviceSearchRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -214,7 +214,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = postSearchQueryValidateBeforeCall(postDeviceSearchRequest, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -302,13 +302,13 @@ private okhttp3.Call postSearchQueryV3ValidateBeforeCall(PostDeviceSearchRequest * Retrieve List of Devices for a given search query * Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated. * @param postDeviceSearchRequestV3 (required) - * @return InlineResponse2009 + * @return InlineResponse20010 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2009 postSearchQueryV3(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException { + public InlineResponse20010 postSearchQueryV3(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postSearchQueryV3' STARTED"); - ApiResponse resp = postSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3); + ApiResponse resp = postSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3); logger.info("CALL TO METHOD 'postSearchQueryV3' ENDED"); return resp.getData(); } @@ -317,14 +317,14 @@ public InlineResponse2009 postSearchQueryV3(PostDeviceSearchRequestV3 postDevice * Retrieve List of Devices for a given search query * Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated. * @param postDeviceSearchRequestV3 (required) - * @return ApiResponse<InlineResponse2009> + * @return ApiResponse<InlineResponse20010> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException { + public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postSearchQueryV3ValidateBeforeCall(postDeviceSearchRequestV3, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -337,7 +337,7 @@ public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceS * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postSearchQueryV3Async(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call postSearchQueryV3Async(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -360,7 +360,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = postSearchQueryV3ValidateBeforeCall(postDeviceSearchRequestV3, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java index defb14820..e03243052 100644 --- a/src/main/java/Api/InstrumentIdentifierApi.java +++ b/src/main/java/Api/InstrumentIdentifierApi.java @@ -579,7 +579,7 @@ public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId, SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchInstrumentIdentifierRequest, PatchInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchInstrumentIdentifier,patchInstrumentIdentifierAsync,patchInstrumentIdentifierWithHttpInfo,patchInstrumentIdentifierCall")) { try { @@ -752,7 +752,7 @@ public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierRequest, PostInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postInstrumentIdentifier,postInstrumentIdentifierAsync,postInstrumentIdentifierWithHttpInfo,postInstrumentIdentifierCall")) { try { @@ -910,7 +910,7 @@ public okhttp3.Call postInstrumentIdentifierEnrollmentCall(String instrumentIden SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierEnrollmentRequest, PostInstrumentIdentifierEnrollmentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postInstrumentIdentifierEnrollment,postInstrumentIdentifierEnrollmentAsync,postInstrumentIdentifierEnrollmentWithHttpInfo,postInstrumentIdentifierEnrollmentCall")) { try { diff --git a/src/main/java/Api/ManageWebhooksApi.java b/src/main/java/Api/ManageWebhooksApi.java index 97a7be6df..7ea66223b 100644 --- a/src/main/java/Api/ManageWebhooksApi.java +++ b/src/main/java/Api/ManageWebhooksApi.java @@ -29,8 +29,8 @@ import java.io.InputStream; -import Model.InlineResponse2005; import Model.InlineResponse2006; +import Model.InlineResponse2007; import Model.InlineResponse2015; import Model.InlineResponse2016; import Model.InlineResponse2017; @@ -465,13 +465,13 @@ private okhttp3.Call getWebhookSubscriptionsByOrgValidateBeforeCall(String organ * @param organizationId The Organization Identifier. (required) * @param productId The Product Identifier. (optional) * @param eventType The Event Type. (optional) - * @return List<InlineResponse2005> + * @return List<InlineResponse2006> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException, ConfigException { + public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' STARTED"); - ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); + ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' ENDED"); return resp.getData(); } @@ -482,14 +482,14 @@ public List getWebhookSubscriptionsByOrg(String organization * @param organizationId The Organization Identifier. (required) * @param productId The Product Identifier. (optional) * @param eventType The Event Type. (optional) - * @return ApiResponse<List<InlineResponse2005>> + * @return ApiResponse<List<InlineResponse2006>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException, ConfigException { + public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -504,7 +504,7 @@ public ApiResponse> getWebhookSubscriptionsByOrgWithHtt * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getWebhookSubscriptionsByOrgAsync(String organizationId, String productId, String eventType, final ApiCallback> callback) throws ApiException, ConfigException { + public okhttp3.Call getWebhookSubscriptionsByOrgAsync(String organizationId, String productId, String eventType, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -527,7 +527,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -768,13 +768,13 @@ private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBe * Update a Webhook Subscription. * @param webhookId The Webhook Identifier. (required) * @param updateWebhook The webhook payload or changes to apply. (optional) - * @return InlineResponse2006 + * @return InlineResponse2007 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException { + public InlineResponse2007 notificationSubscriptionsV2WebhooksWebhookIdPatch(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdPatch' STARTED"); - ApiResponse resp = notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook); + ApiResponse resp = notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook); logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdPatch' ENDED"); return resp.getData(); } @@ -784,14 +784,14 @@ public InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(Stri * Update a Webhook Subscription. * @param webhookId The Webhook Identifier. (required) * @param updateWebhook The webhook payload or changes to apply. (optional) - * @return ApiResponse<InlineResponse2006> + * @return ApiResponse<InlineResponse2007> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException { + public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(webhookId, updateWebhook, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -805,7 +805,7 @@ public ApiResponse notificationSubscriptionsV2WebhooksWebhoo * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchAsync(String webhookId, UpdateWebhook updateWebhook, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchAsync(String webhookId, UpdateWebhook updateWebhook, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -828,7 +828,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(webhookId, updateWebhook, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/MerchantBoardingApi.java b/src/main/java/Api/MerchantBoardingApi.java index 65049a9ae..74aa0fbc2 100644 --- a/src/main/java/Api/MerchantBoardingApi.java +++ b/src/main/java/Api/MerchantBoardingApi.java @@ -29,7 +29,7 @@ import java.io.InputStream; -import Model.InlineResponse2003; +import Model.InlineResponse2004; import Model.InlineResponse2013; import Model.InlineResponse4007; import Model.InlineResponse4042; @@ -158,13 +158,13 @@ private okhttp3.Call getRegistrationValidateBeforeCall(String registrationId, fi * Gets all the information on a boarding registration * This end point will get all information of a boarding registration * @param registrationId Identifies the boarding registration to be updated (required) - * @return InlineResponse2003 + * @return InlineResponse2004 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2003 getRegistration(String registrationId) throws ApiException, ConfigException { + public InlineResponse2004 getRegistration(String registrationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getRegistration' STARTED"); - ApiResponse resp = getRegistrationWithHttpInfo(registrationId); + ApiResponse resp = getRegistrationWithHttpInfo(registrationId); logger.info("CALL TO METHOD 'getRegistration' ENDED"); return resp.getData(); } @@ -173,14 +173,14 @@ public InlineResponse2003 getRegistration(String registrationId) throws ApiExcep * Gets all the information on a boarding registration * This end point will get all information of a boarding registration * @param registrationId Identifies the boarding registration to be updated (required) - * @return ApiResponse<InlineResponse2003> + * @return ApiResponse<InlineResponse2004> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException, ConfigException { + public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -193,7 +193,7 @@ public ApiResponse getRegistrationWithHttpInfo(String regist * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRegistrationAsync(String registrationId, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call getRegistrationAsync(String registrationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -216,7 +216,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/MerchantDefinedFieldsApi.java b/src/main/java/Api/MerchantDefinedFieldsApi.java index 17d36a5a9..db79bf7e1 100644 --- a/src/main/java/Api/MerchantDefinedFieldsApi.java +++ b/src/main/java/Api/MerchantDefinedFieldsApi.java @@ -29,7 +29,7 @@ import java.io.InputStream; -import Model.InlineResponse2002; +import Model.InlineResponse2003; import Model.InlineResponse4041; import Model.MerchantDefinedFieldCore; import Model.MerchantDefinedFieldDefinitionRequest; @@ -160,13 +160,13 @@ private okhttp3.Call createMerchantDefinedFieldDefinitionValidateBeforeCall(Stri * * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) * @param merchantDefinedFieldDefinitionRequest (required) - * @return List<InlineResponse2002> + * @return List<InlineResponse2003> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List createMerchantDefinedFieldDefinition(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException { + public List createMerchantDefinedFieldDefinition(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createMerchantDefinedFieldDefinition' STARTED"); - ApiResponse> resp = createMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); + ApiResponse> resp = createMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); logger.info("CALL TO METHOD 'createMerchantDefinedFieldDefinition' ENDED"); return resp.getData(); } @@ -176,14 +176,14 @@ public List createMerchantDefinedFieldDefinition(String refe * * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) * @param merchantDefinedFieldDefinitionRequest (required) - * @return ApiResponse<List<InlineResponse2002>> + * @return ApiResponse<List<InlineResponse2003>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> createMerchantDefinedFieldDefinitionWithHttpInfo(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException { + public ApiResponse> createMerchantDefinedFieldDefinitionWithHttpInfo(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createMerchantDefinedFieldDefinitionValidateBeforeCall(referenceType, merchantDefinedFieldDefinitionRequest, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -197,7 +197,7 @@ public ApiResponse> createMerchantDefinedFieldDefinitio * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createMerchantDefinedFieldDefinitionAsync(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ApiCallback> callback) throws ApiException, ConfigException { + public okhttp3.Call createMerchantDefinedFieldDefinitionAsync(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -220,7 +220,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = createMerchantDefinedFieldDefinitionValidateBeforeCall(referenceType, merchantDefinedFieldDefinitionRequest, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -469,13 +469,13 @@ private okhttp3.Call getMerchantDefinedFieldsDefinitionsValidateBeforeCall(Strin * Get all merchant defined fields for a given reference type * * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) - * @return List<InlineResponse2002> + * @return List<InlineResponse2003> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List getMerchantDefinedFieldsDefinitions(String referenceType) throws ApiException, ConfigException { + public List getMerchantDefinedFieldsDefinitions(String referenceType) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getMerchantDefinedFieldsDefinitions' STARTED"); - ApiResponse> resp = getMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType); + ApiResponse> resp = getMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType); logger.info("CALL TO METHOD 'getMerchantDefinedFieldsDefinitions' ENDED"); return resp.getData(); } @@ -484,14 +484,14 @@ public List getMerchantDefinedFieldsDefinitions(String refer * Get all merchant defined fields for a given reference type * * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) - * @return ApiResponse<List<InlineResponse2002>> + * @return ApiResponse<List<InlineResponse2003>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> getMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType) throws ApiException, ConfigException { + public ApiResponse> getMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -504,7 +504,7 @@ public ApiResponse> getMerchantDefinedFieldsDefinitions * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getMerchantDefinedFieldsDefinitionsAsync(String referenceType, final ApiCallback> callback) throws ApiException, ConfigException { + public okhttp3.Call getMerchantDefinedFieldsDefinitionsAsync(String referenceType, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -527,7 +527,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -633,13 +633,13 @@ private okhttp3.Call putMerchantDefinedFieldsDefinitionsValidateBeforeCall(Strin * @param referenceType (required) * @param id (required) * @param merchantDefinedFieldCore (required) - * @return List<InlineResponse2002> + * @return List<InlineResponse2003> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List putMerchantDefinedFieldsDefinitions(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException { + public List putMerchantDefinedFieldsDefinitions(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'putMerchantDefinedFieldsDefinitions' STARTED"); - ApiResponse> resp = putMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType, id, merchantDefinedFieldCore); + ApiResponse> resp = putMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType, id, merchantDefinedFieldCore); logger.info("CALL TO METHOD 'putMerchantDefinedFieldsDefinitions' ENDED"); return resp.getData(); } @@ -650,14 +650,14 @@ public List putMerchantDefinedFieldsDefinitions(String refer * @param referenceType (required) * @param id (required) * @param merchantDefinedFieldCore (required) - * @return ApiResponse<List<InlineResponse2002>> + * @return ApiResponse<List<InlineResponse2003>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> putMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException { + public ApiResponse> putMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = putMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, id, merchantDefinedFieldCore, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -672,7 +672,7 @@ public ApiResponse> putMerchantDefinedFieldsDefinitions * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call putMerchantDefinedFieldsDefinitionsAsync(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ApiCallback> callback) throws ApiException, ConfigException { + public okhttp3.Call putMerchantDefinedFieldsDefinitionsAsync(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -695,7 +695,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = putMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, id, merchantDefinedFieldCore, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/OffersApi.java b/src/main/java/Api/OffersApi.java index 575a8cb1e..68b2aaa96 100644 --- a/src/main/java/Api/OffersApi.java +++ b/src/main/java/Api/OffersApi.java @@ -29,7 +29,7 @@ import java.io.InputStream; -import Model.InlineResponse20014; +import Model.InlineResponse20015; import Model.InlineResponse2018; import Model.InlineResponse40010; import Model.InlineResponse5022; @@ -412,13 +412,13 @@ private okhttp3.Call getOfferValidateBeforeCall(String contentType, String xRequ * @param vCCorrelationId (required) * @param vCOrganizationId (required) * @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required) - * @return InlineResponse20014 + * @return InlineResponse20015 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20014 getOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException { + public InlineResponse20015 getOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getOffer' STARTED"); - ApiResponse resp = getOfferWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); + ApiResponse resp = getOfferWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); logger.info("CALL TO METHOD 'getOffer' ENDED"); return resp.getData(); } @@ -432,14 +432,14 @@ public InlineResponse20014 getOffer(String contentType, String xRequestid, Strin * @param vCCorrelationId (required) * @param vCOrganizationId (required) * @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required) - * @return ApiResponse<InlineResponse20014> + * @return ApiResponse<InlineResponse20015> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getOfferWithHttpInfo(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException { + public ApiResponse getOfferWithHttpInfo(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getOfferValidateBeforeCall(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -457,7 +457,7 @@ public ApiResponse getOfferWithHttpInfo(String contentType, * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getOfferAsync(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call getOfferAsync(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -480,7 +480,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getOfferValidateBeforeCall(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java index 18e7d219b..2a471dcf8 100644 --- a/src/main/java/Api/PaymentInstrumentApi.java +++ b/src/main/java/Api/PaymentInstrumentApi.java @@ -403,7 +403,7 @@ public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, Patch SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchPaymentInstrumentRequest, PatchPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchPaymentInstrument,patchPaymentInstrumentAsync,patchPaymentInstrumentWithHttpInfo,patchPaymentInstrumentCall")) { try { @@ -576,7 +576,7 @@ public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postP SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentInstrumentRequest, PostPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postPaymentInstrument,postPaymentInstrumentAsync,postPaymentInstrumentWithHttpInfo,postPaymentInstrumentCall")) { try { diff --git a/src/main/java/Api/SubscriptionsApi.java b/src/main/java/Api/SubscriptionsApi.java index 2a8e0e7d0..be43b1729 100644 --- a/src/main/java/Api/SubscriptionsApi.java +++ b/src/main/java/Api/SubscriptionsApi.java @@ -80,14 +80,14 @@ public void setApiClient(ApiClient apiClient) { /** * Build call for activateSubscription * @param id Subscription Id (required) - * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + public okhttp3.Call activateSubscriptionCall(String id, Boolean processMissedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -110,8 +110,8 @@ public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPa .replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString())); List localVarQueryParams = new ArrayList(); - if (processSkippedPayments != null) - localVarQueryParams.addAll(apiClient.parameterToPairs("", "processSkippedPayments", processSkippedPayments)); + if (processMissedPayments != null) + localVarQueryParams.addAll(apiClient.parameterToPairs("", "processMissedPayments", processMissedPayments)); Map localVarHeaderParams = new HashMap(); @@ -146,7 +146,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean processMissedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -155,7 +155,7 @@ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean p } - okhttp3.Call call = activateSubscriptionCall(id, processSkippedPayments, progressListener, progressRequestListener); + okhttp3.Call call = activateSubscriptionCall(id, processMissedPayments, progressListener, progressRequestListener); return call; @@ -165,48 +165,48 @@ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean p } /** - * Activate a Subscription - * Activate a `SUSPENDED` Subscription + * Reactivating a Suspended Subscription + * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). * @param id Subscription Id (required) - * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) * @return ActivateSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ActivateSubscriptionResponse activateSubscription(String id, Boolean processSkippedPayments) throws ApiException, ConfigException { + public ActivateSubscriptionResponse activateSubscription(String id, Boolean processMissedPayments) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'activateSubscription' STARTED"); - ApiResponse resp = activateSubscriptionWithHttpInfo(id, processSkippedPayments); + ApiResponse resp = activateSubscriptionWithHttpInfo(id, processMissedPayments); logger.info("CALL TO METHOD 'activateSubscription' ENDED"); return resp.getData(); } /** - * Activate a Subscription - * Activate a `SUSPENDED` Subscription + * Reactivating a Suspended Subscription + * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). * @param id Subscription Id (required) - * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) * @return ApiResponse<ActivateSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse activateSubscriptionWithHttpInfo(String id, Boolean processSkippedPayments) throws ApiException, ConfigException { + public ApiResponse activateSubscriptionWithHttpInfo(String id, Boolean processMissedPayments) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); - okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processSkippedPayments, null, null); + okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processMissedPayments, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Activate a Subscription (asynchronously) - * Activate a `SUSPENDED` Subscription + * Reactivating a Suspended Subscription (asynchronously) + * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). * @param id Subscription Id (required) - * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call activateSubscriptionAsync(String id, Boolean processSkippedPayments, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call activateSubscriptionAsync(String id, Boolean processMissedPayments, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -228,7 +228,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processSkippedPayments, progressListener, progressRequestListener); + okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processMissedPayments, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1067,7 +1067,7 @@ private okhttp3.Call suspendSubscriptionValidateBeforeCall(String id, final Prog /** * Suspend a Subscription - * Suspend a Subscription + * Suspend a Subscription * @param id Subscription Id (required) * @return SuspendSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1082,7 +1082,7 @@ public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiExce /** * Suspend a Subscription - * Suspend a Subscription + * Suspend a Subscription * @param id Subscription Id (required) * @return ApiResponse<SuspendSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1097,7 +1097,7 @@ public ApiResponse suspendSubscriptionWithHttpInfo( /** * Suspend a Subscription (asynchronously) - * Suspend a Subscription + * Suspend a Subscription * @param id Subscription Id (required) * @param callback The callback to be executed when the API call finishes * @return The request call diff --git a/src/main/java/Api/TokenApi.java b/src/main/java/Api/TokenApi.java index 7ca369444..0af7fa70e 100644 --- a/src/main/java/Api/TokenApi.java +++ b/src/main/java/Api/TokenApi.java @@ -29,7 +29,7 @@ import java.io.InputStream; -import Model.InlineResponse200; +import Model.InlineResponse2001; import Model.InlineResponse400; import Model.InlineResponse403; import Model.InlineResponse410; @@ -176,13 +176,13 @@ private okhttp3.Call getCardArtAssetValidateBeforeCall(String instrumentIdentifi * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param tokenProvider The token provider. (required) * @param assetType The type of asset. (required) - * @return InlineResponse200 + * @return InlineResponse2001 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException { + public InlineResponse2001 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCardArtAsset' STARTED"); - ApiResponse resp = getCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); + ApiResponse resp = getCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); logger.info("CALL TO METHOD 'getCardArtAsset' ENDED"); return resp.getData(); } @@ -193,14 +193,14 @@ public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String t * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param tokenProvider The token provider. (required) * @param assetType The type of asset. (required) - * @return ApiResponse<InlineResponse200> + * @return ApiResponse<InlineResponse2001> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException { + public ApiResponse getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCardArtAssetValidateBeforeCall(instrumentIdentifierId, tokenProvider, assetType, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -215,7 +215,7 @@ public ApiResponse getCardArtAssetWithHttpInfo(String instrum * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, final ApiCallback callback) throws ApiException, ConfigException { + public okhttp3.Call getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -238,7 +238,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getCardArtAssetValidateBeforeCall(instrumentIdentifierId, tokenProvider, assetType, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -257,7 +257,7 @@ public okhttp3.Call postTokenPaymentCredentialsCall(String tokenId, PostPaymentC SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentCredentialsRequest, PostPaymentCredentialsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postTokenPaymentCredentials,postTokenPaymentCredentialsAsync,postTokenPaymentCredentialsWithHttpInfo,postTokenPaymentCredentialsCall")) { try { diff --git a/src/main/java/Api/TokenizeApi.java b/src/main/java/Api/TokenizeApi.java new file mode 100644 index 000000000..7ad72bd36 --- /dev/null +++ b/src/main/java/Api/TokenizeApi.java @@ -0,0 +1,224 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Invokers.ApiCallback; +import Invokers.ApiClient; +import Invokers.ApiException; +import Invokers.ApiResponse; +import Invokers.Configuration; +import Invokers.Pair; +import Invokers.ProgressRequestBody; +import Invokers.ProgressResponseBody; + +import com.cybersource.authsdk.core.ConfigException; +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; +import java.io.InputStream; + + +import Model.InlineResponse200; +import Model.InlineResponse400; +import Model.InlineResponse403; +import Model.InlineResponse424; +import Model.InlineResponse500; +import Model.PostTokenizeRequest; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import utilities.tracking.SdkTracker; +import com.cybersource.authsdk.util.mle.MLEUtility; +import com.cybersource.authsdk.util.mle.MLEException; + +public class TokenizeApi { + private static Logger logger = LogManager.getLogger(TokenizeApi.class); + + private ApiClient apiClient; + + public TokenizeApi() { + this(Configuration.getDefaultApiClient()); + } + + public TokenizeApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for tokenize + * @param postTokenizeRequest (required) + * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call tokenizeCall(PostTokenizeRequest postTokenizeRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postTokenizeRequest, PostTokenizeRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); + + String inboundMLEStatus = "mandatory"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "tokenize,tokenizeAsync,tokenizeWithHttpInfo,tokenizeCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/tms/v2/tokenize"; + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + if (profileId != null) + localVarHeaderParams.put("profile-id", apiClient.parameterToString(profileId)); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json;charset=utf-8" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call tokenizeValidateBeforeCall(PostTokenizeRequest postTokenizeRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'postTokenizeRequest' is set + if (postTokenizeRequest == null) { + logger.error("Missing the required parameter 'postTokenizeRequest' when calling tokenize(Async)"); + throw new ApiException("Missing the required parameter 'postTokenizeRequest' when calling tokenize(Async)"); + } + + + okhttp3.Call call = tokenizeCall(postTokenizeRequest, profileId, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Tokenize + * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + * @param postTokenizeRequest (required) + * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @return InlineResponse200 + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public InlineResponse200 tokenize(PostTokenizeRequest postTokenizeRequest, String profileId) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'tokenize' STARTED"); + ApiResponse resp = tokenizeWithHttpInfo(postTokenizeRequest, profileId); + logger.info("CALL TO METHOD 'tokenize' ENDED"); + return resp.getData(); + } + + /** + * Tokenize + * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + * @param postTokenizeRequest (required) + * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @return ApiResponse<InlineResponse200> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse tokenizeWithHttpInfo(PostTokenizeRequest postTokenizeRequest, String profileId) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = tokenizeValidateBeforeCall(postTokenizeRequest, profileId, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Tokenize (asynchronously) + * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + * @param postTokenizeRequest (required) + * @param profileId The Id of a profile containing user specific TMS configuration. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call tokenizeAsync(PostTokenizeRequest postTokenizeRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = tokenizeValidateBeforeCall(postTokenizeRequest, profileId, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/src/main/java/Api/TokenizedCardApi.java b/src/main/java/Api/TokenizedCardApi.java index eda178108..14bcb445f 100644 --- a/src/main/java/Api/TokenizedCardApi.java +++ b/src/main/java/Api/TokenizedCardApi.java @@ -35,6 +35,7 @@ import Model.InlineResponse410; import Model.InlineResponse424; import Model.InlineResponse500; +import Model.PostIssuerLifeCycleSimulationRequest; import Model.TokenizedcardRequest; import java.lang.reflect.Type; @@ -378,6 +379,171 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } + /** + * Build call for postIssuerLifeCycleSimulation + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call postIssuerLifeCycleSimulationCall(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postIssuerLifeCycleSimulationRequest, PostIssuerLifeCycleSimulationRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); + + String inboundMLEStatus = "false"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postIssuerLifeCycleSimulation,postIssuerLifeCycleSimulationAsync,postIssuerLifeCycleSimulationWithHttpInfo,postIssuerLifeCycleSimulationCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations" + .replaceAll("\\{" + "tokenizedCardId" + "\\}", apiClient.escapeString(tokenizedCardId.toString())); + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + if (profileId != null) + localVarHeaderParams.put("profile-id", apiClient.parameterToString(profileId)); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json;charset=utf-8" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call postIssuerLifeCycleSimulationValidateBeforeCall(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'profileId' is set + if (profileId == null) { + logger.error("Missing the required parameter 'profileId' when calling postIssuerLifeCycleSimulation(Async)"); + throw new ApiException("Missing the required parameter 'profileId' when calling postIssuerLifeCycleSimulation(Async)"); + } + + // verify the required parameter 'tokenizedCardId' is set + if (tokenizedCardId == null) { + logger.error("Missing the required parameter 'tokenizedCardId' when calling postIssuerLifeCycleSimulation(Async)"); + throw new ApiException("Missing the required parameter 'tokenizedCardId' when calling postIssuerLifeCycleSimulation(Async)"); + } + + // verify the required parameter 'postIssuerLifeCycleSimulationRequest' is set + if (postIssuerLifeCycleSimulationRequest == null) { + logger.error("Missing the required parameter 'postIssuerLifeCycleSimulationRequest' when calling postIssuerLifeCycleSimulation(Async)"); + throw new ApiException("Missing the required parameter 'postIssuerLifeCycleSimulationRequest' when calling postIssuerLifeCycleSimulation(Async)"); + } + + + okhttp3.Call call = postIssuerLifeCycleSimulationCall(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Simulate Issuer Life Cycle Management Events + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public void postIssuerLifeCycleSimulation(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'postIssuerLifeCycleSimulation' STARTED"); + postIssuerLifeCycleSimulationWithHttpInfo(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + + } + + /** + * Simulate Issuer Life Cycle Management Events + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse postIssuerLifeCycleSimulationWithHttpInfo(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = postIssuerLifeCycleSimulationValidateBeforeCall(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest, null, null); + return apiClient.execute(call); + } + + /** + * Simulate Issuer Life Cycle Management Events (asynchronously) + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call postIssuerLifeCycleSimulationAsync(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest, final ApiCallback callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = postIssuerLifeCycleSimulationValidateBeforeCall(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); + return call; + } /** * Build call for postTokenizedCard * @param tokenizedcardRequest (required) @@ -392,7 +558,7 @@ public okhttp3.Call postTokenizedCardCall(TokenizedcardRequest tokenizedcardRequ SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(tokenizedcardRequest, TokenizedcardRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); - String inboundMLEStatus = "false"; + String inboundMLEStatus = "optional"; if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postTokenizedCard,postTokenizedCardAsync,postTokenizedCardWithHttpInfo,postTokenizedCardCall")) { try { diff --git a/src/main/java/Model/CreatePlanRequest.java b/src/main/java/Model/CreatePlanRequest.java index c92baca64..3b6d2b9c5 100644 --- a/src/main/java/Model/CreatePlanRequest.java +++ b/src/main/java/Model/CreatePlanRequest.java @@ -15,7 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.Rbsv1plansClientReferenceInformation; import Model.Rbsv1plansOrderInformation; import Model.Rbsv1plansPlanInformation; import com.google.gson.TypeAdapter; @@ -32,33 +31,12 @@ */ public class CreatePlanRequest { - @SerializedName("clientReferenceInformation") - private Rbsv1plansClientReferenceInformation clientReferenceInformation = null; - @SerializedName("planInformation") private Rbsv1plansPlanInformation planInformation = null; @SerializedName("orderInformation") private Rbsv1plansOrderInformation orderInformation = null; - public CreatePlanRequest clientReferenceInformation(Rbsv1plansClientReferenceInformation clientReferenceInformation) { - this.clientReferenceInformation = clientReferenceInformation; - return this; - } - - /** - * Get clientReferenceInformation - * @return clientReferenceInformation - **/ - @ApiModelProperty(value = "") - public Rbsv1plansClientReferenceInformation getClientReferenceInformation() { - return clientReferenceInformation; - } - - public void setClientReferenceInformation(Rbsv1plansClientReferenceInformation clientReferenceInformation) { - this.clientReferenceInformation = clientReferenceInformation; - } - public CreatePlanRequest planInformation(Rbsv1plansPlanInformation planInformation) { this.planInformation = planInformation; return this; @@ -105,14 +83,13 @@ public boolean equals(java.lang.Object o) { return false; } CreatePlanRequest createPlanRequest = (CreatePlanRequest) o; - return Objects.equals(this.clientReferenceInformation, createPlanRequest.clientReferenceInformation) && - Objects.equals(this.planInformation, createPlanRequest.planInformation) && + return Objects.equals(this.planInformation, createPlanRequest.planInformation) && Objects.equals(this.orderInformation, createPlanRequest.orderInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, planInformation, orderInformation); + return Objects.hash(planInformation, orderInformation); } @@ -121,7 +98,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreatePlanRequest {\n"); - if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/CreateSubscriptionRequest.java b/src/main/java/Model/CreateSubscriptionRequest.java index 1346b5e78..8b59c3b93 100644 --- a/src/main/java/Model/CreateSubscriptionRequest.java +++ b/src/main/java/Model/CreateSubscriptionRequest.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.GetAllPlansResponseOrderInformation; -import Model.Rbsv1subscriptionsClientReferenceInformation; +import Model.GetAllSubscriptionsResponseClientReferenceInformation; import Model.Rbsv1subscriptionsPaymentInformation; import Model.Rbsv1subscriptionsPlanInformation; import Model.Rbsv1subscriptionsProcessingInformation; @@ -36,7 +36,7 @@ public class CreateSubscriptionRequest { @SerializedName("clientReferenceInformation") - private Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation = null; + private GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation = null; @SerializedName("processingInformation") private Rbsv1subscriptionsProcessingInformation processingInformation = null; @@ -53,7 +53,7 @@ public class CreateSubscriptionRequest { @SerializedName("orderInformation") private GetAllPlansResponseOrderInformation orderInformation = null; - public CreateSubscriptionRequest clientReferenceInformation(Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation) { + public CreateSubscriptionRequest clientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; } @@ -63,11 +63,11 @@ public CreateSubscriptionRequest clientReferenceInformation(Rbsv1subscriptionsCl * @return clientReferenceInformation **/ @ApiModelProperty(value = "") - public Rbsv1subscriptionsClientReferenceInformation getClientReferenceInformation() { + public GetAllSubscriptionsResponseClientReferenceInformation getClientReferenceInformation() { return clientReferenceInformation; } - public void setClientReferenceInformation(Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation) { + public void setClientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; } diff --git a/src/main/java/Model/CreateSubscriptionRequest1.java b/src/main/java/Model/CreateSubscriptionRequest1.java index 7faef0b0b..a47eccd50 100644 --- a/src/main/java/Model/CreateSubscriptionRequest1.java +++ b/src/main/java/Model/CreateSubscriptionRequest1.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.GetAllPlansResponseOrderInformation; -import Model.Rbsv1subscriptionsClientReferenceInformation; +import Model.GetAllSubscriptionsResponseClientReferenceInformation; import Model.Rbsv1subscriptionsPlanInformation; import Model.Rbsv1subscriptionsProcessingInformation; import Model.Rbsv1subscriptionsSubscriptionInformation; @@ -35,7 +35,7 @@ public class CreateSubscriptionRequest1 { @SerializedName("clientReferenceInformation") - private Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation = null; + private GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation = null; @SerializedName("processingInformation") private Rbsv1subscriptionsProcessingInformation processingInformation = null; @@ -49,7 +49,7 @@ public class CreateSubscriptionRequest1 { @SerializedName("orderInformation") private GetAllPlansResponseOrderInformation orderInformation = null; - public CreateSubscriptionRequest1 clientReferenceInformation(Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation) { + public CreateSubscriptionRequest1 clientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; } @@ -59,11 +59,11 @@ public CreateSubscriptionRequest1 clientReferenceInformation(Rbsv1subscriptionsC * @return clientReferenceInformation **/ @ApiModelProperty(value = "") - public Rbsv1subscriptionsClientReferenceInformation getClientReferenceInformation() { + public GetAllSubscriptionsResponseClientReferenceInformation getClientReferenceInformation() { return clientReferenceInformation; } - public void setClientReferenceInformation(Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation) { + public void setClientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; } diff --git a/src/main/java/Model/CreateSubscriptionResponse.java b/src/main/java/Model/CreateSubscriptionResponse.java index 8c94e4082..a11fe8c83 100644 --- a/src/main/java/Model/CreateSubscriptionResponse.java +++ b/src/main/java/Model/CreateSubscriptionResponse.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.CreateSubscriptionResponseLinks; import Model.CreateSubscriptionResponseSubscriptionInformation; +import Model.GetAllSubscriptionsResponseClientReferenceInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -46,6 +47,9 @@ public class CreateSubscriptionResponse { @SerializedName("subscriptionInformation") private CreateSubscriptionResponseSubscriptionInformation subscriptionInformation = null; + @SerializedName("clientReferenceInformation") + private GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation = null; + public CreateSubscriptionResponse links(CreateSubscriptionResponseLinks links) { this.links = links; return this; @@ -136,6 +140,24 @@ public void setSubscriptionInformation(CreateSubscriptionResponseSubscriptionInf this.subscriptionInformation = subscriptionInformation; } + public CreateSubscriptionResponse clientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public GetAllSubscriptionsResponseClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -150,12 +172,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.id, createSubscriptionResponse.id) && Objects.equals(this.submitTimeUtc, createSubscriptionResponse.submitTimeUtc) && Objects.equals(this.status, createSubscriptionResponse.status) && - Objects.equals(this.subscriptionInformation, createSubscriptionResponse.subscriptionInformation); + Objects.equals(this.subscriptionInformation, createSubscriptionResponse.subscriptionInformation) && + Objects.equals(this.clientReferenceInformation, createSubscriptionResponse.clientReferenceInformation); } @Override public int hashCode() { - return Objects.hash(links, id, submitTimeUtc, status, subscriptionInformation); + return Objects.hash(links, id, submitTimeUtc, status, subscriptionInformation, clientReferenceInformation); } @@ -169,6 +192,7 @@ public String toString() { if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java b/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java index 83410cca3..163d2eaee 100644 --- a/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java +++ b/src/main/java/Model/GenerateUnifiedCheckoutCaptureContextRequest.java @@ -54,6 +54,9 @@ public class GenerateUnifiedCheckoutCaptureContextRequest { @SerializedName("locale") private String locale = null; + @SerializedName("buttonType") + private String buttonType = null; + @SerializedName("captureMandate") private Upv1capturecontextsCaptureMandate captureMandate = null; @@ -78,7 +81,7 @@ public GenerateUnifiedCheckoutCaptureContextRequest clientVersion(String clientV * Specify the version of Unified Checkout that you want to use. * @return clientVersion **/ - @ApiModelProperty(example = "0.25", value = "Specify the version of Unified Checkout that you want to use.") + @ApiModelProperty(example = "0.32", value = "Specify the version of Unified Checkout that you want to use.") public String getClientVersion() { return clientVersion; } @@ -153,10 +156,10 @@ public GenerateUnifiedCheckoutCaptureContextRequest addAllowedPaymentTypesItem(S } /** - * The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. + * The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. * @return allowedPaymentTypes **/ - @ApiModelProperty(value = "The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY

Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

**Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

**Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa

If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. ") + @ApiModelProperty(value = "The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY

Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)

Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)

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

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

**Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

**Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa

If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. ") public List getAllowedPaymentTypes() { return allowedPaymentTypes; } @@ -201,6 +204,24 @@ public void setLocale(String locale) { this.locale = locale; } + public GenerateUnifiedCheckoutCaptureContextRequest buttonType(String buttonType) { + this.buttonType = buttonType; + return this; + } + + /** + * Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, + * @return buttonType + **/ + @ApiModelProperty(value = "Changes the label on the payment button within Unified Checkout .

Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD

This is an optional field, ") + public String getButtonType() { + return buttonType; + } + + public void setButtonType(String buttonType) { + this.buttonType = buttonType; + } + public GenerateUnifiedCheckoutCaptureContextRequest captureMandate(Upv1capturecontextsCaptureMandate captureMandate) { this.captureMandate = captureMandate; return this; @@ -307,6 +328,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.allowedPaymentTypes, generateUnifiedCheckoutCaptureContextRequest.allowedPaymentTypes) && Objects.equals(this.country, generateUnifiedCheckoutCaptureContextRequest.country) && Objects.equals(this.locale, generateUnifiedCheckoutCaptureContextRequest.locale) && + Objects.equals(this.buttonType, generateUnifiedCheckoutCaptureContextRequest.buttonType) && Objects.equals(this.captureMandate, generateUnifiedCheckoutCaptureContextRequest.captureMandate) && Objects.equals(this.completeMandate, generateUnifiedCheckoutCaptureContextRequest.completeMandate) && Objects.equals(this.transientTokenResponseOptions, generateUnifiedCheckoutCaptureContextRequest.transientTokenResponseOptions) && @@ -316,7 +338,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(clientVersion, targetOrigins, allowedCardNetworks, allowedPaymentTypes, country, locale, captureMandate, completeMandate, transientTokenResponseOptions, data, orderInformation); + return Objects.hash(clientVersion, targetOrigins, allowedCardNetworks, allowedPaymentTypes, country, locale, buttonType, captureMandate, completeMandate, transientTokenResponseOptions, data, orderInformation); } @@ -331,6 +353,7 @@ public String toString() { if (allowedPaymentTypes != null) sb.append(" allowedPaymentTypes: ").append(toIndentedString(allowedPaymentTypes)).append("\n"); if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); if (locale != null) sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); + if (buttonType != null) sb.append(" buttonType: ").append(toIndentedString(buttonType)).append("\n"); if (captureMandate != null) sb.append(" captureMandate: ").append(toIndentedString(captureMandate)).append("\n"); if (completeMandate != null) sb.append(" completeMandate: ").append(toIndentedString(completeMandate)).append("\n"); if (transientTokenResponseOptions != null) sb.append(" transientTokenResponseOptions: ").append(toIndentedString(transientTokenResponseOptions)).append("\n"); diff --git a/src/main/java/Model/GetAllSubscriptionsResponseClientReferenceInformation.java b/src/main/java/Model/GetAllSubscriptionsResponseClientReferenceInformation.java new file mode 100644 index 000000000..eebdd8e31 --- /dev/null +++ b/src/main/java/Model/GetAllSubscriptionsResponseClientReferenceInformation.java @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * GetAllSubscriptionsResponseClientReferenceInformation + */ + +public class GetAllSubscriptionsResponseClientReferenceInformation { + @SerializedName("code") + private String code = null; + + public GetAllSubscriptionsResponseClientReferenceInformation code(String code) { + this.code = code; + return this; + } + + /** + * Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. + * @return code + **/ + @ApiModelProperty(value = " Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. ") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetAllSubscriptionsResponseClientReferenceInformation getAllSubscriptionsResponseClientReferenceInformation = (GetAllSubscriptionsResponseClientReferenceInformation) o; + return Objects.equals(this.code, getAllSubscriptionsResponseClientReferenceInformation.code); + } + + @Override + public int hashCode() { + return Objects.hash(code); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetAllSubscriptionsResponseClientReferenceInformation {\n"); + + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java b/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java index b1b99a827..26eea717d 100644 --- a/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java +++ b/src/main/java/Model/GetAllSubscriptionsResponseSubscriptions.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.GetAllSubscriptionsResponseClientReferenceInformation; import Model.GetAllSubscriptionsResponseLinks; import Model.GetAllSubscriptionsResponseOrderInformation; import Model.GetAllSubscriptionsResponsePaymentInformation; @@ -47,6 +48,9 @@ public class GetAllSubscriptionsResponseSubscriptions { @SerializedName("subscriptionInformation") private GetAllSubscriptionsResponseSubscriptionInformation subscriptionInformation = null; + @SerializedName("clientReferenceInformation") + private GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation = null; + @SerializedName("paymentInformation") private GetAllSubscriptionsResponsePaymentInformation paymentInformation = null; @@ -125,6 +129,24 @@ public void setSubscriptionInformation(GetAllSubscriptionsResponseSubscriptionIn this.subscriptionInformation = subscriptionInformation; } + public GetAllSubscriptionsResponseSubscriptions clientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public GetAllSubscriptionsResponseClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + public GetAllSubscriptionsResponseSubscriptions paymentInformation(GetAllSubscriptionsResponsePaymentInformation paymentInformation) { this.paymentInformation = paymentInformation; return this; @@ -175,13 +197,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.id, getAllSubscriptionsResponseSubscriptions.id) && Objects.equals(this.planInformation, getAllSubscriptionsResponseSubscriptions.planInformation) && Objects.equals(this.subscriptionInformation, getAllSubscriptionsResponseSubscriptions.subscriptionInformation) && + Objects.equals(this.clientReferenceInformation, getAllSubscriptionsResponseSubscriptions.clientReferenceInformation) && Objects.equals(this.paymentInformation, getAllSubscriptionsResponseSubscriptions.paymentInformation) && Objects.equals(this.orderInformation, getAllSubscriptionsResponseSubscriptions.orderInformation); } @Override public int hashCode() { - return Objects.hash(links, id, planInformation, subscriptionInformation, paymentInformation, orderInformation); + return Objects.hash(links, id, planInformation, subscriptionInformation, clientReferenceInformation, paymentInformation, orderInformation); } @@ -194,6 +217,7 @@ public String toString() { if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (planInformation != null) sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/GetSubscriptionResponse.java b/src/main/java/Model/GetSubscriptionResponse.java index 6b64e25a6..94659efe1 100644 --- a/src/main/java/Model/GetSubscriptionResponse.java +++ b/src/main/java/Model/GetSubscriptionResponse.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.GetAllSubscriptionsResponseClientReferenceInformation; import Model.GetAllSubscriptionsResponseLinks; import Model.GetAllSubscriptionsResponseOrderInformation; import Model.GetAllSubscriptionsResponsePaymentInformation; @@ -56,6 +57,9 @@ public class GetSubscriptionResponse { @SerializedName("orderInformation") private GetAllSubscriptionsResponseOrderInformation orderInformation = null; + @SerializedName("clientReferenceInformation") + private GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation = null; + @SerializedName("reactivationInformation") private GetSubscriptionResponseReactivationInformation reactivationInformation = null; @@ -185,6 +189,24 @@ public void setOrderInformation(GetAllSubscriptionsResponseOrderInformation orde this.orderInformation = orderInformation; } + public GetSubscriptionResponse clientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public GetAllSubscriptionsResponseClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + public GetSubscriptionResponse reactivationInformation(GetSubscriptionResponseReactivationInformation reactivationInformation) { this.reactivationInformation = reactivationInformation; return this; @@ -220,12 +242,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.subscriptionInformation, getSubscriptionResponse.subscriptionInformation) && Objects.equals(this.paymentInformation, getSubscriptionResponse.paymentInformation) && Objects.equals(this.orderInformation, getSubscriptionResponse.orderInformation) && + Objects.equals(this.clientReferenceInformation, getSubscriptionResponse.clientReferenceInformation) && Objects.equals(this.reactivationInformation, getSubscriptionResponse.reactivationInformation); } @Override public int hashCode() { - return Objects.hash(links, id, submitTimeUtc, planInformation, subscriptionInformation, paymentInformation, orderInformation, reactivationInformation); + return Objects.hash(links, id, submitTimeUtc, planInformation, subscriptionInformation, paymentInformation, orderInformation, clientReferenceInformation, reactivationInformation); } @@ -241,6 +264,7 @@ public String toString() { if (subscriptionInformation != null) sb.append(" subscriptionInformation: ").append(toIndentedString(subscriptionInformation)).append("\n"); if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); if (reactivationInformation != null) sb.append(" reactivationInformation: ").append(toIndentedString(reactivationInformation)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/GetSubscriptionResponse1PaymentInstrument.java b/src/main/java/Model/GetSubscriptionResponse1PaymentInstrument.java index 94bd868ef..621a5e067 100644 --- a/src/main/java/Model/GetSubscriptionResponse1PaymentInstrument.java +++ b/src/main/java/Model/GetSubscriptionResponse1PaymentInstrument.java @@ -18,7 +18,7 @@ import Model.GetSubscriptionResponse1PaymentInstrumentBankAccount; import Model.GetSubscriptionResponse1PaymentInstrumentBuyerInformation; import Model.GetSubscriptionResponse1PaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -44,7 +44,7 @@ public class GetSubscriptionResponse1PaymentInstrument { private GetSubscriptionResponse1PaymentInstrumentCard card = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("buyerInformation") private GetSubscriptionResponse1PaymentInstrumentBuyerInformation buyerInformation = null; @@ -103,7 +103,7 @@ public void setCard(GetSubscriptionResponse1PaymentInstrumentCard card) { this.card = card; } - public GetSubscriptionResponse1PaymentInstrument billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public GetSubscriptionResponse1PaymentInstrument billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -113,11 +113,11 @@ public GetSubscriptionResponse1PaymentInstrument billTo(Tmsv2customersEmbeddedDe * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } diff --git a/src/main/java/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.java b/src/main/java/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.java index 2895adfb6..16b61b97a 100644 --- a/src/main/java/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.java +++ b/src/main/java/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -43,7 +43,7 @@ public class GetSubscriptionResponse1PaymentInstrumentBuyerInformation { private LocalDate dateOfBirth = null; @SerializedName("personalIdentification") - private List personalIdentification = null; + private List personalIdentification = null; public GetSubscriptionResponse1PaymentInstrumentBuyerInformation companyTaxID(String companyTaxID) { this.companyTaxID = companyTaxID; @@ -99,14 +99,14 @@ public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - public GetSubscriptionResponse1PaymentInstrumentBuyerInformation personalIdentification(List personalIdentification) { + public GetSubscriptionResponse1PaymentInstrumentBuyerInformation personalIdentification(List personalIdentification) { this.personalIdentification = personalIdentification; return this; } - public GetSubscriptionResponse1PaymentInstrumentBuyerInformation addPersonalIdentificationItem(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification personalIdentificationItem) { + public GetSubscriptionResponse1PaymentInstrumentBuyerInformation addPersonalIdentificationItem(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification personalIdentificationItem) { if (this.personalIdentification == null) { - this.personalIdentification = new ArrayList(); + this.personalIdentification = new ArrayList(); } this.personalIdentification.add(personalIdentificationItem); return this; @@ -117,11 +117,11 @@ public GetSubscriptionResponse1PaymentInstrumentBuyerInformation addPersonalIden * @return personalIdentification **/ @ApiModelProperty(value = "") - public List getPersonalIdentification() { + public List getPersonalIdentification() { return personalIdentification; } - public void setPersonalIdentification(List personalIdentification) { + public void setPersonalIdentification(List personalIdentification) { this.personalIdentification = personalIdentification; } diff --git a/src/main/java/Model/GetSubscriptionResponse1ShippingAddress.java b/src/main/java/Model/GetSubscriptionResponse1ShippingAddress.java index f99a7b4fb..4475f7847 100644 --- a/src/main/java/Model/GetSubscriptionResponse1ShippingAddress.java +++ b/src/main/java/Model/GetSubscriptionResponse1ShippingAddress.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressShipTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -35,7 +35,7 @@ public class GetSubscriptionResponse1ShippingAddress { private String id = null; @SerializedName("shipTo") - private Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo = null; public GetSubscriptionResponse1ShippingAddress id(String id) { this.id = id; @@ -55,7 +55,7 @@ public void setId(String id) { this.id = id; } - public GetSubscriptionResponse1ShippingAddress shipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public GetSubscriptionResponse1ShippingAddress shipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; return this; } @@ -65,11 +65,11 @@ public GetSubscriptionResponse1ShippingAddress shipTo(Tmsv2customersEmbeddedDefa * @return shipTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo getShipTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo getShipTo() { return shipTo; } - public void setShipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public void setShipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; } diff --git a/src/main/java/Model/GetSubscriptionResponseReactivationInformation.java b/src/main/java/Model/GetSubscriptionResponseReactivationInformation.java index 7b04a4c24..ca4174da9 100644 --- a/src/main/java/Model/GetSubscriptionResponseReactivationInformation.java +++ b/src/main/java/Model/GetSubscriptionResponseReactivationInformation.java @@ -29,46 +29,46 @@ */ public class GetSubscriptionResponseReactivationInformation { - @SerializedName("skippedPaymentsCount") - private String skippedPaymentsCount = null; + @SerializedName("missedPaymentsCount") + private String missedPaymentsCount = null; - @SerializedName("skippedPaymentsTotalAmount") - private String skippedPaymentsTotalAmount = null; + @SerializedName("missedPaymentsTotalAmount") + private String missedPaymentsTotalAmount = null; - public GetSubscriptionResponseReactivationInformation skippedPaymentsCount(String skippedPaymentsCount) { - this.skippedPaymentsCount = skippedPaymentsCount; + public GetSubscriptionResponseReactivationInformation missedPaymentsCount(String missedPaymentsCount) { + this.missedPaymentsCount = missedPaymentsCount; return this; } /** * Number of payments that should have occurred while the subscription was in a suspended status. - * @return skippedPaymentsCount + * @return missedPaymentsCount **/ @ApiModelProperty(value = "Number of payments that should have occurred while the subscription was in a suspended status. ") - public String getSkippedPaymentsCount() { - return skippedPaymentsCount; + public String getMissedPaymentsCount() { + return missedPaymentsCount; } - public void setSkippedPaymentsCount(String skippedPaymentsCount) { - this.skippedPaymentsCount = skippedPaymentsCount; + public void setMissedPaymentsCount(String missedPaymentsCount) { + this.missedPaymentsCount = missedPaymentsCount; } - public GetSubscriptionResponseReactivationInformation skippedPaymentsTotalAmount(String skippedPaymentsTotalAmount) { - this.skippedPaymentsTotalAmount = skippedPaymentsTotalAmount; + public GetSubscriptionResponseReactivationInformation missedPaymentsTotalAmount(String missedPaymentsTotalAmount) { + this.missedPaymentsTotalAmount = missedPaymentsTotalAmount; return this; } /** - * Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. - * @return skippedPaymentsTotalAmount + * Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. + * @return missedPaymentsTotalAmount **/ - @ApiModelProperty(value = "Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. ") - public String getSkippedPaymentsTotalAmount() { - return skippedPaymentsTotalAmount; + @ApiModelProperty(value = "Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. ") + public String getMissedPaymentsTotalAmount() { + return missedPaymentsTotalAmount; } - public void setSkippedPaymentsTotalAmount(String skippedPaymentsTotalAmount) { - this.skippedPaymentsTotalAmount = skippedPaymentsTotalAmount; + public void setMissedPaymentsTotalAmount(String missedPaymentsTotalAmount) { + this.missedPaymentsTotalAmount = missedPaymentsTotalAmount; } @@ -81,13 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } GetSubscriptionResponseReactivationInformation getSubscriptionResponseReactivationInformation = (GetSubscriptionResponseReactivationInformation) o; - return Objects.equals(this.skippedPaymentsCount, getSubscriptionResponseReactivationInformation.skippedPaymentsCount) && - Objects.equals(this.skippedPaymentsTotalAmount, getSubscriptionResponseReactivationInformation.skippedPaymentsTotalAmount); + return Objects.equals(this.missedPaymentsCount, getSubscriptionResponseReactivationInformation.missedPaymentsCount) && + Objects.equals(this.missedPaymentsTotalAmount, getSubscriptionResponseReactivationInformation.missedPaymentsTotalAmount); } @Override public int hashCode() { - return Objects.hash(skippedPaymentsCount, skippedPaymentsTotalAmount); + return Objects.hash(missedPaymentsCount, missedPaymentsTotalAmount); } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetSubscriptionResponseReactivationInformation {\n"); - if (skippedPaymentsCount != null) sb.append(" skippedPaymentsCount: ").append(toIndentedString(skippedPaymentsCount)).append("\n"); - if (skippedPaymentsTotalAmount != null) sb.append(" skippedPaymentsTotalAmount: ").append(toIndentedString(skippedPaymentsTotalAmount)).append("\n"); + if (missedPaymentsCount != null) sb.append(" missedPaymentsCount: ").append(toIndentedString(missedPaymentsCount)).append("\n"); + if (missedPaymentsTotalAmount != null) sb.append(" missedPaymentsTotalAmount: ").append(toIndentedString(missedPaymentsTotalAmount)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse200.java b/src/main/java/Model/InlineResponse200.java index b8ac05c32..6ae6ec211 100644 --- a/src/main/java/Model/InlineResponse200.java +++ b/src/main/java/Model/InlineResponse200.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse200Content; +import Model.InlineResponse200Responses; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,101 +28,37 @@ import java.util.List; /** - * Represents the Card Art Asset associated to the Network Token. + * InlineResponse200 */ -@ApiModel(description = "Represents the Card Art Asset associated to the Network Token. ") public class InlineResponse200 { - @SerializedName("id") - private String id = null; + @SerializedName("responses") + private List responses = null; - @SerializedName("type") - private String type = null; - - @SerializedName("provider") - private String provider = null; - - @SerializedName("content") - private List content = null; - - public InlineResponse200 id(String id) { - this.id = id; - return this; - } - - /** - * Unique identifier for the Card Art Asset. - * @return id - **/ - @ApiModelProperty(example = "84cfb836a0000859be62c766bdc9e510", value = "Unique identifier for the Card Art Asset. ") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public InlineResponse200 type(String type) { - this.type = type; - return this; - } - - /** - * The type of Card Art Asset. - * @return type - **/ - @ApiModelProperty(example = "cardArtCombined", value = "The type of Card Art Asset. ") - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public InlineResponse200 provider(String provider) { - this.provider = provider; - return this; - } - - /** - * The provider of the Card Art Asset. - * @return provider - **/ - @ApiModelProperty(example = "vts", value = "The provider of the Card Art Asset. ") - public String getProvider() { - return provider; - } - - public void setProvider(String provider) { - this.provider = provider; - } - - public InlineResponse200 content(List content) { - this.content = content; + public InlineResponse200 responses(List responses) { + this.responses = responses; return this; } - public InlineResponse200 addContentItem(InlineResponse200Content contentItem) { - if (this.content == null) { - this.content = new ArrayList(); + public InlineResponse200 addResponsesItem(InlineResponse200Responses responsesItem) { + if (this.responses == null) { + this.responses = new ArrayList(); } - this.content.add(contentItem); + this.responses.add(responsesItem); return this; } /** - * Array of content objects representing the Card Art Asset. - * @return content + * Get responses + * @return responses **/ - @ApiModelProperty(value = "Array of content objects representing the Card Art Asset. ") - public List getContent() { - return content; + @ApiModelProperty(value = "") + public List getResponses() { + return responses; } - public void setContent(List content) { - this.content = content; + public void setResponses(List responses) { + this.responses = responses; } @@ -135,15 +71,12 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse200 inlineResponse200 = (InlineResponse200) o; - return Objects.equals(this.id, inlineResponse200.id) && - Objects.equals(this.type, inlineResponse200.type) && - Objects.equals(this.provider, inlineResponse200.provider) && - Objects.equals(this.content, inlineResponse200.content); + return Objects.equals(this.responses, inlineResponse200.responses); } @Override public int hashCode() { - return Objects.hash(id, type, provider, content); + return Objects.hash(responses); } @@ -152,10 +85,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse200 {\n"); - if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); - if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); - if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); - if (content != null) sb.append(" content: ").append(toIndentedString(content)).append("\n"); + if (responses != null) sb.append(" responses: ").append(toIndentedString(responses)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2001.java b/src/main/java/Model/InlineResponse2001.java index e2c1f865c..fa558958a 100644 --- a/src/main/java/Model/InlineResponse2001.java +++ b/src/main/java/Model/InlineResponse2001.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2001Embedded; +import Model.InlineResponse2001Content; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -24,23 +24,26 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** - * InlineResponse2001 + * Represents the Card Art Asset associated to the Network Token. */ +@ApiModel(description = "Represents the Card Art Asset associated to the Network Token. ") public class InlineResponse2001 { @SerializedName("id") private String id = null; - @SerializedName("submitTimeUtc") - private String submitTimeUtc = null; + @SerializedName("type") + private String type = null; - @SerializedName("status") - private String status = null; + @SerializedName("provider") + private String provider = null; - @SerializedName("_embedded") - private InlineResponse2001Embedded embedded = null; + @SerializedName("content") + private List content = null; public InlineResponse2001 id(String id) { this.id = id; @@ -48,10 +51,10 @@ public InlineResponse2001 id(String id) { } /** - * UUID uniquely generated for this comments. + * Unique identifier for the Card Art Asset. * @return id **/ - @ApiModelProperty(value = "UUID uniquely generated for this comments. ") + @ApiModelProperty(example = "84cfb836a0000859be62c766bdc9e510", value = "Unique identifier for the Card Art Asset. ") public String getId() { return id; } @@ -60,58 +63,66 @@ public void setId(String id) { this.id = id; } - public InlineResponse2001 submitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public InlineResponse2001 type(String type) { + this.type = type; return this; } /** - * Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. - * @return submitTimeUtc + * The type of Card Art Asset. + * @return type **/ - @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. Returned by Cybersource for all services. ") - public String getSubmitTimeUtc() { - return submitTimeUtc; + @ApiModelProperty(example = "cardArtCombined", value = "The type of Card Art Asset. ") + public String getType() { + return type; } - public void setSubmitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public void setType(String type) { + this.type = type; } - public InlineResponse2001 status(String status) { - this.status = status; + public InlineResponse2001 provider(String provider) { + this.provider = provider; return this; } /** - * The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` - * @return status + * The provider of the Card Art Asset. + * @return provider **/ - @ApiModelProperty(value = "The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` ") - public String getStatus() { - return status; + @ApiModelProperty(example = "vts", value = "The provider of the Card Art Asset. ") + public String getProvider() { + return provider; } - public void setStatus(String status) { - this.status = status; + public void setProvider(String provider) { + this.provider = provider; } - public InlineResponse2001 embedded(InlineResponse2001Embedded embedded) { - this.embedded = embedded; + public InlineResponse2001 content(List content) { + this.content = content; + return this; + } + + public InlineResponse2001 addContentItem(InlineResponse2001Content contentItem) { + if (this.content == null) { + this.content = new ArrayList(); + } + this.content.add(contentItem); return this; } /** - * Get embedded - * @return embedded + * Array of content objects representing the Card Art Asset. + * @return content **/ - @ApiModelProperty(value = "") - public InlineResponse2001Embedded getEmbedded() { - return embedded; + @ApiModelProperty(value = "Array of content objects representing the Card Art Asset. ") + public List getContent() { + return content; } - public void setEmbedded(InlineResponse2001Embedded embedded) { - this.embedded = embedded; + public void setContent(List content) { + this.content = content; } @@ -125,14 +136,14 @@ public boolean equals(java.lang.Object o) { } InlineResponse2001 inlineResponse2001 = (InlineResponse2001) o; return Objects.equals(this.id, inlineResponse2001.id) && - Objects.equals(this.submitTimeUtc, inlineResponse2001.submitTimeUtc) && - Objects.equals(this.status, inlineResponse2001.status) && - Objects.equals(this.embedded, inlineResponse2001.embedded); + Objects.equals(this.type, inlineResponse2001.type) && + Objects.equals(this.provider, inlineResponse2001.provider) && + Objects.equals(this.content, inlineResponse2001.content); } @Override public int hashCode() { - return Objects.hash(id, submitTimeUtc, status, embedded); + return Objects.hash(id, type, provider, content); } @@ -142,9 +153,9 @@ public String toString() { sb.append("class InlineResponse2001 {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); - if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); - if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (provider != null) sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + if (content != null) sb.append(" content: ").append(toIndentedString(content)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20010.java b/src/main/java/Model/InlineResponse20010.java index b9c23034d..fea8d6972 100644 --- a/src/main/java/Model/InlineResponse20010.java +++ b/src/main/java/Model/InlineResponse20010.java @@ -15,8 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010Embedded; -import Model.InlineResponse20010Links; +import Model.InlineResponse20010Devices; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,11 +32,8 @@ */ public class InlineResponse20010 { - @SerializedName("_links") - private List links = null; - - @SerializedName("object") - private String object = null; + @SerializedName("totalCount") + private Integer totalCount = null; @SerializedName("offset") private Integer offset = null; @@ -45,57 +41,31 @@ public class InlineResponse20010 { @SerializedName("limit") private Integer limit = null; + @SerializedName("sort") + private String sort = null; + @SerializedName("count") private Integer count = null; - @SerializedName("total") - private Integer total = null; - - @SerializedName("_embedded") - private InlineResponse20010Embedded embedded = null; - - public InlineResponse20010 links(List links) { - this.links = links; - return this; - } - - public InlineResponse20010 addLinksItem(InlineResponse20010Links linksItem) { - if (this.links == null) { - this.links = new ArrayList(); - } - this.links.add(linksItem); - return this; - } - - /** - * Get links - * @return links - **/ - @ApiModelProperty(value = "") - public List getLinks() { - return links; - } - - public void setLinks(List links) { - this.links = links; - } + @SerializedName("devices") + private List devices = null; - public InlineResponse20010 object(String object) { - this.object = object; + public InlineResponse20010 totalCount(Integer totalCount) { + this.totalCount = totalCount; return this; } /** - * Get object - * @return object + * Total number of results. + * @return totalCount **/ - @ApiModelProperty(example = "collection", value = "") - public String getObject() { - return object; + @ApiModelProperty(value = "Total number of results.") + public Integer getTotalCount() { + return totalCount; } - public void setObject(String object) { - this.object = object; + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; } public InlineResponse20010 offset(Integer offset) { @@ -104,10 +74,10 @@ public InlineResponse20010 offset(Integer offset) { } /** - * Get offset + * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. * @return offset **/ - @ApiModelProperty(example = "0", value = "") + @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") public Integer getOffset() { return offset; } @@ -122,10 +92,10 @@ public InlineResponse20010 limit(Integer limit) { } /** - * Get limit + * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. * @return limit **/ - @ApiModelProperty(example = "20", value = "") + @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") public Integer getLimit() { return limit; } @@ -134,16 +104,34 @@ public void setLimit(Integer limit) { this.limit = limit; } + public InlineResponse20010 sort(String sort) { + this.sort = sort; + return this; + } + + /** + * A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` + * @return sort + **/ + @ApiModelProperty(value = "A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` ") + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } + public InlineResponse20010 count(Integer count) { this.count = count; return this; } /** - * Get count + * Results for this page, this could be below the limit. * @return count **/ - @ApiModelProperty(example = "1", value = "") + @ApiModelProperty(value = "Results for this page, this could be below the limit.") public Integer getCount() { return count; } @@ -152,40 +140,30 @@ public void setCount(Integer count) { this.count = count; } - public InlineResponse20010 total(Integer total) { - this.total = total; + public InlineResponse20010 devices(List devices) { + this.devices = devices; return this; } - /** - * Get total - * @return total - **/ - @ApiModelProperty(example = "1", value = "") - public Integer getTotal() { - return total; - } - - public void setTotal(Integer total) { - this.total = total; - } - - public InlineResponse20010 embedded(InlineResponse20010Embedded embedded) { - this.embedded = embedded; + public InlineResponse20010 addDevicesItem(InlineResponse20010Devices devicesItem) { + if (this.devices == null) { + this.devices = new ArrayList(); + } + this.devices.add(devicesItem); return this; } /** - * Get embedded - * @return embedded + * A collection of devices + * @return devices **/ - @ApiModelProperty(value = "") - public InlineResponse20010Embedded getEmbedded() { - return embedded; + @ApiModelProperty(value = "A collection of devices") + public List getDevices() { + return devices; } - public void setEmbedded(InlineResponse20010Embedded embedded) { - this.embedded = embedded; + public void setDevices(List devices) { + this.devices = devices; } @@ -198,18 +176,17 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse20010 inlineResponse20010 = (InlineResponse20010) o; - return Objects.equals(this.links, inlineResponse20010.links) && - Objects.equals(this.object, inlineResponse20010.object) && + return Objects.equals(this.totalCount, inlineResponse20010.totalCount) && Objects.equals(this.offset, inlineResponse20010.offset) && Objects.equals(this.limit, inlineResponse20010.limit) && + Objects.equals(this.sort, inlineResponse20010.sort) && Objects.equals(this.count, inlineResponse20010.count) && - Objects.equals(this.total, inlineResponse20010.total) && - Objects.equals(this.embedded, inlineResponse20010.embedded); + Objects.equals(this.devices, inlineResponse20010.devices); } @Override public int hashCode() { - return Objects.hash(links, object, offset, limit, count, total, embedded); + return Objects.hash(totalCount, offset, limit, sort, count, devices); } @@ -218,13 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse20010 {\n"); - if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); - if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); - if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); - if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2009Devices.java b/src/main/java/Model/InlineResponse20010Devices.java similarity index 78% rename from src/main/java/Model/InlineResponse2009Devices.java rename to src/main/java/Model/InlineResponse20010Devices.java index b4e5aad7a..17c19f6f4 100644 --- a/src/main/java/Model/InlineResponse2009Devices.java +++ b/src/main/java/Model/InlineResponse20010Devices.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2009PaymentProcessorToTerminalMap; +import Model.InlineResponse20010PaymentProcessorToTerminalMap; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,10 +27,10 @@ import org.joda.time.DateTime; /** - * InlineResponse2009Devices + * InlineResponse20010Devices */ -public class InlineResponse2009Devices { +public class InlineResponse20010Devices { @SerializedName("readerId") private String readerId = null; @@ -65,9 +65,9 @@ public class InlineResponse2009Devices { private DateTime terminalUpdationDate = null; @SerializedName("paymentProcessorToTerminalMap") - private InlineResponse2009PaymentProcessorToTerminalMap paymentProcessorToTerminalMap = null; + private InlineResponse20010PaymentProcessorToTerminalMap paymentProcessorToTerminalMap = null; - public InlineResponse2009Devices readerId(String readerId) { + public InlineResponse20010Devices readerId(String readerId) { this.readerId = readerId; return this; } @@ -85,7 +85,7 @@ public void setReaderId(String readerId) { this.readerId = readerId; } - public InlineResponse2009Devices serialNumber(String serialNumber) { + public InlineResponse20010Devices serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } @@ -103,7 +103,7 @@ public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } - public InlineResponse2009Devices model(String model) { + public InlineResponse20010Devices model(String model) { this.model = model; return this; } @@ -121,7 +121,7 @@ public void setModel(String model) { this.model = model; } - public InlineResponse2009Devices make(String make) { + public InlineResponse20010Devices make(String make) { this.make = make; return this; } @@ -139,7 +139,7 @@ public void setMake(String make) { this.make = make; } - public InlineResponse2009Devices hardwareRevision(String hardwareRevision) { + public InlineResponse20010Devices hardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; return this; } @@ -157,7 +157,7 @@ public void setHardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; } - public InlineResponse2009Devices status(String status) { + public InlineResponse20010Devices status(String status) { this.status = status; return this; } @@ -175,7 +175,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2009Devices statusChangeReason(String statusChangeReason) { + public InlineResponse20010Devices statusChangeReason(String statusChangeReason) { this.statusChangeReason = statusChangeReason; return this; } @@ -193,7 +193,7 @@ public void setStatusChangeReason(String statusChangeReason) { this.statusChangeReason = statusChangeReason; } - public InlineResponse2009Devices merchantId(String merchantId) { + public InlineResponse20010Devices merchantId(String merchantId) { this.merchantId = merchantId; return this; } @@ -211,7 +211,7 @@ public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - public InlineResponse2009Devices accountId(String accountId) { + public InlineResponse20010Devices accountId(String accountId) { this.accountId = accountId; return this; } @@ -229,7 +229,7 @@ public void setAccountId(String accountId) { this.accountId = accountId; } - public InlineResponse2009Devices terminalCreationDate(DateTime terminalCreationDate) { + public InlineResponse20010Devices terminalCreationDate(DateTime terminalCreationDate) { this.terminalCreationDate = terminalCreationDate; return this; } @@ -247,7 +247,7 @@ public void setTerminalCreationDate(DateTime terminalCreationDate) { this.terminalCreationDate = terminalCreationDate; } - public InlineResponse2009Devices terminalUpdationDate(DateTime terminalUpdationDate) { + public InlineResponse20010Devices terminalUpdationDate(DateTime terminalUpdationDate) { this.terminalUpdationDate = terminalUpdationDate; return this; } @@ -265,7 +265,7 @@ public void setTerminalUpdationDate(DateTime terminalUpdationDate) { this.terminalUpdationDate = terminalUpdationDate; } - public InlineResponse2009Devices paymentProcessorToTerminalMap(InlineResponse2009PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { + public InlineResponse20010Devices paymentProcessorToTerminalMap(InlineResponse20010PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { this.paymentProcessorToTerminalMap = paymentProcessorToTerminalMap; return this; } @@ -275,11 +275,11 @@ public InlineResponse2009Devices paymentProcessorToTerminalMap(InlineResponse200 * @return paymentProcessorToTerminalMap **/ @ApiModelProperty(value = "") - public InlineResponse2009PaymentProcessorToTerminalMap getPaymentProcessorToTerminalMap() { + public InlineResponse20010PaymentProcessorToTerminalMap getPaymentProcessorToTerminalMap() { return paymentProcessorToTerminalMap; } - public void setPaymentProcessorToTerminalMap(InlineResponse2009PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { + public void setPaymentProcessorToTerminalMap(InlineResponse20010PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { this.paymentProcessorToTerminalMap = paymentProcessorToTerminalMap; } @@ -292,19 +292,19 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009Devices inlineResponse2009Devices = (InlineResponse2009Devices) o; - return Objects.equals(this.readerId, inlineResponse2009Devices.readerId) && - Objects.equals(this.serialNumber, inlineResponse2009Devices.serialNumber) && - Objects.equals(this.model, inlineResponse2009Devices.model) && - Objects.equals(this.make, inlineResponse2009Devices.make) && - Objects.equals(this.hardwareRevision, inlineResponse2009Devices.hardwareRevision) && - Objects.equals(this.status, inlineResponse2009Devices.status) && - Objects.equals(this.statusChangeReason, inlineResponse2009Devices.statusChangeReason) && - Objects.equals(this.merchantId, inlineResponse2009Devices.merchantId) && - Objects.equals(this.accountId, inlineResponse2009Devices.accountId) && - Objects.equals(this.terminalCreationDate, inlineResponse2009Devices.terminalCreationDate) && - Objects.equals(this.terminalUpdationDate, inlineResponse2009Devices.terminalUpdationDate) && - Objects.equals(this.paymentProcessorToTerminalMap, inlineResponse2009Devices.paymentProcessorToTerminalMap); + InlineResponse20010Devices inlineResponse20010Devices = (InlineResponse20010Devices) o; + return Objects.equals(this.readerId, inlineResponse20010Devices.readerId) && + Objects.equals(this.serialNumber, inlineResponse20010Devices.serialNumber) && + Objects.equals(this.model, inlineResponse20010Devices.model) && + Objects.equals(this.make, inlineResponse20010Devices.make) && + Objects.equals(this.hardwareRevision, inlineResponse20010Devices.hardwareRevision) && + Objects.equals(this.status, inlineResponse20010Devices.status) && + Objects.equals(this.statusChangeReason, inlineResponse20010Devices.statusChangeReason) && + Objects.equals(this.merchantId, inlineResponse20010Devices.merchantId) && + Objects.equals(this.accountId, inlineResponse20010Devices.accountId) && + Objects.equals(this.terminalCreationDate, inlineResponse20010Devices.terminalCreationDate) && + Objects.equals(this.terminalUpdationDate, inlineResponse20010Devices.terminalUpdationDate) && + Objects.equals(this.paymentProcessorToTerminalMap, inlineResponse20010Devices.paymentProcessorToTerminalMap); } @Override @@ -316,7 +316,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009Devices {\n"); + sb.append("class InlineResponse20010Devices {\n"); if (readerId != null) sb.append(" readerId: ").append(toIndentedString(readerId)).append("\n"); if (serialNumber != null) sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20010Links.java b/src/main/java/Model/InlineResponse20010Links.java deleted file mode 100644 index 68e70cb16..000000000 --- a/src/main/java/Model/InlineResponse20010Links.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * InlineResponse20010Links - */ - -public class InlineResponse20010Links { - @SerializedName("rel") - private String rel = null; - - @SerializedName("href") - private String href = null; - - public InlineResponse20010Links rel(String rel) { - this.rel = rel; - return this; - } - - /** - * Valid Values: * self * first * last * prev * next - * @return rel - **/ - @ApiModelProperty(value = "Valid Values: * self * first * last * prev * next ") - public String getRel() { - return rel; - } - - public void setRel(String rel) { - this.rel = rel; - } - - public InlineResponse20010Links href(String href) { - this.href = href; - return this; - } - - /** - * Get href - * @return href - **/ - @ApiModelProperty(example = "https://api.cybersource.com/accountupdater/v1/batches?offset=0&limit=20", value = "") - public String getHref() { - return href; - } - - public void setHref(String href) { - this.href = href; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InlineResponse20010Links inlineResponse20010Links = (InlineResponse20010Links) o; - return Objects.equals(this.rel, inlineResponse20010Links.rel) && - Objects.equals(this.href, inlineResponse20010Links.href); - } - - @Override - public int hashCode() { - return Objects.hash(rel, href); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010Links {\n"); - - if (rel != null) sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); - if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/InlineResponse2009PaymentProcessorToTerminalMap.java b/src/main/java/Model/InlineResponse20010PaymentProcessorToTerminalMap.java similarity index 78% rename from src/main/java/Model/InlineResponse2009PaymentProcessorToTerminalMap.java rename to src/main/java/Model/InlineResponse20010PaymentProcessorToTerminalMap.java index 72b936c44..39839d895 100644 --- a/src/main/java/Model/InlineResponse2009PaymentProcessorToTerminalMap.java +++ b/src/main/java/Model/InlineResponse20010PaymentProcessorToTerminalMap.java @@ -29,14 +29,14 @@ */ @ApiModel(description = "Mapping between processor and Terminal.") -public class InlineResponse2009PaymentProcessorToTerminalMap { +public class InlineResponse20010PaymentProcessorToTerminalMap { @SerializedName("processor") private String processor = null; @SerializedName("terminalId") private String terminalId = null; - public InlineResponse2009PaymentProcessorToTerminalMap processor(String processor) { + public InlineResponse20010PaymentProcessorToTerminalMap processor(String processor) { this.processor = processor; return this; } @@ -54,7 +54,7 @@ public void setProcessor(String processor) { this.processor = processor; } - public InlineResponse2009PaymentProcessorToTerminalMap terminalId(String terminalId) { + public InlineResponse20010PaymentProcessorToTerminalMap terminalId(String terminalId) { this.terminalId = terminalId; return this; } @@ -81,9 +81,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009PaymentProcessorToTerminalMap inlineResponse2009PaymentProcessorToTerminalMap = (InlineResponse2009PaymentProcessorToTerminalMap) o; - return Objects.equals(this.processor, inlineResponse2009PaymentProcessorToTerminalMap.processor) && - Objects.equals(this.terminalId, inlineResponse2009PaymentProcessorToTerminalMap.terminalId); + InlineResponse20010PaymentProcessorToTerminalMap inlineResponse20010PaymentProcessorToTerminalMap = (InlineResponse20010PaymentProcessorToTerminalMap) o; + return Objects.equals(this.processor, inlineResponse20010PaymentProcessorToTerminalMap.processor) && + Objects.equals(this.terminalId, inlineResponse20010PaymentProcessorToTerminalMap.terminalId); } @Override @@ -95,7 +95,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009PaymentProcessorToTerminalMap {\n"); + sb.append("class InlineResponse20010PaymentProcessorToTerminalMap {\n"); if (processor != null) sb.append(" processor: ").append(toIndentedString(processor)).append("\n"); if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20011.java b/src/main/java/Model/InlineResponse20011.java index 7d0e009fb..53d8fea3c 100644 --- a/src/main/java/Model/InlineResponse20011.java +++ b/src/main/java/Model/InlineResponse20011.java @@ -15,8 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010EmbeddedTotals; -import Model.InlineResponse20011Billing; +import Model.InlineResponse20011Embedded; import Model.InlineResponse20011Links; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -26,6 +25,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * InlineResponse20011 @@ -33,213 +34,158 @@ public class InlineResponse20011 { @SerializedName("_links") - private InlineResponse20011Links links = null; + private List links = null; - @SerializedName("batchId") - private String batchId = null; + @SerializedName("object") + private String object = null; - @SerializedName("batchCreatedDate") - private String batchCreatedDate = null; + @SerializedName("offset") + private Integer offset = null; - @SerializedName("batchSource") - private String batchSource = null; + @SerializedName("limit") + private Integer limit = null; - @SerializedName("merchantReference") - private String merchantReference = null; + @SerializedName("count") + private Integer count = null; - @SerializedName("batchCaEndpoints") - private String batchCaEndpoints = null; + @SerializedName("total") + private Integer total = null; - @SerializedName("status") - private String status = null; + @SerializedName("_embedded") + private InlineResponse20011Embedded embedded = null; - @SerializedName("totals") - private InlineResponse20010EmbeddedTotals totals = null; - - @SerializedName("billing") - private InlineResponse20011Billing billing = null; - - @SerializedName("description") - private String description = null; - - public InlineResponse20011 links(InlineResponse20011Links links) { + public InlineResponse20011 links(List links) { this.links = links; return this; } + public InlineResponse20011 addLinksItem(InlineResponse20011Links linksItem) { + if (this.links == null) { + this.links = new ArrayList(); + } + this.links.add(linksItem); + return this; + } + /** * Get links * @return links **/ @ApiModelProperty(value = "") - public InlineResponse20011Links getLinks() { + public List getLinks() { return links; } - public void setLinks(InlineResponse20011Links links) { + public void setLinks(List links) { this.links = links; } - public InlineResponse20011 batchId(String batchId) { - this.batchId = batchId; - return this; - } - - /** - * Unique identification number assigned to the submitted request. - * @return batchId - **/ - @ApiModelProperty(example = "16188390061150001062041064", value = "Unique identification number assigned to the submitted request.") - public String getBatchId() { - return batchId; - } - - public void setBatchId(String batchId) { - this.batchId = batchId; - } - - public InlineResponse20011 batchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public InlineResponse20011 object(String object) { + this.object = object; return this; } /** - * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - * @return batchCreatedDate + * Get object + * @return object **/ - @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") - public String getBatchCreatedDate() { - return batchCreatedDate; + @ApiModelProperty(example = "collection", value = "") + public String getObject() { + return object; } - public void setBatchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public void setObject(String object) { + this.object = object; } - public InlineResponse20011 batchSource(String batchSource) { - this.batchSource = batchSource; + public InlineResponse20011 offset(Integer offset) { + this.offset = offset; return this; } /** - * Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - * @return batchSource + * Get offset + * @return offset **/ - @ApiModelProperty(value = "Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE ") - public String getBatchSource() { - return batchSource; + @ApiModelProperty(example = "0", value = "") + public Integer getOffset() { + return offset; } - public void setBatchSource(String batchSource) { - this.batchSource = batchSource; + public void setOffset(Integer offset) { + this.offset = offset; } - public InlineResponse20011 merchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public InlineResponse20011 limit(Integer limit) { + this.limit = limit; return this; } /** - * Reference used by merchant to identify batch. - * @return merchantReference + * Get limit + * @return limit **/ - @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") - public String getMerchantReference() { - return merchantReference; + @ApiModelProperty(example = "20", value = "") + public Integer getLimit() { + return limit; } - public void setMerchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public void setLimit(Integer limit) { + this.limit = limit; } - public InlineResponse20011 batchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public InlineResponse20011 count(Integer count) { + this.count = count; return this; } /** - * Get batchCaEndpoints - * @return batchCaEndpoints + * Get count + * @return count **/ - @ApiModelProperty(example = "VISA,MASTERCARD", value = "") - public String getBatchCaEndpoints() { - return batchCaEndpoints; + @ApiModelProperty(example = "1", value = "") + public Integer getCount() { + return count; } - public void setBatchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public void setCount(Integer count) { + this.count = count; } - public InlineResponse20011 status(String status) { - this.status = status; + public InlineResponse20011 total(Integer total) { + this.total = total; return this; } /** - * Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - * @return status + * Get total + * @return total **/ - @ApiModelProperty(value = "Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED ") - public String getStatus() { - return status; + @ApiModelProperty(example = "1", value = "") + public Integer getTotal() { + return total; } - public void setStatus(String status) { - this.status = status; + public void setTotal(Integer total) { + this.total = total; } - public InlineResponse20011 totals(InlineResponse20010EmbeddedTotals totals) { - this.totals = totals; + public InlineResponse20011 embedded(InlineResponse20011Embedded embedded) { + this.embedded = embedded; return this; } /** - * Get totals - * @return totals + * Get embedded + * @return embedded **/ @ApiModelProperty(value = "") - public InlineResponse20010EmbeddedTotals getTotals() { - return totals; - } - - public void setTotals(InlineResponse20010EmbeddedTotals totals) { - this.totals = totals; - } - - public InlineResponse20011 billing(InlineResponse20011Billing billing) { - this.billing = billing; - return this; - } - - /** - * Get billing - * @return billing - **/ - @ApiModelProperty(value = "") - public InlineResponse20011Billing getBilling() { - return billing; - } - - public void setBilling(InlineResponse20011Billing billing) { - this.billing = billing; - } - - public InlineResponse20011 description(String description) { - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @ApiModelProperty(example = "Your batch has been received, and is being checked for errors.", value = "") - public String getDescription() { - return description; + public InlineResponse20011Embedded getEmbedded() { + return embedded; } - public void setDescription(String description) { - this.description = description; + public void setEmbedded(InlineResponse20011Embedded embedded) { + this.embedded = embedded; } @@ -253,20 +199,17 @@ public boolean equals(java.lang.Object o) { } InlineResponse20011 inlineResponse20011 = (InlineResponse20011) o; return Objects.equals(this.links, inlineResponse20011.links) && - Objects.equals(this.batchId, inlineResponse20011.batchId) && - Objects.equals(this.batchCreatedDate, inlineResponse20011.batchCreatedDate) && - Objects.equals(this.batchSource, inlineResponse20011.batchSource) && - Objects.equals(this.merchantReference, inlineResponse20011.merchantReference) && - Objects.equals(this.batchCaEndpoints, inlineResponse20011.batchCaEndpoints) && - Objects.equals(this.status, inlineResponse20011.status) && - Objects.equals(this.totals, inlineResponse20011.totals) && - Objects.equals(this.billing, inlineResponse20011.billing) && - Objects.equals(this.description, inlineResponse20011.description); + Objects.equals(this.object, inlineResponse20011.object) && + Objects.equals(this.offset, inlineResponse20011.offset) && + Objects.equals(this.limit, inlineResponse20011.limit) && + Objects.equals(this.count, inlineResponse20011.count) && + Objects.equals(this.total, inlineResponse20011.total) && + Objects.equals(this.embedded, inlineResponse20011.embedded); } @Override public int hashCode() { - return Objects.hash(links, batchId, batchCreatedDate, batchSource, merchantReference, batchCaEndpoints, status, totals, billing, description); + return Objects.hash(links, object, offset, limit, count, total, embedded); } @@ -276,15 +219,12 @@ public String toString() { sb.append("class InlineResponse20011 {\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); - if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); - if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); - if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); - if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); - if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); - if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20010Embedded.java b/src/main/java/Model/InlineResponse20011Embedded.java similarity index 71% rename from src/main/java/Model/InlineResponse20010Embedded.java rename to src/main/java/Model/InlineResponse20011Embedded.java index f60fe0585..9179347cf 100644 --- a/src/main/java/Model/InlineResponse20010Embedded.java +++ b/src/main/java/Model/InlineResponse20011Embedded.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010EmbeddedBatches; +import Model.InlineResponse20011EmbeddedBatches; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,21 +28,21 @@ import java.util.List; /** - * InlineResponse20010Embedded + * InlineResponse20011Embedded */ -public class InlineResponse20010Embedded { +public class InlineResponse20011Embedded { @SerializedName("batches") - private List batches = null; + private List batches = null; - public InlineResponse20010Embedded batches(List batches) { + public InlineResponse20011Embedded batches(List batches) { this.batches = batches; return this; } - public InlineResponse20010Embedded addBatchesItem(InlineResponse20010EmbeddedBatches batchesItem) { + public InlineResponse20011Embedded addBatchesItem(InlineResponse20011EmbeddedBatches batchesItem) { if (this.batches == null) { - this.batches = new ArrayList(); + this.batches = new ArrayList(); } this.batches.add(batchesItem); return this; @@ -53,11 +53,11 @@ public InlineResponse20010Embedded addBatchesItem(InlineResponse20010EmbeddedBat * @return batches **/ @ApiModelProperty(value = "") - public List getBatches() { + public List getBatches() { return batches; } - public void setBatches(List batches) { + public void setBatches(List batches) { this.batches = batches; } @@ -70,8 +70,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010Embedded inlineResponse20010Embedded = (InlineResponse20010Embedded) o; - return Objects.equals(this.batches, inlineResponse20010Embedded.batches); + InlineResponse20011Embedded inlineResponse20011Embedded = (InlineResponse20011Embedded) o; + return Objects.equals(this.batches, inlineResponse20011Embedded.batches); } @Override @@ -83,7 +83,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010Embedded {\n"); + sb.append("class InlineResponse20011Embedded {\n"); if (batches != null) sb.append(" batches: ").append(toIndentedString(batches)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse20010EmbeddedBatches.java b/src/main/java/Model/InlineResponse20011EmbeddedBatches.java similarity index 80% rename from src/main/java/Model/InlineResponse20010EmbeddedBatches.java rename to src/main/java/Model/InlineResponse20011EmbeddedBatches.java index 64e325f14..6b2b8ca8d 100644 --- a/src/main/java/Model/InlineResponse20010EmbeddedBatches.java +++ b/src/main/java/Model/InlineResponse20011EmbeddedBatches.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010EmbeddedLinks; -import Model.InlineResponse20010EmbeddedTotals; +import Model.InlineResponse20011EmbeddedLinks; +import Model.InlineResponse20011EmbeddedTotals; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,12 +29,12 @@ import java.util.List; /** - * InlineResponse20010EmbeddedBatches + * InlineResponse20011EmbeddedBatches */ -public class InlineResponse20010EmbeddedBatches { +public class InlineResponse20011EmbeddedBatches { @SerializedName("_links") - private InlineResponse20010EmbeddedLinks links = null; + private InlineResponse20011EmbeddedLinks links = null; @SerializedName("batchId") private String batchId = null; @@ -61,9 +61,9 @@ public class InlineResponse20010EmbeddedBatches { private String status = null; @SerializedName("totals") - private InlineResponse20010EmbeddedTotals totals = null; + private InlineResponse20011EmbeddedTotals totals = null; - public InlineResponse20010EmbeddedBatches links(InlineResponse20010EmbeddedLinks links) { + public InlineResponse20011EmbeddedBatches links(InlineResponse20011EmbeddedLinks links) { this.links = links; return this; } @@ -73,15 +73,15 @@ public InlineResponse20010EmbeddedBatches links(InlineResponse20010EmbeddedLinks * @return links **/ @ApiModelProperty(value = "") - public InlineResponse20010EmbeddedLinks getLinks() { + public InlineResponse20011EmbeddedLinks getLinks() { return links; } - public void setLinks(InlineResponse20010EmbeddedLinks links) { + public void setLinks(InlineResponse20011EmbeddedLinks links) { this.links = links; } - public InlineResponse20010EmbeddedBatches batchId(String batchId) { + public InlineResponse20011EmbeddedBatches batchId(String batchId) { this.batchId = batchId; return this; } @@ -99,7 +99,7 @@ public void setBatchId(String batchId) { this.batchId = batchId; } - public InlineResponse20010EmbeddedBatches batchCreatedDate(String batchCreatedDate) { + public InlineResponse20011EmbeddedBatches batchCreatedDate(String batchCreatedDate) { this.batchCreatedDate = batchCreatedDate; return this; } @@ -117,7 +117,7 @@ public void setBatchCreatedDate(String batchCreatedDate) { this.batchCreatedDate = batchCreatedDate; } - public InlineResponse20010EmbeddedBatches batchModifiedDate(String batchModifiedDate) { + public InlineResponse20011EmbeddedBatches batchModifiedDate(String batchModifiedDate) { this.batchModifiedDate = batchModifiedDate; return this; } @@ -135,7 +135,7 @@ public void setBatchModifiedDate(String batchModifiedDate) { this.batchModifiedDate = batchModifiedDate; } - public InlineResponse20010EmbeddedBatches batchSource(String batchSource) { + public InlineResponse20011EmbeddedBatches batchSource(String batchSource) { this.batchSource = batchSource; return this; } @@ -153,7 +153,7 @@ public void setBatchSource(String batchSource) { this.batchSource = batchSource; } - public InlineResponse20010EmbeddedBatches tokenSource(String tokenSource) { + public InlineResponse20011EmbeddedBatches tokenSource(String tokenSource) { this.tokenSource = tokenSource; return this; } @@ -171,7 +171,7 @@ public void setTokenSource(String tokenSource) { this.tokenSource = tokenSource; } - public InlineResponse20010EmbeddedBatches merchantReference(String merchantReference) { + public InlineResponse20011EmbeddedBatches merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } @@ -189,12 +189,12 @@ public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - public InlineResponse20010EmbeddedBatches batchCaEndpoints(List batchCaEndpoints) { + public InlineResponse20011EmbeddedBatches batchCaEndpoints(List batchCaEndpoints) { this.batchCaEndpoints = batchCaEndpoints; return this; } - public InlineResponse20010EmbeddedBatches addBatchCaEndpointsItem(String batchCaEndpointsItem) { + public InlineResponse20011EmbeddedBatches addBatchCaEndpointsItem(String batchCaEndpointsItem) { if (this.batchCaEndpoints == null) { this.batchCaEndpoints = new ArrayList(); } @@ -215,7 +215,7 @@ public void setBatchCaEndpoints(List batchCaEndpoints) { this.batchCaEndpoints = batchCaEndpoints; } - public InlineResponse20010EmbeddedBatches status(String status) { + public InlineResponse20011EmbeddedBatches status(String status) { this.status = status; return this; } @@ -233,7 +233,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse20010EmbeddedBatches totals(InlineResponse20010EmbeddedTotals totals) { + public InlineResponse20011EmbeddedBatches totals(InlineResponse20011EmbeddedTotals totals) { this.totals = totals; return this; } @@ -243,11 +243,11 @@ public InlineResponse20010EmbeddedBatches totals(InlineResponse20010EmbeddedTota * @return totals **/ @ApiModelProperty(value = "") - public InlineResponse20010EmbeddedTotals getTotals() { + public InlineResponse20011EmbeddedTotals getTotals() { return totals; } - public void setTotals(InlineResponse20010EmbeddedTotals totals) { + public void setTotals(InlineResponse20011EmbeddedTotals totals) { this.totals = totals; } @@ -260,17 +260,17 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010EmbeddedBatches inlineResponse20010EmbeddedBatches = (InlineResponse20010EmbeddedBatches) o; - return Objects.equals(this.links, inlineResponse20010EmbeddedBatches.links) && - Objects.equals(this.batchId, inlineResponse20010EmbeddedBatches.batchId) && - Objects.equals(this.batchCreatedDate, inlineResponse20010EmbeddedBatches.batchCreatedDate) && - Objects.equals(this.batchModifiedDate, inlineResponse20010EmbeddedBatches.batchModifiedDate) && - Objects.equals(this.batchSource, inlineResponse20010EmbeddedBatches.batchSource) && - Objects.equals(this.tokenSource, inlineResponse20010EmbeddedBatches.tokenSource) && - Objects.equals(this.merchantReference, inlineResponse20010EmbeddedBatches.merchantReference) && - Objects.equals(this.batchCaEndpoints, inlineResponse20010EmbeddedBatches.batchCaEndpoints) && - Objects.equals(this.status, inlineResponse20010EmbeddedBatches.status) && - Objects.equals(this.totals, inlineResponse20010EmbeddedBatches.totals); + InlineResponse20011EmbeddedBatches inlineResponse20011EmbeddedBatches = (InlineResponse20011EmbeddedBatches) o; + return Objects.equals(this.links, inlineResponse20011EmbeddedBatches.links) && + Objects.equals(this.batchId, inlineResponse20011EmbeddedBatches.batchId) && + Objects.equals(this.batchCreatedDate, inlineResponse20011EmbeddedBatches.batchCreatedDate) && + Objects.equals(this.batchModifiedDate, inlineResponse20011EmbeddedBatches.batchModifiedDate) && + Objects.equals(this.batchSource, inlineResponse20011EmbeddedBatches.batchSource) && + Objects.equals(this.tokenSource, inlineResponse20011EmbeddedBatches.tokenSource) && + Objects.equals(this.merchantReference, inlineResponse20011EmbeddedBatches.merchantReference) && + Objects.equals(this.batchCaEndpoints, inlineResponse20011EmbeddedBatches.batchCaEndpoints) && + Objects.equals(this.status, inlineResponse20011EmbeddedBatches.status) && + Objects.equals(this.totals, inlineResponse20011EmbeddedBatches.totals); } @Override @@ -282,7 +282,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010EmbeddedBatches {\n"); + sb.append("class InlineResponse20011EmbeddedBatches {\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20010EmbeddedLinks.java b/src/main/java/Model/InlineResponse20011EmbeddedLinks.java similarity index 70% rename from src/main/java/Model/InlineResponse20010EmbeddedLinks.java rename to src/main/java/Model/InlineResponse20011EmbeddedLinks.java index c2ba48ef0..5b12117b4 100644 --- a/src/main/java/Model/InlineResponse20010EmbeddedLinks.java +++ b/src/main/java/Model/InlineResponse20011EmbeddedLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010EmbeddedLinksReports; +import Model.InlineResponse20011EmbeddedLinksReports; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,21 +28,21 @@ import java.util.List; /** - * InlineResponse20010EmbeddedLinks + * InlineResponse20011EmbeddedLinks */ -public class InlineResponse20010EmbeddedLinks { +public class InlineResponse20011EmbeddedLinks { @SerializedName("reports") - private List reports = null; + private List reports = null; - public InlineResponse20010EmbeddedLinks reports(List reports) { + public InlineResponse20011EmbeddedLinks reports(List reports) { this.reports = reports; return this; } - public InlineResponse20010EmbeddedLinks addReportsItem(InlineResponse20010EmbeddedLinksReports reportsItem) { + public InlineResponse20011EmbeddedLinks addReportsItem(InlineResponse20011EmbeddedLinksReports reportsItem) { if (this.reports == null) { - this.reports = new ArrayList(); + this.reports = new ArrayList(); } this.reports.add(reportsItem); return this; @@ -53,11 +53,11 @@ public InlineResponse20010EmbeddedLinks addReportsItem(InlineResponse20010Embedd * @return reports **/ @ApiModelProperty(value = "") - public List getReports() { + public List getReports() { return reports; } - public void setReports(List reports) { + public void setReports(List reports) { this.reports = reports; } @@ -70,8 +70,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010EmbeddedLinks inlineResponse20010EmbeddedLinks = (InlineResponse20010EmbeddedLinks) o; - return Objects.equals(this.reports, inlineResponse20010EmbeddedLinks.reports); + InlineResponse20011EmbeddedLinks inlineResponse20011EmbeddedLinks = (InlineResponse20011EmbeddedLinks) o; + return Objects.equals(this.reports, inlineResponse20011EmbeddedLinks.reports); } @Override @@ -83,7 +83,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010EmbeddedLinks {\n"); + sb.append("class InlineResponse20011EmbeddedLinks {\n"); if (reports != null) sb.append(" reports: ").append(toIndentedString(reports)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse20010EmbeddedLinksReports.java b/src/main/java/Model/InlineResponse20011EmbeddedLinksReports.java similarity index 85% rename from src/main/java/Model/InlineResponse20010EmbeddedLinksReports.java rename to src/main/java/Model/InlineResponse20011EmbeddedLinksReports.java index c919c35ba..c341206cc 100644 --- a/src/main/java/Model/InlineResponse20010EmbeddedLinksReports.java +++ b/src/main/java/Model/InlineResponse20011EmbeddedLinksReports.java @@ -29,11 +29,11 @@ */ @ApiModel(description = "Retrieve the generated report of a batch when available.") -public class InlineResponse20010EmbeddedLinksReports { +public class InlineResponse20011EmbeddedLinksReports { @SerializedName("href") private String href = null; - public InlineResponse20010EmbeddedLinksReports href(String href) { + public InlineResponse20011EmbeddedLinksReports href(String href) { this.href = href; return this; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010EmbeddedLinksReports inlineResponse20010EmbeddedLinksReports = (InlineResponse20010EmbeddedLinksReports) o; - return Objects.equals(this.href, inlineResponse20010EmbeddedLinksReports.href); + InlineResponse20011EmbeddedLinksReports inlineResponse20011EmbeddedLinksReports = (InlineResponse20011EmbeddedLinksReports) o; + return Objects.equals(this.href, inlineResponse20011EmbeddedLinksReports.href); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010EmbeddedLinksReports {\n"); + sb.append("class InlineResponse20011EmbeddedLinksReports {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse20010EmbeddedTotals.java b/src/main/java/Model/InlineResponse20011EmbeddedTotals.java similarity index 84% rename from src/main/java/Model/InlineResponse20010EmbeddedTotals.java rename to src/main/java/Model/InlineResponse20011EmbeddedTotals.java index 5b711c84b..d79b998ea 100644 --- a/src/main/java/Model/InlineResponse20010EmbeddedTotals.java +++ b/src/main/java/Model/InlineResponse20011EmbeddedTotals.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20010EmbeddedTotals + * InlineResponse20011EmbeddedTotals */ -public class InlineResponse20010EmbeddedTotals { +public class InlineResponse20011EmbeddedTotals { @SerializedName("acceptedRecords") private Integer acceptedRecords = null; @@ -44,7 +44,7 @@ public class InlineResponse20010EmbeddedTotals { @SerializedName("caResponsesOmitted") private Integer caResponsesOmitted = null; - public InlineResponse20010EmbeddedTotals acceptedRecords(Integer acceptedRecords) { + public InlineResponse20011EmbeddedTotals acceptedRecords(Integer acceptedRecords) { this.acceptedRecords = acceptedRecords; return this; } @@ -62,7 +62,7 @@ public void setAcceptedRecords(Integer acceptedRecords) { this.acceptedRecords = acceptedRecords; } - public InlineResponse20010EmbeddedTotals rejectedRecords(Integer rejectedRecords) { + public InlineResponse20011EmbeddedTotals rejectedRecords(Integer rejectedRecords) { this.rejectedRecords = rejectedRecords; return this; } @@ -80,7 +80,7 @@ public void setRejectedRecords(Integer rejectedRecords) { this.rejectedRecords = rejectedRecords; } - public InlineResponse20010EmbeddedTotals updatedRecords(Integer updatedRecords) { + public InlineResponse20011EmbeddedTotals updatedRecords(Integer updatedRecords) { this.updatedRecords = updatedRecords; return this; } @@ -98,7 +98,7 @@ public void setUpdatedRecords(Integer updatedRecords) { this.updatedRecords = updatedRecords; } - public InlineResponse20010EmbeddedTotals caResponses(Integer caResponses) { + public InlineResponse20011EmbeddedTotals caResponses(Integer caResponses) { this.caResponses = caResponses; return this; } @@ -116,7 +116,7 @@ public void setCaResponses(Integer caResponses) { this.caResponses = caResponses; } - public InlineResponse20010EmbeddedTotals caResponsesOmitted(Integer caResponsesOmitted) { + public InlineResponse20011EmbeddedTotals caResponsesOmitted(Integer caResponsesOmitted) { this.caResponsesOmitted = caResponsesOmitted; return this; } @@ -143,12 +143,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010EmbeddedTotals inlineResponse20010EmbeddedTotals = (InlineResponse20010EmbeddedTotals) o; - return Objects.equals(this.acceptedRecords, inlineResponse20010EmbeddedTotals.acceptedRecords) && - Objects.equals(this.rejectedRecords, inlineResponse20010EmbeddedTotals.rejectedRecords) && - Objects.equals(this.updatedRecords, inlineResponse20010EmbeddedTotals.updatedRecords) && - Objects.equals(this.caResponses, inlineResponse20010EmbeddedTotals.caResponses) && - Objects.equals(this.caResponsesOmitted, inlineResponse20010EmbeddedTotals.caResponsesOmitted); + InlineResponse20011EmbeddedTotals inlineResponse20011EmbeddedTotals = (InlineResponse20011EmbeddedTotals) o; + return Objects.equals(this.acceptedRecords, inlineResponse20011EmbeddedTotals.acceptedRecords) && + Objects.equals(this.rejectedRecords, inlineResponse20011EmbeddedTotals.rejectedRecords) && + Objects.equals(this.updatedRecords, inlineResponse20011EmbeddedTotals.updatedRecords) && + Objects.equals(this.caResponses, inlineResponse20011EmbeddedTotals.caResponses) && + Objects.equals(this.caResponsesOmitted, inlineResponse20011EmbeddedTotals.caResponsesOmitted); } @Override @@ -160,7 +160,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010EmbeddedTotals {\n"); + sb.append("class InlineResponse20011EmbeddedTotals {\n"); if (acceptedRecords != null) sb.append(" acceptedRecords: ").append(toIndentedString(acceptedRecords)).append("\n"); if (rejectedRecords != null) sb.append(" rejectedRecords: ").append(toIndentedString(rejectedRecords)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20011Links.java b/src/main/java/Model/InlineResponse20011Links.java index fdf6f42ac..b6e2390ea 100644 --- a/src/main/java/Model/InlineResponse20011Links.java +++ b/src/main/java/Model/InlineResponse20011Links.java @@ -15,8 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20011LinksReport; -import Model.InlineResponse202LinksStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -25,62 +23,52 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse20011Links */ public class InlineResponse20011Links { - @SerializedName("self") - private InlineResponse202LinksStatus self = null; + @SerializedName("rel") + private String rel = null; - @SerializedName("report") - private List report = null; + @SerializedName("href") + private String href = null; - public InlineResponse20011Links self(InlineResponse202LinksStatus self) { - this.self = self; + public InlineResponse20011Links rel(String rel) { + this.rel = rel; return this; } /** - * Get self - * @return self + * Valid Values: * self * first * last * prev * next + * @return rel **/ - @ApiModelProperty(value = "") - public InlineResponse202LinksStatus getSelf() { - return self; + @ApiModelProperty(value = "Valid Values: * self * first * last * prev * next ") + public String getRel() { + return rel; } - public void setSelf(InlineResponse202LinksStatus self) { - this.self = self; + public void setRel(String rel) { + this.rel = rel; } - public InlineResponse20011Links report(List report) { - this.report = report; - return this; - } - - public InlineResponse20011Links addReportItem(InlineResponse20011LinksReport reportItem) { - if (this.report == null) { - this.report = new ArrayList(); - } - this.report.add(reportItem); + public InlineResponse20011Links href(String href) { + this.href = href; return this; } /** - * Get report - * @return report + * Get href + * @return href **/ - @ApiModelProperty(value = "") - public List getReport() { - return report; + @ApiModelProperty(example = "https://api.cybersource.com/accountupdater/v1/batches?offset=0&limit=20", value = "") + public String getHref() { + return href; } - public void setReport(List report) { - this.report = report; + public void setHref(String href) { + this.href = href; } @@ -93,13 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse20011Links inlineResponse20011Links = (InlineResponse20011Links) o; - return Objects.equals(this.self, inlineResponse20011Links.self) && - Objects.equals(this.report, inlineResponse20011Links.report); + return Objects.equals(this.rel, inlineResponse20011Links.rel) && + Objects.equals(this.href, inlineResponse20011Links.href); } @Override public int hashCode() { - return Objects.hash(self, report); + return Objects.hash(rel, href); } @@ -108,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse20011Links {\n"); - if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); - if (report != null) sb.append(" report: ").append(toIndentedString(report)).append("\n"); + if (rel != null) sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20012.java b/src/main/java/Model/InlineResponse20012.java index fdb49d731..51f3d45e7 100644 --- a/src/main/java/Model/InlineResponse20012.java +++ b/src/main/java/Model/InlineResponse20012.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010EmbeddedTotals; -import Model.InlineResponse20011Billing; -import Model.InlineResponse20012Records; +import Model.InlineResponse20011EmbeddedTotals; +import Model.InlineResponse20012Billing; +import Model.InlineResponse20012Links; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,78 +26,58 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse20012 */ public class InlineResponse20012 { - @SerializedName("version") - private String version = null; - - @SerializedName("reportCreatedDate") - private String reportCreatedDate = null; + @SerializedName("_links") + private InlineResponse20012Links links = null; @SerializedName("batchId") private String batchId = null; + @SerializedName("batchCreatedDate") + private String batchCreatedDate = null; + @SerializedName("batchSource") private String batchSource = null; + @SerializedName("merchantReference") + private String merchantReference = null; + @SerializedName("batchCaEndpoints") private String batchCaEndpoints = null; - @SerializedName("batchCreatedDate") - private String batchCreatedDate = null; - - @SerializedName("merchantReference") - private String merchantReference = null; + @SerializedName("status") + private String status = null; @SerializedName("totals") - private InlineResponse20010EmbeddedTotals totals = null; + private InlineResponse20011EmbeddedTotals totals = null; @SerializedName("billing") - private InlineResponse20011Billing billing = null; + private InlineResponse20012Billing billing = null; - @SerializedName("records") - private List records = null; + @SerializedName("description") + private String description = null; - public InlineResponse20012 version(String version) { - this.version = version; + public InlineResponse20012 links(InlineResponse20012Links links) { + this.links = links; return this; } /** - * Get version - * @return version + * Get links + * @return links **/ - @ApiModelProperty(example = "1.0", value = "") - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public InlineResponse20012 reportCreatedDate(String reportCreatedDate) { - this.reportCreatedDate = reportCreatedDate; - return this; - } - - /** - * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - * @return reportCreatedDate - **/ - @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") - public String getReportCreatedDate() { - return reportCreatedDate; + @ApiModelProperty(value = "") + public InlineResponse20012Links getLinks() { + return links; } - public void setReportCreatedDate(String reportCreatedDate) { - this.reportCreatedDate = reportCreatedDate; + public void setLinks(InlineResponse20012Links links) { + this.links = links; } public InlineResponse20012 batchId(String batchId) { @@ -118,6 +98,24 @@ public void setBatchId(String batchId) { this.batchId = batchId; } + public InlineResponse20012 batchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; + return this; + } + + /** + * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + * @return batchCreatedDate + **/ + @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") + public String getBatchCreatedDate() { + return batchCreatedDate; + } + + public void setBatchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; + } + public InlineResponse20012 batchSource(String batchSource) { this.batchSource = batchSource; return this; @@ -136,61 +134,61 @@ public void setBatchSource(String batchSource) { this.batchSource = batchSource; } - public InlineResponse20012 batchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public InlineResponse20012 merchantReference(String merchantReference) { + this.merchantReference = merchantReference; return this; } /** - * Get batchCaEndpoints - * @return batchCaEndpoints + * Reference used by merchant to identify batch. + * @return merchantReference **/ - @ApiModelProperty(example = "VISA,MASTERCARD", value = "") - public String getBatchCaEndpoints() { - return batchCaEndpoints; + @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") + public String getMerchantReference() { + return merchantReference; } - public void setBatchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public void setMerchantReference(String merchantReference) { + this.merchantReference = merchantReference; } - public InlineResponse20012 batchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public InlineResponse20012 batchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; return this; } /** - * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - * @return batchCreatedDate + * Get batchCaEndpoints + * @return batchCaEndpoints **/ - @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") - public String getBatchCreatedDate() { - return batchCreatedDate; + @ApiModelProperty(example = "VISA,MASTERCARD", value = "") + public String getBatchCaEndpoints() { + return batchCaEndpoints; } - public void setBatchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public void setBatchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; } - public InlineResponse20012 merchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public InlineResponse20012 status(String status) { + this.status = status; return this; } /** - * Reference used by merchant to identify batch. - * @return merchantReference + * Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + * @return status **/ - @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") - public String getMerchantReference() { - return merchantReference; + @ApiModelProperty(value = "Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED ") + public String getStatus() { + return status; } - public void setMerchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public void setStatus(String status) { + this.status = status; } - public InlineResponse20012 totals(InlineResponse20010EmbeddedTotals totals) { + public InlineResponse20012 totals(InlineResponse20011EmbeddedTotals totals) { this.totals = totals; return this; } @@ -200,15 +198,15 @@ public InlineResponse20012 totals(InlineResponse20010EmbeddedTotals totals) { * @return totals **/ @ApiModelProperty(value = "") - public InlineResponse20010EmbeddedTotals getTotals() { + public InlineResponse20011EmbeddedTotals getTotals() { return totals; } - public void setTotals(InlineResponse20010EmbeddedTotals totals) { + public void setTotals(InlineResponse20011EmbeddedTotals totals) { this.totals = totals; } - public InlineResponse20012 billing(InlineResponse20011Billing billing) { + public InlineResponse20012 billing(InlineResponse20012Billing billing) { this.billing = billing; return this; } @@ -218,38 +216,30 @@ public InlineResponse20012 billing(InlineResponse20011Billing billing) { * @return billing **/ @ApiModelProperty(value = "") - public InlineResponse20011Billing getBilling() { + public InlineResponse20012Billing getBilling() { return billing; } - public void setBilling(InlineResponse20011Billing billing) { + public void setBilling(InlineResponse20012Billing billing) { this.billing = billing; } - public InlineResponse20012 records(List records) { - this.records = records; - return this; - } - - public InlineResponse20012 addRecordsItem(InlineResponse20012Records recordsItem) { - if (this.records == null) { - this.records = new ArrayList(); - } - this.records.add(recordsItem); + public InlineResponse20012 description(String description) { + this.description = description; return this; } /** - * Get records - * @return records + * Get description + * @return description **/ - @ApiModelProperty(value = "") - public List getRecords() { - return records; + @ApiModelProperty(example = "Your batch has been received, and is being checked for errors.", value = "") + public String getDescription() { + return description; } - public void setRecords(List records) { - this.records = records; + public void setDescription(String description) { + this.description = description; } @@ -262,21 +252,21 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse20012 inlineResponse20012 = (InlineResponse20012) o; - return Objects.equals(this.version, inlineResponse20012.version) && - Objects.equals(this.reportCreatedDate, inlineResponse20012.reportCreatedDate) && + return Objects.equals(this.links, inlineResponse20012.links) && Objects.equals(this.batchId, inlineResponse20012.batchId) && - Objects.equals(this.batchSource, inlineResponse20012.batchSource) && - Objects.equals(this.batchCaEndpoints, inlineResponse20012.batchCaEndpoints) && Objects.equals(this.batchCreatedDate, inlineResponse20012.batchCreatedDate) && + Objects.equals(this.batchSource, inlineResponse20012.batchSource) && Objects.equals(this.merchantReference, inlineResponse20012.merchantReference) && + Objects.equals(this.batchCaEndpoints, inlineResponse20012.batchCaEndpoints) && + Objects.equals(this.status, inlineResponse20012.status) && Objects.equals(this.totals, inlineResponse20012.totals) && Objects.equals(this.billing, inlineResponse20012.billing) && - Objects.equals(this.records, inlineResponse20012.records); + Objects.equals(this.description, inlineResponse20012.description); } @Override public int hashCode() { - return Objects.hash(version, reportCreatedDate, batchId, batchSource, batchCaEndpoints, batchCreatedDate, merchantReference, totals, billing, records); + return Objects.hash(links, batchId, batchCreatedDate, batchSource, merchantReference, batchCaEndpoints, status, totals, billing, description); } @@ -285,16 +275,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse20012 {\n"); - if (version != null) sb.append(" version: ").append(toIndentedString(version)).append("\n"); - if (reportCreatedDate != null) sb.append(" reportCreatedDate: ").append(toIndentedString(reportCreatedDate)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); - if (records != null) sb.append(" records: ").append(toIndentedString(records)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20011Billing.java b/src/main/java/Model/InlineResponse20012Billing.java similarity index 81% rename from src/main/java/Model/InlineResponse20011Billing.java rename to src/main/java/Model/InlineResponse20012Billing.java index 33cb64d0c..4799ec2d8 100644 --- a/src/main/java/Model/InlineResponse20011Billing.java +++ b/src/main/java/Model/InlineResponse20012Billing.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20011Billing + * InlineResponse20012Billing */ -public class InlineResponse20011Billing { +public class InlineResponse20012Billing { @SerializedName("nan") private Integer nan = null; @@ -41,7 +41,7 @@ public class InlineResponse20011Billing { @SerializedName("cch") private Integer cch = null; - public InlineResponse20011Billing nan(Integer nan) { + public InlineResponse20012Billing nan(Integer nan) { this.nan = nan; return this; } @@ -59,7 +59,7 @@ public void setNan(Integer nan) { this.nan = nan; } - public InlineResponse20011Billing ned(Integer ned) { + public InlineResponse20012Billing ned(Integer ned) { this.ned = ned; return this; } @@ -77,7 +77,7 @@ public void setNed(Integer ned) { this.ned = ned; } - public InlineResponse20011Billing acl(Integer acl) { + public InlineResponse20012Billing acl(Integer acl) { this.acl = acl; return this; } @@ -95,7 +95,7 @@ public void setAcl(Integer acl) { this.acl = acl; } - public InlineResponse20011Billing cch(Integer cch) { + public InlineResponse20012Billing cch(Integer cch) { this.cch = cch; return this; } @@ -122,11 +122,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20011Billing inlineResponse20011Billing = (InlineResponse20011Billing) o; - return Objects.equals(this.nan, inlineResponse20011Billing.nan) && - Objects.equals(this.ned, inlineResponse20011Billing.ned) && - Objects.equals(this.acl, inlineResponse20011Billing.acl) && - Objects.equals(this.cch, inlineResponse20011Billing.cch); + InlineResponse20012Billing inlineResponse20012Billing = (InlineResponse20012Billing) o; + return Objects.equals(this.nan, inlineResponse20012Billing.nan) && + Objects.equals(this.ned, inlineResponse20012Billing.ned) && + Objects.equals(this.acl, inlineResponse20012Billing.acl) && + Objects.equals(this.cch, inlineResponse20012Billing.cch); } @Override @@ -138,7 +138,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20011Billing {\n"); + sb.append("class InlineResponse20012Billing {\n"); if (nan != null) sb.append(" nan: ").append(toIndentedString(nan)).append("\n"); if (ned != null) sb.append(" ned: ").append(toIndentedString(ned)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20012Links.java b/src/main/java/Model/InlineResponse20012Links.java new file mode 100644 index 000000000..873b3aa28 --- /dev/null +++ b/src/main/java/Model/InlineResponse20012Links.java @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse20012LinksReport; +import Model.InlineResponse202LinksStatus; +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; + +/** + * InlineResponse20012Links + */ + +public class InlineResponse20012Links { + @SerializedName("self") + private InlineResponse202LinksStatus self = null; + + @SerializedName("report") + private List report = null; + + public InlineResponse20012Links self(InlineResponse202LinksStatus self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public InlineResponse202LinksStatus getSelf() { + return self; + } + + public void setSelf(InlineResponse202LinksStatus self) { + this.self = self; + } + + public InlineResponse20012Links report(List report) { + this.report = report; + return this; + } + + public InlineResponse20012Links addReportItem(InlineResponse20012LinksReport reportItem) { + if (this.report == null) { + this.report = new ArrayList(); + } + this.report.add(reportItem); + return this; + } + + /** + * Get report + * @return report + **/ + @ApiModelProperty(value = "") + public List getReport() { + return report; + } + + public void setReport(List report) { + this.report = report; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse20012Links inlineResponse20012Links = (InlineResponse20012Links) o; + return Objects.equals(this.self, inlineResponse20012Links.self) && + Objects.equals(this.report, inlineResponse20012Links.report); + } + + @Override + public int hashCode() { + return Objects.hash(self, report); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse20012Links {\n"); + + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (report != null) sb.append(" report: ").append(toIndentedString(report)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse20011LinksReport.java b/src/main/java/Model/InlineResponse20012LinksReport.java similarity index 84% rename from src/main/java/Model/InlineResponse20011LinksReport.java rename to src/main/java/Model/InlineResponse20012LinksReport.java index a7ab79964..24c79e99a 100644 --- a/src/main/java/Model/InlineResponse20011LinksReport.java +++ b/src/main/java/Model/InlineResponse20012LinksReport.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * InlineResponse20011LinksReport + * InlineResponse20012LinksReport */ -public class InlineResponse20011LinksReport { +public class InlineResponse20012LinksReport { @SerializedName("href") private String href = null; - public InlineResponse20011LinksReport href(String href) { + public InlineResponse20012LinksReport href(String href) { this.href = href; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20011LinksReport inlineResponse20011LinksReport = (InlineResponse20011LinksReport) o; - return Objects.equals(this.href, inlineResponse20011LinksReport.href); + InlineResponse20012LinksReport inlineResponse20012LinksReport = (InlineResponse20012LinksReport) o; + return Objects.equals(this.href, inlineResponse20012LinksReport.href); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20011LinksReport {\n"); + sb.append("class InlineResponse20012LinksReport {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse20013.java b/src/main/java/Model/InlineResponse20013.java index c6cd1d9a7..8a00f7890 100644 --- a/src/main/java/Model/InlineResponse20013.java +++ b/src/main/java/Model/InlineResponse20013.java @@ -15,8 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.Bavsv1accountvalidationsClientReferenceInformation; -import Model.TssV2TransactionsGet200ResponseBankAccountValidation; +import Model.InlineResponse20011EmbeddedTotals; +import Model.InlineResponse20012Billing; +import Model.InlineResponse20013Records; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -25,94 +26,230 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * InlineResponse20013 */ public class InlineResponse20013 { - @SerializedName("clientReferenceInformation") - private Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation = null; + @SerializedName("version") + private String version = null; - @SerializedName("requestId") - private String requestId = null; + @SerializedName("reportCreatedDate") + private String reportCreatedDate = null; - @SerializedName("submitTimeUtc") - private String submitTimeUtc = null; + @SerializedName("batchId") + private String batchId = null; - @SerializedName("bankAccountValidation") - private TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation = null; + @SerializedName("batchSource") + private String batchSource = null; - public InlineResponse20013 clientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { - this.clientReferenceInformation = clientReferenceInformation; + @SerializedName("batchCaEndpoints") + private String batchCaEndpoints = null; + + @SerializedName("batchCreatedDate") + private String batchCreatedDate = null; + + @SerializedName("merchantReference") + private String merchantReference = null; + + @SerializedName("totals") + private InlineResponse20011EmbeddedTotals totals = null; + + @SerializedName("billing") + private InlineResponse20012Billing billing = null; + + @SerializedName("records") + private List records = null; + + public InlineResponse20013 version(String version) { + this.version = version; return this; } /** - * Get clientReferenceInformation - * @return clientReferenceInformation + * Get version + * @return version **/ - @ApiModelProperty(value = "") - public Bavsv1accountvalidationsClientReferenceInformation getClientReferenceInformation() { - return clientReferenceInformation; + @ApiModelProperty(example = "1.0", value = "") + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public InlineResponse20013 reportCreatedDate(String reportCreatedDate) { + this.reportCreatedDate = reportCreatedDate; + return this; + } + + /** + * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + * @return reportCreatedDate + **/ + @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") + public String getReportCreatedDate() { + return reportCreatedDate; + } + + public void setReportCreatedDate(String reportCreatedDate) { + this.reportCreatedDate = reportCreatedDate; + } + + public InlineResponse20013 batchId(String batchId) { + this.batchId = batchId; + return this; + } + + /** + * Unique identification number assigned to the submitted request. + * @return batchId + **/ + @ApiModelProperty(example = "16188390061150001062041064", value = "Unique identification number assigned to the submitted request.") + public String getBatchId() { + return batchId; + } + + public void setBatchId(String batchId) { + this.batchId = batchId; + } + + public InlineResponse20013 batchSource(String batchSource) { + this.batchSource = batchSource; + return this; + } + + /** + * Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + * @return batchSource + **/ + @ApiModelProperty(value = "Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE ") + public String getBatchSource() { + return batchSource; } - public void setClientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { - this.clientReferenceInformation = clientReferenceInformation; + public void setBatchSource(String batchSource) { + this.batchSource = batchSource; } - public InlineResponse20013 requestId(String requestId) { - this.requestId = requestId; + public InlineResponse20013 batchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; return this; } /** - * Request Id sent as part of the request. - * @return requestId + * Get batchCaEndpoints + * @return batchCaEndpoints **/ - @ApiModelProperty(value = "Request Id sent as part of the request.") - public String getRequestId() { - return requestId; + @ApiModelProperty(example = "VISA,MASTERCARD", value = "") + public String getBatchCaEndpoints() { + return batchCaEndpoints; } - public void setRequestId(String requestId) { - this.requestId = requestId; + public void setBatchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; } - public InlineResponse20013 submitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public InlineResponse20013 batchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; return this; } /** - * Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) - * @return submitTimeUtc + * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + * @return batchCreatedDate **/ - @ApiModelProperty(value = "Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") - public String getSubmitTimeUtc() { - return submitTimeUtc; + @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") + public String getBatchCreatedDate() { + return batchCreatedDate; } - public void setSubmitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public void setBatchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; } - public InlineResponse20013 bankAccountValidation(TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation) { - this.bankAccountValidation = bankAccountValidation; + public InlineResponse20013 merchantReference(String merchantReference) { + this.merchantReference = merchantReference; + return this; + } + + /** + * Reference used by merchant to identify batch. + * @return merchantReference + **/ + @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") + public String getMerchantReference() { + return merchantReference; + } + + public void setMerchantReference(String merchantReference) { + this.merchantReference = merchantReference; + } + + public InlineResponse20013 totals(InlineResponse20011EmbeddedTotals totals) { + this.totals = totals; + return this; + } + + /** + * Get totals + * @return totals + **/ + @ApiModelProperty(value = "") + public InlineResponse20011EmbeddedTotals getTotals() { + return totals; + } + + public void setTotals(InlineResponse20011EmbeddedTotals totals) { + this.totals = totals; + } + + public InlineResponse20013 billing(InlineResponse20012Billing billing) { + this.billing = billing; + return this; + } + + /** + * Get billing + * @return billing + **/ + @ApiModelProperty(value = "") + public InlineResponse20012Billing getBilling() { + return billing; + } + + public void setBilling(InlineResponse20012Billing billing) { + this.billing = billing; + } + + public InlineResponse20013 records(List records) { + this.records = records; + return this; + } + + public InlineResponse20013 addRecordsItem(InlineResponse20013Records recordsItem) { + if (this.records == null) { + this.records = new ArrayList(); + } + this.records.add(recordsItem); return this; } /** - * Get bankAccountValidation - * @return bankAccountValidation + * Get records + * @return records **/ @ApiModelProperty(value = "") - public TssV2TransactionsGet200ResponseBankAccountValidation getBankAccountValidation() { - return bankAccountValidation; + public List getRecords() { + return records; } - public void setBankAccountValidation(TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation) { - this.bankAccountValidation = bankAccountValidation; + public void setRecords(List records) { + this.records = records; } @@ -125,15 +262,21 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse20013 inlineResponse20013 = (InlineResponse20013) o; - return Objects.equals(this.clientReferenceInformation, inlineResponse20013.clientReferenceInformation) && - Objects.equals(this.requestId, inlineResponse20013.requestId) && - Objects.equals(this.submitTimeUtc, inlineResponse20013.submitTimeUtc) && - Objects.equals(this.bankAccountValidation, inlineResponse20013.bankAccountValidation); + return Objects.equals(this.version, inlineResponse20013.version) && + Objects.equals(this.reportCreatedDate, inlineResponse20013.reportCreatedDate) && + Objects.equals(this.batchId, inlineResponse20013.batchId) && + Objects.equals(this.batchSource, inlineResponse20013.batchSource) && + Objects.equals(this.batchCaEndpoints, inlineResponse20013.batchCaEndpoints) && + Objects.equals(this.batchCreatedDate, inlineResponse20013.batchCreatedDate) && + Objects.equals(this.merchantReference, inlineResponse20013.merchantReference) && + Objects.equals(this.totals, inlineResponse20013.totals) && + Objects.equals(this.billing, inlineResponse20013.billing) && + Objects.equals(this.records, inlineResponse20013.records); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, requestId, submitTimeUtc, bankAccountValidation); + return Objects.hash(version, reportCreatedDate, batchId, batchSource, batchCaEndpoints, batchCreatedDate, merchantReference, totals, billing, records); } @@ -142,10 +285,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse20013 {\n"); - if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); - if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - if (bankAccountValidation != null) sb.append(" bankAccountValidation: ").append(toIndentedString(bankAccountValidation)).append("\n"); + if (version != null) sb.append(" version: ").append(toIndentedString(version)).append("\n"); + if (reportCreatedDate != null) sb.append(" reportCreatedDate: ").append(toIndentedString(reportCreatedDate)).append("\n"); + if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); + if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); + if (records != null) sb.append(" records: ").append(toIndentedString(records)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20012Records.java b/src/main/java/Model/InlineResponse20013Records.java similarity index 70% rename from src/main/java/Model/InlineResponse20012Records.java rename to src/main/java/Model/InlineResponse20013Records.java index 835dc9e4c..29b5a7934 100644 --- a/src/main/java/Model/InlineResponse20012Records.java +++ b/src/main/java/Model/InlineResponse20013Records.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20012ResponseRecord; -import Model.InlineResponse20012SourceRecord; +import Model.InlineResponse20013ResponseRecord; +import Model.InlineResponse20013SourceRecord; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,20 +27,20 @@ import java.io.IOException; /** - * InlineResponse20012Records + * InlineResponse20013Records */ -public class InlineResponse20012Records { +public class InlineResponse20013Records { @SerializedName("id") private String id = null; @SerializedName("sourceRecord") - private InlineResponse20012SourceRecord sourceRecord = null; + private InlineResponse20013SourceRecord sourceRecord = null; @SerializedName("responseRecord") - private InlineResponse20012ResponseRecord responseRecord = null; + private InlineResponse20013ResponseRecord responseRecord = null; - public InlineResponse20012Records id(String id) { + public InlineResponse20013Records id(String id) { this.id = id; return this; } @@ -58,7 +58,7 @@ public void setId(String id) { this.id = id; } - public InlineResponse20012Records sourceRecord(InlineResponse20012SourceRecord sourceRecord) { + public InlineResponse20013Records sourceRecord(InlineResponse20013SourceRecord sourceRecord) { this.sourceRecord = sourceRecord; return this; } @@ -68,15 +68,15 @@ public InlineResponse20012Records sourceRecord(InlineResponse20012SourceRecord s * @return sourceRecord **/ @ApiModelProperty(value = "") - public InlineResponse20012SourceRecord getSourceRecord() { + public InlineResponse20013SourceRecord getSourceRecord() { return sourceRecord; } - public void setSourceRecord(InlineResponse20012SourceRecord sourceRecord) { + public void setSourceRecord(InlineResponse20013SourceRecord sourceRecord) { this.sourceRecord = sourceRecord; } - public InlineResponse20012Records responseRecord(InlineResponse20012ResponseRecord responseRecord) { + public InlineResponse20013Records responseRecord(InlineResponse20013ResponseRecord responseRecord) { this.responseRecord = responseRecord; return this; } @@ -86,11 +86,11 @@ public InlineResponse20012Records responseRecord(InlineResponse20012ResponseReco * @return responseRecord **/ @ApiModelProperty(value = "") - public InlineResponse20012ResponseRecord getResponseRecord() { + public InlineResponse20013ResponseRecord getResponseRecord() { return responseRecord; } - public void setResponseRecord(InlineResponse20012ResponseRecord responseRecord) { + public void setResponseRecord(InlineResponse20013ResponseRecord responseRecord) { this.responseRecord = responseRecord; } @@ -103,10 +103,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20012Records inlineResponse20012Records = (InlineResponse20012Records) o; - return Objects.equals(this.id, inlineResponse20012Records.id) && - Objects.equals(this.sourceRecord, inlineResponse20012Records.sourceRecord) && - Objects.equals(this.responseRecord, inlineResponse20012Records.responseRecord); + InlineResponse20013Records inlineResponse20013Records = (InlineResponse20013Records) o; + return Objects.equals(this.id, inlineResponse20013Records.id) && + Objects.equals(this.sourceRecord, inlineResponse20013Records.sourceRecord) && + Objects.equals(this.responseRecord, inlineResponse20013Records.responseRecord); } @Override @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20012Records {\n"); + sb.append("class InlineResponse20013Records {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (sourceRecord != null) sb.append(" sourceRecord: ").append(toIndentedString(sourceRecord)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20012ResponseRecord.java b/src/main/java/Model/InlineResponse20013ResponseRecord.java similarity index 79% rename from src/main/java/Model/InlineResponse20012ResponseRecord.java rename to src/main/java/Model/InlineResponse20013ResponseRecord.java index 60d7ad2db..72dce36e0 100644 --- a/src/main/java/Model/InlineResponse20012ResponseRecord.java +++ b/src/main/java/Model/InlineResponse20013ResponseRecord.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20012ResponseRecordAdditionalUpdates; +import Model.InlineResponse20013ResponseRecordAdditionalUpdates; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,10 +28,10 @@ import java.util.List; /** - * InlineResponse20012ResponseRecord + * InlineResponse20013ResponseRecord */ -public class InlineResponse20012ResponseRecord { +public class InlineResponse20013ResponseRecord { @SerializedName("response") private String response = null; @@ -60,9 +60,9 @@ public class InlineResponse20012ResponseRecord { private String cardType = null; @SerializedName("additionalUpdates") - private List additionalUpdates = null; + private List additionalUpdates = null; - public InlineResponse20012ResponseRecord response(String response) { + public InlineResponse20013ResponseRecord response(String response) { this.response = response; return this; } @@ -80,7 +80,7 @@ public void setResponse(String response) { this.response = response; } - public InlineResponse20012ResponseRecord reason(String reason) { + public InlineResponse20013ResponseRecord reason(String reason) { this.reason = reason; return this; } @@ -98,7 +98,7 @@ public void setReason(String reason) { this.reason = reason; } - public InlineResponse20012ResponseRecord token(String token) { + public InlineResponse20013ResponseRecord token(String token) { this.token = token; return this; } @@ -116,7 +116,7 @@ public void setToken(String token) { this.token = token; } - public InlineResponse20012ResponseRecord instrumentIdentifierId(String instrumentIdentifierId) { + public InlineResponse20013ResponseRecord instrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; return this; } @@ -134,7 +134,7 @@ public void setInstrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; } - public InlineResponse20012ResponseRecord instrumentIdentifierCreated(String instrumentIdentifierCreated) { + public InlineResponse20013ResponseRecord instrumentIdentifierCreated(String instrumentIdentifierCreated) { this.instrumentIdentifierCreated = instrumentIdentifierCreated; return this; } @@ -152,7 +152,7 @@ public void setInstrumentIdentifierCreated(String instrumentIdentifierCreated) { this.instrumentIdentifierCreated = instrumentIdentifierCreated; } - public InlineResponse20012ResponseRecord cardNumber(String cardNumber) { + public InlineResponse20013ResponseRecord cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } @@ -170,7 +170,7 @@ public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - public InlineResponse20012ResponseRecord cardExpiryMonth(String cardExpiryMonth) { + public InlineResponse20013ResponseRecord cardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; return this; } @@ -188,7 +188,7 @@ public void setCardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; } - public InlineResponse20012ResponseRecord cardExpiryYear(String cardExpiryYear) { + public InlineResponse20013ResponseRecord cardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; return this; } @@ -206,7 +206,7 @@ public void setCardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; } - public InlineResponse20012ResponseRecord cardType(String cardType) { + public InlineResponse20013ResponseRecord cardType(String cardType) { this.cardType = cardType; return this; } @@ -224,14 +224,14 @@ public void setCardType(String cardType) { this.cardType = cardType; } - public InlineResponse20012ResponseRecord additionalUpdates(List additionalUpdates) { + public InlineResponse20013ResponseRecord additionalUpdates(List additionalUpdates) { this.additionalUpdates = additionalUpdates; return this; } - public InlineResponse20012ResponseRecord addAdditionalUpdatesItem(InlineResponse20012ResponseRecordAdditionalUpdates additionalUpdatesItem) { + public InlineResponse20013ResponseRecord addAdditionalUpdatesItem(InlineResponse20013ResponseRecordAdditionalUpdates additionalUpdatesItem) { if (this.additionalUpdates == null) { - this.additionalUpdates = new ArrayList(); + this.additionalUpdates = new ArrayList(); } this.additionalUpdates.add(additionalUpdatesItem); return this; @@ -242,11 +242,11 @@ public InlineResponse20012ResponseRecord addAdditionalUpdatesItem(InlineResponse * @return additionalUpdates **/ @ApiModelProperty(value = "") - public List getAdditionalUpdates() { + public List getAdditionalUpdates() { return additionalUpdates; } - public void setAdditionalUpdates(List additionalUpdates) { + public void setAdditionalUpdates(List additionalUpdates) { this.additionalUpdates = additionalUpdates; } @@ -259,17 +259,17 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20012ResponseRecord inlineResponse20012ResponseRecord = (InlineResponse20012ResponseRecord) o; - return Objects.equals(this.response, inlineResponse20012ResponseRecord.response) && - Objects.equals(this.reason, inlineResponse20012ResponseRecord.reason) && - Objects.equals(this.token, inlineResponse20012ResponseRecord.token) && - Objects.equals(this.instrumentIdentifierId, inlineResponse20012ResponseRecord.instrumentIdentifierId) && - Objects.equals(this.instrumentIdentifierCreated, inlineResponse20012ResponseRecord.instrumentIdentifierCreated) && - Objects.equals(this.cardNumber, inlineResponse20012ResponseRecord.cardNumber) && - Objects.equals(this.cardExpiryMonth, inlineResponse20012ResponseRecord.cardExpiryMonth) && - Objects.equals(this.cardExpiryYear, inlineResponse20012ResponseRecord.cardExpiryYear) && - Objects.equals(this.cardType, inlineResponse20012ResponseRecord.cardType) && - Objects.equals(this.additionalUpdates, inlineResponse20012ResponseRecord.additionalUpdates); + InlineResponse20013ResponseRecord inlineResponse20013ResponseRecord = (InlineResponse20013ResponseRecord) o; + return Objects.equals(this.response, inlineResponse20013ResponseRecord.response) && + Objects.equals(this.reason, inlineResponse20013ResponseRecord.reason) && + Objects.equals(this.token, inlineResponse20013ResponseRecord.token) && + Objects.equals(this.instrumentIdentifierId, inlineResponse20013ResponseRecord.instrumentIdentifierId) && + Objects.equals(this.instrumentIdentifierCreated, inlineResponse20013ResponseRecord.instrumentIdentifierCreated) && + Objects.equals(this.cardNumber, inlineResponse20013ResponseRecord.cardNumber) && + Objects.equals(this.cardExpiryMonth, inlineResponse20013ResponseRecord.cardExpiryMonth) && + Objects.equals(this.cardExpiryYear, inlineResponse20013ResponseRecord.cardExpiryYear) && + Objects.equals(this.cardType, inlineResponse20013ResponseRecord.cardType) && + Objects.equals(this.additionalUpdates, inlineResponse20013ResponseRecord.additionalUpdates); } @Override @@ -281,7 +281,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20012ResponseRecord {\n"); + sb.append("class InlineResponse20013ResponseRecord {\n"); if (response != null) sb.append(" response: ").append(toIndentedString(response)).append("\n"); if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20012ResponseRecordAdditionalUpdates.java b/src/main/java/Model/InlineResponse20013ResponseRecordAdditionalUpdates.java similarity index 82% rename from src/main/java/Model/InlineResponse20012ResponseRecordAdditionalUpdates.java rename to src/main/java/Model/InlineResponse20013ResponseRecordAdditionalUpdates.java index 6a36b3d95..daa5618d1 100644 --- a/src/main/java/Model/InlineResponse20012ResponseRecordAdditionalUpdates.java +++ b/src/main/java/Model/InlineResponse20013ResponseRecordAdditionalUpdates.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20012ResponseRecordAdditionalUpdates + * InlineResponse20013ResponseRecordAdditionalUpdates */ -public class InlineResponse20012ResponseRecordAdditionalUpdates { +public class InlineResponse20013ResponseRecordAdditionalUpdates { @SerializedName("customerId") private String customerId = null; @@ -44,7 +44,7 @@ public class InlineResponse20012ResponseRecordAdditionalUpdates { @SerializedName("message") private String message = null; - public InlineResponse20012ResponseRecordAdditionalUpdates customerId(String customerId) { + public InlineResponse20013ResponseRecordAdditionalUpdates customerId(String customerId) { this.customerId = customerId; return this; } @@ -62,7 +62,7 @@ public void setCustomerId(String customerId) { this.customerId = customerId; } - public InlineResponse20012ResponseRecordAdditionalUpdates paymentInstrumentId(String paymentInstrumentId) { + public InlineResponse20013ResponseRecordAdditionalUpdates paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } @@ -80,7 +80,7 @@ public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - public InlineResponse20012ResponseRecordAdditionalUpdates creator(String creator) { + public InlineResponse20013ResponseRecordAdditionalUpdates creator(String creator) { this.creator = creator; return this; } @@ -98,7 +98,7 @@ public void setCreator(String creator) { this.creator = creator; } - public InlineResponse20012ResponseRecordAdditionalUpdates state(String state) { + public InlineResponse20013ResponseRecordAdditionalUpdates state(String state) { this.state = state; return this; } @@ -116,7 +116,7 @@ public void setState(String state) { this.state = state; } - public InlineResponse20012ResponseRecordAdditionalUpdates message(String message) { + public InlineResponse20013ResponseRecordAdditionalUpdates message(String message) { this.message = message; return this; } @@ -143,12 +143,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20012ResponseRecordAdditionalUpdates inlineResponse20012ResponseRecordAdditionalUpdates = (InlineResponse20012ResponseRecordAdditionalUpdates) o; - return Objects.equals(this.customerId, inlineResponse20012ResponseRecordAdditionalUpdates.customerId) && - Objects.equals(this.paymentInstrumentId, inlineResponse20012ResponseRecordAdditionalUpdates.paymentInstrumentId) && - Objects.equals(this.creator, inlineResponse20012ResponseRecordAdditionalUpdates.creator) && - Objects.equals(this.state, inlineResponse20012ResponseRecordAdditionalUpdates.state) && - Objects.equals(this.message, inlineResponse20012ResponseRecordAdditionalUpdates.message); + InlineResponse20013ResponseRecordAdditionalUpdates inlineResponse20013ResponseRecordAdditionalUpdates = (InlineResponse20013ResponseRecordAdditionalUpdates) o; + return Objects.equals(this.customerId, inlineResponse20013ResponseRecordAdditionalUpdates.customerId) && + Objects.equals(this.paymentInstrumentId, inlineResponse20013ResponseRecordAdditionalUpdates.paymentInstrumentId) && + Objects.equals(this.creator, inlineResponse20013ResponseRecordAdditionalUpdates.creator) && + Objects.equals(this.state, inlineResponse20013ResponseRecordAdditionalUpdates.state) && + Objects.equals(this.message, inlineResponse20013ResponseRecordAdditionalUpdates.message); } @Override @@ -160,7 +160,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20012ResponseRecordAdditionalUpdates {\n"); + sb.append("class InlineResponse20013ResponseRecordAdditionalUpdates {\n"); if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); if (paymentInstrumentId != null) sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20012SourceRecord.java b/src/main/java/Model/InlineResponse20013SourceRecord.java similarity index 84% rename from src/main/java/Model/InlineResponse20012SourceRecord.java rename to src/main/java/Model/InlineResponse20013SourceRecord.java index c9f8f810c..0657839b5 100644 --- a/src/main/java/Model/InlineResponse20012SourceRecord.java +++ b/src/main/java/Model/InlineResponse20013SourceRecord.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20012SourceRecord + * InlineResponse20013SourceRecord */ -public class InlineResponse20012SourceRecord { +public class InlineResponse20013SourceRecord { @SerializedName("token") private String token = null; @@ -53,7 +53,7 @@ public class InlineResponse20012SourceRecord { @SerializedName("cardType") private String cardType = null; - public InlineResponse20012SourceRecord token(String token) { + public InlineResponse20013SourceRecord token(String token) { this.token = token; return this; } @@ -71,7 +71,7 @@ public void setToken(String token) { this.token = token; } - public InlineResponse20012SourceRecord customerId(String customerId) { + public InlineResponse20013SourceRecord customerId(String customerId) { this.customerId = customerId; return this; } @@ -89,7 +89,7 @@ public void setCustomerId(String customerId) { this.customerId = customerId; } - public InlineResponse20012SourceRecord paymentInstrumentId(String paymentInstrumentId) { + public InlineResponse20013SourceRecord paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } @@ -107,7 +107,7 @@ public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - public InlineResponse20012SourceRecord instrumentIdentifierId(String instrumentIdentifierId) { + public InlineResponse20013SourceRecord instrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; return this; } @@ -125,7 +125,7 @@ public void setInstrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; } - public InlineResponse20012SourceRecord cardNumber(String cardNumber) { + public InlineResponse20013SourceRecord cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } @@ -143,7 +143,7 @@ public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - public InlineResponse20012SourceRecord cardExpiryMonth(String cardExpiryMonth) { + public InlineResponse20013SourceRecord cardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; return this; } @@ -161,7 +161,7 @@ public void setCardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; } - public InlineResponse20012SourceRecord cardExpiryYear(String cardExpiryYear) { + public InlineResponse20013SourceRecord cardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; return this; } @@ -179,7 +179,7 @@ public void setCardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; } - public InlineResponse20012SourceRecord cardType(String cardType) { + public InlineResponse20013SourceRecord cardType(String cardType) { this.cardType = cardType; return this; } @@ -206,15 +206,15 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20012SourceRecord inlineResponse20012SourceRecord = (InlineResponse20012SourceRecord) o; - return Objects.equals(this.token, inlineResponse20012SourceRecord.token) && - Objects.equals(this.customerId, inlineResponse20012SourceRecord.customerId) && - Objects.equals(this.paymentInstrumentId, inlineResponse20012SourceRecord.paymentInstrumentId) && - Objects.equals(this.instrumentIdentifierId, inlineResponse20012SourceRecord.instrumentIdentifierId) && - Objects.equals(this.cardNumber, inlineResponse20012SourceRecord.cardNumber) && - Objects.equals(this.cardExpiryMonth, inlineResponse20012SourceRecord.cardExpiryMonth) && - Objects.equals(this.cardExpiryYear, inlineResponse20012SourceRecord.cardExpiryYear) && - Objects.equals(this.cardType, inlineResponse20012SourceRecord.cardType); + InlineResponse20013SourceRecord inlineResponse20013SourceRecord = (InlineResponse20013SourceRecord) o; + return Objects.equals(this.token, inlineResponse20013SourceRecord.token) && + Objects.equals(this.customerId, inlineResponse20013SourceRecord.customerId) && + Objects.equals(this.paymentInstrumentId, inlineResponse20013SourceRecord.paymentInstrumentId) && + Objects.equals(this.instrumentIdentifierId, inlineResponse20013SourceRecord.instrumentIdentifierId) && + Objects.equals(this.cardNumber, inlineResponse20013SourceRecord.cardNumber) && + Objects.equals(this.cardExpiryMonth, inlineResponse20013SourceRecord.cardExpiryMonth) && + Objects.equals(this.cardExpiryYear, inlineResponse20013SourceRecord.cardExpiryYear) && + Objects.equals(this.cardType, inlineResponse20013SourceRecord.cardType); } @Override @@ -226,7 +226,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20012SourceRecord {\n"); + sb.append("class InlineResponse20013SourceRecord {\n"); if (token != null) sb.append(" token: ").append(toIndentedString(token)).append("\n"); if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20014.java b/src/main/java/Model/InlineResponse20014.java index a8ebbb46e..7280b60b0 100644 --- a/src/main/java/Model/InlineResponse20014.java +++ b/src/main/java/Model/InlineResponse20014.java @@ -15,9 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20014ClientReferenceInformation; -import Model.InlineResponse2018ErrorInformation; -import Model.InlineResponse2018OrderInformation; +import Model.Bavsv1accountvalidationsClientReferenceInformation; +import Model.TssV2TransactionsGet200ResponseBankAccountValidation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,24 +32,18 @@ public class InlineResponse20014 { @SerializedName("clientReferenceInformation") - private InlineResponse20014ClientReferenceInformation clientReferenceInformation = null; + private Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation = null; - @SerializedName("id") - private String id = null; + @SerializedName("requestId") + private String requestId = null; @SerializedName("submitTimeUtc") private String submitTimeUtc = null; - @SerializedName("status") - private String status = null; + @SerializedName("bankAccountValidation") + private TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation = null; - @SerializedName("errorInformation") - private InlineResponse2018ErrorInformation errorInformation = null; - - @SerializedName("orderInformation") - private InlineResponse2018OrderInformation orderInformation = null; - - public InlineResponse20014 clientReferenceInformation(InlineResponse20014ClientReferenceInformation clientReferenceInformation) { + public InlineResponse20014 clientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; } @@ -60,30 +53,30 @@ public InlineResponse20014 clientReferenceInformation(InlineResponse20014ClientR * @return clientReferenceInformation **/ @ApiModelProperty(value = "") - public InlineResponse20014ClientReferenceInformation getClientReferenceInformation() { + public Bavsv1accountvalidationsClientReferenceInformation getClientReferenceInformation() { return clientReferenceInformation; } - public void setClientReferenceInformation(InlineResponse20014ClientReferenceInformation clientReferenceInformation) { + public void setClientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; } - public InlineResponse20014 id(String id) { - this.id = id; + public InlineResponse20014 requestId(String requestId) { + this.requestId = requestId; return this; } /** - * Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid - * @return id + * Request Id sent as part of the request. + * @return requestId **/ - @ApiModelProperty(required = true, value = "Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid ") - public String getId() { - return id; + @ApiModelProperty(value = "Request Id sent as part of the request.") + public String getRequestId() { + return requestId; } - public void setId(String id) { - this.id = id; + public void setRequestId(String requestId) { + this.requestId = requestId; } public InlineResponse20014 submitTimeUtc(String submitTimeUtc) { @@ -92,10 +85,10 @@ public InlineResponse20014 submitTimeUtc(String submitTimeUtc) { } /** - * Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + * Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) * @return submitTimeUtc **/ - @ApiModelProperty(required = true, value = "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. ") + @ApiModelProperty(value = "Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") public String getSubmitTimeUtc() { return submitTimeUtc; } @@ -104,58 +97,22 @@ public void setSubmitTimeUtc(String submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; } - public InlineResponse20014 status(String status) { - this.status = status; - return this; - } - - /** - * Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` - * @return status - **/ - @ApiModelProperty(required = true, value = "Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` ") - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public InlineResponse20014 errorInformation(InlineResponse2018ErrorInformation errorInformation) { - this.errorInformation = errorInformation; - return this; - } - - /** - * Get errorInformation - * @return errorInformation - **/ - @ApiModelProperty(value = "") - public InlineResponse2018ErrorInformation getErrorInformation() { - return errorInformation; - } - - public void setErrorInformation(InlineResponse2018ErrorInformation errorInformation) { - this.errorInformation = errorInformation; - } - - public InlineResponse20014 orderInformation(InlineResponse2018OrderInformation orderInformation) { - this.orderInformation = orderInformation; + public InlineResponse20014 bankAccountValidation(TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation) { + this.bankAccountValidation = bankAccountValidation; return this; } /** - * Get orderInformation - * @return orderInformation + * Get bankAccountValidation + * @return bankAccountValidation **/ @ApiModelProperty(value = "") - public InlineResponse2018OrderInformation getOrderInformation() { - return orderInformation; + public TssV2TransactionsGet200ResponseBankAccountValidation getBankAccountValidation() { + return bankAccountValidation; } - public void setOrderInformation(InlineResponse2018OrderInformation orderInformation) { - this.orderInformation = orderInformation; + public void setBankAccountValidation(TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation) { + this.bankAccountValidation = bankAccountValidation; } @@ -169,16 +126,14 @@ public boolean equals(java.lang.Object o) { } InlineResponse20014 inlineResponse20014 = (InlineResponse20014) o; return Objects.equals(this.clientReferenceInformation, inlineResponse20014.clientReferenceInformation) && - Objects.equals(this.id, inlineResponse20014.id) && + Objects.equals(this.requestId, inlineResponse20014.requestId) && Objects.equals(this.submitTimeUtc, inlineResponse20014.submitTimeUtc) && - Objects.equals(this.status, inlineResponse20014.status) && - Objects.equals(this.errorInformation, inlineResponse20014.errorInformation) && - Objects.equals(this.orderInformation, inlineResponse20014.orderInformation); + Objects.equals(this.bankAccountValidation, inlineResponse20014.bankAccountValidation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, id, submitTimeUtc, status, errorInformation, orderInformation); + return Objects.hash(clientReferenceInformation, requestId, submitTimeUtc, bankAccountValidation); } @@ -188,11 +143,9 @@ public String toString() { sb.append("class InlineResponse20014 {\n"); if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); - if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); - if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); - if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (bankAccountValidation != null) sb.append(" bankAccountValidation: ").append(toIndentedString(bankAccountValidation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20015.java b/src/main/java/Model/InlineResponse20015.java new file mode 100644 index 000000000..26c4c0aff --- /dev/null +++ b/src/main/java/Model/InlineResponse20015.java @@ -0,0 +1,212 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse20015ClientReferenceInformation; +import Model.InlineResponse2018ErrorInformation; +import Model.InlineResponse2018OrderInformation; +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; + +/** + * InlineResponse20015 + */ + +public class InlineResponse20015 { + @SerializedName("clientReferenceInformation") + private InlineResponse20015ClientReferenceInformation clientReferenceInformation = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("errorInformation") + private InlineResponse2018ErrorInformation errorInformation = null; + + @SerializedName("orderInformation") + private InlineResponse2018OrderInformation orderInformation = null; + + public InlineResponse20015 clientReferenceInformation(InlineResponse20015ClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public InlineResponse20015ClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(InlineResponse20015ClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + + public InlineResponse20015 id(String id) { + this.id = id; + return this; + } + + /** + * Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + * @return id + **/ + @ApiModelProperty(required = true, value = "Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid ") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public InlineResponse20015 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + * @return submitTimeUtc + **/ + @ApiModelProperty(required = true, value = "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse20015 status(String status) { + this.status = status; + return this; + } + + /** + * Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + * @return status + **/ + @ApiModelProperty(required = true, value = "Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse20015 errorInformation(InlineResponse2018ErrorInformation errorInformation) { + this.errorInformation = errorInformation; + return this; + } + + /** + * Get errorInformation + * @return errorInformation + **/ + @ApiModelProperty(value = "") + public InlineResponse2018ErrorInformation getErrorInformation() { + return errorInformation; + } + + public void setErrorInformation(InlineResponse2018ErrorInformation errorInformation) { + this.errorInformation = errorInformation; + } + + public InlineResponse20015 orderInformation(InlineResponse2018OrderInformation orderInformation) { + this.orderInformation = orderInformation; + return this; + } + + /** + * Get orderInformation + * @return orderInformation + **/ + @ApiModelProperty(value = "") + public InlineResponse2018OrderInformation getOrderInformation() { + return orderInformation; + } + + public void setOrderInformation(InlineResponse2018OrderInformation orderInformation) { + this.orderInformation = orderInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse20015 inlineResponse20015 = (InlineResponse20015) o; + return Objects.equals(this.clientReferenceInformation, inlineResponse20015.clientReferenceInformation) && + Objects.equals(this.id, inlineResponse20015.id) && + Objects.equals(this.submitTimeUtc, inlineResponse20015.submitTimeUtc) && + Objects.equals(this.status, inlineResponse20015.status) && + Objects.equals(this.errorInformation, inlineResponse20015.errorInformation) && + Objects.equals(this.orderInformation, inlineResponse20015.orderInformation); + } + + @Override + public int hashCode() { + return Objects.hash(clientReferenceInformation, id, submitTimeUtc, status, errorInformation, orderInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse20015 {\n"); + + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n"); + if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse20014ClientReferenceInformation.java b/src/main/java/Model/InlineResponse20015ClientReferenceInformation.java similarity index 86% rename from src/main/java/Model/InlineResponse20014ClientReferenceInformation.java rename to src/main/java/Model/InlineResponse20015ClientReferenceInformation.java index aaabc6eae..e9ff78ce4 100644 --- a/src/main/java/Model/InlineResponse20014ClientReferenceInformation.java +++ b/src/main/java/Model/InlineResponse20015ClientReferenceInformation.java @@ -26,10 +26,10 @@ import java.io.IOException; /** - * InlineResponse20014ClientReferenceInformation + * InlineResponse20015ClientReferenceInformation */ -public class InlineResponse20014ClientReferenceInformation { +public class InlineResponse20015ClientReferenceInformation { @SerializedName("code") private String code = null; @@ -45,7 +45,7 @@ public class InlineResponse20014ClientReferenceInformation { @SerializedName("partner") private Riskv1decisionsClientReferenceInformationPartner partner = null; - public InlineResponse20014ClientReferenceInformation code(String code) { + public InlineResponse20015ClientReferenceInformation code(String code) { this.code = code; return this; } @@ -63,7 +63,7 @@ public void setCode(String code) { this.code = code; } - public InlineResponse20014ClientReferenceInformation applicationName(String applicationName) { + public InlineResponse20015ClientReferenceInformation applicationName(String applicationName) { this.applicationName = applicationName; return this; } @@ -81,7 +81,7 @@ public void setApplicationName(String applicationName) { this.applicationName = applicationName; } - public InlineResponse20014ClientReferenceInformation applicationVersion(String applicationVersion) { + public InlineResponse20015ClientReferenceInformation applicationVersion(String applicationVersion) { this.applicationVersion = applicationVersion; return this; } @@ -99,7 +99,7 @@ public void setApplicationVersion(String applicationVersion) { this.applicationVersion = applicationVersion; } - public InlineResponse20014ClientReferenceInformation applicationUser(String applicationUser) { + public InlineResponse20015ClientReferenceInformation applicationUser(String applicationUser) { this.applicationUser = applicationUser; return this; } @@ -117,7 +117,7 @@ public void setApplicationUser(String applicationUser) { this.applicationUser = applicationUser; } - public InlineResponse20014ClientReferenceInformation partner(Riskv1decisionsClientReferenceInformationPartner partner) { + public InlineResponse20015ClientReferenceInformation partner(Riskv1decisionsClientReferenceInformationPartner partner) { this.partner = partner; return this; } @@ -144,12 +144,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20014ClientReferenceInformation inlineResponse20014ClientReferenceInformation = (InlineResponse20014ClientReferenceInformation) o; - return Objects.equals(this.code, inlineResponse20014ClientReferenceInformation.code) && - Objects.equals(this.applicationName, inlineResponse20014ClientReferenceInformation.applicationName) && - Objects.equals(this.applicationVersion, inlineResponse20014ClientReferenceInformation.applicationVersion) && - Objects.equals(this.applicationUser, inlineResponse20014ClientReferenceInformation.applicationUser) && - Objects.equals(this.partner, inlineResponse20014ClientReferenceInformation.partner); + InlineResponse20015ClientReferenceInformation inlineResponse20015ClientReferenceInformation = (InlineResponse20015ClientReferenceInformation) o; + return Objects.equals(this.code, inlineResponse20015ClientReferenceInformation.code) && + Objects.equals(this.applicationName, inlineResponse20015ClientReferenceInformation.applicationName) && + Objects.equals(this.applicationVersion, inlineResponse20015ClientReferenceInformation.applicationVersion) && + Objects.equals(this.applicationUser, inlineResponse20015ClientReferenceInformation.applicationUser) && + Objects.equals(this.partner, inlineResponse20015ClientReferenceInformation.partner); } @Override @@ -161,7 +161,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20014ClientReferenceInformation {\n"); + sb.append("class InlineResponse20015ClientReferenceInformation {\n"); if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); diff --git a/src/main/java/Model/InlineResponse200Content.java b/src/main/java/Model/InlineResponse2001Content.java similarity index 82% rename from src/main/java/Model/InlineResponse200Content.java rename to src/main/java/Model/InlineResponse2001Content.java index 241b306c7..8d5526f37 100644 --- a/src/main/java/Model/InlineResponse200Content.java +++ b/src/main/java/Model/InlineResponse2001Content.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse200Content + * InlineResponse2001Content */ -public class InlineResponse200Content { +public class InlineResponse2001Content { @SerializedName("type") private String type = null; @@ -41,7 +41,7 @@ public class InlineResponse200Content { @SerializedName("height") private Integer height = null; - public InlineResponse200Content type(String type) { + public InlineResponse2001Content type(String type) { this.type = type; return this; } @@ -59,7 +59,7 @@ public void setType(String type) { this.type = type; } - public InlineResponse200Content data(String data) { + public InlineResponse2001Content data(String data) { this.data = data; return this; } @@ -77,7 +77,7 @@ public void setData(String data) { this.data = data; } - public InlineResponse200Content width(Integer width) { + public InlineResponse2001Content width(Integer width) { this.width = width; return this; } @@ -95,7 +95,7 @@ public void setWidth(Integer width) { this.width = width; } - public InlineResponse200Content height(Integer height) { + public InlineResponse2001Content height(Integer height) { this.height = height; return this; } @@ -122,11 +122,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse200Content inlineResponse200Content = (InlineResponse200Content) o; - return Objects.equals(this.type, inlineResponse200Content.type) && - Objects.equals(this.data, inlineResponse200Content.data) && - Objects.equals(this.width, inlineResponse200Content.width) && - Objects.equals(this.height, inlineResponse200Content.height); + InlineResponse2001Content inlineResponse2001Content = (InlineResponse2001Content) o; + return Objects.equals(this.type, inlineResponse2001Content.type) && + Objects.equals(this.data, inlineResponse2001Content.data) && + Objects.equals(this.width, inlineResponse2001Content.width) && + Objects.equals(this.height, inlineResponse2001Content.height); } @Override @@ -138,7 +138,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse200Content {\n"); + sb.append("class InlineResponse2001Content {\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); if (data != null) sb.append(" data: ").append(toIndentedString(data)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2002.java b/src/main/java/Model/InlineResponse2002.java index 2ad39587c..4441e20fb 100644 --- a/src/main/java/Model/InlineResponse2002.java +++ b/src/main/java/Model/InlineResponse2002.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.InlineResponse2002Embedded; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -30,255 +31,87 @@ public class InlineResponse2002 { @SerializedName("id") - private Long id = null; + private String id = null; - @SerializedName("fieldType") - private String fieldType = null; + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; - @SerializedName("label") - private String label = null; + @SerializedName("status") + private String status = null; - @SerializedName("customerVisible") - private Boolean customerVisible = null; + @SerializedName("_embedded") + private InlineResponse2002Embedded embedded = null; - @SerializedName("textMinLength") - private Integer textMinLength = null; - - @SerializedName("textMaxLength") - private Integer textMaxLength = null; - - @SerializedName("possibleValues") - private String possibleValues = null; - - @SerializedName("textDefaultValue") - private String textDefaultValue = null; - - @SerializedName("merchantId") - private String merchantId = null; - - @SerializedName("referenceType") - private String referenceType = null; - - @SerializedName("readOnly") - private Boolean readOnly = null; - - @SerializedName("merchantDefinedDataIndex") - private Integer merchantDefinedDataIndex = null; - - public InlineResponse2002 id(Long id) { + public InlineResponse2002 id(String id) { this.id = id; return this; } /** - * Get id + * UUID uniquely generated for this comments. * @return id **/ - @ApiModelProperty(value = "") - public Long getId() { + @ApiModelProperty(value = "UUID uniquely generated for this comments. ") + public String getId() { return id; } - public void setId(Long id) { + public void setId(String id) { this.id = id; } - public InlineResponse2002 fieldType(String fieldType) { - this.fieldType = fieldType; - return this; - } - - /** - * Get fieldType - * @return fieldType - **/ - @ApiModelProperty(value = "") - public String getFieldType() { - return fieldType; - } - - public void setFieldType(String fieldType) { - this.fieldType = fieldType; - } - - public InlineResponse2002 label(String label) { - this.label = label; - return this; - } - - /** - * Get label - * @return label - **/ - @ApiModelProperty(value = "") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public InlineResponse2002 customerVisible(Boolean customerVisible) { - this.customerVisible = customerVisible; + public InlineResponse2002 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; return this; } /** - * Get customerVisible - * @return customerVisible + * Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. + * @return submitTimeUtc **/ - @ApiModelProperty(value = "") - public Boolean CustomerVisible() { - return customerVisible; + @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. Returned by Cybersource for all services. ") + public String getSubmitTimeUtc() { + return submitTimeUtc; } - public void setCustomerVisible(Boolean customerVisible) { - this.customerVisible = customerVisible; + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; } - public InlineResponse2002 textMinLength(Integer textMinLength) { - this.textMinLength = textMinLength; + public InlineResponse2002 status(String status) { + this.status = status; return this; } /** - * Get textMinLength - * @return textMinLength + * The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` + * @return status **/ - @ApiModelProperty(value = "") - public Integer getTextMinLength() { - return textMinLength; - } - - public void setTextMinLength(Integer textMinLength) { - this.textMinLength = textMinLength; - } - - public InlineResponse2002 textMaxLength(Integer textMaxLength) { - this.textMaxLength = textMaxLength; - return this; - } - - /** - * Get textMaxLength - * @return textMaxLength - **/ - @ApiModelProperty(value = "") - public Integer getTextMaxLength() { - return textMaxLength; - } - - public void setTextMaxLength(Integer textMaxLength) { - this.textMaxLength = textMaxLength; - } - - public InlineResponse2002 possibleValues(String possibleValues) { - this.possibleValues = possibleValues; - return this; - } - - /** - * Get possibleValues - * @return possibleValues - **/ - @ApiModelProperty(value = "") - public String getPossibleValues() { - return possibleValues; - } - - public void setPossibleValues(String possibleValues) { - this.possibleValues = possibleValues; - } - - public InlineResponse2002 textDefaultValue(String textDefaultValue) { - this.textDefaultValue = textDefaultValue; - return this; - } - - /** - * Get textDefaultValue - * @return textDefaultValue - **/ - @ApiModelProperty(value = "") - public String getTextDefaultValue() { - return textDefaultValue; - } - - public void setTextDefaultValue(String textDefaultValue) { - this.textDefaultValue = textDefaultValue; - } - - public InlineResponse2002 merchantId(String merchantId) { - this.merchantId = merchantId; - return this; - } - - /** - * Get merchantId - * @return merchantId - **/ - @ApiModelProperty(value = "") - public String getMerchantId() { - return merchantId; - } - - public void setMerchantId(String merchantId) { - this.merchantId = merchantId; - } - - public InlineResponse2002 referenceType(String referenceType) { - this.referenceType = referenceType; - return this; - } - - /** - * Get referenceType - * @return referenceType - **/ - @ApiModelProperty(value = "") - public String getReferenceType() { - return referenceType; - } - - public void setReferenceType(String referenceType) { - this.referenceType = referenceType; - } - - public InlineResponse2002 readOnly(Boolean readOnly) { - this.readOnly = readOnly; - return this; - } - - /** - * Get readOnly - * @return readOnly - **/ - @ApiModelProperty(value = "") - public Boolean ReadOnly() { - return readOnly; + @ApiModelProperty(value = "The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` ") + public String getStatus() { + return status; } - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; + public void setStatus(String status) { + this.status = status; } - public InlineResponse2002 merchantDefinedDataIndex(Integer merchantDefinedDataIndex) { - this.merchantDefinedDataIndex = merchantDefinedDataIndex; + public InlineResponse2002 embedded(InlineResponse2002Embedded embedded) { + this.embedded = embedded; return this; } /** - * Get merchantDefinedDataIndex - * @return merchantDefinedDataIndex + * Get embedded + * @return embedded **/ @ApiModelProperty(value = "") - public Integer getMerchantDefinedDataIndex() { - return merchantDefinedDataIndex; + public InlineResponse2002Embedded getEmbedded() { + return embedded; } - public void setMerchantDefinedDataIndex(Integer merchantDefinedDataIndex) { - this.merchantDefinedDataIndex = merchantDefinedDataIndex; + public void setEmbedded(InlineResponse2002Embedded embedded) { + this.embedded = embedded; } @@ -292,22 +125,14 @@ public boolean equals(java.lang.Object o) { } InlineResponse2002 inlineResponse2002 = (InlineResponse2002) o; return Objects.equals(this.id, inlineResponse2002.id) && - Objects.equals(this.fieldType, inlineResponse2002.fieldType) && - Objects.equals(this.label, inlineResponse2002.label) && - Objects.equals(this.customerVisible, inlineResponse2002.customerVisible) && - Objects.equals(this.textMinLength, inlineResponse2002.textMinLength) && - Objects.equals(this.textMaxLength, inlineResponse2002.textMaxLength) && - Objects.equals(this.possibleValues, inlineResponse2002.possibleValues) && - Objects.equals(this.textDefaultValue, inlineResponse2002.textDefaultValue) && - Objects.equals(this.merchantId, inlineResponse2002.merchantId) && - Objects.equals(this.referenceType, inlineResponse2002.referenceType) && - Objects.equals(this.readOnly, inlineResponse2002.readOnly) && - Objects.equals(this.merchantDefinedDataIndex, inlineResponse2002.merchantDefinedDataIndex); + Objects.equals(this.submitTimeUtc, inlineResponse2002.submitTimeUtc) && + Objects.equals(this.status, inlineResponse2002.status) && + Objects.equals(this.embedded, inlineResponse2002.embedded); } @Override public int hashCode() { - return Objects.hash(id, fieldType, label, customerVisible, textMinLength, textMaxLength, possibleValues, textDefaultValue, merchantId, referenceType, readOnly, merchantDefinedDataIndex); + return Objects.hash(id, submitTimeUtc, status, embedded); } @@ -317,17 +142,9 @@ public String toString() { sb.append("class InlineResponse2002 {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); - if (fieldType != null) sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); - if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); - if (customerVisible != null) sb.append(" customerVisible: ").append(toIndentedString(customerVisible)).append("\n"); - if (textMinLength != null) sb.append(" textMinLength: ").append(toIndentedString(textMinLength)).append("\n"); - if (textMaxLength != null) sb.append(" textMaxLength: ").append(toIndentedString(textMaxLength)).append("\n"); - if (possibleValues != null) sb.append(" possibleValues: ").append(toIndentedString(possibleValues)).append("\n"); - if (textDefaultValue != null) sb.append(" textDefaultValue: ").append(toIndentedString(textDefaultValue)).append("\n"); - if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); - if (referenceType != null) sb.append(" referenceType: ").append(toIndentedString(referenceType)).append("\n"); - if (readOnly != null) sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); - if (merchantDefinedDataIndex != null) sb.append(" merchantDefinedDataIndex: ").append(toIndentedString(merchantDefinedDataIndex)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2001Embedded.java b/src/main/java/Model/InlineResponse2002Embedded.java similarity index 74% rename from src/main/java/Model/InlineResponse2001Embedded.java rename to src/main/java/Model/InlineResponse2002Embedded.java index bf99d1bcb..d76cff289 100644 --- a/src/main/java/Model/InlineResponse2001Embedded.java +++ b/src/main/java/Model/InlineResponse2002Embedded.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2001EmbeddedCapture; -import Model.InlineResponse2001EmbeddedReversal; +import Model.InlineResponse2002EmbeddedCapture; +import Model.InlineResponse2002EmbeddedReversal; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -31,14 +31,14 @@ */ @ApiModel(description = "This object includes either a capture or reversal object. They each has the status of the action and link to the GET method to the following-on capture transaction or reversal transaction. ") -public class InlineResponse2001Embedded { +public class InlineResponse2002Embedded { @SerializedName("capture") - private InlineResponse2001EmbeddedCapture capture = null; + private InlineResponse2002EmbeddedCapture capture = null; @SerializedName("reversal") - private InlineResponse2001EmbeddedReversal reversal = null; + private InlineResponse2002EmbeddedReversal reversal = null; - public InlineResponse2001Embedded capture(InlineResponse2001EmbeddedCapture capture) { + public InlineResponse2002Embedded capture(InlineResponse2002EmbeddedCapture capture) { this.capture = capture; return this; } @@ -48,15 +48,15 @@ public InlineResponse2001Embedded capture(InlineResponse2001EmbeddedCapture capt * @return capture **/ @ApiModelProperty(value = "") - public InlineResponse2001EmbeddedCapture getCapture() { + public InlineResponse2002EmbeddedCapture getCapture() { return capture; } - public void setCapture(InlineResponse2001EmbeddedCapture capture) { + public void setCapture(InlineResponse2002EmbeddedCapture capture) { this.capture = capture; } - public InlineResponse2001Embedded reversal(InlineResponse2001EmbeddedReversal reversal) { + public InlineResponse2002Embedded reversal(InlineResponse2002EmbeddedReversal reversal) { this.reversal = reversal; return this; } @@ -66,11 +66,11 @@ public InlineResponse2001Embedded reversal(InlineResponse2001EmbeddedReversal re * @return reversal **/ @ApiModelProperty(value = "") - public InlineResponse2001EmbeddedReversal getReversal() { + public InlineResponse2002EmbeddedReversal getReversal() { return reversal; } - public void setReversal(InlineResponse2001EmbeddedReversal reversal) { + public void setReversal(InlineResponse2002EmbeddedReversal reversal) { this.reversal = reversal; } @@ -83,9 +83,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001Embedded inlineResponse2001Embedded = (InlineResponse2001Embedded) o; - return Objects.equals(this.capture, inlineResponse2001Embedded.capture) && - Objects.equals(this.reversal, inlineResponse2001Embedded.reversal); + InlineResponse2002Embedded inlineResponse2002Embedded = (InlineResponse2002Embedded) o; + return Objects.equals(this.capture, inlineResponse2002Embedded.capture) && + Objects.equals(this.reversal, inlineResponse2002Embedded.reversal); } @Override @@ -97,7 +97,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001Embedded {\n"); + sb.append("class InlineResponse2002Embedded {\n"); if (capture != null) sb.append(" capture: ").append(toIndentedString(capture)).append("\n"); if (reversal != null) sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2001EmbeddedCapture.java b/src/main/java/Model/InlineResponse2002EmbeddedCapture.java similarity index 77% rename from src/main/java/Model/InlineResponse2001EmbeddedCapture.java rename to src/main/java/Model/InlineResponse2002EmbeddedCapture.java index be49408fb..911d3365c 100644 --- a/src/main/java/Model/InlineResponse2001EmbeddedCapture.java +++ b/src/main/java/Model/InlineResponse2002EmbeddedCapture.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2001EmbeddedCaptureLinks; +import Model.InlineResponse2002EmbeddedCaptureLinks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -30,14 +30,14 @@ */ @ApiModel(description = "This object includes the status of the action and link to the GET method to the following-on capture transaction. ") -public class InlineResponse2001EmbeddedCapture { +public class InlineResponse2002EmbeddedCapture { @SerializedName("status") private String status = null; @SerializedName("_links") - private InlineResponse2001EmbeddedCaptureLinks links = null; + private InlineResponse2002EmbeddedCaptureLinks links = null; - public InlineResponse2001EmbeddedCapture status(String status) { + public InlineResponse2002EmbeddedCapture status(String status) { this.status = status; return this; } @@ -55,7 +55,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2001EmbeddedCapture links(InlineResponse2001EmbeddedCaptureLinks links) { + public InlineResponse2002EmbeddedCapture links(InlineResponse2002EmbeddedCaptureLinks links) { this.links = links; return this; } @@ -65,11 +65,11 @@ public InlineResponse2001EmbeddedCapture links(InlineResponse2001EmbeddedCapture * @return links **/ @ApiModelProperty(value = "") - public InlineResponse2001EmbeddedCaptureLinks getLinks() { + public InlineResponse2002EmbeddedCaptureLinks getLinks() { return links; } - public void setLinks(InlineResponse2001EmbeddedCaptureLinks links) { + public void setLinks(InlineResponse2002EmbeddedCaptureLinks links) { this.links = links; } @@ -82,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001EmbeddedCapture inlineResponse2001EmbeddedCapture = (InlineResponse2001EmbeddedCapture) o; - return Objects.equals(this.status, inlineResponse2001EmbeddedCapture.status) && - Objects.equals(this.links, inlineResponse2001EmbeddedCapture.links); + InlineResponse2002EmbeddedCapture inlineResponse2002EmbeddedCapture = (InlineResponse2002EmbeddedCapture) o; + return Objects.equals(this.status, inlineResponse2002EmbeddedCapture.status) && + Objects.equals(this.links, inlineResponse2002EmbeddedCapture.links); } @Override @@ -96,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001EmbeddedCapture {\n"); + sb.append("class InlineResponse2002EmbeddedCapture {\n"); if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2001EmbeddedCaptureLinks.java b/src/main/java/Model/InlineResponse2002EmbeddedCaptureLinks.java similarity index 75% rename from src/main/java/Model/InlineResponse2001EmbeddedCaptureLinks.java rename to src/main/java/Model/InlineResponse2002EmbeddedCaptureLinks.java index 07ea9cdd8..7301abc16 100644 --- a/src/main/java/Model/InlineResponse2001EmbeddedCaptureLinks.java +++ b/src/main/java/Model/InlineResponse2002EmbeddedCaptureLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2001EmbeddedCaptureLinksSelf; +import Model.InlineResponse2002EmbeddedCaptureLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -30,11 +30,11 @@ */ @ApiModel(description = "The link to the GET method to the capture transaction if the capture is called. ") -public class InlineResponse2001EmbeddedCaptureLinks { +public class InlineResponse2002EmbeddedCaptureLinks { @SerializedName("self") - private InlineResponse2001EmbeddedCaptureLinksSelf self = null; + private InlineResponse2002EmbeddedCaptureLinksSelf self = null; - public InlineResponse2001EmbeddedCaptureLinks self(InlineResponse2001EmbeddedCaptureLinksSelf self) { + public InlineResponse2002EmbeddedCaptureLinks self(InlineResponse2002EmbeddedCaptureLinksSelf self) { this.self = self; return this; } @@ -44,11 +44,11 @@ public InlineResponse2001EmbeddedCaptureLinks self(InlineResponse2001EmbeddedCap * @return self **/ @ApiModelProperty(value = "") - public InlineResponse2001EmbeddedCaptureLinksSelf getSelf() { + public InlineResponse2002EmbeddedCaptureLinksSelf getSelf() { return self; } - public void setSelf(InlineResponse2001EmbeddedCaptureLinksSelf self) { + public void setSelf(InlineResponse2002EmbeddedCaptureLinksSelf self) { this.self = self; } @@ -61,8 +61,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001EmbeddedCaptureLinks inlineResponse2001EmbeddedCaptureLinks = (InlineResponse2001EmbeddedCaptureLinks) o; - return Objects.equals(this.self, inlineResponse2001EmbeddedCaptureLinks.self); + InlineResponse2002EmbeddedCaptureLinks inlineResponse2002EmbeddedCaptureLinks = (InlineResponse2002EmbeddedCaptureLinks) o; + return Objects.equals(this.self, inlineResponse2002EmbeddedCaptureLinks.self); } @Override @@ -74,7 +74,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001EmbeddedCaptureLinks {\n"); + sb.append("class InlineResponse2002EmbeddedCaptureLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse2001EmbeddedCaptureLinksSelf.java b/src/main/java/Model/InlineResponse2002EmbeddedCaptureLinksSelf.java similarity index 85% rename from src/main/java/Model/InlineResponse2001EmbeddedCaptureLinksSelf.java rename to src/main/java/Model/InlineResponse2002EmbeddedCaptureLinksSelf.java index 16c4296f8..dc374cb5e 100644 --- a/src/main/java/Model/InlineResponse2001EmbeddedCaptureLinksSelf.java +++ b/src/main/java/Model/InlineResponse2002EmbeddedCaptureLinksSelf.java @@ -29,14 +29,14 @@ */ @ApiModel(description = "The object holds http method and endpoint if the capture is called. ") -public class InlineResponse2001EmbeddedCaptureLinksSelf { +public class InlineResponse2002EmbeddedCaptureLinksSelf { @SerializedName("href") private String href = null; @SerializedName("method") private String method = null; - public InlineResponse2001EmbeddedCaptureLinksSelf href(String href) { + public InlineResponse2002EmbeddedCaptureLinksSelf href(String href) { this.href = href; return this; } @@ -54,7 +54,7 @@ public void setHref(String href) { this.href = href; } - public InlineResponse2001EmbeddedCaptureLinksSelf method(String method) { + public InlineResponse2002EmbeddedCaptureLinksSelf method(String method) { this.method = method; return this; } @@ -81,9 +81,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001EmbeddedCaptureLinksSelf inlineResponse2001EmbeddedCaptureLinksSelf = (InlineResponse2001EmbeddedCaptureLinksSelf) o; - return Objects.equals(this.href, inlineResponse2001EmbeddedCaptureLinksSelf.href) && - Objects.equals(this.method, inlineResponse2001EmbeddedCaptureLinksSelf.method); + InlineResponse2002EmbeddedCaptureLinksSelf inlineResponse2002EmbeddedCaptureLinksSelf = (InlineResponse2002EmbeddedCaptureLinksSelf) o; + return Objects.equals(this.href, inlineResponse2002EmbeddedCaptureLinksSelf.href) && + Objects.equals(this.method, inlineResponse2002EmbeddedCaptureLinksSelf.method); } @Override @@ -95,7 +95,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001EmbeddedCaptureLinksSelf {\n"); + sb.append("class InlineResponse2002EmbeddedCaptureLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2001EmbeddedReversal.java b/src/main/java/Model/InlineResponse2002EmbeddedReversal.java similarity index 77% rename from src/main/java/Model/InlineResponse2001EmbeddedReversal.java rename to src/main/java/Model/InlineResponse2002EmbeddedReversal.java index ac72cc884..4380570e6 100644 --- a/src/main/java/Model/InlineResponse2001EmbeddedReversal.java +++ b/src/main/java/Model/InlineResponse2002EmbeddedReversal.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2001EmbeddedReversalLinks; +import Model.InlineResponse2002EmbeddedReversalLinks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -30,14 +30,14 @@ */ @ApiModel(description = "This object includes the status of the action and link to the GET method to the following-on reversal transaction. ") -public class InlineResponse2001EmbeddedReversal { +public class InlineResponse2002EmbeddedReversal { @SerializedName("status") private String status = null; @SerializedName("_links") - private InlineResponse2001EmbeddedReversalLinks links = null; + private InlineResponse2002EmbeddedReversalLinks links = null; - public InlineResponse2001EmbeddedReversal status(String status) { + public InlineResponse2002EmbeddedReversal status(String status) { this.status = status; return this; } @@ -55,7 +55,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2001EmbeddedReversal links(InlineResponse2001EmbeddedReversalLinks links) { + public InlineResponse2002EmbeddedReversal links(InlineResponse2002EmbeddedReversalLinks links) { this.links = links; return this; } @@ -65,11 +65,11 @@ public InlineResponse2001EmbeddedReversal links(InlineResponse2001EmbeddedRevers * @return links **/ @ApiModelProperty(value = "") - public InlineResponse2001EmbeddedReversalLinks getLinks() { + public InlineResponse2002EmbeddedReversalLinks getLinks() { return links; } - public void setLinks(InlineResponse2001EmbeddedReversalLinks links) { + public void setLinks(InlineResponse2002EmbeddedReversalLinks links) { this.links = links; } @@ -82,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001EmbeddedReversal inlineResponse2001EmbeddedReversal = (InlineResponse2001EmbeddedReversal) o; - return Objects.equals(this.status, inlineResponse2001EmbeddedReversal.status) && - Objects.equals(this.links, inlineResponse2001EmbeddedReversal.links); + InlineResponse2002EmbeddedReversal inlineResponse2002EmbeddedReversal = (InlineResponse2002EmbeddedReversal) o; + return Objects.equals(this.status, inlineResponse2002EmbeddedReversal.status) && + Objects.equals(this.links, inlineResponse2002EmbeddedReversal.links); } @Override @@ -96,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001EmbeddedReversal {\n"); + sb.append("class InlineResponse2002EmbeddedReversal {\n"); if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2001EmbeddedReversalLinks.java b/src/main/java/Model/InlineResponse2002EmbeddedReversalLinks.java similarity index 75% rename from src/main/java/Model/InlineResponse2001EmbeddedReversalLinks.java rename to src/main/java/Model/InlineResponse2002EmbeddedReversalLinks.java index ed05817ac..38fb18aad 100644 --- a/src/main/java/Model/InlineResponse2001EmbeddedReversalLinks.java +++ b/src/main/java/Model/InlineResponse2002EmbeddedReversalLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2001EmbeddedReversalLinksSelf; +import Model.InlineResponse2002EmbeddedReversalLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -30,11 +30,11 @@ */ @ApiModel(description = "The link to the GET method to the reversal transaction if the auth reversal is called. ") -public class InlineResponse2001EmbeddedReversalLinks { +public class InlineResponse2002EmbeddedReversalLinks { @SerializedName("self") - private InlineResponse2001EmbeddedReversalLinksSelf self = null; + private InlineResponse2002EmbeddedReversalLinksSelf self = null; - public InlineResponse2001EmbeddedReversalLinks self(InlineResponse2001EmbeddedReversalLinksSelf self) { + public InlineResponse2002EmbeddedReversalLinks self(InlineResponse2002EmbeddedReversalLinksSelf self) { this.self = self; return this; } @@ -44,11 +44,11 @@ public InlineResponse2001EmbeddedReversalLinks self(InlineResponse2001EmbeddedRe * @return self **/ @ApiModelProperty(value = "") - public InlineResponse2001EmbeddedReversalLinksSelf getSelf() { + public InlineResponse2002EmbeddedReversalLinksSelf getSelf() { return self; } - public void setSelf(InlineResponse2001EmbeddedReversalLinksSelf self) { + public void setSelf(InlineResponse2002EmbeddedReversalLinksSelf self) { this.self = self; } @@ -61,8 +61,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001EmbeddedReversalLinks inlineResponse2001EmbeddedReversalLinks = (InlineResponse2001EmbeddedReversalLinks) o; - return Objects.equals(this.self, inlineResponse2001EmbeddedReversalLinks.self); + InlineResponse2002EmbeddedReversalLinks inlineResponse2002EmbeddedReversalLinks = (InlineResponse2002EmbeddedReversalLinks) o; + return Objects.equals(this.self, inlineResponse2002EmbeddedReversalLinks.self); } @Override @@ -74,7 +74,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001EmbeddedReversalLinks {\n"); + sb.append("class InlineResponse2002EmbeddedReversalLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse2001EmbeddedReversalLinksSelf.java b/src/main/java/Model/InlineResponse2002EmbeddedReversalLinksSelf.java similarity index 85% rename from src/main/java/Model/InlineResponse2001EmbeddedReversalLinksSelf.java rename to src/main/java/Model/InlineResponse2002EmbeddedReversalLinksSelf.java index 47bea5023..d5f8c3140 100644 --- a/src/main/java/Model/InlineResponse2001EmbeddedReversalLinksSelf.java +++ b/src/main/java/Model/InlineResponse2002EmbeddedReversalLinksSelf.java @@ -29,14 +29,14 @@ */ @ApiModel(description = "The object holds http method and endpoint if the reversal is called. ") -public class InlineResponse2001EmbeddedReversalLinksSelf { +public class InlineResponse2002EmbeddedReversalLinksSelf { @SerializedName("href") private String href = null; @SerializedName("method") private String method = null; - public InlineResponse2001EmbeddedReversalLinksSelf href(String href) { + public InlineResponse2002EmbeddedReversalLinksSelf href(String href) { this.href = href; return this; } @@ -54,7 +54,7 @@ public void setHref(String href) { this.href = href; } - public InlineResponse2001EmbeddedReversalLinksSelf method(String method) { + public InlineResponse2002EmbeddedReversalLinksSelf method(String method) { this.method = method; return this; } @@ -81,9 +81,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2001EmbeddedReversalLinksSelf inlineResponse2001EmbeddedReversalLinksSelf = (InlineResponse2001EmbeddedReversalLinksSelf) o; - return Objects.equals(this.href, inlineResponse2001EmbeddedReversalLinksSelf.href) && - Objects.equals(this.method, inlineResponse2001EmbeddedReversalLinksSelf.method); + InlineResponse2002EmbeddedReversalLinksSelf inlineResponse2002EmbeddedReversalLinksSelf = (InlineResponse2002EmbeddedReversalLinksSelf) o; + return Objects.equals(this.href, inlineResponse2002EmbeddedReversalLinksSelf.href) && + Objects.equals(this.method, inlineResponse2002EmbeddedReversalLinksSelf.method); } @Override @@ -95,7 +95,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2001EmbeddedReversalLinksSelf {\n"); + sb.append("class InlineResponse2002EmbeddedReversalLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); if (method != null) sb.append(" method: ").append(toIndentedString(method)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2003.java b/src/main/java/Model/InlineResponse2003.java index 3295be691..4a7837bf3 100644 --- a/src/main/java/Model/InlineResponse2003.java +++ b/src/main/java/Model/InlineResponse2003.java @@ -15,12 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.Boardingv1registrationsDocumentInformation; -import Model.Boardingv1registrationsOrganizationInformation; -import Model.Boardingv1registrationsProductInformation; -import Model.Boardingv1registrationsRegistrationInformation; -import Model.InlineResponse2003IntegrationInformation; -import Model.InlineResponse2013ProductInformationSetups; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,177 +23,262 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; /** * InlineResponse2003 */ public class InlineResponse2003 { - @SerializedName("registrationInformation") - private Boardingv1registrationsRegistrationInformation registrationInformation = null; + @SerializedName("id") + private Long id = null; - @SerializedName("integrationInformation") - private InlineResponse2003IntegrationInformation integrationInformation = null; + @SerializedName("fieldType") + private String fieldType = null; - @SerializedName("organizationInformation") - private Boardingv1registrationsOrganizationInformation organizationInformation = null; + @SerializedName("label") + private String label = null; - @SerializedName("productInformation") - private Boardingv1registrationsProductInformation productInformation = null; + @SerializedName("customerVisible") + private Boolean customerVisible = null; - @SerializedName("productInformationSetups") - private List productInformationSetups = null; + @SerializedName("textMinLength") + private Integer textMinLength = null; - @SerializedName("documentInformation") - private Boardingv1registrationsDocumentInformation documentInformation = null; + @SerializedName("textMaxLength") + private Integer textMaxLength = null; - @SerializedName("details") - private Map> details = null; + @SerializedName("possibleValues") + private String possibleValues = null; - public InlineResponse2003 registrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { - this.registrationInformation = registrationInformation; + @SerializedName("textDefaultValue") + private String textDefaultValue = null; + + @SerializedName("merchantId") + private String merchantId = null; + + @SerializedName("referenceType") + private String referenceType = null; + + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("merchantDefinedDataIndex") + private Integer merchantDefinedDataIndex = null; + + public InlineResponse2003 id(Long id) { + this.id = id; return this; } /** - * Get registrationInformation - * @return registrationInformation + * Get id + * @return id **/ @ApiModelProperty(value = "") - public Boardingv1registrationsRegistrationInformation getRegistrationInformation() { - return registrationInformation; + public Long getId() { + return id; } - public void setRegistrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { - this.registrationInformation = registrationInformation; + public void setId(Long id) { + this.id = id; } - public InlineResponse2003 integrationInformation(InlineResponse2003IntegrationInformation integrationInformation) { - this.integrationInformation = integrationInformation; + public InlineResponse2003 fieldType(String fieldType) { + this.fieldType = fieldType; return this; } /** - * Get integrationInformation - * @return integrationInformation + * Get fieldType + * @return fieldType **/ @ApiModelProperty(value = "") - public InlineResponse2003IntegrationInformation getIntegrationInformation() { - return integrationInformation; + public String getFieldType() { + return fieldType; } - public void setIntegrationInformation(InlineResponse2003IntegrationInformation integrationInformation) { - this.integrationInformation = integrationInformation; + public void setFieldType(String fieldType) { + this.fieldType = fieldType; } - public InlineResponse2003 organizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { - this.organizationInformation = organizationInformation; + public InlineResponse2003 label(String label) { + this.label = label; return this; } /** - * Get organizationInformation - * @return organizationInformation + * Get label + * @return label **/ @ApiModelProperty(value = "") - public Boardingv1registrationsOrganizationInformation getOrganizationInformation() { - return organizationInformation; + public String getLabel() { + return label; } - public void setOrganizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { - this.organizationInformation = organizationInformation; + public void setLabel(String label) { + this.label = label; } - public InlineResponse2003 productInformation(Boardingv1registrationsProductInformation productInformation) { - this.productInformation = productInformation; + public InlineResponse2003 customerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; return this; } /** - * Get productInformation - * @return productInformation + * Get customerVisible + * @return customerVisible **/ @ApiModelProperty(value = "") - public Boardingv1registrationsProductInformation getProductInformation() { - return productInformation; + public Boolean CustomerVisible() { + return customerVisible; } - public void setProductInformation(Boardingv1registrationsProductInformation productInformation) { - this.productInformation = productInformation; + public void setCustomerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; } - public InlineResponse2003 productInformationSetups(List productInformationSetups) { - this.productInformationSetups = productInformationSetups; + public InlineResponse2003 textMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; return this; } - public InlineResponse2003 addProductInformationSetupsItem(InlineResponse2013ProductInformationSetups productInformationSetupsItem) { - if (this.productInformationSetups == null) { - this.productInformationSetups = new ArrayList(); - } - this.productInformationSetups.add(productInformationSetupsItem); + /** + * Get textMinLength + * @return textMinLength + **/ + @ApiModelProperty(value = "") + public Integer getTextMinLength() { + return textMinLength; + } + + public void setTextMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + } + + public InlineResponse2003 textMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; return this; } /** - * Get productInformationSetups - * @return productInformationSetups + * Get textMaxLength + * @return textMaxLength **/ @ApiModelProperty(value = "") - public List getProductInformationSetups() { - return productInformationSetups; + public Integer getTextMaxLength() { + return textMaxLength; } - public void setProductInformationSetups(List productInformationSetups) { - this.productInformationSetups = productInformationSetups; + public void setTextMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; } - public InlineResponse2003 documentInformation(Boardingv1registrationsDocumentInformation documentInformation) { - this.documentInformation = documentInformation; + public InlineResponse2003 possibleValues(String possibleValues) { + this.possibleValues = possibleValues; return this; } /** - * Get documentInformation - * @return documentInformation + * Get possibleValues + * @return possibleValues **/ @ApiModelProperty(value = "") - public Boardingv1registrationsDocumentInformation getDocumentInformation() { - return documentInformation; + public String getPossibleValues() { + return possibleValues; } - public void setDocumentInformation(Boardingv1registrationsDocumentInformation documentInformation) { - this.documentInformation = documentInformation; + public void setPossibleValues(String possibleValues) { + this.possibleValues = possibleValues; } - public InlineResponse2003 details(Map> details) { - this.details = details; + public InlineResponse2003 textDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; return this; } - public InlineResponse2003 putDetailsItem(String key, List detailsItem) { - if (this.details == null) { - this.details = new HashMap>(); - } - this.details.put(key, detailsItem); + /** + * Get textDefaultValue + * @return textDefaultValue + **/ + @ApiModelProperty(value = "") + public String getTextDefaultValue() { + return textDefaultValue; + } + + public void setTextDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + } + + public InlineResponse2003 merchantId(String merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Get merchantId + * @return merchantId + **/ + @ApiModelProperty(value = "") + public String getMerchantId() { + return merchantId; + } + + public void setMerchantId(String merchantId) { + this.merchantId = merchantId; + } + + public InlineResponse2003 referenceType(String referenceType) { + this.referenceType = referenceType; + return this; + } + + /** + * Get referenceType + * @return referenceType + **/ + @ApiModelProperty(value = "") + public String getReferenceType() { + return referenceType; + } + + public void setReferenceType(String referenceType) { + this.referenceType = referenceType; + } + + public InlineResponse2003 readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Get readOnly + * @return readOnly + **/ + @ApiModelProperty(value = "") + public Boolean ReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public InlineResponse2003 merchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; return this; } /** - * Get details - * @return details + * Get merchantDefinedDataIndex + * @return merchantDefinedDataIndex **/ @ApiModelProperty(value = "") - public Map> getDetails() { - return details; + public Integer getMerchantDefinedDataIndex() { + return merchantDefinedDataIndex; } - public void setDetails(Map> details) { - this.details = details; + public void setMerchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; } @@ -212,18 +291,23 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2003 inlineResponse2003 = (InlineResponse2003) o; - return Objects.equals(this.registrationInformation, inlineResponse2003.registrationInformation) && - Objects.equals(this.integrationInformation, inlineResponse2003.integrationInformation) && - Objects.equals(this.organizationInformation, inlineResponse2003.organizationInformation) && - Objects.equals(this.productInformation, inlineResponse2003.productInformation) && - Objects.equals(this.productInformationSetups, inlineResponse2003.productInformationSetups) && - Objects.equals(this.documentInformation, inlineResponse2003.documentInformation) && - Objects.equals(this.details, inlineResponse2003.details); + return Objects.equals(this.id, inlineResponse2003.id) && + Objects.equals(this.fieldType, inlineResponse2003.fieldType) && + Objects.equals(this.label, inlineResponse2003.label) && + Objects.equals(this.customerVisible, inlineResponse2003.customerVisible) && + Objects.equals(this.textMinLength, inlineResponse2003.textMinLength) && + Objects.equals(this.textMaxLength, inlineResponse2003.textMaxLength) && + Objects.equals(this.possibleValues, inlineResponse2003.possibleValues) && + Objects.equals(this.textDefaultValue, inlineResponse2003.textDefaultValue) && + Objects.equals(this.merchantId, inlineResponse2003.merchantId) && + Objects.equals(this.referenceType, inlineResponse2003.referenceType) && + Objects.equals(this.readOnly, inlineResponse2003.readOnly) && + Objects.equals(this.merchantDefinedDataIndex, inlineResponse2003.merchantDefinedDataIndex); } @Override public int hashCode() { - return Objects.hash(registrationInformation, integrationInformation, organizationInformation, productInformation, productInformationSetups, documentInformation, details); + return Objects.hash(id, fieldType, label, customerVisible, textMinLength, textMaxLength, possibleValues, textDefaultValue, merchantId, referenceType, readOnly, merchantDefinedDataIndex); } @@ -232,13 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2003 {\n"); - if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); - if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); - if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); - if (productInformation != null) sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); - if (productInformationSetups != null) sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); - if (documentInformation != null) sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); - if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (fieldType != null) sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); + if (customerVisible != null) sb.append(" customerVisible: ").append(toIndentedString(customerVisible)).append("\n"); + if (textMinLength != null) sb.append(" textMinLength: ").append(toIndentedString(textMinLength)).append("\n"); + if (textMaxLength != null) sb.append(" textMaxLength: ").append(toIndentedString(textMaxLength)).append("\n"); + if (possibleValues != null) sb.append(" possibleValues: ").append(toIndentedString(possibleValues)).append("\n"); + if (textDefaultValue != null) sb.append(" textDefaultValue: ").append(toIndentedString(textDefaultValue)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (referenceType != null) sb.append(" referenceType: ").append(toIndentedString(referenceType)).append("\n"); + if (readOnly != null) sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + if (merchantDefinedDataIndex != null) sb.append(" merchantDefinedDataIndex: ").append(toIndentedString(merchantDefinedDataIndex)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2004.java b/src/main/java/Model/InlineResponse2004.java index df2395d0d..08f5461f0 100644 --- a/src/main/java/Model/InlineResponse2004.java +++ b/src/main/java/Model/InlineResponse2004.java @@ -15,7 +15,12 @@ import java.util.Objects; import java.util.Arrays; -import Model.Notificationsubscriptionsv2productsorganizationIdEventTypes; +import Model.Boardingv1registrationsDocumentInformation; +import Model.Boardingv1registrationsOrganizationInformation; +import Model.Boardingv1registrationsProductInformation; +import Model.Boardingv1registrationsRegistrationInformation; +import Model.InlineResponse2004IntegrationInformation; +import Model.InlineResponse2013ProductInformationSetups; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -25,82 +30,176 @@ import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; /** * InlineResponse2004 */ public class InlineResponse2004 { - @SerializedName("productId") - private String productId = null; + @SerializedName("registrationInformation") + private Boardingv1registrationsRegistrationInformation registrationInformation = null; - @SerializedName("productName") - private String productName = null; + @SerializedName("integrationInformation") + private InlineResponse2004IntegrationInformation integrationInformation = null; - @SerializedName("eventTypes") - private List eventTypes = null; + @SerializedName("organizationInformation") + private Boardingv1registrationsOrganizationInformation organizationInformation = null; - public InlineResponse2004 productId(String productId) { - this.productId = productId; + @SerializedName("productInformation") + private Boardingv1registrationsProductInformation productInformation = null; + + @SerializedName("productInformationSetups") + private List productInformationSetups = null; + + @SerializedName("documentInformation") + private Boardingv1registrationsDocumentInformation documentInformation = null; + + @SerializedName("details") + private Map> details = null; + + public InlineResponse2004 registrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { + this.registrationInformation = registrationInformation; + return this; + } + + /** + * Get registrationInformation + * @return registrationInformation + **/ + @ApiModelProperty(value = "") + public Boardingv1registrationsRegistrationInformation getRegistrationInformation() { + return registrationInformation; + } + + public void setRegistrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { + this.registrationInformation = registrationInformation; + } + + public InlineResponse2004 integrationInformation(InlineResponse2004IntegrationInformation integrationInformation) { + this.integrationInformation = integrationInformation; + return this; + } + + /** + * Get integrationInformation + * @return integrationInformation + **/ + @ApiModelProperty(value = "") + public InlineResponse2004IntegrationInformation getIntegrationInformation() { + return integrationInformation; + } + + public void setIntegrationInformation(InlineResponse2004IntegrationInformation integrationInformation) { + this.integrationInformation = integrationInformation; + } + + public InlineResponse2004 organizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { + this.organizationInformation = organizationInformation; + return this; + } + + /** + * Get organizationInformation + * @return organizationInformation + **/ + @ApiModelProperty(value = "") + public Boardingv1registrationsOrganizationInformation getOrganizationInformation() { + return organizationInformation; + } + + public void setOrganizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { + this.organizationInformation = organizationInformation; + } + + public InlineResponse2004 productInformation(Boardingv1registrationsProductInformation productInformation) { + this.productInformation = productInformation; return this; } /** - * Product ID. - * @return productId + * Get productInformation + * @return productInformation **/ - @ApiModelProperty(value = "Product ID.") - public String getProductId() { - return productId; + @ApiModelProperty(value = "") + public Boardingv1registrationsProductInformation getProductInformation() { + return productInformation; } - public void setProductId(String productId) { - this.productId = productId; + public void setProductInformation(Boardingv1registrationsProductInformation productInformation) { + this.productInformation = productInformation; } - public InlineResponse2004 productName(String productName) { - this.productName = productName; + public InlineResponse2004 productInformationSetups(List productInformationSetups) { + this.productInformationSetups = productInformationSetups; + return this; + } + + public InlineResponse2004 addProductInformationSetupsItem(InlineResponse2013ProductInformationSetups productInformationSetupsItem) { + if (this.productInformationSetups == null) { + this.productInformationSetups = new ArrayList(); + } + this.productInformationSetups.add(productInformationSetupsItem); + return this; + } + + /** + * Get productInformationSetups + * @return productInformationSetups + **/ + @ApiModelProperty(value = "") + public List getProductInformationSetups() { + return productInformationSetups; + } + + public void setProductInformationSetups(List productInformationSetups) { + this.productInformationSetups = productInformationSetups; + } + + public InlineResponse2004 documentInformation(Boardingv1registrationsDocumentInformation documentInformation) { + this.documentInformation = documentInformation; return this; } /** - * Product Name. - * @return productName + * Get documentInformation + * @return documentInformation **/ - @ApiModelProperty(value = "Product Name.") - public String getProductName() { - return productName; + @ApiModelProperty(value = "") + public Boardingv1registrationsDocumentInformation getDocumentInformation() { + return documentInformation; } - public void setProductName(String productName) { - this.productName = productName; + public void setDocumentInformation(Boardingv1registrationsDocumentInformation documentInformation) { + this.documentInformation = documentInformation; } - public InlineResponse2004 eventTypes(List eventTypes) { - this.eventTypes = eventTypes; + public InlineResponse2004 details(Map> details) { + this.details = details; return this; } - public InlineResponse2004 addEventTypesItem(Notificationsubscriptionsv2productsorganizationIdEventTypes eventTypesItem) { - if (this.eventTypes == null) { - this.eventTypes = new ArrayList(); + public InlineResponse2004 putDetailsItem(String key, List detailsItem) { + if (this.details == null) { + this.details = new HashMap>(); } - this.eventTypes.add(eventTypesItem); + this.details.put(key, detailsItem); return this; } /** - * Get eventTypes - * @return eventTypes + * Get details + * @return details **/ @ApiModelProperty(value = "") - public List getEventTypes() { - return eventTypes; + public Map> getDetails() { + return details; } - public void setEventTypes(List eventTypes) { - this.eventTypes = eventTypes; + public void setDetails(Map> details) { + this.details = details; } @@ -113,14 +212,18 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2004 inlineResponse2004 = (InlineResponse2004) o; - return Objects.equals(this.productId, inlineResponse2004.productId) && - Objects.equals(this.productName, inlineResponse2004.productName) && - Objects.equals(this.eventTypes, inlineResponse2004.eventTypes); + return Objects.equals(this.registrationInformation, inlineResponse2004.registrationInformation) && + Objects.equals(this.integrationInformation, inlineResponse2004.integrationInformation) && + Objects.equals(this.organizationInformation, inlineResponse2004.organizationInformation) && + Objects.equals(this.productInformation, inlineResponse2004.productInformation) && + Objects.equals(this.productInformationSetups, inlineResponse2004.productInformationSetups) && + Objects.equals(this.documentInformation, inlineResponse2004.documentInformation) && + Objects.equals(this.details, inlineResponse2004.details); } @Override public int hashCode() { - return Objects.hash(productId, productName, eventTypes); + return Objects.hash(registrationInformation, integrationInformation, organizationInformation, productInformation, productInformationSetups, documentInformation, details); } @@ -129,9 +232,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2004 {\n"); - if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); + if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (productInformation != null) sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); + if (productInformationSetups != null) sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); + if (documentInformation != null) sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2003IntegrationInformation.java b/src/main/java/Model/InlineResponse2004IntegrationInformation.java similarity index 77% rename from src/main/java/Model/InlineResponse2003IntegrationInformation.java rename to src/main/java/Model/InlineResponse2004IntegrationInformation.java index 42c98dbdd..3ce39d0c0 100644 --- a/src/main/java/Model/InlineResponse2003IntegrationInformation.java +++ b/src/main/java/Model/InlineResponse2004IntegrationInformation.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.Boardingv1registrationsIntegrationInformationOauth2; -import Model.InlineResponse2003IntegrationInformationTenantConfigurations; +import Model.InlineResponse2004IntegrationInformationTenantConfigurations; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,22 +29,22 @@ import java.util.List; /** - * InlineResponse2003IntegrationInformation + * InlineResponse2004IntegrationInformation */ -public class InlineResponse2003IntegrationInformation { +public class InlineResponse2004IntegrationInformation { @SerializedName("oauth2") private List oauth2 = null; @SerializedName("tenantConfigurations") - private List tenantConfigurations = null; + private List tenantConfigurations = null; - public InlineResponse2003IntegrationInformation oauth2(List oauth2) { + public InlineResponse2004IntegrationInformation oauth2(List oauth2) { this.oauth2 = oauth2; return this; } - public InlineResponse2003IntegrationInformation addOauth2Item(Boardingv1registrationsIntegrationInformationOauth2 oauth2Item) { + public InlineResponse2004IntegrationInformation addOauth2Item(Boardingv1registrationsIntegrationInformationOauth2 oauth2Item) { if (this.oauth2 == null) { this.oauth2 = new ArrayList(); } @@ -65,14 +65,14 @@ public void setOauth2(List this.oauth2 = oauth2; } - public InlineResponse2003IntegrationInformation tenantConfigurations(List tenantConfigurations) { + public InlineResponse2004IntegrationInformation tenantConfigurations(List tenantConfigurations) { this.tenantConfigurations = tenantConfigurations; return this; } - public InlineResponse2003IntegrationInformation addTenantConfigurationsItem(InlineResponse2003IntegrationInformationTenantConfigurations tenantConfigurationsItem) { + public InlineResponse2004IntegrationInformation addTenantConfigurationsItem(InlineResponse2004IntegrationInformationTenantConfigurations tenantConfigurationsItem) { if (this.tenantConfigurations == null) { - this.tenantConfigurations = new ArrayList(); + this.tenantConfigurations = new ArrayList(); } this.tenantConfigurations.add(tenantConfigurationsItem); return this; @@ -83,11 +83,11 @@ public InlineResponse2003IntegrationInformation addTenantConfigurationsItem(Inli * @return tenantConfigurations **/ @ApiModelProperty(value = "tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.") - public List getTenantConfigurations() { + public List getTenantConfigurations() { return tenantConfigurations; } - public void setTenantConfigurations(List tenantConfigurations) { + public void setTenantConfigurations(List tenantConfigurations) { this.tenantConfigurations = tenantConfigurations; } @@ -100,9 +100,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2003IntegrationInformation inlineResponse2003IntegrationInformation = (InlineResponse2003IntegrationInformation) o; - return Objects.equals(this.oauth2, inlineResponse2003IntegrationInformation.oauth2) && - Objects.equals(this.tenantConfigurations, inlineResponse2003IntegrationInformation.tenantConfigurations); + InlineResponse2004IntegrationInformation inlineResponse2004IntegrationInformation = (InlineResponse2004IntegrationInformation) o; + return Objects.equals(this.oauth2, inlineResponse2004IntegrationInformation.oauth2) && + Objects.equals(this.tenantConfigurations, inlineResponse2004IntegrationInformation.tenantConfigurations); } @Override @@ -114,7 +114,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2003IntegrationInformation {\n"); + sb.append("class InlineResponse2004IntegrationInformation {\n"); if (oauth2 != null) sb.append(" oauth2: ").append(toIndentedString(oauth2)).append("\n"); if (tenantConfigurations != null) sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2003IntegrationInformationTenantConfigurations.java b/src/main/java/Model/InlineResponse2004IntegrationInformationTenantConfigurations.java similarity index 85% rename from src/main/java/Model/InlineResponse2003IntegrationInformationTenantConfigurations.java rename to src/main/java/Model/InlineResponse2004IntegrationInformationTenantConfigurations.java index 0b7af246f..a96a29598 100644 --- a/src/main/java/Model/InlineResponse2003IntegrationInformationTenantConfigurations.java +++ b/src/main/java/Model/InlineResponse2004IntegrationInformationTenantConfigurations.java @@ -27,10 +27,10 @@ import org.joda.time.DateTime; /** - * InlineResponse2003IntegrationInformationTenantConfigurations + * InlineResponse2004IntegrationInformationTenantConfigurations */ -public class InlineResponse2003IntegrationInformationTenantConfigurations { +public class InlineResponse2004IntegrationInformationTenantConfigurations { @SerializedName("solutionId") private String solutionId = null; @@ -46,7 +46,7 @@ public class InlineResponse2003IntegrationInformationTenantConfigurations { @SerializedName("tenantInformation") private Boardingv1registrationsIntegrationInformationTenantInformation tenantInformation = null; - public InlineResponse2003IntegrationInformationTenantConfigurations solutionId(String solutionId) { + public InlineResponse2004IntegrationInformationTenantConfigurations solutionId(String solutionId) { this.solutionId = solutionId; return this; } @@ -64,7 +64,7 @@ public void setSolutionId(String solutionId) { this.solutionId = solutionId; } - public InlineResponse2003IntegrationInformationTenantConfigurations tenantConfigurationId(String tenantConfigurationId) { + public InlineResponse2004IntegrationInformationTenantConfigurations tenantConfigurationId(String tenantConfigurationId) { this.tenantConfigurationId = tenantConfigurationId; return this; } @@ -82,7 +82,7 @@ public void setTenantConfigurationId(String tenantConfigurationId) { this.tenantConfigurationId = tenantConfigurationId; } - public InlineResponse2003IntegrationInformationTenantConfigurations status(String status) { + public InlineResponse2004IntegrationInformationTenantConfigurations status(String status) { this.status = status; return this; } @@ -100,7 +100,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2003IntegrationInformationTenantConfigurations submitTimeUtc(DateTime submitTimeUtc) { + public InlineResponse2004IntegrationInformationTenantConfigurations submitTimeUtc(DateTime submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; return this; } @@ -118,7 +118,7 @@ public void setSubmitTimeUtc(DateTime submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; } - public InlineResponse2003IntegrationInformationTenantConfigurations tenantInformation(Boardingv1registrationsIntegrationInformationTenantInformation tenantInformation) { + public InlineResponse2004IntegrationInformationTenantConfigurations tenantInformation(Boardingv1registrationsIntegrationInformationTenantInformation tenantInformation) { this.tenantInformation = tenantInformation; return this; } @@ -145,12 +145,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2003IntegrationInformationTenantConfigurations inlineResponse2003IntegrationInformationTenantConfigurations = (InlineResponse2003IntegrationInformationTenantConfigurations) o; - return Objects.equals(this.solutionId, inlineResponse2003IntegrationInformationTenantConfigurations.solutionId) && - Objects.equals(this.tenantConfigurationId, inlineResponse2003IntegrationInformationTenantConfigurations.tenantConfigurationId) && - Objects.equals(this.status, inlineResponse2003IntegrationInformationTenantConfigurations.status) && - Objects.equals(this.submitTimeUtc, inlineResponse2003IntegrationInformationTenantConfigurations.submitTimeUtc) && - Objects.equals(this.tenantInformation, inlineResponse2003IntegrationInformationTenantConfigurations.tenantInformation); + InlineResponse2004IntegrationInformationTenantConfigurations inlineResponse2004IntegrationInformationTenantConfigurations = (InlineResponse2004IntegrationInformationTenantConfigurations) o; + return Objects.equals(this.solutionId, inlineResponse2004IntegrationInformationTenantConfigurations.solutionId) && + Objects.equals(this.tenantConfigurationId, inlineResponse2004IntegrationInformationTenantConfigurations.tenantConfigurationId) && + Objects.equals(this.status, inlineResponse2004IntegrationInformationTenantConfigurations.status) && + Objects.equals(this.submitTimeUtc, inlineResponse2004IntegrationInformationTenantConfigurations.submitTimeUtc) && + Objects.equals(this.tenantInformation, inlineResponse2004IntegrationInformationTenantConfigurations.tenantInformation); } @Override @@ -162,7 +162,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2003IntegrationInformationTenantConfigurations {\n"); + sb.append("class InlineResponse2004IntegrationInformationTenantConfigurations {\n"); if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); if (tenantConfigurationId != null) sb.append(" tenantConfigurationId: ").append(toIndentedString(tenantConfigurationId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2005.java b/src/main/java/Model/InlineResponse2005.java index 8707f6319..10cbbe354 100644 --- a/src/main/java/Model/InlineResponse2005.java +++ b/src/main/java/Model/InlineResponse2005.java @@ -15,9 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Notificationsubscriptionsv2webhooksProducts; -import Model.Notificationsubscriptionsv2webhooksRetryPolicy; -import Model.Notificationsubscriptionsv2webhooksSecurityPolicy; +import Model.Notificationsubscriptionsv2productsorganizationIdEventTypes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,264 +32,75 @@ */ public class InlineResponse2005 { - @SerializedName("webhookId") - private String webhookId = null; + @SerializedName("productId") + private String productId = null; - @SerializedName("organizationId") - private String organizationId = null; + @SerializedName("productName") + private String productName = null; - @SerializedName("products") - private List products = null; + @SerializedName("eventTypes") + private List eventTypes = null; - @SerializedName("webhookUrl") - private String webhookUrl = null; - - @SerializedName("healthCheckUrl") - private String healthCheckUrl = null; - - @SerializedName("status") - private String status = "INACTIVE"; - - @SerializedName("name") - private String name = null; - - @SerializedName("description") - private String description = null; - - @SerializedName("retryPolicy") - private Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy = null; - - @SerializedName("securityPolicy") - private Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy = null; - - @SerializedName("createdOn") - private String createdOn = null; - - @SerializedName("notificationScope") - private String notificationScope = "DESCENDANTS"; - - public InlineResponse2005 webhookId(String webhookId) { - this.webhookId = webhookId; + public InlineResponse2005 productId(String productId) { + this.productId = productId; return this; } /** - * Webhook Id. This is generated by the server. - * @return webhookId + * Product ID. + * @return productId **/ - @ApiModelProperty(value = "Webhook Id. This is generated by the server.") - public String getWebhookId() { - return webhookId; + @ApiModelProperty(value = "Product ID.") + public String getProductId() { + return productId; } - public void setWebhookId(String webhookId) { - this.webhookId = webhookId; + public void setProductId(String productId) { + this.productId = productId; } - public InlineResponse2005 organizationId(String organizationId) { - this.organizationId = organizationId; + public InlineResponse2005 productName(String productName) { + this.productName = productName; return this; } /** - * Organization ID. - * @return organizationId + * Product Name. + * @return productName **/ - @ApiModelProperty(value = "Organization ID.") - public String getOrganizationId() { - return organizationId; + @ApiModelProperty(value = "Product Name.") + public String getProductName() { + return productName; } - public void setOrganizationId(String organizationId) { - this.organizationId = organizationId; + public void setProductName(String productName) { + this.productName = productName; } - public InlineResponse2005 products(List products) { - this.products = products; + public InlineResponse2005 eventTypes(List eventTypes) { + this.eventTypes = eventTypes; return this; } - public InlineResponse2005 addProductsItem(Notificationsubscriptionsv2webhooksProducts productsItem) { - if (this.products == null) { - this.products = new ArrayList(); + public InlineResponse2005 addEventTypesItem(Notificationsubscriptionsv2productsorganizationIdEventTypes eventTypesItem) { + if (this.eventTypes == null) { + this.eventTypes = new ArrayList(); } - this.products.add(productsItem); - return this; - } - - /** - * Get products - * @return products - **/ - @ApiModelProperty(value = "") - public List getProducts() { - return products; - } - - public void setProducts(List products) { - this.products = products; - } - - public InlineResponse2005 webhookUrl(String webhookUrl) { - this.webhookUrl = webhookUrl; - return this; - } - - /** - * The client's endpoint (URL) to receive webhooks. - * @return webhookUrl - **/ - @ApiModelProperty(value = "The client's endpoint (URL) to receive webhooks.") - public String getWebhookUrl() { - return webhookUrl; - } - - public void setWebhookUrl(String webhookUrl) { - this.webhookUrl = webhookUrl; - } - - public InlineResponse2005 healthCheckUrl(String healthCheckUrl) { - this.healthCheckUrl = healthCheckUrl; - return this; - } - - /** - * The client's health check endpoint (URL). - * @return healthCheckUrl - **/ - @ApiModelProperty(value = "The client's health check endpoint (URL).") - public String getHealthCheckUrl() { - return healthCheckUrl; - } - - public void setHealthCheckUrl(String healthCheckUrl) { - this.healthCheckUrl = healthCheckUrl; - } - - public InlineResponse2005 status(String status) { - this.status = status; - return this; - } - - /** - * Webhook status. - * @return status - **/ - @ApiModelProperty(value = "Webhook status.") - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public InlineResponse2005 name(String name) { - this.name = name; + this.eventTypes.add(eventTypesItem); return this; } /** - * Client friendly webhook name. - * @return name - **/ - @ApiModelProperty(value = "Client friendly webhook name.") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public InlineResponse2005 description(String description) { - this.description = description; - return this; - } - - /** - * Client friendly webhook description. - * @return description - **/ - @ApiModelProperty(value = "Client friendly webhook description.") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public InlineResponse2005 retryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { - this.retryPolicy = retryPolicy; - return this; - } - - /** - * Get retryPolicy - * @return retryPolicy - **/ - @ApiModelProperty(value = "") - public Notificationsubscriptionsv2webhooksRetryPolicy getRetryPolicy() { - return retryPolicy; - } - - public void setRetryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { - this.retryPolicy = retryPolicy; - } - - public InlineResponse2005 securityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { - this.securityPolicy = securityPolicy; - return this; - } - - /** - * Get securityPolicy - * @return securityPolicy + * Get eventTypes + * @return eventTypes **/ @ApiModelProperty(value = "") - public Notificationsubscriptionsv2webhooksSecurityPolicy getSecurityPolicy() { - return securityPolicy; - } - - public void setSecurityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { - this.securityPolicy = securityPolicy; - } - - public InlineResponse2005 createdOn(String createdOn) { - this.createdOn = createdOn; - return this; - } - - /** - * Date on which webhook was created/registered. - * @return createdOn - **/ - @ApiModelProperty(value = "Date on which webhook was created/registered.") - public String getCreatedOn() { - return createdOn; - } - - public void setCreatedOn(String createdOn) { - this.createdOn = createdOn; - } - - public InlineResponse2005 notificationScope(String notificationScope) { - this.notificationScope = notificationScope; - return this; - } - - /** - * The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - * @return notificationScope - **/ - @ApiModelProperty(value = "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS") - public String getNotificationScope() { - return notificationScope; + public List getEventTypes() { + return eventTypes; } - public void setNotificationScope(String notificationScope) { - this.notificationScope = notificationScope; + public void setEventTypes(List eventTypes) { + this.eventTypes = eventTypes; } @@ -304,23 +113,14 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2005 inlineResponse2005 = (InlineResponse2005) o; - return Objects.equals(this.webhookId, inlineResponse2005.webhookId) && - Objects.equals(this.organizationId, inlineResponse2005.organizationId) && - Objects.equals(this.products, inlineResponse2005.products) && - Objects.equals(this.webhookUrl, inlineResponse2005.webhookUrl) && - Objects.equals(this.healthCheckUrl, inlineResponse2005.healthCheckUrl) && - Objects.equals(this.status, inlineResponse2005.status) && - Objects.equals(this.name, inlineResponse2005.name) && - Objects.equals(this.description, inlineResponse2005.description) && - Objects.equals(this.retryPolicy, inlineResponse2005.retryPolicy) && - Objects.equals(this.securityPolicy, inlineResponse2005.securityPolicy) && - Objects.equals(this.createdOn, inlineResponse2005.createdOn) && - Objects.equals(this.notificationScope, inlineResponse2005.notificationScope); + return Objects.equals(this.productId, inlineResponse2005.productId) && + Objects.equals(this.productName, inlineResponse2005.productName) && + Objects.equals(this.eventTypes, inlineResponse2005.eventTypes); } @Override public int hashCode() { - return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, notificationScope); + return Objects.hash(productId, productName, eventTypes); } @@ -329,18 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2005 {\n"); - if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); - if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); - if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); - if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); - if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); - if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); - if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2006.java b/src/main/java/Model/InlineResponse2006.java index 33ce967d4..661f5c33e 100644 --- a/src/main/java/Model/InlineResponse2006.java +++ b/src/main/java/Model/InlineResponse2006.java @@ -67,9 +67,6 @@ public class InlineResponse2006 { @SerializedName("createdOn") private String createdOn = null; - @SerializedName("updatedOn") - private String updatedOn = null; - @SerializedName("notificationScope") private String notificationScope = "DESCENDANTS"; @@ -279,24 +276,6 @@ public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } - public InlineResponse2006 updatedOn(String updatedOn) { - this.updatedOn = updatedOn; - return this; - } - - /** - * Date on which webhook was most recently updated. - * @return updatedOn - **/ - @ApiModelProperty(value = "Date on which webhook was most recently updated.") - public String getUpdatedOn() { - return updatedOn; - } - - public void setUpdatedOn(String updatedOn) { - this.updatedOn = updatedOn; - } - public InlineResponse2006 notificationScope(String notificationScope) { this.notificationScope = notificationScope; return this; @@ -336,13 +315,12 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.retryPolicy, inlineResponse2006.retryPolicy) && Objects.equals(this.securityPolicy, inlineResponse2006.securityPolicy) && Objects.equals(this.createdOn, inlineResponse2006.createdOn) && - Objects.equals(this.updatedOn, inlineResponse2006.updatedOn) && Objects.equals(this.notificationScope, inlineResponse2006.notificationScope); } @Override public int hashCode() { - return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, updatedOn, notificationScope); + return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, notificationScope); } @@ -362,7 +340,6 @@ public String toString() { if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InlineResponse2007.java b/src/main/java/Model/InlineResponse2007.java index 5154c2432..5736c5517 100644 --- a/src/main/java/Model/InlineResponse2007.java +++ b/src/main/java/Model/InlineResponse2007.java @@ -15,7 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2007Devices; +import Model.Notificationsubscriptionsv2webhooksProducts; +import Model.Notificationsubscriptionsv2webhooksRetryPolicy; +import Model.Notificationsubscriptionsv2webhooksSecurityPolicy; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,138 +34,285 @@ */ public class InlineResponse2007 { - @SerializedName("totalCount") - private Integer totalCount = null; + @SerializedName("webhookId") + private String webhookId = null; - @SerializedName("offset") - private Integer offset = null; + @SerializedName("organizationId") + private String organizationId = null; - @SerializedName("limit") - private Integer limit = null; + @SerializedName("products") + private List products = null; - @SerializedName("sort") - private String sort = null; + @SerializedName("webhookUrl") + private String webhookUrl = null; - @SerializedName("count") - private Integer count = null; + @SerializedName("healthCheckUrl") + private String healthCheckUrl = null; - @SerializedName("devices") - private List devices = null; + @SerializedName("status") + private String status = "INACTIVE"; - public InlineResponse2007 totalCount(Integer totalCount) { - this.totalCount = totalCount; + @SerializedName("name") + private String name = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("retryPolicy") + private Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy = null; + + @SerializedName("securityPolicy") + private Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy = null; + + @SerializedName("createdOn") + private String createdOn = null; + + @SerializedName("updatedOn") + private String updatedOn = null; + + @SerializedName("notificationScope") + private String notificationScope = "DESCENDANTS"; + + public InlineResponse2007 webhookId(String webhookId) { + this.webhookId = webhookId; return this; } /** - * Total number of results. - * @return totalCount + * Webhook Id. This is generated by the server. + * @return webhookId **/ - @ApiModelProperty(value = "Total number of results.") - public Integer getTotalCount() { - return totalCount; + @ApiModelProperty(value = "Webhook Id. This is generated by the server.") + public String getWebhookId() { + return webhookId; } - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; + public void setWebhookId(String webhookId) { + this.webhookId = webhookId; } - public InlineResponse2007 offset(Integer offset) { - this.offset = offset; + public InlineResponse2007 organizationId(String organizationId) { + this.organizationId = organizationId; return this; } /** - * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - * @return offset + * Organization ID. + * @return organizationId **/ - @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") - public Integer getOffset() { - return offset; + @ApiModelProperty(value = "Organization ID.") + public String getOrganizationId() { + return organizationId; + } + + public void setOrganizationId(String organizationId) { + this.organizationId = organizationId; } - public void setOffset(Integer offset) { - this.offset = offset; + public InlineResponse2007 products(List products) { + this.products = products; + return this; } - public InlineResponse2007 limit(Integer limit) { - this.limit = limit; + public InlineResponse2007 addProductsItem(Notificationsubscriptionsv2webhooksProducts productsItem) { + if (this.products == null) { + this.products = new ArrayList(); + } + this.products.add(productsItem); return this; } /** - * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - * @return limit + * Get products + * @return products **/ - @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") - public Integer getLimit() { - return limit; + @ApiModelProperty(value = "") + public List getProducts() { + return products; } - public void setLimit(Integer limit) { - this.limit = limit; + public void setProducts(List products) { + this.products = products; } - public InlineResponse2007 sort(String sort) { - this.sort = sort; + public InlineResponse2007 webhookUrl(String webhookUrl) { + this.webhookUrl = webhookUrl; return this; } /** - * A comma separated list of the following form: `submitTimeUtc:desc` - * @return sort + * The client's endpoint (URL) to receive webhooks. + * @return webhookUrl **/ - @ApiModelProperty(value = "A comma separated list of the following form: `submitTimeUtc:desc` ") - public String getSort() { - return sort; + @ApiModelProperty(value = "The client's endpoint (URL) to receive webhooks.") + public String getWebhookUrl() { + return webhookUrl; } - public void setSort(String sort) { - this.sort = sort; + public void setWebhookUrl(String webhookUrl) { + this.webhookUrl = webhookUrl; } - public InlineResponse2007 count(Integer count) { - this.count = count; + public InlineResponse2007 healthCheckUrl(String healthCheckUrl) { + this.healthCheckUrl = healthCheckUrl; return this; } /** - * Results for this page, this could be below the limit. - * @return count + * The client's health check endpoint (URL). + * @return healthCheckUrl **/ - @ApiModelProperty(value = "Results for this page, this could be below the limit.") - public Integer getCount() { - return count; + @ApiModelProperty(value = "The client's health check endpoint (URL).") + public String getHealthCheckUrl() { + return healthCheckUrl; } - public void setCount(Integer count) { - this.count = count; + public void setHealthCheckUrl(String healthCheckUrl) { + this.healthCheckUrl = healthCheckUrl; } - public InlineResponse2007 devices(List devices) { - this.devices = devices; + public InlineResponse2007 status(String status) { + this.status = status; return this; } - public InlineResponse2007 addDevicesItem(InlineResponse2007Devices devicesItem) { - if (this.devices == null) { - this.devices = new ArrayList(); - } - this.devices.add(devicesItem); + /** + * Webhook status. + * @return status + **/ + @ApiModelProperty(value = "Webhook status.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse2007 name(String name) { + this.name = name; + return this; + } + + /** + * Client friendly webhook name. + * @return name + **/ + @ApiModelProperty(value = "Client friendly webhook name.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public InlineResponse2007 description(String description) { + this.description = description; + return this; + } + + /** + * Client friendly webhook description. + * @return description + **/ + @ApiModelProperty(value = "Client friendly webhook description.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public InlineResponse2007 retryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + return this; + } + + /** + * Get retryPolicy + * @return retryPolicy + **/ + @ApiModelProperty(value = "") + public Notificationsubscriptionsv2webhooksRetryPolicy getRetryPolicy() { + return retryPolicy; + } + + public void setRetryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + } + + public InlineResponse2007 securityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { + this.securityPolicy = securityPolicy; + return this; + } + + /** + * Get securityPolicy + * @return securityPolicy + **/ + @ApiModelProperty(value = "") + public Notificationsubscriptionsv2webhooksSecurityPolicy getSecurityPolicy() { + return securityPolicy; + } + + public void setSecurityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { + this.securityPolicy = securityPolicy; + } + + public InlineResponse2007 createdOn(String createdOn) { + this.createdOn = createdOn; + return this; + } + + /** + * Date on which webhook was created/registered. + * @return createdOn + **/ + @ApiModelProperty(value = "Date on which webhook was created/registered.") + public String getCreatedOn() { + return createdOn; + } + + public void setCreatedOn(String createdOn) { + this.createdOn = createdOn; + } + + public InlineResponse2007 updatedOn(String updatedOn) { + this.updatedOn = updatedOn; + return this; + } + + /** + * Date on which webhook was most recently updated. + * @return updatedOn + **/ + @ApiModelProperty(value = "Date on which webhook was most recently updated.") + public String getUpdatedOn() { + return updatedOn; + } + + public void setUpdatedOn(String updatedOn) { + this.updatedOn = updatedOn; + } + + public InlineResponse2007 notificationScope(String notificationScope) { + this.notificationScope = notificationScope; return this; } /** - * A collection of devices - * @return devices + * The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS + * @return notificationScope **/ - @ApiModelProperty(value = "A collection of devices") - public List getDevices() { - return devices; + @ApiModelProperty(value = "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS") + public String getNotificationScope() { + return notificationScope; } - public void setDevices(List devices) { - this.devices = devices; + public void setNotificationScope(String notificationScope) { + this.notificationScope = notificationScope; } @@ -176,17 +325,24 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2007 inlineResponse2007 = (InlineResponse2007) o; - return Objects.equals(this.totalCount, inlineResponse2007.totalCount) && - Objects.equals(this.offset, inlineResponse2007.offset) && - Objects.equals(this.limit, inlineResponse2007.limit) && - Objects.equals(this.sort, inlineResponse2007.sort) && - Objects.equals(this.count, inlineResponse2007.count) && - Objects.equals(this.devices, inlineResponse2007.devices); + return Objects.equals(this.webhookId, inlineResponse2007.webhookId) && + Objects.equals(this.organizationId, inlineResponse2007.organizationId) && + Objects.equals(this.products, inlineResponse2007.products) && + Objects.equals(this.webhookUrl, inlineResponse2007.webhookUrl) && + Objects.equals(this.healthCheckUrl, inlineResponse2007.healthCheckUrl) && + Objects.equals(this.status, inlineResponse2007.status) && + Objects.equals(this.name, inlineResponse2007.name) && + Objects.equals(this.description, inlineResponse2007.description) && + Objects.equals(this.retryPolicy, inlineResponse2007.retryPolicy) && + Objects.equals(this.securityPolicy, inlineResponse2007.securityPolicy) && + Objects.equals(this.createdOn, inlineResponse2007.createdOn) && + Objects.equals(this.updatedOn, inlineResponse2007.updatedOn) && + Objects.equals(this.notificationScope, inlineResponse2007.notificationScope); } @Override public int hashCode() { - return Objects.hash(totalCount, offset, limit, sort, count, devices); + return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, updatedOn, notificationScope); } @@ -195,12 +351,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007 {\n"); - if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); - if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); + if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); + if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2008.java b/src/main/java/Model/InlineResponse2008.java index 58db3d75e..b73c7520a 100644 --- a/src/main/java/Model/InlineResponse2008.java +++ b/src/main/java/Model/InlineResponse2008.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Dmsv3devicesdeassociateDevices; +import Model.InlineResponse2008Devices; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,53 +32,137 @@ */ public class InlineResponse2008 { - @SerializedName("status") - private String status = null; + @SerializedName("totalCount") + private Integer totalCount = null; + + @SerializedName("offset") + private Integer offset = null; + + @SerializedName("limit") + private Integer limit = null; + + @SerializedName("sort") + private String sort = null; + + @SerializedName("count") + private Integer count = null; @SerializedName("devices") - private List devices = null; + private List devices = null; + + public InlineResponse2008 totalCount(Integer totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Total number of results. + * @return totalCount + **/ + @ApiModelProperty(value = "Total number of results.") + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public InlineResponse2008 offset(Integer offset) { + this.offset = offset; + return this; + } + + /** + * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + * @return offset + **/ + @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public InlineResponse2008 limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + * @return limit + **/ + @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public InlineResponse2008 sort(String sort) { + this.sort = sort; + return this; + } + + /** + * A comma separated list of the following form: `submitTimeUtc:desc` + * @return sort + **/ + @ApiModelProperty(value = "A comma separated list of the following form: `submitTimeUtc:desc` ") + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } - public InlineResponse2008 status(String status) { - this.status = status; + public InlineResponse2008 count(Integer count) { + this.count = count; return this; } /** - * Possible values: - OK - * @return status + * Results for this page, this could be below the limit. + * @return count **/ - @ApiModelProperty(value = "Possible values: - OK") - public String getStatus() { - return status; + @ApiModelProperty(value = "Results for this page, this could be below the limit.") + public Integer getCount() { + return count; } - public void setStatus(String status) { - this.status = status; + public void setCount(Integer count) { + this.count = count; } - public InlineResponse2008 devices(List devices) { + public InlineResponse2008 devices(List devices) { this.devices = devices; return this; } - public InlineResponse2008 addDevicesItem(Dmsv3devicesdeassociateDevices devicesItem) { + public InlineResponse2008 addDevicesItem(InlineResponse2008Devices devicesItem) { if (this.devices == null) { - this.devices = new ArrayList(); + this.devices = new ArrayList(); } this.devices.add(devicesItem); return this; } /** - * Get devices + * A collection of devices * @return devices **/ - @ApiModelProperty(value = "") - public List getDevices() { + @ApiModelProperty(value = "A collection of devices") + public List getDevices() { return devices; } - public void setDevices(List devices) { + public void setDevices(List devices) { this.devices = devices; } @@ -92,13 +176,17 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2008 inlineResponse2008 = (InlineResponse2008) o; - return Objects.equals(this.status, inlineResponse2008.status) && + return Objects.equals(this.totalCount, inlineResponse2008.totalCount) && + Objects.equals(this.offset, inlineResponse2008.offset) && + Objects.equals(this.limit, inlineResponse2008.limit) && + Objects.equals(this.sort, inlineResponse2008.sort) && + Objects.equals(this.count, inlineResponse2008.count) && Objects.equals(this.devices, inlineResponse2008.devices); } @Override public int hashCode() { - return Objects.hash(status, devices); + return Objects.hash(totalCount, offset, limit, sort, count, devices); } @@ -107,7 +195,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2008 {\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InlineResponse2007Devices.java b/src/main/java/Model/InlineResponse2008Devices.java similarity index 82% rename from src/main/java/Model/InlineResponse2007Devices.java rename to src/main/java/Model/InlineResponse2008Devices.java index 55c647c83..b85613e40 100644 --- a/src/main/java/Model/InlineResponse2007Devices.java +++ b/src/main/java/Model/InlineResponse2008Devices.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse2007Devices + * InlineResponse2008Devices */ -public class InlineResponse2007Devices { +public class InlineResponse2008Devices { @SerializedName("readerId") private String readerId = null; @@ -56,7 +56,7 @@ public class InlineResponse2007Devices { @SerializedName("pin") private String pin = null; - public InlineResponse2007Devices readerId(String readerId) { + public InlineResponse2008Devices readerId(String readerId) { this.readerId = readerId; return this; } @@ -74,7 +74,7 @@ public void setReaderId(String readerId) { this.readerId = readerId; } - public InlineResponse2007Devices terminalSerialNumber(String terminalSerialNumber) { + public InlineResponse2008Devices terminalSerialNumber(String terminalSerialNumber) { this.terminalSerialNumber = terminalSerialNumber; return this; } @@ -92,7 +92,7 @@ public void setTerminalSerialNumber(String terminalSerialNumber) { this.terminalSerialNumber = terminalSerialNumber; } - public InlineResponse2007Devices terminalId(String terminalId) { + public InlineResponse2008Devices terminalId(String terminalId) { this.terminalId = terminalId; return this; } @@ -110,7 +110,7 @@ public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - public InlineResponse2007Devices model(String model) { + public InlineResponse2008Devices model(String model) { this.model = model; return this; } @@ -128,7 +128,7 @@ public void setModel(String model) { this.model = model; } - public InlineResponse2007Devices make(String make) { + public InlineResponse2008Devices make(String make) { this.make = make; return this; } @@ -146,7 +146,7 @@ public void setMake(String make) { this.make = make; } - public InlineResponse2007Devices hardwareRevision(String hardwareRevision) { + public InlineResponse2008Devices hardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; return this; } @@ -164,7 +164,7 @@ public void setHardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; } - public InlineResponse2007Devices status(String status) { + public InlineResponse2008Devices status(String status) { this.status = status; return this; } @@ -182,7 +182,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2007Devices creationDate(String creationDate) { + public InlineResponse2008Devices creationDate(String creationDate) { this.creationDate = creationDate; return this; } @@ -200,7 +200,7 @@ public void setCreationDate(String creationDate) { this.creationDate = creationDate; } - public InlineResponse2007Devices pin(String pin) { + public InlineResponse2008Devices pin(String pin) { this.pin = pin; return this; } @@ -227,16 +227,16 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2007Devices inlineResponse2007Devices = (InlineResponse2007Devices) o; - return Objects.equals(this.readerId, inlineResponse2007Devices.readerId) && - Objects.equals(this.terminalSerialNumber, inlineResponse2007Devices.terminalSerialNumber) && - Objects.equals(this.terminalId, inlineResponse2007Devices.terminalId) && - Objects.equals(this.model, inlineResponse2007Devices.model) && - Objects.equals(this.make, inlineResponse2007Devices.make) && - Objects.equals(this.hardwareRevision, inlineResponse2007Devices.hardwareRevision) && - Objects.equals(this.status, inlineResponse2007Devices.status) && - Objects.equals(this.creationDate, inlineResponse2007Devices.creationDate) && - Objects.equals(this.pin, inlineResponse2007Devices.pin); + InlineResponse2008Devices inlineResponse2008Devices = (InlineResponse2008Devices) o; + return Objects.equals(this.readerId, inlineResponse2008Devices.readerId) && + Objects.equals(this.terminalSerialNumber, inlineResponse2008Devices.terminalSerialNumber) && + Objects.equals(this.terminalId, inlineResponse2008Devices.terminalId) && + Objects.equals(this.model, inlineResponse2008Devices.model) && + Objects.equals(this.make, inlineResponse2008Devices.make) && + Objects.equals(this.hardwareRevision, inlineResponse2008Devices.hardwareRevision) && + Objects.equals(this.status, inlineResponse2008Devices.status) && + Objects.equals(this.creationDate, inlineResponse2008Devices.creationDate) && + Objects.equals(this.pin, inlineResponse2008Devices.pin); } @Override @@ -248,7 +248,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2007Devices {\n"); + sb.append("class InlineResponse2008Devices {\n"); if (readerId != null) sb.append(" readerId: ").append(toIndentedString(readerId)).append("\n"); if (terminalSerialNumber != null) sb.append(" terminalSerialNumber: ").append(toIndentedString(terminalSerialNumber)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2009.java b/src/main/java/Model/InlineResponse2009.java index b88dc5a95..e53aaa5cd 100644 --- a/src/main/java/Model/InlineResponse2009.java +++ b/src/main/java/Model/InlineResponse2009.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2009Devices; +import Model.Dmsv3devicesdeassociateDevices; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,137 +32,53 @@ */ public class InlineResponse2009 { - @SerializedName("totalCount") - private Integer totalCount = null; - - @SerializedName("offset") - private Integer offset = null; - - @SerializedName("limit") - private Integer limit = null; - - @SerializedName("sort") - private String sort = null; - - @SerializedName("count") - private Integer count = null; + @SerializedName("status") + private String status = null; @SerializedName("devices") - private List devices = null; - - public InlineResponse2009 totalCount(Integer totalCount) { - this.totalCount = totalCount; - return this; - } - - /** - * Total number of results. - * @return totalCount - **/ - @ApiModelProperty(value = "Total number of results.") - public Integer getTotalCount() { - return totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public InlineResponse2009 offset(Integer offset) { - this.offset = offset; - return this; - } - - /** - * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - * @return offset - **/ - @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") - public Integer getOffset() { - return offset; - } - - public void setOffset(Integer offset) { - this.offset = offset; - } - - public InlineResponse2009 limit(Integer limit) { - this.limit = limit; - return this; - } - - /** - * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - * @return limit - **/ - @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") - public Integer getLimit() { - return limit; - } - - public void setLimit(Integer limit) { - this.limit = limit; - } - - public InlineResponse2009 sort(String sort) { - this.sort = sort; - return this; - } - - /** - * A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - * @return sort - **/ - @ApiModelProperty(value = "A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` ") - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } + private List devices = null; - public InlineResponse2009 count(Integer count) { - this.count = count; + public InlineResponse2009 status(String status) { + this.status = status; return this; } /** - * Results for this page, this could be below the limit. - * @return count + * Possible values: - OK + * @return status **/ - @ApiModelProperty(value = "Results for this page, this could be below the limit.") - public Integer getCount() { - return count; + @ApiModelProperty(value = "Possible values: - OK") + public String getStatus() { + return status; } - public void setCount(Integer count) { - this.count = count; + public void setStatus(String status) { + this.status = status; } - public InlineResponse2009 devices(List devices) { + public InlineResponse2009 devices(List devices) { this.devices = devices; return this; } - public InlineResponse2009 addDevicesItem(InlineResponse2009Devices devicesItem) { + public InlineResponse2009 addDevicesItem(Dmsv3devicesdeassociateDevices devicesItem) { if (this.devices == null) { - this.devices = new ArrayList(); + this.devices = new ArrayList(); } this.devices.add(devicesItem); return this; } /** - * A collection of devices + * Get devices * @return devices **/ - @ApiModelProperty(value = "A collection of devices") - public List getDevices() { + @ApiModelProperty(value = "") + public List getDevices() { return devices; } - public void setDevices(List devices) { + public void setDevices(List devices) { this.devices = devices; } @@ -176,17 +92,13 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2009 inlineResponse2009 = (InlineResponse2009) o; - return Objects.equals(this.totalCount, inlineResponse2009.totalCount) && - Objects.equals(this.offset, inlineResponse2009.offset) && - Objects.equals(this.limit, inlineResponse2009.limit) && - Objects.equals(this.sort, inlineResponse2009.sort) && - Objects.equals(this.count, inlineResponse2009.count) && + return Objects.equals(this.status, inlineResponse2009.status) && Objects.equals(this.devices, inlineResponse2009.devices); } @Override public int hashCode() { - return Objects.hash(totalCount, offset, limit, sort, count, devices); + return Objects.hash(status, devices); } @@ -195,11 +107,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2009 {\n"); - if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InlineResponse200Details.java b/src/main/java/Model/InlineResponse200Details.java new file mode 100644 index 000000000..1db2757de --- /dev/null +++ b/src/main/java/Model/InlineResponse200Details.java @@ -0,0 +1,99 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse200Details + */ + +public class InlineResponse200Details { + @SerializedName("name") + private String name = null; + + @SerializedName("location") + private String location = null; + + /** + * The name of the field that caused the error. + * @return name + **/ + @ApiModelProperty(example = "address1", value = "The name of the field that caused the error.") + public String getName() { + return name; + } + + /** + * The location of the field that caused the error. + * @return location + **/ + @ApiModelProperty(example = "billTo", value = "The location of the field that caused the error.") + public String getLocation() { + return location; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse200Details inlineResponse200Details = (InlineResponse200Details) o; + return Objects.equals(this.name, inlineResponse200Details.name) && + Objects.equals(this.location, inlineResponse200Details.location); + } + + @Override + public int hashCode() { + return Objects.hash(name, location); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse200Details {\n"); + + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (location != null) sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse200Errors.java b/src/main/java/Model/InlineResponse200Errors.java new file mode 100644 index 000000000..60f21f6aa --- /dev/null +++ b/src/main/java/Model/InlineResponse200Errors.java @@ -0,0 +1,134 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse200Details; +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; + +/** + * InlineResponse200Errors + */ + +public class InlineResponse200Errors { + @SerializedName("type") + private String type = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("details") + private List details = null; + + public InlineResponse200Errors type(String type) { + this.type = type; + return this; + } + + /** + * The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. + * @return type + **/ + @ApiModelProperty(example = "notAttempted", value = "The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. ") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public InlineResponse200Errors message(String message) { + this.message = message; + return this; + } + + /** + * The detailed message related to the type. + * @return message + **/ + @ApiModelProperty(example = "Creation not attempted due to customer token creation failure", value = "The detailed message related to the type.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + /** + * Get details + * @return details + **/ + @ApiModelProperty(value = "") + public List getDetails() { + return details; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse200Errors inlineResponse200Errors = (InlineResponse200Errors) o; + return Objects.equals(this.type, inlineResponse200Errors.type) && + Objects.equals(this.message, inlineResponse200Errors.message) && + Objects.equals(this.details, inlineResponse200Errors.details); + } + + @Override + public int hashCode() { + return Objects.hash(type, message, details); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse200Errors {\n"); + + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse200Responses.java b/src/main/java/Model/InlineResponse200Responses.java new file mode 100644 index 000000000..51c550d85 --- /dev/null +++ b/src/main/java/Model/InlineResponse200Responses.java @@ -0,0 +1,174 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse200Errors; +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; + +/** + * InlineResponse200Responses + */ + +public class InlineResponse200Responses { + @SerializedName("resource") + private String resource = null; + + @SerializedName("httpStatus") + private Integer httpStatus = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("errors") + private List errors = null; + + public InlineResponse200Responses resource(String resource) { + this.resource = resource; + return this; + } + + /** + * TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + * @return resource + **/ + @ApiModelProperty(example = "customer", value = "TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard ") + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } + + public InlineResponse200Responses httpStatus(Integer httpStatus) { + this.httpStatus = httpStatus; + return this; + } + + /** + * Http status associated with the response. + * @return httpStatus + **/ + @ApiModelProperty(example = "201", value = "Http status associated with the response. ") + public Integer getHttpStatus() { + return httpStatus; + } + + public void setHttpStatus(Integer httpStatus) { + this.httpStatus = httpStatus; + } + + public InlineResponse200Responses id(String id) { + this.id = id; + return this; + } + + /** + * TMS token id associated with the response. + * @return id + **/ + @ApiModelProperty(example = "351A67733325454AE0633F36CF0A9420", value = "TMS token id associated with the response. ") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public InlineResponse200Responses errors(List errors) { + this.errors = errors; + return this; + } + + public InlineResponse200Responses addErrorsItem(InlineResponse200Errors errorsItem) { + if (this.errors == null) { + this.errors = new ArrayList(); + } + this.errors.add(errorsItem); + return this; + } + + /** + * Get errors + * @return errors + **/ + @ApiModelProperty(value = "") + public List getErrors() { + return errors; + } + + public void setErrors(List errors) { + this.errors = errors; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse200Responses inlineResponse200Responses = (InlineResponse200Responses) o; + return Objects.equals(this.resource, inlineResponse200Responses.resource) && + Objects.equals(this.httpStatus, inlineResponse200Responses.httpStatus) && + Objects.equals(this.id, inlineResponse200Responses.id) && + Objects.equals(this.errors, inlineResponse200Responses.errors); + } + + @Override + public int hashCode() { + return Objects.hash(resource, httpStatus, id, errors); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse200Responses {\n"); + + if (resource != null) sb.append(" resource: ").append(toIndentedString(resource)).append("\n"); + if (httpStatus != null) sb.append(" httpStatus: ").append(toIndentedString(httpStatus)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (errors != null) sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse2013SetupsPayments.java b/src/main/java/Model/InlineResponse2013SetupsPayments.java index 3c2829aab..634ba2f61 100644 --- a/src/main/java/Model/InlineResponse2013SetupsPayments.java +++ b/src/main/java/Model/InlineResponse2013SetupsPayments.java @@ -89,6 +89,9 @@ public class InlineResponse2013SetupsPayments { @SerializedName("serviceFee") private InlineResponse2013SetupsPaymentsCardProcessing serviceFee = null; + @SerializedName("batchUpload") + private InlineResponse2013SetupsPaymentsDigitalPayments batchUpload = null; + public InlineResponse2013SetupsPayments cardProcessing(InlineResponse2013SetupsPaymentsCardProcessing cardProcessing) { this.cardProcessing = cardProcessing; return this; @@ -431,6 +434,24 @@ public void setServiceFee(InlineResponse2013SetupsPaymentsCardProcessing service this.serviceFee = serviceFee; } + public InlineResponse2013SetupsPayments batchUpload(InlineResponse2013SetupsPaymentsDigitalPayments batchUpload) { + this.batchUpload = batchUpload; + return this; + } + + /** + * Get batchUpload + * @return batchUpload + **/ + @ApiModelProperty(value = "") + public InlineResponse2013SetupsPaymentsDigitalPayments getBatchUpload() { + return batchUpload; + } + + public void setBatchUpload(InlineResponse2013SetupsPaymentsDigitalPayments batchUpload) { + this.batchUpload = batchUpload; + } + @Override public boolean equals(java.lang.Object o) { @@ -459,12 +480,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.payByLink, inlineResponse2013SetupsPayments.payByLink) && Objects.equals(this.unifiedCheckout, inlineResponse2013SetupsPayments.unifiedCheckout) && Objects.equals(this.receivablesManager, inlineResponse2013SetupsPayments.receivablesManager) && - Objects.equals(this.serviceFee, inlineResponse2013SetupsPayments.serviceFee); + Objects.equals(this.serviceFee, inlineResponse2013SetupsPayments.serviceFee) && + Objects.equals(this.batchUpload, inlineResponse2013SetupsPayments.batchUpload); } @Override public int hashCode() { - return Objects.hash(cardProcessing, alternativePaymentMethods, cardPresentConnect, eCheck, payerAuthentication, digitalPayments, secureAcceptance, virtualTerminal, currencyConversion, tax, customerInvoicing, recurringBilling, cybsReadyTerminal, paymentOrchestration, payouts, payByLink, unifiedCheckout, receivablesManager, serviceFee); + return Objects.hash(cardProcessing, alternativePaymentMethods, cardPresentConnect, eCheck, payerAuthentication, digitalPayments, secureAcceptance, virtualTerminal, currencyConversion, tax, customerInvoicing, recurringBilling, cybsReadyTerminal, paymentOrchestration, payouts, payByLink, unifiedCheckout, receivablesManager, serviceFee, batchUpload); } @@ -492,6 +514,7 @@ public String toString() { if (unifiedCheckout != null) sb.append(" unifiedCheckout: ").append(toIndentedString(unifiedCheckout)).append("\n"); if (receivablesManager != null) sb.append(" receivablesManager: ").append(toIndentedString(receivablesManager)).append("\n"); if (serviceFee != null) sb.append(" serviceFee: ").append(toIndentedString(serviceFee)).append("\n"); + if (batchUpload != null) sb.append(" batchUpload: ").append(toIndentedString(batchUpload)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java b/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java index 1a6f52c77..82e893a1f 100644 --- a/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java +++ b/src/main/java/Model/PatchCustomerPaymentInstrumentRequest.java @@ -15,16 +15,16 @@ import java.util.Objects; import java.util.Arrays; +import Model.TmsMerchantInformation; import Model.TmsPaymentInstrumentProcessingInfo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,7 +40,7 @@ public class PatchCustomerPaymentInstrumentRequest { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links = null; @SerializedName("id") private String id = null; @@ -58,33 +58,33 @@ public class PatchCustomerPaymentInstrumentRequest { private String type = null; @SerializedName("bankAccount") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; @SerializedName("card") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card = null; @SerializedName("buyerInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("processingInformation") private TmsPaymentInstrumentProcessingInfo processingInformation = null; @SerializedName("merchantInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation = null; + private TmsMerchantInformation merchantInformation = null; @SerializedName("instrumentIdentifier") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; - public PatchCustomerPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public PatchCustomerPaymentInstrumentRequest links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; return this; } @@ -94,11 +94,11 @@ public PatchCustomerPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefault * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; } @@ -165,7 +165,7 @@ public String getType() { return type; } - public PatchCustomerPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public PatchCustomerPaymentInstrumentRequest bankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; return this; } @@ -175,15 +175,15 @@ public PatchCustomerPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedD * @return bankAccount **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { return bankAccount; } - public void setBankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public void setBankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; } - public PatchCustomerPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public PatchCustomerPaymentInstrumentRequest card(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; return this; } @@ -193,15 +193,15 @@ public PatchCustomerPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultP * @return card **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard getCard() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard getCard() { return card; } - public void setCard(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public void setCard(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; } - public PatchCustomerPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public PatchCustomerPaymentInstrumentRequest buyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -211,15 +211,15 @@ public PatchCustomerPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbe * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PatchCustomerPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public PatchCustomerPaymentInstrumentRequest billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -229,11 +229,11 @@ public PatchCustomerPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaul * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } @@ -255,7 +255,7 @@ public void setProcessingInformation(TmsPaymentInstrumentProcessingInfo processi this.processingInformation = processingInformation; } - public PatchCustomerPaymentInstrumentRequest merchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public PatchCustomerPaymentInstrumentRequest merchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; return this; } @@ -265,15 +265,15 @@ public PatchCustomerPaymentInstrumentRequest merchantInformation(Tmsv2customersE * @return merchantInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation getMerchantInformation() { + public TmsMerchantInformation getMerchantInformation() { return merchantInformation; } - public void setMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public void setMerchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; } - public PatchCustomerPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public PatchCustomerPaymentInstrumentRequest instrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -283,15 +283,15 @@ public PatchCustomerPaymentInstrumentRequest instrumentIdentifier(Tmsv2customers * @return instrumentIdentifier **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { return instrumentIdentifier; } - public void setInstrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public void setInstrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; } - public PatchCustomerPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public PatchCustomerPaymentInstrumentRequest metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; return this; } @@ -301,15 +301,15 @@ public PatchCustomerPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefa * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; } - public PatchCustomerPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public PatchCustomerPaymentInstrumentRequest embedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; return this; } @@ -319,11 +319,11 @@ public PatchCustomerPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefa * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; } diff --git a/src/main/java/Model/PatchCustomerRequest.java b/src/main/java/Model/PatchCustomerRequest.java index 6039937da..286decdb8 100644 --- a/src/main/java/Model/PatchCustomerRequest.java +++ b/src/main/java/Model/PatchCustomerRequest.java @@ -15,15 +15,15 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersBuyerInformation; -import Model.Tmsv2customersClientReferenceInformation; -import Model.Tmsv2customersDefaultPaymentInstrument; -import Model.Tmsv2customersDefaultShippingAddress; -import Model.Tmsv2customersEmbedded; -import Model.Tmsv2customersLinks; -import Model.Tmsv2customersMerchantDefinedInformation; -import Model.Tmsv2customersMetadata; -import Model.Tmsv2customersObjectInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument; +import Model.Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerObjectInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -41,36 +41,36 @@ public class PatchCustomerRequest { @SerializedName("_links") - private Tmsv2customersLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerLinks links = null; @SerializedName("id") private String id = null; @SerializedName("objectInformation") - private Tmsv2customersObjectInformation objectInformation = null; + private Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation = null; @SerializedName("buyerInformation") - private Tmsv2customersBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation = null; @SerializedName("clientReferenceInformation") - private Tmsv2customersClientReferenceInformation clientReferenceInformation = null; + private Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation = null; @SerializedName("merchantDefinedInformation") - private List merchantDefinedInformation = null; + private List merchantDefinedInformation = null; @SerializedName("defaultPaymentInstrument") - private Tmsv2customersDefaultPaymentInstrument defaultPaymentInstrument = null; + private Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument = null; @SerializedName("defaultShippingAddress") - private Tmsv2customersDefaultShippingAddress defaultShippingAddress = null; + private Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress = null; @SerializedName("metadata") - private Tmsv2customersMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbedded embedded = null; - public PatchCustomerRequest links(Tmsv2customersLinks links) { + public PatchCustomerRequest links(Tmsv2tokenizeTokenInformationCustomerLinks links) { this.links = links; return this; } @@ -80,11 +80,11 @@ public PatchCustomerRequest links(Tmsv2customersLinks links) { * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerLinks getLinks() { return links; } - public void setLinks(Tmsv2customersLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerLinks links) { this.links = links; } @@ -106,7 +106,7 @@ public void setId(String id) { this.id = id; } - public PatchCustomerRequest objectInformation(Tmsv2customersObjectInformation objectInformation) { + public PatchCustomerRequest objectInformation(Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation) { this.objectInformation = objectInformation; return this; } @@ -116,15 +116,15 @@ public PatchCustomerRequest objectInformation(Tmsv2customersObjectInformation ob * @return objectInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersObjectInformation getObjectInformation() { + public Tmsv2tokenizeTokenInformationCustomerObjectInformation getObjectInformation() { return objectInformation; } - public void setObjectInformation(Tmsv2customersObjectInformation objectInformation) { + public void setObjectInformation(Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation) { this.objectInformation = objectInformation; } - public PatchCustomerRequest buyerInformation(Tmsv2customersBuyerInformation buyerInformation) { + public PatchCustomerRequest buyerInformation(Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -134,15 +134,15 @@ public PatchCustomerRequest buyerInformation(Tmsv2customersBuyerInformation buye * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PatchCustomerRequest clientReferenceInformation(Tmsv2customersClientReferenceInformation clientReferenceInformation) { + public PatchCustomerRequest clientReferenceInformation(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; } @@ -152,22 +152,22 @@ public PatchCustomerRequest clientReferenceInformation(Tmsv2customersClientRefer * @return clientReferenceInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersClientReferenceInformation getClientReferenceInformation() { + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation getClientReferenceInformation() { return clientReferenceInformation; } - public void setClientReferenceInformation(Tmsv2customersClientReferenceInformation clientReferenceInformation) { + public void setClientReferenceInformation(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; } - public PatchCustomerRequest merchantDefinedInformation(List merchantDefinedInformation) { + public PatchCustomerRequest merchantDefinedInformation(List merchantDefinedInformation) { this.merchantDefinedInformation = merchantDefinedInformation; return this; } - public PatchCustomerRequest addMerchantDefinedInformationItem(Tmsv2customersMerchantDefinedInformation merchantDefinedInformationItem) { + public PatchCustomerRequest addMerchantDefinedInformationItem(Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation merchantDefinedInformationItem) { if (this.merchantDefinedInformation == null) { - this.merchantDefinedInformation = new ArrayList(); + this.merchantDefinedInformation = new ArrayList(); } this.merchantDefinedInformation.add(merchantDefinedInformationItem); return this; @@ -178,15 +178,15 @@ public PatchCustomerRequest addMerchantDefinedInformationItem(Tmsv2customersMerc * @return merchantDefinedInformation **/ @ApiModelProperty(value = "Object containing the custom data that the merchant defines. ") - public List getMerchantDefinedInformation() { + public List getMerchantDefinedInformation() { return merchantDefinedInformation; } - public void setMerchantDefinedInformation(List merchantDefinedInformation) { + public void setMerchantDefinedInformation(List merchantDefinedInformation) { this.merchantDefinedInformation = merchantDefinedInformation; } - public PatchCustomerRequest defaultPaymentInstrument(Tmsv2customersDefaultPaymentInstrument defaultPaymentInstrument) { + public PatchCustomerRequest defaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument) { this.defaultPaymentInstrument = defaultPaymentInstrument; return this; } @@ -196,15 +196,15 @@ public PatchCustomerRequest defaultPaymentInstrument(Tmsv2customersDefaultPaymen * @return defaultPaymentInstrument **/ @ApiModelProperty(value = "") - public Tmsv2customersDefaultPaymentInstrument getDefaultPaymentInstrument() { + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument getDefaultPaymentInstrument() { return defaultPaymentInstrument; } - public void setDefaultPaymentInstrument(Tmsv2customersDefaultPaymentInstrument defaultPaymentInstrument) { + public void setDefaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument) { this.defaultPaymentInstrument = defaultPaymentInstrument; } - public PatchCustomerRequest defaultShippingAddress(Tmsv2customersDefaultShippingAddress defaultShippingAddress) { + public PatchCustomerRequest defaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress) { this.defaultShippingAddress = defaultShippingAddress; return this; } @@ -214,15 +214,15 @@ public PatchCustomerRequest defaultShippingAddress(Tmsv2customersDefaultShipping * @return defaultShippingAddress **/ @ApiModelProperty(value = "") - public Tmsv2customersDefaultShippingAddress getDefaultShippingAddress() { + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress getDefaultShippingAddress() { return defaultShippingAddress; } - public void setDefaultShippingAddress(Tmsv2customersDefaultShippingAddress defaultShippingAddress) { + public void setDefaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress) { this.defaultShippingAddress = defaultShippingAddress; } - public PatchCustomerRequest metadata(Tmsv2customersMetadata metadata) { + public PatchCustomerRequest metadata(Tmsv2tokenizeTokenInformationCustomerMetadata metadata) { this.metadata = metadata; return this; } @@ -232,15 +232,15 @@ public PatchCustomerRequest metadata(Tmsv2customersMetadata metadata) { * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerMetadata metadata) { this.metadata = metadata; } - public PatchCustomerRequest embedded(Tmsv2customersEmbedded embedded) { + public PatchCustomerRequest embedded(Tmsv2tokenizeTokenInformationCustomerEmbedded embedded) { this.embedded = embedded; return this; } @@ -250,11 +250,11 @@ public PatchCustomerRequest embedded(Tmsv2customersEmbedded embedded) { * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbedded embedded) { this.embedded = embedded; } diff --git a/src/main/java/Model/PatchCustomerShippingAddressRequest.java b/src/main/java/Model/PatchCustomerShippingAddressRequest.java index 7ef059172..cdb0092ad 100644 --- a/src/main/java/Model/PatchCustomerShippingAddressRequest.java +++ b/src/main/java/Model/PatchCustomerShippingAddressRequest.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressLinks; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressMetadata; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressShipTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,7 +33,7 @@ public class PatchCustomerShippingAddressRequest { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultShippingAddressLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links = null; @SerializedName("id") private String id = null; @@ -42,12 +42,12 @@ public class PatchCustomerShippingAddressRequest { private Boolean _default = null; @SerializedName("shipTo") - private Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata = null; - public PatchCustomerShippingAddressRequest links(Tmsv2customersEmbeddedDefaultShippingAddressLinks links) { + public PatchCustomerShippingAddressRequest links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links) { this.links = links; return this; } @@ -57,11 +57,11 @@ public PatchCustomerShippingAddressRequest links(Tmsv2customersEmbeddedDefaultSh * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultShippingAddressLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links) { this.links = links; } @@ -101,7 +101,7 @@ public void setDefault(Boolean _default) { this._default = _default; } - public PatchCustomerShippingAddressRequest shipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public PatchCustomerShippingAddressRequest shipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; return this; } @@ -111,15 +111,15 @@ public PatchCustomerShippingAddressRequest shipTo(Tmsv2customersEmbeddedDefaultS * @return shipTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo getShipTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo getShipTo() { return shipTo; } - public void setShipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public void setShipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; } - public PatchCustomerShippingAddressRequest metadata(Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata) { + public PatchCustomerShippingAddressRequest metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata) { this.metadata = metadata; return this; } @@ -129,11 +129,11 @@ public PatchCustomerShippingAddressRequest metadata(Tmsv2customersEmbeddedDefaul * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata) { this.metadata = metadata; } diff --git a/src/main/java/Model/PatchPaymentInstrumentRequest.java b/src/main/java/Model/PatchPaymentInstrumentRequest.java index 41cdc942c..7a5c50621 100644 --- a/src/main/java/Model/PatchPaymentInstrumentRequest.java +++ b/src/main/java/Model/PatchPaymentInstrumentRequest.java @@ -15,16 +15,16 @@ import java.util.Objects; import java.util.Arrays; +import Model.TmsMerchantInformation; import Model.TmsPaymentInstrumentProcessingInfo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,7 +40,7 @@ public class PatchPaymentInstrumentRequest { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links = null; @SerializedName("id") private String id = null; @@ -58,33 +58,33 @@ public class PatchPaymentInstrumentRequest { private String type = null; @SerializedName("bankAccount") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; @SerializedName("card") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card = null; @SerializedName("buyerInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("processingInformation") private TmsPaymentInstrumentProcessingInfo processingInformation = null; @SerializedName("merchantInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation = null; + private TmsMerchantInformation merchantInformation = null; @SerializedName("instrumentIdentifier") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; - public PatchPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public PatchPaymentInstrumentRequest links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; return this; } @@ -94,11 +94,11 @@ public PatchPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultPaymentI * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; } @@ -165,7 +165,7 @@ public String getType() { return type; } - public PatchPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public PatchPaymentInstrumentRequest bankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; return this; } @@ -175,15 +175,15 @@ public PatchPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDefaultPa * @return bankAccount **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { return bankAccount; } - public void setBankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public void setBankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; } - public PatchPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public PatchPaymentInstrumentRequest card(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; return this; } @@ -193,15 +193,15 @@ public PatchPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPaymentIn * @return card **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard getCard() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard getCard() { return card; } - public void setCard(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public void setCard(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; } - public PatchPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public PatchPaymentInstrumentRequest buyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -211,15 +211,15 @@ public PatchPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbeddedDefa * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PatchPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public PatchPaymentInstrumentRequest billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -229,11 +229,11 @@ public PatchPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaultPayment * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } @@ -255,7 +255,7 @@ public void setProcessingInformation(TmsPaymentInstrumentProcessingInfo processi this.processingInformation = processingInformation; } - public PatchPaymentInstrumentRequest merchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public PatchPaymentInstrumentRequest merchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; return this; } @@ -265,15 +265,15 @@ public PatchPaymentInstrumentRequest merchantInformation(Tmsv2customersEmbeddedD * @return merchantInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation getMerchantInformation() { + public TmsMerchantInformation getMerchantInformation() { return merchantInformation; } - public void setMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public void setMerchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; } - public PatchPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public PatchPaymentInstrumentRequest instrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -283,15 +283,15 @@ public PatchPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersEmbedded * @return instrumentIdentifier **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { return instrumentIdentifier; } - public void setInstrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public void setInstrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; } - public PatchPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public PatchPaymentInstrumentRequest metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; return this; } @@ -301,15 +301,15 @@ public PatchPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefaultPayme * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; } - public PatchPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public PatchPaymentInstrumentRequest embedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; return this; } @@ -319,11 +319,11 @@ public PatchPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefaultPayme * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; } diff --git a/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java b/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java index 505d2b06a..a8566e869 100644 --- a/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java +++ b/src/main/java/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.java @@ -16,15 +16,15 @@ import java.util.Objects; import java.util.Arrays; import Model.PaymentInstrumentList1EmbeddedEmbedded; +import Model.TmsMerchantInformation; import Model.TmsPaymentInstrumentProcessingInfo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,7 +40,7 @@ public class PaymentInstrumentList1EmbeddedPaymentInstruments { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links = null; @SerializedName("id") private String id = null; @@ -58,33 +58,33 @@ public class PaymentInstrumentList1EmbeddedPaymentInstruments { private String type = null; @SerializedName("bankAccount") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; @SerializedName("card") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card = null; @SerializedName("buyerInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("processingInformation") private TmsPaymentInstrumentProcessingInfo processingInformation = null; @SerializedName("merchantInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation = null; + private TmsMerchantInformation merchantInformation = null; @SerializedName("instrumentIdentifier") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata = null; @SerializedName("_embedded") private PaymentInstrumentList1EmbeddedEmbedded embedded = null; - public PaymentInstrumentList1EmbeddedPaymentInstruments links(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public PaymentInstrumentList1EmbeddedPaymentInstruments links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; return this; } @@ -94,11 +94,11 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments links(Tmsv2customersEmbe * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; } @@ -165,7 +165,7 @@ public String getType() { return type; } - public PaymentInstrumentList1EmbeddedPaymentInstruments bankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public PaymentInstrumentList1EmbeddedPaymentInstruments bankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; return this; } @@ -175,15 +175,15 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments bankAccount(Tmsv2custome * @return bankAccount **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { return bankAccount; } - public void setBankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public void setBankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; } - public PaymentInstrumentList1EmbeddedPaymentInstruments card(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public PaymentInstrumentList1EmbeddedPaymentInstruments card(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; return this; } @@ -193,15 +193,15 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments card(Tmsv2customersEmbed * @return card **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard getCard() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard getCard() { return card; } - public void setCard(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public void setCard(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; } - public PaymentInstrumentList1EmbeddedPaymentInstruments buyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public PaymentInstrumentList1EmbeddedPaymentInstruments buyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -211,15 +211,15 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments buyerInformation(Tmsv2cu * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PaymentInstrumentList1EmbeddedPaymentInstruments billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public PaymentInstrumentList1EmbeddedPaymentInstruments billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -229,11 +229,11 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments billTo(Tmsv2customersEmb * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } @@ -255,7 +255,7 @@ public void setProcessingInformation(TmsPaymentInstrumentProcessingInfo processi this.processingInformation = processingInformation; } - public PaymentInstrumentList1EmbeddedPaymentInstruments merchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public PaymentInstrumentList1EmbeddedPaymentInstruments merchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; return this; } @@ -265,15 +265,15 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments merchantInformation(Tmsv * @return merchantInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation getMerchantInformation() { + public TmsMerchantInformation getMerchantInformation() { return merchantInformation; } - public void setMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public void setMerchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; } - public PaymentInstrumentList1EmbeddedPaymentInstruments instrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public PaymentInstrumentList1EmbeddedPaymentInstruments instrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -283,15 +283,15 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments instrumentIdentifier(Tms * @return instrumentIdentifier **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { return instrumentIdentifier; } - public void setInstrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public void setInstrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; } - public PaymentInstrumentList1EmbeddedPaymentInstruments metadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public PaymentInstrumentList1EmbeddedPaymentInstruments metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; return this; } @@ -301,11 +301,11 @@ public PaymentInstrumentList1EmbeddedPaymentInstruments metadata(Tmsv2customersE * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; } diff --git a/src/main/java/Model/PaymentInstrumentListEmbedded.java b/src/main/java/Model/PaymentInstrumentListEmbedded.java index e6857543a..cf74418aa 100644 --- a/src/main/java/Model/PaymentInstrumentListEmbedded.java +++ b/src/main/java/Model/PaymentInstrumentListEmbedded.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrument; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,14 +34,14 @@ public class PaymentInstrumentListEmbedded { @SerializedName("paymentInstruments") - private List paymentInstruments = null; + private List paymentInstruments = null; /** * Get paymentInstruments * @return paymentInstruments **/ @ApiModelProperty(value = "") - public List getPaymentInstruments() { + public List getPaymentInstruments() { return paymentInstruments; } diff --git a/src/main/java/Model/PaymentsProducts.java b/src/main/java/Model/PaymentsProducts.java index 96bf38d8f..8ae25d6db 100644 --- a/src/main/java/Model/PaymentsProducts.java +++ b/src/main/java/Model/PaymentsProducts.java @@ -104,6 +104,9 @@ public class PaymentsProducts { @SerializedName("serviceFee") private PaymentsProductsServiceFee serviceFee = null; + @SerializedName("batchUpload") + private PaymentsProductsTax batchUpload = null; + public PaymentsProducts cardProcessing(PaymentsProductsCardProcessing cardProcessing) { this.cardProcessing = cardProcessing; return this; @@ -464,6 +467,24 @@ public void setServiceFee(PaymentsProductsServiceFee serviceFee) { this.serviceFee = serviceFee; } + public PaymentsProducts batchUpload(PaymentsProductsTax batchUpload) { + this.batchUpload = batchUpload; + return this; + } + + /** + * Get batchUpload + * @return batchUpload + **/ + @ApiModelProperty(value = "") + public PaymentsProductsTax getBatchUpload() { + return batchUpload; + } + + public void setBatchUpload(PaymentsProductsTax batchUpload) { + this.batchUpload = batchUpload; + } + @Override public boolean equals(java.lang.Object o) { @@ -493,12 +514,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.payByLink, paymentsProducts.payByLink) && Objects.equals(this.unifiedCheckout, paymentsProducts.unifiedCheckout) && Objects.equals(this.receivablesManager, paymentsProducts.receivablesManager) && - Objects.equals(this.serviceFee, paymentsProducts.serviceFee); + Objects.equals(this.serviceFee, paymentsProducts.serviceFee) && + Objects.equals(this.batchUpload, paymentsProducts.batchUpload); } @Override public int hashCode() { - return Objects.hash(cardProcessing, alternativePaymentMethods, cardPresentConnect, cybsReadyTerminal, eCheck, payerAuthentication, digitalPayments, secureAcceptance, virtualTerminal, currencyConversion, tax, customerInvoicing, recurringBilling, paymentOrchestration, payouts, differentialFee, payByLink, unifiedCheckout, receivablesManager, serviceFee); + return Objects.hash(cardProcessing, alternativePaymentMethods, cardPresentConnect, cybsReadyTerminal, eCheck, payerAuthentication, digitalPayments, secureAcceptance, virtualTerminal, currencyConversion, tax, customerInvoicing, recurringBilling, paymentOrchestration, payouts, differentialFee, payByLink, unifiedCheckout, receivablesManager, serviceFee, batchUpload); } @@ -527,6 +549,7 @@ public String toString() { if (unifiedCheckout != null) sb.append(" unifiedCheckout: ").append(toIndentedString(unifiedCheckout)).append("\n"); if (receivablesManager != null) sb.append(" receivablesManager: ").append(toIndentedString(receivablesManager)).append("\n"); if (serviceFee != null) sb.append(" serviceFee: ").append(toIndentedString(serviceFee)).append("\n"); + if (batchUpload != null) sb.append(" batchUpload: ").append(toIndentedString(batchUpload)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java b/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java index 444f7409a..553320cb7 100644 --- a/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java +++ b/src/main/java/Model/PostCustomerPaymentInstrumentRequest.java @@ -15,16 +15,16 @@ import java.util.Objects; import java.util.Arrays; +import Model.TmsMerchantInformation; import Model.TmsPaymentInstrumentProcessingInfo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,7 +40,7 @@ public class PostCustomerPaymentInstrumentRequest { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links = null; @SerializedName("id") private String id = null; @@ -58,33 +58,33 @@ public class PostCustomerPaymentInstrumentRequest { private String type = null; @SerializedName("bankAccount") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; @SerializedName("card") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card = null; @SerializedName("buyerInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("processingInformation") private TmsPaymentInstrumentProcessingInfo processingInformation = null; @SerializedName("merchantInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation = null; + private TmsMerchantInformation merchantInformation = null; @SerializedName("instrumentIdentifier") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; - public PostCustomerPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public PostCustomerPaymentInstrumentRequest links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; return this; } @@ -94,11 +94,11 @@ public PostCustomerPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultP * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; } @@ -165,7 +165,7 @@ public String getType() { return type; } - public PostCustomerPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public PostCustomerPaymentInstrumentRequest bankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; return this; } @@ -175,15 +175,15 @@ public PostCustomerPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDe * @return bankAccount **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { return bankAccount; } - public void setBankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public void setBankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; } - public PostCustomerPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public PostCustomerPaymentInstrumentRequest card(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; return this; } @@ -193,15 +193,15 @@ public PostCustomerPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPa * @return card **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard getCard() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard getCard() { return card; } - public void setCard(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public void setCard(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; } - public PostCustomerPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public PostCustomerPaymentInstrumentRequest buyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -211,15 +211,15 @@ public PostCustomerPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbed * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PostCustomerPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public PostCustomerPaymentInstrumentRequest billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -229,11 +229,11 @@ public PostCustomerPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefault * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } @@ -255,7 +255,7 @@ public void setProcessingInformation(TmsPaymentInstrumentProcessingInfo processi this.processingInformation = processingInformation; } - public PostCustomerPaymentInstrumentRequest merchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public PostCustomerPaymentInstrumentRequest merchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; return this; } @@ -265,15 +265,15 @@ public PostCustomerPaymentInstrumentRequest merchantInformation(Tmsv2customersEm * @return merchantInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation getMerchantInformation() { + public TmsMerchantInformation getMerchantInformation() { return merchantInformation; } - public void setMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public void setMerchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; } - public PostCustomerPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public PostCustomerPaymentInstrumentRequest instrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -283,15 +283,15 @@ public PostCustomerPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersE * @return instrumentIdentifier **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { return instrumentIdentifier; } - public void setInstrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public void setInstrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; } - public PostCustomerPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public PostCustomerPaymentInstrumentRequest metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; return this; } @@ -301,15 +301,15 @@ public PostCustomerPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefau * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; } - public PostCustomerPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public PostCustomerPaymentInstrumentRequest embedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; return this; } @@ -319,11 +319,11 @@ public PostCustomerPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefau * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; } diff --git a/src/main/java/Model/PostCustomerRequest.java b/src/main/java/Model/PostCustomerRequest.java index 289a393a5..d17f041a5 100644 --- a/src/main/java/Model/PostCustomerRequest.java +++ b/src/main/java/Model/PostCustomerRequest.java @@ -15,15 +15,15 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersBuyerInformation; -import Model.Tmsv2customersClientReferenceInformation; -import Model.Tmsv2customersDefaultPaymentInstrument; -import Model.Tmsv2customersDefaultShippingAddress; -import Model.Tmsv2customersEmbedded; -import Model.Tmsv2customersLinks; -import Model.Tmsv2customersMerchantDefinedInformation; -import Model.Tmsv2customersMetadata; -import Model.Tmsv2customersObjectInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument; +import Model.Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerObjectInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -41,36 +41,36 @@ public class PostCustomerRequest { @SerializedName("_links") - private Tmsv2customersLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerLinks links = null; @SerializedName("id") private String id = null; @SerializedName("objectInformation") - private Tmsv2customersObjectInformation objectInformation = null; + private Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation = null; @SerializedName("buyerInformation") - private Tmsv2customersBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation = null; @SerializedName("clientReferenceInformation") - private Tmsv2customersClientReferenceInformation clientReferenceInformation = null; + private Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation = null; @SerializedName("merchantDefinedInformation") - private List merchantDefinedInformation = null; + private List merchantDefinedInformation = null; @SerializedName("defaultPaymentInstrument") - private Tmsv2customersDefaultPaymentInstrument defaultPaymentInstrument = null; + private Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument = null; @SerializedName("defaultShippingAddress") - private Tmsv2customersDefaultShippingAddress defaultShippingAddress = null; + private Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress = null; @SerializedName("metadata") - private Tmsv2customersMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbedded embedded = null; - public PostCustomerRequest links(Tmsv2customersLinks links) { + public PostCustomerRequest links(Tmsv2tokenizeTokenInformationCustomerLinks links) { this.links = links; return this; } @@ -80,11 +80,11 @@ public PostCustomerRequest links(Tmsv2customersLinks links) { * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerLinks getLinks() { return links; } - public void setLinks(Tmsv2customersLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerLinks links) { this.links = links; } @@ -106,7 +106,7 @@ public void setId(String id) { this.id = id; } - public PostCustomerRequest objectInformation(Tmsv2customersObjectInformation objectInformation) { + public PostCustomerRequest objectInformation(Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation) { this.objectInformation = objectInformation; return this; } @@ -116,15 +116,15 @@ public PostCustomerRequest objectInformation(Tmsv2customersObjectInformation obj * @return objectInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersObjectInformation getObjectInformation() { + public Tmsv2tokenizeTokenInformationCustomerObjectInformation getObjectInformation() { return objectInformation; } - public void setObjectInformation(Tmsv2customersObjectInformation objectInformation) { + public void setObjectInformation(Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation) { this.objectInformation = objectInformation; } - public PostCustomerRequest buyerInformation(Tmsv2customersBuyerInformation buyerInformation) { + public PostCustomerRequest buyerInformation(Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -134,15 +134,15 @@ public PostCustomerRequest buyerInformation(Tmsv2customersBuyerInformation buyer * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PostCustomerRequest clientReferenceInformation(Tmsv2customersClientReferenceInformation clientReferenceInformation) { + public PostCustomerRequest clientReferenceInformation(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; } @@ -152,22 +152,22 @@ public PostCustomerRequest clientReferenceInformation(Tmsv2customersClientRefere * @return clientReferenceInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersClientReferenceInformation getClientReferenceInformation() { + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation getClientReferenceInformation() { return clientReferenceInformation; } - public void setClientReferenceInformation(Tmsv2customersClientReferenceInformation clientReferenceInformation) { + public void setClientReferenceInformation(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; } - public PostCustomerRequest merchantDefinedInformation(List merchantDefinedInformation) { + public PostCustomerRequest merchantDefinedInformation(List merchantDefinedInformation) { this.merchantDefinedInformation = merchantDefinedInformation; return this; } - public PostCustomerRequest addMerchantDefinedInformationItem(Tmsv2customersMerchantDefinedInformation merchantDefinedInformationItem) { + public PostCustomerRequest addMerchantDefinedInformationItem(Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation merchantDefinedInformationItem) { if (this.merchantDefinedInformation == null) { - this.merchantDefinedInformation = new ArrayList(); + this.merchantDefinedInformation = new ArrayList(); } this.merchantDefinedInformation.add(merchantDefinedInformationItem); return this; @@ -178,15 +178,15 @@ public PostCustomerRequest addMerchantDefinedInformationItem(Tmsv2customersMerch * @return merchantDefinedInformation **/ @ApiModelProperty(value = "Object containing the custom data that the merchant defines. ") - public List getMerchantDefinedInformation() { + public List getMerchantDefinedInformation() { return merchantDefinedInformation; } - public void setMerchantDefinedInformation(List merchantDefinedInformation) { + public void setMerchantDefinedInformation(List merchantDefinedInformation) { this.merchantDefinedInformation = merchantDefinedInformation; } - public PostCustomerRequest defaultPaymentInstrument(Tmsv2customersDefaultPaymentInstrument defaultPaymentInstrument) { + public PostCustomerRequest defaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument) { this.defaultPaymentInstrument = defaultPaymentInstrument; return this; } @@ -196,15 +196,15 @@ public PostCustomerRequest defaultPaymentInstrument(Tmsv2customersDefaultPayment * @return defaultPaymentInstrument **/ @ApiModelProperty(value = "") - public Tmsv2customersDefaultPaymentInstrument getDefaultPaymentInstrument() { + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument getDefaultPaymentInstrument() { return defaultPaymentInstrument; } - public void setDefaultPaymentInstrument(Tmsv2customersDefaultPaymentInstrument defaultPaymentInstrument) { + public void setDefaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument) { this.defaultPaymentInstrument = defaultPaymentInstrument; } - public PostCustomerRequest defaultShippingAddress(Tmsv2customersDefaultShippingAddress defaultShippingAddress) { + public PostCustomerRequest defaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress) { this.defaultShippingAddress = defaultShippingAddress; return this; } @@ -214,15 +214,15 @@ public PostCustomerRequest defaultShippingAddress(Tmsv2customersDefaultShippingA * @return defaultShippingAddress **/ @ApiModelProperty(value = "") - public Tmsv2customersDefaultShippingAddress getDefaultShippingAddress() { + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress getDefaultShippingAddress() { return defaultShippingAddress; } - public void setDefaultShippingAddress(Tmsv2customersDefaultShippingAddress defaultShippingAddress) { + public void setDefaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress) { this.defaultShippingAddress = defaultShippingAddress; } - public PostCustomerRequest metadata(Tmsv2customersMetadata metadata) { + public PostCustomerRequest metadata(Tmsv2tokenizeTokenInformationCustomerMetadata metadata) { this.metadata = metadata; return this; } @@ -232,15 +232,15 @@ public PostCustomerRequest metadata(Tmsv2customersMetadata metadata) { * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerMetadata metadata) { this.metadata = metadata; } - public PostCustomerRequest embedded(Tmsv2customersEmbedded embedded) { + public PostCustomerRequest embedded(Tmsv2tokenizeTokenInformationCustomerEmbedded embedded) { this.embedded = embedded; return this; } @@ -250,11 +250,11 @@ public PostCustomerRequest embedded(Tmsv2customersEmbedded embedded) { * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbedded embedded) { this.embedded = embedded; } diff --git a/src/main/java/Model/PostCustomerShippingAddressRequest.java b/src/main/java/Model/PostCustomerShippingAddressRequest.java index ac5acaa75..f7300fe38 100644 --- a/src/main/java/Model/PostCustomerShippingAddressRequest.java +++ b/src/main/java/Model/PostCustomerShippingAddressRequest.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressLinks; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressMetadata; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressShipTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,7 +33,7 @@ public class PostCustomerShippingAddressRequest { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultShippingAddressLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links = null; @SerializedName("id") private String id = null; @@ -42,12 +42,12 @@ public class PostCustomerShippingAddressRequest { private Boolean _default = null; @SerializedName("shipTo") - private Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata = null; - public PostCustomerShippingAddressRequest links(Tmsv2customersEmbeddedDefaultShippingAddressLinks links) { + public PostCustomerShippingAddressRequest links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links) { this.links = links; return this; } @@ -57,11 +57,11 @@ public PostCustomerShippingAddressRequest links(Tmsv2customersEmbeddedDefaultShi * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultShippingAddressLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links) { this.links = links; } @@ -101,7 +101,7 @@ public void setDefault(Boolean _default) { this._default = _default; } - public PostCustomerShippingAddressRequest shipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public PostCustomerShippingAddressRequest shipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; return this; } @@ -111,15 +111,15 @@ public PostCustomerShippingAddressRequest shipTo(Tmsv2customersEmbeddedDefaultSh * @return shipTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo getShipTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo getShipTo() { return shipTo; } - public void setShipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public void setShipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; } - public PostCustomerShippingAddressRequest metadata(Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata) { + public PostCustomerShippingAddressRequest metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata) { this.metadata = metadata; return this; } @@ -129,11 +129,11 @@ public PostCustomerShippingAddressRequest metadata(Tmsv2customersEmbeddedDefault * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata) { this.metadata = metadata; } diff --git a/src/main/java/Model/PostIssuerLifeCycleSimulationRequest.java b/src/main/java/Model/PostIssuerLifeCycleSimulationRequest.java new file mode 100644 index 000000000..3bebd063c --- /dev/null +++ b/src/main/java/Model/PostIssuerLifeCycleSimulationRequest.java @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata; +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; + +/** + * Represents the Issuer LifeCycle Event Simulation for a Tokenized Card. + */ +@ApiModel(description = "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card. ") + +public class PostIssuerLifeCycleSimulationRequest { + @SerializedName("state") + private String state = null; + + @SerializedName("card") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard card = null; + + @SerializedName("metadata") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata metadata = null; + + public PostIssuerLifeCycleSimulationRequest state(String state) { + this.state = state; + return this; + } + + /** + * The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED + * @return state + **/ + @ApiModelProperty(value = "The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED ") + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public PostIssuerLifeCycleSimulationRequest card(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard card) { + this.card = card; + return this; + } + + /** + * Get card + * @return card + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard getCard() { + return card; + } + + public void setCard(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard card) { + this.card = card; + } + + public PostIssuerLifeCycleSimulationRequest metadata(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata getMetadata() { + return metadata; + } + + public void setMetadata(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = (PostIssuerLifeCycleSimulationRequest) o; + return Objects.equals(this.state, postIssuerLifeCycleSimulationRequest.state) && + Objects.equals(this.card, postIssuerLifeCycleSimulationRequest.card) && + Objects.equals(this.metadata, postIssuerLifeCycleSimulationRequest.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(state, card, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostIssuerLifeCycleSimulationRequest {\n"); + + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PostPaymentInstrumentRequest.java b/src/main/java/Model/PostPaymentInstrumentRequest.java index 68e583dce..8e9336bea 100644 --- a/src/main/java/Model/PostPaymentInstrumentRequest.java +++ b/src/main/java/Model/PostPaymentInstrumentRequest.java @@ -15,16 +15,16 @@ import java.util.Objects; import java.util.Arrays; +import Model.TmsMerchantInformation; import Model.TmsPaymentInstrumentProcessingInfo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,7 +40,7 @@ public class PostPaymentInstrumentRequest { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links = null; @SerializedName("id") private String id = null; @@ -58,33 +58,33 @@ public class PostPaymentInstrumentRequest { private String type = null; @SerializedName("bankAccount") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; @SerializedName("card") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card = null; @SerializedName("buyerInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("processingInformation") private TmsPaymentInstrumentProcessingInfo processingInformation = null; @SerializedName("merchantInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation = null; + private TmsMerchantInformation merchantInformation = null; @SerializedName("instrumentIdentifier") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; - public PostPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public PostPaymentInstrumentRequest links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; return this; } @@ -94,11 +94,11 @@ public PostPaymentInstrumentRequest links(Tmsv2customersEmbeddedDefaultPaymentIn * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; } @@ -165,7 +165,7 @@ public String getType() { return type; } - public PostPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public PostPaymentInstrumentRequest bankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; return this; } @@ -175,15 +175,15 @@ public PostPaymentInstrumentRequest bankAccount(Tmsv2customersEmbeddedDefaultPay * @return bankAccount **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { return bankAccount; } - public void setBankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public void setBankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; } - public PostPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public PostPaymentInstrumentRequest card(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; return this; } @@ -193,15 +193,15 @@ public PostPaymentInstrumentRequest card(Tmsv2customersEmbeddedDefaultPaymentIns * @return card **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard getCard() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard getCard() { return card; } - public void setCard(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public void setCard(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; } - public PostPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public PostPaymentInstrumentRequest buyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -211,15 +211,15 @@ public PostPaymentInstrumentRequest buyerInformation(Tmsv2customersEmbeddedDefau * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public PostPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public PostPaymentInstrumentRequest billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -229,11 +229,11 @@ public PostPaymentInstrumentRequest billTo(Tmsv2customersEmbeddedDefaultPaymentI * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } @@ -255,7 +255,7 @@ public void setProcessingInformation(TmsPaymentInstrumentProcessingInfo processi this.processingInformation = processingInformation; } - public PostPaymentInstrumentRequest merchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public PostPaymentInstrumentRequest merchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; return this; } @@ -265,15 +265,15 @@ public PostPaymentInstrumentRequest merchantInformation(Tmsv2customersEmbeddedDe * @return merchantInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation getMerchantInformation() { + public TmsMerchantInformation getMerchantInformation() { return merchantInformation; } - public void setMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public void setMerchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; } - public PostPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public PostPaymentInstrumentRequest instrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -283,15 +283,15 @@ public PostPaymentInstrumentRequest instrumentIdentifier(Tmsv2customersEmbeddedD * @return instrumentIdentifier **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { return instrumentIdentifier; } - public void setInstrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public void setInstrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; } - public PostPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public PostPaymentInstrumentRequest metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; return this; } @@ -301,15 +301,15 @@ public PostPaymentInstrumentRequest metadata(Tmsv2customersEmbeddedDefaultPaymen * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; } - public PostPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public PostPaymentInstrumentRequest embedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; return this; } @@ -319,11 +319,11 @@ public PostPaymentInstrumentRequest embedded(Tmsv2customersEmbeddedDefaultPaymen * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; } diff --git a/src/main/java/Model/PostTokenizeRequest.java b/src/main/java/Model/PostTokenizeRequest.java new file mode 100644 index 000000000..f1d0b13df --- /dev/null +++ b/src/main/java/Model/PostTokenizeRequest.java @@ -0,0 +1,119 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizeProcessingInformation; +import Model.Tmsv2tokenizeTokenInformation; +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; + +/** + * PostTokenizeRequest + */ + +public class PostTokenizeRequest { + @SerializedName("processingInformation") + private Tmsv2tokenizeProcessingInformation processingInformation = null; + + @SerializedName("tokenInformation") + private Tmsv2tokenizeTokenInformation tokenInformation = null; + + public PostTokenizeRequest processingInformation(Tmsv2tokenizeProcessingInformation processingInformation) { + this.processingInformation = processingInformation; + return this; + } + + /** + * Get processingInformation + * @return processingInformation + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeProcessingInformation getProcessingInformation() { + return processingInformation; + } + + public void setProcessingInformation(Tmsv2tokenizeProcessingInformation processingInformation) { + this.processingInformation = processingInformation; + } + + public PostTokenizeRequest tokenInformation(Tmsv2tokenizeTokenInformation tokenInformation) { + this.tokenInformation = tokenInformation; + return this; + } + + /** + * Get tokenInformation + * @return tokenInformation + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformation getTokenInformation() { + return tokenInformation; + } + + public void setTokenInformation(Tmsv2tokenizeTokenInformation tokenInformation) { + this.tokenInformation = tokenInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostTokenizeRequest postTokenizeRequest = (PostTokenizeRequest) o; + return Objects.equals(this.processingInformation, postTokenizeRequest.processingInformation) && + Objects.equals(this.tokenInformation, postTokenizeRequest.tokenInformation); + } + + @Override + public int hashCode() { + return Objects.hash(processingInformation, tokenInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostTokenizeRequest {\n"); + + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (tokenInformation != null) sb.append(" tokenInformation: ").append(toIndentedString(tokenInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java b/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java index 63b0a6c18..6bed48ee7 100644 --- a/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java +++ b/src/main/java/Model/Ptsv2paymentsAggregatorInformation.java @@ -54,6 +54,9 @@ public class Ptsv2paymentsAggregatorInformation { @SerializedName("country") private String country = null; + @SerializedName("serviceProvidername") + private String serviceProvidername = null; + public Ptsv2paymentsAggregatorInformation aggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; return this; @@ -198,6 +201,24 @@ public void setCountry(String country) { this.country = country; } + public Ptsv2paymentsAggregatorInformation serviceProvidername(String serviceProvidername) { + this.serviceProvidername = serviceProvidername; + return this; + } + + /** + * Contains transfer service provider name. + * @return serviceProvidername + **/ + @ApiModelProperty(value = "Contains transfer service provider name.") + public String getServiceProvidername() { + return serviceProvidername; + } + + public void setServiceProvidername(String serviceProvidername) { + this.serviceProvidername = serviceProvidername; + } + @Override public boolean equals(java.lang.Object o) { @@ -215,12 +236,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.city, ptsv2paymentsAggregatorInformation.city) && Objects.equals(this.state, ptsv2paymentsAggregatorInformation.state) && Objects.equals(this.postalCode, ptsv2paymentsAggregatorInformation.postalCode) && - Objects.equals(this.country, ptsv2paymentsAggregatorInformation.country); + Objects.equals(this.country, ptsv2paymentsAggregatorInformation.country) && + Objects.equals(this.serviceProvidername, ptsv2paymentsAggregatorInformation.serviceProvidername); } @Override public int hashCode() { - return Objects.hash(aggregatorId, name, subMerchant, streetAddress, city, state, postalCode, country); + return Objects.hash(aggregatorId, name, subMerchant, streetAddress, city, state, postalCode, country, serviceProvidername); } @@ -237,6 +259,7 @@ public String toString() { if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (serviceProvidername != null) sb.append(" serviceProvidername: ").append(toIndentedString(serviceProvidername)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Rbsv1plansClientReferenceInformation.java b/src/main/java/Model/Rbsv1plansClientReferenceInformation.java deleted file mode 100644 index d4414b666..000000000 --- a/src/main/java/Model/Rbsv1plansClientReferenceInformation.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.Riskv1decisionsClientReferenceInformationPartner; -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; - -/** - * Rbsv1plansClientReferenceInformation - */ - -public class Rbsv1plansClientReferenceInformation { - @SerializedName("comments") - private String comments = null; - - @SerializedName("partner") - private Riskv1decisionsClientReferenceInformationPartner partner = null; - - @SerializedName("applicationName") - private String applicationName = null; - - @SerializedName("applicationVersion") - private String applicationVersion = null; - - @SerializedName("applicationUser") - private String applicationUser = null; - - public Rbsv1plansClientReferenceInformation comments(String comments) { - this.comments = comments; - return this; - } - - /** - * Brief description of the order or any comment you wish to add to the order. - * @return comments - **/ - @ApiModelProperty(value = "Brief description of the order or any comment you wish to add to the order. ") - public String getComments() { - return comments; - } - - public void setComments(String comments) { - this.comments = comments; - } - - public Rbsv1plansClientReferenceInformation partner(Riskv1decisionsClientReferenceInformationPartner partner) { - this.partner = partner; - return this; - } - - /** - * Get partner - * @return partner - **/ - @ApiModelProperty(value = "") - public Riskv1decisionsClientReferenceInformationPartner getPartner() { - return partner; - } - - public void setPartner(Riskv1decisionsClientReferenceInformationPartner partner) { - this.partner = partner; - } - - public Rbsv1plansClientReferenceInformation applicationName(String applicationName) { - this.applicationName = applicationName; - return this; - } - - /** - * The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - * @return applicationName - **/ - @ApiModelProperty(value = "The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. ") - public String getApplicationName() { - return applicationName; - } - - public void setApplicationName(String applicationName) { - this.applicationName = applicationName; - } - - public Rbsv1plansClientReferenceInformation applicationVersion(String applicationVersion) { - this.applicationVersion = applicationVersion; - return this; - } - - /** - * Version of the CyberSource application or integration used for a transaction. - * @return applicationVersion - **/ - @ApiModelProperty(value = "Version of the CyberSource application or integration used for a transaction. ") - public String getApplicationVersion() { - return applicationVersion; - } - - public void setApplicationVersion(String applicationVersion) { - this.applicationVersion = applicationVersion; - } - - public Rbsv1plansClientReferenceInformation applicationUser(String applicationUser) { - this.applicationUser = applicationUser; - return this; - } - - /** - * The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - * @return applicationUser - **/ - @ApiModelProperty(value = "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. ") - public String getApplicationUser() { - return applicationUser; - } - - public void setApplicationUser(String applicationUser) { - this.applicationUser = applicationUser; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Rbsv1plansClientReferenceInformation rbsv1plansClientReferenceInformation = (Rbsv1plansClientReferenceInformation) o; - return Objects.equals(this.comments, rbsv1plansClientReferenceInformation.comments) && - Objects.equals(this.partner, rbsv1plansClientReferenceInformation.partner) && - Objects.equals(this.applicationName, rbsv1plansClientReferenceInformation.applicationName) && - Objects.equals(this.applicationVersion, rbsv1plansClientReferenceInformation.applicationVersion) && - Objects.equals(this.applicationUser, rbsv1plansClientReferenceInformation.applicationUser); - } - - @Override - public int hashCode() { - return Objects.hash(comments, partner, applicationName, applicationVersion, applicationUser); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Rbsv1plansClientReferenceInformation {\n"); - - if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java b/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java deleted file mode 100644 index a618f4c08..000000000 --- a/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformation.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.Rbsv1subscriptionsClientReferenceInformationPartner; -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; - -/** - * Rbsv1subscriptionsClientReferenceInformation - */ - -public class Rbsv1subscriptionsClientReferenceInformation { - @SerializedName("code") - private String code = null; - - @SerializedName("comments") - private String comments = null; - - @SerializedName("partner") - private Rbsv1subscriptionsClientReferenceInformationPartner partner = null; - - @SerializedName("applicationName") - private String applicationName = null; - - @SerializedName("applicationVersion") - private String applicationVersion = null; - - @SerializedName("applicationUser") - private String applicationUser = null; - - public Rbsv1subscriptionsClientReferenceInformation code(String code) { - this.code = code; - return this; - } - - /** - * > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. - * @return code - **/ - @ApiModelProperty(value = "> Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. ") - public String getCode() { - return code; - } - - public void setCode(String code) { - this.code = code; - } - - public Rbsv1subscriptionsClientReferenceInformation comments(String comments) { - this.comments = comments; - return this; - } - - /** - * > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. - * @return comments - **/ - @ApiModelProperty(value = "> Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. ") - public String getComments() { - return comments; - } - - public void setComments(String comments) { - this.comments = comments; - } - - public Rbsv1subscriptionsClientReferenceInformation partner(Rbsv1subscriptionsClientReferenceInformationPartner partner) { - this.partner = partner; - return this; - } - - /** - * Get partner - * @return partner - **/ - @ApiModelProperty(value = "") - public Rbsv1subscriptionsClientReferenceInformationPartner getPartner() { - return partner; - } - - public void setPartner(Rbsv1subscriptionsClientReferenceInformationPartner partner) { - this.partner = partner; - } - - public Rbsv1subscriptionsClientReferenceInformation applicationName(String applicationName) { - this.applicationName = applicationName; - return this; - } - - /** - * > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - * @return applicationName - **/ - @ApiModelProperty(value = "> Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. ") - public String getApplicationName() { - return applicationName; - } - - public void setApplicationName(String applicationName) { - this.applicationName = applicationName; - } - - public Rbsv1subscriptionsClientReferenceInformation applicationVersion(String applicationVersion) { - this.applicationVersion = applicationVersion; - return this; - } - - /** - * > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. - * @return applicationVersion - **/ - @ApiModelProperty(value = "> Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. ") - public String getApplicationVersion() { - return applicationVersion; - } - - public void setApplicationVersion(String applicationVersion) { - this.applicationVersion = applicationVersion; - } - - public Rbsv1subscriptionsClientReferenceInformation applicationUser(String applicationUser) { - this.applicationUser = applicationUser; - return this; - } - - /** - * > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - * @return applicationUser - **/ - @ApiModelProperty(value = "> Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. ") - public String getApplicationUser() { - return applicationUser; - } - - public void setApplicationUser(String applicationUser) { - this.applicationUser = applicationUser; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Rbsv1subscriptionsClientReferenceInformation rbsv1subscriptionsClientReferenceInformation = (Rbsv1subscriptionsClientReferenceInformation) o; - return Objects.equals(this.code, rbsv1subscriptionsClientReferenceInformation.code) && - Objects.equals(this.comments, rbsv1subscriptionsClientReferenceInformation.comments) && - Objects.equals(this.partner, rbsv1subscriptionsClientReferenceInformation.partner) && - Objects.equals(this.applicationName, rbsv1subscriptionsClientReferenceInformation.applicationName) && - Objects.equals(this.applicationVersion, rbsv1subscriptionsClientReferenceInformation.applicationVersion) && - Objects.equals(this.applicationUser, rbsv1subscriptionsClientReferenceInformation.applicationUser); - } - - @Override - public int hashCode() { - return Objects.hash(code, comments, partner, applicationName, applicationVersion, applicationUser); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Rbsv1subscriptionsClientReferenceInformation {\n"); - - if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); - if (comments != null) sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - if (partner != null) sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); - if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); - if (applicationVersion != null) sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); - if (applicationUser != null) sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformationPartner.java b/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformationPartner.java deleted file mode 100644 index 89e86a868..000000000 --- a/src/main/java/Model/Rbsv1subscriptionsClientReferenceInformationPartner.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Rbsv1subscriptionsClientReferenceInformationPartner - */ - -public class Rbsv1subscriptionsClientReferenceInformationPartner { - @SerializedName("developerId") - private String developerId = null; - - @SerializedName("solutionId") - private String solutionId = null; - - public Rbsv1subscriptionsClientReferenceInformationPartner developerId(String developerId) { - this.developerId = developerId; - return this; - } - - /** - * > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. - * @return developerId - **/ - @ApiModelProperty(value = "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. ") - public String getDeveloperId() { - return developerId; - } - - public void setDeveloperId(String developerId) { - this.developerId = developerId; - } - - public Rbsv1subscriptionsClientReferenceInformationPartner solutionId(String solutionId) { - this.solutionId = solutionId; - return this; - } - - /** - * > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. - * @return solutionId - **/ - @ApiModelProperty(value = "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. ") - public String getSolutionId() { - return solutionId; - } - - public void setSolutionId(String solutionId) { - this.solutionId = solutionId; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Rbsv1subscriptionsClientReferenceInformationPartner rbsv1subscriptionsClientReferenceInformationPartner = (Rbsv1subscriptionsClientReferenceInformationPartner) o; - return Objects.equals(this.developerId, rbsv1subscriptionsClientReferenceInformationPartner.developerId) && - Objects.equals(this.solutionId, rbsv1subscriptionsClientReferenceInformationPartner.solutionId); - } - - @Override - public int hashCode() { - return Objects.hash(developerId, solutionId); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Rbsv1subscriptionsClientReferenceInformationPartner {\n"); - - if (developerId != null) sb.append(" developerId: ").append(toIndentedString(developerId)).append("\n"); - if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java b/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java index 703858ca5..7d2535566 100644 --- a/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java +++ b/src/main/java/Model/ShippingAddressListForCustomerEmbedded.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultShippingAddress; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,14 +34,14 @@ public class ShippingAddressListForCustomerEmbedded { @SerializedName("shippingAddresses") - private List shippingAddresses = null; + private List shippingAddresses = null; /** * Get shippingAddresses * @return shippingAddresses **/ @ApiModelProperty(value = "") - public List getShippingAddresses() { + public List getShippingAddresses() { return shippingAddresses; } diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java b/src/main/java/Model/TmsMerchantInformation.java similarity index 60% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java rename to src/main/java/Model/TmsMerchantInformation.java index c9cb68ec1..237aec0d4 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.java +++ b/src/main/java/Model/TmsMerchantInformation.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor; +import Model.TmsMerchantInformationMerchantDescriptor; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,14 +26,14 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + * TmsMerchantInformation */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation { +public class TmsMerchantInformation { @SerializedName("merchantDescriptor") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor merchantDescriptor = null; + private TmsMerchantInformationMerchantDescriptor merchantDescriptor = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantDescriptor(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor merchantDescriptor) { + public TmsMerchantInformation merchantDescriptor(TmsMerchantInformationMerchantDescriptor merchantDescriptor) { this.merchantDescriptor = merchantDescriptor; return this; } @@ -43,11 +43,11 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchan * @return merchantDescriptor **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor getMerchantDescriptor() { + public TmsMerchantInformationMerchantDescriptor getMerchantDescriptor() { return merchantDescriptor; } - public void setMerchantDescriptor(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor merchantDescriptor) { + public void setMerchantDescriptor(TmsMerchantInformationMerchantDescriptor merchantDescriptor) { this.merchantDescriptor = merchantDescriptor; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation = (Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation) o; - return Objects.equals(this.merchantDescriptor, tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.merchantDescriptor); + TmsMerchantInformation tmsMerchantInformation = (TmsMerchantInformation) o; + return Objects.equals(this.merchantDescriptor, tmsMerchantInformation.merchantDescriptor); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation {\n"); + sb.append("class TmsMerchantInformation {\n"); if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java b/src/main/java/Model/TmsMerchantInformationMerchantDescriptor.java similarity index 75% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java rename to src/main/java/Model/TmsMerchantInformationMerchantDescriptor.java index 33561f54c..56c328221 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/TmsMerchantInformationMerchantDescriptor.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor + * TmsMerchantInformationMerchantDescriptor */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor { +public class TmsMerchantInformationMerchantDescriptor { @SerializedName("alternateName") private String alternateName = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor alternateName(String alternateName) { + public TmsMerchantInformationMerchantDescriptor alternateName(String alternateName) { this.alternateName = alternateName; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor = (Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor) o; - return Objects.equals(this.alternateName, tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.alternateName); + TmsMerchantInformationMerchantDescriptor tmsMerchantInformationMerchantDescriptor = (TmsMerchantInformationMerchantDescriptor) o; + return Objects.equals(this.alternateName, tmsMerchantInformationMerchantDescriptor.alternateName); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor {\n"); + sb.append("class TmsMerchantInformationMerchantDescriptor {\n"); if (alternateName != null) sb.append(" alternateName: ").append(toIndentedString(alternateName)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2tokenizeProcessingInformation.java b/src/main/java/Model/Tmsv2tokenizeProcessingInformation.java new file mode 100644 index 000000000..e81149108 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizeProcessingInformation.java @@ -0,0 +1,135 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Tmsv2tokenizeProcessingInformation + */ + +public class Tmsv2tokenizeProcessingInformation { + @SerializedName("actionList") + private List actionList = null; + + @SerializedName("actionTokenTypes") + private List actionTokenTypes = null; + + public Tmsv2tokenizeProcessingInformation actionList(List actionList) { + this.actionList = actionList; + return this; + } + + public Tmsv2tokenizeProcessingInformation addActionListItem(String actionListItem) { + if (this.actionList == null) { + this.actionList = new ArrayList(); + } + this.actionList.add(actionListItem); + return this; + } + + /** + * Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. + * @return actionList + **/ + @ApiModelProperty(example = "[\"TOKEN_CREATE\"]", value = "Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. ") + public List getActionList() { + return actionList; + } + + public void setActionList(List actionList) { + this.actionList = actionList; + } + + public Tmsv2tokenizeProcessingInformation actionTokenTypes(List actionTokenTypes) { + this.actionTokenTypes = actionTokenTypes; + return this; + } + + public Tmsv2tokenizeProcessingInformation addActionTokenTypesItem(String actionTokenTypesItem) { + if (this.actionTokenTypes == null) { + this.actionTokenTypes = new ArrayList(); + } + this.actionTokenTypes.add(actionTokenTypesItem); + return this; + } + + /** + * TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + * @return actionTokenTypes + **/ + @ApiModelProperty(example = "[\"customer\",\"paymentInstrument\",\"shippingAddress\",\"instrumentIdentifier\"]", value = "TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard ") + public List getActionTokenTypes() { + return actionTokenTypes; + } + + public void setActionTokenTypes(List actionTokenTypes) { + this.actionTokenTypes = actionTokenTypes; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizeProcessingInformation tmsv2tokenizeProcessingInformation = (Tmsv2tokenizeProcessingInformation) o; + return Objects.equals(this.actionList, tmsv2tokenizeProcessingInformation.actionList) && + Objects.equals(this.actionTokenTypes, tmsv2tokenizeProcessingInformation.actionTokenTypes); + } + + @Override + public int hashCode() { + return Objects.hash(actionList, actionTokenTypes); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizeProcessingInformation {\n"); + + if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).append("\n"); + if (actionTokenTypes != null) sb.append(" actionTokenTypes: ").append(toIndentedString(actionTokenTypes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizeTokenInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformation.java new file mode 100644 index 000000000..936888b9d --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformation.java @@ -0,0 +1,213 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.TmsEmbeddedInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomer; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress; +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; + +/** + * Tmsv2tokenizeTokenInformation + */ + +public class Tmsv2tokenizeTokenInformation { + @SerializedName("jti") + private String jti = null; + + @SerializedName("transientTokenJwt") + private String transientTokenJwt = null; + + @SerializedName("customer") + private Tmsv2tokenizeTokenInformationCustomer customer = null; + + @SerializedName("shippingAddress") + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress shippingAddress = null; + + @SerializedName("paymentInstrument") + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument paymentInstrument = null; + + @SerializedName("instrumentIdentifier") + private TmsEmbeddedInstrumentIdentifier instrumentIdentifier = null; + + public Tmsv2tokenizeTokenInformation jti(String jti) { + this.jti = jti; + return this; + } + + /** + * TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). + * @return jti + **/ + @ApiModelProperty(value = "TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). ") + public String getJti() { + return jti; + } + + public void setJti(String jti) { + this.jti = jti; + } + + public Tmsv2tokenizeTokenInformation transientTokenJwt(String transientTokenJwt) { + this.transientTokenJwt = transientTokenJwt; + return this; + } + + /** + * Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. + * @return transientTokenJwt + **/ + @ApiModelProperty(value = "Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. ") + public String getTransientTokenJwt() { + return transientTokenJwt; + } + + public void setTransientTokenJwt(String transientTokenJwt) { + this.transientTokenJwt = transientTokenJwt; + } + + public Tmsv2tokenizeTokenInformation customer(Tmsv2tokenizeTokenInformationCustomer customer) { + this.customer = customer; + return this; + } + + /** + * Get customer + * @return customer + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomer getCustomer() { + return customer; + } + + public void setCustomer(Tmsv2tokenizeTokenInformationCustomer customer) { + this.customer = customer; + } + + public Tmsv2tokenizeTokenInformation shippingAddress(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + * Get shippingAddress + * @return shippingAddress + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress getShippingAddress() { + return shippingAddress; + } + + public void setShippingAddress(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public Tmsv2tokenizeTokenInformation paymentInstrument(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument paymentInstrument) { + this.paymentInstrument = paymentInstrument; + return this; + } + + /** + * Get paymentInstrument + * @return paymentInstrument + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument getPaymentInstrument() { + return paymentInstrument; + } + + public void setPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument paymentInstrument) { + this.paymentInstrument = paymentInstrument; + } + + public Tmsv2tokenizeTokenInformation instrumentIdentifier(TmsEmbeddedInstrumentIdentifier instrumentIdentifier) { + this.instrumentIdentifier = instrumentIdentifier; + return this; + } + + /** + * Get instrumentIdentifier + * @return instrumentIdentifier + **/ + @ApiModelProperty(value = "") + public TmsEmbeddedInstrumentIdentifier getInstrumentIdentifier() { + return instrumentIdentifier; + } + + public void setInstrumentIdentifier(TmsEmbeddedInstrumentIdentifier instrumentIdentifier) { + this.instrumentIdentifier = instrumentIdentifier; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizeTokenInformation tmsv2tokenizeTokenInformation = (Tmsv2tokenizeTokenInformation) o; + return Objects.equals(this.jti, tmsv2tokenizeTokenInformation.jti) && + Objects.equals(this.transientTokenJwt, tmsv2tokenizeTokenInformation.transientTokenJwt) && + Objects.equals(this.customer, tmsv2tokenizeTokenInformation.customer) && + Objects.equals(this.shippingAddress, tmsv2tokenizeTokenInformation.shippingAddress) && + Objects.equals(this.paymentInstrument, tmsv2tokenizeTokenInformation.paymentInstrument) && + Objects.equals(this.instrumentIdentifier, tmsv2tokenizeTokenInformation.instrumentIdentifier); + } + + @Override + public int hashCode() { + return Objects.hash(jti, transientTokenJwt, customer, shippingAddress, paymentInstrument, instrumentIdentifier); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizeTokenInformation {\n"); + + if (jti != null) sb.append(" jti: ").append(toIndentedString(jti)).append("\n"); + if (transientTokenJwt != null) sb.append(" transientTokenJwt: ").append(toIndentedString(transientTokenJwt)).append("\n"); + if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + if (shippingAddress != null) sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); + if (paymentInstrument != null) sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); + if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomer.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomer.java new file mode 100644 index 000000000..b83562e67 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomer.java @@ -0,0 +1,320 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizeTokenInformationCustomerBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument; +import Model.Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerObjectInformation; +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; + +/** + * Tmsv2tokenizeTokenInformationCustomer + */ + +public class Tmsv2tokenizeTokenInformationCustomer { + @SerializedName("_links") + private Tmsv2tokenizeTokenInformationCustomerLinks links = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("objectInformation") + private Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation = null; + + @SerializedName("buyerInformation") + private Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation = null; + + @SerializedName("clientReferenceInformation") + private Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation = null; + + @SerializedName("merchantDefinedInformation") + private List merchantDefinedInformation = null; + + @SerializedName("defaultPaymentInstrument") + private Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument = null; + + @SerializedName("defaultShippingAddress") + private Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress = null; + + @SerializedName("metadata") + private Tmsv2tokenizeTokenInformationCustomerMetadata metadata = null; + + @SerializedName("_embedded") + private Tmsv2tokenizeTokenInformationCustomerEmbedded embedded = null; + + public Tmsv2tokenizeTokenInformationCustomer links(Tmsv2tokenizeTokenInformationCustomerLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2tokenizeTokenInformationCustomerLinks links) { + this.links = links; + } + + public Tmsv2tokenizeTokenInformationCustomer id(String id) { + this.id = id; + return this; + } + + /** + * The Id of the Customer Token. + * @return id + **/ + @ApiModelProperty(value = "The Id of the Customer Token.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Tmsv2tokenizeTokenInformationCustomer objectInformation(Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation) { + this.objectInformation = objectInformation; + return this; + } + + /** + * Get objectInformation + * @return objectInformation + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerObjectInformation getObjectInformation() { + return objectInformation; + } + + public void setObjectInformation(Tmsv2tokenizeTokenInformationCustomerObjectInformation objectInformation) { + this.objectInformation = objectInformation; + } + + public Tmsv2tokenizeTokenInformationCustomer buyerInformation(Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation) { + this.buyerInformation = buyerInformation; + return this; + } + + /** + * Get buyerInformation + * @return buyerInformation + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation getBuyerInformation() { + return buyerInformation; + } + + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerBuyerInformation buyerInformation) { + this.buyerInformation = buyerInformation; + } + + public Tmsv2tokenizeTokenInformationCustomer clientReferenceInformation(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + + public Tmsv2tokenizeTokenInformationCustomer merchantDefinedInformation(List merchantDefinedInformation) { + this.merchantDefinedInformation = merchantDefinedInformation; + return this; + } + + public Tmsv2tokenizeTokenInformationCustomer addMerchantDefinedInformationItem(Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation merchantDefinedInformationItem) { + if (this.merchantDefinedInformation == null) { + this.merchantDefinedInformation = new ArrayList(); + } + this.merchantDefinedInformation.add(merchantDefinedInformationItem); + return this; + } + + /** + * Object containing the custom data that the merchant defines. + * @return merchantDefinedInformation + **/ + @ApiModelProperty(value = "Object containing the custom data that the merchant defines. ") + public List getMerchantDefinedInformation() { + return merchantDefinedInformation; + } + + public void setMerchantDefinedInformation(List merchantDefinedInformation) { + this.merchantDefinedInformation = merchantDefinedInformation; + } + + public Tmsv2tokenizeTokenInformationCustomer defaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument) { + this.defaultPaymentInstrument = defaultPaymentInstrument; + return this; + } + + /** + * Get defaultPaymentInstrument + * @return defaultPaymentInstrument + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument getDefaultPaymentInstrument() { + return defaultPaymentInstrument; + } + + public void setDefaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument defaultPaymentInstrument) { + this.defaultPaymentInstrument = defaultPaymentInstrument; + } + + public Tmsv2tokenizeTokenInformationCustomer defaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress) { + this.defaultShippingAddress = defaultShippingAddress; + return this; + } + + /** + * Get defaultShippingAddress + * @return defaultShippingAddress + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress getDefaultShippingAddress() { + return defaultShippingAddress; + } + + public void setDefaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress defaultShippingAddress) { + this.defaultShippingAddress = defaultShippingAddress; + } + + public Tmsv2tokenizeTokenInformationCustomer metadata(Tmsv2tokenizeTokenInformationCustomerMetadata metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerMetadata getMetadata() { + return metadata; + } + + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerMetadata metadata) { + this.metadata = metadata; + } + + public Tmsv2tokenizeTokenInformationCustomer embedded(Tmsv2tokenizeTokenInformationCustomerEmbedded embedded) { + this.embedded = embedded; + return this; + } + + /** + * Get embedded + * @return embedded + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizeTokenInformationCustomerEmbedded getEmbedded() { + return embedded; + } + + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbedded embedded) { + this.embedded = embedded; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizeTokenInformationCustomer tmsv2tokenizeTokenInformationCustomer = (Tmsv2tokenizeTokenInformationCustomer) o; + return Objects.equals(this.links, tmsv2tokenizeTokenInformationCustomer.links) && + Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomer.id) && + Objects.equals(this.objectInformation, tmsv2tokenizeTokenInformationCustomer.objectInformation) && + Objects.equals(this.buyerInformation, tmsv2tokenizeTokenInformationCustomer.buyerInformation) && + Objects.equals(this.clientReferenceInformation, tmsv2tokenizeTokenInformationCustomer.clientReferenceInformation) && + Objects.equals(this.merchantDefinedInformation, tmsv2tokenizeTokenInformationCustomer.merchantDefinedInformation) && + Objects.equals(this.defaultPaymentInstrument, tmsv2tokenizeTokenInformationCustomer.defaultPaymentInstrument) && + Objects.equals(this.defaultShippingAddress, tmsv2tokenizeTokenInformationCustomer.defaultShippingAddress) && + Objects.equals(this.metadata, tmsv2tokenizeTokenInformationCustomer.metadata) && + Objects.equals(this.embedded, tmsv2tokenizeTokenInformationCustomer.embedded); + } + + @Override + public int hashCode() { + return Objects.hash(links, id, objectInformation, buyerInformation, clientReferenceInformation, merchantDefinedInformation, defaultPaymentInstrument, defaultShippingAddress, metadata, embedded); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizeTokenInformationCustomer {\n"); + + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (objectInformation != null) sb.append(" objectInformation: ").append(toIndentedString(objectInformation)).append("\n"); + if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n"); + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (defaultPaymentInstrument != null) sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); + if (defaultShippingAddress != null) sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2customersBuyerInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.java similarity index 76% rename from src/main/java/Model/Tmsv2customersBuyerInformation.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.java index e4d6faf44..c2c62ea6e 100644 --- a/src/main/java/Model/Tmsv2customersBuyerInformation.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.java @@ -25,17 +25,17 @@ import java.io.IOException; /** - * Tmsv2customersBuyerInformation + * Tmsv2tokenizeTokenInformationCustomerBuyerInformation */ -public class Tmsv2customersBuyerInformation { +public class Tmsv2tokenizeTokenInformationCustomerBuyerInformation { @SerializedName("merchantCustomerID") private String merchantCustomerID = null; @SerializedName("email") private String email = null; - public Tmsv2customersBuyerInformation merchantCustomerID(String merchantCustomerID) { + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation merchantCustomerID(String merchantCustomerID) { this.merchantCustomerID = merchantCustomerID; return this; } @@ -53,7 +53,7 @@ public void setMerchantCustomerID(String merchantCustomerID) { this.merchantCustomerID = merchantCustomerID; } - public Tmsv2customersBuyerInformation email(String email) { + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation email(String email) { this.email = email; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersBuyerInformation tmsv2customersBuyerInformation = (Tmsv2customersBuyerInformation) o; - return Objects.equals(this.merchantCustomerID, tmsv2customersBuyerInformation.merchantCustomerID) && - Objects.equals(this.email, tmsv2customersBuyerInformation.email); + Tmsv2tokenizeTokenInformationCustomerBuyerInformation tmsv2tokenizeTokenInformationCustomerBuyerInformation = (Tmsv2tokenizeTokenInformationCustomerBuyerInformation) o; + return Objects.equals(this.merchantCustomerID, tmsv2tokenizeTokenInformationCustomerBuyerInformation.merchantCustomerID) && + Objects.equals(this.email, tmsv2tokenizeTokenInformationCustomerBuyerInformation.email); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersBuyerInformation {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerBuyerInformation {\n"); if (merchantCustomerID != null) sb.append(" merchantCustomerID: ").append(toIndentedString(merchantCustomerID)).append("\n"); if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersClientReferenceInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.java similarity index 75% rename from src/main/java/Model/Tmsv2customersClientReferenceInformation.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.java index 3e1c290a4..4268345bc 100644 --- a/src/main/java/Model/Tmsv2customersClientReferenceInformation.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersClientReferenceInformation + * Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation */ -public class Tmsv2customersClientReferenceInformation { +public class Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation { @SerializedName("code") private String code = null; - public Tmsv2customersClientReferenceInformation code(String code) { + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation code(String code) { this.code = code; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersClientReferenceInformation tmsv2customersClientReferenceInformation = (Tmsv2customersClientReferenceInformation) o; - return Objects.equals(this.code, tmsv2customersClientReferenceInformation.code); + Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation tmsv2tokenizeTokenInformationCustomerClientReferenceInformation = (Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation) o; + return Objects.equals(this.code, tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.code); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersClientReferenceInformation {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation {\n"); if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.java similarity index 75% rename from src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.java index 77c493134..5dffe84cf 100644 --- a/src/main/java/Model/Tmsv2customersDefaultPaymentInstrument.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersDefaultPaymentInstrument + * Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument */ -public class Tmsv2customersDefaultPaymentInstrument { +public class Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument { @SerializedName("id") private String id = null; - public Tmsv2customersDefaultPaymentInstrument id(String id) { + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument id(String id) { this.id = id; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersDefaultPaymentInstrument tmsv2customersDefaultPaymentInstrument = (Tmsv2customersDefaultPaymentInstrument) o; - return Objects.equals(this.id, tmsv2customersDefaultPaymentInstrument.id); + Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument = (Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument) o; + return Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.id); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersDefaultPaymentInstrument {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersDefaultShippingAddress.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.java similarity index 76% rename from src/main/java/Model/Tmsv2customersDefaultShippingAddress.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.java index 9a0b13d25..9db1f2f7c 100644 --- a/src/main/java/Model/Tmsv2customersDefaultShippingAddress.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersDefaultShippingAddress + * Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress */ -public class Tmsv2customersDefaultShippingAddress { +public class Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress { @SerializedName("id") private String id = null; - public Tmsv2customersDefaultShippingAddress id(String id) { + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress id(String id) { this.id = id; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersDefaultShippingAddress tmsv2customersDefaultShippingAddress = (Tmsv2customersDefaultShippingAddress) o; - return Objects.equals(this.id, tmsv2customersDefaultShippingAddress.id); + Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress = (Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress) o; + return Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.id); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersDefaultShippingAddress {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbedded.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbedded.java similarity index 59% rename from src/main/java/Model/Tmsv2customersEmbedded.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbedded.java index 2f9643f78..cae46b2e1 100644 --- a/src/main/java/Model/Tmsv2customersEmbedded.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbedded.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrument; -import Model.Tmsv2customersEmbeddedDefaultShippingAddress; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -31,14 +31,14 @@ */ @ApiModel(description = "Additional resources for the Customer. ") -public class Tmsv2customersEmbedded { +public class Tmsv2tokenizeTokenInformationCustomerEmbedded { @SerializedName("defaultPaymentInstrument") - private Tmsv2customersEmbeddedDefaultPaymentInstrument defaultPaymentInstrument = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument defaultPaymentInstrument = null; @SerializedName("defaultShippingAddress") - private Tmsv2customersEmbeddedDefaultShippingAddress defaultShippingAddress = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress defaultShippingAddress = null; - public Tmsv2customersEmbedded defaultPaymentInstrument(Tmsv2customersEmbeddedDefaultPaymentInstrument defaultPaymentInstrument) { + public Tmsv2tokenizeTokenInformationCustomerEmbedded defaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument defaultPaymentInstrument) { this.defaultPaymentInstrument = defaultPaymentInstrument; return this; } @@ -48,15 +48,15 @@ public Tmsv2customersEmbedded defaultPaymentInstrument(Tmsv2customersEmbeddedDef * @return defaultPaymentInstrument **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrument getDefaultPaymentInstrument() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument getDefaultPaymentInstrument() { return defaultPaymentInstrument; } - public void setDefaultPaymentInstrument(Tmsv2customersEmbeddedDefaultPaymentInstrument defaultPaymentInstrument) { + public void setDefaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument defaultPaymentInstrument) { this.defaultPaymentInstrument = defaultPaymentInstrument; } - public Tmsv2customersEmbedded defaultShippingAddress(Tmsv2customersEmbeddedDefaultShippingAddress defaultShippingAddress) { + public Tmsv2tokenizeTokenInformationCustomerEmbedded defaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress defaultShippingAddress) { this.defaultShippingAddress = defaultShippingAddress; return this; } @@ -66,11 +66,11 @@ public Tmsv2customersEmbedded defaultShippingAddress(Tmsv2customersEmbeddedDefau * @return defaultShippingAddress **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddress getDefaultShippingAddress() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress getDefaultShippingAddress() { return defaultShippingAddress; } - public void setDefaultShippingAddress(Tmsv2customersEmbeddedDefaultShippingAddress defaultShippingAddress) { + public void setDefaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress defaultShippingAddress) { this.defaultShippingAddress = defaultShippingAddress; } @@ -83,9 +83,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbedded tmsv2customersEmbedded = (Tmsv2customersEmbedded) o; - return Objects.equals(this.defaultPaymentInstrument, tmsv2customersEmbedded.defaultPaymentInstrument) && - Objects.equals(this.defaultShippingAddress, tmsv2customersEmbedded.defaultShippingAddress); + Tmsv2tokenizeTokenInformationCustomerEmbedded tmsv2tokenizeTokenInformationCustomerEmbedded = (Tmsv2tokenizeTokenInformationCustomerEmbedded) o; + return Objects.equals(this.defaultPaymentInstrument, tmsv2tokenizeTokenInformationCustomerEmbedded.defaultPaymentInstrument) && + Objects.equals(this.defaultShippingAddress, tmsv2tokenizeTokenInformationCustomerEmbedded.defaultShippingAddress); } @Override @@ -97,7 +97,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbedded {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbedded {\n"); if (defaultPaymentInstrument != null) sb.append(" defaultPaymentInstrument: ").append(toIndentedString(defaultPaymentInstrument)).append("\n"); if (defaultShippingAddress != null) sb.append(" defaultShippingAddress: ").append(toIndentedString(defaultShippingAddress)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.java similarity index 50% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.java index 1baa9971f..1a1da12e7 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.java @@ -15,16 +15,16 @@ import java.util.Objects; import java.util.Arrays; +import Model.TmsMerchantInformation; import Model.TmsPaymentInstrumentProcessingInfo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -35,12 +35,12 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrument + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrument { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links = null; @SerializedName("id") private String id = null; @@ -58,33 +58,33 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrument { private String type = null; @SerializedName("bankAccount") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount = null; @SerializedName("card") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card = null; @SerializedName("buyerInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation = null; @SerializedName("billTo") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo = null; @SerializedName("processingInformation") private TmsPaymentInstrumentProcessingInfo processingInformation = null; @SerializedName("merchantInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation = null; + private TmsMerchantInformation merchantInformation = null; @SerializedName("instrumentIdentifier") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata = null; @SerializedName("_embedded") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrument links(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; return this; } @@ -94,15 +94,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument links(Tmsv2customersEmbedd * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks links) { this.links = links; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument id(String id) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument id(String id) { this.id = id; return this; } @@ -129,7 +129,7 @@ public String getObject() { return object; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument _default(Boolean _default) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument _default(Boolean _default) { this._default = _default; return this; } @@ -165,7 +165,7 @@ public String getType() { return type; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument bankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument bankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; return this; } @@ -175,15 +175,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument bankAccount(Tmsv2customers * @return bankAccount **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount getBankAccount() { return bankAccount; } - public void setBankAccount(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { + public void setBankAccount(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount bankAccount) { this.bankAccount = bankAccount; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument card(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument card(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; return this; } @@ -193,15 +193,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument card(Tmsv2customersEmbedde * @return card **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard getCard() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard getCard() { return card; } - public void setCard(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard card) { + public void setCard(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard card) { this.card = card; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument buyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument buyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; return this; } @@ -211,15 +211,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument buyerInformation(Tmsv2cust * @return buyerInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation getBuyerInformation() { return buyerInformation; } - public void setBuyerInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { + public void setBuyerInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation buyerInformation) { this.buyerInformation = buyerInformation; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument billTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument billTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; return this; } @@ -229,15 +229,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument billTo(Tmsv2customersEmbed * @return billTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo getBillTo() { return billTo; } - public void setBillTo(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo billTo) { + public void setBillTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo billTo) { this.billTo = billTo; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument processingInformation(TmsPaymentInstrumentProcessingInfo processingInformation) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument processingInformation(TmsPaymentInstrumentProcessingInfo processingInformation) { this.processingInformation = processingInformation; return this; } @@ -255,7 +255,7 @@ public void setProcessingInformation(TmsPaymentInstrumentProcessingInfo processi this.processingInformation = processingInformation; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument merchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument merchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; return this; } @@ -265,15 +265,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument merchantInformation(Tmsv2c * @return merchantInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation getMerchantInformation() { + public TmsMerchantInformation getMerchantInformation() { return merchantInformation; } - public void setMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation merchantInformation) { + public void setMerchantInformation(TmsMerchantInformation merchantInformation) { this.merchantInformation = merchantInformation; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument instrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument instrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -283,15 +283,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument instrumentIdentifier(Tmsv2 * @return instrumentIdentifier **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier getInstrumentIdentifier() { return instrumentIdentifier; } - public void setInstrumentIdentifier(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { + public void setInstrumentIdentifier(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument metadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; return this; } @@ -301,15 +301,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument metadata(Tmsv2customersEmb * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata metadata) { this.metadata = metadata; } - public Tmsv2customersEmbeddedDefaultPaymentInstrument embedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument embedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; return this; } @@ -319,11 +319,11 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrument embedded(Tmsv2customersEmb * @return embedded **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded getEmbedded() { return embedded; } - public void setEmbedded(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded embedded) { + public void setEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded embedded) { this.embedded = embedded; } @@ -336,22 +336,22 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrument tmsv2customersEmbeddedDefaultPaymentInstrument = (Tmsv2customersEmbeddedDefaultPaymentInstrument) o; - return Objects.equals(this.links, tmsv2customersEmbeddedDefaultPaymentInstrument.links) && - Objects.equals(this.id, tmsv2customersEmbeddedDefaultPaymentInstrument.id) && - Objects.equals(this.object, tmsv2customersEmbeddedDefaultPaymentInstrument.object) && - Objects.equals(this._default, tmsv2customersEmbeddedDefaultPaymentInstrument._default) && - Objects.equals(this.state, tmsv2customersEmbeddedDefaultPaymentInstrument.state) && - Objects.equals(this.type, tmsv2customersEmbeddedDefaultPaymentInstrument.type) && - Objects.equals(this.bankAccount, tmsv2customersEmbeddedDefaultPaymentInstrument.bankAccount) && - Objects.equals(this.card, tmsv2customersEmbeddedDefaultPaymentInstrument.card) && - Objects.equals(this.buyerInformation, tmsv2customersEmbeddedDefaultPaymentInstrument.buyerInformation) && - Objects.equals(this.billTo, tmsv2customersEmbeddedDefaultPaymentInstrument.billTo) && - Objects.equals(this.processingInformation, tmsv2customersEmbeddedDefaultPaymentInstrument.processingInformation) && - Objects.equals(this.merchantInformation, tmsv2customersEmbeddedDefaultPaymentInstrument.merchantInformation) && - Objects.equals(this.instrumentIdentifier, tmsv2customersEmbeddedDefaultPaymentInstrument.instrumentIdentifier) && - Objects.equals(this.metadata, tmsv2customersEmbeddedDefaultPaymentInstrument.metadata) && - Objects.equals(this.embedded, tmsv2customersEmbeddedDefaultPaymentInstrument.embedded); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument) o; + return Objects.equals(this.links, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.links) && + Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.id) && + Objects.equals(this.object, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.object) && + Objects.equals(this._default, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument._default) && + Objects.equals(this.state, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.state) && + Objects.equals(this.type, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.type) && + Objects.equals(this.bankAccount, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.bankAccount) && + Objects.equals(this.card, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.card) && + Objects.equals(this.buyerInformation, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.buyerInformation) && + Objects.equals(this.billTo, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.billTo) && + Objects.equals(this.processingInformation, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.processingInformation) && + Objects.equals(this.merchantInformation, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.merchantInformation) && + Objects.equals(this.instrumentIdentifier, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.instrumentIdentifier) && + Objects.equals(this.metadata, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.metadata) && + Objects.equals(this.embedded, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.embedded); } @Override @@ -363,7 +363,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrument {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument {\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.java similarity index 74% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.java index 5821ddbd7..c54f4abd3 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount { @SerializedName("type") private String type = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount type(String type) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount type(String type) { this.type = type; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount = (Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount) o; - return Objects.equals(this.type, tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.type); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount) o; + return Objects.equals(this.type, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.type); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount {\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.java similarity index 72% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.java index f25ddf0ff..c691c0c85 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo { @SerializedName("firstName") private String firstName = null; @@ -62,7 +62,7 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo { @SerializedName("phoneNumber") private String phoneNumber = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo firstName(String firstName) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo firstName(String firstName) { this.firstName = firstName; return this; } @@ -80,7 +80,7 @@ public void setFirstName(String firstName) { this.firstName = firstName; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo lastName(String lastName) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo lastName(String lastName) { this.lastName = lastName; return this; } @@ -98,7 +98,7 @@ public void setLastName(String lastName) { this.lastName = lastName; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo company(String company) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo company(String company) { this.company = company; return this; } @@ -116,7 +116,7 @@ public void setCompany(String company) { this.company = company; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo address1(String address1) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo address1(String address1) { this.address1 = address1; return this; } @@ -134,7 +134,7 @@ public void setAddress1(String address1) { this.address1 = address1; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo address2(String address2) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo address2(String address2) { this.address2 = address2; return this; } @@ -152,7 +152,7 @@ public void setAddress2(String address2) { this.address2 = address2; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo locality(String locality) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo locality(String locality) { this.locality = locality; return this; } @@ -170,7 +170,7 @@ public void setLocality(String locality) { this.locality = locality; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo administrativeArea(String administrativeArea) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo administrativeArea(String administrativeArea) { this.administrativeArea = administrativeArea; return this; } @@ -188,7 +188,7 @@ public void setAdministrativeArea(String administrativeArea) { this.administrativeArea = administrativeArea; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo postalCode(String postalCode) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo postalCode(String postalCode) { this.postalCode = postalCode; return this; } @@ -206,7 +206,7 @@ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo country(String country) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo country(String country) { this.country = country; return this; } @@ -224,7 +224,7 @@ public void setCountry(String country) { this.country = country; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo email(String email) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo email(String email) { this.email = email; return this; } @@ -242,7 +242,7 @@ public void setEmail(String email) { this.email = email; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo phoneNumber(String phoneNumber) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -269,18 +269,18 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo = (Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo) o; - return Objects.equals(this.firstName, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.firstName) && - Objects.equals(this.lastName, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.lastName) && - Objects.equals(this.company, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.company) && - Objects.equals(this.address1, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.address1) && - Objects.equals(this.address2, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.address2) && - Objects.equals(this.locality, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.locality) && - Objects.equals(this.administrativeArea, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.administrativeArea) && - Objects.equals(this.postalCode, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.postalCode) && - Objects.equals(this.country, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.country) && - Objects.equals(this.email, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.email) && - Objects.equals(this.phoneNumber, tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.phoneNumber); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo) o; + return Objects.equals(this.firstName, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.firstName) && + Objects.equals(this.lastName, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.lastName) && + Objects.equals(this.company, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.company) && + Objects.equals(this.address1, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.address1) && + Objects.equals(this.address2, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.address2) && + Objects.equals(this.locality, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.locality) && + Objects.equals(this.administrativeArea, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.administrativeArea) && + Objects.equals(this.postalCode, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.postalCode) && + Objects.equals(this.country, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.country) && + Objects.equals(this.email, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.email) && + Objects.equals(this.phoneNumber, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.phoneNumber); } @Override @@ -292,7 +292,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo {\n"); if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.java similarity index 66% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.java index c4714772f..d52883650 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,10 +29,10 @@ import org.joda.time.LocalDate; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation { @SerializedName("companyTaxID") private String companyTaxID = null; @@ -43,9 +43,9 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation { private LocalDate dateOfBirth = null; @SerializedName("personalIdentification") - private List personalIdentification = null; + private List personalIdentification = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation companyTaxID(String companyTaxID) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation companyTaxID(String companyTaxID) { this.companyTaxID = companyTaxID; return this; } @@ -63,7 +63,7 @@ public void setCompanyTaxID(String companyTaxID) { this.companyTaxID = companyTaxID; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation currency(String currency) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation currency(String currency) { this.currency = currency; return this; } @@ -81,7 +81,7 @@ public void setCurrency(String currency) { this.currency = currency; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation dateOfBirth(LocalDate dateOfBirth) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } @@ -99,14 +99,14 @@ public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation personalIdentification(List personalIdentification) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation personalIdentification(List personalIdentification) { this.personalIdentification = personalIdentification; return this; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation addPersonalIdentificationItem(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification personalIdentificationItem) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation addPersonalIdentificationItem(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification personalIdentificationItem) { if (this.personalIdentification == null) { - this.personalIdentification = new ArrayList(); + this.personalIdentification = new ArrayList(); } this.personalIdentification.add(personalIdentificationItem); return this; @@ -117,11 +117,11 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation addPersona * @return personalIdentification **/ @ApiModelProperty(value = "") - public List getPersonalIdentification() { + public List getPersonalIdentification() { return personalIdentification; } - public void setPersonalIdentification(List personalIdentification) { + public void setPersonalIdentification(List personalIdentification) { this.personalIdentification = personalIdentification; } @@ -134,11 +134,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation = (Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation) o; - return Objects.equals(this.companyTaxID, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.companyTaxID) && - Objects.equals(this.currency, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.currency) && - Objects.equals(this.dateOfBirth, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.dateOfBirth) && - Objects.equals(this.personalIdentification, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.personalIdentification); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation) o; + return Objects.equals(this.companyTaxID, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.companyTaxID) && + Objects.equals(this.currency, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.currency) && + Objects.equals(this.dateOfBirth, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.dateOfBirth) && + Objects.equals(this.personalIdentification, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.personalIdentification); } @Override @@ -150,7 +150,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation {\n"); if (companyTaxID != null) sb.append(" companyTaxID: ").append(toIndentedString(companyTaxID)).append("\n"); if (currency != null) sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java similarity index 71% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java index ff66f93d3..672eee79d 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy { @SerializedName("administrativeArea") private String administrativeArea = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy administrativeArea(String administrativeArea) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy administrativeArea(String administrativeArea) { this.administrativeArea = administrativeArea; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy = (Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy) o; - return Objects.equals(this.administrativeArea, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.administrativeArea); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy) o; + return Objects.equals(this.administrativeArea, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.administrativeArea); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy {\n"); if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java similarity index 56% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java index 0b6df63f1..3734ae0f8 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,10 +26,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification { @SerializedName("id") private String id = null; @@ -37,9 +37,9 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPerso private String type = null; @SerializedName("issuedBy") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy issuedBy = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy issuedBy = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification id(String id) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification id(String id) { this.id = id; return this; } @@ -57,7 +57,7 @@ public void setId(String id) { this.id = id; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification type(String type) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification type(String type) { this.type = type; return this; } @@ -75,7 +75,7 @@ public void setType(String type) { this.type = type; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification issuedBy(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy issuedBy) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification issuedBy(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy issuedBy) { this.issuedBy = issuedBy; return this; } @@ -85,11 +85,11 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIde * @return issuedBy **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy getIssuedBy() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy getIssuedBy() { return issuedBy; } - public void setIssuedBy(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy issuedBy) { + public void setIssuedBy(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy issuedBy) { this.issuedBy = issuedBy; } @@ -102,10 +102,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification = (Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification) o; - return Objects.equals(this.id, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.id) && - Objects.equals(this.type, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.type) && - Objects.equals(this.issuedBy, tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.issuedBy); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification) o; + return Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.id) && + Objects.equals(this.type, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.type) && + Objects.equals(this.issuedBy, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.issuedBy); } @Override @@ -117,7 +117,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.java similarity index 78% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.java index 2248eafd6..96b6cee5f 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,10 +26,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard { @SerializedName("expirationMonth") private String expirationMonth = null; @@ -55,9 +55,9 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard { private String hash = null; @SerializedName("tokenizedInformation") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tokenizedInformation = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tokenizedInformation = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard expirationMonth(String expirationMonth) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard expirationMonth(String expirationMonth) { this.expirationMonth = expirationMonth; return this; } @@ -75,7 +75,7 @@ public void setExpirationMonth(String expirationMonth) { this.expirationMonth = expirationMonth; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard expirationYear(String expirationYear) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard expirationYear(String expirationYear) { this.expirationYear = expirationYear; return this; } @@ -93,7 +93,7 @@ public void setExpirationYear(String expirationYear) { this.expirationYear = expirationYear; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard type(String type) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard type(String type) { this.type = type; return this; } @@ -111,7 +111,7 @@ public void setType(String type) { this.type = type; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard issueNumber(String issueNumber) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } @@ -129,7 +129,7 @@ public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard startMonth(String startMonth) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard startMonth(String startMonth) { this.startMonth = startMonth; return this; } @@ -147,7 +147,7 @@ public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard startYear(String startYear) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard startYear(String startYear) { this.startYear = startYear; return this; } @@ -165,7 +165,7 @@ public void setStartYear(String startYear) { this.startYear = startYear; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard useAs(String useAs) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard useAs(String useAs) { this.useAs = useAs; return this; } @@ -192,7 +192,7 @@ public String getHash() { return hash; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard tokenizedInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tokenizedInformation) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard tokenizedInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tokenizedInformation) { this.tokenizedInformation = tokenizedInformation; return this; } @@ -202,11 +202,11 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard tokenizedInformation(T * @return tokenizedInformation **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation getTokenizedInformation() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation getTokenizedInformation() { return tokenizedInformation; } - public void setTokenizedInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tokenizedInformation) { + public void setTokenizedInformation(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tokenizedInformation) { this.tokenizedInformation = tokenizedInformation; } @@ -219,16 +219,16 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentCard tmsv2customersEmbeddedDefaultPaymentInstrumentCard = (Tmsv2customersEmbeddedDefaultPaymentInstrumentCard) o; - return Objects.equals(this.expirationMonth, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.expirationMonth) && - Objects.equals(this.expirationYear, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.expirationYear) && - Objects.equals(this.type, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.type) && - Objects.equals(this.issueNumber, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.issueNumber) && - Objects.equals(this.startMonth, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.startMonth) && - Objects.equals(this.startYear, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.startYear) && - Objects.equals(this.useAs, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.useAs) && - Objects.equals(this.hash, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.hash) && - Objects.equals(this.tokenizedInformation, tmsv2customersEmbeddedDefaultPaymentInstrumentCard.tokenizedInformation); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard) o; + return Objects.equals(this.expirationMonth, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.expirationMonth) && + Objects.equals(this.expirationYear, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.expirationYear) && + Objects.equals(this.type, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.type) && + Objects.equals(this.issueNumber, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.issueNumber) && + Objects.equals(this.startMonth, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.startMonth) && + Objects.equals(this.startYear, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.startYear) && + Objects.equals(this.useAs, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.useAs) && + Objects.equals(this.hash, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.hash) && + Objects.equals(this.tokenizedInformation, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.tokenizedInformation); } @Override @@ -240,7 +240,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard {\n"); if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java similarity index 75% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java index 06ac2f053..85fb46dca 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.java @@ -25,17 +25,17 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation { @SerializedName("requestorID") private String requestorID = null; @SerializedName("transactionType") private String transactionType = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation requestorID(String requestorID) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation requestorID(String requestorID) { this.requestorID = requestorID; return this; } @@ -53,7 +53,7 @@ public void setRequestorID(String requestorID) { this.requestorID = requestorID; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation transactionType(String transactionType) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation transactionType(String transactionType) { this.transactionType = transactionType; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation = (Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation) o; - return Objects.equals(this.requestorID, tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.requestorID) && - Objects.equals(this.transactionType, tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.transactionType); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation) o; + return Objects.equals(this.requestorID, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.requestorID) && + Objects.equals(this.transactionType, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.transactionType); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation {\n"); if (requestorID != null) sb.append(" requestorID: ").append(toIndentedString(requestorID)).append("\n"); if (transactionType != null) sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.java similarity index 75% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.java index 4f452eea1..2c3b27466 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.java @@ -30,11 +30,11 @@ */ @ApiModel(description = "Additional resources for the Payment Instrument. ") -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded { @SerializedName("instrumentIdentifier") private TmsEmbeddedInstrumentIdentifier instrumentIdentifier = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded instrumentIdentifier(TmsEmbeddedInstrumentIdentifier instrumentIdentifier) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded instrumentIdentifier(TmsEmbeddedInstrumentIdentifier instrumentIdentifier) { this.instrumentIdentifier = instrumentIdentifier; return this; } @@ -61,8 +61,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded = (Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded) o; - return Objects.equals(this.instrumentIdentifier, tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.instrumentIdentifier); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded) o; + return Objects.equals(this.instrumentIdentifier, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.instrumentIdentifier); } @Override @@ -74,7 +74,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded {\n"); if (instrumentIdentifier != null) sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java similarity index 69% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java index 80f24d964..816928264 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier { @SerializedName("id") private String id = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier id(String id) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier id(String id) { this.id = id; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier = (Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier) o; - return Objects.equals(this.id, tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.id); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier) o; + return Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.id); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.java similarity index 54% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.java index e1aeb2c1d..25a846b4e 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf; -import Model.Tmsv2customersLinksSelf; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf; +import Model.Tmsv2tokenizeTokenInformationCustomerLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,17 +27,17 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks { @SerializedName("self") - private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf self = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf self = null; @SerializedName("customer") - private Tmsv2customersLinksSelf customer = null; + private Tmsv2tokenizeTokenInformationCustomerLinksSelf customer = null; - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks self(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf self) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks self(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf self) { this.self = self; return this; } @@ -47,15 +47,15 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks self(Tmsv2customersEm * @return self **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf getSelf() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf self) { + public void setSelf(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf self) { this.self = self; } - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks customer(Tmsv2customersLinksSelf customer) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks customer(Tmsv2tokenizeTokenInformationCustomerLinksSelf customer) { this.customer = customer; return this; } @@ -65,11 +65,11 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks customer(Tmsv2custome * @return customer **/ @ApiModelProperty(value = "") - public Tmsv2customersLinksSelf getCustomer() { + public Tmsv2tokenizeTokenInformationCustomerLinksSelf getCustomer() { return customer; } - public void setCustomer(Tmsv2customersLinksSelf customer) { + public void setCustomer(Tmsv2tokenizeTokenInformationCustomerLinksSelf customer) { this.customer = customer; } @@ -82,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks tmsv2customersEmbeddedDefaultPaymentInstrumentLinks = (Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks) o; - return Objects.equals(this.self, tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.self) && - Objects.equals(this.customer, tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.customer); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks) o; + return Objects.equals(this.self, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.self) && + Objects.equals(this.customer, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.customer); } @Override @@ -96,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.java similarity index 74% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.java index 1629ea3e3..410ae229b 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf { @SerializedName("href") private String href = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf = (Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf) o; - return Objects.equals(this.href, tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.href); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf) o; + return Objects.equals(this.href, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.java similarity index 73% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.java index eb8d9a57c..b05d6b7a9 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata */ -public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata { @SerializedName("creator") private String creator = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata = (Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata) o; - return Objects.equals(this.creator, tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.creator); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata) o; + return Objects.equals(this.creator, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.creator); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata {\n"); if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.java similarity index 55% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.java index 2871d40dc..647461f99 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddress.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressLinks; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressMetadata; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressShipTo; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,12 +28,12 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultShippingAddress + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress */ -public class Tmsv2customersEmbeddedDefaultShippingAddress { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress { @SerializedName("_links") - private Tmsv2customersEmbeddedDefaultShippingAddressLinks links = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links = null; @SerializedName("id") private String id = null; @@ -42,12 +42,12 @@ public class Tmsv2customersEmbeddedDefaultShippingAddress { private Boolean _default = null; @SerializedName("shipTo") - private Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo = null; @SerializedName("metadata") - private Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata = null; - public Tmsv2customersEmbeddedDefaultShippingAddress links(Tmsv2customersEmbeddedDefaultShippingAddressLinks links) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress links(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links) { this.links = links; return this; } @@ -57,15 +57,15 @@ public Tmsv2customersEmbeddedDefaultShippingAddress links(Tmsv2customersEmbedded * @return links **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressLinks getLinks() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks getLinks() { return links; } - public void setLinks(Tmsv2customersEmbeddedDefaultShippingAddressLinks links) { + public void setLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks links) { this.links = links; } - public Tmsv2customersEmbeddedDefaultShippingAddress id(String id) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress id(String id) { this.id = id; return this; } @@ -83,7 +83,7 @@ public void setId(String id) { this.id = id; } - public Tmsv2customersEmbeddedDefaultShippingAddress _default(Boolean _default) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress _default(Boolean _default) { this._default = _default; return this; } @@ -101,7 +101,7 @@ public void setDefault(Boolean _default) { this._default = _default; } - public Tmsv2customersEmbeddedDefaultShippingAddress shipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress shipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; return this; } @@ -111,15 +111,15 @@ public Tmsv2customersEmbeddedDefaultShippingAddress shipTo(Tmsv2customersEmbedde * @return shipTo **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo getShipTo() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo getShipTo() { return shipTo; } - public void setShipTo(Tmsv2customersEmbeddedDefaultShippingAddressShipTo shipTo) { + public void setShipTo(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo shipTo) { this.shipTo = shipTo; } - public Tmsv2customersEmbeddedDefaultShippingAddress metadata(Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress metadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata) { this.metadata = metadata; return this; } @@ -129,11 +129,11 @@ public Tmsv2customersEmbeddedDefaultShippingAddress metadata(Tmsv2customersEmbed * @return metadata **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata getMetadata() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata getMetadata() { return metadata; } - public void setMetadata(Tmsv2customersEmbeddedDefaultShippingAddressMetadata metadata) { + public void setMetadata(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata metadata) { this.metadata = metadata; } @@ -146,12 +146,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultShippingAddress tmsv2customersEmbeddedDefaultShippingAddress = (Tmsv2customersEmbeddedDefaultShippingAddress) o; - return Objects.equals(this.links, tmsv2customersEmbeddedDefaultShippingAddress.links) && - Objects.equals(this.id, tmsv2customersEmbeddedDefaultShippingAddress.id) && - Objects.equals(this._default, tmsv2customersEmbeddedDefaultShippingAddress._default) && - Objects.equals(this.shipTo, tmsv2customersEmbeddedDefaultShippingAddress.shipTo) && - Objects.equals(this.metadata, tmsv2customersEmbeddedDefaultShippingAddress.metadata); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress) o; + return Objects.equals(this.links, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.links) && + Objects.equals(this.id, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.id) && + Objects.equals(this._default, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress._default) && + Objects.equals(this.shipTo, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.shipTo) && + Objects.equals(this.metadata, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.metadata); } @Override @@ -163,7 +163,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultShippingAddress {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress {\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.java similarity index 52% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.java index edc1d3c20..df55acc37 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer; -import Model.Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer; +import Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,17 +27,17 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultShippingAddressLinks + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks */ -public class Tmsv2customersEmbeddedDefaultShippingAddressLinks { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks { @SerializedName("self") - private Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf self = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf self = null; @SerializedName("customer") - private Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer customer = null; + private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer customer = null; - public Tmsv2customersEmbeddedDefaultShippingAddressLinks self(Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf self) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks self(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf self) { this.self = self; return this; } @@ -47,15 +47,15 @@ public Tmsv2customersEmbeddedDefaultShippingAddressLinks self(Tmsv2customersEmbe * @return self **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf getSelf() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf self) { + public void setSelf(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf self) { this.self = self; } - public Tmsv2customersEmbeddedDefaultShippingAddressLinks customer(Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer customer) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks customer(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer customer) { this.customer = customer; return this; } @@ -65,11 +65,11 @@ public Tmsv2customersEmbeddedDefaultShippingAddressLinks customer(Tmsv2customers * @return customer **/ @ApiModelProperty(value = "") - public Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer getCustomer() { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer getCustomer() { return customer; } - public void setCustomer(Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer customer) { + public void setCustomer(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer customer) { this.customer = customer; } @@ -82,9 +82,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultShippingAddressLinks tmsv2customersEmbeddedDefaultShippingAddressLinks = (Tmsv2customersEmbeddedDefaultShippingAddressLinks) o; - return Objects.equals(this.self, tmsv2customersEmbeddedDefaultShippingAddressLinks.self) && - Objects.equals(this.customer, tmsv2customersEmbeddedDefaultShippingAddressLinks.customer); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks) o; + return Objects.equals(this.self, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.self) && + Objects.equals(this.customer, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.customer); } @Override @@ -96,7 +96,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressLinks {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.java similarity index 73% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.java index b62f4b4d8..821d33681 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer */ -public class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer { @SerializedName("href") private String href = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer = (Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer) o; - return Objects.equals(this.href, tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.href); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer) o; + return Objects.equals(this.href, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.java similarity index 75% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.java index 40620d0f2..7847cdb0f 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf */ -public class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf { @SerializedName("href") private String href = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf tmsv2customersEmbeddedDefaultShippingAddressLinksSelf = (Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf) o; - return Objects.equals(this.href, tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.href); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf) o; + return Objects.equals(this.href, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.java similarity index 74% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.java index fd149263e..7c6eda3e1 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultShippingAddressMetadata + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata */ -public class Tmsv2customersEmbeddedDefaultShippingAddressMetadata { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata { @SerializedName("creator") private String creator = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultShippingAddressMetadata tmsv2customersEmbeddedDefaultShippingAddressMetadata = (Tmsv2customersEmbeddedDefaultShippingAddressMetadata) o; - return Objects.equals(this.creator, tmsv2customersEmbeddedDefaultShippingAddressMetadata.creator); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata) o; + return Objects.equals(this.creator, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.creator); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressMetadata {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata {\n"); if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.java similarity index 73% rename from src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.java index 3eda6dd70..5d6a50d45 100644 --- a/src/main/java/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersEmbeddedDefaultShippingAddressShipTo + * Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo */ -public class Tmsv2customersEmbeddedDefaultShippingAddressShipTo { +public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo { @SerializedName("firstName") private String firstName = null; @@ -62,7 +62,7 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressShipTo { @SerializedName("phoneNumber") private String phoneNumber = null; - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo firstName(String firstName) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo firstName(String firstName) { this.firstName = firstName; return this; } @@ -80,7 +80,7 @@ public void setFirstName(String firstName) { this.firstName = firstName; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo lastName(String lastName) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo lastName(String lastName) { this.lastName = lastName; return this; } @@ -98,7 +98,7 @@ public void setLastName(String lastName) { this.lastName = lastName; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo company(String company) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo company(String company) { this.company = company; return this; } @@ -116,7 +116,7 @@ public void setCompany(String company) { this.company = company; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo address1(String address1) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo address1(String address1) { this.address1 = address1; return this; } @@ -134,7 +134,7 @@ public void setAddress1(String address1) { this.address1 = address1; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo address2(String address2) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo address2(String address2) { this.address2 = address2; return this; } @@ -152,7 +152,7 @@ public void setAddress2(String address2) { this.address2 = address2; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo locality(String locality) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo locality(String locality) { this.locality = locality; return this; } @@ -170,7 +170,7 @@ public void setLocality(String locality) { this.locality = locality; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo administrativeArea(String administrativeArea) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo administrativeArea(String administrativeArea) { this.administrativeArea = administrativeArea; return this; } @@ -188,7 +188,7 @@ public void setAdministrativeArea(String administrativeArea) { this.administrativeArea = administrativeArea; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo postalCode(String postalCode) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo postalCode(String postalCode) { this.postalCode = postalCode; return this; } @@ -206,7 +206,7 @@ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo country(String country) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo country(String country) { this.country = country; return this; } @@ -224,7 +224,7 @@ public void setCountry(String country) { this.country = country; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo email(String email) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo email(String email) { this.email = email; return this; } @@ -242,7 +242,7 @@ public void setEmail(String email) { this.email = email; } - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo phoneNumber(String phoneNumber) { + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -269,18 +269,18 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersEmbeddedDefaultShippingAddressShipTo tmsv2customersEmbeddedDefaultShippingAddressShipTo = (Tmsv2customersEmbeddedDefaultShippingAddressShipTo) o; - return Objects.equals(this.firstName, tmsv2customersEmbeddedDefaultShippingAddressShipTo.firstName) && - Objects.equals(this.lastName, tmsv2customersEmbeddedDefaultShippingAddressShipTo.lastName) && - Objects.equals(this.company, tmsv2customersEmbeddedDefaultShippingAddressShipTo.company) && - Objects.equals(this.address1, tmsv2customersEmbeddedDefaultShippingAddressShipTo.address1) && - Objects.equals(this.address2, tmsv2customersEmbeddedDefaultShippingAddressShipTo.address2) && - Objects.equals(this.locality, tmsv2customersEmbeddedDefaultShippingAddressShipTo.locality) && - Objects.equals(this.administrativeArea, tmsv2customersEmbeddedDefaultShippingAddressShipTo.administrativeArea) && - Objects.equals(this.postalCode, tmsv2customersEmbeddedDefaultShippingAddressShipTo.postalCode) && - Objects.equals(this.country, tmsv2customersEmbeddedDefaultShippingAddressShipTo.country) && - Objects.equals(this.email, tmsv2customersEmbeddedDefaultShippingAddressShipTo.email) && - Objects.equals(this.phoneNumber, tmsv2customersEmbeddedDefaultShippingAddressShipTo.phoneNumber); + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo = (Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo) o; + return Objects.equals(this.firstName, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.firstName) && + Objects.equals(this.lastName, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.lastName) && + Objects.equals(this.company, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.company) && + Objects.equals(this.address1, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.address1) && + Objects.equals(this.address2, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.address2) && + Objects.equals(this.locality, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.locality) && + Objects.equals(this.administrativeArea, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.administrativeArea) && + Objects.equals(this.postalCode, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.postalCode) && + Objects.equals(this.country, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.country) && + Objects.equals(this.email, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.email) && + Objects.equals(this.phoneNumber, tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.phoneNumber); } @Override @@ -292,7 +292,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersEmbeddedDefaultShippingAddressShipTo {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo {\n"); if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersLinks.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinks.java similarity index 56% rename from src/main/java/Model/Tmsv2customersLinks.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinks.java index 4d8dc2110..ddb71cb59 100644 --- a/src/main/java/Model/Tmsv2customersLinks.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinks.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.Tmsv2customersLinksPaymentInstruments; -import Model.Tmsv2customersLinksSelf; -import Model.Tmsv2customersLinksShippingAddress; +import Model.Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments; +import Model.Tmsv2tokenizeTokenInformationCustomerLinksSelf; +import Model.Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,20 +28,20 @@ import java.io.IOException; /** - * Tmsv2customersLinks + * Tmsv2tokenizeTokenInformationCustomerLinks */ -public class Tmsv2customersLinks { +public class Tmsv2tokenizeTokenInformationCustomerLinks { @SerializedName("self") - private Tmsv2customersLinksSelf self = null; + private Tmsv2tokenizeTokenInformationCustomerLinksSelf self = null; @SerializedName("paymentInstruments") - private Tmsv2customersLinksPaymentInstruments paymentInstruments = null; + private Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments paymentInstruments = null; @SerializedName("shippingAddress") - private Tmsv2customersLinksShippingAddress shippingAddress = null; + private Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress shippingAddress = null; - public Tmsv2customersLinks self(Tmsv2customersLinksSelf self) { + public Tmsv2tokenizeTokenInformationCustomerLinks self(Tmsv2tokenizeTokenInformationCustomerLinksSelf self) { this.self = self; return this; } @@ -51,15 +51,15 @@ public Tmsv2customersLinks self(Tmsv2customersLinksSelf self) { * @return self **/ @ApiModelProperty(value = "") - public Tmsv2customersLinksSelf getSelf() { + public Tmsv2tokenizeTokenInformationCustomerLinksSelf getSelf() { return self; } - public void setSelf(Tmsv2customersLinksSelf self) { + public void setSelf(Tmsv2tokenizeTokenInformationCustomerLinksSelf self) { this.self = self; } - public Tmsv2customersLinks paymentInstruments(Tmsv2customersLinksPaymentInstruments paymentInstruments) { + public Tmsv2tokenizeTokenInformationCustomerLinks paymentInstruments(Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments paymentInstruments) { this.paymentInstruments = paymentInstruments; return this; } @@ -69,15 +69,15 @@ public Tmsv2customersLinks paymentInstruments(Tmsv2customersLinksPaymentInstrume * @return paymentInstruments **/ @ApiModelProperty(value = "") - public Tmsv2customersLinksPaymentInstruments getPaymentInstruments() { + public Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments getPaymentInstruments() { return paymentInstruments; } - public void setPaymentInstruments(Tmsv2customersLinksPaymentInstruments paymentInstruments) { + public void setPaymentInstruments(Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments paymentInstruments) { this.paymentInstruments = paymentInstruments; } - public Tmsv2customersLinks shippingAddress(Tmsv2customersLinksShippingAddress shippingAddress) { + public Tmsv2tokenizeTokenInformationCustomerLinks shippingAddress(Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress shippingAddress) { this.shippingAddress = shippingAddress; return this; } @@ -87,11 +87,11 @@ public Tmsv2customersLinks shippingAddress(Tmsv2customersLinksShippingAddress sh * @return shippingAddress **/ @ApiModelProperty(value = "") - public Tmsv2customersLinksShippingAddress getShippingAddress() { + public Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress getShippingAddress() { return shippingAddress; } - public void setShippingAddress(Tmsv2customersLinksShippingAddress shippingAddress) { + public void setShippingAddress(Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress shippingAddress) { this.shippingAddress = shippingAddress; } @@ -104,10 +104,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersLinks tmsv2customersLinks = (Tmsv2customersLinks) o; - return Objects.equals(this.self, tmsv2customersLinks.self) && - Objects.equals(this.paymentInstruments, tmsv2customersLinks.paymentInstruments) && - Objects.equals(this.shippingAddress, tmsv2customersLinks.shippingAddress); + Tmsv2tokenizeTokenInformationCustomerLinks tmsv2tokenizeTokenInformationCustomerLinks = (Tmsv2tokenizeTokenInformationCustomerLinks) o; + return Objects.equals(this.self, tmsv2tokenizeTokenInformationCustomerLinks.self) && + Objects.equals(this.paymentInstruments, tmsv2tokenizeTokenInformationCustomerLinks.paymentInstruments) && + Objects.equals(this.shippingAddress, tmsv2tokenizeTokenInformationCustomerLinks.shippingAddress); } @Override @@ -119,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersLinks {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerLinks {\n"); if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); if (paymentInstruments != null) sb.append(" paymentInstruments: ").append(toIndentedString(paymentInstruments)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.java similarity index 78% rename from src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.java index 73920b66d..819f9d43a 100644 --- a/src/main/java/Model/Tmsv2customersLinksPaymentInstruments.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersLinksPaymentInstruments + * Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments */ -public class Tmsv2customersLinksPaymentInstruments { +public class Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments { @SerializedName("href") private String href = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersLinksPaymentInstruments tmsv2customersLinksPaymentInstruments = (Tmsv2customersLinksPaymentInstruments) o; - return Objects.equals(this.href, tmsv2customersLinksPaymentInstruments.href); + Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments = (Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments) o; + return Objects.equals(this.href, tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersLinksPaymentInstruments {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersLinksSelf.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelf.java similarity index 81% rename from src/main/java/Model/Tmsv2customersLinksSelf.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelf.java index 44a33ae1d..1463fbe88 100644 --- a/src/main/java/Model/Tmsv2customersLinksSelf.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelf.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersLinksSelf + * Tmsv2tokenizeTokenInformationCustomerLinksSelf */ -public class Tmsv2customersLinksSelf { +public class Tmsv2tokenizeTokenInformationCustomerLinksSelf { @SerializedName("href") private String href = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersLinksSelf tmsv2customersLinksSelf = (Tmsv2customersLinksSelf) o; - return Objects.equals(this.href, tmsv2customersLinksSelf.href); + Tmsv2tokenizeTokenInformationCustomerLinksSelf tmsv2tokenizeTokenInformationCustomerLinksSelf = (Tmsv2tokenizeTokenInformationCustomerLinksSelf) o; + return Objects.equals(this.href, tmsv2tokenizeTokenInformationCustomerLinksSelf.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersLinksSelf {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerLinksSelf {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersLinksShippingAddress.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.java similarity index 79% rename from src/main/java/Model/Tmsv2customersLinksShippingAddress.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.java index 0290cb83f..6ce2d56f9 100644 --- a/src/main/java/Model/Tmsv2customersLinksShippingAddress.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersLinksShippingAddress + * Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress */ -public class Tmsv2customersLinksShippingAddress { +public class Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress { @SerializedName("href") private String href = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersLinksShippingAddress tmsv2customersLinksShippingAddress = (Tmsv2customersLinksShippingAddress) o; - return Objects.equals(this.href, tmsv2customersLinksShippingAddress.href); + Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress tmsv2tokenizeTokenInformationCustomerLinksShippingAddress = (Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress) o; + return Objects.equals(this.href, tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.href); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersLinksShippingAddress {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.java similarity index 85% rename from src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.java index e2dd6d808..f05ee30eb 100644 --- a/src/main/java/Model/Tmsv2customersMerchantDefinedInformation.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.java @@ -25,17 +25,17 @@ import java.io.IOException; /** - * Tmsv2customersMerchantDefinedInformation + * Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation */ -public class Tmsv2customersMerchantDefinedInformation { +public class Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation { @SerializedName("name") private String name = null; @SerializedName("value") private String value = null; - public Tmsv2customersMerchantDefinedInformation name(String name) { + public Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation name(String name) { this.name = name; return this; } @@ -53,7 +53,7 @@ public void setName(String name) { this.name = name; } - public Tmsv2customersMerchantDefinedInformation value(String value) { + public Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation value(String value) { this.value = value; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersMerchantDefinedInformation tmsv2customersMerchantDefinedInformation = (Tmsv2customersMerchantDefinedInformation) o; - return Objects.equals(this.name, tmsv2customersMerchantDefinedInformation.name) && - Objects.equals(this.value, tmsv2customersMerchantDefinedInformation.value); + Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation = (Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation) o; + return Objects.equals(this.name, tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.name) && + Objects.equals(this.value, tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.value); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersMerchantDefinedInformation {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation {\n"); if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); diff --git a/src/main/java/Model/Tmsv2customersMetadata.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerMetadata.java similarity index 81% rename from src/main/java/Model/Tmsv2customersMetadata.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerMetadata.java index 16057fae3..7efd2f199 100644 --- a/src/main/java/Model/Tmsv2customersMetadata.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerMetadata.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * Tmsv2customersMetadata + * Tmsv2tokenizeTokenInformationCustomerMetadata */ -public class Tmsv2customersMetadata { +public class Tmsv2tokenizeTokenInformationCustomerMetadata { @SerializedName("creator") private String creator = null; @@ -50,8 +50,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersMetadata tmsv2customersMetadata = (Tmsv2customersMetadata) o; - return Objects.equals(this.creator, tmsv2customersMetadata.creator); + Tmsv2tokenizeTokenInformationCustomerMetadata tmsv2tokenizeTokenInformationCustomerMetadata = (Tmsv2tokenizeTokenInformationCustomerMetadata) o; + return Objects.equals(this.creator, tmsv2tokenizeTokenInformationCustomerMetadata.creator); } @Override @@ -63,7 +63,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersMetadata {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerMetadata {\n"); if (creator != null) sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/Tmsv2customersObjectInformation.java b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformation.java similarity index 76% rename from src/main/java/Model/Tmsv2customersObjectInformation.java rename to src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformation.java index 89f41a8e9..153f0bccf 100644 --- a/src/main/java/Model/Tmsv2customersObjectInformation.java +++ b/src/main/java/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformation.java @@ -25,17 +25,17 @@ import java.io.IOException; /** - * Tmsv2customersObjectInformation + * Tmsv2tokenizeTokenInformationCustomerObjectInformation */ -public class Tmsv2customersObjectInformation { +public class Tmsv2tokenizeTokenInformationCustomerObjectInformation { @SerializedName("title") private String title = null; @SerializedName("comment") private String comment = null; - public Tmsv2customersObjectInformation title(String title) { + public Tmsv2tokenizeTokenInformationCustomerObjectInformation title(String title) { this.title = title; return this; } @@ -53,7 +53,7 @@ public void setTitle(String title) { this.title = title; } - public Tmsv2customersObjectInformation comment(String comment) { + public Tmsv2tokenizeTokenInformationCustomerObjectInformation comment(String comment) { this.comment = comment; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Tmsv2customersObjectInformation tmsv2customersObjectInformation = (Tmsv2customersObjectInformation) o; - return Objects.equals(this.title, tmsv2customersObjectInformation.title) && - Objects.equals(this.comment, tmsv2customersObjectInformation.comment); + Tmsv2tokenizeTokenInformationCustomerObjectInformation tmsv2tokenizeTokenInformationCustomerObjectInformation = (Tmsv2tokenizeTokenInformationCustomerObjectInformation) o; + return Objects.equals(this.title, tmsv2tokenizeTokenInformationCustomerObjectInformation.title) && + Objects.equals(this.comment, tmsv2tokenizeTokenInformationCustomerObjectInformation.comment); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Tmsv2customersObjectInformation {\n"); + sb.append("class Tmsv2tokenizeTokenInformationCustomerObjectInformation {\n"); if (title != null) sb.append(" title: ").append(toIndentedString(title)).append("\n"); if (comment != null) sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.java new file mode 100644 index 000000000..eaa5c6214 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard { + @SerializedName("last4") + private String last4 = null; + + @SerializedName("expirationMonth") + private String expirationMonth = null; + + @SerializedName("expirationYear") + private String expirationYear = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard last4(String last4) { + this.last4 = last4; + return this; + } + + /** + * The new last 4 digits of the card number associated to the Tokenized Card. + * @return last4 + **/ + @ApiModelProperty(value = "The new last 4 digits of the card number associated to the Tokenized Card. ") + public String getLast4() { + return last4; + } + + public void setLast4(String last4) { + this.last4 = last4; + } + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard expirationMonth(String expirationMonth) { + this.expirationMonth = expirationMonth; + return this; + } + + /** + * The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. + * @return expirationMonth + **/ + @ApiModelProperty(value = "The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. ") + public String getExpirationMonth() { + return expirationMonth; + } + + public void setExpirationMonth(String expirationMonth) { + this.expirationMonth = expirationMonth; + } + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard expirationYear(String expirationYear) { + this.expirationYear = expirationYear; + return this; + } + + /** + * The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. + * @return expirationYear + **/ + @ApiModelProperty(value = "The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. ") + public String getExpirationYear() { + return expirationYear; + } + + public void setExpirationYear(String expirationYear) { + this.expirationYear = expirationYear; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard) o; + return Objects.equals(this.last4, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.last4) && + Objects.equals(this.expirationMonth, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.expirationMonth) && + Objects.equals(this.expirationYear, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.expirationYear); + } + + @Override + public int hashCode() { + return Objects.hash(last4, expirationMonth, expirationYear); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard {\n"); + + if (last4 != null) sb.append(" last4: ").append(toIndentedString(last4)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.java new file mode 100644 index 000000000..d3ec4b208 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt; +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; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata { + @SerializedName("cardArt") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt cardArt = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata cardArt(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt cardArt) { + this.cardArt = cardArt; + return this; + } + + /** + * Get cardArt + * @return cardArt + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt getCardArt() { + return cardArt; + } + + public void setCardArt(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt cardArt) { + this.cardArt = cardArt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata) o; + return Objects.equals(this.cardArt, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.cardArt); + } + + @Override + public int hashCode() { + return Objects.hash(cardArt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata {\n"); + + if (cardArt != null) sb.append(" cardArt: ").append(toIndentedString(cardArt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.java new file mode 100644 index 000000000..a927df8c9 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset; +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; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt { + @SerializedName("combinedAsset") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset combinedAsset = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt combinedAsset(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + return this; + } + + /** + * Get combinedAsset + * @return combinedAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset getCombinedAsset() { + return combinedAsset; + } + + public void setCombinedAsset(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt) o; + return Objects.equals(this.combinedAsset, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.combinedAsset); + } + + @Override + public int hashCode() { + return Objects.hash(combinedAsset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt {\n"); + + if (combinedAsset != null) sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.java new file mode 100644 index 000000000..ace74811e --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.java @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset { + @SerializedName("update") + private String update = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset update(String update) { + this.update = update; + return this; + } + + /** + * Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. + * @return update + **/ + @ApiModelProperty(value = "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. ") + public String getUpdate() { + return update; + } + + public void setUpdate(String update) { + this.update = update; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset) o; + return Objects.equals(this.update, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.update); + } + + @Override + public int hashCode() { + return Objects.hash(update); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset {\n"); + + if (update != null) sb.append(" update: ").append(toIndentedString(update)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UpdateSubscription.java b/src/main/java/Model/UpdateSubscription.java index 98d493011..bc8360033 100644 --- a/src/main/java/Model/UpdateSubscription.java +++ b/src/main/java/Model/UpdateSubscription.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Rbsv1subscriptionsClientReferenceInformation; +import Model.GetAllSubscriptionsResponseClientReferenceInformation; import Model.Rbsv1subscriptionsProcessingInformation; import Model.Rbsv1subscriptionsidOrderInformation; import Model.Rbsv1subscriptionsidPlanInformation; @@ -35,7 +35,7 @@ public class UpdateSubscription { @SerializedName("clientReferenceInformation") - private Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation = null; + private GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation = null; @SerializedName("processingInformation") private Rbsv1subscriptionsProcessingInformation processingInformation = null; @@ -49,7 +49,7 @@ public class UpdateSubscription { @SerializedName("orderInformation") private Rbsv1subscriptionsidOrderInformation orderInformation = null; - public UpdateSubscription clientReferenceInformation(Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation) { + public UpdateSubscription clientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; } @@ -59,11 +59,11 @@ public UpdateSubscription clientReferenceInformation(Rbsv1subscriptionsClientRef * @return clientReferenceInformation **/ @ApiModelProperty(value = "") - public Rbsv1subscriptionsClientReferenceInformation getClientReferenceInformation() { + public GetAllSubscriptionsResponseClientReferenceInformation getClientReferenceInformation() { return clientReferenceInformation; } - public void setClientReferenceInformation(Rbsv1subscriptionsClientReferenceInformation clientReferenceInformation) { + public void setClientReferenceInformation(GetAllSubscriptionsResponseClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; } diff --git a/src/main/java/Model/Upv1capturecontextsData.java b/src/main/java/Model/Upv1capturecontextsData.java index f8a0f417e..5417d375e 100644 --- a/src/main/java/Model/Upv1capturecontextsData.java +++ b/src/main/java/Model/Upv1capturecontextsData.java @@ -18,9 +18,11 @@ import Model.Upv1capturecontextsDataBuyerInformation; import Model.Upv1capturecontextsDataClientReferenceInformation; import Model.Upv1capturecontextsDataConsumerAuthenticationInformation; +import Model.Upv1capturecontextsDataDeviceInformation; import Model.Upv1capturecontextsDataMerchantDefinedInformation; import Model.Upv1capturecontextsDataMerchantInformation; import Model.Upv1capturecontextsDataOrderInformation; +import Model.Upv1capturecontextsDataPaymentInformation; import Model.Upv1capturecontextsDataProcessingInformation; import Model.Upv1capturecontextsDataRecipientInformation; import com.google.gson.TypeAdapter; @@ -61,6 +63,12 @@ public class Upv1capturecontextsData { @SerializedName("merchantDefinedInformation") private Upv1capturecontextsDataMerchantDefinedInformation merchantDefinedInformation = null; + @SerializedName("deviceInformation") + private Upv1capturecontextsDataDeviceInformation deviceInformation = null; + + @SerializedName("paymentInformation") + private Upv1capturecontextsDataPaymentInformation paymentInformation = null; + public Upv1capturecontextsData orderInformation(Upv1capturecontextsDataOrderInformation orderInformation) { this.orderInformation = orderInformation; return this; @@ -205,6 +213,42 @@ public void setMerchantDefinedInformation(Upv1capturecontextsDataMerchantDefined this.merchantDefinedInformation = merchantDefinedInformation; } + public Upv1capturecontextsData deviceInformation(Upv1capturecontextsDataDeviceInformation deviceInformation) { + this.deviceInformation = deviceInformation; + return this; + } + + /** + * Get deviceInformation + * @return deviceInformation + **/ + @ApiModelProperty(value = "") + public Upv1capturecontextsDataDeviceInformation getDeviceInformation() { + return deviceInformation; + } + + public void setDeviceInformation(Upv1capturecontextsDataDeviceInformation deviceInformation) { + this.deviceInformation = deviceInformation; + } + + public Upv1capturecontextsData paymentInformation(Upv1capturecontextsDataPaymentInformation paymentInformation) { + this.paymentInformation = paymentInformation; + return this; + } + + /** + * Get paymentInformation + * @return paymentInformation + **/ + @ApiModelProperty(value = "") + public Upv1capturecontextsDataPaymentInformation getPaymentInformation() { + return paymentInformation; + } + + public void setPaymentInformation(Upv1capturecontextsDataPaymentInformation paymentInformation) { + this.paymentInformation = paymentInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -222,12 +266,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.merchantInformation, upv1capturecontextsData.merchantInformation) && Objects.equals(this.processingInformation, upv1capturecontextsData.processingInformation) && Objects.equals(this.recipientInformation, upv1capturecontextsData.recipientInformation) && - Objects.equals(this.merchantDefinedInformation, upv1capturecontextsData.merchantDefinedInformation); + Objects.equals(this.merchantDefinedInformation, upv1capturecontextsData.merchantDefinedInformation) && + Objects.equals(this.deviceInformation, upv1capturecontextsData.deviceInformation) && + Objects.equals(this.paymentInformation, upv1capturecontextsData.paymentInformation); } @Override public int hashCode() { - return Objects.hash(orderInformation, buyerInformation, clientReferenceInformation, consumerAuthenticationInformation, merchantInformation, processingInformation, recipientInformation, merchantDefinedInformation); + return Objects.hash(orderInformation, buyerInformation, clientReferenceInformation, consumerAuthenticationInformation, merchantInformation, processingInformation, recipientInformation, merchantDefinedInformation, deviceInformation, paymentInformation); } @@ -244,6 +290,8 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataBuyerInformation.java b/src/main/java/Model/Upv1capturecontextsDataBuyerInformation.java index 6b82adfba..297c26d86 100644 --- a/src/main/java/Model/Upv1capturecontextsDataBuyerInformation.java +++ b/src/main/java/Model/Upv1capturecontextsDataBuyerInformation.java @@ -39,6 +39,12 @@ public class Upv1capturecontextsDataBuyerInformation { @SerializedName("companyTaxId") private String companyTaxId = null; + @SerializedName("dateOfBirth") + private String dateOfBirth = null; + + @SerializedName("language") + private String language = null; + public Upv1capturecontextsDataBuyerInformation personalIdentification(Upv1capturecontextsDataBuyerInformationPersonalIdentification personalIdentification) { this.personalIdentification = personalIdentification; return this; @@ -63,10 +69,10 @@ public Upv1capturecontextsDataBuyerInformation merchantCustomerId(String merchan } /** - * Get merchantCustomerId + * The Merchant Customer ID * @return merchantCustomerId **/ - @ApiModelProperty(example = "M123456767", value = "") + @ApiModelProperty(example = "M123456767", value = "The Merchant Customer ID ") public String getMerchantCustomerId() { return merchantCustomerId; } @@ -81,10 +87,10 @@ public Upv1capturecontextsDataBuyerInformation companyTaxId(String companyTaxId) } /** - * Get companyTaxId + * The Company Tax ID * @return companyTaxId **/ - @ApiModelProperty(example = "", value = "") + @ApiModelProperty(example = "", value = "The Company Tax ID ") public String getCompanyTaxId() { return companyTaxId; } @@ -93,6 +99,42 @@ public void setCompanyTaxId(String companyTaxId) { this.companyTaxId = companyTaxId; } + public Upv1capturecontextsDataBuyerInformation dateOfBirth(String dateOfBirth) { + this.dateOfBirth = dateOfBirth; + return this; + } + + /** + * The date of birth + * @return dateOfBirth + **/ + @ApiModelProperty(example = "12/03/1976", value = "The date of birth ") + public String getDateOfBirth() { + return dateOfBirth; + } + + public void setDateOfBirth(String dateOfBirth) { + this.dateOfBirth = dateOfBirth; + } + + public Upv1capturecontextsDataBuyerInformation language(String language) { + this.language = language; + return this; + } + + /** + * The preferred language + * @return language + **/ + @ApiModelProperty(example = "English", value = "The preferred language ") + public String getLanguage() { + return language; + } + + public void setLanguage(String language) { + this.language = language; + } + @Override public boolean equals(java.lang.Object o) { @@ -105,12 +147,14 @@ public boolean equals(java.lang.Object o) { Upv1capturecontextsDataBuyerInformation upv1capturecontextsDataBuyerInformation = (Upv1capturecontextsDataBuyerInformation) o; return Objects.equals(this.personalIdentification, upv1capturecontextsDataBuyerInformation.personalIdentification) && Objects.equals(this.merchantCustomerId, upv1capturecontextsDataBuyerInformation.merchantCustomerId) && - Objects.equals(this.companyTaxId, upv1capturecontextsDataBuyerInformation.companyTaxId); + Objects.equals(this.companyTaxId, upv1capturecontextsDataBuyerInformation.companyTaxId) && + Objects.equals(this.dateOfBirth, upv1capturecontextsDataBuyerInformation.dateOfBirth) && + Objects.equals(this.language, upv1capturecontextsDataBuyerInformation.language); } @Override public int hashCode() { - return Objects.hash(personalIdentification, merchantCustomerId, companyTaxId); + return Objects.hash(personalIdentification, merchantCustomerId, companyTaxId, dateOfBirth, language); } @@ -122,6 +166,8 @@ public String toString() { if (personalIdentification != null) sb.append(" personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n"); if (merchantCustomerId != null) sb.append(" merchantCustomerId: ").append(toIndentedString(merchantCustomerId)).append("\n"); if (companyTaxId != null) sb.append(" companyTaxId: ").append(toIndentedString(companyTaxId)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (language != null) sb.append(" language: ").append(toIndentedString(language)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.java b/src/main/java/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.java index 6561d92eb..b63f75a53 100644 --- a/src/main/java/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.java +++ b/src/main/java/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.java @@ -38,10 +38,10 @@ public Upv1capturecontextsDataBuyerInformationPersonalIdentification cpf(String } /** - * Get cpf + * CPF Number (Brazil). Must be 11 digits in length. * @return cpf **/ - @ApiModelProperty(example = "12345678900", value = "") + @ApiModelProperty(example = "12345678900", value = "CPF Number (Brazil). Must be 11 digits in length. ") public String getCpf() { return cpf; } diff --git a/src/main/java/Model/Upv1capturecontextsDataClientReferenceInformationPartner.java b/src/main/java/Model/Upv1capturecontextsDataClientReferenceInformationPartner.java index c95a7cc1a..5c9e8160b 100644 --- a/src/main/java/Model/Upv1capturecontextsDataClientReferenceInformationPartner.java +++ b/src/main/java/Model/Upv1capturecontextsDataClientReferenceInformationPartner.java @@ -32,7 +32,7 @@ public class Upv1capturecontextsDataClientReferenceInformationPartner { @SerializedName("developerId") private String developerId = null; - @SerializedName("SolutionId") + @SerializedName("solutionId") private String solutionId = null; public Upv1capturecontextsDataClientReferenceInformationPartner developerId(String developerId) { diff --git a/src/main/java/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.java b/src/main/java/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.java index 74c7eb8f0..4a59b0675 100644 --- a/src/main/java/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.java @@ -35,16 +35,19 @@ public class Upv1capturecontextsDataConsumerAuthenticationInformation { @SerializedName("messageCategory") private String messageCategory = null; + @SerializedName("acsWindowSize") + private String acsWindowSize = null; + public Upv1capturecontextsDataConsumerAuthenticationInformation challengeCode(String challengeCode) { this.challengeCode = challengeCode; return this; } /** - * Get challengeCode + * The challenge code * @return challengeCode **/ - @ApiModelProperty(example = "01", value = "") + @ApiModelProperty(example = "01", value = "The challenge code ") public String getChallengeCode() { return challengeCode; } @@ -59,10 +62,10 @@ public Upv1capturecontextsDataConsumerAuthenticationInformation messageCategory( } /** - * Get messageCategory + * The message category * @return messageCategory **/ - @ApiModelProperty(example = "01", value = "") + @ApiModelProperty(example = "01", value = "The message category ") public String getMessageCategory() { return messageCategory; } @@ -71,6 +74,24 @@ public void setMessageCategory(String messageCategory) { this.messageCategory = messageCategory; } + public Upv1capturecontextsDataConsumerAuthenticationInformation acsWindowSize(String acsWindowSize) { + this.acsWindowSize = acsWindowSize; + return this; + } + + /** + * The acs window size + * @return acsWindowSize + **/ + @ApiModelProperty(example = "01", value = "The acs window size ") + public String getAcsWindowSize() { + return acsWindowSize; + } + + public void setAcsWindowSize(String acsWindowSize) { + this.acsWindowSize = acsWindowSize; + } + @Override public boolean equals(java.lang.Object o) { @@ -82,12 +103,13 @@ public boolean equals(java.lang.Object o) { } Upv1capturecontextsDataConsumerAuthenticationInformation upv1capturecontextsDataConsumerAuthenticationInformation = (Upv1capturecontextsDataConsumerAuthenticationInformation) o; return Objects.equals(this.challengeCode, upv1capturecontextsDataConsumerAuthenticationInformation.challengeCode) && - Objects.equals(this.messageCategory, upv1capturecontextsDataConsumerAuthenticationInformation.messageCategory); + Objects.equals(this.messageCategory, upv1capturecontextsDataConsumerAuthenticationInformation.messageCategory) && + Objects.equals(this.acsWindowSize, upv1capturecontextsDataConsumerAuthenticationInformation.acsWindowSize); } @Override public int hashCode() { - return Objects.hash(challengeCode, messageCategory); + return Objects.hash(challengeCode, messageCategory, acsWindowSize); } @@ -98,6 +120,7 @@ public String toString() { if (challengeCode != null) sb.append(" challengeCode: ").append(toIndentedString(challengeCode)).append("\n"); if (messageCategory != null) sb.append(" messageCategory: ").append(toIndentedString(messageCategory)).append("\n"); + if (acsWindowSize != null) sb.append(" acsWindowSize: ").append(toIndentedString(acsWindowSize)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataDeviceInformation.java b/src/main/java/Model/Upv1capturecontextsDataDeviceInformation.java new file mode 100644 index 000000000..e7c2f404c --- /dev/null +++ b/src/main/java/Model/Upv1capturecontextsDataDeviceInformation.java @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Upv1capturecontextsDataDeviceInformation + */ + +public class Upv1capturecontextsDataDeviceInformation { + @SerializedName("ipAddress") + private String ipAddress = null; + + public Upv1capturecontextsDataDeviceInformation ipAddress(String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * The IP Address + * @return ipAddress + **/ + @ApiModelProperty(example = "192.168.1.1", value = "The IP Address") + public String getIpAddress() { + return ipAddress; + } + + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Upv1capturecontextsDataDeviceInformation upv1capturecontextsDataDeviceInformation = (Upv1capturecontextsDataDeviceInformation) o; + return Objects.equals(this.ipAddress, upv1capturecontextsDataDeviceInformation.ipAddress); + } + + @Override + public int hashCode() { + return Objects.hash(ipAddress); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Upv1capturecontextsDataDeviceInformation {\n"); + + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Upv1capturecontextsDataMerchantDefinedInformation.java b/src/main/java/Model/Upv1capturecontextsDataMerchantDefinedInformation.java index 8b7f60f44..bf35235c7 100644 --- a/src/main/java/Model/Upv1capturecontextsDataMerchantDefinedInformation.java +++ b/src/main/java/Model/Upv1capturecontextsDataMerchantDefinedInformation.java @@ -44,7 +44,7 @@ public Upv1capturecontextsDataMerchantDefinedInformation key(String key) { * The key or identifier for the merchant-defined data field * @return key **/ - @ApiModelProperty(value = "The key or identifier for the merchant-defined data field") + @ApiModelProperty(example = "1", value = "The key or identifier for the merchant-defined data field") public String getKey() { return key; } @@ -62,7 +62,7 @@ public Upv1capturecontextsDataMerchantDefinedInformation value(String value) { * The value associated with the merchant-defined data field * @return value **/ - @ApiModelProperty(value = "The value associated with the merchant-defined data field") + @ApiModelProperty(example = "123456", value = "The value associated with the merchant-defined data field") public String getValue() { return value; } diff --git a/src/main/java/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.java b/src/main/java/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.java index d60624eae..94983308a 100644 --- a/src/main/java/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.java +++ b/src/main/java/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.java @@ -32,6 +32,27 @@ public class Upv1capturecontextsDataMerchantInformationMerchantDescriptor { @SerializedName("name") private String name = null; + @SerializedName("alternateName") + private String alternateName = null; + + @SerializedName("locality") + private String locality = null; + + @SerializedName("phone") + private String phone = null; + + @SerializedName("country") + private String country = null; + + @SerializedName("postalCode") + private String postalCode = null; + + @SerializedName("administrativeArea") + private String administrativeArea = null; + + @SerializedName("address1") + private String address1 = null; + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor name(String name) { this.name = name; return this; @@ -50,6 +71,132 @@ public void setName(String name) { this.name = name; } + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor alternateName(String alternateName) { + this.alternateName = alternateName; + return this; + } + + /** + * The alternate name of the merchant + * @return alternateName + **/ + @ApiModelProperty(example = "Smyth Holdings PLC", value = "The alternate name of the merchant") + public String getAlternateName() { + return alternateName; + } + + public void setAlternateName(String alternateName) { + this.alternateName = alternateName; + } + + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor locality(String locality) { + this.locality = locality; + return this; + } + + /** + * The locality of the merchant + * @return locality + **/ + @ApiModelProperty(example = "New York", value = "The locality of the merchant") + public String getLocality() { + return locality; + } + + public void setLocality(String locality) { + this.locality = locality; + } + + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor phone(String phone) { + this.phone = phone; + return this; + } + + /** + * The phone number of the merchant + * @return phone + **/ + @ApiModelProperty(example = "555-555-123", value = "The phone number of the merchant") + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor country(String country) { + this.country = country; + return this; + } + + /** + * The country code of the merchant + * @return country + **/ + @ApiModelProperty(example = "US", value = "The country code of the merchant") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The postal code of the merchant + * @return postalCode + **/ + @ApiModelProperty(example = "170056", value = "The postal code of the merchant") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor administrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * The administrative area of the merchant + * @return administrativeArea + **/ + @ApiModelProperty(example = "NY", value = "The administrative area of the merchant") + public String getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor address1(String address1) { + this.address1 = address1; + return this; + } + + /** + * The first line of the merchant's address + * @return address1 + **/ + @ApiModelProperty(example = "123 47th Street", value = "The first line of the merchant's address") + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + @Override public boolean equals(java.lang.Object o) { @@ -60,12 +207,19 @@ public boolean equals(java.lang.Object o) { return false; } Upv1capturecontextsDataMerchantInformationMerchantDescriptor upv1capturecontextsDataMerchantInformationMerchantDescriptor = (Upv1capturecontextsDataMerchantInformationMerchantDescriptor) o; - return Objects.equals(this.name, upv1capturecontextsDataMerchantInformationMerchantDescriptor.name); + return Objects.equals(this.name, upv1capturecontextsDataMerchantInformationMerchantDescriptor.name) && + Objects.equals(this.alternateName, upv1capturecontextsDataMerchantInformationMerchantDescriptor.alternateName) && + Objects.equals(this.locality, upv1capturecontextsDataMerchantInformationMerchantDescriptor.locality) && + Objects.equals(this.phone, upv1capturecontextsDataMerchantInformationMerchantDescriptor.phone) && + Objects.equals(this.country, upv1capturecontextsDataMerchantInformationMerchantDescriptor.country) && + Objects.equals(this.postalCode, upv1capturecontextsDataMerchantInformationMerchantDescriptor.postalCode) && + Objects.equals(this.administrativeArea, upv1capturecontextsDataMerchantInformationMerchantDescriptor.administrativeArea) && + Objects.equals(this.address1, upv1capturecontextsDataMerchantInformationMerchantDescriptor.address1); } @Override public int hashCode() { - return Objects.hash(name); + return Objects.hash(name, alternateName, locality, phone, country, postalCode, administrativeArea, address1); } @@ -75,6 +229,13 @@ public String toString() { sb.append("class Upv1capturecontextsDataMerchantInformationMerchantDescriptor {\n"); if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (alternateName != null) sb.append(" alternateName: ").append(toIndentedString(alternateName)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformation.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformation.java index 05da7cc85..3d5090180 100644 --- a/src/main/java/Model/Upv1capturecontextsDataOrderInformation.java +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformation.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.Upv1capturecontextsDataOrderInformationAmountDetails; import Model.Upv1capturecontextsDataOrderInformationBillTo; +import Model.Upv1capturecontextsDataOrderInformationInvoiceDetails; import Model.Upv1capturecontextsDataOrderInformationLineItems; import Model.Upv1capturecontextsDataOrderInformationShipTo; import com.google.gson.TypeAdapter; @@ -45,6 +46,9 @@ public class Upv1capturecontextsDataOrderInformation { @SerializedName("lineItems") private Upv1capturecontextsDataOrderInformationLineItems lineItems = null; + @SerializedName("invoiceDetails") + private Upv1capturecontextsDataOrderInformationInvoiceDetails invoiceDetails = null; + public Upv1capturecontextsDataOrderInformation amountDetails(Upv1capturecontextsDataOrderInformationAmountDetails amountDetails) { this.amountDetails = amountDetails; return this; @@ -117,6 +121,24 @@ public void setLineItems(Upv1capturecontextsDataOrderInformationLineItems lineIt this.lineItems = lineItems; } + public Upv1capturecontextsDataOrderInformation invoiceDetails(Upv1capturecontextsDataOrderInformationInvoiceDetails invoiceDetails) { + this.invoiceDetails = invoiceDetails; + return this; + } + + /** + * Get invoiceDetails + * @return invoiceDetails + **/ + @ApiModelProperty(value = "") + public Upv1capturecontextsDataOrderInformationInvoiceDetails getInvoiceDetails() { + return invoiceDetails; + } + + public void setInvoiceDetails(Upv1capturecontextsDataOrderInformationInvoiceDetails invoiceDetails) { + this.invoiceDetails = invoiceDetails; + } + @Override public boolean equals(java.lang.Object o) { @@ -130,12 +152,13 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.amountDetails, upv1capturecontextsDataOrderInformation.amountDetails) && Objects.equals(this.billTo, upv1capturecontextsDataOrderInformation.billTo) && Objects.equals(this.shipTo, upv1capturecontextsDataOrderInformation.shipTo) && - Objects.equals(this.lineItems, upv1capturecontextsDataOrderInformation.lineItems); + Objects.equals(this.lineItems, upv1capturecontextsDataOrderInformation.lineItems) && + Objects.equals(this.invoiceDetails, upv1capturecontextsDataOrderInformation.invoiceDetails); } @Override public int hashCode() { - return Objects.hash(amountDetails, billTo, shipTo, lineItems); + return Objects.hash(amountDetails, billTo, shipTo, lineItems, invoiceDetails); } @@ -148,6 +171,7 @@ public String toString() { if (billTo != null) sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); if (lineItems != null) sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); + if (invoiceDetails != null) sb.append(" invoiceDetails: ").append(toIndentedString(invoiceDetails)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetails.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetails.java index bc6218cbc..fb45db6ad 100644 --- a/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetails.java +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetails.java @@ -16,6 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge; +import Model.Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,9 @@ public class Upv1capturecontextsDataOrderInformationAmountDetails { @SerializedName("taxAmount") private String taxAmount = null; + @SerializedName("taxDetails") + private Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails taxDetails = null; + public Upv1capturecontextsDataOrderInformationAmountDetails totalAmount(String totalAmount) { this.totalAmount = totalAmount; return this; @@ -177,6 +181,24 @@ public void setTaxAmount(String taxAmount) { this.taxAmount = taxAmount; } + public Upv1capturecontextsDataOrderInformationAmountDetails taxDetails(Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails taxDetails) { + this.taxDetails = taxDetails; + return this; + } + + /** + * Get taxDetails + * @return taxDetails + **/ + @ApiModelProperty(value = "") + public Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails getTaxDetails() { + return taxDetails; + } + + public void setTaxDetails(Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails taxDetails) { + this.taxDetails = taxDetails; + } + @Override public boolean equals(java.lang.Object o) { @@ -193,12 +215,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.discountAmount, upv1capturecontextsDataOrderInformationAmountDetails.discountAmount) && Objects.equals(this.subTotalAmount, upv1capturecontextsDataOrderInformationAmountDetails.subTotalAmount) && Objects.equals(this.serviceFeeAmount, upv1capturecontextsDataOrderInformationAmountDetails.serviceFeeAmount) && - Objects.equals(this.taxAmount, upv1capturecontextsDataOrderInformationAmountDetails.taxAmount); + Objects.equals(this.taxAmount, upv1capturecontextsDataOrderInformationAmountDetails.taxAmount) && + Objects.equals(this.taxDetails, upv1capturecontextsDataOrderInformationAmountDetails.taxDetails); } @Override public int hashCode() { - return Objects.hash(totalAmount, currency, surcharge, discountAmount, subTotalAmount, serviceFeeAmount, taxAmount); + return Objects.hash(totalAmount, currency, surcharge, discountAmount, subTotalAmount, serviceFeeAmount, taxAmount, taxDetails); } @@ -214,6 +237,7 @@ public String toString() { if (subTotalAmount != null) sb.append(" subTotalAmount: ").append(toIndentedString(subTotalAmount)).append("\n"); if (serviceFeeAmount != null) sb.append(" serviceFeeAmount: ").append(toIndentedString(serviceFeeAmount)).append("\n"); if (taxAmount != null) sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); + if (taxDetails != null) sb.append(" taxDetails: ").append(toIndentedString(taxDetails)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.java new file mode 100644 index 000000000..2318efe9a --- /dev/null +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + */ + +public class Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails { + @SerializedName("taxId") + private String taxId = null; + + @SerializedName("type") + private String type = null; + + public Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails taxId(String taxId) { + this.taxId = taxId; + return this; + } + + /** + * This field defines the tax identifier/registration number + * @return taxId + **/ + @ApiModelProperty(example = "1234", value = "This field defines the tax identifier/registration number ") + public String getTaxId() { + return taxId; + } + + public void setTaxId(String taxId) { + this.taxId = taxId; + } + + public Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails type(String type) { + this.type = type; + return this; + } + + /** + * This field defines the Tax type code (N=National, S=State, L=Local etc) + * @return type + **/ + @ApiModelProperty(example = "N", value = "This field defines the Tax type code (N=National, S=State, L=Local etc) ") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails = (Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails) o; + return Objects.equals(this.taxId, upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.taxId) && + Objects.equals(this.type, upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.type); + } + + @Override + public int hashCode() { + return Objects.hash(taxId, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails {\n"); + + if (taxId != null) sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.java new file mode 100644 index 000000000..eeb94cf93 --- /dev/null +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Upv1capturecontextsDataOrderInformationInvoiceDetails + */ + +public class Upv1capturecontextsDataOrderInformationInvoiceDetails { + @SerializedName("invoiceNumber") + private String invoiceNumber = null; + + @SerializedName("productDescription") + private String productDescription = null; + + public Upv1capturecontextsDataOrderInformationInvoiceDetails invoiceNumber(String invoiceNumber) { + this.invoiceNumber = invoiceNumber; + return this; + } + + /** + * Invoice number + * @return invoiceNumber + **/ + @ApiModelProperty(example = "electronics", value = "Invoice number") + public String getInvoiceNumber() { + return invoiceNumber; + } + + public void setInvoiceNumber(String invoiceNumber) { + this.invoiceNumber = invoiceNumber; + } + + public Upv1capturecontextsDataOrderInformationInvoiceDetails productDescription(String productDescription) { + this.productDescription = productDescription; + return this; + } + + /** + * Product description + * @return productDescription + **/ + @ApiModelProperty(example = "electronics", value = "Product description") + public String getProductDescription() { + return productDescription; + } + + public void setProductDescription(String productDescription) { + this.productDescription = productDescription; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Upv1capturecontextsDataOrderInformationInvoiceDetails upv1capturecontextsDataOrderInformationInvoiceDetails = (Upv1capturecontextsDataOrderInformationInvoiceDetails) o; + return Objects.equals(this.invoiceNumber, upv1capturecontextsDataOrderInformationInvoiceDetails.invoiceNumber) && + Objects.equals(this.productDescription, upv1capturecontextsDataOrderInformationInvoiceDetails.productDescription); + } + + @Override + public int hashCode() { + return Objects.hash(invoiceNumber, productDescription); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Upv1capturecontextsDataOrderInformationInvoiceDetails {\n"); + + if (invoiceNumber != null) sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); + if (productDescription != null) sb.append(" productDescription: ").append(toIndentedString(productDescription)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItems.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItems.java index e9037facd..50296a420 100644 --- a/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItems.java +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItems.java @@ -133,10 +133,10 @@ public Upv1capturecontextsDataOrderInformationLineItems productCode(String produ } /** - * Get productCode + * Code identifying the product. * @return productCode **/ - @ApiModelProperty(example = "electronics", value = "") + @ApiModelProperty(example = "electronics", value = "Code identifying the product.") public String getProductCode() { return productCode; } @@ -151,10 +151,10 @@ public Upv1capturecontextsDataOrderInformationLineItems productName(String produ } /** - * Get productName + * Name of the product. * @return productName **/ - @ApiModelProperty(example = "smartphone", value = "") + @ApiModelProperty(example = "smartphone", value = "Name of the product.") public String getProductName() { return productName; } @@ -169,10 +169,10 @@ public Upv1capturecontextsDataOrderInformationLineItems productSku(String produc } /** - * Get productSku + * Stock Keeping Unit identifier * @return productSku **/ - @ApiModelProperty(example = "SKU12345", value = "") + @ApiModelProperty(example = "SKU12345", value = "Stock Keeping Unit identifier") public String getProductSku() { return productSku; } @@ -187,12 +187,12 @@ public Upv1capturecontextsDataOrderInformationLineItems quantity(Integer quantit } /** - * Get quantity + * Quantity of the product * minimum: 1 * maximum: 999999999 * @return quantity **/ - @ApiModelProperty(example = "2", value = "") + @ApiModelProperty(example = "2", value = "Quantity of the product") public Integer getQuantity() { return quantity; } @@ -207,10 +207,10 @@ public Upv1capturecontextsDataOrderInformationLineItems unitPrice(String unitPri } /** - * Get unitPrice + * Price per unit * @return unitPrice **/ - @ApiModelProperty(example = "399.99", value = "") + @ApiModelProperty(example = "399.99", value = "Price per unit") public String getUnitPrice() { return unitPrice; } @@ -225,10 +225,10 @@ public Upv1capturecontextsDataOrderInformationLineItems unitOfMeasure(String uni } /** - * Get unitOfMeasure + * Unit of measure (e.g. EA, KG, LB) * @return unitOfMeasure **/ - @ApiModelProperty(example = "EA", value = "") + @ApiModelProperty(example = "EA", value = "Unit of measure (e.g. EA, KG, LB)") public String getUnitOfMeasure() { return unitOfMeasure; } @@ -243,10 +243,10 @@ public Upv1capturecontextsDataOrderInformationLineItems totalAmount(String total } /** - * Get totalAmount + * Total amount for the line item * @return totalAmount **/ - @ApiModelProperty(example = "799.98", value = "") + @ApiModelProperty(example = "799.98", value = "Total amount for the line item") public String getTotalAmount() { return totalAmount; } @@ -261,10 +261,10 @@ public Upv1capturecontextsDataOrderInformationLineItems taxAmount(String taxAmou } /** - * Get taxAmount + * Tax amount applied * @return taxAmount **/ - @ApiModelProperty(example = "64.00", value = "") + @ApiModelProperty(example = "64.00", value = "Tax amount applied") public String getTaxAmount() { return taxAmount; } @@ -279,10 +279,10 @@ public Upv1capturecontextsDataOrderInformationLineItems taxRate(String taxRate) } /** - * Get taxRate + * Tax rate applied * @return taxRate **/ - @ApiModelProperty(example = "0.88", value = "") + @ApiModelProperty(example = "0.88", value = "Tax rate applied") public String getTaxRate() { return taxRate; } @@ -297,10 +297,10 @@ public Upv1capturecontextsDataOrderInformationLineItems taxAppliedAfterDiscount( } /** - * Get taxAppliedAfterDiscount + * Indicates if tax applied after discount * @return taxAppliedAfterDiscount **/ - @ApiModelProperty(example = "Y", value = "") + @ApiModelProperty(example = "Y", value = "Indicates if tax applied after discount") public String getTaxAppliedAfterDiscount() { return taxAppliedAfterDiscount; } @@ -315,10 +315,10 @@ public Upv1capturecontextsDataOrderInformationLineItems taxStatusIndicator(Strin } /** - * Get taxStatusIndicator + * Tax status indicator * @return taxStatusIndicator **/ - @ApiModelProperty(example = "N", value = "") + @ApiModelProperty(example = "N", value = "Tax status indicator") public String getTaxStatusIndicator() { return taxStatusIndicator; } @@ -333,10 +333,10 @@ public Upv1capturecontextsDataOrderInformationLineItems taxTypeCode(String taxTy } /** - * Get taxTypeCode + * Tax type code * @return taxTypeCode **/ - @ApiModelProperty(example = "VAT", value = "") + @ApiModelProperty(example = "VAT", value = "Tax type code") public String getTaxTypeCode() { return taxTypeCode; } @@ -351,10 +351,10 @@ public Upv1capturecontextsDataOrderInformationLineItems amountIncludesTax(Boolea } /** - * Get amountIncludesTax + * Indicates if amount includes tax * @return amountIncludesTax **/ - @ApiModelProperty(example = "false", value = "") + @ApiModelProperty(example = "false", value = "Indicates if amount includes tax") public Boolean AmountIncludesTax() { return amountIncludesTax; } @@ -369,10 +369,10 @@ public Upv1capturecontextsDataOrderInformationLineItems typeOfSupply(String type } /** - * Get typeOfSupply + * Type of supply * @return typeOfSupply **/ - @ApiModelProperty(example = "GS", value = "") + @ApiModelProperty(example = "GS", value = "Type of supply") public String getTypeOfSupply() { return typeOfSupply; } @@ -387,10 +387,10 @@ public Upv1capturecontextsDataOrderInformationLineItems commodityCode(String com } /** - * Get commodityCode + * Commodity code * @return commodityCode **/ - @ApiModelProperty(example = "123456", value = "") + @ApiModelProperty(example = "123456", value = "Commodity code") public String getCommodityCode() { return commodityCode; } @@ -405,10 +405,10 @@ public Upv1capturecontextsDataOrderInformationLineItems discountAmount(String di } /** - * Get discountAmount + * Discount amount applied * @return discountAmount **/ - @ApiModelProperty(example = "10.00", value = "") + @ApiModelProperty(example = "10.00", value = "Discount amount applied") public String getDiscountAmount() { return discountAmount; } @@ -423,10 +423,10 @@ public Upv1capturecontextsDataOrderInformationLineItems discountApplied(Boolean } /** - * Get discountApplied + * Indicates if discount applied * @return discountApplied **/ - @ApiModelProperty(example = "true", value = "") + @ApiModelProperty(example = "true", value = "Indicates if discount applied") public Boolean DiscountApplied() { return discountApplied; } @@ -441,10 +441,10 @@ public Upv1capturecontextsDataOrderInformationLineItems discountRate(String disc } /** - * Get discountRate + * Discount rate applied * @return discountRate **/ - @ApiModelProperty(example = "0.05", value = "") + @ApiModelProperty(example = "0.05", value = "Discount rate applied") public String getDiscountRate() { return discountRate; } @@ -459,10 +459,10 @@ public Upv1capturecontextsDataOrderInformationLineItems invoiceNumber(String inv } /** - * Get invoiceNumber + * Invoice number for the line item * @return invoiceNumber **/ - @ApiModelProperty(example = "INV-001", value = "") + @ApiModelProperty(example = "INV-001", value = "Invoice number for the line item") public String getInvoiceNumber() { return invoiceNumber; } @@ -495,10 +495,10 @@ public Upv1capturecontextsDataOrderInformationLineItems fulfillmentType(String f } /** - * Get fulfillmentType + * Fulfillment type * @return fulfillmentType **/ - @ApiModelProperty(example = "Delivery", value = "") + @ApiModelProperty(example = "Delivery", value = "Fulfillment type") public String getFulfillmentType() { return fulfillmentType; } @@ -513,10 +513,10 @@ public Upv1capturecontextsDataOrderInformationLineItems weight(String weight) { } /** - * Get weight + * Weight of the product * @return weight **/ - @ApiModelProperty(example = "1.5", value = "") + @ApiModelProperty(example = "1.5", value = "Weight of the product") public String getWeight() { return weight; } @@ -531,10 +531,10 @@ public Upv1capturecontextsDataOrderInformationLineItems weightIdentifier(String } /** - * Get weightIdentifier + * Weight identifier * @return weightIdentifier **/ - @ApiModelProperty(example = "N", value = "") + @ApiModelProperty(example = "N", value = "Weight identifier") public String getWeightIdentifier() { return weightIdentifier; } @@ -549,10 +549,10 @@ public Upv1capturecontextsDataOrderInformationLineItems weightUnit(String weight } /** - * Get weightUnit + * Unit of weight of the product * @return weightUnit **/ - @ApiModelProperty(example = "KG", value = "") + @ApiModelProperty(example = "KG", value = "Unit of weight of the product") public String getWeightUnit() { return weightUnit; } @@ -567,10 +567,10 @@ public Upv1capturecontextsDataOrderInformationLineItems referenceDataCode(String } /** - * Get referenceDataCode + * Reference data code * @return referenceDataCode **/ - @ApiModelProperty(example = "REFCODE", value = "") + @ApiModelProperty(example = "REFCODE", value = "Reference data code") public String getReferenceDataCode() { return referenceDataCode; } @@ -585,10 +585,10 @@ public Upv1capturecontextsDataOrderInformationLineItems referenceDataNumber(Stri } /** - * Get referenceDataNumber + * Reference data number * @return referenceDataNumber **/ - @ApiModelProperty(example = "REF123", value = "") + @ApiModelProperty(example = "REF123", value = "Reference data number") public String getReferenceDataNumber() { return referenceDataNumber; } @@ -603,10 +603,10 @@ public Upv1capturecontextsDataOrderInformationLineItems unitTaxAmount(String uni } /** - * Get unitTaxAmount + * Unit tax amount * @return unitTaxAmount **/ - @ApiModelProperty(example = "3.20", value = "") + @ApiModelProperty(example = "3.20", value = "Unit tax amount") public String getUnitTaxAmount() { return unitTaxAmount; } @@ -621,10 +621,10 @@ public Upv1capturecontextsDataOrderInformationLineItems productDescription(Strin } /** - * Get productDescription + * Description of the product * @return productDescription **/ - @ApiModelProperty(example = "Latest model smartphone", value = "") + @ApiModelProperty(example = "Latest model smartphone", value = "Description of the product") public String getProductDescription() { return productDescription; } @@ -639,10 +639,10 @@ public Upv1capturecontextsDataOrderInformationLineItems giftCardCurrency(String } /** - * Get giftCardCurrency + * Gift card currency * @return giftCardCurrency **/ - @ApiModelProperty(example = "USD", value = "") + @ApiModelProperty(example = "USD", value = "Gift card currency") public String getGiftCardCurrency() { return giftCardCurrency; } @@ -657,10 +657,10 @@ public Upv1capturecontextsDataOrderInformationLineItems shippingDestinationTypes } /** - * Get shippingDestinationTypes + * Shipping destination types * @return shippingDestinationTypes **/ - @ApiModelProperty(example = "Residential", value = "") + @ApiModelProperty(example = "Residential", value = "Shipping destination types") public String getShippingDestinationTypes() { return shippingDestinationTypes; } @@ -675,10 +675,10 @@ public Upv1capturecontextsDataOrderInformationLineItems gift(Boolean gift) { } /** - * Get gift + * Indicates if item is a gift * @return gift **/ - @ApiModelProperty(example = "false", value = "") + @ApiModelProperty(example = "false", value = "Indicates if item is a gift") public Boolean Gift() { return gift; } diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.java index c87e480d9..39b3664ee 100644 --- a/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.java +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.java @@ -59,10 +59,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger type(String typ } /** - * Get type + * Passenger type * @return type **/ - @ApiModelProperty(example = "Residential", value = "") + @ApiModelProperty(example = "Residential", value = "Passenger type") public String getType() { return type; } @@ -77,10 +77,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger status(String s } /** - * Get status + * Passenger status * @return status **/ - @ApiModelProperty(example = "Gold", value = "") + @ApiModelProperty(example = "Gold", value = "Passenger status") public String getStatus() { return status; } @@ -95,10 +95,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger phone(String ph } /** - * Get phone + * Passenger phone number * @return phone **/ - @ApiModelProperty(example = "123456789", value = "") + @ApiModelProperty(example = "123456789", value = "Passenger phone number") public String getPhone() { return phone; } @@ -113,10 +113,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger firstName(Strin } /** - * Get firstName + * Passenger first name * @return firstName **/ - @ApiModelProperty(example = "John", value = "") + @ApiModelProperty(example = "John", value = "Passenger first name") public String getFirstName() { return firstName; } @@ -131,10 +131,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger lastName(String } /** - * Get lastName + * Passenger last name * @return lastName **/ - @ApiModelProperty(example = "Doe", value = "") + @ApiModelProperty(example = "Doe", value = "Passenger last name") public String getLastName() { return lastName; } @@ -149,10 +149,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger id(String id) { } /** - * Get id + * Passenger ID * @return id **/ - @ApiModelProperty(example = "AIR1234567", value = "") + @ApiModelProperty(example = "AIR1234567", value = "Passenger ID") public String getId() { return id; } @@ -167,10 +167,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger email(String em } /** - * Get email + * Passenger email * @return email **/ - @ApiModelProperty(example = "john.doe@example.com", value = "") + @ApiModelProperty(example = "john.doe@example.com", value = "Passenger email") public String getEmail() { return email; } @@ -185,10 +185,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsPassenger nationality(Str } /** - * Get nationality + * Passenger nationality * @return nationality **/ - @ApiModelProperty(example = "US", value = "") + @ApiModelProperty(example = "US", value = "Passenger nationality") public String getNationality() { return nationality; } diff --git a/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.java b/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.java index 571d21819..16acab452 100644 --- a/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.java +++ b/src/main/java/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.java @@ -56,10 +56,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails type(String ty } /** - * Get type + * Type of tax * @return type **/ - @ApiModelProperty(example = "VAT", value = "") + @ApiModelProperty(example = "VAT", value = "Type of tax") public String getType() { return type; } @@ -74,10 +74,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails amount(String } /** - * Get amount + * Tax amount * @return amount **/ - @ApiModelProperty(example = "5.99", value = "") + @ApiModelProperty(example = "5.99", value = "Tax amount") public String getAmount() { return amount; } @@ -92,10 +92,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails rate(String ra } /** - * Get rate + * Tax rate * @return rate **/ - @ApiModelProperty(example = "20", value = "") + @ApiModelProperty(example = "20", value = "Tax rate") public String getRate() { return rate; } @@ -110,10 +110,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails code(String co } /** - * Get code + * Tax code * @return code **/ - @ApiModelProperty(example = "VAT", value = "") + @ApiModelProperty(example = "VAT", value = "Tax code") public String getCode() { return code; } @@ -128,10 +128,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails taxId(String t } /** - * Get taxId + * Tax Identifier * @return taxId **/ - @ApiModelProperty(example = "TAXID12345", value = "") + @ApiModelProperty(example = "TAXID12345", value = "Tax Identifier") public String getTaxId() { return taxId; } @@ -146,10 +146,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails applied(Boolea } /** - * Get applied + * Indicates if tax applied * @return applied **/ - @ApiModelProperty(example = "true", value = "") + @ApiModelProperty(example = "true", value = "Indicates if tax applied") public Boolean Applied() { return applied; } @@ -164,10 +164,10 @@ public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails exemptionCode( } /** - * Get exemptionCode + * Tax exemption code * @return exemptionCode **/ - @ApiModelProperty(example = "E", value = "") + @ApiModelProperty(example = "E", value = "Tax exemption code") public String getExemptionCode() { return exemptionCode; } diff --git a/src/main/java/Model/Upv1capturecontextsDataPaymentInformation.java b/src/main/java/Model/Upv1capturecontextsDataPaymentInformation.java new file mode 100644 index 000000000..70af144e5 --- /dev/null +++ b/src/main/java/Model/Upv1capturecontextsDataPaymentInformation.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Upv1capturecontextsDataPaymentInformationCard; +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; + +/** + * Upv1capturecontextsDataPaymentInformation + */ + +public class Upv1capturecontextsDataPaymentInformation { + @SerializedName("card") + private Upv1capturecontextsDataPaymentInformationCard card = null; + + public Upv1capturecontextsDataPaymentInformation card(Upv1capturecontextsDataPaymentInformationCard card) { + this.card = card; + return this; + } + + /** + * Get card + * @return card + **/ + @ApiModelProperty(value = "") + public Upv1capturecontextsDataPaymentInformationCard getCard() { + return card; + } + + public void setCard(Upv1capturecontextsDataPaymentInformationCard card) { + this.card = card; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Upv1capturecontextsDataPaymentInformation upv1capturecontextsDataPaymentInformation = (Upv1capturecontextsDataPaymentInformation) o; + return Objects.equals(this.card, upv1capturecontextsDataPaymentInformation.card); + } + + @Override + public int hashCode() { + return Objects.hash(card); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Upv1capturecontextsDataPaymentInformation {\n"); + + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Upv1capturecontextsDataPaymentInformationCard.java b/src/main/java/Model/Upv1capturecontextsDataPaymentInformationCard.java new file mode 100644 index 000000000..0a5336357 --- /dev/null +++ b/src/main/java/Model/Upv1capturecontextsDataPaymentInformationCard.java @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Upv1capturecontextsDataPaymentInformationCard + */ + +public class Upv1capturecontextsDataPaymentInformationCard { + @SerializedName("typeSelectionIndicator") + private String typeSelectionIndicator = null; + + public Upv1capturecontextsDataPaymentInformationCard typeSelectionIndicator(String typeSelectionIndicator) { + this.typeSelectionIndicator = typeSelectionIndicator; + return this; + } + + /** + * The card type selection indicator + * @return typeSelectionIndicator + **/ + @ApiModelProperty(example = "0", value = "The card type selection indicator") + public String getTypeSelectionIndicator() { + return typeSelectionIndicator; + } + + public void setTypeSelectionIndicator(String typeSelectionIndicator) { + this.typeSelectionIndicator = typeSelectionIndicator; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Upv1capturecontextsDataPaymentInformationCard upv1capturecontextsDataPaymentInformationCard = (Upv1capturecontextsDataPaymentInformationCard) o; + return Objects.equals(this.typeSelectionIndicator, upv1capturecontextsDataPaymentInformationCard.typeSelectionIndicator); + } + + @Override + public int hashCode() { + return Objects.hash(typeSelectionIndicator); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Upv1capturecontextsDataPaymentInformationCard {\n"); + + if (typeSelectionIndicator != null) sb.append(" typeSelectionIndicator: ").append(toIndentedString(typeSelectionIndicator)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Upv1capturecontextsDataProcessingInformation.java b/src/main/java/Model/Upv1capturecontextsDataProcessingInformation.java index 4c48b8b4b..18b28e1ee 100644 --- a/src/main/java/Model/Upv1capturecontextsDataProcessingInformation.java +++ b/src/main/java/Model/Upv1capturecontextsDataProcessingInformation.java @@ -42,10 +42,10 @@ public Upv1capturecontextsDataProcessingInformation reconciliationId(String reco } /** - * Get reconciliationId + * The reconciliation ID * @return reconciliationId **/ - @ApiModelProperty(example = "01234567", value = "") + @ApiModelProperty(example = "01234567", value = "The reconciliation ID") public String getReconciliationId() { return reconciliationId; } diff --git a/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.java b/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.java index ef6ff56c2..14007b68d 100644 --- a/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.java +++ b/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.java @@ -33,22 +33,37 @@ public class Upv1capturecontextsDataProcessingInformationAuthorizationOptions { @SerializedName("aftIndicator") private Boolean aftIndicator = null; + @SerializedName("authIndicator") + private String authIndicator = null; + + @SerializedName("ignoreCvResult") + private Boolean ignoreCvResult = null; + + @SerializedName("ignoreAvsResult") + private Boolean ignoreAvsResult = null; + @SerializedName("initiator") private Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator initiator = null; @SerializedName("businessApplicationId") private String businessApplicationId = null; + @SerializedName("commerceIndicator") + private String commerceIndicator = null; + + @SerializedName("processingInstruction") + private String processingInstruction = null; + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions aftIndicator(Boolean aftIndicator) { this.aftIndicator = aftIndicator; return this; } /** - * Get aftIndicator + * The AFT indicator * @return aftIndicator **/ - @ApiModelProperty(example = "true", value = "") + @ApiModelProperty(example = "true", value = "The AFT indicator") public Boolean AftIndicator() { return aftIndicator; } @@ -57,6 +72,60 @@ public void setAftIndicator(Boolean aftIndicator) { this.aftIndicator = aftIndicator; } + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions authIndicator(String authIndicator) { + this.authIndicator = authIndicator; + return this; + } + + /** + * The authorization indicator + * @return authIndicator + **/ + @ApiModelProperty(example = "1", value = "The authorization indicator") + public String getAuthIndicator() { + return authIndicator; + } + + public void setAuthIndicator(String authIndicator) { + this.authIndicator = authIndicator; + } + + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions ignoreCvResult(Boolean ignoreCvResult) { + this.ignoreCvResult = ignoreCvResult; + return this; + } + + /** + * Ignore the CV result + * @return ignoreCvResult + **/ + @ApiModelProperty(example = "true", value = "Ignore the CV result") + public Boolean IgnoreCvResult() { + return ignoreCvResult; + } + + public void setIgnoreCvResult(Boolean ignoreCvResult) { + this.ignoreCvResult = ignoreCvResult; + } + + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions ignoreAvsResult(Boolean ignoreAvsResult) { + this.ignoreAvsResult = ignoreAvsResult; + return this; + } + + /** + * Ignore the AVS result + * @return ignoreAvsResult + **/ + @ApiModelProperty(example = "true", value = "Ignore the AVS result") + public Boolean IgnoreAvsResult() { + return ignoreAvsResult; + } + + public void setIgnoreAvsResult(Boolean ignoreAvsResult) { + this.ignoreAvsResult = ignoreAvsResult; + } + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions initiator(Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator initiator) { this.initiator = initiator; return this; @@ -81,10 +150,10 @@ public Upv1capturecontextsDataProcessingInformationAuthorizationOptions business } /** - * Get businessApplicationId + * The business application Id * @return businessApplicationId **/ - @ApiModelProperty(example = "AA", value = "") + @ApiModelProperty(example = "AA", value = "The business application Id") public String getBusinessApplicationId() { return businessApplicationId; } @@ -93,6 +162,42 @@ public void setBusinessApplicationId(String businessApplicationId) { this.businessApplicationId = businessApplicationId; } + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions commerceIndicator(String commerceIndicator) { + this.commerceIndicator = commerceIndicator; + return this; + } + + /** + * The commerce indicator + * @return commerceIndicator + **/ + @ApiModelProperty(example = "INDICATOR", value = "The commerce indicator") + public String getCommerceIndicator() { + return commerceIndicator; + } + + public void setCommerceIndicator(String commerceIndicator) { + this.commerceIndicator = commerceIndicator; + } + + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions processingInstruction(String processingInstruction) { + this.processingInstruction = processingInstruction; + return this; + } + + /** + * The processing instruction + * @return processingInstruction + **/ + @ApiModelProperty(example = "ORDER_SAVED_EXPLICITLY", value = "The processing instruction") + public String getProcessingInstruction() { + return processingInstruction; + } + + public void setProcessingInstruction(String processingInstruction) { + this.processingInstruction = processingInstruction; + } + @Override public boolean equals(java.lang.Object o) { @@ -104,13 +209,18 @@ public boolean equals(java.lang.Object o) { } Upv1capturecontextsDataProcessingInformationAuthorizationOptions upv1capturecontextsDataProcessingInformationAuthorizationOptions = (Upv1capturecontextsDataProcessingInformationAuthorizationOptions) o; return Objects.equals(this.aftIndicator, upv1capturecontextsDataProcessingInformationAuthorizationOptions.aftIndicator) && + Objects.equals(this.authIndicator, upv1capturecontextsDataProcessingInformationAuthorizationOptions.authIndicator) && + Objects.equals(this.ignoreCvResult, upv1capturecontextsDataProcessingInformationAuthorizationOptions.ignoreCvResult) && + Objects.equals(this.ignoreAvsResult, upv1capturecontextsDataProcessingInformationAuthorizationOptions.ignoreAvsResult) && Objects.equals(this.initiator, upv1capturecontextsDataProcessingInformationAuthorizationOptions.initiator) && - Objects.equals(this.businessApplicationId, upv1capturecontextsDataProcessingInformationAuthorizationOptions.businessApplicationId); + Objects.equals(this.businessApplicationId, upv1capturecontextsDataProcessingInformationAuthorizationOptions.businessApplicationId) && + Objects.equals(this.commerceIndicator, upv1capturecontextsDataProcessingInformationAuthorizationOptions.commerceIndicator) && + Objects.equals(this.processingInstruction, upv1capturecontextsDataProcessingInformationAuthorizationOptions.processingInstruction); } @Override public int hashCode() { - return Objects.hash(aftIndicator, initiator, businessApplicationId); + return Objects.hash(aftIndicator, authIndicator, ignoreCvResult, ignoreAvsResult, initiator, businessApplicationId, commerceIndicator, processingInstruction); } @@ -120,8 +230,13 @@ public String toString() { sb.append("class Upv1capturecontextsDataProcessingInformationAuthorizationOptions {\n"); if (aftIndicator != null) sb.append(" aftIndicator: ").append(toIndentedString(aftIndicator)).append("\n"); + if (authIndicator != null) sb.append(" authIndicator: ").append(toIndentedString(authIndicator)).append("\n"); + if (ignoreCvResult != null) sb.append(" ignoreCvResult: ").append(toIndentedString(ignoreCvResult)).append("\n"); + if (ignoreAvsResult != null) sb.append(" ignoreAvsResult: ").append(toIndentedString(ignoreAvsResult)).append("\n"); if (initiator != null) sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n"); if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (commerceIndicator != null) sb.append(" commerceIndicator: ").append(toIndentedString(commerceIndicator)).append("\n"); + if (processingInstruction != null) sb.append(" processingInstruction: ").append(toIndentedString(processingInstruction)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.java b/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.java index e1cfd2b42..6be6e6546 100644 --- a/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.java +++ b/src/main/java/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.java @@ -42,10 +42,10 @@ public Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator } /** - * Get credentialStoredOnFile + * Store the credential on file * @return credentialStoredOnFile **/ - @ApiModelProperty(example = "true", value = "") + @ApiModelProperty(example = "true", value = "Store the credential on file") public Boolean CredentialStoredOnFile() { return credentialStoredOnFile; } diff --git a/src/main/java/Model/Upv1capturecontextsDataRecipientInformation.java b/src/main/java/Model/Upv1capturecontextsDataRecipientInformation.java index 715885397..8257e43f1 100644 --- a/src/main/java/Model/Upv1capturecontextsDataRecipientInformation.java +++ b/src/main/java/Model/Upv1capturecontextsDataRecipientInformation.java @@ -50,6 +50,12 @@ public class Upv1capturecontextsDataRecipientInformation { @SerializedName("accountType") private String accountType = null; + @SerializedName("dateOfBirth") + private String dateOfBirth = null; + + @SerializedName("postalCode") + private String postalCode = null; + public Upv1capturecontextsDataRecipientInformation firstName(String firstName) { this.firstName = firstName; return this; @@ -149,7 +155,7 @@ public Upv1capturecontextsDataRecipientInformation administrativeArea(String adm * The administrative area of the recipient * @return administrativeArea **/ - @ApiModelProperty(example = "Devon", value = "The administrative area of the recipient") + @ApiModelProperty(example = "GB", value = "The administrative area of the recipient") public String getAdministrativeArea() { return administrativeArea; } @@ -167,7 +173,7 @@ public Upv1capturecontextsDataRecipientInformation accountType(String accountTyp * The account type of the recipient * @return accountType **/ - @ApiModelProperty(example = "Checking", value = "The account type of the recipient") + @ApiModelProperty(example = "01", value = "The account type of the recipient") public String getAccountType() { return accountType; } @@ -176,6 +182,42 @@ public void setAccountType(String accountType) { this.accountType = accountType; } + public Upv1capturecontextsDataRecipientInformation dateOfBirth(String dateOfBirth) { + this.dateOfBirth = dateOfBirth; + return this; + } + + /** + * The date of birth of the recipient + * @return dateOfBirth + **/ + @ApiModelProperty(example = "05111999", value = "The date of birth of the recipient") + public String getDateOfBirth() { + return dateOfBirth; + } + + public void setDateOfBirth(String dateOfBirth) { + this.dateOfBirth = dateOfBirth; + } + + public Upv1capturecontextsDataRecipientInformation postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The postal code of the recipient + * @return postalCode + **/ + @ApiModelProperty(example = "170056", value = "The postal code of the recipient") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + @Override public boolean equals(java.lang.Object o) { @@ -192,12 +234,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.country, upv1capturecontextsDataRecipientInformation.country) && Objects.equals(this.accountId, upv1capturecontextsDataRecipientInformation.accountId) && Objects.equals(this.administrativeArea, upv1capturecontextsDataRecipientInformation.administrativeArea) && - Objects.equals(this.accountType, upv1capturecontextsDataRecipientInformation.accountType); + Objects.equals(this.accountType, upv1capturecontextsDataRecipientInformation.accountType) && + Objects.equals(this.dateOfBirth, upv1capturecontextsDataRecipientInformation.dateOfBirth) && + Objects.equals(this.postalCode, upv1capturecontextsDataRecipientInformation.postalCode); } @Override public int hashCode() { - return Objects.hash(firstName, middleName, lastName, country, accountId, administrativeArea, accountType); + return Objects.hash(firstName, middleName, lastName, country, accountId, administrativeArea, accountType, dateOfBirth, postalCode); } @@ -213,6 +257,8 @@ public String toString() { if (accountId != null) sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (dateOfBirth != null) sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsOrderInformation.java b/src/main/java/Model/Upv1capturecontextsOrderInformation.java index 349a2eea0..af1c36cdc 100644 --- a/src/main/java/Model/Upv1capturecontextsOrderInformation.java +++ b/src/main/java/Model/Upv1capturecontextsOrderInformation.java @@ -28,8 +28,9 @@ import java.io.IOException; /** - * Upv1capturecontextsOrderInformation + * If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object. */ +@ApiModel(description = "If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object.") public class Upv1capturecontextsOrderInformation { @SerializedName("amountDetails") diff --git a/src/main/java/utilities/capturecontext/utility/CaptureContextParsingUtility.java b/src/main/java/utilities/capturecontext/utility/CaptureContextParsingUtility.java new file mode 100644 index 000000000..f5fb2798a --- /dev/null +++ b/src/main/java/utilities/capturecontext/utility/CaptureContextParsingUtility.java @@ -0,0 +1,94 @@ +package utilities.capturecontext.utility; + +import com.cybersource.authsdk.cache.CacheForPublicKeys; +import com.cybersource.authsdk.core.ConfigException; +import com.cybersource.authsdk.core.MerchantConfig; +import com.cybersource.authsdk.util.jwt.JWTUtility; +import com.cybersource.authsdk.util.jwt.exceptions.InvalidJwkException; +import com.cybersource.authsdk.util.jwt.exceptions.InvalidJwtException; +import com.cybersource.authsdk.util.jwt.exceptions.JwtSignatureValidationException; +import com.google.gson.Gson; +import com.google.gson.JsonObject; +import com.google.gson.JsonParser; +import com.google.gson.reflect.TypeToken; +import com.nimbusds.jose.JOSEException; +import com.nimbusds.jose.JWSHeader; +import com.nimbusds.jose.Payload; +import com.nimbusds.jwt.SignedJWT; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.net.MalformedURLException; +import java.security.interfaces.RSAPublicKey; +import java.text.ParseException; +import java.util.HashMap; + +public class CaptureContextParsingUtility { + private static CacheForPublicKeys cache = new CacheForPublicKeys(); + + public static JsonObject parseCaptureContextResponse( + String jwtValue, MerchantConfig merchantConfig) + throws InvalidJwtException, ConfigException, IOException, InvalidJwkException, JwtSignatureValidationException { + SignedJWT signedJWT = JWTUtility.parse(jwtValue); + boolean verifyJwt = true; + if (verifyJwt) { + RSAPublicKey publicKey; + boolean isJwtValid = false; + + JWSHeader jwsHeader = signedJWT.getHeader(); + + String kid = jwsHeader.getKeyID(); + + boolean isPublicKeyFromCache = false; + + try { + publicKey = cache.getPublicKeyFromCache(merchantConfig.getRunEnvironment(), kid); + isPublicKeyFromCache = true; + } catch (NullPointerException e) { + fetchPublicKeyFromApi(kid, merchantConfig.getRunEnvironment()); + publicKey = cache.getPublicKeyFromCache(merchantConfig.getRunEnvironment(), kid); + } + + try { + assert publicKey != null; + isJwtValid = JWTUtility.verifyJwt(signedJWT, publicKey); + } catch (JwtSignatureValidationException e) { + if (isPublicKeyFromCache) { + fetchPublicKeyFromApi(kid, merchantConfig.getRunEnvironment()); + publicKey = cache.getPublicKeyFromCache(merchantConfig.getRunEnvironment(), kid); + isJwtValid = JWTUtility.verifyJwt(signedJWT, publicKey); + } + } + + if (!isJwtValid) { + throw new JwtSignatureValidationException("JWT validation failed"); + } + } + + return convertPayloadMapToJsonObject(signedJWT.getPayload()); + } + + private static JsonObject convertPayloadMapToJsonObject(Payload payload) { + Gson gson = new Gson(); + Type typeObject = new TypeToken>() {}.getType(); + String jsonRepresentation = gson.toJson(payload.toJSONObject(), typeObject); + return JsonParser.parseString(jsonRepresentation).getAsJsonObject(); + } + + private static void fetchPublicKeyFromApi(String kid, String runEnvironment) throws ConfigException, IOException, InvalidJwkException { + RSAPublicKey publicKey; + + try { + publicKey = PublicKeyApiController.fetchPublicKey(kid, runEnvironment); + cache.addPublicKeyToCache(runEnvironment, kid, publicKey); + } catch (MalformedURLException err) { + throw new ConfigException("Invalid Runtime URL in Merchant Config"); + } catch (IOException err) { + throw new IOException("Error while trying to retrieve public key from server"); + } catch (ParseException err) { + throw new InvalidJwkException("JWK received from server cannot be parsed correctly", err); + } catch (JOSEException err) { + throw new InvalidJwkException("Cannot convert JWK to RSA Public Key", err); + } + } +} diff --git a/src/main/java/utilities/capturecontext/utility/PublicKeyApiController.java b/src/main/java/utilities/capturecontext/utility/PublicKeyApiController.java new file mode 100644 index 000000000..2402b6b31 --- /dev/null +++ b/src/main/java/utilities/capturecontext/utility/PublicKeyApiController.java @@ -0,0 +1,36 @@ +package utilities.capturecontext.utility; + +import com.cybersource.authsdk.util.jwt.JWTUtility; +import com.cybersource.authsdk.util.jwt.exceptions.InvalidJwkException; +import com.nimbusds.jose.JOSEException; +import okhttp3.Call; +import okhttp3.OkHttpClient; +import okhttp3.Request; +import okhttp3.Response; + +import java.io.IOException; +import java.net.URL; +import java.security.interfaces.RSAPublicKey; +import java.text.ParseException; + +public class PublicKeyApiController { + public static RSAPublicKey fetchPublicKey(String kid, String runEnvironment) + throws IOException, ParseException, JOSEException, InvalidJwkException { + URL url = new URL("https://" + runEnvironment + "/flex/v2/public-keys/" + kid); + + Request request = new Request.Builder().url(url).build(); + + OkHttpClient client = new OkHttpClient(); + + Call call = client.newCall(request); + + String jwkJsonString; + + try (Response response = call.execute()) { + assert response.body() != null; + jwkJsonString = response.body().string(); + } + + return JWTUtility.getRSAPublicKeyFromJwk(jwkJsonString); + } +} diff --git a/src/main/java/utilities/tracking/SdkTracker.java b/src/main/java/utilities/tracking/SdkTracker.java index 9bc50f86f..c6a5ae187 100644 --- a/src/main/java/utilities/tracking/SdkTracker.java +++ b/src/main/java/utilities/tracking/SdkTracker.java @@ -213,20 +213,20 @@ public Object insertDeveloperIdTracker(Object requestObj, String requestClass, S case "CreatePlanRequest": CreatePlanRequest createPlanRequest = (CreatePlanRequest)requestObj; - if (createPlanRequest.getClientReferenceInformation() == null) - { - createPlanRequest.setClientReferenceInformation(new Rbsv1plansClientReferenceInformation()); - } + // if (createPlanRequest.getClientReferenceInformation() == null) + // { + // createPlanRequest.setClientReferenceInformation(new Rbsv1plansClientReferenceInformation()); + // } - if (createPlanRequest.getClientReferenceInformation().getPartner() == null) - { - createPlanRequest.getClientReferenceInformation().setPartner(new Riskv1decisionsClientReferenceInformationPartner()); - } + // if (createPlanRequest.getClientReferenceInformation().getPartner() == null) + // { + // createPlanRequest.getClientReferenceInformation().setPartner(new Riskv1decisionsClientReferenceInformationPartner()); + // } - if (createPlanRequest.getClientReferenceInformation().getPartner().getDeveloperId() == null) - { - createPlanRequest.getClientReferenceInformation().getPartner().setDeveloperId(developerIdValue); - } + // if (createPlanRequest.getClientReferenceInformation().getPartner().getDeveloperId() == null) + // { + // createPlanRequest.getClientReferenceInformation().getPartner().setDeveloperId(developerIdValue); + // } return createPlanRequest; case "RefundCaptureRequest": @@ -308,39 +308,39 @@ public Object insertDeveloperIdTracker(Object requestObj, String requestClass, S case "CreateSubscriptionRequest": CreateSubscriptionRequest createSubscriptionRequest = (CreateSubscriptionRequest)requestObj; - if (createSubscriptionRequest.getClientReferenceInformation() == null) - { - createSubscriptionRequest.setClientReferenceInformation(new Rbsv1subscriptionsClientReferenceInformation()); - } + // if (createSubscriptionRequest.getClientReferenceInformation() == null) + // { + // createSubscriptionRequest.setClientReferenceInformation(new Rbsv1subscriptionsClientReferenceInformation()); + // } - if (createSubscriptionRequest.getClientReferenceInformation().getPartner() == null) - { - createSubscriptionRequest.getClientReferenceInformation().setPartner(new Rbsv1subscriptionsClientReferenceInformationPartner()); - } + // if (createSubscriptionRequest.getClientReferenceInformation().getPartner() == null) + // { + // createSubscriptionRequest.getClientReferenceInformation().setPartner(new Rbsv1subscriptionsClientReferenceInformationPartner()); + // } - if (createSubscriptionRequest.getClientReferenceInformation().getPartner().getDeveloperId() == null) - { - createSubscriptionRequest.getClientReferenceInformation().getPartner().setDeveloperId(developerIdValue); - } + // if (createSubscriptionRequest.getClientReferenceInformation().getPartner().getDeveloperId() == null) + // { + // createSubscriptionRequest.getClientReferenceInformation().getPartner().setDeveloperId(developerIdValue); + // } return createSubscriptionRequest; case "UpdateSubscription": UpdateSubscription updateSubscription = (UpdateSubscription)requestObj; - if (updateSubscription.getClientReferenceInformation() == null) - { - updateSubscription.setClientReferenceInformation(new Rbsv1subscriptionsClientReferenceInformation()); - } + // if (updateSubscription.getClientReferenceInformation() == null) + // { + // updateSubscription.setClientReferenceInformation(new Rbsv1subscriptionsClientReferenceInformation()); + // } - if (updateSubscription.getClientReferenceInformation().getPartner() == null) - { - updateSubscription.getClientReferenceInformation().setPartner(new Rbsv1subscriptionsClientReferenceInformationPartner()); - } + // if (updateSubscription.getClientReferenceInformation().getPartner() == null) + // { + // updateSubscription.getClientReferenceInformation().setPartner(new Rbsv1subscriptionsClientReferenceInformationPartner()); + // } - if (updateSubscription.getClientReferenceInformation().getPartner().getDeveloperId() == null) - { - updateSubscription.getClientReferenceInformation().getPartner().setDeveloperId(developerIdValue); - } + // if (updateSubscription.getClientReferenceInformation().getPartner().getDeveloperId() == null) + // { + // updateSubscription.getClientReferenceInformation().getPartner().setDeveloperId(developerIdValue); + // } return updateSubscription; case "TaxRequest": diff --git a/src/test/java/Api/BankAccountValidationApiTest.java b/src/test/java/Api/BankAccountValidationApiTest.java index d70244756..fea605065 100644 --- a/src/test/java/Api/BankAccountValidationApiTest.java +++ b/src/test/java/Api/BankAccountValidationApiTest.java @@ -14,7 +14,7 @@ package Api; import Model.AccountValidationsRequest; -import Model.InlineResponse20013; +import Model.InlineResponse20014; import Model.InlineResponse4009; import Model.InlineResponse4033; import Model.InlineResponse4045; @@ -49,7 +49,7 @@ public class BankAccountValidationApiTest { @Test public void bankAccountValidationRequestTest() throws Exception { AccountValidationsRequest accountValidationsRequest = null; - InlineResponse20013 response = api.bankAccountValidationRequest(accountValidationsRequest); + InlineResponse20014 response = api.bankAccountValidationRequest(accountValidationsRequest); // TODO: test validations } diff --git a/src/test/java/Api/BatchesApiTest.java b/src/test/java/Api/BatchesApiTest.java index 47fc29355..5a1cf33a4 100644 --- a/src/test/java/Api/BatchesApiTest.java +++ b/src/test/java/Api/BatchesApiTest.java @@ -14,9 +14,9 @@ package Api; import Model.Body; -import Model.InlineResponse20010; import Model.InlineResponse20011; import Model.InlineResponse20012; +import Model.InlineResponse20013; import Model.InlineResponse202; import Model.InlineResponse4011; import org.junit.Test; @@ -48,7 +48,7 @@ public class BatchesApiTest { @Test public void getBatchReportTest() throws Exception { String batchId = null; - InlineResponse20012 response = api.getBatchReport(batchId); + InlineResponse20013 response = api.getBatchReport(batchId); // TODO: test validations } @@ -64,7 +64,7 @@ public void getBatchReportTest() throws Exception { @Test public void getBatchStatusTest() throws Exception { String batchId = null; - InlineResponse20011 response = api.getBatchStatus(batchId); + InlineResponse20012 response = api.getBatchStatus(batchId); // TODO: test validations } @@ -83,7 +83,7 @@ public void getBatchesListTest() throws Exception { Long limit = null; String fromDate = null; String toDate = null; - InlineResponse20010 response = api.getBatchesList(offset, limit, fromDate, toDate); + InlineResponse20011 response = api.getBatchesList(offset, limit, fromDate, toDate); // TODO: test validations } diff --git a/src/test/java/Api/CreateNewWebhooksApiTest.java b/src/test/java/Api/CreateNewWebhooksApiTest.java index 3d847e3e3..1a277648c 100644 --- a/src/test/java/Api/CreateNewWebhooksApiTest.java +++ b/src/test/java/Api/CreateNewWebhooksApiTest.java @@ -14,7 +14,7 @@ package Api; import Model.CreateWebhook; -import Model.InlineResponse2004; +import Model.InlineResponse2005; import Model.InlineResponse2014; import Model.InlineResponse2015; import Model.SaveSymEgressKey; @@ -47,7 +47,7 @@ public class CreateNewWebhooksApiTest { @Test public void findProductsToSubscribeTest() throws Exception { String organizationId = null; - List response = api.findProductsToSubscribe(organizationId); + List response = api.findProductsToSubscribe(organizationId); // TODO: test validations } diff --git a/src/test/java/Api/DecisionManagerApiTest.java b/src/test/java/Api/DecisionManagerApiTest.java index c4be3a487..022926c23 100644 --- a/src/test/java/Api/DecisionManagerApiTest.java +++ b/src/test/java/Api/DecisionManagerApiTest.java @@ -18,7 +18,7 @@ import Model.CaseManagementCommentsRequest; import Model.CreateBundledDecisionManagerCaseRequest; import Model.FraudMarkingActionRequest; -import Model.InlineResponse2001; +import Model.InlineResponse2002; import Model.InlineResponse2011; import Model.InlineResponse4002; import Model.InlineResponse4031; @@ -61,7 +61,7 @@ public class DecisionManagerApiTest { public void actionDecisionManagerCaseTest() throws Exception { String id = null; CaseManagementActionsRequest caseManagementActionsRequest = null; - InlineResponse2001 response = api.actionDecisionManagerCase(id, caseManagementActionsRequest); + InlineResponse2002 response = api.actionDecisionManagerCase(id, caseManagementActionsRequest); // TODO: test validations } diff --git a/src/test/java/Api/DeviceDeAssociationApiTest.java b/src/test/java/Api/DeviceDeAssociationApiTest.java index b7a199f81..dfbb73fd8 100644 --- a/src/test/java/Api/DeviceDeAssociationApiTest.java +++ b/src/test/java/Api/DeviceDeAssociationApiTest.java @@ -15,7 +15,7 @@ import Model.DeAssociationRequestBody; import Model.DeviceDeAssociateV3Request; -import Model.InlineResponse2008; +import Model.InlineResponse2009; import Model.InlineResponse206; import Model.InlineResponse4008; import Model.InlineResponse401; @@ -67,7 +67,7 @@ public void deleteTerminalAssociationTest() throws Exception { @Test public void postDeAssociateV3TerminalTest() throws Exception { List deviceDeAssociateV3Request = null; - List response = api.postDeAssociateV3Terminal(deviceDeAssociateV3Request); + List response = api.postDeAssociateV3Terminal(deviceDeAssociateV3Request); // TODO: test validations } diff --git a/src/test/java/Api/DeviceSearchApiTest.java b/src/test/java/Api/DeviceSearchApiTest.java index 392392b61..2e913d092 100644 --- a/src/test/java/Api/DeviceSearchApiTest.java +++ b/src/test/java/Api/DeviceSearchApiTest.java @@ -13,8 +13,8 @@ package Api; -import Model.InlineResponse2007; -import Model.InlineResponse2009; +import Model.InlineResponse20010; +import Model.InlineResponse2008; import Model.InlineResponse4008; import Model.InlineResponse401; import Model.InlineResponse4032; @@ -51,7 +51,7 @@ public class DeviceSearchApiTest { @Test public void postSearchQueryTest() throws Exception { PostDeviceSearchRequest postDeviceSearchRequest = null; - InlineResponse2007 response = api.postSearchQuery(postDeviceSearchRequest); + InlineResponse2008 response = api.postSearchQuery(postDeviceSearchRequest); // TODO: test validations } @@ -67,7 +67,7 @@ public void postSearchQueryTest() throws Exception { @Test public void postSearchQueryV3Test() throws Exception { PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = null; - InlineResponse2009 response = api.postSearchQueryV3(postDeviceSearchRequestV3); + InlineResponse20010 response = api.postSearchQueryV3(postDeviceSearchRequestV3); // TODO: test validations } diff --git a/src/test/java/Api/ManageWebhooksApiTest.java b/src/test/java/Api/ManageWebhooksApiTest.java index 6f388c016..38975c63f 100644 --- a/src/test/java/Api/ManageWebhooksApiTest.java +++ b/src/test/java/Api/ManageWebhooksApiTest.java @@ -13,8 +13,8 @@ package Api; -import Model.InlineResponse2005; import Model.InlineResponse2006; +import Model.InlineResponse2007; import Model.InlineResponse2015; import Model.InlineResponse2016; import Model.InlineResponse2017; @@ -85,7 +85,7 @@ public void getWebhookSubscriptionsByOrgTest() throws Exception { String organizationId = null; String productId = null; String eventType = null; - List response = api.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); + List response = api.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); // TODO: test validations } @@ -118,7 +118,7 @@ public void notificationSubscriptionsV1WebhooksWebhookIdPostTest() throws Except public void notificationSubscriptionsV2WebhooksWebhookIdPatchTest() throws Exception { String webhookId = null; UpdateWebhook updateWebhook = null; - InlineResponse2006 response = api.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); + InlineResponse2007 response = api.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); // TODO: test validations } diff --git a/src/test/java/Api/MerchantBoardingApiTest.java b/src/test/java/Api/MerchantBoardingApiTest.java index 9384e9245..663e38fe8 100644 --- a/src/test/java/Api/MerchantBoardingApiTest.java +++ b/src/test/java/Api/MerchantBoardingApiTest.java @@ -13,7 +13,7 @@ package Api; -import Model.InlineResponse2003; +import Model.InlineResponse2004; import Model.InlineResponse2013; import Model.InlineResponse4007; import Model.InlineResponse4042; @@ -49,7 +49,7 @@ public class MerchantBoardingApiTest { @Test public void getRegistrationTest() throws Exception { String registrationId = null; - InlineResponse2003 response = api.getRegistration(registrationId); + InlineResponse2004 response = api.getRegistration(registrationId); // TODO: test validations } diff --git a/src/test/java/Api/MerchantDefinedFieldsApiTest.java b/src/test/java/Api/MerchantDefinedFieldsApiTest.java index 87293923b..c548c11d6 100644 --- a/src/test/java/Api/MerchantDefinedFieldsApiTest.java +++ b/src/test/java/Api/MerchantDefinedFieldsApiTest.java @@ -13,7 +13,7 @@ package Api; -import Model.InlineResponse2002; +import Model.InlineResponse2003; import Model.InlineResponse4041; import Model.MerchantDefinedFieldCore; import Model.MerchantDefinedFieldDefinitionRequest; @@ -47,7 +47,7 @@ public class MerchantDefinedFieldsApiTest { public void createMerchantDefinedFieldDefinitionTest() throws Exception { String referenceType = null; MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = null; - List response = api.createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); + List response = api.createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); // TODO: test validations } @@ -80,7 +80,7 @@ public void deleteMerchantDefinedFieldsDefinitionsTest() throws Exception { @Test public void getMerchantDefinedFieldsDefinitionsTest() throws Exception { String referenceType = null; - List response = api.getMerchantDefinedFieldsDefinitions(referenceType); + List response = api.getMerchantDefinedFieldsDefinitions(referenceType); // TODO: test validations } @@ -98,7 +98,7 @@ public void putMerchantDefinedFieldsDefinitionsTest() throws Exception { String referenceType = null; Long id = null; MerchantDefinedFieldCore merchantDefinedFieldCore = null; - List response = api.putMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); + List response = api.putMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); // TODO: test validations } diff --git a/src/test/java/Api/OffersApiTest.java b/src/test/java/Api/OffersApiTest.java index 3937d9305..9261ced26 100644 --- a/src/test/java/Api/OffersApiTest.java +++ b/src/test/java/Api/OffersApiTest.java @@ -13,7 +13,7 @@ package Api; -import Model.InlineResponse20014; +import Model.InlineResponse20015; import Model.InlineResponse2018; import Model.InlineResponse40010; import Model.InlineResponse5022; @@ -73,7 +73,7 @@ public void getOfferTest() throws Exception { String vCCorrelationId = null; String vCOrganizationId = null; String id = null; - InlineResponse20014 response = api.getOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); + InlineResponse20015 response = api.getOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); // TODO: test validations } diff --git a/src/test/java/Api/SubscriptionsApiTest.java b/src/test/java/Api/SubscriptionsApiTest.java index 6b0818785..6fb9312d0 100644 --- a/src/test/java/Api/SubscriptionsApiTest.java +++ b/src/test/java/Api/SubscriptionsApiTest.java @@ -46,9 +46,9 @@ public class SubscriptionsApiTest { /** - * Activate a Subscription + * Reactivating a Suspended Subscription * - * Activate a `SUSPENDED` Subscription + * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). * * @throws Exception * if the Api call fails @@ -56,8 +56,8 @@ public class SubscriptionsApiTest { @Test public void activateSubscriptionTest() throws Exception { String id = null; - Boolean processSkippedPayments = null; - ActivateSubscriptionResponse response = api.activateSubscription(id, processSkippedPayments); + Boolean processMissedPayments = null; + ActivateSubscriptionResponse response = api.activateSubscription(id, processMissedPayments); // TODO: test validations } @@ -147,7 +147,7 @@ public void getSubscriptionCodeTest() throws Exception { /** * Suspend a Subscription * - * Suspend a Subscription + * Suspend a Subscription * * @throws Exception * if the Api call fails diff --git a/src/test/java/Api/TokenApiTest.java b/src/test/java/Api/TokenApiTest.java index 67f1e923f..e7ad45292 100644 --- a/src/test/java/Api/TokenApiTest.java +++ b/src/test/java/Api/TokenApiTest.java @@ -13,7 +13,7 @@ package Api; -import Model.InlineResponse200; +import Model.InlineResponse2001; import Model.InlineResponse400; import Model.InlineResponse403; import Model.InlineResponse410; @@ -51,7 +51,7 @@ public void getCardArtAssetTest() throws Exception { String instrumentIdentifierId = null; String tokenProvider = null; String assetType = null; - InlineResponse200 response = api.getCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); + InlineResponse2001 response = api.getCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); // TODO: test validations } diff --git a/src/test/java/Api/TokenizeApiTest.java b/src/test/java/Api/TokenizeApiTest.java new file mode 100644 index 000000000..a34648440 --- /dev/null +++ b/src/test/java/Api/TokenizeApiTest.java @@ -0,0 +1,57 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Model.InlineResponse200; +import Model.InlineResponse400; +import Model.InlineResponse403; +import Model.InlineResponse424; +import Model.InlineResponse500; +import Model.PostTokenizeRequest; +import org.junit.Test; +import org.junit.Ignore; + + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for TokenizeApi + */ +@Ignore +public class TokenizeApiTest { + + private final TokenizeApi api = new TokenizeApi(); + + + /** + * Tokenize + * + * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + * + * @throws Exception + * if the Api call fails + */ + @Test + public void tokenizeTest() throws Exception { + PostTokenizeRequest postTokenizeRequest = null; + String profileId = null; + InlineResponse200 response = api.tokenize(postTokenizeRequest, profileId); + + // TODO: test validations + } + +} diff --git a/src/test/java/Api/TokenizedCardApiTest.java b/src/test/java/Api/TokenizedCardApiTest.java index 9f487dbd3..c14f8c4eb 100644 --- a/src/test/java/Api/TokenizedCardApiTest.java +++ b/src/test/java/Api/TokenizedCardApiTest.java @@ -19,6 +19,7 @@ import Model.InlineResponse410; import Model.InlineResponse424; import Model.InlineResponse500; +import Model.PostIssuerLifeCycleSimulationRequest; import Model.TokenizedcardRequest; import org.junit.Test; import org.junit.Ignore; @@ -72,6 +73,24 @@ public void getTokenizedCardTest() throws Exception { // TODO: test validations } + /** + * Simulate Issuer Life Cycle Management Events + * + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * + * @throws Exception + * if the Api call fails + */ + @Test + public void postIssuerLifeCycleSimulationTest() throws Exception { + String profileId = null; + String tokenizedCardId = null; + PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = null; + api.postIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + + // TODO: test validations + } + /** * Create a Tokenized Card *