Skip to content

Commit 13fc06d

Browse files
authored
Merge pull request #131 from CyberSource/june-release
June release
2 parents 4f48a18 + 30256a4 commit 13fc06d

File tree

43 files changed

+3277
-230
lines changed

Some content is hidden

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

43 files changed

+3277
-230
lines changed

docs/Api/PlansApi.md

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

1616

1717
# **activatePlan**
18-
> \CyberSource\Model\InlineResponse2004 activatePlan($id, $activatePlanRequest)
18+
> \CyberSource\Model\InlineResponse2004 activatePlan($id)
1919
2020
Activate a Plan
2121

@@ -28,10 +28,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828

2929
$api_instance = new CyberSource\Api\PlansApi();
3030
$id = "id_example"; // string | Plan Id
31-
$activatePlanRequest = NULL; // object |
3231

3332
try {
34-
$result = $api_instance->activatePlan($id, $activatePlanRequest);
33+
$result = $api_instance->activatePlan($id);
3534
print_r($result);
3635
} catch (Exception $e) {
3736
echo 'Exception when calling PlansApi->activatePlan: ', $e->getMessage(), PHP_EOL;
@@ -44,7 +43,6 @@ try {
4443
Name | Type | Description | Notes
4544
------------- | ------------- | ------------- | -------------
4645
**id** | **string**| Plan Id |
47-
**activatePlanRequest** | **object**| | [optional]
4846

4947
### Return type
5048

@@ -57,7 +55,7 @@ No authorization required
5755
### HTTP request headers
5856

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

6260
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
6361

@@ -102,12 +100,12 @@ No authorization required
102100
### HTTP request headers
103101

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

107105
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
108106

109107
# **deactivatePlan**
110-
> \CyberSource\Model\InlineResponse2004 deactivatePlan($id, $deactivatePlanRequest)
108+
> \CyberSource\Model\InlineResponse2004 deactivatePlan($id)
111109
112110
Deactivate a Plan
113111

@@ -120,10 +118,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
120118

121119
$api_instance = new CyberSource\Api\PlansApi();
122120
$id = "id_example"; // string | Plan Id
123-
$deactivatePlanRequest = NULL; // object |
124121

125122
try {
126-
$result = $api_instance->deactivatePlan($id, $deactivatePlanRequest);
123+
$result = $api_instance->deactivatePlan($id);
127124
print_r($result);
128125
} catch (Exception $e) {
129126
echo 'Exception when calling PlansApi->deactivatePlan: ', $e->getMessage(), PHP_EOL;
@@ -136,7 +133,6 @@ try {
136133
Name | Type | Description | Notes
137134
------------- | ------------- | ------------- | -------------
138135
**id** | **string**| Plan Id |
139-
**deactivatePlanRequest** | **object**| | [optional]
140136

141137
### Return type
142138

@@ -149,7 +145,7 @@ No authorization required
149145
### HTTP request headers
150146

151147
- **Content-Type**: application/json;charset=utf-8
152-
- **Accept**: application/hal+json;charset=utf-8
148+
- **Accept**: application/json;charset=utf-8
153149

154150
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
155151

@@ -194,7 +190,7 @@ No authorization required
194190
### HTTP request headers
195191

196192
- **Content-Type**: application/json;charset=utf-8
197-
- **Accept**: application/hal+json;charset=utf-8
193+
- **Accept**: application/json;charset=utf-8
198194

199195
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
200196

@@ -239,7 +235,7 @@ No authorization required
239235
### HTTP request headers
240236

241237
- **Content-Type**: application/json;charset=utf-8
242-
- **Accept**: application/hal+json;charset=utf-8
238+
- **Accept**: application/json;charset=utf-8
243239

244240
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
245241

@@ -280,7 +276,7 @@ No authorization required
280276
### HTTP request headers
281277

282278
- **Content-Type**: application/json;charset=utf-8
283-
- **Accept**: application/hal+json;charset=utf-8
279+
- **Accept**: application/json;charset=utf-8
284280

285281
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
286282

@@ -333,7 +329,7 @@ No authorization required
333329
### HTTP request headers
334330

335331
- **Content-Type**: application/json;charset=utf-8
336-
- **Accept**: application/hal+json;charset=utf-8
332+
- **Accept**: application/json;charset=utf-8
337333

338334
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
339335

@@ -380,7 +376,7 @@ No authorization required
380376
### HTTP request headers
381377

382378
- **Content-Type**: application/json;charset=utf-8
383-
- **Accept**: application/hal+json;charset=utf-8
379+
- **Accept**: application/json;charset=utf-8
384380

385381
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
386382

docs/Api/SubscriptionsApi.md

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

1616

1717
# **activateSubscription**
18-
> \CyberSource\Model\InlineResponse2009 activateSubscription($id, $activateSubscriptionRequest)
18+
> \CyberSource\Model\InlineResponse2009 activateSubscription($id)
1919
2020
Activate a Subscription
2121

@@ -28,10 +28,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828

2929
$api_instance = new CyberSource\Api\SubscriptionsApi();
3030
$id = "id_example"; // string | Subscription Id
31-
$activateSubscriptionRequest = NULL; // object |
3231

3332
try {
34-
$result = $api_instance->activateSubscription($id, $activateSubscriptionRequest);
33+
$result = $api_instance->activateSubscription($id);
3534
print_r($result);
3635
} catch (Exception $e) {
3736
echo 'Exception when calling SubscriptionsApi->activateSubscription: ', $e->getMessage(), PHP_EOL;
@@ -44,7 +43,6 @@ try {
4443
Name | Type | Description | Notes
4544
------------- | ------------- | ------------- | -------------
4645
**id** | **string**| Subscription Id |
47-
**activateSubscriptionRequest** | **object**| | [optional]
4846

4947
### Return type
5048

@@ -57,12 +55,12 @@ No authorization required
5755
### HTTP request headers
5856

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

6260
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
6361

6462
# **cancelSubscription**
65-
> \CyberSource\Model\InlineResponse202 cancelSubscription($id, $cancelSubscriptionRequest)
63+
> \CyberSource\Model\InlineResponse202 cancelSubscription($id)
6664
6765
Cancel a Subscription
6866

@@ -75,10 +73,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
7573

7674
$api_instance = new CyberSource\Api\SubscriptionsApi();
7775
$id = "id_example"; // string | Subscription Id
78-
$cancelSubscriptionRequest = NULL; // object |
7976

8077
try {
81-
$result = $api_instance->cancelSubscription($id, $cancelSubscriptionRequest);
78+
$result = $api_instance->cancelSubscription($id);
8279
print_r($result);
8380
} catch (Exception $e) {
8481
echo 'Exception when calling SubscriptionsApi->cancelSubscription: ', $e->getMessage(), PHP_EOL;
@@ -91,7 +88,6 @@ try {
9188
Name | Type | Description | Notes
9289
------------- | ------------- | ------------- | -------------
9390
**id** | **string**| Subscription Id |
94-
**cancelSubscriptionRequest** | **object**| | [optional]
9591

9692
### Return type
9793

@@ -104,7 +100,7 @@ No authorization required
104100
### HTTP request headers
105101

106102
- **Content-Type**: application/json;charset=utf-8
107-
- **Accept**: application/hal+json;charset=utf-8
103+
- **Accept**: application/json;charset=utf-8
108104

109105
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
110106

@@ -149,7 +145,7 @@ No authorization required
149145
### HTTP request headers
150146

151147
- **Content-Type**: application/json;charset=utf-8
152-
- **Accept**: application/hal+json;charset=utf-8
148+
- **Accept**: application/json;charset=utf-8
153149

154150
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
155151

@@ -200,7 +196,7 @@ No authorization required
200196
### HTTP request headers
201197

202198
- **Content-Type**: application/json;charset=utf-8
203-
- **Accept**: application/hal+json;charset=utf-8
199+
- **Accept**: application/json;charset=utf-8
204200

205201
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
206202

@@ -245,7 +241,7 @@ No authorization required
245241
### HTTP request headers
246242

247243
- **Content-Type**: application/json;charset=utf-8
248-
- **Accept**: application/hal+json;charset=utf-8
244+
- **Accept**: application/json;charset=utf-8
249245

250246
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
251247

@@ -286,12 +282,12 @@ No authorization required
286282
### HTTP request headers
287283

288284
- **Content-Type**: application/json;charset=utf-8
289-
- **Accept**: application/hal+json;charset=utf-8
285+
- **Accept**: application/json;charset=utf-8
290286

291287
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
292288

293289
# **suspendSubscription**
294-
> \CyberSource\Model\InlineResponse2021 suspendSubscription($id, $suspendSubscriptionRequest)
290+
> \CyberSource\Model\InlineResponse2021 suspendSubscription($id)
295291
296292
Suspend a Subscription
297293

@@ -304,10 +300,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
304300

305301
$api_instance = new CyberSource\Api\SubscriptionsApi();
306302
$id = "id_example"; // string | Subscription Id
307-
$suspendSubscriptionRequest = NULL; // object |
308303

309304
try {
310-
$result = $api_instance->suspendSubscription($id, $suspendSubscriptionRequest);
305+
$result = $api_instance->suspendSubscription($id);
311306
print_r($result);
312307
} catch (Exception $e) {
313308
echo 'Exception when calling SubscriptionsApi->suspendSubscription: ', $e->getMessage(), PHP_EOL;
@@ -320,7 +315,6 @@ try {
320315
Name | Type | Description | Notes
321316
------------- | ------------- | ------------- | -------------
322317
**id** | **string**| Subscription Id |
323-
**suspendSubscriptionRequest** | **object**| | [optional]
324318

325319
### Return type
326320

@@ -333,7 +327,7 @@ No authorization required
333327
### HTTP request headers
334328

335329
- **Content-Type**: application/json;charset=utf-8
336-
- **Accept**: application/hal+json;charset=utf-8
330+
- **Accept**: application/json;charset=utf-8
337331

338332
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
339333

@@ -380,7 +374,7 @@ No authorization required
380374
### HTTP request headers
381375

382376
- **Content-Type**: application/json;charset=utf-8
383-
- **Accept**: application/hal+json;charset=utf-8
377+
- **Accept**: application/json;charset=utf-8
384378

385379
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
386380

docs/Model/PtsV2PaymentsPost201Response.md

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

2829
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# PtsV2PaymentsPost201ResponseEmbeddedActions
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**cAPTURE** | [**\CyberSource\Model\PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE**](PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.md) | | [optional]
7+
**dECISION** | [**\CyberSource\Model\PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION**](PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.md) | | [optional]
8+
**cONSUMERAUTHENTICATION** | [**\CyberSource\Model\PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
9+
**vALIDATECONSUMERAUTHENTICATION** | [**\CyberSource\Model\PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
10+
**wATCHLISTSCREENING** | [**\CyberSource\Model\PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING**](PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md) | | [optional]
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **string** | The status of the submitted transaction. Possible values: - PENDING | [optional]
7+
**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]
8+
**message** | **string** | The detail message related to the status and reason listed above. | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **string** | The status for payerAuthentication 201 enroll and validate calls. Possible values are: - `AUTHENTICATION_SUCCESSFUL` - `PENDING_AUTHENTICATION` - `INVALID_REQUEST` - `AUTHENTICATION_FAILED` | [optional]
7+
**reason** | **string** | The reason of the status. Possible values are: - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_REQUIRED` - `CONSUMER_AUTHENTICATION_FAILED` - `AUTHENTICATION_FAILED` | [optional]
8+
**message** | **string** | The message describing the reason of the status. Value is: - Encountered a Payer Authentication problem. Payer could not be authenticated. | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **string** | The status of the submitted transaction. Possible values: - `ACCEPTED` - `REJECTED` - `PENDING_REVIEW` - `DECLINED` - `PENDING_AUTHENTICATION` - `INVALID_REQUEST` - `AUTHENTICATION_FAILED` - `CHALLENGE` | [optional]
7+
**reason** | **string** | The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` | [optional]
8+
**message** | **string** | The detail message related to the status and reason listed above. | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **string** | The status for the call can be: - COMPLETED - INVALID_REQUEST - DECLINED | [optional]
7+
**reason** | **string** | The reason of the status. Value can be - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` - `INVALID_MERCHANT_CONFIGURATION` | [optional]
8+
**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]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

0 commit comments

Comments
 (0)