cybersource_rest_client 0.0.41 → 0.0.44
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/secure_file_share_api.rb +206 -206
- 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_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/ptsv2payments_consumer_authentication_information.rb +2 -2
- 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_emv.rb +2 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +2 -2
- 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_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.rb +7 -1
- metadata +9 -3
@@ -0,0 +1,194 @@
|
|
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 TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount
|
17
|
+
# Last four digits of the customer’s payment account number.
|
18
|
+
attr_accessor :suffix
|
19
|
+
|
20
|
+
# Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number.
|
21
|
+
attr_accessor :prefix
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'suffix' => :'suffix',
|
27
|
+
:'prefix' => :'prefix'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
:'suffix' => :'String',
|
35
|
+
:'prefix' => :'String'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'suffix')
|
48
|
+
self.suffix = attributes[:'suffix']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'prefix')
|
52
|
+
self.prefix = attributes[:'prefix']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
+
# @return Array for valid properties with the reasons
|
58
|
+
def list_invalid_properties
|
59
|
+
invalid_properties = Array.new
|
60
|
+
invalid_properties
|
61
|
+
end
|
62
|
+
|
63
|
+
# Check to see if the all the properties in the model are valid
|
64
|
+
# @return true if the model is valid
|
65
|
+
def valid?
|
66
|
+
true
|
67
|
+
end
|
68
|
+
|
69
|
+
# Checks equality by comparing each attribute.
|
70
|
+
# @param [Object] Object to be compared
|
71
|
+
def ==(o)
|
72
|
+
return true if self.equal?(o)
|
73
|
+
self.class == o.class &&
|
74
|
+
suffix == o.suffix &&
|
75
|
+
prefix == o.prefix
|
76
|
+
end
|
77
|
+
|
78
|
+
# @see the `==` method
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def eql?(o)
|
81
|
+
self == o
|
82
|
+
end
|
83
|
+
|
84
|
+
# Calculates hash code according to all attributes.
|
85
|
+
# @return [Fixnum] Hash code
|
86
|
+
def hash
|
87
|
+
[suffix, prefix].hash
|
88
|
+
end
|
89
|
+
|
90
|
+
# Builds the object from hash
|
91
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
92
|
+
# @return [Object] Returns the model itself
|
93
|
+
def build_from_hash(attributes)
|
94
|
+
return nil unless attributes.is_a?(Hash)
|
95
|
+
self.class.swagger_types.each_pair do |key, type|
|
96
|
+
if type =~ /\AArray<(.*)>/i
|
97
|
+
# check to ensure the input is an array given that the the attribute
|
98
|
+
# is documented as an array but the input is not
|
99
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
100
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
101
|
+
end
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
103
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
104
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
105
|
+
end
|
106
|
+
|
107
|
+
self
|
108
|
+
end
|
109
|
+
|
110
|
+
# Deserializes the data based on type
|
111
|
+
# @param string type Data type
|
112
|
+
# @param string value Value to be deserialized
|
113
|
+
# @return [Object] Deserialized data
|
114
|
+
def _deserialize(type, value)
|
115
|
+
case type.to_sym
|
116
|
+
when :DateTime
|
117
|
+
DateTime.parse(value)
|
118
|
+
when :Date
|
119
|
+
Date.parse(value)
|
120
|
+
when :String
|
121
|
+
value.to_s
|
122
|
+
when :Integer
|
123
|
+
value.to_i
|
124
|
+
when :Float
|
125
|
+
value.to_f
|
126
|
+
when :BOOLEAN
|
127
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
128
|
+
true
|
129
|
+
else
|
130
|
+
false
|
131
|
+
end
|
132
|
+
when :Object
|
133
|
+
# generic object (usually a Hash), return directly
|
134
|
+
value
|
135
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
136
|
+
inner_type = Regexp.last_match[:inner_type]
|
137
|
+
value.map { |v| _deserialize(inner_type, v) }
|
138
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
139
|
+
k_type = Regexp.last_match[:k_type]
|
140
|
+
v_type = Regexp.last_match[:v_type]
|
141
|
+
{}.tap do |hash|
|
142
|
+
value.each do |k, v|
|
143
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
else # model
|
147
|
+
temp_model = CyberSource.const_get(type).new
|
148
|
+
temp_model.build_from_hash(value)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Returns the string representation of the object
|
153
|
+
# @return [String] String presentation of the object
|
154
|
+
def to_s
|
155
|
+
to_hash.to_s
|
156
|
+
end
|
157
|
+
|
158
|
+
# to_body is an alias to to_hash (backward compatibility)
|
159
|
+
# @return [Hash] Returns the object in the form of hash
|
160
|
+
def to_body
|
161
|
+
to_hash
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the object in the form of hash
|
165
|
+
# @return [Hash] Returns the object in the form of hash
|
166
|
+
def to_hash
|
167
|
+
hash = {}
|
168
|
+
self.class.attribute_map.each_pair do |attr, param|
|
169
|
+
value = self.send(attr)
|
170
|
+
next if value.nil?
|
171
|
+
hash[param] = _to_hash(value)
|
172
|
+
end
|
173
|
+
hash
|
174
|
+
end
|
175
|
+
|
176
|
+
# Outputs non-array value in the form of hash
|
177
|
+
# For object, use to_hash. Otherwise, just return the value
|
178
|
+
# @param [Object] value Any valid value
|
179
|
+
# @return [Hash] Returns the value in the form of hash
|
180
|
+
def _to_hash(value)
|
181
|
+
if value.is_a?(Array)
|
182
|
+
value.compact.map { |v| _to_hash(v) }
|
183
|
+
elsif value.is_a?(Hash)
|
184
|
+
{}.tap do |hash|
|
185
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
186
|
+
end
|
187
|
+
elsif value.respond_to? :to_hash
|
188
|
+
value.to_hash
|
189
|
+
else
|
190
|
+
value
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
@@ -0,0 +1,184 @@
|
|
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 TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer
|
17
|
+
# Unique identifier for the customer's card and billing information. When you use Payment Tokenization or Recurring Billing and you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. **NOTE** When you use Payment Tokenization or Recurring Billing, the value for the Customer ID is actually the Cybersource payment token for a customer. This token stores information such as the consumer’s card number so it can be applied towards bill payments, recurring payments, or one-time payments. By using this token in a payment API request, the merchant doesn't need to pass in data such as the card number or expiration date in the request itself. For details, see the `subscription_id` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
18
|
+
attr_accessor :customer_id
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'customer_id' => :'customerId'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'customer_id' => :'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?(:'customerId')
|
43
|
+
self.customer_id = attributes[:'customerId']
|
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
|
+
# Checks equality by comparing each attribute.
|
61
|
+
# @param [Object] Object to be compared
|
62
|
+
def ==(o)
|
63
|
+
return true if self.equal?(o)
|
64
|
+
self.class == o.class &&
|
65
|
+
customer_id == o.customer_id
|
66
|
+
end
|
67
|
+
|
68
|
+
# @see the `==` method
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def eql?(o)
|
71
|
+
self == o
|
72
|
+
end
|
73
|
+
|
74
|
+
# Calculates hash code according to all attributes.
|
75
|
+
# @return [Fixnum] Hash code
|
76
|
+
def hash
|
77
|
+
[customer_id].hash
|
78
|
+
end
|
79
|
+
|
80
|
+
# Builds the object from hash
|
81
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
82
|
+
# @return [Object] Returns the model itself
|
83
|
+
def build_from_hash(attributes)
|
84
|
+
return nil unless attributes.is_a?(Hash)
|
85
|
+
self.class.swagger_types.each_pair do |key, type|
|
86
|
+
if type =~ /\AArray<(.*)>/i
|
87
|
+
# check to ensure the input is an array given that the the attribute
|
88
|
+
# is documented as an array but the input is not
|
89
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
91
|
+
end
|
92
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
93
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
94
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
95
|
+
end
|
96
|
+
|
97
|
+
self
|
98
|
+
end
|
99
|
+
|
100
|
+
# Deserializes the data based on type
|
101
|
+
# @param string type Data type
|
102
|
+
# @param string value Value to be deserialized
|
103
|
+
# @return [Object] Deserialized data
|
104
|
+
def _deserialize(type, value)
|
105
|
+
case type.to_sym
|
106
|
+
when :DateTime
|
107
|
+
DateTime.parse(value)
|
108
|
+
when :Date
|
109
|
+
Date.parse(value)
|
110
|
+
when :String
|
111
|
+
value.to_s
|
112
|
+
when :Integer
|
113
|
+
value.to_i
|
114
|
+
when :Float
|
115
|
+
value.to_f
|
116
|
+
when :BOOLEAN
|
117
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
118
|
+
true
|
119
|
+
else
|
120
|
+
false
|
121
|
+
end
|
122
|
+
when :Object
|
123
|
+
# generic object (usually a Hash), return directly
|
124
|
+
value
|
125
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
126
|
+
inner_type = Regexp.last_match[:inner_type]
|
127
|
+
value.map { |v| _deserialize(inner_type, v) }
|
128
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
129
|
+
k_type = Regexp.last_match[:k_type]
|
130
|
+
v_type = Regexp.last_match[:v_type]
|
131
|
+
{}.tap do |hash|
|
132
|
+
value.each do |k, v|
|
133
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
else # model
|
137
|
+
temp_model = CyberSource.const_get(type).new
|
138
|
+
temp_model.build_from_hash(value)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# Returns the string representation of the object
|
143
|
+
# @return [String] String presentation of the object
|
144
|
+
def to_s
|
145
|
+
to_hash.to_s
|
146
|
+
end
|
147
|
+
|
148
|
+
# to_body is an alias to to_hash (backward compatibility)
|
149
|
+
# @return [Hash] Returns the object in the form of hash
|
150
|
+
def to_body
|
151
|
+
to_hash
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the object in the form of hash
|
155
|
+
# @return [Hash] Returns the object in the form of hash
|
156
|
+
def to_hash
|
157
|
+
hash = {}
|
158
|
+
self.class.attribute_map.each_pair do |attr, param|
|
159
|
+
value = self.send(attr)
|
160
|
+
next if value.nil?
|
161
|
+
hash[param] = _to_hash(value)
|
162
|
+
end
|
163
|
+
hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Outputs non-array value in the form of hash
|
167
|
+
# For object, use to_hash. Otherwise, just return the value
|
168
|
+
# @param [Object] value Any valid value
|
169
|
+
# @return [Hash] Returns the value in the form of hash
|
170
|
+
def _to_hash(value)
|
171
|
+
if value.is_a?(Array)
|
172
|
+
value.compact.map { |v| _to_hash(v) }
|
173
|
+
elsif value.is_a?(Hash)
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
176
|
+
end
|
177
|
+
elsif value.respond_to? :to_hash
|
178
|
+
value.to_hash
|
179
|
+
else
|
180
|
+
value
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
@@ -88,7 +88,7 @@ module CyberSource
|
|
88
88
|
:'buyer_information' => :'TssV2TransactionsPost201ResponseEmbeddedBuyerInformation',
|
89
89
|
:'client_reference_information' => :'TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation',
|
90
90
|
:'consumer_authentication_information' => :'TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation',
|
91
|
-
:'device_information' => :'
|
91
|
+
:'device_information' => :'Riskv1authenticationresultsDeviceInformation',
|
92
92
|
:'fraud_marking_information' => :'TssV2TransactionsGet200ResponseFraudMarkingInformation',
|
93
93
|
:'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
|
94
94
|
:'merchant_information' => :'TssV2TransactionsPost201ResponseEmbeddedMerchantInformation',
|
@@ -24,6 +24,8 @@ module CyberSource
|
|
24
24
|
|
25
25
|
attr_accessor :consumer_authentication_information
|
26
26
|
|
27
|
+
attr_accessor :device_information
|
28
|
+
|
27
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
30
|
def self.attribute_map
|
29
31
|
{
|
@@ -31,7 +33,8 @@ module CyberSource
|
|
31
33
|
:'processing_information' => :'processingInformation',
|
32
34
|
:'order_information' => :'orderInformation',
|
33
35
|
:'payment_information' => :'paymentInformation',
|
34
|
-
:'consumer_authentication_information' => :'consumerAuthenticationInformation'
|
36
|
+
:'consumer_authentication_information' => :'consumerAuthenticationInformation',
|
37
|
+
:'device_information' => :'deviceInformation'
|
35
38
|
}
|
36
39
|
end
|
37
40
|
|
@@ -42,7 +45,8 @@ module CyberSource
|
|
42
45
|
:'processing_information' => :'Riskv1authenticationsetupsProcessingInformation',
|
43
46
|
:'order_information' => :'Riskv1authenticationresultsOrderInformation',
|
44
47
|
:'payment_information' => :'Riskv1authenticationresultsPaymentInformation',
|
45
|
-
:'consumer_authentication_information' => :'Riskv1authenticationresultsConsumerAuthenticationInformation'
|
48
|
+
:'consumer_authentication_information' => :'Riskv1authenticationresultsConsumerAuthenticationInformation',
|
49
|
+
:'device_information' => :'Riskv1authenticationresultsDeviceInformation'
|
46
50
|
}
|
47
51
|
end
|
48
52
|
|
@@ -73,6 +77,10 @@ module CyberSource
|
|
73
77
|
if attributes.has_key?(:'consumerAuthenticationInformation')
|
74
78
|
self.consumer_authentication_information = attributes[:'consumerAuthenticationInformation']
|
75
79
|
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'deviceInformation')
|
82
|
+
self.device_information = attributes[:'deviceInformation']
|
83
|
+
end
|
76
84
|
end
|
77
85
|
|
78
86
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -97,7 +105,8 @@ module CyberSource
|
|
97
105
|
processing_information == o.processing_information &&
|
98
106
|
order_information == o.order_information &&
|
99
107
|
payment_information == o.payment_information &&
|
100
|
-
consumer_authentication_information == o.consumer_authentication_information
|
108
|
+
consumer_authentication_information == o.consumer_authentication_information &&
|
109
|
+
device_information == o.device_information
|
101
110
|
end
|
102
111
|
|
103
112
|
# @see the `==` method
|
@@ -109,7 +118,7 @@ module CyberSource
|
|
109
118
|
# Calculates hash code according to all attributes.
|
110
119
|
# @return [Fixnum] Hash code
|
111
120
|
def hash
|
112
|
-
[client_reference_information, processing_information, order_information, payment_information, consumer_authentication_information].hash
|
121
|
+
[client_reference_information, processing_information, order_information, payment_information, consumer_authentication_information, device_information].hash
|
113
122
|
end
|
114
123
|
|
115
124
|
# Builds the object from hash
|
@@ -210,6 +210,8 @@ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment
|
|
210
210
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account'
|
211
211
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier'
|
212
212
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card'
|
213
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information'
|
214
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights'
|
213
215
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information'
|
214
216
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv'
|
215
217
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information'
|
@@ -511,6 +513,7 @@ require 'cybersource_rest_client/models/riskv1addressverifications_order_informa
|
|
511
513
|
require 'cybersource_rest_client/models/riskv1addressverifications_order_information_line_items'
|
512
514
|
require 'cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to'
|
513
515
|
require 'cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information'
|
516
|
+
require 'cybersource_rest_client/models/riskv1authenticationresults_device_information'
|
514
517
|
require 'cybersource_rest_client/models/riskv1authenticationresults_order_information'
|
515
518
|
require 'cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details'
|
516
519
|
require 'cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items'
|
@@ -682,6 +685,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_paym
|
|
682
685
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information'
|
683
686
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information'
|
684
687
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options'
|
688
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator'
|
685
689
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options'
|
686
690
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options'
|
687
691
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information'
|
@@ -701,14 +705,16 @@ require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__em
|
|
701
705
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information'
|
702
706
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information'
|
703
707
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information'
|
704
|
-
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information'
|
705
708
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links'
|
706
709
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information'
|
707
710
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information'
|
708
711
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to'
|
709
712
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to'
|
710
713
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information'
|
714
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank'
|
715
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account'
|
711
716
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card'
|
717
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_customer'
|
712
718
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type'
|
713
719
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information'
|
714
720
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner'
|
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.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -538,6 +538,8 @@ files:
|
|
538
538
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb
|
539
539
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb
|
540
540
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb
|
541
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb
|
542
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb
|
541
543
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb
|
542
544
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb
|
543
545
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb
|
@@ -840,6 +842,7 @@ files:
|
|
840
842
|
- lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb
|
841
843
|
- lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb
|
842
844
|
- lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb
|
845
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_device_information.rb
|
843
846
|
- lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb
|
844
847
|
- lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb
|
845
848
|
- lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb
|
@@ -1011,6 +1014,7 @@ files:
|
|
1011
1014
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb
|
1012
1015
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb
|
1013
1016
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb
|
1017
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb
|
1014
1018
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb
|
1015
1019
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb
|
1016
1020
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb
|
@@ -1031,13 +1035,15 @@ files:
|
|
1031
1035
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb
|
1032
1036
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb
|
1033
1037
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb
|
1034
|
-
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb
|
1035
1038
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb
|
1036
1039
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb
|
1037
1040
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb
|
1038
1041
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb
|
1039
1042
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb
|
1043
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank.rb
|
1044
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb
|
1040
1045
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb
|
1046
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_customer.rb
|
1041
1047
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb
|
1042
1048
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb
|
1043
1049
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb
|