Skip to content

Commit 074316a

Browse files
committed
+ Fixing TMS issues with header fields
+ Adding missing enum values for status
1 parent 62e1c01 commit 074316a

File tree

377 files changed

+533
-1110
lines changed

Some content is hidden

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

377 files changed

+533
-1110
lines changed

docs/InstrumentIdentifierApi.md

Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Method | HTTP request | Description
1313

1414
<a name="createInstrumentIdentifier"></a>
1515
# **createInstrumentIdentifier**
16-
> TmsV1InstrumentIdentifiersPost200Response createInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, createInstrumentIdentifierRequest, clientApplication)
16+
> TmsV1InstrumentIdentifiersPost200Response createInstrumentIdentifier(profileId, createInstrumentIdentifierRequest)
1717
1818
Create an Instrument Identifier
1919

@@ -26,12 +26,9 @@ Create an Instrument Identifier
2626

2727
InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi();
2828
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
29-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
30-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
3129
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest = new CreateInstrumentIdentifierRequest(); // CreateInstrumentIdentifierRequest | Please specify either a Card, Bank Account or Enrollable Card
32-
String clientApplication = "clientApplication_example"; // String | Client application name
3330
try {
34-
TmsV1InstrumentIdentifiersPost200Response result = apiInstance.createInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, createInstrumentIdentifierRequest, clientApplication);
31+
TmsV1InstrumentIdentifiersPost200Response result = apiInstance.createInstrumentIdentifier(profileId, createInstrumentIdentifierRequest);
3532
System.out.println(result);
3633
} catch (ApiException e) {
3734
System.err.println("Exception when calling InstrumentIdentifierApi#createInstrumentIdentifier");
@@ -44,10 +41,7 @@ try {
4441
Name | Type | Description | Notes
4542
------------- | ------------- | ------------- | -------------
4643
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
47-
**vCMerchantId** | **String**| CyberSource merchant id. |
48-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
4944
**createInstrumentIdentifierRequest** | [**CreateInstrumentIdentifierRequest**](CreateInstrumentIdentifierRequest.md)| Please specify either a Card, Bank Account or Enrollable Card |
50-
**clientApplication** | **String**| Client application name | [optional]
5145

5246
### Return type
5347

@@ -64,7 +58,7 @@ No authorization required
6458

6559
<a name="deleteInstrumentIdentifier"></a>
6660
# **deleteInstrumentIdentifier**
67-
> deleteInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication)
61+
> deleteInstrumentIdentifier(profileId, tokenId)
6862
6963
Delete an Instrument Identifier
7064

@@ -77,12 +71,9 @@ Delete an Instrument Identifier
7771

7872
InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi();
7973
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
80-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
81-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
8274
String tokenId = "tokenId_example"; // String | The TokenId of an Instrument Identifier.
83-
String clientApplication = "clientApplication_example"; // String | Client application name
8475
try {
85-
apiInstance.deleteInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication);
76+
apiInstance.deleteInstrumentIdentifier(profileId, tokenId);
8677
} catch (ApiException e) {
8778
System.err.println("Exception when calling InstrumentIdentifierApi#deleteInstrumentIdentifier");
8879
e.printStackTrace();
@@ -94,10 +85,7 @@ try {
9485
Name | Type | Description | Notes
9586
------------- | ------------- | ------------- | -------------
9687
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
97-
**vCMerchantId** | **String**| CyberSource merchant id. |
98-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
9988
**tokenId** | **String**| The TokenId of an Instrument Identifier. |
100-
**clientApplication** | **String**| Client application name | [optional]
10189

10290
### Return type
10391

@@ -114,7 +102,7 @@ No authorization required
114102

115103
<a name="getAllPaymentInstruments"></a>
116104
# **getAllPaymentInstruments**
117-
> TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response getAllPaymentInstruments(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication, offset, limit)
105+
> TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response getAllPaymentInstruments(profileId, tokenId, offset, limit)
118106
119107
Retrieve all Payment Instruments associated with an Instrument Identifier
120108

@@ -127,14 +115,11 @@ Retrieve all Payment Instruments associated with an Instrument Identifier
127115

128116
InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi();
129117
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
130-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
131-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
132118
String tokenId = "tokenId_example"; // String | The TokenId of an Instrument Identifier.
133-
String clientApplication = "clientApplication_example"; // String | Client application name
134119
Long offset = 0L; // Long | Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0.
135120
Long limit = 20L; // Long | The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
136121
try {
137-
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response result = apiInstance.getAllPaymentInstruments(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication, offset, limit);
122+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response result = apiInstance.getAllPaymentInstruments(profileId, tokenId, offset, limit);
138123
System.out.println(result);
139124
} catch (ApiException e) {
140125
System.err.println("Exception when calling InstrumentIdentifierApi#getAllPaymentInstruments");
@@ -147,10 +132,7 @@ try {
147132
Name | Type | Description | Notes
148133
------------- | ------------- | ------------- | -------------
149134
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
150-
**vCMerchantId** | **String**| CyberSource merchant id. |
151-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
152135
**tokenId** | **String**| The TokenId of an Instrument Identifier. |
153-
**clientApplication** | **String**| Client application name | [optional]
154136
**offset** | **Long**| Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. | [optional] [default to 0]
155137
**limit** | **Long**| The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. | [optional] [default to 20]
156138

@@ -169,7 +151,7 @@ No authorization required
169151

170152
<a name="getInstrumentIdentifier"></a>
171153
# **getInstrumentIdentifier**
172-
> TmsV1InstrumentIdentifiersPost200Response getInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication)
154+
> TmsV1InstrumentIdentifiersPost200Response getInstrumentIdentifier(profileId, tokenId)
173155
174156
Retrieve an Instrument Identifier
175157

@@ -182,12 +164,9 @@ Retrieve an Instrument Identifier
182164

183165
InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi();
184166
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
185-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
186-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
187167
String tokenId = "tokenId_example"; // String | The TokenId of an Instrument Identifier.
188-
String clientApplication = "clientApplication_example"; // String | Client application name
189168
try {
190-
TmsV1InstrumentIdentifiersPost200Response result = apiInstance.getInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication);
169+
TmsV1InstrumentIdentifiersPost200Response result = apiInstance.getInstrumentIdentifier(profileId, tokenId);
191170
System.out.println(result);
192171
} catch (ApiException e) {
193172
System.err.println("Exception when calling InstrumentIdentifierApi#getInstrumentIdentifier");
@@ -200,10 +179,7 @@ try {
200179
Name | Type | Description | Notes
201180
------------- | ------------- | ------------- | -------------
202181
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
203-
**vCMerchantId** | **String**| CyberSource merchant id. |
204-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
205182
**tokenId** | **String**| The TokenId of an Instrument Identifier. |
206-
**clientApplication** | **String**| Client application name | [optional]
207183

208184
### Return type
209185

@@ -220,7 +196,7 @@ No authorization required
220196

221197
<a name="updateInstrumentIdentifier"></a>
222198
# **updateInstrumentIdentifier**
223-
> TmsV1InstrumentIdentifiersPost200Response updateInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, tokenId, updateInstrumentIdentifierRequest, clientApplication)
199+
> TmsV1InstrumentIdentifiersPost200Response updateInstrumentIdentifier(profileId, tokenId, updateInstrumentIdentifierRequest)
224200
225201
Update a Instrument Identifier
226202

@@ -233,13 +209,10 @@ Update a Instrument Identifier
233209

234210
InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi();
235211
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
236-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
237-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
238212
String tokenId = "tokenId_example"; // String | The TokenId of an Instrument Identifier.
239213
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest = new UpdateInstrumentIdentifierRequest(); // UpdateInstrumentIdentifierRequest | Specify the previous transaction ID to update.
240-
String clientApplication = "clientApplication_example"; // String | Client application name
241214
try {
242-
TmsV1InstrumentIdentifiersPost200Response result = apiInstance.updateInstrumentIdentifier(profileId, vCMerchantId, vCCorrelationId, tokenId, updateInstrumentIdentifierRequest, clientApplication);
215+
TmsV1InstrumentIdentifiersPost200Response result = apiInstance.updateInstrumentIdentifier(profileId, tokenId, updateInstrumentIdentifierRequest);
243216
System.out.println(result);
244217
} catch (ApiException e) {
245218
System.err.println("Exception when calling InstrumentIdentifierApi#updateInstrumentIdentifier");
@@ -252,11 +225,8 @@ try {
252225
Name | Type | Description | Notes
253226
------------- | ------------- | ------------- | -------------
254227
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
255-
**vCMerchantId** | **String**| CyberSource merchant id. |
256-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
257228
**tokenId** | **String**| The TokenId of an Instrument Identifier. |
258229
**updateInstrumentIdentifierRequest** | [**UpdateInstrumentIdentifierRequest**](UpdateInstrumentIdentifierRequest.md)| Specify the previous transaction ID to update. |
259-
**clientApplication** | **String**| Client application name | [optional]
260230

261231
### Return type
262232

docs/PaymentInstrumentApi.md

Lines changed: 8 additions & 32 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, vCMerchantId, vCCorrelationId, createPaymentInstrumentRequest, clientApplication)
15+
> TmsV1PaymentinstrumentsPatch200Response createPaymentInstrument(profileId, createPaymentInstrumentRequest)
1616
1717
Create a Payment Instrument
1818

@@ -25,12 +25,9 @@ Create a Payment Instrument
2525

2626
PaymentInstrumentApi apiInstance = new PaymentInstrumentApi();
2727
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
28-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
29-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
3028
CreatePaymentInstrumentRequest createPaymentInstrumentRequest = new CreatePaymentInstrumentRequest(); // CreatePaymentInstrumentRequest | Specify the customer's payment details for card or bank account.
31-
String clientApplication = "clientApplication_example"; // String | Client application name
3229
try {
33-
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.createPaymentInstrument(profileId, vCMerchantId, vCCorrelationId, createPaymentInstrumentRequest, clientApplication);
30+
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.createPaymentInstrument(profileId, createPaymentInstrumentRequest);
3431
System.out.println(result);
3532
} catch (ApiException e) {
3633
System.err.println("Exception when calling PaymentInstrumentApi#createPaymentInstrument");
@@ -43,10 +40,7 @@ try {
4340
Name | Type | Description | Notes
4441
------------- | ------------- | ------------- | -------------
4542
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
46-
**vCMerchantId** | **String**| CyberSource merchant id. |
47-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
4843
**createPaymentInstrumentRequest** | [**CreatePaymentInstrumentRequest**](CreatePaymentInstrumentRequest.md)| Specify the customer&#39;s payment details for card or bank account. |
49-
**clientApplication** | **String**| Client application name | [optional]
5044

5145
### Return type
5246

@@ -63,7 +57,7 @@ No authorization required
6357

6458
<a name="deletePaymentInstrument"></a>
6559
# **deletePaymentInstrument**
66-
> deletePaymentInstrument(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication)
60+
> deletePaymentInstrument(profileId, tokenId)
6761
6862
Delete a Payment Instrument
6963

@@ -76,12 +70,9 @@ Delete a Payment Instrument
7670

7771
PaymentInstrumentApi apiInstance = new PaymentInstrumentApi();
7872
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
79-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
80-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
8173
String tokenId = "tokenId_example"; // String | The TokenId of a Payment Instrument.
82-
String clientApplication = "clientApplication_example"; // String | Client application name
8374
try {
84-
apiInstance.deletePaymentInstrument(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication);
75+
apiInstance.deletePaymentInstrument(profileId, tokenId);
8576
} catch (ApiException e) {
8677
System.err.println("Exception when calling PaymentInstrumentApi#deletePaymentInstrument");
8778
e.printStackTrace();
@@ -93,10 +84,7 @@ try {
9384
Name | Type | Description | Notes
9485
------------- | ------------- | ------------- | -------------
9586
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
96-
**vCMerchantId** | **String**| CyberSource merchant id. |
97-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
9887
**tokenId** | **String**| The TokenId of a Payment Instrument. |
99-
**clientApplication** | **String**| Client application name | [optional]
10088

10189
### Return type
10290

@@ -113,7 +101,7 @@ No authorization required
113101

114102
<a name="getPaymentInstrument"></a>
115103
# **getPaymentInstrument**
116-
> TmsV1PaymentinstrumentsPatch200Response getPaymentInstrument(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication)
104+
> TmsV1PaymentinstrumentsPatch200Response getPaymentInstrument(profileId, tokenId)
117105
118106
Retrieve a Payment Instrument
119107

@@ -126,12 +114,9 @@ Retrieve a Payment Instrument
126114

127115
PaymentInstrumentApi apiInstance = new PaymentInstrumentApi();
128116
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
129-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
130-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
131117
String tokenId = "tokenId_example"; // String | The TokenId of a Payment Instrument.
132-
String clientApplication = "clientApplication_example"; // String | Client application name
133118
try {
134-
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.getPaymentInstrument(profileId, vCMerchantId, vCCorrelationId, tokenId, clientApplication);
119+
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.getPaymentInstrument(profileId, tokenId);
135120
System.out.println(result);
136121
} catch (ApiException e) {
137122
System.err.println("Exception when calling PaymentInstrumentApi#getPaymentInstrument");
@@ -144,10 +129,7 @@ try {
144129
Name | Type | Description | Notes
145130
------------- | ------------- | ------------- | -------------
146131
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
147-
**vCMerchantId** | **String**| CyberSource merchant id. |
148-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
149132
**tokenId** | **String**| The TokenId of a Payment Instrument. |
150-
**clientApplication** | **String**| Client application name | [optional]
151133

152134
### Return type
153135

@@ -164,7 +146,7 @@ No authorization required
164146

165147
<a name="updatePaymentInstrument"></a>
166148
# **updatePaymentInstrument**
167-
> TmsV1PaymentinstrumentsPatch200Response updatePaymentInstrument(profileId, vCMerchantId, vCCorrelationId, tokenId, updatePaymentInstrumentRequest, clientApplication)
149+
> TmsV1PaymentinstrumentsPatch200Response updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest)
168150
169151
Update a Payment Instrument
170152

@@ -177,13 +159,10 @@ Update a Payment Instrument
177159

178160
PaymentInstrumentApi apiInstance = new PaymentInstrumentApi();
179161
String profileId = "profileId_example"; // String | The id of a profile containing user specific TMS configuration.
180-
String vCMerchantId = "vCMerchantId_example"; // String | CyberSource merchant id.
181-
String vCCorrelationId = "vCCorrelationId_example"; // String | The mandatory correlation id passed by upstream (calling) system.
182162
String tokenId = "tokenId_example"; // String | The TokenId of a Payment Instrument.
183163
UpdatePaymentInstrumentRequest updatePaymentInstrumentRequest = new UpdatePaymentInstrumentRequest(); // UpdatePaymentInstrumentRequest | Specify the customer's payment details.
184-
String clientApplication = "clientApplication_example"; // String | Client application name
185164
try {
186-
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.updatePaymentInstrument(profileId, vCMerchantId, vCCorrelationId, tokenId, updatePaymentInstrumentRequest, clientApplication);
165+
TmsV1PaymentinstrumentsPatch200Response result = apiInstance.updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest);
187166
System.out.println(result);
188167
} catch (ApiException e) {
189168
System.err.println("Exception when calling PaymentInstrumentApi#updatePaymentInstrument");
@@ -196,11 +175,8 @@ try {
196175
Name | Type | Description | Notes
197176
------------- | ------------- | ------------- | -------------
198177
**profileId** | **String**| The id of a profile containing user specific TMS configuration. |
199-
**vCMerchantId** | **String**| CyberSource merchant id. |
200-
**vCCorrelationId** | **String**| The mandatory correlation id passed by upstream (calling) system. |
201178
**tokenId** | **String**| The TokenId of a Payment Instrument. |
202179
**updatePaymentInstrumentRequest** | [**UpdatePaymentInstrumentRequest**](UpdatePaymentInstrumentRequest.md)| Specify the customer&#39;s payment details. |
203-
**clientApplication** | **String**| Client application name | [optional]
204180

205181
### Return type
206182

0 commit comments

Comments
 (0)