Skip to content

Commit afc66c5

Browse files
Merge pull request #133 from CyberSource/aug_release
aug release
2 parents f46e1c1 + 476e341 commit afc66c5

File tree

86 files changed

+12542
-152
lines changed

Some content is hidden

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

86 files changed

+12542
-152
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": ">=8.0.0",
34-
"cybersource/rest-client-php": "0.0.42"
34+
"cybersource/rest-client-php": "0.0.43"
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.42",
3+
"version": "0.0.43",
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/BillingAgreementsApi.md

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# CyberSource\BillingAgreementsApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**billingAgreementsDeRegistration**](BillingAgreementsApi.md#billingAgreementsDeRegistration) | **PATCH** /pts/v2/billing-agreements/{id} | Standing Instruction Cancellation or Modification
8+
[**billingAgreementsIntimation**](BillingAgreementsApi.md#billingAgreementsIntimation) | **POST** /pts/v2/billing-agreements/{id}/intimations | Standing Instruction intimation
9+
[**billingAgreementsRegistration**](BillingAgreementsApi.md#billingAgreementsRegistration) | **POST** /pts/v2/billing-agreements | Standing Instruction completion registration
10+
11+
12+
# **billingAgreementsDeRegistration**
13+
> \CyberSource\Model\PtsV2CreditsPost201Response1 billingAgreementsDeRegistration($modifyBillingAgreement, $id)
14+
15+
Standing Instruction Cancellation or Modification
16+
17+
Standing Instruction with or without Token
18+
19+
### Example
20+
```php
21+
<?php
22+
require_once(__DIR__ . '/vendor/autoload.php');
23+
24+
$api_instance = new CyberSource\Api\BillingAgreementsApi();
25+
$modifyBillingAgreement = new \CyberSource\Model\ModifyBillingAgreement(); // \CyberSource\Model\ModifyBillingAgreement |
26+
$id = "id_example"; // string | ID for de-registration or cancellation of Billing Agreement
27+
28+
try {
29+
$result = $api_instance->billingAgreementsDeRegistration($modifyBillingAgreement, $id);
30+
print_r($result);
31+
} catch (Exception $e) {
32+
echo 'Exception when calling BillingAgreementsApi->billingAgreementsDeRegistration: ', $e->getMessage(), PHP_EOL;
33+
}
34+
?>
35+
```
36+
37+
### Parameters
38+
39+
Name | Type | Description | Notes
40+
------------- | ------------- | ------------- | -------------
41+
**modifyBillingAgreement** | [**\CyberSource\Model\ModifyBillingAgreement**](../Model/ModifyBillingAgreement.md)| |
42+
**id** | **string**| ID for de-registration or cancellation of Billing Agreement |
43+
44+
### Return type
45+
46+
[**\CyberSource\Model\PtsV2CreditsPost201Response1**](../Model/PtsV2CreditsPost201Response1.md)
47+
48+
### Authorization
49+
50+
No authorization required
51+
52+
### HTTP request headers
53+
54+
- **Content-Type**: application/json;charset=utf-8
55+
- **Accept**: application/hal+json;charset=utf-8
56+
57+
[[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)
58+
59+
# **billingAgreementsIntimation**
60+
> \CyberSource\Model\PtsV2CreditsPost201Response1 billingAgreementsIntimation($intimateBillingAgreement, $id)
61+
62+
Standing Instruction intimation
63+
64+
Standing Instruction with or without Token.
65+
66+
### Example
67+
```php
68+
<?php
69+
require_once(__DIR__ . '/vendor/autoload.php');
70+
71+
$api_instance = new CyberSource\Api\BillingAgreementsApi();
72+
$intimateBillingAgreement = new \CyberSource\Model\IntimateBillingAgreement(); // \CyberSource\Model\IntimateBillingAgreement |
73+
$id = "id_example"; // string | ID for intimation of Billing Agreement
74+
75+
try {
76+
$result = $api_instance->billingAgreementsIntimation($intimateBillingAgreement, $id);
77+
print_r($result);
78+
} catch (Exception $e) {
79+
echo 'Exception when calling BillingAgreementsApi->billingAgreementsIntimation: ', $e->getMessage(), PHP_EOL;
80+
}
81+
?>
82+
```
83+
84+
### Parameters
85+
86+
Name | Type | Description | Notes
87+
------------- | ------------- | ------------- | -------------
88+
**intimateBillingAgreement** | [**\CyberSource\Model\IntimateBillingAgreement**](../Model/IntimateBillingAgreement.md)| |
89+
**id** | **string**| ID for intimation of Billing Agreement |
90+
91+
### Return type
92+
93+
[**\CyberSource\Model\PtsV2CreditsPost201Response1**](../Model/PtsV2CreditsPost201Response1.md)
94+
95+
### Authorization
96+
97+
No authorization required
98+
99+
### HTTP request headers
100+
101+
- **Content-Type**: application/json;charset=utf-8
102+
- **Accept**: application/hal+json;charset=utf-8
103+
104+
[[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)
105+
106+
# **billingAgreementsRegistration**
107+
> \CyberSource\Model\PtsV2CreditsPost201Response1 billingAgreementsRegistration($createBillingAgreement)
108+
109+
Standing Instruction completion registration
110+
111+
Standing Instruction with or without Token. Transaction amount in case First payment is coming along with registration. Only 2 decimal places allowed
112+
113+
### Example
114+
```php
115+
<?php
116+
require_once(__DIR__ . '/vendor/autoload.php');
117+
118+
$api_instance = new CyberSource\Api\BillingAgreementsApi();
119+
$createBillingAgreement = new \CyberSource\Model\CreateBillingAgreement(); // \CyberSource\Model\CreateBillingAgreement |
120+
121+
try {
122+
$result = $api_instance->billingAgreementsRegistration($createBillingAgreement);
123+
print_r($result);
124+
} catch (Exception $e) {
125+
echo 'Exception when calling BillingAgreementsApi->billingAgreementsRegistration: ', $e->getMessage(), PHP_EOL;
126+
}
127+
?>
128+
```
129+
130+
### Parameters
131+
132+
Name | Type | Description | Notes
133+
------------- | ------------- | ------------- | -------------
134+
**createBillingAgreement** | [**\CyberSource\Model\CreateBillingAgreement**](../Model/CreateBillingAgreement.md)| |
135+
136+
### Return type
137+
138+
[**\CyberSource\Model\PtsV2CreditsPost201Response1**](../Model/PtsV2CreditsPost201Response1.md)
139+
140+
### Authorization
141+
142+
No authorization required
143+
144+
### HTTP request headers
145+
146+
- **Content-Type**: application/json;charset=utf-8
147+
- **Accept**: application/hal+json;charset=utf-8
148+
149+
[[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)
150+

docs/Api/InvoiceSettingsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ No authorization required
4545
### HTTP request headers
4646

4747
- **Content-Type**: application/json;charset=utf-8
48-
- **Accept**: application/json;charset=utf-8
48+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
4949

5050
[[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)
5151

@@ -90,7 +90,7 @@ No authorization required
9090
### HTTP request headers
9191

9292
- **Content-Type**: application/json;charset=utf-8
93-
- **Accept**: application/json;charset=utf-8
93+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
9494

9595
[[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)
9696

docs/Api/InvoicesApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ No authorization required
5353
### HTTP request headers
5454

5555
- **Content-Type**: application/json;charset=utf-8
56-
- **Accept**: application/json;charset=utf-8
56+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
5757

5858
[[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)
5959

@@ -102,7 +102,7 @@ No authorization required
102102
### HTTP request headers
103103

104104
- **Content-Type**: application/json;charset=utf-8
105-
- **Accept**: application/json;charset=utf-8
105+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
106106

107107
[[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)
108108

@@ -147,7 +147,7 @@ No authorization required
147147
### HTTP request headers
148148

149149
- **Content-Type**: application/json;charset=utf-8
150-
- **Accept**: application/json;charset=utf-8
150+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
151151

152152
[[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)
153153

@@ -192,7 +192,7 @@ No authorization required
192192
### HTTP request headers
193193

194194
- **Content-Type**: application/json;charset=utf-8
195-
- **Accept**: application/json;charset=utf-8
195+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
196196

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

@@ -237,7 +237,7 @@ No authorization required
237237
### HTTP request headers
238238

239239
- **Content-Type**: application/json;charset=utf-8
240-
- **Accept**: application/json;charset=utf-8
240+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
241241

242242
[[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)
243243

@@ -284,7 +284,7 @@ No authorization required
284284
### HTTP request headers
285285

286286
- **Content-Type**: application/json;charset=utf-8
287-
- **Accept**: application/json;charset=utf-8
287+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
288288

289289
[[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)
290290

docs/Api/PlansApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ No authorization required
5555
### HTTP request headers
5656

5757
- **Content-Type**: application/json;charset=utf-8
58-
- **Accept**: application/json;charset=utf-8
58+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
5959

6060
[[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)
6161

@@ -100,7 +100,7 @@ No authorization required
100100
### HTTP request headers
101101

102102
- **Content-Type**: application/json;charset=utf-8
103-
- **Accept**: application/json;charset=utf-8
103+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
104104

105105
[[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)
106106

@@ -145,7 +145,7 @@ No authorization required
145145
### HTTP request headers
146146

147147
- **Content-Type**: application/json;charset=utf-8
148-
- **Accept**: application/json;charset=utf-8
148+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
149149

150150
[[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)
151151

@@ -190,7 +190,7 @@ No authorization required
190190
### HTTP request headers
191191

192192
- **Content-Type**: application/json;charset=utf-8
193-
- **Accept**: application/json;charset=utf-8
193+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
194194

195195
[[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)
196196

@@ -235,7 +235,7 @@ No authorization required
235235
### HTTP request headers
236236

237237
- **Content-Type**: application/json;charset=utf-8
238-
- **Accept**: application/json;charset=utf-8
238+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
239239

240240
[[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)
241241

@@ -276,7 +276,7 @@ No authorization required
276276
### HTTP request headers
277277

278278
- **Content-Type**: application/json;charset=utf-8
279-
- **Accept**: application/json;charset=utf-8
279+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
280280

281281
[[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)
282282

@@ -329,7 +329,7 @@ No authorization required
329329
### HTTP request headers
330330

331331
- **Content-Type**: application/json;charset=utf-8
332-
- **Accept**: application/json;charset=utf-8
332+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
333333

334334
[[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)
335335

@@ -376,7 +376,7 @@ No authorization required
376376
### HTTP request headers
377377

378378
- **Content-Type**: application/json;charset=utf-8
379-
- **Accept**: application/json;charset=utf-8
379+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
380380

381381
[[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)
382382

docs/Api/SubscriptionsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ No authorization required
5555
### HTTP request headers
5656

5757
- **Content-Type**: application/json;charset=utf-8
58-
- **Accept**: application/json;charset=utf-8
58+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
5959

6060
[[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)
6161

@@ -100,7 +100,7 @@ No authorization required
100100
### HTTP request headers
101101

102102
- **Content-Type**: application/json;charset=utf-8
103-
- **Accept**: application/json;charset=utf-8
103+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
104104

105105
[[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)
106106

@@ -145,7 +145,7 @@ No authorization required
145145
### HTTP request headers
146146

147147
- **Content-Type**: application/json;charset=utf-8
148-
- **Accept**: application/json;charset=utf-8
148+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
149149

150150
[[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)
151151

@@ -196,7 +196,7 @@ No authorization required
196196
### HTTP request headers
197197

198198
- **Content-Type**: application/json;charset=utf-8
199-
- **Accept**: application/json;charset=utf-8
199+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
200200

201201
[[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)
202202

@@ -241,7 +241,7 @@ No authorization required
241241
### HTTP request headers
242242

243243
- **Content-Type**: application/json;charset=utf-8
244-
- **Accept**: application/json;charset=utf-8
244+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
245245

246246
[[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)
247247

@@ -282,7 +282,7 @@ No authorization required
282282
### HTTP request headers
283283

284284
- **Content-Type**: application/json;charset=utf-8
285-
- **Accept**: application/json;charset=utf-8
285+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
286286

287287
[[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)
288288

@@ -327,7 +327,7 @@ No authorization required
327327
### HTTP request headers
328328

329329
- **Content-Type**: application/json;charset=utf-8
330-
- **Accept**: application/json;charset=utf-8
330+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
331331

332332
[[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)
333333

@@ -374,7 +374,7 @@ No authorization required
374374
### HTTP request headers
375375

376376
- **Content-Type**: application/json;charset=utf-8
377-
- **Accept**: application/json;charset=utf-8
377+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
378378

379379
[[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)
380380

0 commit comments

Comments
 (0)