Skip to content

Commit e6dc2e7

Browse files
committed
+ Changes to SDK v0.0.14
1 parent 162abb9 commit e6dc2e7

20 files changed

+99
-1691
lines changed

docs/MitReversalRequest.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/MitVoidRequest.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/PayerAuthenticationApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All URIs are relative to *https://apitest.cybersource.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**check_payer_auth_enrollment**](PayerAuthenticationApi.md#check_payer_auth_enrollment) | **POST** /risk/v1/authentications | Check payer auth enrollment
8-
[**risk_v1_authentication_results_post**](PayerAuthenticationApi.md#risk_v1_authentication_results_post) | **POST** /risk/v1/authentication-results | Validate authentication results
8+
[**validate_authentication_results**](PayerAuthenticationApi.md#validate_authentication_results) | **POST** /risk/v1/authentication-results | Validate authentication results
99

1010

1111
# **check_payer_auth_enrollment**
@@ -55,8 +55,8 @@ No authorization required
5555

5656

5757

58-
# **risk_v1_authentication_results_post**
59-
> RiskV1AuthenticationResultsPost201Response risk_v1_authentication_results_post(request)
58+
# **validate_authentication_results**
59+
> RiskV1AuthenticationResultsPost201Response validate_authentication_results(request)
6060
6161
Validate authentication results
6262

@@ -74,10 +74,10 @@ request = CyberSource::Request.new # Request |
7474

7575
begin
7676
#Validate authentication results
77-
result = api_instance.risk_v1_authentication_results_post(request)
77+
result = api_instance.validate_authentication_results(request)
7878
p result
7979
rescue CyberSource::ApiError => e
80-
puts "Exception when calling PayerAuthenticationApi->risk_v1_authentication_results_post: #{e}"
80+
puts "Exception when calling PayerAuthenticationApi->validate_authentication_results: #{e}"
8181
end
8282
```
8383

docs/ReversalApi.md

Lines changed: 0 additions & 107 deletions
This file was deleted.

docs/TransactionBatchesApi.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**pts_v1_transaction_batches_get**](TransactionBatchesApi.md#pts_v1_transaction_batches_get) | **GET** /pts/v1/transaction-batches | Gets a list of batch files
8-
[**pts_v1_transaction_batches_id_get**](TransactionBatchesApi.md#pts_v1_transaction_batches_id_get) | **GET** /pts/v1/transaction-batches/{id} | Get individual batch file
7+
[**get_transaction_batch_id**](TransactionBatchesApi.md#get_transaction_batch_id) | **GET** /pts/v1/transaction-batches/{id} | Get individual batch file
8+
[**get_transaction_batches**](TransactionBatchesApi.md#get_transaction_batches) | **GET** /pts/v1/transaction-batches | Gets a list of batch files
99

1010

11-
# **pts_v1_transaction_batches_get**
12-
> PtsV1TransactionBatchesGet200Response pts_v1_transaction_batches_get(start_time, end_time)
11+
# **get_transaction_batch_id**
12+
> PtsV1TransactionBatchesIdGet200Response get_transaction_batch_id(id)
1313
14-
Gets a list of batch files
14+
Get individual batch file
1515

1616
Provide the search range
1717

@@ -22,30 +22,27 @@ require 'cybersource_rest_client'
2222

2323
api_instance = CyberSource::TransactionBatchesApi.new
2424

25-
start_time = DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
26-
27-
end_time = DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
25+
id = "id_example" # String | The batch id assigned for the template.
2826

2927

3028
begin
31-
#Gets a list of batch files
32-
result = api_instance.pts_v1_transaction_batches_get(start_time, end_time)
29+
#Get individual batch file
30+
result = api_instance.get_transaction_batch_id(id)
3331
p result
3432
rescue CyberSource::ApiError => e
35-
puts "Exception when calling TransactionBatchesApi->pts_v1_transaction_batches_get: #{e}"
33+
puts "Exception when calling TransactionBatchesApi->get_transaction_batch_id: #{e}"
3634
end
3735
```
3836

3937
### Parameters
4038

4139
Name | Type | Description | Notes
4240
------------- | ------------- | ------------- | -------------
43-
**start_time** | **DateTime**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
44-
**end_time** | **DateTime**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
41+
**id** | **String**| The batch id assigned for the template. |
4542

4643
### Return type
4744

48-
[**PtsV1TransactionBatchesGet200Response**](PtsV1TransactionBatchesGet200Response.md)
45+
[**PtsV1TransactionBatchesIdGet200Response**](PtsV1TransactionBatchesIdGet200Response.md)
4946

5047
### Authorization
5148

@@ -58,10 +55,10 @@ No authorization required
5855

5956

6057

61-
# **pts_v1_transaction_batches_id_get**
62-
> PtsV1TransactionBatchesIdGet200Response pts_v1_transaction_batches_id_get(id)
58+
# **get_transaction_batches**
59+
> PtsV1TransactionBatchesGet200Response get_transaction_batches(start_time, end_time)
6360
64-
Get individual batch file
61+
Gets a list of batch files
6562

6663
Provide the search range
6764

@@ -72,27 +69,30 @@ require 'cybersource_rest_client'
7269

7370
api_instance = CyberSource::TransactionBatchesApi.new
7471

75-
id = "id_example" # String | The batch id assigned for the template.
72+
start_time = DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
73+
74+
end_time = DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
7675

7776

7877
begin
79-
#Get individual batch file
80-
result = api_instance.pts_v1_transaction_batches_id_get(id)
78+
#Gets a list of batch files
79+
result = api_instance.get_transaction_batches(start_time, end_time)
8180
p result
8281
rescue CyberSource::ApiError => e
83-
puts "Exception when calling TransactionBatchesApi->pts_v1_transaction_batches_id_get: #{e}"
82+
puts "Exception when calling TransactionBatchesApi->get_transaction_batches: #{e}"
8483
end
8584
```
8685

8786
### Parameters
8887

8988
Name | Type | Description | Notes
9089
------------- | ------------- | ------------- | -------------
91-
**id** | **String**| The batch id assigned for the template. |
90+
**start_time** | **DateTime**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
91+
**end_time** | **DateTime**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
9292

9393
### Return type
9494

95-
[**PtsV1TransactionBatchesIdGet200Response**](PtsV1TransactionBatchesIdGet200Response.md)
95+
[**PtsV1TransactionBatchesGet200Response**](PtsV1TransactionBatchesGet200Response.md)
9696

9797
### Authorization
9898

0 commit comments

Comments
 (0)