Skip to content

Commit 5b0d6a2

Browse files
authored
Merge pull request #115 from CyberSource/oct-22-release
oct release update
2 parents c6e37c1 + e449da3 commit 5b0d6a2

File tree

84 files changed

+11732
-119
lines changed

Some content is hidden

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

84 files changed

+11732
-119
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
vendor
2+
.php_cs
3+
.swagger-codegen-ignore
4+
.travis.yml
5+
.swagger-codegen

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.35"
34+
"cybersource/rest-client-php": "0.0.36"
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.35",
3+
"version": "0.0.36",
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/EMVTagDetailsApi.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# CyberSource\EMVTagDetailsApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getEmvTags**](EMVTagDetailsApi.md#getEmvTags) | **GET** /tss/v2/transactions/emvTagDetails | Retrieve the EMV Dictionary
8+
[**parseEmvTags**](EMVTagDetailsApi.md#parseEmvTags) | **POST** /tss/v2/transactions/emvTagDetails | Parse an EMV String
9+
10+
11+
# **getEmvTags**
12+
> \CyberSource\Model\TssV2GetEmvTags200Response getEmvTags()
13+
14+
Retrieve the EMV Dictionary
15+
16+
Returns the entire EMV tag dictionary
17+
18+
### Example
19+
```php
20+
<?php
21+
require_once(__DIR__ . '/vendor/autoload.php');
22+
23+
$api_instance = new CyberSource\Api\EMVTagDetailsApi();
24+
25+
try {
26+
$result = $api_instance->getEmvTags();
27+
print_r($result);
28+
} catch (Exception $e) {
29+
echo 'Exception when calling EMVTagDetailsApi->getEmvTags: ', $e->getMessage(), PHP_EOL;
30+
}
31+
?>
32+
```
33+
34+
### Parameters
35+
This endpoint does not need any parameter.
36+
37+
### Return type
38+
39+
[**\CyberSource\Model\TssV2GetEmvTags200Response**](../Model/TssV2GetEmvTags200Response.md)
40+
41+
### Authorization
42+
43+
No authorization required
44+
45+
### HTTP request headers
46+
47+
- **Content-Type**: application/json;charset=utf-8
48+
- **Accept**: application/json;charset=utf-8
49+
50+
[[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)
51+
52+
# **parseEmvTags**
53+
> \CyberSource\Model\TssV2PostEmvTags200Response parseEmvTags($body)
54+
55+
Parse an EMV String
56+
57+
Pass an EMV Tag-Length-Value (TLV) string for parsing.
58+
59+
### Example
60+
```php
61+
<?php
62+
require_once(__DIR__ . '/vendor/autoload.php');
63+
64+
$api_instance = new CyberSource\Api\EMVTagDetailsApi();
65+
$body = new \CyberSource\Model\Body(); // \CyberSource\Model\Body |
66+
67+
try {
68+
$result = $api_instance->parseEmvTags($body);
69+
print_r($result);
70+
} catch (Exception $e) {
71+
echo 'Exception when calling EMVTagDetailsApi->parseEmvTags: ', $e->getMessage(), PHP_EOL;
72+
}
73+
?>
74+
```
75+
76+
### Parameters
77+
78+
Name | Type | Description | Notes
79+
------------- | ------------- | ------------- | -------------
80+
**body** | [**\CyberSource\Model\Body**](../Model/Body.md)| |
81+
82+
### Return type
83+
84+
[**\CyberSource\Model\TssV2PostEmvTags200Response**](../Model/TssV2PostEmvTags200Response.md)
85+
86+
### Authorization
87+
88+
No authorization required
89+
90+
### HTTP request headers
91+
92+
- **Content-Type**: application/json;charset=utf-8
93+
- **Accept**: application/hal+json;charset=utf-8
94+
95+
[[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)
96+

docs/Api/TransientTokenDataApi.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# CyberSource\TransientTokenDataApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getTransactionForTransientToken**](TransientTokenDataApi.md#getTransactionForTransientToken) | **GET** /up/v1/payment-details/{transientToken} | Get Transient Token Data
8+
9+
10+
# **getTransactionForTransientToken**
11+
> getTransactionForTransientToken($transientToken)
12+
13+
Get Transient Token Data
14+
15+
Retrieve the data captured by Unfied Checkout. This API is used to retrieve the detailed data represented by the Transient Token. This API will not return PCI payment data (PAN). Include the Request ID in the GET request to retrieve the transaction details.
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\TransientTokenDataApi();
23+
$transientToken = "transientToken_example"; // string | Transient Token returned by the Unified Checkout application.
24+
25+
try {
26+
$api_instance->getTransactionForTransientToken($transientToken);
27+
} catch (Exception $e) {
28+
echo 'Exception when calling TransientTokenDataApi->getTransactionForTransientToken: ', $e->getMessage(), PHP_EOL;
29+
}
30+
?>
31+
```
32+
33+
### Parameters
34+
35+
Name | Type | Description | Notes
36+
------------- | ------------- | ------------- | -------------
37+
**transientToken** | **string**| Transient Token returned by the Unified Checkout application. |
38+
39+
### Return type
40+
41+
void (empty response body)
42+
43+
### Authorization
44+
45+
No authorization required
46+
47+
### HTTP request headers
48+
49+
- **Content-Type**: application/json;charset=utf-8
50+
- **Accept**: application/json
51+
52+
[[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)
53+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# CyberSource\UnifiedCheckoutCaptureContextApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**generateUnifiedCheckoutCaptureContext**](UnifiedCheckoutCaptureContextApi.md#generateUnifiedCheckoutCaptureContext) | **POST** /up/v1/capture-contexts | Generate Unified Checkout Capture Context
8+
9+
10+
# **generateUnifiedCheckoutCaptureContext**
11+
> generateUnifiedCheckoutCaptureContext($generateUnifiedCheckoutCaptureContextRequest)
12+
13+
Generate Unified Checkout Capture Context
14+
15+
Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the paramiters for how Unified Chkcout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initate Unified Checkout within a merchnat web page
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\UnifiedCheckoutCaptureContextApi();
23+
$generateUnifiedCheckoutCaptureContextRequest = new \CyberSource\Model\GenerateUnifiedCheckoutCaptureContextRequest(); // \CyberSource\Model\GenerateUnifiedCheckoutCaptureContextRequest |
24+
25+
try {
26+
$api_instance->generateUnifiedCheckoutCaptureContext($generateUnifiedCheckoutCaptureContextRequest);
27+
} catch (Exception $e) {
28+
echo 'Exception when calling UnifiedCheckoutCaptureContextApi->generateUnifiedCheckoutCaptureContext: ', $e->getMessage(), PHP_EOL;
29+
}
30+
?>
31+
```
32+
33+
### Parameters
34+
35+
Name | Type | Description | Notes
36+
------------- | ------------- | ------------- | -------------
37+
**generateUnifiedCheckoutCaptureContextRequest** | [**\CyberSource\Model\GenerateUnifiedCheckoutCaptureContextRequest**](../Model/GenerateUnifiedCheckoutCaptureContextRequest.md)| |
38+
39+
### Return type
40+
41+
void (empty response body)
42+
43+
### Authorization
44+
45+
No authorization required
46+
47+
### HTTP request headers
48+
49+
- **Content-Type**: application/json;charset=utf-8
50+
- **Accept**: application/jwt
51+
52+
[[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)
53+

docs/Model/Body.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Body
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**requestor** | **string** | Identifies the service requesting parsing |
7+
**parsedTagLimit** | **int** | Number of tags to parse for each EMV tag string provided. | [optional]
8+
**emvDetailsList** | [**\CyberSource\Model\Tssv2transactionsemvTagDetailsEmvDetailsList[]**](Tssv2transactionsemvTagDetailsEmvDetailsList.md) | An array of objects, each containing a requestId and the corresponding emvRequestCombinedTags |
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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# GenerateUnifiedCheckoutCaptureContextRequest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**targetOrigins** | **string[]** | | [optional]
7+
**clientVersion** | **string** | verson number of Unified Checkout being used | [optional]
8+
**allowedCardNetworks** | **string[]** | | [optional]
9+
**allowedPaymentTypes** | **string[]** | | [optional]
10+
**country** | **string** | Country the purchase is originating from (e.g. country of the merchant). Use the two- character ISO Standard | [optional]
11+
**locale** | **string** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code | [optional]
12+
**captureMandate** | [**\CyberSource\Model\Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional]
13+
**orderInformation** | [**\CyberSource\Model\Upv1capturecontextsOrderInformation**](Upv1capturecontextsOrderInformation.md) | | [optional]
14+
**checkoutApiInitialization** | [**\CyberSource\Model\Upv1capturecontextsCheckoutApiInitialization**](Upv1capturecontextsCheckoutApiInitialization.md) | | [optional]
15+
16+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
17+
18+

docs/Model/InlineResponse4003.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# InlineResponse4003
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**correlationId** | **string** | | [optional]
7+
**details** | [**\CyberSource\Model\InlineResponse4003Details[]**](InlineResponse4003Details.md) | | [optional]
8+
**informationLink** | **string** | | [optional]
9+
**message** | **string** | |
10+
**reason** | **string** | |
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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# InlineResponse4003Details
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**location** | **string** | | [optional]
7+
**message** | **string** | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

0 commit comments

Comments
 (0)