cybersource_rest_client 0.0.51 → 0.0.52
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/authentication/jwt/JwtToken.rb +4 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +32 -8
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +32 -4
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +13 -4
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +190 -0
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +20 -4
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +84 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.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.rb +40 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_brands.rb +194 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +27 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_features.rb +286 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_issuer_information.rb +238 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_network.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payout_options.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +11 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb +24 -4
- data/lib/cybersource_rest_client.rb +6 -0
- metadata +24 -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 TssV2TransactionsGet200ResponsePaymentInformationNetwork
|
17
|
+
# This field contains a code that identifies the network. Please refer [Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'id' => :'id'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'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?(:'id')
|
43
|
+
self.id = attributes[:'id']
|
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] id Value to be assigned
|
62
|
+
def id=(id)
|
63
|
+
@id = id
|
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
|
+
id == o.id
|
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
|
+
[id].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
|
@@ -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 TssV2TransactionsGet200ResponsePayoutOptions
|
17
|
+
# If true then provide attributes related to fund transfer/payouts. If payout information not found then response will have standard account lookup. Possible values: - `true` - `false`
|
18
|
+
attr_accessor :payout_inquiry
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'payout_inquiry' => :'payoutInquiry'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'payout_inquiry' => :'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?(:'payoutInquiry')
|
43
|
+
self.payout_inquiry = attributes[:'payoutInquiry']
|
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] payout_inquiry Value to be assigned
|
62
|
+
def payout_inquiry=(payout_inquiry)
|
63
|
+
@payout_inquiry = payout_inquiry
|
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
|
+
payout_inquiry == o.payout_inquiry
|
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
|
+
[payout_inquiry].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
|
@@ -14,6 +14,9 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class TssV2TransactionsGet200ResponseProcessingInformation
|
17
|
+
# Bin Source File Identifier. Possible values: - itmx - rupay
|
18
|
+
attr_accessor :bin_source
|
19
|
+
|
17
20
|
# Indicates that the transaction includes industry-specific data. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit` - `transit` #### Card Present, Airlines and Auto Rental You must set this field to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to `airline` or is not included in the request, no airline data is sent to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to `restaurant` or is not included in the request, no restaurant data is sent to the processor. You must set this field to `auto_rental` in order for auto rental data to be sent to the processor. For example, if this field is not set to `auto_rental` or is not included in the request, no auto rental data is sent to the processor. Restaurant data is supported only on CyberSource through VisaNet.
|
18
21
|
attr_accessor :industry_data_type
|
19
22
|
|
@@ -38,6 +41,7 @@ module CyberSource
|
|
38
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
44
|
+
:'bin_source' => :'binSource',
|
41
45
|
:'industry_data_type' => :'industryDataType',
|
42
46
|
:'payment_solution' => :'paymentSolution',
|
43
47
|
:'commerce_indicator' => :'commerceIndicator',
|
@@ -52,6 +56,7 @@ module CyberSource
|
|
52
56
|
# Attribute type mapping.
|
53
57
|
def self.swagger_types
|
54
58
|
{
|
59
|
+
:'bin_source' => :'String',
|
55
60
|
:'industry_data_type' => :'String',
|
56
61
|
:'payment_solution' => :'String',
|
57
62
|
:'commerce_indicator' => :'String',
|
@@ -71,6 +76,10 @@ module CyberSource
|
|
71
76
|
# convert string to symbol for hash key
|
72
77
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
73
78
|
|
79
|
+
if attributes.has_key?(:'binSource')
|
80
|
+
self.bin_source = attributes[:'binSource']
|
81
|
+
end
|
82
|
+
|
74
83
|
if attributes.has_key?(:'industryDataType')
|
75
84
|
self.industry_data_type = attributes[:'industryDataType']
|
76
85
|
end
|
@@ -146,6 +155,7 @@ module CyberSource
|
|
146
155
|
def ==(o)
|
147
156
|
return true if self.equal?(o)
|
148
157
|
self.class == o.class &&
|
158
|
+
bin_source == o.bin_source &&
|
149
159
|
industry_data_type == o.industry_data_type &&
|
150
160
|
payment_solution == o.payment_solution &&
|
151
161
|
commerce_indicator == o.commerce_indicator &&
|
@@ -165,7 +175,7 @@ module CyberSource
|
|
165
175
|
# Calculates hash code according to all attributes.
|
166
176
|
# @return [Fixnum] Hash code
|
167
177
|
def hash
|
168
|
-
[industry_data_type, payment_solution, commerce_indicator, commerce_indicator_label, business_application_id, authorization_options, bank_transfer_options, japan_payment_options].hash
|
178
|
+
[bin_source, industry_data_type, payment_solution, commerce_indicator, commerce_indicator_label, business_application_id, authorization_options, bank_transfer_options, japan_payment_options].hash
|
169
179
|
end
|
170
180
|
|
171
181
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb
CHANGED
@@ -22,13 +22,21 @@ module CyberSource
|
|
22
22
|
|
23
23
|
attr_accessor :instrument_identifier
|
24
24
|
|
25
|
+
# TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).
|
26
|
+
attr_accessor :jti
|
27
|
+
|
28
|
+
# Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result.
|
29
|
+
attr_accessor :transient_token_jwt
|
30
|
+
|
25
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
32
|
def self.attribute_map
|
27
33
|
{
|
28
34
|
:'customer' => :'customer',
|
29
35
|
:'payment_instrument' => :'paymentInstrument',
|
30
36
|
:'shipping_address' => :'shippingAddress',
|
31
|
-
:'instrument_identifier' => :'instrumentIdentifier'
|
37
|
+
:'instrument_identifier' => :'instrumentIdentifier',
|
38
|
+
:'jti' => :'jti',
|
39
|
+
:'transient_token_jwt' => :'transientTokenJwt'
|
32
40
|
}
|
33
41
|
end
|
34
42
|
|
@@ -38,7 +46,9 @@ module CyberSource
|
|
38
46
|
:'customer' => :'PtsV2PaymentsPost201ResponseTokenInformationCustomer',
|
39
47
|
:'payment_instrument' => :'PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument',
|
40
48
|
:'shipping_address' => :'PtsV2PaymentsPost201ResponseTokenInformationShippingAddress',
|
41
|
-
:'instrument_identifier' => :'TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier'
|
49
|
+
:'instrument_identifier' => :'TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier',
|
50
|
+
:'jti' => :'String',
|
51
|
+
:'transient_token_jwt' => :'String'
|
42
52
|
}
|
43
53
|
end
|
44
54
|
|
@@ -65,6 +75,14 @@ module CyberSource
|
|
65
75
|
if attributes.has_key?(:'instrumentIdentifier')
|
66
76
|
self.instrument_identifier = attributes[:'instrumentIdentifier']
|
67
77
|
end
|
78
|
+
|
79
|
+
if attributes.has_key?(:'jti')
|
80
|
+
self.jti = attributes[:'jti']
|
81
|
+
end
|
82
|
+
|
83
|
+
if attributes.has_key?(:'transientTokenJwt')
|
84
|
+
self.transient_token_jwt = attributes[:'transientTokenJwt']
|
85
|
+
end
|
68
86
|
end
|
69
87
|
|
70
88
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -88,7 +106,9 @@ module CyberSource
|
|
88
106
|
customer == o.customer &&
|
89
107
|
payment_instrument == o.payment_instrument &&
|
90
108
|
shipping_address == o.shipping_address &&
|
91
|
-
instrument_identifier == o.instrument_identifier
|
109
|
+
instrument_identifier == o.instrument_identifier &&
|
110
|
+
jti == o.jti &&
|
111
|
+
transient_token_jwt == o.transient_token_jwt
|
92
112
|
end
|
93
113
|
|
94
114
|
# @see the `==` method
|
@@ -100,7 +120,7 @@ module CyberSource
|
|
100
120
|
# Calculates hash code according to all attributes.
|
101
121
|
# @return [Fixnum] Hash code
|
102
122
|
def hash
|
103
|
-
[customer, payment_instrument, shipping_address, instrument_identifier].hash
|
123
|
+
[customer, payment_instrument, shipping_address, instrument_identifier, jti, transient_token_jwt].hash
|
104
124
|
end
|
105
125
|
|
106
126
|
# Builds the object from hash
|
@@ -182,6 +182,7 @@ require 'cybersource_rest_client/models/invoicing_v2_invoices_post201_response_o
|
|
182
182
|
require 'cybersource_rest_client/models/invoicing_v2_invoices_post202_response'
|
183
183
|
require 'cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information'
|
184
184
|
require 'cybersource_rest_client/models/invoicingv2invoices_customer_information'
|
185
|
+
require 'cybersource_rest_client/models/invoicingv2invoices_customer_information_company'
|
185
186
|
require 'cybersource_rest_client/models/invoicingv2invoices_invoice_information'
|
186
187
|
require 'cybersource_rest_client/models/invoicingv2invoices_order_information'
|
187
188
|
require 'cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details'
|
@@ -864,12 +865,17 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_paym
|
|
864
865
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank'
|
865
866
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account'
|
866
867
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate'
|
868
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_brands'
|
867
869
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card'
|
868
870
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer'
|
871
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_features'
|
869
872
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_fluid_data'
|
870
873
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier'
|
871
874
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice'
|
875
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_issuer_information'
|
876
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_network'
|
872
877
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type'
|
878
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payout_options'
|
873
879
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information'
|
874
880
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information'
|
875
881
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options'
|
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.52
|
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-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -96,14 +96,14 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - '='
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
99
|
+
version: 2.7.0
|
100
100
|
type: :runtime
|
101
101
|
prerelease: false
|
102
102
|
version_requirements: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
104
|
- - '='
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
106
|
+
version: 2.7.0
|
107
107
|
- !ruby/object:Gem::Dependency
|
108
108
|
name: addressable
|
109
109
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +124,20 @@ dependencies:
|
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 2.3.0
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: time
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.2.2
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.2.2
|
127
141
|
- !ruby/object:Gem::Dependency
|
128
142
|
name: simplecov
|
129
143
|
requirement: !ruby/object:Gem::Requirement
|
@@ -521,6 +535,7 @@ files:
|
|
521
535
|
- lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb
|
522
536
|
- lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb
|
523
537
|
- lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb
|
538
|
+
- lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb
|
524
539
|
- lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb
|
525
540
|
- lib/cybersource_rest_client/models/invoicingv2invoices_order_information.rb
|
526
541
|
- lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb
|
@@ -1204,12 +1219,17 @@ files:
|
|
1204
1219
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb
|
1205
1220
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb
|
1206
1221
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb
|
1222
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_brands.rb
|
1207
1223
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb
|
1208
1224
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb
|
1225
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_features.rb
|
1209
1226
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_fluid_data.rb
|
1210
1227
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb
|
1211
1228
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb
|
1229
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_issuer_information.rb
|
1230
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_network.rb
|
1212
1231
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb
|
1232
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payout_options.rb
|
1213
1233
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb
|
1214
1234
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb
|
1215
1235
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb
|