Skip to content

Commit c86f383

Browse files
committed
june spec changes
1 parent 4f48a18 commit c86f383

23 files changed

+937
-195
lines changed

docs/Api/PlansApi.md

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

1616

1717
# **activatePlan**
18-
> \CyberSource\Model\InlineResponse2004 activatePlan($id, $activatePlanRequest)
18+
> \CyberSource\Model\InlineResponse2004 activatePlan($id)
1919
2020
Activate a Plan
2121

@@ -28,10 +28,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828

2929
$api_instance = new CyberSource\Api\PlansApi();
3030
$id = "id_example"; // string | Plan Id
31-
$activatePlanRequest = NULL; // object |
3231

3332
try {
34-
$result = $api_instance->activatePlan($id, $activatePlanRequest);
33+
$result = $api_instance->activatePlan($id);
3534
print_r($result);
3635
} catch (Exception $e) {
3736
echo 'Exception when calling PlansApi->activatePlan: ', $e->getMessage(), PHP_EOL;
@@ -44,7 +43,6 @@ try {
4443
Name | Type | Description | Notes
4544
------------- | ------------- | ------------- | -------------
4645
**id** | **string**| Plan Id |
47-
**activatePlanRequest** | **object**| | [optional]
4846

4947
### Return type
5048

@@ -107,7 +105,7 @@ No authorization required
107105
[[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)
108106

109107
# **deactivatePlan**
110-
> \CyberSource\Model\InlineResponse2004 deactivatePlan($id, $deactivatePlanRequest)
108+
> \CyberSource\Model\InlineResponse2004 deactivatePlan($id)
111109
112110
Deactivate a Plan
113111

@@ -120,10 +118,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
120118

121119
$api_instance = new CyberSource\Api\PlansApi();
122120
$id = "id_example"; // string | Plan Id
123-
$deactivatePlanRequest = NULL; // object |
124121

125122
try {
126-
$result = $api_instance->deactivatePlan($id, $deactivatePlanRequest);
123+
$result = $api_instance->deactivatePlan($id);
127124
print_r($result);
128125
} catch (Exception $e) {
129126
echo 'Exception when calling PlansApi->deactivatePlan: ', $e->getMessage(), PHP_EOL;
@@ -136,7 +133,6 @@ try {
136133
Name | Type | Description | Notes
137134
------------- | ------------- | ------------- | -------------
138135
**id** | **string**| Plan Id |
139-
**deactivatePlanRequest** | **object**| | [optional]
140136

141137
### Return type
142138

docs/Api/SubscriptionsApi.md

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

1616

1717
# **activateSubscription**
18-
> \CyberSource\Model\InlineResponse2009 activateSubscription($id, $activateSubscriptionRequest)
18+
> \CyberSource\Model\InlineResponse2009 activateSubscription($id)
1919
2020
Activate a Subscription
2121

@@ -28,10 +28,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828

2929
$api_instance = new CyberSource\Api\SubscriptionsApi();
3030
$id = "id_example"; // string | Subscription Id
31-
$activateSubscriptionRequest = NULL; // object |
3231

3332
try {
34-
$result = $api_instance->activateSubscription($id, $activateSubscriptionRequest);
33+
$result = $api_instance->activateSubscription($id);
3534
print_r($result);
3635
} catch (Exception $e) {
3736
echo 'Exception when calling SubscriptionsApi->activateSubscription: ', $e->getMessage(), PHP_EOL;
@@ -44,7 +43,6 @@ try {
4443
Name | Type | Description | Notes
4544
------------- | ------------- | ------------- | -------------
4645
**id** | **string**| Subscription Id |
47-
**activateSubscriptionRequest** | **object**| | [optional]
4846

4947
### Return type
5048

@@ -62,7 +60,7 @@ No authorization required
6260
[[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)
6361

6462
# **cancelSubscription**
65-
> \CyberSource\Model\InlineResponse202 cancelSubscription($id, $cancelSubscriptionRequest)
63+
> \CyberSource\Model\InlineResponse202 cancelSubscription($id)
6664
6765
Cancel a Subscription
6866

@@ -75,10 +73,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
7573

7674
$api_instance = new CyberSource\Api\SubscriptionsApi();
7775
$id = "id_example"; // string | Subscription Id
78-
$cancelSubscriptionRequest = NULL; // object |
7976

8077
try {
81-
$result = $api_instance->cancelSubscription($id, $cancelSubscriptionRequest);
78+
$result = $api_instance->cancelSubscription($id);
8279
print_r($result);
8380
} catch (Exception $e) {
8481
echo 'Exception when calling SubscriptionsApi->cancelSubscription: ', $e->getMessage(), PHP_EOL;
@@ -91,7 +88,6 @@ try {
9188
Name | Type | Description | Notes
9289
------------- | ------------- | ------------- | -------------
9390
**id** | **string**| Subscription Id |
94-
**cancelSubscriptionRequest** | **object**| | [optional]
9591

9692
### Return type
9793

@@ -291,7 +287,7 @@ No authorization required
291287
[[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)
292288

293289
# **suspendSubscription**
294-
> \CyberSource\Model\InlineResponse2021 suspendSubscription($id, $suspendSubscriptionRequest)
290+
> \CyberSource\Model\InlineResponse2021 suspendSubscription($id)
295291
296292
Suspend a Subscription
297293

@@ -304,10 +300,9 @@ require_once(__DIR__ . '/vendor/autoload.php');
304300

305301
$api_instance = new CyberSource\Api\SubscriptionsApi();
306302
$id = "id_example"; // string | Subscription Id
307-
$suspendSubscriptionRequest = NULL; // object |
308303

309304
try {
310-
$result = $api_instance->suspendSubscription($id, $suspendSubscriptionRequest);
305+
$result = $api_instance->suspendSubscription($id);
311306
print_r($result);
312307
} catch (Exception $e) {
313308
echo 'Exception when calling SubscriptionsApi->suspendSubscription: ', $e->getMessage(), PHP_EOL;
@@ -320,7 +315,6 @@ try {
320315
Name | Type | Description | Notes
321316
------------- | ------------- | ------------- | -------------
322317
**id** | **string**| Subscription Id |
323-
**suspendSubscriptionRequest** | **object**| | [optional]
324318

325319
### Return type
326320

docs/Model/Ptsv2paymentsRecipientInformation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**lastName** | **string** | Recipient’s last name. This field is a _passthrough_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the `recipient_lastname` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
88
**middleName** | **string** | Recipient’s middle name. This field is a _passthrough_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the `recipient_middlename` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
99
**postalCode** | **string** | Partial postal code for the recipient’s address. For example, if the postal code is **NN5 7SG**, the value for this field should be the first part of the postal code: **NN5**. This field is a _pass-through_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the `recipient_postal_code` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
10+
**dateOfBirth** | **string** | Recipient’s date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For more details, see `recipient_date_of_birth` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
1011

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

docs/Model/TssV2TransactionsGet200Response.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**reconciliationId** | **string** | Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. | [optional]
99
**merchantId** | **string** | Your CyberSource merchant ID. | [optional]
1010
**submitTimeUTC** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional]
11+
**status** | **string** | The status of the submitted transaction. | [optional]
1112
**applicationInformation** | [**\CyberSource\Model\TssV2TransactionsGet200ResponseApplicationInformation**](TssV2TransactionsGet200ResponseApplicationInformation.md) | | [optional]
1213
**buyerInformation** | [**\CyberSource\Model\TssV2TransactionsGet200ResponseBuyerInformation**](TssV2TransactionsGet200ResponseBuyerInformation.md) | | [optional]
1314
**clientReferenceInformation** | [**\CyberSource\Model\TssV2TransactionsGet200ResponseClientReferenceInformation**](TssV2TransactionsGet200ResponseClientReferenceInformation.md) | | [optional]

docs/Model/TssV2TransactionsPost201Response.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Name | Type | Description | Notes
1313
**sort** | **string** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional]
1414
**count** | **int** | Results for this page, this could be below the limit. | [optional]
1515
**totalCount** | **int** | Total number of results. | [optional]
16-
**status** | **string** | The status of the submitted transaction. | [optional]
1716
**submitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional]
1817
**embedded** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbedded**](TssV2TransactionsPost201ResponseEmbedded.md) | | [optional]
1918
**links** | [**\CyberSource\Model\PtsV2IncrementalAuthorizationPatch201ResponseLinks**](PtsV2IncrementalAuthorizationPatch201ResponseLinks.md) | | [optional]

docs/Model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**name** | **string** | The name of the CyberSource transaction type (such as CC settlement or CC authorization) that the merchant wants to process in a transaction request. More than one transaction type can included in a transaction request. Each transaction type separately returns their own status, reasonCode, rCode, and rFlag messages. | [optional]
77
**reasonCode** | **string** | 3-digit reason code that indicates why the customer profile payment succeeded or failed. | [optional]
8+
**status** | **string** | The status of the submitted transaction. Note: This field may not be returned for all transactions. | [optional]
9+
**reason** | **string** | Description of why a request failed. Note: This field may not be returned for all transactions. | [optional]
810
**rCode** | **string** | Indicates whether the service request was successful. Possible values: - `-1`: An error occurred. - `0`: The request was declined. - `1`: The request was successful. | [optional]
911
**rFlag** | **string** | One-word description of the result of the application. | [optional]
1012
**reconciliationId** | **string** | Reference number that you use to reconcile your CyberSource reports with your processor reports. | [optional]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# TssV2TransactionsPost201ResponseEmbeddedErrorInformation
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**reason** | **string** | Description of why a request failed. Note: This field may not be returned for all transactions. | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

docs/Model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ Name | Type | Description | Notes
66
**id** | **string** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional]
77
**submitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional]
88
**merchantId** | **string** | Your CyberSource merchant ID. | [optional]
9+
**status** | **string** | The status of the submitted transaction. Note: This field may not be returned for all transactions. | [optional]
910
**applicationInformation** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbeddedApplicationInformation**](TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.md) | | [optional]
1011
**buyerInformation** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbeddedBuyerInformation**](TssV2TransactionsPost201ResponseEmbeddedBuyerInformation.md) | | [optional]
1112
**clientReferenceInformation** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation**](TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md) | | [optional]
1213
**consumerAuthenticationInformation** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation**](TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.md) | | [optional]
1314
**deviceInformation** | [**\CyberSource\Model\Riskv1authenticationresultsDeviceInformation**](Riskv1authenticationresultsDeviceInformation.md) | | [optional]
15+
**errorInformation** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbeddedErrorInformation**](TssV2TransactionsPost201ResponseEmbeddedErrorInformation.md) | | [optional]
1416
**fraudMarkingInformation** | [**\CyberSource\Model\TssV2TransactionsGet200ResponseFraudMarkingInformation**](TssV2TransactionsGet200ResponseFraudMarkingInformation.md) | | [optional]
1517
**merchantDefinedInformation** | [**\CyberSource\Model\Ptsv2paymentsMerchantDefinedInformation[]**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional]
1618
**merchantInformation** | [**\CyberSource\Model\TssV2TransactionsPost201ResponseEmbeddedMerchantInformation**](TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.md) | | [optional]

0 commit comments

Comments
 (0)