Skip to content

Commit 8ba374d

Browse files
committed
+ Fixing "consumes" for TMS API
+ Fixing issue with the embedded definition
1 parent 6f3a1c3 commit 8ba374d

File tree

441 files changed

+6197
-1958
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

441 files changed

+6197
-1958
lines changed

docs/CreatePaymentInstrumentRequest.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
88
**id** | **String** | Unique identification number assigned by CyberSource to the submitted request. | [optional]
99
**object** | [**ObjectEnum**](#ObjectEnum) | Describes type of token. | [optional]
1010
**state** | [**StateEnum**](#StateEnum) | Current state of the token. | [optional]
11-
**bankAccount** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseBankAccount**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseBankAccount.md) | | [optional]
12-
**card** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseCard**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseCard.md) | | [optional]
13-
**buyerInformation** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseBuyerInformation**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseBuyerInformation.md) | | [optional]
14-
**billTo** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseBillTo**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseBillTo.md) | | [optional]
15-
**processingInformation** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseProcessingInformation**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseProcessingInformation.md) | | [optional]
16-
**merchantInformation** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseMerchantInformation**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseMerchantInformation.md) | | [optional]
11+
**bankAccount** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedBankAccount**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedBankAccount.md) | | [optional]
12+
**card** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedCard**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedCard.md) | | [optional]
13+
**buyerInformation** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedBuyerInformation**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedBuyerInformation.md) | | [optional]
14+
**billTo** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedBillTo**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedBillTo.md) | | [optional]
15+
**processingInformation** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedProcessingInformation**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedProcessingInformation.md) | | [optional]
16+
**merchantInformation** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedMerchantInformation**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedMerchantInformation.md) | | [optional]
1717
**metaData** | [**TmsV1InstrumentIdentifiersPost200ResponseMetadata**](TmsV1InstrumentIdentifiersPost200ResponseMetadata.md) | | [optional]
18-
**instrumentIdentifier** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseInstrumentIdentifier**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseInstrumentIdentifier.md) | | [optional]
18+
**instrumentIdentifier** | [**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedInstrumentIdentifier**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedInstrumentIdentifier.md) | | [optional]
1919

2020

2121
<a name="ObjectEnum"></a>

docs/DecisionManagerApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ No authorization required
4949

5050
### HTTP request headers
5151

52-
- **Content-Type**: application/hal+json;charset=utf-8
52+
- **Content-Type**: application/json;charset=utf-8
5353
- **Accept**: application/hal+json;charset=utf-8
5454

docs/InstrumentIdentifierApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ No authorization required
5353

5454
### HTTP request headers
5555

56-
- **Content-Type**: application/hal+json;charset=utf-8
57-
- **Accept**: application/hal+json;charset=utf-8
56+
- **Content-Type**: application/json;charset=utf-8
57+
- **Accept**: application/json;charset=utf-8
5858

5959
<a name="deleteInstrumentIdentifier"></a>
6060
# **deleteInstrumentIdentifier**
@@ -97,8 +97,8 @@ No authorization required
9797

9898
### HTTP request headers
9999

100-
- **Content-Type**: */*
101-
- **Accept**: */*
100+
- **Content-Type**: application/json;charset=utf-8
101+
- **Accept**: application/json;charset=utf-8
102102

103103
<a name="getAllPaymentInstruments"></a>
104104
# **getAllPaymentInstruments**
@@ -146,8 +146,8 @@ No authorization required
146146

147147
### HTTP request headers
148148

149-
- **Content-Type**: */*
150-
- **Accept**: */*
149+
- **Content-Type**: application/json;charset=utf-8
150+
- **Accept**: application/json;charset=utf-8
151151

152152
<a name="getInstrumentIdentifier"></a>
153153
# **getInstrumentIdentifier**
@@ -191,8 +191,8 @@ No authorization required
191191

192192
### HTTP request headers
193193

194-
- **Content-Type**: */*
195-
- **Accept**: */*
194+
- **Content-Type**: application/json;charset=utf-8
195+
- **Accept**: application/json;charset=utf-8
196196

197197
<a name="updateInstrumentIdentifier"></a>
198198
# **updateInstrumentIdentifier**
@@ -238,6 +238,6 @@ No authorization required
238238

239239
### HTTP request headers
240240

241-
- **Content-Type**: */*
242-
- **Accept**: */*
241+
- **Content-Type**: application/json;charset=utf-8
242+
- **Accept**: application/json;charset=utf-8
243243

docs/PaymentInstrumentApi.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313
<a name="createPaymentInstrument"></a>
1414
# **createPaymentInstrument**
15-
> TmsV1PaymentinstrumentsPatch200Response createPaymentInstrument(profileId, createPaymentInstrumentRequest)
15+
> TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments createPaymentInstrument(profileId, createPaymentInstrumentRequest)
1616
1717
Create a Payment Instrument
1818

@@ -27,7 +27,7 @@ PaymentInstrumentApi apiInstance = new PaymentInstrumentApi();
2727
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
2828
CreatePaymentInstrumentRequest createPaymentInstrumentRequest = new CreatePaymentInstrumentRequest(); // CreatePaymentInstrumentRequest | Specify the customer's payment details for card or bank account.
2929
try {
30-
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.createPaymentInstrument(profileId, createPaymentInstrumentRequest);
30+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments result = apiInstance.createPaymentInstrument(profileId, createPaymentInstrumentRequest);
3131
System.out.println(result);
3232
} catch (ApiException e) {
3333
System.err.println("Exception when calling PaymentInstrumentApi#createPaymentInstrument");
@@ -44,16 +44,16 @@ Name | Type | Description | Notes
4444

4545
### Return type
4646

47-
[**TmsV1PaymentinstrumentsPatch200Response**](TmsV1PaymentinstrumentsPatch200Response.md)
47+
[**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments.md)
4848

4949
### Authorization
5050

5151
No authorization required
5252

5353
### HTTP request headers
5454

55-
- **Content-Type**: */*
56-
- **Accept**: */*
55+
- **Content-Type**: application/json;charset=utf-8
56+
- **Accept**: application/json;charset=utf-8
5757

5858
<a name="deletePaymentInstrument"></a>
5959
# **deletePaymentInstrument**
@@ -96,12 +96,12 @@ No authorization required
9696

9797
### HTTP request headers
9898

99-
- **Content-Type**: */*
100-
- **Accept**: */*
99+
- **Content-Type**: application/json;charset=utf-8
100+
- **Accept**: application/json;charset=utf-8
101101

102102
<a name="getPaymentInstrument"></a>
103103
# **getPaymentInstrument**
104-
> TmsV1PaymentinstrumentsPatch200Response getPaymentInstrument(profileId, tokenId)
104+
> TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments getPaymentInstrument(profileId, tokenId)
105105
106106
Retrieve a Payment Instrument
107107

@@ -116,7 +116,7 @@ PaymentInstrumentApi apiInstance = new PaymentInstrumentApi();
116116
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
117117
String tokenId = "tokenId_example"; // String | The TokenId of a Payment Instrument.
118118
try {
119-
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.getPaymentInstrument(profileId, tokenId);
119+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments result = apiInstance.getPaymentInstrument(profileId, tokenId);
120120
System.out.println(result);
121121
} catch (ApiException e) {
122122
System.err.println("Exception when calling PaymentInstrumentApi#getPaymentInstrument");
@@ -133,20 +133,20 @@ Name | Type | Description | Notes
133133

134134
### Return type
135135

136-
[**TmsV1PaymentinstrumentsPatch200Response**](TmsV1PaymentinstrumentsPatch200Response.md)
136+
[**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments.md)
137137

138138
### Authorization
139139

140140
No authorization required
141141

142142
### HTTP request headers
143143

144-
- **Content-Type**: */*
145-
- **Accept**: */*
144+
- **Content-Type**: application/json;charset=utf-8
145+
- **Accept**: application/json;charset=utf-8
146146

147147
<a name="updatePaymentInstrument"></a>
148148
# **updatePaymentInstrument**
149-
> TmsV1PaymentinstrumentsPatch200Response updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest)
149+
> TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest)
150150
151151
Update a Payment Instrument
152152

@@ -162,7 +162,7 @@ String profileId = "profileId_example"; // String | The id of a profile containi
162162
String tokenId = "tokenId_example"; // String | The TokenId of a Payment Instrument.
163163
UpdatePaymentInstrumentRequest updatePaymentInstrumentRequest = new UpdatePaymentInstrumentRequest(); // UpdatePaymentInstrumentRequest | Specify the customer's payment details.
164164
try {
165-
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest);
165+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments result = apiInstance.updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest);
166166
System.out.println(result);
167167
} catch (ApiException e) {
168168
System.err.println("Exception when calling PaymentInstrumentApi#updatePaymentInstrument");
@@ -180,14 +180,14 @@ Name | Type | Description | Notes
180180

181181
### Return type
182182

183-
[**TmsV1PaymentinstrumentsPatch200Response**](TmsV1PaymentinstrumentsPatch200Response.md)
183+
[**TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments**](TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments.md)
184184

185185
### Authorization
186186

187187
No authorization required
188188

189189
### HTTP request headers
190190

191-
- **Content-Type**: */*
192-
- **Accept**: */*
191+
- **Content-Type**: application/json;charset=utf-8
192+
- **Accept**: application/json;charset=utf-8
193193

docs/PayoutsApi.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010
<a name="octCreatePayment"></a>
1111
# **octCreatePayment**
12-
> octCreatePayment(octCreatePaymentRequest)
12+
> PtsV2PayoutsPost201Response octCreatePayment(octCreatePaymentRequest)
1313
1414
Process a Payout
1515

@@ -25,7 +25,8 @@ Send funds from a selected funding source to a designated credit/debit card acco
2525
PayoutsApi apiInstance = new PayoutsApi();
2626
OctCreatePaymentRequest octCreatePaymentRequest = new OctCreatePaymentRequest(); // OctCreatePaymentRequest |
2727
try {
28-
apiInstance.octCreatePayment(octCreatePaymentRequest);
28+
PtsV2PayoutsPost201Response result = apiInstance.octCreatePayment(octCreatePaymentRequest);
29+
System.out.println(result);
2930
} catch (ApiException e) {
3031
System.err.println("Exception when calling PayoutsApi#octCreatePayment");
3132
e.printStackTrace();
@@ -40,7 +41,7 @@ Name | Type | Description | Notes
4041

4142
### Return type
4243

43-
null (empty response body)
44+
[**PtsV2PayoutsPost201Response**](PtsV2PayoutsPost201Response.md)
4445

4546
### Authorization
4647

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
# PtsV1TransactionBatchesIdGet200Response
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **String** | Unique identifier assigned to the batch file. | [optional]
8+
**uploadDate** | **String** | Date when the batch template was update. | [optional]
9+
**completionDate** | **String** | The date when the batch template processing completed. | [optional]
10+
**transactionCount** | **Integer** | Number of transactions in the transaction. | [optional]
11+
**acceptedTransactionCount** | **Integer** | Number of transactions accepted. | [optional]
12+
**rejectedTransactionCount** | **String** | Number of transactions rejected. | [optional]
13+
**status** | **String** | The status of you batch template processing. | [optional]
14+
**links** | [**PtsV1TransactionBatchesIdGet200ResponseLinks**](PtsV1TransactionBatchesIdGet200ResponseLinks.md) | | [optional]
15+
16+
17+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# PtsV1TransactionBatchesIdGet200ResponseLinks
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**transactions** | [**List&lt;PtsV1TransactionBatchesIdGet200ResponseLinksTransactions&gt;**](PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.md) | | [optional]
8+
9+
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# PtsV1TransactionBatchesIdGet200ResponseLinksTransactions
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**href** | **String** | Self link for this request | [optional]
8+
**method** | **String** | | [optional]
9+
10+
11+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
# PtsV2PayoutsPost201Response
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**links** | [**PtsV2PaymentsReversalsPost201ResponseLinks**](PtsV2PaymentsReversalsPost201ResponseLinks.md) | | [optional]
8+
**id** | **String** | An unique identification number assigned by CyberSource to identify the submitted request. It is also appended to the endpoint of the resource. | [optional]
9+
**submitTimeUtc** | **String** | Time of request in UTC. &#x60;Format: YYYY-MM-DDThh:mm:ssZ&#x60; 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. | [optional]
10+
**status** | [**StatusEnum**](#StatusEnum) | The status of the submitted transaction. Possible values: - ACCEPTED - DECLINED - INVALID_REQUEST | [optional]
11+
**reconciliationId** | **String** | Cybersource or merchant generated transaction reference number. This is sent to the processor and is echoed back in the response to the merchant. This is This value is used for reconciliation purposes. | [optional]
12+
**errorInformation** | [**PtsV2PayoutsPost201ResponseErrorInformation**](PtsV2PayoutsPost201ResponseErrorInformation.md) | | [optional]
13+
**clientReferenceInformation** | [**PtsV2PaymentsPost201ResponseClientReferenceInformation**](PtsV2PaymentsPost201ResponseClientReferenceInformation.md) | | [optional]
14+
**merchantInformation** | [**PtsV2PayoutsPost201ResponseMerchantInformation**](PtsV2PayoutsPost201ResponseMerchantInformation.md) | | [optional]
15+
**orderInformation** | [**PtsV2PayoutsPost201ResponseOrderInformation**](PtsV2PayoutsPost201ResponseOrderInformation.md) | | [optional]
16+
**processorInformation** | [**PtsV2PayoutsPost201ResponseProcessorInformation**](PtsV2PayoutsPost201ResponseProcessorInformation.md) | | [optional]
17+
**recipientInformation** | [**PtsV2PayoutsPost201ResponseRecipientInformation**](PtsV2PayoutsPost201ResponseRecipientInformation.md) | | [optional]
18+
19+
20+
<a name="StatusEnum"></a>
21+
## Enum: StatusEnum
22+
Name | Value
23+
---- | -----
24+
ACCEPTED | &quot;ACCEPTED&quot;
25+
DECLINED | &quot;DECLINED&quot;
26+
INVALID_REQUEST | &quot;INVALID_REQUEST&quot;
27+
28+
29+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
# PtsV2PayoutsPost201ResponseErrorInformation
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**reason** | [**ReasonEnum**](#ReasonEnum) | The reason of the status. Possible values: - EXPIRED_CARD - PROCESSOR_DECLINED - STOLEN_LOST_CARD - UNAUTHORIZED_CARD - CVN_NOT_MATCH - INVALID_CVN - BLACKLISTED_CUSTOMER - INVALID_ACCOUNT - GENERAL_DECLINE - RISK_CONTROL_DECLINE - PROCESSOR_RISK_CONTROL_DECLINE | [optional]
8+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
9+
**details** | [**List&lt;PtsV2PaymentsPost201ResponseErrorInformationDetails&gt;**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional]
10+
11+
12+
<a name="ReasonEnum"></a>
13+
## Enum: ReasonEnum
14+
Name | Value
15+
---- | -----
16+
EXPIRED_CARD | &quot;EXPIRED_CARD&quot;
17+
PROCESSOR_DECLINED | &quot;PROCESSOR_DECLINED&quot;
18+
STOLEN_LOST_CARD | &quot;STOLEN_LOST_CARD&quot;
19+
UNAUTHORIZED_CARD | &quot;UNAUTHORIZED_CARD&quot;
20+
CVN_NOT_MATCH | &quot;CVN_NOT_MATCH&quot;
21+
INVALID_CVN | &quot;INVALID_CVN&quot;
22+
BLACKLISTED_CUSTOMER | &quot;BLACKLISTED_CUSTOMER&quot;
23+
INVALID_ACCOUNT | &quot;INVALID_ACCOUNT&quot;
24+
GENERAL_DECLINE | &quot;GENERAL_DECLINE&quot;
25+
RISK_CONTROL_DECLINE | &quot;RISK_CONTROL_DECLINE&quot;
26+
PROCESSOR_RISK_CONTROL_DECLINE | &quot;PROCESSOR_RISK_CONTROL_DECLINE&quot;
27+
28+
29+

0 commit comments

Comments
 (0)