Skip to content

Commit bdaaa57

Browse files
Sep release (#136)
* added changes for Network Tokenization * deleted composer lock file * added caching removed function return type declaration require >=php7.1 * added last modified time check * removed parenthesis from request header * minor fix * sep release
1 parent 8c3d5fa commit bdaaa57

File tree

332 files changed

+13684
-4636
lines changed

Some content is hidden

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

332 files changed

+13684
-4636
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ vendor
22
.php_cs
33
.swagger-codegen-ignore
44
.travis.yml
5-
.swagger-codegen
5+
.swagger-codegen
6+
.idea
7+
*.iml

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"ext-mbstring": "*",
2121
"cache/apcu-adapter": ">=1.1.0",
2222
"firebase/php-jwt": "^6.0.0",
23-
"monolog/monolog": ">=1.25.0"
23+
"monolog/monolog": ">=1.25.0",
24+
"web-token/jwt-framework": "^2.2.11"
2425
},
2526
"require-dev": {
2627
"phpunit/phpunit": "~4.8"

docs/Api/BatchesApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111

1212

1313
# **getBatchReport**
14-
> \CyberSource\Model\InlineResponse20014 getBatchReport($batchId)
14+
> \CyberSource\Model\InlineResponse2004 getBatchReport($batchId)
1515
1616
Retrieve a Batch Report
1717

@@ -42,7 +42,7 @@ Name | Type | Description | Notes
4242

4343
### Return type
4444

45-
[**\CyberSource\Model\InlineResponse20014**](../Model/InlineResponse20014.md)
45+
[**\CyberSource\Model\InlineResponse2004**](../Model/InlineResponse2004.md)
4646

4747
### Authorization
4848

@@ -56,7 +56,7 @@ No authorization required
5656
[[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)
5757

5858
# **getBatchStatus**
59-
> \CyberSource\Model\InlineResponse20013 getBatchStatus($batchId)
59+
> \CyberSource\Model\InlineResponse2003 getBatchStatus($batchId)
6060
6161
Retrieve a Batch Status
6262

@@ -87,7 +87,7 @@ Name | Type | Description | Notes
8787

8888
### Return type
8989

90-
[**\CyberSource\Model\InlineResponse20013**](../Model/InlineResponse20013.md)
90+
[**\CyberSource\Model\InlineResponse2003**](../Model/InlineResponse2003.md)
9191

9292
### Authorization
9393

@@ -101,7 +101,7 @@ No authorization required
101101
[[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)
102102

103103
# **getBatchesList**
104-
> \CyberSource\Model\InlineResponse20012 getBatchesList($offset, $limit, $fromDate, $toDate)
104+
> \CyberSource\Model\InlineResponse2002 getBatchesList($offset, $limit, $fromDate, $toDate)
105105
106106
List Batches
107107

@@ -138,7 +138,7 @@ Name | Type | Description | Notes
138138

139139
### Return type
140140

141-
[**\CyberSource\Model\InlineResponse20012**](../Model/InlineResponse20012.md)
141+
[**\CyberSource\Model\InlineResponse2002**](../Model/InlineResponse2002.md)
142142

143143
### Authorization
144144

@@ -152,7 +152,7 @@ No authorization required
152152
[[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)
153153

154154
# **postBatch**
155-
> \CyberSource\Model\InlineResponse2022 postBatch($body)
155+
> \CyberSource\Model\InlineResponse202 postBatch($body)
156156
157157
Create a Batch
158158

@@ -183,7 +183,7 @@ Name | Type | Description | Notes
183183

184184
### Return type
185185

186-
[**\CyberSource\Model\InlineResponse2022**](../Model/InlineResponse2022.md)
186+
[**\CyberSource\Model\InlineResponse202**](../Model/InlineResponse202.md)
187187

188188
### Authorization
189189

docs/Api/DecisionManagerApi.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,60 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**actionDecisionManagerCase**](DecisionManagerApi.md#actionDecisionManagerCase) | **POST** /risk/v1/decisions/{id}/actions | Take action on a DM post-transactional case
78
[**addNegative**](DecisionManagerApi.md#addNegative) | **POST** /risk/v1/lists/{type}/entries | List Management
9+
[**commentDecisionManagerCase**](DecisionManagerApi.md#commentDecisionManagerCase) | **POST** /risk/v1/decisions/{id}/comments | Add a comment to a DM post-transactional case
810
[**createBundledDecisionManagerCase**](DecisionManagerApi.md#createBundledDecisionManagerCase) | **POST** /risk/v1/decisions | Create Decision Manager
911
[**fraudUpdate**](DecisionManagerApi.md#fraudUpdate) | **POST** /risk/v1/decisions/{id}/marking | Fraud Marking
1012

1113

14+
# **actionDecisionManagerCase**
15+
> \CyberSource\Model\InlineResponse200 actionDecisionManagerCase($id, $caseManagementActionsRequest)
16+
17+
Take action on a DM post-transactional case
18+
19+
Take action on a DM post-transactional case
20+
21+
### Example
22+
```php
23+
<?php
24+
require_once(__DIR__ . '/vendor/autoload.php');
25+
26+
$api_instance = new CyberSource\Api\DecisionManagerApi();
27+
$id = "id_example"; // string | An unique identification number generated by Cybersource to identify the submitted request.
28+
$caseManagementActionsRequest = new \CyberSource\Model\CaseManagementActionsRequest(); // \CyberSource\Model\CaseManagementActionsRequest |
29+
30+
try {
31+
$result = $api_instance->actionDecisionManagerCase($id, $caseManagementActionsRequest);
32+
print_r($result);
33+
} catch (Exception $e) {
34+
echo 'Exception when calling DecisionManagerApi->actionDecisionManagerCase: ', $e->getMessage(), PHP_EOL;
35+
}
36+
?>
37+
```
38+
39+
### Parameters
40+
41+
Name | Type | Description | Notes
42+
------------- | ------------- | ------------- | -------------
43+
**id** | **string**| An unique identification number generated by Cybersource to identify the submitted request. |
44+
**caseManagementActionsRequest** | [**\CyberSource\Model\CaseManagementActionsRequest**](../Model/CaseManagementActionsRequest.md)| |
45+
46+
### Return type
47+
48+
[**\CyberSource\Model\InlineResponse200**](../Model/InlineResponse200.md)
49+
50+
### Authorization
51+
52+
No authorization required
53+
54+
### HTTP request headers
55+
56+
- **Content-Type**: application/json
57+
- **Accept**: application/json
58+
59+
[[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)
60+
1261
# **addNegative**
1362
> \CyberSource\Model\RiskV1UpdatePost201Response addNegative($type, $addNegativeListRequest)
1463
@@ -56,6 +105,53 @@ No authorization required
56105

57106
[[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)
58107

108+
# **commentDecisionManagerCase**
109+
> \CyberSource\Model\InlineResponse201 commentDecisionManagerCase($id, $caseManagementCommentsRequest)
110+
111+
Add a comment to a DM post-transactional case
112+
113+
Add a comment to a DM post-transactional case
114+
115+
### Example
116+
```php
117+
<?php
118+
require_once(__DIR__ . '/vendor/autoload.php');
119+
120+
$api_instance = new CyberSource\Api\DecisionManagerApi();
121+
$id = "id_example"; // string | An unique identification number generated by Cybersource to identify the submitted request.
122+
$caseManagementCommentsRequest = new \CyberSource\Model\CaseManagementCommentsRequest(); // \CyberSource\Model\CaseManagementCommentsRequest |
123+
124+
try {
125+
$result = $api_instance->commentDecisionManagerCase($id, $caseManagementCommentsRequest);
126+
print_r($result);
127+
} catch (Exception $e) {
128+
echo 'Exception when calling DecisionManagerApi->commentDecisionManagerCase: ', $e->getMessage(), PHP_EOL;
129+
}
130+
?>
131+
```
132+
133+
### Parameters
134+
135+
Name | Type | Description | Notes
136+
------------- | ------------- | ------------- | -------------
137+
**id** | **string**| An unique identification number generated by Cybersource to identify the submitted request. |
138+
**caseManagementCommentsRequest** | [**\CyberSource\Model\CaseManagementCommentsRequest**](../Model/CaseManagementCommentsRequest.md)| |
139+
140+
### Return type
141+
142+
[**\CyberSource\Model\InlineResponse201**](../Model/InlineResponse201.md)
143+
144+
### Authorization
145+
146+
No authorization required
147+
148+
### HTTP request headers
149+
150+
- **Content-Type**: application/json
151+
- **Accept**: application/json
152+
153+
[[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)
154+
59155
# **createBundledDecisionManagerCase**
60156
> \CyberSource\Model\RiskV1DecisionsPost201Response createBundledDecisionManagerCase($createBundledDecisionManagerCaseRequest)
61157

docs/Api/KeymanagementApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Method | HTTP request | Description
88

99

1010
# **searchKeys**
11-
> \CyberSource\Model\InlineResponse20011 searchKeys($offset, $limit, $sort, $organizationIds, $keyIds, $keyTypes, $expirationStartDate, $expirationEndDate)
11+
> \CyberSource\Model\InlineResponse2001 searchKeys($offset, $limit, $sort, $organizationIds, $keyIds, $keyTypes, $expirationStartDate, $expirationEndDate)
1212
1313
Search Keys
1414

@@ -53,7 +53,7 @@ Name | Type | Description | Notes
5353

5454
### Return type
5555

56-
[**\CyberSource\Model\InlineResponse20011**](../Model/InlineResponse20011.md)
56+
[**\CyberSource\Model\InlineResponse2001**](../Model/InlineResponse2001.md)
5757

5858
### Authorization
5959

docs/Api/PaymentsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414
1515
Process a Payment
1616

17-
A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
17+
A payment authorizes the amount for the transaction. There are a number of supported payment features, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
1818

1919
### Example
2020
```php

docs/Api/PlansApi.md

Lines changed: 16 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)
18+
> \CyberSource\Model\ActivateDeactivatePlanResponse activatePlan($id)
1919
2020
Activate a Plan
2121

@@ -46,7 +46,7 @@ Name | Type | Description | Notes
4646

4747
### Return type
4848

49-
[**\CyberSource\Model\InlineResponse2004**](../Model/InlineResponse2004.md)
49+
[**\CyberSource\Model\ActivateDeactivatePlanResponse**](../Model/ActivateDeactivatePlanResponse.md)
5050

5151
### Authorization
5252

@@ -60,7 +60,7 @@ No authorization required
6060
[[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)
6161

6262
# **createPlan**
63-
> \CyberSource\Model\InlineResponse201 createPlan($createPlanRequest)
63+
> \CyberSource\Model\CreatePlanResponse createPlan($createPlanRequest)
6464
6565
Create a Plan
6666

@@ -91,7 +91,7 @@ Name | Type | Description | Notes
9191

9292
### Return type
9393

94-
[**\CyberSource\Model\InlineResponse201**](../Model/InlineResponse201.md)
94+
[**\CyberSource\Model\CreatePlanResponse**](../Model/CreatePlanResponse.md)
9595

9696
### Authorization
9797

@@ -105,7 +105,7 @@ No authorization required
105105
[[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)
106106

107107
# **deactivatePlan**
108-
> \CyberSource\Model\InlineResponse2004 deactivatePlan($id)
108+
> \CyberSource\Model\ActivateDeactivatePlanResponse deactivatePlan($id)
109109
110110
Deactivate a Plan
111111

@@ -136,7 +136,7 @@ Name | Type | Description | Notes
136136

137137
### Return type
138138

139-
[**\CyberSource\Model\InlineResponse2004**](../Model/InlineResponse2004.md)
139+
[**\CyberSource\Model\ActivateDeactivatePlanResponse**](../Model/ActivateDeactivatePlanResponse.md)
140140

141141
### Authorization
142142

@@ -150,7 +150,7 @@ No authorization required
150150
[[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)
151151

152152
# **deletePlan**
153-
> \CyberSource\Model\InlineResponse2002 deletePlan($id)
153+
> \CyberSource\Model\DeletePlanResponse deletePlan($id)
154154
155155
Delete a Plan
156156

@@ -181,7 +181,7 @@ Name | Type | Description | Notes
181181

182182
### Return type
183183

184-
[**\CyberSource\Model\InlineResponse2002**](../Model/InlineResponse2002.md)
184+
[**\CyberSource\Model\DeletePlanResponse**](../Model/DeletePlanResponse.md)
185185

186186
### Authorization
187187

@@ -195,7 +195,7 @@ No authorization required
195195
[[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)
196196

197197
# **getPlan**
198-
> \CyberSource\Model\InlineResponse2001 getPlan($id)
198+
> \CyberSource\Model\GetPlanResponse getPlan($id)
199199
200200
Get a Plan
201201

@@ -226,7 +226,7 @@ Name | Type | Description | Notes
226226

227227
### Return type
228228

229-
[**\CyberSource\Model\InlineResponse2001**](../Model/InlineResponse2001.md)
229+
[**\CyberSource\Model\GetPlanResponse**](../Model/GetPlanResponse.md)
230230

231231
### Authorization
232232

@@ -240,7 +240,7 @@ No authorization required
240240
[[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)
241241

242242
# **getPlanCode**
243-
> \CyberSource\Model\InlineResponse2005 getPlanCode()
243+
> \CyberSource\Model\GetPlanCodeResponse getPlanCode()
244244
245245
Get a Plan Code
246246

@@ -267,7 +267,7 @@ This endpoint does not need any parameter.
267267

268268
### Return type
269269

270-
[**\CyberSource\Model\InlineResponse2005**](../Model/InlineResponse2005.md)
270+
[**\CyberSource\Model\GetPlanCodeResponse**](../Model/GetPlanCodeResponse.md)
271271

272272
### Authorization
273273

@@ -281,7 +281,7 @@ No authorization required
281281
[[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)
282282

283283
# **getPlans**
284-
> \CyberSource\Model\InlineResponse200 getPlans($offset, $limit, $code, $status, $name)
284+
> \CyberSource\Model\GetAllPlansResponse getPlans($offset, $limit, $code, $status, $name)
285285
286286
Get a List of Plans
287287

@@ -320,7 +320,7 @@ Name | Type | Description | Notes
320320

321321
### Return type
322322

323-
[**\CyberSource\Model\InlineResponse200**](../Model/InlineResponse200.md)
323+
[**\CyberSource\Model\GetAllPlansResponse**](../Model/GetAllPlansResponse.md)
324324

325325
### Authorization
326326

@@ -334,7 +334,7 @@ No authorization required
334334
[[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)
335335

336336
# **updatePlan**
337-
> \CyberSource\Model\InlineResponse2003 updatePlan($id, $updatePlanRequest)
337+
> \CyberSource\Model\UpdatePlanResponse updatePlan($id, $updatePlanRequest)
338338
339339
Update a Plan
340340

@@ -367,7 +367,7 @@ Name | Type | Description | Notes
367367

368368
### Return type
369369

370-
[**\CyberSource\Model\InlineResponse2003**](../Model/InlineResponse2003.md)
370+
[**\CyberSource\Model\UpdatePlanResponse**](../Model/UpdatePlanResponse.md)
371371

372372
### Authorization
373373

0 commit comments

Comments
 (0)