Skip to content

Commit 063d5bb

Browse files
authored
Merge pull request #88 from CyberSource/june-release
June release
2 parents f30a757 + 8c9f56c commit 063d5bb

File tree

990 files changed

+99212
-2107
lines changed

Some content is hidden

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

990 files changed

+99212
-2107
lines changed

.rspec

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--color
2+
--require spec_helper

.swagger-codegen-ignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Swagger Codegen Ignore
2+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.swagger-codegen/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.3

cybersource_rest_client.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require "cybersource_rest_client/version"
1717

1818
Gem::Specification.new do |s|
1919
s.name = "cybersource_rest_client"
20-
s.version = "0.0.52"
20+
s.version = "0.0.53"
2121
s.platform = Gem::Platform::RUBY
2222
s.authors = ["CyberSource"]
2323
s.email = ["[email protected]"]

docs/PlansApi.md

+12-20
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Method | HTTP request | Description
1515

1616

1717
# **activate_plan**
18-
> InlineResponse2004 activate_plan(id, opts)
18+
> InlineResponse2004 activate_plan(id)
1919
2020
Activate a Plan
2121

@@ -30,13 +30,10 @@ api_instance = CyberSource::PlansApi.new
3030

3131
id = "id_example" # String | Plan Id
3232

33-
opts = {
34-
activate_plan_request: nil # Object |
35-
}
3633

3734
begin
3835
#Activate a Plan
39-
result = api_instance.activate_plan(id, opts)
36+
result = api_instance.activate_plan(id)
4037
p result
4138
rescue CyberSource::ApiError => e
4239
puts "Exception when calling PlansApi->activate_plan: #{e}"
@@ -48,7 +45,6 @@ end
4845
Name | Type | Description | Notes
4946
------------- | ------------- | ------------- | -------------
5047
**id** | **String**| Plan Id |
51-
**activate_plan_request** | **Object**| | [optional]
5248

5349
### Return type
5450

@@ -61,7 +57,7 @@ No authorization required
6157
### HTTP request headers
6258

6359
- **Content-Type**: application/json;charset=utf-8
64-
- **Accept**: application/hal+json;charset=utf-8
60+
- **Accept**: application/json;charset=utf-8
6561

6662

6763

@@ -108,12 +104,12 @@ No authorization required
108104
### HTTP request headers
109105

110106
- **Content-Type**: application/json;charset=utf-8
111-
- **Accept**: application/hal+json;charset=utf-8
107+
- **Accept**: application/json;charset=utf-8
112108

113109

114110

115111
# **deactivate_plan**
116-
> InlineResponse2004 deactivate_plan(id, opts)
112+
> InlineResponse2004 deactivate_plan(id)
117113
118114
Deactivate a Plan
119115

@@ -128,13 +124,10 @@ api_instance = CyberSource::PlansApi.new
128124

129125
id = "id_example" # String | Plan Id
130126

131-
opts = {
132-
deactivate_plan_request: nil # Object |
133-
}
134127

135128
begin
136129
#Deactivate a Plan
137-
result = api_instance.deactivate_plan(id, opts)
130+
result = api_instance.deactivate_plan(id)
138131
p result
139132
rescue CyberSource::ApiError => e
140133
puts "Exception when calling PlansApi->deactivate_plan: #{e}"
@@ -146,7 +139,6 @@ end
146139
Name | Type | Description | Notes
147140
------------- | ------------- | ------------- | -------------
148141
**id** | **String**| Plan Id |
149-
**deactivate_plan_request** | **Object**| | [optional]
150142

151143
### Return type
152144

@@ -159,7 +151,7 @@ No authorization required
159151
### HTTP request headers
160152

161153
- **Content-Type**: application/json;charset=utf-8
162-
- **Accept**: application/hal+json;charset=utf-8
154+
- **Accept**: application/json;charset=utf-8
163155

164156

165157

@@ -206,7 +198,7 @@ No authorization required
206198
### HTTP request headers
207199

208200
- **Content-Type**: application/json;charset=utf-8
209-
- **Accept**: application/hal+json;charset=utf-8
201+
- **Accept**: application/json;charset=utf-8
210202

211203

212204

@@ -253,7 +245,7 @@ No authorization required
253245
### HTTP request headers
254246

255247
- **Content-Type**: application/json;charset=utf-8
256-
- **Accept**: application/hal+json;charset=utf-8
248+
- **Accept**: application/json;charset=utf-8
257249

258250

259251

@@ -294,7 +286,7 @@ No authorization required
294286
### HTTP request headers
295287

296288
- **Content-Type**: application/json;charset=utf-8
297-
- **Accept**: application/hal+json;charset=utf-8
289+
- **Accept**: application/json;charset=utf-8
298290

299291

300292

@@ -350,7 +342,7 @@ No authorization required
350342
### HTTP request headers
351343

352344
- **Content-Type**: application/json;charset=utf-8
353-
- **Accept**: application/hal+json;charset=utf-8
345+
- **Accept**: application/json;charset=utf-8
354346

355347

356348

@@ -400,7 +392,7 @@ No authorization required
400392
### HTTP request headers
401393

402394
- **Content-Type**: application/json;charset=utf-8
403-
- **Accept**: application/hal+json;charset=utf-8
395+
- **Accept**: application/json;charset=utf-8
404396

405397

406398

docs/PtsV2PaymentsPost201Response.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
2323
**buyer_information** | [**PtsV2PaymentsPost201ResponseBuyerInformation**](PtsV2PaymentsPost201ResponseBuyerInformation.md) | | [optional]
2424
**risk_information** | [**PtsV2PaymentsPost201ResponseRiskInformation**](PtsV2PaymentsPost201ResponseRiskInformation.md) | | [optional]
2525
**consumer_authentication_information** | [**PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation**](PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md) | | [optional]
26+
**embedded_actions** | [**PtsV2PaymentsPost201ResponseEmbeddedActions**](PtsV2PaymentsPost201ResponseEmbeddedActions.md) | | [optional]
2627
**watchlist_screening_information** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformation**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md) | | [optional]
2728

2829

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CyberSource::PtsV2PaymentsPost201ResponseEmbeddedActions
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**capture** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE**](PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.md) | | [optional]
7+
**decision** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION**](PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.md) | | [optional]
8+
**consumer_authentication** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
9+
**validate_consumer_authentication** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
10+
**watchlist_screening** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING**](PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md) | | [optional]
11+
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource::PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status of the submitted transaction. Possible values: - PENDING | [optional]
7+
**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED | [optional]
8+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
9+
10+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource::PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status for payerAuthentication 201 enroll and validate calls. Possible values are: - `AUTHENTICATION_SUCCESSFUL` - `PENDING_AUTHENTICATION` - `INVALID_REQUEST` - `AUTHENTICATION_FAILED` | [optional]
7+
**reason** | **String** | The reason of the status. Possible values are: - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_REQUIRED` - `CONSUMER_AUTHENTICATION_FAILED` - `AUTHENTICATION_FAILED` | [optional]
8+
**message** | **String** | The message describing the reason of the status. Value is: - Encountered a Payer Authentication problem. Payer could not be authenticated. | [optional]
9+
10+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource::PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status of the submitted transaction. Possible values: - `ACCEPTED` - `REJECTED` - `PENDING_REVIEW` - `DECLINED` - `PENDING_AUTHENTICATION` - `INVALID_REQUEST` - `AUTHENTICATION_FAILED` - `CHALLENGE` | [optional]
7+
**reason** | **String** | The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` | [optional]
8+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
9+
10+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource::PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status for the call can be: - COMPLETED - INVALID_REQUEST - DECLINED | [optional]
7+
**reason** | **String** | The reason of the status. Value can be - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` - `INVALID_MERCHANT_CONFIGURATION` | [optional]
8+
**message** | **String** | The message describing the reason of the status. Value can be - The customer matched the Denied Parties List - The Export bill_country/ship_country match - Export email_country match - Export hostname_country/ip_country match | [optional]
9+
10+

docs/Ptsv2paymentsProcessingInformation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**action_list** | **Array<String>** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service. | [optional]
6+
**action_list** | **Array<String>** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentication along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentication result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service. | [optional]
77
**enable_escrow_option** | **BOOLEAN** | Indicates whether to use the customer’s escrow agreement. Possible values: - `true`: yes, use the customer’s escrow agreement. - `false`: no, do not use the customer’s escrow agreement. | [optional]
88
**action_token_types** | **Array<String>** | CyberSource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Valid values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress | [optional]
99
**bin_source** | **String** | Bin Source File Identifier. Possible values: - itmx - rupay | [optional]

docs/Ptsv2paymentsRecipientInformation.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
77
**last_name** | **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
**middle_name** | **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
**postal_code** | **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+
**date_of_birth** | **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

0 commit comments

Comments
 (0)