Skip to content

Commit bae3953

Browse files
authored
Merge pull request #128 from CyberSource/june-release
June release
2 parents b36014a + 47ac6f2 commit bae3953

File tree

88 files changed

+2855
-628
lines changed

Some content is hidden

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

88 files changed

+2855
-628
lines changed

docs/PlansApi.md

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

1717
<a name="activatePlan"></a>
1818
# **activatePlan**
19-
> InlineResponse2004 activatePlan(id, activatePlanRequest)
19+
> InlineResponse2004 activatePlan(id)
2020
2121
Activate a Plan
2222

@@ -31,9 +31,8 @@ Activate a Plan
3131

3232
PlansApi apiInstance = new PlansApi();
3333
String id = "id_example"; // String | Plan Id
34-
Object activatePlanRequest = null; // Object |
3534
try {
36-
InlineResponse2004 result = apiInstance.activatePlan(id, activatePlanRequest);
35+
InlineResponse2004 result = apiInstance.activatePlan(id);
3736
System.out.println(result);
3837
} catch (ApiException e) {
3938
System.err.println("Exception when calling PlansApi#activatePlan");
@@ -46,7 +45,6 @@ try {
4645
Name | Type | Description | Notes
4746
------------- | ------------- | ------------- | -------------
4847
**id** | **String**| Plan Id |
49-
**activatePlanRequest** | **Object**| | [optional]
5048

5149
### Return type
5250

@@ -59,7 +57,7 @@ No authorization required
5957
### HTTP request headers
6058

6159
- **Content-Type**: application/json;charset=utf-8
62-
- **Accept**: application/hal+json;charset=utf-8
60+
- **Accept**: application/json;charset=utf-8
6361

6462
<a name="createPlan"></a>
6563
# **createPlan**
@@ -104,11 +102,11 @@ No authorization required
104102
### HTTP request headers
105103

106104
- **Content-Type**: application/json;charset=utf-8
107-
- **Accept**: application/hal+json;charset=utf-8
105+
- **Accept**: application/json;charset=utf-8
108106

109107
<a name="deactivatePlan"></a>
110108
# **deactivatePlan**
111-
> InlineResponse2004 deactivatePlan(id, deactivatePlanRequest)
109+
> InlineResponse2004 deactivatePlan(id)
112110
113111
Deactivate a Plan
114112

@@ -123,9 +121,8 @@ Deactivate a Plan
123121

124122
PlansApi apiInstance = new PlansApi();
125123
String id = "id_example"; // String | Plan Id
126-
Object deactivatePlanRequest = null; // Object |
127124
try {
128-
InlineResponse2004 result = apiInstance.deactivatePlan(id, deactivatePlanRequest);
125+
InlineResponse2004 result = apiInstance.deactivatePlan(id);
129126
System.out.println(result);
130127
} catch (ApiException e) {
131128
System.err.println("Exception when calling PlansApi#deactivatePlan");
@@ -138,7 +135,6 @@ try {
138135
Name | Type | Description | Notes
139136
------------- | ------------- | ------------- | -------------
140137
**id** | **String**| Plan Id |
141-
**deactivatePlanRequest** | **Object**| | [optional]
142138

143139
### Return type
144140

@@ -151,7 +147,7 @@ No authorization required
151147
### HTTP request headers
152148

153149
- **Content-Type**: application/json;charset=utf-8
154-
- **Accept**: application/hal+json;charset=utf-8
150+
- **Accept**: application/json;charset=utf-8
155151

156152
<a name="deletePlan"></a>
157153
# **deletePlan**
@@ -196,7 +192,7 @@ No authorization required
196192
### HTTP request headers
197193

198194
- **Content-Type**: application/json;charset=utf-8
199-
- **Accept**: application/hal+json;charset=utf-8
195+
- **Accept**: application/json;charset=utf-8
200196

201197
<a name="getPlan"></a>
202198
# **getPlan**
@@ -241,7 +237,7 @@ No authorization required
241237
### HTTP request headers
242238

243239
- **Content-Type**: application/json;charset=utf-8
244-
- **Accept**: application/hal+json;charset=utf-8
240+
- **Accept**: application/json;charset=utf-8
245241

246242
<a name="getPlanCode"></a>
247243
# **getPlanCode**
@@ -282,7 +278,7 @@ No authorization required
282278
### HTTP request headers
283279

284280
- **Content-Type**: application/json;charset=utf-8
285-
- **Accept**: application/hal+json;charset=utf-8
281+
- **Accept**: application/json;charset=utf-8
286282

287283
<a name="getPlans"></a>
288284
# **getPlans**
@@ -335,7 +331,7 @@ No authorization required
335331
### HTTP request headers
336332

337333
- **Content-Type**: application/json;charset=utf-8
338-
- **Accept**: application/hal+json;charset=utf-8
334+
- **Accept**: application/json;charset=utf-8
339335

340336
<a name="updatePlan"></a>
341337
# **updatePlan**
@@ -382,5 +378,5 @@ No authorization required
382378
### HTTP request headers
383379

384380
- **Content-Type**: application/json;charset=utf-8
385-
- **Accept**: application/hal+json;charset=utf-8
381+
- **Accept**: application/json;charset=utf-8
386382

docs/PtsV2PaymentsPost201Response.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
2424
**buyerInformation** | [**PtsV2PaymentsPost201ResponseBuyerInformation**](PtsV2PaymentsPost201ResponseBuyerInformation.md) | | [optional]
2525
**riskInformation** | [**PtsV2PaymentsPost201ResponseRiskInformation**](PtsV2PaymentsPost201ResponseRiskInformation.md) | | [optional]
2626
**consumerAuthenticationInformation** | [**PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation**](PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md) | | [optional]
27+
**embeddedActions** | [**PtsV2PaymentsPost201ResponseEmbeddedActions**](PtsV2PaymentsPost201ResponseEmbeddedActions.md) | | [optional]
2728
**watchlistScreeningInformation** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformation**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md) | | [optional]
2829

2930

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# PtsV2PaymentsPost201ResponseEmbeddedActions
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**CAPTURE** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE**](PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.md) | | [optional]
8+
**DECISION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION**](PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.md) | | [optional]
9+
**CONSUMER_AUTHENTICATION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
10+
**VALIDATE_CONSUMER_AUTHENTICATION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
11+
**WATCHLIST_SCREENING** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING**](PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md) | | [optional]
12+
13+
14+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | **String** | The status of the submitted transaction. Possible values: - PENDING | [optional]
8+
**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED | [optional]
9+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
10+
11+
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | **String** | The status for payerAuthentication 201 enroll and validate calls. Possible values are: - &#x60;AUTHENTICATION_SUCCESSFUL&#x60; - &#x60;PENDING_AUTHENTICATION&#x60; - &#x60;INVALID_REQUEST&#x60; - &#x60;AUTHENTICATION_FAILED&#x60; | [optional]
8+
**reason** | **String** | The reason of the status. Possible values are: - &#x60;INVALID_MERCHANT_CONFIGURATION&#x60; - &#x60;CONSUMER_AUTHENTICATION_REQUIRED&#x60; - &#x60;CONSUMER_AUTHENTICATION_FAILED&#x60; - &#x60;AUTHENTICATION_FAILED&#x60; | [optional]
9+
**message** | **String** | The message describing the reason of the status. Value is: - Encountered a Payer Authentication problem. Payer could not be authenticated. | [optional]
10+
11+
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | **String** | The status of the submitted transaction. Possible values: - &#x60;ACCEPTED&#x60; - &#x60;REJECTED&#x60; - &#x60;PENDING_REVIEW&#x60; - &#x60;DECLINED&#x60; - &#x60;PENDING_AUTHENTICATION&#x60; - &#x60;INVALID_REQUEST&#x60; - &#x60;AUTHENTICATION_FAILED&#x60; - &#x60;CHALLENGE&#x60; | [optional]
8+
**reason** | **String** | The reason of the status. Possible values: - &#x60;EXPIRED_CARD&#x60; - &#x60;SCORE_EXCEEDS_THRESHOLD&#x60; - &#x60;DECISION_PROFILE_REVIEW&#x60; - &#x60;DECISION_PROFILE_REJECT&#x60; - &#x60;CONSUMER_AUTHENTICATION_REQUIRED&#x60; - &#x60;INVALID_MERCHANT_CONFIGURATION&#x60; - &#x60;CONSUMER_AUTHENTICATION_FAILED&#x60; - &#x60;DECISION_PROFILE_CHALLENGE&#x60; - &#x60;CUSTOMER_WATCHLIST_MATCH&#x60; - &#x60;ADDRESS_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;EMAIL_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;IP_COUNTRY_WATCHLIST_MATCH&#x60; | [optional]
9+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
10+
11+
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | **String** | The status for the call can be: - COMPLETED - INVALID_REQUEST - DECLINED | [optional]
8+
**reason** | **String** | The reason of the status. Value can be - &#x60;CUSTOMER_WATCHLIST_MATCH&#x60; - &#x60;ADDRESS_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;EMAIL_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;IP_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;INVALID_MERCHANT_CONFIGURATION&#x60; | [optional]
9+
**message** | **String** | The message describing the reason of the status. Value can be - The customer matched the Denied Parties List - The Export bill_country/ship_country match - Export email_country match - Export hostname_country/ip_country match | [optional]
10+
11+
12+

docs/Ptsv2paymentsProcessingInformation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**actionList** | **List&lt;String&gt;** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - &#x60;DECISION_SKIP&#x60;: Use this when you want to skip Decision Manager service(s). - &#x60;TOKEN_CREATE&#x60;: Use this when you want to create a token from the card/bank data in your payment request. - &#x60;CONSUMER_AUTHENTICATION&#x60;: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - &#x60;VALIDATE_CONSUMER_AUTHENTICATION&#x60;: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - &#x60;AP_INITIATE&#x60;: Use this when Alternative Payment Initiate service is requested. - &#x60;WATCHLIST_SCREENING&#x60; : Use this when you want to call Watchlist Screening service. | [optional]
7+
**actionList** | **List&lt;String&gt;** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - &#x60;DECISION_SKIP&#x60;: Use this when you want to skip Decision Manager service(s). - &#x60;TOKEN_CREATE&#x60;: Use this when you want to create a token from the card/bank data in your payment request. - &#x60;CONSUMER_AUTHENTICATION&#x60;: Use this when you want to check if a card is enrolled in Payer Authentication along with your payment request. - &#x60;VALIDATE_CONSUMER_AUTHENTICATION&#x60;: Use this after you acquire a Payer Authentication result that needs to be included for your payment request. - &#x60;AP_INITIATE&#x60;: Use this when Alternative Payment Initiate service is requested. - &#x60;WATCHLIST_SCREENING&#x60; : Use this when you want to call Watchlist Screening service. | [optional]
88
**enableEscrowOption** | **Boolean** | Indicates whether to use the customer’s escrow agreement. Possible values: - &#x60;true&#x60;: yes, use the customer’s escrow agreement. - &#x60;false&#x60;: no, do not use the customer’s escrow agreement. | [optional]
99
**actionTokenTypes** | **List&lt;String&gt;** | CyberSource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Valid values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress | [optional]
1010
**binSource** | **String** | Bin Source File Identifier. Possible values: - itmx - rupay | [optional]

docs/Ptsv2paymentsRecipientInformation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**lastName** | **String** | Recipient’s last name. This field is a _passthrough_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the &#x60;recipient_lastname&#x60; field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
99
**middleName** | **String** | Recipient’s middle name. This field is a _passthrough_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the &#x60;recipient_middlename&#x60; field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
1010
**postalCode** | **String** | Partial postal code for the recipient’s address. For example, if the postal code is **NN5 7SG**, the value for this field should be the first part of the postal code: **NN5**. This field is a _pass-through_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the &#x60;recipient_postal_code&#x60; field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
11+
**dateOfBirth** | **String** | Recipient’s date of birth. **Format**: &#x60;YYYYMMDD&#x60;. This field is a &#x60;pass-through&#x60;, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For more details, see &#x60;recipient_date_of_birth&#x60; field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
1112

1213

1314

docs/SubscriptionsApi.md

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616

1717
<a name="activateSubscription"></a>
1818
# **activateSubscription**
19-
> InlineResponse2009 activateSubscription(id, activateSubscriptionRequest)
19+
> InlineResponse2009 activateSubscription(id)
2020
2121
Activate a Subscription
2222

@@ -31,9 +31,8 @@ Activate a &#x60;CANCELLED&#x60; Or &#x60;SUSPENDED&#x60; Subscription
3131

3232
SubscriptionsApi apiInstance = new SubscriptionsApi();
3333
String id = "id_example"; // String | Subscription Id
34-
Object activateSubscriptionRequest = null; // Object |
3534
try {
36-
InlineResponse2009 result = apiInstance.activateSubscription(id, activateSubscriptionRequest);
35+
InlineResponse2009 result = apiInstance.activateSubscription(id);
3736
System.out.println(result);
3837
} catch (ApiException e) {
3938
System.err.println("Exception when calling SubscriptionsApi#activateSubscription");
@@ -46,7 +45,6 @@ try {
4645
Name | Type | Description | Notes
4746
------------- | ------------- | ------------- | -------------
4847
**id** | **String**| Subscription Id |
49-
**activateSubscriptionRequest** | **Object**| | [optional]
5048

5149
### Return type
5250

@@ -59,11 +57,11 @@ No authorization required
5957
### HTTP request headers
6058

6159
- **Content-Type**: application/json;charset=utf-8
62-
- **Accept**: application/hal+json;charset=utf-8
60+
- **Accept**: application/json;charset=utf-8
6361

6462
<a name="cancelSubscription"></a>
6563
# **cancelSubscription**
66-
> InlineResponse202 cancelSubscription(id, cancelSubscriptionRequest)
64+
> InlineResponse202 cancelSubscription(id)
6765
6866
Cancel a Subscription
6967

@@ -78,9 +76,8 @@ Cancel a Subscription
7876

7977
SubscriptionsApi apiInstance = new SubscriptionsApi();
8078
String id = "id_example"; // String | Subscription Id
81-
Object cancelSubscriptionRequest = null; // Object |
8279
try {
83-
InlineResponse202 result = apiInstance.cancelSubscription(id, cancelSubscriptionRequest);
80+
InlineResponse202 result = apiInstance.cancelSubscription(id);
8481
System.out.println(result);
8582
} catch (ApiException e) {
8683
System.err.println("Exception when calling SubscriptionsApi#cancelSubscription");
@@ -93,7 +90,6 @@ try {
9390
Name | Type | Description | Notes
9491
------------- | ------------- | ------------- | -------------
9592
**id** | **String**| Subscription Id |
96-
**cancelSubscriptionRequest** | **Object**| | [optional]
9793

9894
### Return type
9995

@@ -106,7 +102,7 @@ No authorization required
106102
### HTTP request headers
107103

108104
- **Content-Type**: application/json;charset=utf-8
109-
- **Accept**: application/hal+json;charset=utf-8
105+
- **Accept**: application/json;charset=utf-8
110106

111107
<a name="createSubscription"></a>
112108
# **createSubscription**
@@ -151,7 +147,7 @@ No authorization required
151147
### HTTP request headers
152148

153149
- **Content-Type**: application/json;charset=utf-8
154-
- **Accept**: application/hal+json;charset=utf-8
150+
- **Accept**: application/json;charset=utf-8
155151

156152
<a name="getAllSubscriptions"></a>
157153
# **getAllSubscriptions**
@@ -202,7 +198,7 @@ No authorization required
202198
### HTTP request headers
203199

204200
- **Content-Type**: application/json;charset=utf-8
205-
- **Accept**: application/hal+json;charset=utf-8
201+
- **Accept**: application/json;charset=utf-8
206202

207203
<a name="getSubscription"></a>
208204
# **getSubscription**
@@ -247,7 +243,7 @@ No authorization required
247243
### HTTP request headers
248244

249245
- **Content-Type**: application/json;charset=utf-8
250-
- **Accept**: application/hal+json;charset=utf-8
246+
- **Accept**: application/json;charset=utf-8
251247

252248
<a name="getSubscriptionCode"></a>
253249
# **getSubscriptionCode**
@@ -288,11 +284,11 @@ No authorization required
288284
### HTTP request headers
289285

290286
- **Content-Type**: application/json;charset=utf-8
291-
- **Accept**: application/hal+json;charset=utf-8
287+
- **Accept**: application/json;charset=utf-8
292288

293289
<a name="suspendSubscription"></a>
294290
# **suspendSubscription**
295-
> InlineResponse2021 suspendSubscription(id, suspendSubscriptionRequest)
291+
> InlineResponse2021 suspendSubscription(id)
296292
297293
Suspend a Subscription
298294

@@ -307,9 +303,8 @@ Suspend a Subscription
307303

308304
SubscriptionsApi apiInstance = new SubscriptionsApi();
309305
String id = "id_example"; // String | Subscription Id
310-
Object suspendSubscriptionRequest = null; // Object |
311306
try {
312-
InlineResponse2021 result = apiInstance.suspendSubscription(id, suspendSubscriptionRequest);
307+
InlineResponse2021 result = apiInstance.suspendSubscription(id);
313308
System.out.println(result);
314309
} catch (ApiException e) {
315310
System.err.println("Exception when calling SubscriptionsApi#suspendSubscription");
@@ -322,7 +317,6 @@ try {
322317
Name | Type | Description | Notes
323318
------------- | ------------- | ------------- | -------------
324319
**id** | **String**| Subscription Id |
325-
**suspendSubscriptionRequest** | **Object**| | [optional]
326320

327321
### Return type
328322

@@ -335,7 +329,7 @@ No authorization required
335329
### HTTP request headers
336330

337331
- **Content-Type**: application/json;charset=utf-8
338-
- **Accept**: application/hal+json;charset=utf-8
332+
- **Accept**: application/json;charset=utf-8
339333

340334
<a name="updateSubscription"></a>
341335
# **updateSubscription**
@@ -382,5 +376,5 @@ No authorization required
382376
### HTTP request headers
383377

384378
- **Content-Type**: application/json;charset=utf-8
385-
- **Accept**: application/hal+json;charset=utf-8
379+
- **Accept**: application/json;charset=utf-8
386380

0 commit comments

Comments
 (0)