cybersource_rest_client 0.0.40 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +7 -4
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +223 -219
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +116 -112
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/customer_api.rb +368 -360
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +530 -518
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +530 -518
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +92 -88
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +92 -88
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +15 -3
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +152 -148
- data/lib/cybersource_rest_client/api/invoices_api.rb +447 -431
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +5 -1
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +219 -219
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +133 -129
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +10 -2
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +15 -3
- data/lib/cybersource_rest_client/api/reports_api.rb +10 -2
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +116 -112
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +5 -1
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +206 -198
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/taxes_api.rb +160 -160
- data/lib/cybersource_rest_client/api/tokenization_api.rb +89 -89
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -3
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +89 -89
- data/lib/cybersource_rest_client/api/verification_api.rb +154 -154
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +10 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +206 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +22 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +15 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_authorization_options.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options_initiator.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +52 -4
- data/lib/cybersource_rest_client/models/reporting_v3_chargeback_details_get200_response_chargeback_details.rb +14 -4
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +49 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +44 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +35 -3
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_device_information.rb → riskv1authenticationresults_device_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +61 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +13 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -7
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +213 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +14 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank.rb +183 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +194 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_customer.rb +184 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_capture_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_credit_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_payment_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_refund_request.rb +13 -4
- data/lib/cybersource_rest_client.rb +11 -1
- metadata +14 -4
@@ -0,0 +1,190 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class Ptsv2payoutsProcessingInformationFundingOptionsInitiator
|
17
|
+
# #### Visa Platform Connect : This API will contain a code that denotes whether the customer identification data belongs to the sender or the recipient. The valid values are: • S (Payer (sender)) • R (Payee (recipient))
|
18
|
+
attr_accessor :type
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'type' => :'type'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'type' => :'String'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Initializes the object
|
35
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
41
|
+
|
42
|
+
if attributes.has_key?(:'type')
|
43
|
+
self.type = attributes[:'type']
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
48
|
+
# @return Array for valid properties with the reasons
|
49
|
+
def list_invalid_properties
|
50
|
+
invalid_properties = Array.new
|
51
|
+
invalid_properties
|
52
|
+
end
|
53
|
+
|
54
|
+
# Check to see if the all the properties in the model are valid
|
55
|
+
# @return true if the model is valid
|
56
|
+
def valid?
|
57
|
+
true
|
58
|
+
end
|
59
|
+
|
60
|
+
# Custom attribute writer method with validation
|
61
|
+
# @param [Object] type Value to be assigned
|
62
|
+
def type=(type)
|
63
|
+
@type = type
|
64
|
+
end
|
65
|
+
|
66
|
+
# Checks equality by comparing each attribute.
|
67
|
+
# @param [Object] Object to be compared
|
68
|
+
def ==(o)
|
69
|
+
return true if self.equal?(o)
|
70
|
+
self.class == o.class &&
|
71
|
+
type == o.type
|
72
|
+
end
|
73
|
+
|
74
|
+
# @see the `==` method
|
75
|
+
# @param [Object] Object to be compared
|
76
|
+
def eql?(o)
|
77
|
+
self == o
|
78
|
+
end
|
79
|
+
|
80
|
+
# Calculates hash code according to all attributes.
|
81
|
+
# @return [Fixnum] Hash code
|
82
|
+
def hash
|
83
|
+
[type].hash
|
84
|
+
end
|
85
|
+
|
86
|
+
# Builds the object from hash
|
87
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
+
# @return [Object] Returns the model itself
|
89
|
+
def build_from_hash(attributes)
|
90
|
+
return nil unless attributes.is_a?(Hash)
|
91
|
+
self.class.swagger_types.each_pair do |key, type|
|
92
|
+
if type =~ /\AArray<(.*)>/i
|
93
|
+
# check to ensure the input is an array given that the the attribute
|
94
|
+
# is documented as an array but the input is not
|
95
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
96
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
97
|
+
end
|
98
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
99
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
100
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
101
|
+
end
|
102
|
+
|
103
|
+
self
|
104
|
+
end
|
105
|
+
|
106
|
+
# Deserializes the data based on type
|
107
|
+
# @param string type Data type
|
108
|
+
# @param string value Value to be deserialized
|
109
|
+
# @return [Object] Deserialized data
|
110
|
+
def _deserialize(type, value)
|
111
|
+
case type.to_sym
|
112
|
+
when :DateTime
|
113
|
+
DateTime.parse(value)
|
114
|
+
when :Date
|
115
|
+
Date.parse(value)
|
116
|
+
when :String
|
117
|
+
value.to_s
|
118
|
+
when :Integer
|
119
|
+
value.to_i
|
120
|
+
when :Float
|
121
|
+
value.to_f
|
122
|
+
when :BOOLEAN
|
123
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
124
|
+
true
|
125
|
+
else
|
126
|
+
false
|
127
|
+
end
|
128
|
+
when :Object
|
129
|
+
# generic object (usually a Hash), return directly
|
130
|
+
value
|
131
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
132
|
+
inner_type = Regexp.last_match[:inner_type]
|
133
|
+
value.map { |v| _deserialize(inner_type, v) }
|
134
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
135
|
+
k_type = Regexp.last_match[:k_type]
|
136
|
+
v_type = Regexp.last_match[:v_type]
|
137
|
+
{}.tap do |hash|
|
138
|
+
value.each do |k, v|
|
139
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
else # model
|
143
|
+
temp_model = CyberSource.const_get(type).new
|
144
|
+
temp_model.build_from_hash(value)
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# Returns the string representation of the object
|
149
|
+
# @return [String] String presentation of the object
|
150
|
+
def to_s
|
151
|
+
to_hash.to_s
|
152
|
+
end
|
153
|
+
|
154
|
+
# to_body is an alias to to_hash (backward compatibility)
|
155
|
+
# @return [Hash] Returns the object in the form of hash
|
156
|
+
def to_body
|
157
|
+
to_hash
|
158
|
+
end
|
159
|
+
|
160
|
+
# Returns the object in the form of hash
|
161
|
+
# @return [Hash] Returns the object in the form of hash
|
162
|
+
def to_hash
|
163
|
+
hash = {}
|
164
|
+
self.class.attribute_map.each_pair do |attr, param|
|
165
|
+
value = self.send(attr)
|
166
|
+
next if value.nil?
|
167
|
+
hash[param] = _to_hash(value)
|
168
|
+
end
|
169
|
+
hash
|
170
|
+
end
|
171
|
+
|
172
|
+
# Outputs non-array value in the form of hash
|
173
|
+
# For object, use to_hash. Otherwise, just return the value
|
174
|
+
# @param [Object] value Any valid value
|
175
|
+
# @return [Hash] Returns the value in the form of hash
|
176
|
+
def _to_hash(value)
|
177
|
+
if value.is_a?(Array)
|
178
|
+
value.compact.map { |v| _to_hash(v) }
|
179
|
+
elsif value.is_a?(Hash)
|
180
|
+
{}.tap do |hash|
|
181
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
182
|
+
end
|
183
|
+
elsif value.respond_to? :to_hash
|
184
|
+
value.to_hash
|
185
|
+
else
|
186
|
+
value
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
@@ -58,6 +58,15 @@ module CyberSource
|
|
58
58
|
# Customer's government-assigned tax identification number.
|
59
59
|
attr_accessor :vat_registration_number
|
60
60
|
|
61
|
+
# #### Visa Platform Connect This tag will contain the type of sender identification. The valid values are: • BTHD (Date of birth) • CUID (Customer identification (unspecified)) • NTID (National identification) • PASN (Passport number) • DRLN (Driver license) • TXIN (Tax identification) • CPNY (Company registration number) • PRXY (Proxy identification) • SSNB (Social security number) • ARNB (Alien registration number) • LAWE (Law enforcement identification) • MILI (Military identification) • TRVL (Travel identification (non-passport)) • EMAL (Email) • PHON (Phone number)
|
62
|
+
attr_accessor :personal_id_type
|
63
|
+
|
64
|
+
# #### Visa Platform Connect This tag will denote whether the tax ID is a business or individual tax ID when personal ID Type contains the value of TXIN (Tax identification). The valid values are: • B (Business) • I (Individual)
|
65
|
+
attr_accessor :type
|
66
|
+
|
67
|
+
# #### Visa Platform Connect This tag will contain an acquirer-populated value associated with the API : senderInformation.personalIdType which will identify the personal ID type of the sender.
|
68
|
+
attr_accessor :identification_number
|
69
|
+
|
61
70
|
# Attribute mapping from ruby-style variable name to JSON key.
|
62
71
|
def self.attribute_map
|
63
72
|
{
|
@@ -75,7 +84,10 @@ module CyberSource
|
|
75
84
|
:'postal_code' => :'postalCode',
|
76
85
|
:'phone_number' => :'phoneNumber',
|
77
86
|
:'date_of_birth' => :'dateOfBirth',
|
78
|
-
:'vat_registration_number' => :'vatRegistrationNumber'
|
87
|
+
:'vat_registration_number' => :'vatRegistrationNumber',
|
88
|
+
:'personal_id_type' => :'personalIdType',
|
89
|
+
:'type' => :'type',
|
90
|
+
:'identification_number' => :'identificationNumber'
|
79
91
|
}
|
80
92
|
end
|
81
93
|
|
@@ -96,7 +108,10 @@ module CyberSource
|
|
96
108
|
:'postal_code' => :'String',
|
97
109
|
:'phone_number' => :'String',
|
98
110
|
:'date_of_birth' => :'String',
|
99
|
-
:'vat_registration_number' => :'String'
|
111
|
+
:'vat_registration_number' => :'String',
|
112
|
+
:'personal_id_type' => :'String',
|
113
|
+
:'type' => :'String',
|
114
|
+
:'identification_number' => :'String'
|
100
115
|
}
|
101
116
|
end
|
102
117
|
|
@@ -167,6 +182,18 @@ module CyberSource
|
|
167
182
|
if attributes.has_key?(:'vatRegistrationNumber')
|
168
183
|
self.vat_registration_number = attributes[:'vatRegistrationNumber']
|
169
184
|
end
|
185
|
+
|
186
|
+
if attributes.has_key?(:'personalIdType')
|
187
|
+
self.personal_id_type = attributes[:'personalIdType']
|
188
|
+
end
|
189
|
+
|
190
|
+
if attributes.has_key?(:'type')
|
191
|
+
self.type = attributes[:'type']
|
192
|
+
end
|
193
|
+
|
194
|
+
if attributes.has_key?(:'identificationNumber')
|
195
|
+
self.identification_number = attributes[:'identificationNumber']
|
196
|
+
end
|
170
197
|
end
|
171
198
|
|
172
199
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -266,6 +293,24 @@ module CyberSource
|
|
266
293
|
@vat_registration_number = vat_registration_number
|
267
294
|
end
|
268
295
|
|
296
|
+
# Custom attribute writer method with validation
|
297
|
+
# @param [Object] personal_id_type Value to be assigned
|
298
|
+
def personal_id_type=(personal_id_type)
|
299
|
+
@personal_id_type = personal_id_type
|
300
|
+
end
|
301
|
+
|
302
|
+
# Custom attribute writer method with validation
|
303
|
+
# @param [Object] type Value to be assigned
|
304
|
+
def type=(type)
|
305
|
+
@type = type
|
306
|
+
end
|
307
|
+
|
308
|
+
# Custom attribute writer method with validation
|
309
|
+
# @param [Object] identification_number Value to be assigned
|
310
|
+
def identification_number=(identification_number)
|
311
|
+
@identification_number = identification_number
|
312
|
+
end
|
313
|
+
|
269
314
|
# Checks equality by comparing each attribute.
|
270
315
|
# @param [Object] Object to be compared
|
271
316
|
def ==(o)
|
@@ -285,7 +330,10 @@ module CyberSource
|
|
285
330
|
postal_code == o.postal_code &&
|
286
331
|
phone_number == o.phone_number &&
|
287
332
|
date_of_birth == o.date_of_birth &&
|
288
|
-
vat_registration_number == o.vat_registration_number
|
333
|
+
vat_registration_number == o.vat_registration_number &&
|
334
|
+
personal_id_type == o.personal_id_type &&
|
335
|
+
type == o.type &&
|
336
|
+
identification_number == o.identification_number
|
289
337
|
end
|
290
338
|
|
291
339
|
# @see the `==` method
|
@@ -297,7 +345,7 @@ module CyberSource
|
|
297
345
|
# Calculates hash code according to all attributes.
|
298
346
|
# @return [Fixnum] Hash code
|
299
347
|
def hash
|
300
|
-
[reference_number, account, first_name, middle_initial, middle_name, last_name, name, address1, locality, administrative_area, country_code, postal_code, phone_number, date_of_birth, vat_registration_number].hash
|
348
|
+
[reference_number, account, first_name, middle_initial, middle_name, last_name, name, address1, locality, administrative_area, country_code, postal_code, phone_number, date_of_birth, vat_registration_number, personal_id_type, type, identification_number].hash
|
301
349
|
end
|
302
350
|
|
303
351
|
# Builds the object from hash
|
@@ -80,6 +80,9 @@ module CyberSource
|
|
80
80
|
# Event Request Date
|
81
81
|
attr_accessor :event_requested_time
|
82
82
|
|
83
|
+
# Pre Dispute Flag
|
84
|
+
attr_accessor :pre_dispute_flag
|
85
|
+
|
83
86
|
# Attribute mapping from ruby-style variable name to JSON key.
|
84
87
|
def self.attribute_map
|
85
88
|
{
|
@@ -104,7 +107,8 @@ module CyberSource
|
|
104
107
|
:'reason_code' => :'reasonCode',
|
105
108
|
:'representment_cp_time' => :'representmentCPTime',
|
106
109
|
:'applications' => :'applications',
|
107
|
-
:'event_requested_time' => :'eventRequestedTime'
|
110
|
+
:'event_requested_time' => :'eventRequestedTime',
|
111
|
+
:'pre_dispute_flag' => :'preDisputeFlag'
|
108
112
|
}
|
109
113
|
end
|
110
114
|
|
@@ -132,7 +136,8 @@ module CyberSource
|
|
132
136
|
:'reason_code' => :'String',
|
133
137
|
:'representment_cp_time' => :'DateTime',
|
134
138
|
:'applications' => :'String',
|
135
|
-
:'event_requested_time' => :'DateTime'
|
139
|
+
:'event_requested_time' => :'DateTime',
|
140
|
+
:'pre_dispute_flag' => :'String'
|
136
141
|
}
|
137
142
|
end
|
138
143
|
|
@@ -231,6 +236,10 @@ module CyberSource
|
|
231
236
|
if attributes.has_key?(:'eventRequestedTime')
|
232
237
|
self.event_requested_time = attributes[:'eventRequestedTime']
|
233
238
|
end
|
239
|
+
|
240
|
+
if attributes.has_key?(:'preDisputeFlag')
|
241
|
+
self.pre_dispute_flag = attributes[:'preDisputeFlag']
|
242
|
+
end
|
234
243
|
end
|
235
244
|
|
236
245
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -272,7 +281,8 @@ module CyberSource
|
|
272
281
|
reason_code == o.reason_code &&
|
273
282
|
representment_cp_time == o.representment_cp_time &&
|
274
283
|
applications == o.applications &&
|
275
|
-
event_requested_time == o.event_requested_time
|
284
|
+
event_requested_time == o.event_requested_time &&
|
285
|
+
pre_dispute_flag == o.pre_dispute_flag
|
276
286
|
end
|
277
287
|
|
278
288
|
# @see the `==` method
|
@@ -284,7 +294,7 @@ module CyberSource
|
|
284
294
|
# Calculates hash code according to all attributes.
|
285
295
|
# @return [Fixnum] Hash code
|
286
296
|
def hash
|
287
|
-
[processor_merchant_id, merchant_name, transaction_reference_number, merchant_reference_number, nature_of_dispute, alert_type, amount, sign, action, card_type, original_settlement_time, tracking_number, currency_code, request_id, response_due_time, time, action_description, customer_id, reason_code, representment_cp_time, applications, event_requested_time].hash
|
297
|
+
[processor_merchant_id, merchant_name, transaction_reference_number, merchant_reference_number, nature_of_dispute, alert_type, amount, sign, action, card_type, original_settlement_time, tracking_number, currency_code, request_id, response_due_time, time, action_description, customer_id, reason_code, representment_cp_time, applications, event_requested_time, pre_dispute_flag].hash
|
288
298
|
end
|
289
299
|
|
290
300
|
# Builds the object from hash
|
@@ -26,6 +26,15 @@ module CyberSource
|
|
26
26
|
# Message that explains the authenticationResult reply field.
|
27
27
|
attr_accessor :authentication_status_msg
|
28
28
|
|
29
|
+
# Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
|
30
|
+
attr_accessor :authentication_transaction_id
|
31
|
+
|
32
|
+
# Payer authentication transaction identifier passed to link the validation and authorization calls.
|
33
|
+
attr_accessor :authentication_transaction_context_id
|
34
|
+
|
35
|
+
# Web based token used to authenticate consumer with Rupay authentication provider.
|
36
|
+
attr_accessor :transaction_token
|
37
|
+
|
29
38
|
# The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
|
30
39
|
attr_accessor :authorization_payload
|
31
40
|
|
@@ -90,6 +99,9 @@ module CyberSource
|
|
90
99
|
:'acs_transaction_id' => :'acsTransactionId',
|
91
100
|
:'authentication_result' => :'authenticationResult',
|
92
101
|
:'authentication_status_msg' => :'authenticationStatusMsg',
|
102
|
+
:'authentication_transaction_id' => :'authenticationTransactionId',
|
103
|
+
:'authentication_transaction_context_id' => :'authenticationTransactionContextId',
|
104
|
+
:'transaction_token' => :'transactionToken',
|
93
105
|
:'authorization_payload' => :'authorizationPayload',
|
94
106
|
:'cavv' => :'cavv',
|
95
107
|
:'cavv_algorithm' => :'cavvAlgorithm',
|
@@ -119,6 +131,9 @@ module CyberSource
|
|
119
131
|
:'acs_transaction_id' => :'String',
|
120
132
|
:'authentication_result' => :'String',
|
121
133
|
:'authentication_status_msg' => :'String',
|
134
|
+
:'authentication_transaction_id' => :'String',
|
135
|
+
:'authentication_transaction_context_id' => :'String',
|
136
|
+
:'transaction_token' => :'String',
|
122
137
|
:'authorization_payload' => :'String',
|
123
138
|
:'cavv' => :'String',
|
124
139
|
:'cavv_algorithm' => :'String',
|
@@ -165,6 +180,18 @@ module CyberSource
|
|
165
180
|
self.authentication_status_msg = attributes[:'authenticationStatusMsg']
|
166
181
|
end
|
167
182
|
|
183
|
+
if attributes.has_key?(:'authenticationTransactionId')
|
184
|
+
self.authentication_transaction_id = attributes[:'authenticationTransactionId']
|
185
|
+
end
|
186
|
+
|
187
|
+
if attributes.has_key?(:'authenticationTransactionContextId')
|
188
|
+
self.authentication_transaction_context_id = attributes[:'authenticationTransactionContextId']
|
189
|
+
end
|
190
|
+
|
191
|
+
if attributes.has_key?(:'transactionToken')
|
192
|
+
self.transaction_token = attributes[:'transactionToken']
|
193
|
+
end
|
194
|
+
|
168
195
|
if attributes.has_key?(:'authorizationPayload')
|
169
196
|
self.authorization_payload = attributes[:'authorizationPayload']
|
170
197
|
end
|
@@ -261,6 +288,24 @@ module CyberSource
|
|
261
288
|
@acs_transaction_id = acs_transaction_id
|
262
289
|
end
|
263
290
|
|
291
|
+
# Custom attribute writer method with validation
|
292
|
+
# @param [Object] authentication_transaction_id Value to be assigned
|
293
|
+
def authentication_transaction_id=(authentication_transaction_id)
|
294
|
+
@authentication_transaction_id = authentication_transaction_id
|
295
|
+
end
|
296
|
+
|
297
|
+
# Custom attribute writer method with validation
|
298
|
+
# @param [Object] authentication_transaction_context_id Value to be assigned
|
299
|
+
def authentication_transaction_context_id=(authentication_transaction_context_id)
|
300
|
+
@authentication_transaction_context_id = authentication_transaction_context_id
|
301
|
+
end
|
302
|
+
|
303
|
+
# Custom attribute writer method with validation
|
304
|
+
# @param [Object] transaction_token Value to be assigned
|
305
|
+
def transaction_token=(transaction_token)
|
306
|
+
@transaction_token = transaction_token
|
307
|
+
end
|
308
|
+
|
264
309
|
# Custom attribute writer method with validation
|
265
310
|
# @param [Object] cavv Value to be assigned
|
266
311
|
def cavv=(cavv)
|
@@ -324,6 +369,9 @@ module CyberSource
|
|
324
369
|
acs_transaction_id == o.acs_transaction_id &&
|
325
370
|
authentication_result == o.authentication_result &&
|
326
371
|
authentication_status_msg == o.authentication_status_msg &&
|
372
|
+
authentication_transaction_id == o.authentication_transaction_id &&
|
373
|
+
authentication_transaction_context_id == o.authentication_transaction_context_id &&
|
374
|
+
transaction_token == o.transaction_token &&
|
327
375
|
authorization_payload == o.authorization_payload &&
|
328
376
|
cavv == o.cavv &&
|
329
377
|
cavv_algorithm == o.cavv_algorithm &&
|
@@ -354,7 +402,7 @@ module CyberSource
|
|
354
402
|
# Calculates hash code according to all attributes.
|
355
403
|
# @return [Fixnum] Hash code
|
356
404
|
def hash
|
357
|
-
[acs_rendering_type, acs_transaction_id, authentication_result, authentication_status_msg, authorization_payload, cavv, cavv_algorithm, directory_server_error_code, directory_server_error_description, indicator, interaction_counter, eci, eci_raw, pares_status, sdk_transaction_id, specification_version, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, white_list_status, white_list_status_source, xid, directory_server_transaction_id].hash
|
405
|
+
[acs_rendering_type, acs_transaction_id, authentication_result, authentication_status_msg, authentication_transaction_id, authentication_transaction_context_id, transaction_token, authorization_payload, cavv, cavv_algorithm, directory_server_error_code, directory_server_error_description, indicator, interaction_counter, eci, eci_raw, pares_status, sdk_transaction_id, specification_version, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, white_list_status, white_list_status_source, xid, directory_server_transaction_id].hash
|
358
406
|
end
|
359
407
|
|
360
408
|
# Builds the object from hash
|
@@ -32,9 +32,18 @@ module CyberSource
|
|
32
32
|
# The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
|
33
33
|
attr_accessor :authorization_payload
|
34
34
|
|
35
|
-
#
|
35
|
+
# Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
36
|
+
attr_accessor :authentication_type
|
37
|
+
|
38
|
+
# Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
|
36
39
|
attr_accessor :authentication_transaction_id
|
37
40
|
|
41
|
+
# Payer authentication transaction identifier passed to link the validation and authorization calls.
|
42
|
+
attr_accessor :authentication_transaction_context_id
|
43
|
+
|
44
|
+
# Describes validity of OTP in minutes for incoming transaction. .
|
45
|
+
attr_accessor :validity_period
|
46
|
+
|
38
47
|
# Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.”. The Issuing Bank can optionally support this value.
|
39
48
|
attr_accessor :cardholder_message
|
40
49
|
|
@@ -130,7 +139,10 @@ module CyberSource
|
|
130
139
|
:'acs_url' => :'acsUrl',
|
131
140
|
:'authentication_path' => :'authenticationPath',
|
132
141
|
:'authorization_payload' => :'authorizationPayload',
|
142
|
+
:'authentication_type' => :'authenticationType',
|
133
143
|
:'authentication_transaction_id' => :'authenticationTransactionId',
|
144
|
+
:'authentication_transaction_context_id' => :'authenticationTransactionContextId',
|
145
|
+
:'validity_period' => :'validityPeriod',
|
134
146
|
:'cardholder_message' => :'cardholderMessage',
|
135
147
|
:'cavv' => :'cavv',
|
136
148
|
:'cavv_algorithm' => :'cavvAlgorithm',
|
@@ -172,7 +184,10 @@ module CyberSource
|
|
172
184
|
:'acs_url' => :'String',
|
173
185
|
:'authentication_path' => :'String',
|
174
186
|
:'authorization_payload' => :'String',
|
187
|
+
:'authentication_type' => :'String',
|
175
188
|
:'authentication_transaction_id' => :'String',
|
189
|
+
:'authentication_transaction_context_id' => :'String',
|
190
|
+
:'validity_period' => :'Integer',
|
176
191
|
:'cardholder_message' => :'String',
|
177
192
|
:'cavv' => :'String',
|
178
193
|
:'cavv_algorithm' => :'String',
|
@@ -237,10 +252,22 @@ module CyberSource
|
|
237
252
|
self.authorization_payload = attributes[:'authorizationPayload']
|
238
253
|
end
|
239
254
|
|
255
|
+
if attributes.has_key?(:'authenticationType')
|
256
|
+
self.authentication_type = attributes[:'authenticationType']
|
257
|
+
end
|
258
|
+
|
240
259
|
if attributes.has_key?(:'authenticationTransactionId')
|
241
260
|
self.authentication_transaction_id = attributes[:'authenticationTransactionId']
|
242
261
|
end
|
243
262
|
|
263
|
+
if attributes.has_key?(:'authenticationTransactionContextId')
|
264
|
+
self.authentication_transaction_context_id = attributes[:'authenticationTransactionContextId']
|
265
|
+
end
|
266
|
+
|
267
|
+
if attributes.has_key?(:'validityPeriod')
|
268
|
+
self.validity_period = attributes[:'validityPeriod']
|
269
|
+
end
|
270
|
+
|
244
271
|
if attributes.has_key?(:'cardholderMessage')
|
245
272
|
self.cardholder_message = attributes[:'cardholderMessage']
|
246
273
|
end
|
@@ -383,12 +410,24 @@ module CyberSource
|
|
383
410
|
@acs_url = acs_url
|
384
411
|
end
|
385
412
|
|
413
|
+
# Custom attribute writer method with validation
|
414
|
+
# @param [Object] authentication_type Value to be assigned
|
415
|
+
def authentication_type=(authentication_type)
|
416
|
+
@authentication_type = authentication_type
|
417
|
+
end
|
418
|
+
|
386
419
|
# Custom attribute writer method with validation
|
387
420
|
# @param [Object] authentication_transaction_id Value to be assigned
|
388
421
|
def authentication_transaction_id=(authentication_transaction_id)
|
389
422
|
@authentication_transaction_id = authentication_transaction_id
|
390
423
|
end
|
391
424
|
|
425
|
+
# Custom attribute writer method with validation
|
426
|
+
# @param [Object] authentication_transaction_context_id Value to be assigned
|
427
|
+
def authentication_transaction_context_id=(authentication_transaction_context_id)
|
428
|
+
@authentication_transaction_context_id = authentication_transaction_context_id
|
429
|
+
end
|
430
|
+
|
392
431
|
# Custom attribute writer method with validation
|
393
432
|
# @param [Object] cardholder_message Value to be assigned
|
394
433
|
def cardholder_message=(cardholder_message)
|
@@ -496,7 +535,10 @@ module CyberSource
|
|
496
535
|
acs_url == o.acs_url &&
|
497
536
|
authentication_path == o.authentication_path &&
|
498
537
|
authorization_payload == o.authorization_payload &&
|
538
|
+
authentication_type == o.authentication_type &&
|
499
539
|
authentication_transaction_id == o.authentication_transaction_id &&
|
540
|
+
authentication_transaction_context_id == o.authentication_transaction_context_id &&
|
541
|
+
validity_period == o.validity_period &&
|
500
542
|
cardholder_message == o.cardholder_message &&
|
501
543
|
cavv == o.cavv &&
|
502
544
|
cavv_algorithm == o.cavv_algorithm &&
|
@@ -537,7 +579,7 @@ module CyberSource
|
|
537
579
|
# Calculates hash code according to all attributes.
|
538
580
|
# @return [Fixnum] Hash code
|
539
581
|
def hash
|
540
|
-
[access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_transaction_id, cardholder_message, cavv, cavv_algorithm, challenge_cancel_code, challenge_required, decoupled_authentication_indicator, directory_server_error_code, directory_server_error_description, ecommerce_indicator, eci, eci_raw, effective_authentication_type, ivr, network_score, pareq, pares_status, proof_xml, proxy_pan, sdk_transaction_id, signed_pares_status_reason, specification_version, step_up_url, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, veres_enrolled, white_list_status_source, xid, directory_server_transaction_id].hash
|
582
|
+
[access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_type, authentication_transaction_id, authentication_transaction_context_id, validity_period, cardholder_message, cavv, cavv_algorithm, challenge_cancel_code, challenge_required, decoupled_authentication_indicator, directory_server_error_code, directory_server_error_description, ecommerce_indicator, eci, eci_raw, effective_authentication_type, ivr, network_score, pareq, pares_status, proof_xml, proxy_pan, sdk_transaction_id, signed_pares_status_reason, specification_version, step_up_url, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, veres_enrolled, white_list_status_source, xid, directory_server_transaction_id].hash
|
541
583
|
end
|
542
584
|
|
543
585
|
# Builds the object from hash
|
@@ -14,10 +14,16 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Riskv1authenticationresultsConsumerAuthenticationInformation
|
17
|
-
# Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
|
17
|
+
# Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service.
|
18
18
|
attr_accessor :authentication_transaction_id
|
19
19
|
|
20
|
-
#
|
20
|
+
# Authentication transaction context is used as a unique identifier to link enroll and validate call.
|
21
|
+
attr_accessor :authentication_transaction_context
|
22
|
+
|
23
|
+
# OTP entered by the card holder.
|
24
|
+
attr_accessor :otp_token
|
25
|
+
|
26
|
+
# Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
21
27
|
attr_accessor :authentication_type
|
22
28
|
|
23
29
|
# This field describes the type of 3DS transaction flow that took place. It can be one of three possible flows; CH - Challenge FR - Frictionless FD - Frictionless with delegation, (challenge not generated by the issuer but by the scheme on behalf of the issuer).
|
@@ -39,6 +45,8 @@ module CyberSource
|
|
39
45
|
def self.attribute_map
|
40
46
|
{
|
41
47
|
:'authentication_transaction_id' => :'authenticationTransactionId',
|
48
|
+
:'authentication_transaction_context' => :'authenticationTransactionContext',
|
49
|
+
:'otp_token' => :'otpToken',
|
42
50
|
:'authentication_type' => :'authenticationType',
|
43
51
|
:'effective_authentication_type' => :'effectiveAuthenticationType',
|
44
52
|
:'response_access_token' => :'responseAccessToken',
|
@@ -52,6 +60,8 @@ module CyberSource
|
|
52
60
|
def self.swagger_types
|
53
61
|
{
|
54
62
|
:'authentication_transaction_id' => :'String',
|
63
|
+
:'authentication_transaction_context' => :'String',
|
64
|
+
:'otp_token' => :'String',
|
55
65
|
:'authentication_type' => :'String',
|
56
66
|
:'effective_authentication_type' => :'String',
|
57
67
|
:'response_access_token' => :'String',
|
@@ -73,6 +83,14 @@ module CyberSource
|
|
73
83
|
self.authentication_transaction_id = attributes[:'authenticationTransactionId']
|
74
84
|
end
|
75
85
|
|
86
|
+
if attributes.has_key?(:'authenticationTransactionContext')
|
87
|
+
self.authentication_transaction_context = attributes[:'authenticationTransactionContext']
|
88
|
+
end
|
89
|
+
|
90
|
+
if attributes.has_key?(:'otpToken')
|
91
|
+
self.otp_token = attributes[:'otpToken']
|
92
|
+
end
|
93
|
+
|
76
94
|
if attributes.has_key?(:'authenticationType')
|
77
95
|
self.authentication_type = attributes[:'authenticationType']
|
78
96
|
end
|
@@ -117,6 +135,18 @@ module CyberSource
|
|
117
135
|
@authentication_transaction_id = authentication_transaction_id
|
118
136
|
end
|
119
137
|
|
138
|
+
# Custom attribute writer method with validation
|
139
|
+
# @param [Object] authentication_transaction_context Value to be assigned
|
140
|
+
def authentication_transaction_context=(authentication_transaction_context)
|
141
|
+
@authentication_transaction_context = authentication_transaction_context
|
142
|
+
end
|
143
|
+
|
144
|
+
# Custom attribute writer method with validation
|
145
|
+
# @param [Object] otp_token Value to be assigned
|
146
|
+
def otp_token=(otp_token)
|
147
|
+
@otp_token = otp_token
|
148
|
+
end
|
149
|
+
|
120
150
|
# Custom attribute writer method with validation
|
121
151
|
# @param [Object] authentication_type Value to be assigned
|
122
152
|
def authentication_type=(authentication_type)
|
@@ -147,6 +177,8 @@ module CyberSource
|
|
147
177
|
return true if self.equal?(o)
|
148
178
|
self.class == o.class &&
|
149
179
|
authentication_transaction_id == o.authentication_transaction_id &&
|
180
|
+
authentication_transaction_context == o.authentication_transaction_context &&
|
181
|
+
otp_token == o.otp_token &&
|
150
182
|
authentication_type == o.authentication_type &&
|
151
183
|
effective_authentication_type == o.effective_authentication_type &&
|
152
184
|
response_access_token == o.response_access_token &&
|
@@ -164,7 +196,7 @@ module CyberSource
|
|
164
196
|
# Calculates hash code according to all attributes.
|
165
197
|
# @return [Fixnum] Hash code
|
166
198
|
def hash
|
167
|
-
[authentication_transaction_id, authentication_type, effective_authentication_type, response_access_token, signed_pares_status_reason, signed_pares, white_list_status].hash
|
199
|
+
[authentication_transaction_id, authentication_transaction_context, otp_token, authentication_type, effective_authentication_type, response_access_token, signed_pares_status_reason, signed_pares, white_list_status].hash
|
168
200
|
end
|
169
201
|
|
170
202
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
16
|
+
class Riskv1authenticationresultsDeviceInformation
|
17
17
|
# IP address of the customer. #### Used by **Authorization, Capture, and Credit** Optional field.
|
18
18
|
attr_accessor :ip_address
|
19
19
|
|