Skip to content

Commit b519c9d

Browse files
authored
Merge pull request #118 from CyberSource/nov-release
nov release update
2 parents 5b0d6a2 + 2500fb2 commit b519c9d

File tree

73 files changed

+6652
-416
lines changed

Some content is hidden

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

73 files changed

+6652
-416
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ override the new secure-http default setting)*.
3131
{
3232
"require": {
3333
"php": ">=5.6",
34-
"cybersource/rest-client-php": "0.0.36"
34+
"cybersource/rest-client-php": "0.0.37"
3535
}
3636
}
3737
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cybersource/rest-client-php",
3-
"version": "0.0.36",
3+
"version": "0.0.37",
44
"description": "Client SDK for CyberSource REST APIs",
55
"keywords": [
66
"cybersource", "payments", "ecommerce", "merchant", "merchants", "authorize", "visa", "payment", "payment-gateway", "payment-integration", "payment-module", "payment-processing", "payment-service", "payment-methods"

docs/Api/AsymmetricKeyManagementApi.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Method | HTTP request | Description
77
[**createP12Keys**](AsymmetricKeyManagementApi.md#createP12Keys) | **POST** /kms/v2/keys-asym | Create one or more PKCS12 keys
88
[**deleteBulkP12Keys**](AsymmetricKeyManagementApi.md#deleteBulkP12Keys) | **POST** /kms/v2/keys-asym/deletes | Delete one or more PKCS12 keys
99
[**getP12KeyDetails**](AsymmetricKeyManagementApi.md#getP12KeyDetails) | **GET** /kms/v2/keys-asym/{keyId} | Retrieves PKCS12 key details
10+
[**updateAsymKey**](AsymmetricKeyManagementApi.md#updateAsymKey) | **PATCH** /kms/v2/keys-asym/{keyId} | Activate or De-activate Asymmetric Key
1011

1112

1213
# **createP12Keys**
@@ -144,3 +145,50 @@ No authorization required
144145

145146
[[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)
146147

148+
# **updateAsymKey**
149+
> object updateAsymKey($keyId, $updateAsymKeysRequest)
150+
151+
Activate or De-activate Asymmetric Key
152+
153+
Activate or De-activate Asymmetric Key
154+
155+
### Example
156+
```php
157+
<?php
158+
require_once(__DIR__ . '/vendor/autoload.php');
159+
160+
$api_instance = new CyberSource\Api\AsymmetricKeyManagementApi();
161+
$keyId = "keyId_example"; // string | Key ID.
162+
$updateAsymKeysRequest = new \CyberSource\Model\UpdateAsymKeysRequest(); // \CyberSource\Model\UpdateAsymKeysRequest |
163+
164+
try {
165+
$result = $api_instance->updateAsymKey($keyId, $updateAsymKeysRequest);
166+
print_r($result);
167+
} catch (Exception $e) {
168+
echo 'Exception when calling AsymmetricKeyManagementApi->updateAsymKey: ', $e->getMessage(), PHP_EOL;
169+
}
170+
?>
171+
```
172+
173+
### Parameters
174+
175+
Name | Type | Description | Notes
176+
------------- | ------------- | ------------- | -------------
177+
**keyId** | **string**| Key ID. |
178+
**updateAsymKeysRequest** | [**\CyberSource\Model\UpdateAsymKeysRequest**](../Model/UpdateAsymKeysRequest.md)| |
179+
180+
### Return type
181+
182+
**object**
183+
184+
### Authorization
185+
186+
No authorization required
187+
188+
### HTTP request headers
189+
190+
- **Content-Type**: application/json;charset=utf-8
191+
- **Accept**: application/hal+json;charset=utf-8
192+
193+
[[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)
194+

docs/Api/KeymanagementApi.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# CyberSource\KeymanagementApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**searchKeys**](KeymanagementApi.md#searchKeys) | **GET** /kms/v2/keys | Search Keys
8+
9+
10+
# **searchKeys**
11+
> \CyberSource\Model\InlineResponse200 searchKeys($offset, $limit, $sort, $organizationIds, $keyIds, $keyTypes, $expirationStartDate, $expirationEndDate)
12+
13+
Search Keys
14+
15+
Search one or more Keys
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\KeymanagementApi();
23+
$offset = 56; // int | This allows you to specify the page offset from the resulting list resultset you want the records to be returned
24+
$limit = 56; // int | This allows you to specify the total number of records to be returned off the resulting list resultset
25+
$sort = "sort_example"; // string | This allows you to specify a comma separated list of fields in the order which the resulting list resultset must be sorted.
26+
$organizationIds = array("organizationIds_example"); // string[] | List of Orgaization Ids to search. The maximum size of the organization Ids list is 1. The maximum length of Organization Id is 30.
27+
$keyIds = array("keyIds_example"); // string[] | List of Key Ids to search. The maximum size of the Key Ids list is 1
28+
$keyTypes = array("keyTypes_example"); // string[] | Key Type, Possible values - certificate, password, pgp and scmp_api. When Key Type is provided atleast one more filter needs to be provided
29+
$expirationStartDate = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Expiry Filter Start Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
30+
$expirationEndDate = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Expiry Filter End Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
31+
32+
try {
33+
$result = $api_instance->searchKeys($offset, $limit, $sort, $organizationIds, $keyIds, $keyTypes, $expirationStartDate, $expirationEndDate);
34+
print_r($result);
35+
} catch (Exception $e) {
36+
echo 'Exception when calling KeymanagementApi->searchKeys: ', $e->getMessage(), PHP_EOL;
37+
}
38+
?>
39+
```
40+
41+
### Parameters
42+
43+
Name | Type | Description | Notes
44+
------------- | ------------- | ------------- | -------------
45+
**offset** | **int**| This allows you to specify the page offset from the resulting list resultset you want the records to be returned | [optional]
46+
**limit** | **int**| This allows you to specify the total number of records to be returned off the resulting list resultset | [optional]
47+
**sort** | **string**| This allows you to specify a comma separated list of fields in the order which the resulting list resultset must be sorted. | [optional]
48+
**organizationIds** | [**string[]**](../Model/string.md)| List of Orgaization Ids to search. The maximum size of the organization Ids list is 1. The maximum length of Organization Id is 30. | [optional]
49+
**keyIds** | [**string[]**](../Model/string.md)| List of Key Ids to search. The maximum size of the Key Ids list is 1 | [optional]
50+
**keyTypes** | [**string[]**](../Model/string.md)| Key Type, Possible values - certificate, password, pgp and scmp_api. When Key Type is provided atleast one more filter needs to be provided | [optional]
51+
**expirationStartDate** | **\DateTime**| Expiry Filter Start Date. When Expiration Date filter is provided, atleast one more filter needs to be provided | [optional]
52+
**expirationEndDate** | **\DateTime**| Expiry Filter End Date. When Expiration Date filter is provided, atleast one more filter needs to be provided | [optional]
53+
54+
### Return type
55+
56+
[**\CyberSource\Model\InlineResponse200**](../Model/InlineResponse200.md)
57+
58+
### Authorization
59+
60+
No authorization required
61+
62+
### HTTP request headers
63+
64+
- **Content-Type**: application/json;charset=utf-8
65+
- **Accept**: application/hal+json;charset=utf-8
66+
67+
[[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)
68+
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# CyberSource\KeymanagementpasswordApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**updatePassword**](KeymanagementpasswordApi.md#updatePassword) | **PATCH** /kms/v2/keys-password/{keyId} | Activate or De-activate Password
8+
9+
10+
# **updatePassword**
11+
> object updatePassword($keyId, $updatePasswordKeysRequest)
12+
13+
Activate or De-activate Password
14+
15+
Activate or De-activate key of type password
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\KeymanagementpasswordApi();
23+
$keyId = "keyId_example"; // string | Key ID.
24+
$updatePasswordKeysRequest = new \CyberSource\Model\UpdatePasswordKeysRequest(); // \CyberSource\Model\UpdatePasswordKeysRequest |
25+
26+
try {
27+
$result = $api_instance->updatePassword($keyId, $updatePasswordKeysRequest);
28+
print_r($result);
29+
} catch (Exception $e) {
30+
echo 'Exception when calling KeymanagementpasswordApi->updatePassword: ', $e->getMessage(), PHP_EOL;
31+
}
32+
?>
33+
```
34+
35+
### Parameters
36+
37+
Name | Type | Description | Notes
38+
------------- | ------------- | ------------- | -------------
39+
**keyId** | **string**| Key ID. |
40+
**updatePasswordKeysRequest** | [**\CyberSource\Model\UpdatePasswordKeysRequest**](../Model/UpdatePasswordKeysRequest.md)| |
41+
42+
### Return type
43+
44+
**object**
45+
46+
### Authorization
47+
48+
No authorization required
49+
50+
### HTTP request headers
51+
52+
- **Content-Type**: application/json;charset=utf-8
53+
- **Accept**: application/hal+json;charset=utf-8
54+
55+
[[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)
56+

docs/Api/KeymanagementpgpApi.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# CyberSource\KeymanagementpgpApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**updatePGP**](KeymanagementpgpApi.md#updatePGP) | **PATCH** /kms/v2/keys-pgp/{keyId} | Activate or De-activate PGP Key
8+
9+
10+
# **updatePGP**
11+
> object updatePGP($keyId, $updatePGPKeysRequest)
12+
13+
Activate or De-activate PGP Key
14+
15+
Activate or De-activate PGP Key
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\KeymanagementpgpApi();
23+
$keyId = "keyId_example"; // string | Key ID.
24+
$updatePGPKeysRequest = new \CyberSource\Model\UpdatePGPKeysRequest(); // \CyberSource\Model\UpdatePGPKeysRequest |
25+
26+
try {
27+
$result = $api_instance->updatePGP($keyId, $updatePGPKeysRequest);
28+
print_r($result);
29+
} catch (Exception $e) {
30+
echo 'Exception when calling KeymanagementpgpApi->updatePGP: ', $e->getMessage(), PHP_EOL;
31+
}
32+
?>
33+
```
34+
35+
### Parameters
36+
37+
Name | Type | Description | Notes
38+
------------- | ------------- | ------------- | -------------
39+
**keyId** | **string**| Key ID. |
40+
**updatePGPKeysRequest** | [**\CyberSource\Model\UpdatePGPKeysRequest**](../Model/UpdatePGPKeysRequest.md)| |
41+
42+
### Return type
43+
44+
**object**
45+
46+
### Authorization
47+
48+
No authorization required
49+
50+
### HTTP request headers
51+
52+
- **Content-Type**: application/json;charset=utf-8
53+
- **Accept**: application/hal+json;charset=utf-8
54+
55+
[[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)
56+

docs/Api/KeymanagementscmpApi.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# CyberSource\KeymanagementscmpApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**updateSCMP**](KeymanagementscmpApi.md#updateSCMP) | **PATCH** /kms/v2/keys-scmp/{keyId} | Update or Deactivate
8+
9+
10+
# **updateSCMP**
11+
> object updateSCMP($keyId, $updatePGPKeysRequest)
12+
13+
Update or Deactivate
14+
15+
Update or Deactivate scmp api Key
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\KeymanagementscmpApi();
23+
$keyId = "keyId_example"; // string | Key ID.
24+
$updatePGPKeysRequest = new \CyberSource\Model\UpdatePGPKeysRequest1(); // \CyberSource\Model\UpdatePGPKeysRequest1 |
25+
26+
try {
27+
$result = $api_instance->updateSCMP($keyId, $updatePGPKeysRequest);
28+
print_r($result);
29+
} catch (Exception $e) {
30+
echo 'Exception when calling KeymanagementscmpApi->updateSCMP: ', $e->getMessage(), PHP_EOL;
31+
}
32+
?>
33+
```
34+
35+
### Parameters
36+
37+
Name | Type | Description | Notes
38+
------------- | ------------- | ------------- | -------------
39+
**keyId** | **string**| Key ID. |
40+
**updatePGPKeysRequest** | [**\CyberSource\Model\UpdatePGPKeysRequest1**](../Model/UpdatePGPKeysRequest1.md)| |
41+
42+
### Return type
43+
44+
**object**
45+
46+
### Authorization
47+
48+
No authorization required
49+
50+
### HTTP request headers
51+
52+
- **Content-Type**: application/json;charset=utf-8
53+
- **Accept**: application/hal+json;charset=utf-8
54+
55+
[[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)
56+

docs/Api/ReversalApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All URIs are relative to *https://apitest.cybersource.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**authReversal**](ReversalApi.md#authReversal) | **POST** /pts/v2/payments/{id}/reversals | Process an Authorization Reversal
8-
[**mitReversal**](ReversalApi.md#mitReversal) | **POST** /pts/v2/reversals/ | Timeout Reversal
8+
[**mitReversal**](ReversalApi.md#mitReversal) | **POST** /pts/v2/reversals | Timeout Reversal
99

1010

1111
# **authReversal**

docs/Api/VoidApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**mitVoid**](VoidApi.md#mitVoid) | **POST** /pts/v2/voids/ | Timeout Void
7+
[**mitVoid**](VoidApi.md#mitVoid) | **POST** /pts/v2/voids | Timeout Void
88
[**voidCapture**](VoidApi.md#voidCapture) | **POST** /pts/v2/captures/{id}/voids | Void a Capture
99
[**voidCredit**](VoidApi.md#voidCredit) | **POST** /pts/v2/credits/{id}/voids | Void a Credit
1010
[**voidPayment**](VoidApi.md#voidPayment) | **POST** /pts/v2/payments/{id}/voids | Void a Payment

docs/Model/CreateSearchRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**timezone** | **string** | Merchant’s time zone in ISO standard, using the TZ database format. For example: &#x60;America/Chicago&#x60; | [optional]
99
**query** | **string** | String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn-search-intro/txn-filtering.html) section of the Transaction Search Developer Guide. | [optional]
1010
**offset** | **int** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit&#x3D;5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: &#x60;offset&#x3D;0&#x60; &#x60;offset&#x3D;5&#x60; &#x60;offset&#x3D;10&#x60; **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional]
11-
**limit** | **int** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2000. | [optional]
11+
**limit** | **int** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional]
1212
**sort** | **string** | A comma separated list of the following form: &#x60;submitTimeUtc:desc&#x60; | [optional]
1313

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

0 commit comments

Comments
 (0)