Skip to content

Commit f980690

Browse files
authored
Merge pull request #207 from CyberSource/release/oct25
Release/oct25
2 parents 4e156b4 + 9276e09 commit f980690

File tree

246 files changed

+39479
-3171
lines changed

Some content is hidden

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

246 files changed

+39479
-3171
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ override the new secure-http default setting)*.
2929
{
3030
"require": {
3131
"php": ">=8.0.0",
32-
"cybersource/rest-client-php": "0.0.66"
32+
"cybersource/rest-client-php": "0.0.67"
3333
}
3434
}
3535
```

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.66",
3+
"version": "0.0.67",
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/MerchantDefinedFieldsApi.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ All URIs are relative to *https://apitest.cybersource.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**createMerchantDefinedFieldDefinition**](MerchantDefinedFieldsApi.md#createMerchantDefinedFieldDefinition) | **POST** /invoicing/v2/{referenceType}/merchantDefinedFields | Create merchant defined field for a given reference type
8+
[**deleteMerchantDefinedFieldsDefinitions**](MerchantDefinedFieldsApi.md#deleteMerchantDefinedFieldsDefinitions) | **DELETE** /invoicing/v2/{referenceType}/merchantDefinedFields/{id} | Delete a MerchantDefinedField by ID
89
[**getMerchantDefinedFieldsDefinitions**](MerchantDefinedFieldsApi.md#getMerchantDefinedFieldsDefinitions) | **GET** /invoicing/v2/{referenceType}/merchantDefinedFields | Get all merchant defined fields for a given reference type
9-
[**invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete**](MerchantDefinedFieldsApi.md#invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete) | **DELETE** /invoicing/v2/{referenceType}/merchantDefinedFields/{id} | Delete a MerchantDefinedField by ID
10-
[**invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut**](MerchantDefinedFieldsApi.md#invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut) | **PUT** /invoicing/v2/{referenceType}/merchantDefinedFields/{id} | Update a MerchantDefinedField by ID
10+
[**putMerchantDefinedFieldsDefinitions**](MerchantDefinedFieldsApi.md#putMerchantDefinedFieldsDefinitions) | **PUT** /invoicing/v2/{referenceType}/merchantDefinedFields/{id} | Update a MerchantDefinedField by ID
1111

1212

1313
# **createMerchantDefinedFieldDefinition**
@@ -55,24 +55,24 @@ No authorization required
5555

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

58-
# **getMerchantDefinedFieldsDefinitions**
59-
> \CyberSource\Model\InlineResponse2002[] getMerchantDefinedFieldsDefinitions($referenceType)
58+
# **deleteMerchantDefinedFieldsDefinitions**
59+
> deleteMerchantDefinedFieldsDefinitions($referenceType, $id)
6060
61-
Get all merchant defined fields for a given reference type
61+
Delete a MerchantDefinedField by ID
6262

6363
### Example
6464
```php
6565
<?php
6666
require_once(__DIR__ . '/vendor/autoload.php');
6767

6868
$api_instance = new CyberSource\Api\MerchantDefinedFieldsApi();
69-
$referenceType = "referenceType_example"; // string | The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
69+
$referenceType = "referenceType_example"; // string |
70+
$id = 789; // int |
7071

7172
try {
72-
$result = $api_instance->getMerchantDefinedFieldsDefinitions($referenceType);
73-
print_r($result);
73+
$api_instance->deleteMerchantDefinedFieldsDefinitions($referenceType, $id);
7474
} catch (Exception $e) {
75-
echo 'Exception when calling MerchantDefinedFieldsApi->getMerchantDefinedFieldsDefinitions: ', $e->getMessage(), PHP_EOL;
75+
echo 'Exception when calling MerchantDefinedFieldsApi->deleteMerchantDefinedFieldsDefinitions: ', $e->getMessage(), PHP_EOL;
7676
}
7777
?>
7878
```
@@ -81,41 +81,42 @@ try {
8181

8282
Name | Type | Description | Notes
8383
------------- | ------------- | ------------- | -------------
84-
**referenceType** | **string**| The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation |
84+
**referenceType** | **string**| |
85+
**id** | **int**| |
8586

8687
### Return type
8788

88-
[**\CyberSource\Model\InlineResponse2002[]**](../Model/InlineResponse2002.md)
89+
void (empty response body)
8990

9091
### Authorization
9192

9293
No authorization required
9394

9495
### HTTP request headers
9596

96-
- **Content-Type**: application/json
97-
- **Accept**: application/json
97+
- **Content-Type**: application/json;charset=utf-8
98+
- **Accept**: application/hal+json;charset=utf-8
9899

99100
[[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)
100101

101-
# **invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete**
102-
> invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete($referenceType, $id)
102+
# **getMerchantDefinedFieldsDefinitions**
103+
> \CyberSource\Model\InlineResponse2002[] getMerchantDefinedFieldsDefinitions($referenceType)
103104
104-
Delete a MerchantDefinedField by ID
105+
Get all merchant defined fields for a given reference type
105106

106107
### Example
107108
```php
108109
<?php
109110
require_once(__DIR__ . '/vendor/autoload.php');
110111

111112
$api_instance = new CyberSource\Api\MerchantDefinedFieldsApi();
112-
$referenceType = "referenceType_example"; // string |
113-
$id = 789; // int |
113+
$referenceType = "referenceType_example"; // string | The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
114114

115115
try {
116-
$api_instance->invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete($referenceType, $id);
116+
$result = $api_instance->getMerchantDefinedFieldsDefinitions($referenceType);
117+
print_r($result);
117118
} catch (Exception $e) {
118-
echo 'Exception when calling MerchantDefinedFieldsApi->invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete: ', $e->getMessage(), PHP_EOL;
119+
echo 'Exception when calling MerchantDefinedFieldsApi->getMerchantDefinedFieldsDefinitions: ', $e->getMessage(), PHP_EOL;
119120
}
120121
?>
121122
```
@@ -124,26 +125,25 @@ try {
124125

125126
Name | Type | Description | Notes
126127
------------- | ------------- | ------------- | -------------
127-
**referenceType** | **string**| |
128-
**id** | **int**| |
128+
**referenceType** | **string**| The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation |
129129

130130
### Return type
131131

132-
void (empty response body)
132+
[**\CyberSource\Model\InlineResponse2002[]**](../Model/InlineResponse2002.md)
133133

134134
### Authorization
135135

136136
No authorization required
137137

138138
### HTTP request headers
139139

140-
- **Content-Type**: application/json;charset=utf-8
141-
- **Accept**: application/hal+json;charset=utf-8
140+
- **Content-Type**: application/json
141+
- **Accept**: application/json
142142

143143
[[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)
144144

145-
# **invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut**
146-
> \CyberSource\Model\InlineResponse2002[] invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut($referenceType, $id, $merchantDefinedFieldCore)
145+
# **putMerchantDefinedFieldsDefinitions**
146+
> \CyberSource\Model\InlineResponse2002[] putMerchantDefinedFieldsDefinitions($referenceType, $id, $merchantDefinedFieldCore)
147147
148148
Update a MerchantDefinedField by ID
149149

@@ -158,10 +158,10 @@ $id = 789; // int |
158158
$merchantDefinedFieldCore = new \CyberSource\Model\MerchantDefinedFieldCore(); // \CyberSource\Model\MerchantDefinedFieldCore |
159159

160160
try {
161-
$result = $api_instance->invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut($referenceType, $id, $merchantDefinedFieldCore);
161+
$result = $api_instance->putMerchantDefinedFieldsDefinitions($referenceType, $id, $merchantDefinedFieldCore);
162162
print_r($result);
163163
} catch (Exception $e) {
164-
echo 'Exception when calling MerchantDefinedFieldsApi->invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut: ', $e->getMessage(), PHP_EOL;
164+
echo 'Exception when calling MerchantDefinedFieldsApi->putMerchantDefinedFieldsDefinitions: ', $e->getMessage(), PHP_EOL;
165165
}
166166
?>
167167
```

docs/Api/OffersApi.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# CyberSource\OffersApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**createOffer**](OffersApi.md#createOffer) | **POST** /vas/v1/currencyconversion | Create an Offer
8+
[**getOffer**](OffersApi.md#getOffer) | **GET** /vas/v1/currencyconversion/{id} | Retrieve an Offer
9+
10+
11+
# **createOffer**
12+
> \CyberSource\Model\InlineResponse2018 createOffer($contentType, $xRequestid, $vCMerchantId, $vCCorrelationId, $vCOrganizationId, $offerRequest)
13+
14+
Create an Offer
15+
16+
Creates an offer record on the provider system.
17+
18+
### Example
19+
```php
20+
<?php
21+
require_once(__DIR__ . '/vendor/autoload.php');
22+
23+
$api_instance = new CyberSource\Api\OffersApi();
24+
$contentType = "contentType_example"; // string |
25+
$xRequestid = "xRequestid_example"; // string |
26+
$vCMerchantId = "vCMerchantId_example"; // string |
27+
$vCCorrelationId = "vCCorrelationId_example"; // string |
28+
$vCOrganizationId = "vCOrganizationId_example"; // string |
29+
$offerRequest = new \CyberSource\Model\OfferRequest(); // \CyberSource\Model\OfferRequest |
30+
31+
try {
32+
$result = $api_instance->createOffer($contentType, $xRequestid, $vCMerchantId, $vCCorrelationId, $vCOrganizationId, $offerRequest);
33+
print_r($result);
34+
} catch (Exception $e) {
35+
echo 'Exception when calling OffersApi->createOffer: ', $e->getMessage(), PHP_EOL;
36+
}
37+
?>
38+
```
39+
40+
### Parameters
41+
42+
Name | Type | Description | Notes
43+
------------- | ------------- | ------------- | -------------
44+
**contentType** | **string**| |
45+
**xRequestid** | **string**| |
46+
**vCMerchantId** | **string**| |
47+
**vCCorrelationId** | **string**| |
48+
**vCOrganizationId** | **string**| |
49+
**offerRequest** | [**\CyberSource\Model\OfferRequest**](../Model/OfferRequest.md)| |
50+
51+
### Return type
52+
53+
[**\CyberSource\Model\InlineResponse2018**](../Model/InlineResponse2018.md)
54+
55+
### Authorization
56+
57+
No authorization required
58+
59+
### HTTP request headers
60+
61+
- **Content-Type**: application/json;charset=utf-8
62+
- **Accept**: application/hal+json;charset=utf-8
63+
64+
[[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)
65+
66+
# **getOffer**
67+
> \CyberSource\Model\InlineResponse20014 getOffer($contentType, $xRequestid, $vCMerchantId, $vCCorrelationId, $vCOrganizationId, $id)
68+
69+
Retrieve an Offer
70+
71+
Retrieves an offer record from the system.
72+
73+
### Example
74+
```php
75+
<?php
76+
require_once(__DIR__ . '/vendor/autoload.php');
77+
78+
$api_instance = new CyberSource\Api\OffersApi();
79+
$contentType = "contentType_example"; // string |
80+
$xRequestid = "xRequestid_example"; // string |
81+
$vCMerchantId = "vCMerchantId_example"; // string |
82+
$vCCorrelationId = "vCCorrelationId_example"; // string |
83+
$vCOrganizationId = "vCOrganizationId_example"; // string |
84+
$id = "id_example"; // string | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id
85+
86+
try {
87+
$result = $api_instance->getOffer($contentType, $xRequestid, $vCMerchantId, $vCCorrelationId, $vCOrganizationId, $id);
88+
print_r($result);
89+
} catch (Exception $e) {
90+
echo 'Exception when calling OffersApi->getOffer: ', $e->getMessage(), PHP_EOL;
91+
}
92+
?>
93+
```
94+
95+
### Parameters
96+
97+
Name | Type | Description | Notes
98+
------------- | ------------- | ------------- | -------------
99+
**contentType** | **string**| |
100+
**xRequestid** | **string**| |
101+
**vCMerchantId** | **string**| |
102+
**vCCorrelationId** | **string**| |
103+
**vCOrganizationId** | **string**| |
104+
**id** | **string**| Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id |
105+
106+
### Return type
107+
108+
[**\CyberSource\Model\InlineResponse20014**](../Model/InlineResponse20014.md)
109+
110+
### Authorization
111+
112+
No authorization required
113+
114+
### HTTP request headers
115+
116+
- **Content-Type**: application/json;charset=utf-8
117+
- **Accept**: application/hal+json;charset=utf-8
118+
119+
[[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)
120+

docs/Api/TokenApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ No authorization required
6262
6363
Generate Payment Credentials for a TMS Token
6464

65-
| | | | | --- | --- | --- | |**Token**<br>A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Credentials**<br>Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.<br>Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument or Instrument Identifier.
65+
| | | | | --- | --- | --- | |**Token**<br>A Token can represent your tokenized Customer, Payment Instrument, Instrument Identifier or Tokenized Card information.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Credentials**<br>Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.<br>Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument, Instrument Identifier or Tokenized Card.<br>Optionally, **authenticated identities** information from Passkey authentication can be provided to potentially achieve liability shift, which may result in the return of an e-commerce indicator of 5 if successful.
6666

6767
### Example
6868
```php

docs/Api/TokenizedCardApi.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**deleteTokenizedCard**](TokenizedCardApi.md#deleteTokenizedCard) | **DELETE** /tms/v2/tokenized-cards/{tokenizedCardId} | Delete a Tokenized Card
88
[**getTokenizedCard**](TokenizedCardApi.md#getTokenizedCard) | **GET** /tms/v2/tokenized-cards/{tokenizedCardId} | Retrieve a Tokenized Card
9-
[**postIssuerLifeCycleSimulation**](TokenizedCardApi.md#postIssuerLifeCycleSimulation) | **POST** /tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations | Simulate Issuer Life Cycle Management Events
109
[**postTokenizedCard**](TokenizedCardApi.md#postTokenizedCard) | **POST** /tms/v2/tokenized-cards | Create a Tokenized Card
1110

1211

@@ -103,54 +102,6 @@ No authorization required
103102

104103
[[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)
105104

106-
# **postIssuerLifeCycleSimulation**
107-
> postIssuerLifeCycleSimulation($profileId, $tokenizedCardId, $postIssuerLifeCycleSimulationRequest)
108-
109-
Simulate Issuer Life Cycle Management Events
110-
111-
**Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment.
112-
113-
### Example
114-
```php
115-
<?php
116-
require_once(__DIR__ . '/vendor/autoload.php');
117-
118-
$api_instance = new CyberSource\Api\TokenizedCardApi();
119-
$profileId = "profileId_example"; // string | The Id of a profile containing user specific TMS configuration.
120-
$tokenizedCardId = "tokenizedCardId_example"; // string | The Id of a tokenized card.
121-
$postIssuerLifeCycleSimulationRequest = new \CyberSource\Model\PostIssuerLifeCycleSimulationRequest(); // \CyberSource\Model\PostIssuerLifeCycleSimulationRequest |
122-
123-
try {
124-
$api_instance->postIssuerLifeCycleSimulation($profileId, $tokenizedCardId, $postIssuerLifeCycleSimulationRequest);
125-
} catch (Exception $e) {
126-
echo 'Exception when calling TokenizedCardApi->postIssuerLifeCycleSimulation: ', $e->getMessage(), PHP_EOL;
127-
}
128-
?>
129-
```
130-
131-
### Parameters
132-
133-
Name | Type | Description | Notes
134-
------------- | ------------- | ------------- | -------------
135-
**profileId** | **string**| The Id of a profile containing user specific TMS configuration. |
136-
**tokenizedCardId** | **string**| The Id of a tokenized card. |
137-
**postIssuerLifeCycleSimulationRequest** | [**\CyberSource\Model\PostIssuerLifeCycleSimulationRequest**](../Model/PostIssuerLifeCycleSimulationRequest.md)| |
138-
139-
### Return type
140-
141-
void (empty response body)
142-
143-
### Authorization
144-
145-
No authorization required
146-
147-
### HTTP request headers
148-
149-
- **Content-Type**: application/json;charset=utf-8
150-
- **Accept**: application/json;charset=utf-8
151-
152-
[[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)
153-
154105
# **postTokenizedCard**
155106
> \CyberSource\Model\TokenizedcardRequest postTokenizedCard($tokenizedcardRequest, $profileId)
156107

docs/Model/CapturePaymentRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**installmentInformation** | [**\CyberSource\Model\Ptsv2paymentsidcapturesInstallmentInformation**](Ptsv2paymentsidcapturesInstallmentInformation.md) | | [optional]
1818
**travelInformation** | [**\CyberSource\Model\Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional]
1919
**promotionInformation** | [**\CyberSource\Model\Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional]
20-
**processorInformation** | [**\CyberSource\Model\Ptsv2reversalsProcessorInformation**](Ptsv2reversalsProcessorInformation.md) | | [optional]
20+
**processorInformation** | [**\CyberSource\Model\Ptsv2paymentsidcapturesProcessorInformation**](Ptsv2paymentsidcapturesProcessorInformation.md) | | [optional]
2121

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

0 commit comments

Comments
 (0)