cybersource_rest_client 0.0.50 → 0.0.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
- data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +13 -4
- data/lib/cybersource_rest_client/models/create_payment_request.rb +13 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +13 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +13 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_bill_to.rb +206 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +21 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +102 -6
- data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb → pts_v2_payments_post201_response_watchlist_screening_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb → pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb} +2 -2
- data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb → pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +26 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +238 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +36 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +26 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +21 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +215 -0
- data/lib/cybersource_rest_client/models/{riskv1exportcomplianceinquiries_export_compliance_information_weights.rb → ptsv2payments_watchlist_screening_information_weights.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +20 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +10 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +26 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +2 -2
- data/lib/cybersource_rest_client.rb +7 -4
- metadata +9 -6
@@ -55,6 +55,10 @@ module CyberSource
|
|
55
55
|
# Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. Optional field. #### Airlines processing Tax portion of the order amount. This value cannot exceed 99999999999999 (fourteen 9s). Format: English characters only. Optional request field for a line item. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Note if you send this field in your tax request, the value in the field will override the tax engine
|
56
56
|
attr_accessor :tax_amount
|
57
57
|
|
58
|
+
attr_accessor :allowed_export_countries
|
59
|
+
|
60
|
+
attr_accessor :restricted_export_countries
|
61
|
+
|
58
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
63
|
def self.attribute_map
|
60
64
|
{
|
@@ -71,7 +75,9 @@ module CyberSource
|
|
71
75
|
:'distributor_product_sku' => :'distributorProductSku',
|
72
76
|
:'passenger' => :'passenger',
|
73
77
|
:'shipping_destination_types' => :'shippingDestinationTypes',
|
74
|
-
:'tax_amount' => :'taxAmount'
|
78
|
+
:'tax_amount' => :'taxAmount',
|
79
|
+
:'allowed_export_countries' => :'allowedExportCountries',
|
80
|
+
:'restricted_export_countries' => :'restrictedExportCountries'
|
75
81
|
}
|
76
82
|
end
|
77
83
|
|
@@ -91,7 +97,9 @@ module CyberSource
|
|
91
97
|
:'distributor_product_sku' => :'String',
|
92
98
|
:'passenger' => :'Ptsv2paymentsOrderInformationPassenger',
|
93
99
|
:'shipping_destination_types' => :'String',
|
94
|
-
:'tax_amount' => :'String'
|
100
|
+
:'tax_amount' => :'String',
|
101
|
+
:'allowed_export_countries' => :'Array<String>',
|
102
|
+
:'restricted_export_countries' => :'Array<String>'
|
95
103
|
}
|
96
104
|
end
|
97
105
|
|
@@ -158,6 +166,18 @@ module CyberSource
|
|
158
166
|
if attributes.has_key?(:'taxAmount')
|
159
167
|
self.tax_amount = attributes[:'taxAmount']
|
160
168
|
end
|
169
|
+
|
170
|
+
if attributes.has_key?(:'allowedExportCountries')
|
171
|
+
if (value = attributes[:'allowedExportCountries']).is_a?(Array)
|
172
|
+
self.allowed_export_countries = value
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.has_key?(:'restrictedExportCountries')
|
177
|
+
if (value = attributes[:'restrictedExportCountries']).is_a?(Array)
|
178
|
+
self.restricted_export_countries = value
|
179
|
+
end
|
180
|
+
end
|
161
181
|
end
|
162
182
|
|
163
183
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -251,7 +271,9 @@ module CyberSource
|
|
251
271
|
distributor_product_sku == o.distributor_product_sku &&
|
252
272
|
passenger == o.passenger &&
|
253
273
|
shipping_destination_types == o.shipping_destination_types &&
|
254
|
-
tax_amount == o.tax_amount
|
274
|
+
tax_amount == o.tax_amount &&
|
275
|
+
allowed_export_countries == o.allowed_export_countries &&
|
276
|
+
restricted_export_countries == o.restricted_export_countries
|
255
277
|
end
|
256
278
|
|
257
279
|
# @see the `==` method
|
@@ -263,7 +285,7 @@ module CyberSource
|
|
263
285
|
# Calculates hash code according to all attributes.
|
264
286
|
# @return [Fixnum] Hash code
|
265
287
|
def hash
|
266
|
-
[total_amount, unit_price, quantity, gift_card_currency, product_sku, product_risk, product_description, product_name, product_code, gift, distributor_product_sku, passenger, shipping_destination_types, tax_amount].hash
|
288
|
+
[total_amount, unit_price, quantity, gift_card_currency, product_sku, product_risk, product_description, product_name, product_code, gift, distributor_product_sku, passenger, shipping_destination_types, tax_amount, allowed_export_countries, restricted_export_countries].hash
|
267
289
|
end
|
268
290
|
|
269
291
|
# Builds the object from hash
|
@@ -13,9 +13,9 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
# Decides whether to call Payer Authentication along with DM or not
|
16
|
+
# Decides whether to call Payer Authentication or Watchlist Screening service along with DM or not
|
17
17
|
class Riskv1decisionsProcessingInformation
|
18
|
-
# Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run.
|
18
|
+
# - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service.
|
19
19
|
attr_accessor :action_list
|
20
20
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
def self.swagger_types
|
36
36
|
{
|
37
37
|
:'address_operator' => :'String',
|
38
|
-
:'weights' => :'
|
38
|
+
:'weights' => :'Ptsv2paymentsWatchlistScreeningInformationWeights',
|
39
39
|
:'sanction_lists' => :'Array<String>'
|
40
40
|
}
|
41
41
|
end
|
@@ -20,10 +20,10 @@ module CyberSource
|
|
20
20
|
# Raw Electronic Verification response code from the processor for the customer’s email address.
|
21
21
|
attr_accessor :email_raw
|
22
22
|
|
23
|
-
# Mapped Electronic Verification response code for the customer’s name.
|
23
|
+
# #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match
|
24
24
|
attr_accessor :name
|
25
25
|
|
26
|
-
# Raw Electronic Verification response code from the processor for the customer’s name.
|
26
|
+
# #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match
|
27
27
|
attr_accessor :name_raw
|
28
28
|
|
29
29
|
# Mapped Electronic Verification response code for the customer’s phone number. For details, see `auth_ev_phone_number` 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/)
|
@@ -295,6 +295,7 @@ require 'cybersource_rest_client/models/pts_v2_payments_post201_response__links'
|
|
295
295
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response__links_self'
|
296
296
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information'
|
297
297
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details'
|
298
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_bill_to'
|
298
299
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details'
|
299
300
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details'
|
300
301
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information'
|
@@ -339,6 +340,9 @@ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_token_i
|
|
339
340
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier'
|
340
341
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument'
|
341
342
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address'
|
343
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information'
|
344
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information_watch_list'
|
345
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches'
|
342
346
|
require 'cybersource_rest_client/models/pts_v2_payments_post400_response'
|
343
347
|
require 'cybersource_rest_client/models/pts_v2_payments_post502_response'
|
344
348
|
require 'cybersource_rest_client/models/pts_v2_payments_refund_post201_response'
|
@@ -423,6 +427,7 @@ require 'cybersource_rest_client/models/ptsv2payments_merchant_defined_informati
|
|
423
427
|
require 'cybersource_rest_client/models/ptsv2payments_merchant_information'
|
424
428
|
require 'cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor'
|
425
429
|
require 'cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor'
|
430
|
+
require 'cybersource_rest_client/models/ptsv2payments_merchant_information_service_location'
|
426
431
|
require 'cybersource_rest_client/models/ptsv2payments_order_information'
|
427
432
|
require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details'
|
428
433
|
require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts'
|
@@ -492,6 +497,8 @@ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit
|
|
492
497
|
require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service'
|
493
498
|
require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs'
|
494
499
|
require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer'
|
500
|
+
require 'cybersource_rest_client/models/ptsv2payments_watchlist_screening_information'
|
501
|
+
require 'cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights'
|
495
502
|
require 'cybersource_rest_client/models/ptsv2paymentsid_client_reference_information'
|
496
503
|
require 'cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner'
|
497
504
|
require 'cybersource_rest_client/models/ptsv2paymentsid_merchant_information'
|
@@ -683,9 +690,6 @@ require 'cybersource_rest_client/models/risk_v1_decisions_post400_response'
|
|
683
690
|
require 'cybersource_rest_client/models/risk_v1_decisions_post400_response_1'
|
684
691
|
require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response'
|
685
692
|
require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_error_information'
|
686
|
-
require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information'
|
687
|
-
require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list'
|
688
|
-
require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches'
|
689
693
|
require 'cybersource_rest_client/models/risk_v1_update_post201_response'
|
690
694
|
require 'cybersource_rest_client/models/riskv1addressverifications_buyer_information'
|
691
695
|
require 'cybersource_rest_client/models/riskv1addressverifications_order_information'
|
@@ -749,7 +753,6 @@ require 'cybersource_rest_client/models/riskv1decisionsidmarking_risk_informatio
|
|
749
753
|
require 'cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details'
|
750
754
|
require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information'
|
751
755
|
require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information'
|
752
|
-
require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights'
|
753
756
|
require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information'
|
754
757
|
require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to'
|
755
758
|
require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybersource_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -634,6 +634,7 @@ files:
|
|
634
634
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb
|
635
635
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb
|
636
636
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb
|
637
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_bill_to.rb
|
637
638
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb
|
638
639
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details.rb
|
639
640
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb
|
@@ -678,6 +679,9 @@ files:
|
|
678
679
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb
|
679
680
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb
|
680
681
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb
|
682
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb
|
683
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb
|
684
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb
|
681
685
|
- lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb
|
682
686
|
- lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb
|
683
687
|
- lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb
|
@@ -762,6 +766,7 @@ files:
|
|
762
766
|
- lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb
|
763
767
|
- lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb
|
764
768
|
- lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb
|
769
|
+
- lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb
|
765
770
|
- lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb
|
766
771
|
- lib/cybersource_rest_client/models/ptsv2payments_order_information.rb
|
767
772
|
- lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb
|
@@ -831,6 +836,8 @@ files:
|
|
831
836
|
- lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb
|
832
837
|
- lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb
|
833
838
|
- lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb
|
839
|
+
- lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb
|
840
|
+
- lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb
|
834
841
|
- lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb
|
835
842
|
- lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb
|
836
843
|
- lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb
|
@@ -1023,9 +1030,6 @@ files:
|
|
1023
1030
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post400_response_1.rb
|
1024
1031
|
- lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb
|
1025
1032
|
- lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_error_information.rb
|
1026
|
-
- lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb
|
1027
|
-
- lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb
|
1028
|
-
- lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb
|
1029
1033
|
- lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb
|
1030
1034
|
- lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb
|
1031
1035
|
- lib/cybersource_rest_client/models/riskv1addressverifications_order_information.rb
|
@@ -1089,7 +1093,6 @@ files:
|
|
1089
1093
|
- lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb
|
1090
1094
|
- lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb
|
1091
1095
|
- lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb
|
1092
|
-
- lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb
|
1093
1096
|
- lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information.rb
|
1094
1097
|
- lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb
|
1095
1098
|
- lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb
|