Skip to content

Commit 53f0bbc

Browse files
authored
Merge pull request #197 from CyberSource/release/aug25
Release/aug25
2 parents 1ed6d53 + b89a20f commit 53f0bbc

File tree

209 files changed

+7727
-2844
lines changed

Some content is hidden

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

209 files changed

+7727
-2844
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.64"
32+
"cybersource/rest-client-php": "0.0.65"
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.64",
3+
"version": "0.0.65",
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/BatchesApi.md

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

1212

1313
# **getBatchReport**
14-
> \CyberSource\Model\InlineResponse20010 getBatchReport($batchId)
14+
> \CyberSource\Model\InlineResponse20011 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\InlineResponse20010**](../Model/InlineResponse20010.md)
45+
[**\CyberSource\Model\InlineResponse20011**](../Model/InlineResponse20011.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\InlineResponse2009 getBatchStatus($batchId)
59+
> \CyberSource\Model\InlineResponse20010 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\InlineResponse2009**](../Model/InlineResponse2009.md)
90+
[**\CyberSource\Model\InlineResponse20010**](../Model/InlineResponse20010.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\InlineResponse2008 getBatchesList($offset, $limit, $fromDate, $toDate)
104+
> \CyberSource\Model\InlineResponse2009 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\InlineResponse2008**](../Model/InlineResponse2008.md)
141+
[**\CyberSource\Model\InlineResponse2009**](../Model/InlineResponse2009.md)
142142

143143
### Authorization
144144

docs/Api/DeviceDeAssociationApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ No authorization required
5353
[[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)
5454

5555
# **postDeAssociateV3Terminal**
56-
> \CyberSource\Model\InlineResponse2006[] postDeAssociateV3Terminal($deviceDeAssociateV3Request)
56+
> \CyberSource\Model\InlineResponse2007[] postDeAssociateV3Terminal($deviceDeAssociateV3Request)
5757
5858
De-associate a device from merchant to account or reseller and from account to reseller
5959

@@ -84,7 +84,7 @@ Name | Type | Description | Notes
8484

8585
### Return type
8686

87-
[**\CyberSource\Model\InlineResponse2006[]**](../Model/InlineResponse2006.md)
87+
[**\CyberSource\Model\InlineResponse2007[]**](../Model/InlineResponse2007.md)
8888

8989
### Authorization
9090

docs/Api/DeviceSearchApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010

1111
# **postSearchQuery**
12-
> \CyberSource\Model\InlineResponse2005 postSearchQuery($postDeviceSearchRequest)
12+
> \CyberSource\Model\InlineResponse2006 postSearchQuery($postDeviceSearchRequest)
1313
1414
Retrieve List of Devices for a given search query V2
1515

@@ -40,7 +40,7 @@ Name | Type | Description | Notes
4040

4141
### Return type
4242

43-
[**\CyberSource\Model\InlineResponse2005**](../Model/InlineResponse2005.md)
43+
[**\CyberSource\Model\InlineResponse2006**](../Model/InlineResponse2006.md)
4444

4545
### Authorization
4646

@@ -54,7 +54,7 @@ No authorization required
5454
[[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)
5555

5656
# **postSearchQueryV3**
57-
> \CyberSource\Model\InlineResponse2007 postSearchQueryV3($postDeviceSearchRequestV3)
57+
> \CyberSource\Model\InlineResponse2008 postSearchQueryV3($postDeviceSearchRequestV3)
5858
5959
Retrieve List of Devices for a given search query
6060

@@ -85,7 +85,7 @@ Name | Type | Description | Notes
8585

8686
### Return type
8787

88-
[**\CyberSource\Model\InlineResponse2007**](../Model/InlineResponse2007.md)
88+
[**\CyberSource\Model\InlineResponse2008**](../Model/InlineResponse2008.md)
8989

9090
### Authorization
9191

docs/Api/InvoicesApi.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Method | HTTP request | Description
88
[**getAllInvoices**](InvoicesApi.md#getAllInvoices) | **GET** /invoicing/v2/invoices | Get a List of Invoices
99
[**getInvoice**](InvoicesApi.md#getInvoice) | **GET** /invoicing/v2/invoices/{id} | Get Invoice Details
1010
[**performCancelAction**](InvoicesApi.md#performCancelAction) | **POST** /invoicing/v2/invoices/{id}/cancelation | Cancel an Invoice
11+
[**performPublishAction**](InvoicesApi.md#performPublishAction) | **POST** /invoicing/v2/invoices/{id}/publication | Publish an Invoice
1112
[**performSendAction**](InvoicesApi.md#performSendAction) | **POST** /invoicing/v2/invoices/{id}/delivery | Send an Invoice
1213
[**updateInvoice**](InvoicesApi.md#updateInvoice) | **PUT** /invoicing/v2/invoices/{id} | Update an Invoice
1314

@@ -196,6 +197,51 @@ No authorization required
196197

197198
[[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)
198199

200+
# **performPublishAction**
201+
> \CyberSource\Model\InvoicingV2InvoicesPublish200Response performPublishAction($id)
202+
203+
Publish an Invoice
204+
205+
You can publish an invoice in DRAFT status. After invoking this method, the invoice status is changed to CREATED.
206+
207+
### Example
208+
```php
209+
<?php
210+
require_once(__DIR__ . '/vendor/autoload.php');
211+
212+
$api_instance = new CyberSource\Api\InvoicesApi();
213+
$id = "id_example"; // string | The invoice number.
214+
215+
try {
216+
$result = $api_instance->performPublishAction($id);
217+
print_r($result);
218+
} catch (Exception $e) {
219+
echo 'Exception when calling InvoicesApi->performPublishAction: ', $e->getMessage(), PHP_EOL;
220+
}
221+
?>
222+
```
223+
224+
### Parameters
225+
226+
Name | Type | Description | Notes
227+
------------- | ------------- | ------------- | -------------
228+
**id** | **string**| The invoice number. |
229+
230+
### Return type
231+
232+
[**\CyberSource\Model\InvoicingV2InvoicesPublish200Response**](../Model/InvoicingV2InvoicesPublish200Response.md)
233+
234+
### Authorization
235+
236+
No authorization required
237+
238+
### HTTP request headers
239+
240+
- **Content-Type**: application/json;charset=utf-8
241+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
242+
243+
[[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)
244+
199245
# **performSendAction**
200246
> \CyberSource\Model\InvoicingV2InvoicesSend200Response performSendAction($id)
201247

docs/Api/ManageWebhooksApi.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ No authorization required
197197
[[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)
198198

199199
# **notificationSubscriptionsV2WebhooksWebhookIdPatch**
200-
> notificationSubscriptionsV2WebhooksWebhookIdPatch($webhookId, $updateWebhook)
200+
> \CyberSource\Model\InlineResponse2005 notificationSubscriptionsV2WebhooksWebhookIdPatch($webhookId, $updateWebhook)
201201
202202
Update a Webhook Subscription
203203

@@ -213,7 +213,8 @@ $webhookId = "webhookId_example"; // string | The Webhook Identifier.
213213
$updateWebhook = new \CyberSource\Model\UpdateWebhook(); // \CyberSource\Model\UpdateWebhook | The webhook payload or changes to apply.
214214

215215
try {
216-
$api_instance->notificationSubscriptionsV2WebhooksWebhookIdPatch($webhookId, $updateWebhook);
216+
$result = $api_instance->notificationSubscriptionsV2WebhooksWebhookIdPatch($webhookId, $updateWebhook);
217+
print_r($result);
217218
} catch (Exception $e) {
218219
echo 'Exception when calling ManageWebhooksApi->notificationSubscriptionsV2WebhooksWebhookIdPatch: ', $e->getMessage(), PHP_EOL;
219220
}
@@ -229,7 +230,7 @@ Name | Type | Description | Notes
229230

230231
### Return type
231232

232-
void (empty response body)
233+
[**\CyberSource\Model\InlineResponse2005**](../Model/InlineResponse2005.md)
233234

234235
### Authorization
235236

docs/Api/PaymentLinksApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Method | HTTP request | Description
1515
1616
Create a Payment Link
1717

18-
Create a new payment link.
18+
Pay by Link is an easy and fast way to securely sell products or receive donations online. This solution is ideal for distributing the same payment link to multiple customers. Links for making purchases are referred to as fixed-price links, and links for making donations are referred to as customer-set price links.
1919

2020
### Example
2121
```php
@@ -154,7 +154,7 @@ No authorization required
154154
155155
Update a Payment Link
156156

157-
You can update all information except the payment link number until any payment is received for a payment link.
157+
You can update all information except the payment link number for a payment link. Changes made to amount/price will apply to new payments made using the payment link.
158158

159159
### Example
160160
```php

docs/Model/CreateWebhook.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ Name | Type | Description | Notes
88
**organizationId** | **string** | Organization Identifier (OrgId) or Merchant Identifier (MID). | [optional]
99
**products** | [**\CyberSource\Model\Notificationsubscriptionsv2webhooksProducts1[]**](Notificationsubscriptionsv2webhooksProducts1.md) | To see the valid productId and eventTypes, call the \&quot;Create and Manage Webhooks - Retrieve a list of event types\&quot; endpoint. | [optional]
1010
**webhookUrl** | **string** | The client&#39;s endpoint (URL) to receive webhooks. | [optional]
11-
**healthCheckUrl** | **string** | The client&#39;s health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user&#39;s responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. | [optional]
11+
**healthCheckUrl** | **string** | The client&#39;s health check endpoint (URL). If the user does not provide the health check URL, it is the user&#39;s responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. | [optional]
1212
**retryPolicy** | [**\CyberSource\Model\Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional]
13-
**securityPolicy** | [**\CyberSource\Model\Notificationsubscriptionsv2webhooksSecurityPolicy1**](Notificationsubscriptionsv2webhooksSecurityPolicy1.md) | | [optional]
13+
**notificationScope** | **string** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS']
14+
**securityPolicy** | [**\CyberSource\Model\Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional]
1415

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

docs/Model/InlineResponse20010.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**version** | **string** | | [optional]
7-
**reportCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
6+
**links** | [**\CyberSource\Model\InlineResponse20010Links**](InlineResponse20010Links.md) | | [optional]
87
**batchId** | **string** | Unique identification number assigned to the submitted request. | [optional]
9-
**batchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional]
10-
**batchCaEndpoints** | **string** | | [optional]
118
**batchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
9+
**batchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional]
1210
**merchantReference** | **string** | Reference used by merchant to identify batch. | [optional]
13-
**totals** | [**\CyberSource\Model\InlineResponse2008EmbeddedTotals**](InlineResponse2008EmbeddedTotals.md) | | [optional]
14-
**billing** | [**\CyberSource\Model\InlineResponse2009Billing**](InlineResponse2009Billing.md) | | [optional]
15-
**records** | [**\CyberSource\Model\InlineResponse20010Records[]**](InlineResponse20010Records.md) | | [optional]
11+
**batchCaEndpoints** | **string** | | [optional]
12+
**status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional]
13+
**totals** | [**\CyberSource\Model\InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional]
14+
**billing** | [**\CyberSource\Model\InlineResponse20010Billing**](InlineResponse20010Billing.md) | | [optional]
15+
**description** | **string** | | [optional]
1616

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

0 commit comments

Comments
 (0)