Skip to content

Commit 21ce028

Browse files
committed
oct release update
1 parent c6e37c1 commit 21ce028

File tree

85 files changed

+11778
-117
lines changed

Some content is hidden

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

85 files changed

+11778
-117
lines changed

.php_cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
return Symfony\CS\Config::create()
4+
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
5+
->setUsingCache(true)
6+
->fixers(
7+
[
8+
'ordered_use',
9+
'phpdoc_order',
10+
'short_array_syntax',
11+
'strict',
12+
'strict_param'
13+
]
14+
)
15+
->finder(
16+
Symfony\CS\Finder\DefaultFinder::create()
17+
->in(__DIR__)
18+
);

.swagger-codegen-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Swagger Codegen Ignore
2+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.swagger-codegen/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.3

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: php
2+
sudo: false
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
before_install: "composer install"
10+
script: "vendor/bin/phpunit"

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+

0 commit comments

Comments
 (0)