cybersource_rest_client 0.0.44 → 0.0.46
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/cybersource_rest_client/api/asymmetric_key_management_api.rb +10 -10
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +206 -206
- data/lib/cybersource_rest_client/models/inline_response_400_2.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_502.rb +224 -0
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +11 -1
- data/lib/cybersource_rest_client/models/mit_void_request.rb +22 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +33 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +97 -1
- data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb +20 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_fluid_data.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +11 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +17 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information_partner.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +20 -4
- data/lib/cybersource_rest_client.rb +4 -0
- metadata +28 -24
@@ -23,6 +23,9 @@ module CyberSource
|
|
23
23
|
# POS terminal’s capability. Possible values: - `1`: Terminal has a magnetic stripe reader only. - `2`: Terminal has a magnetic stripe reader and manual entry capability. - `3`: Terminal has manual entry capability only. - `4`: Terminal can read chip cards. - `5`: Terminal can read contactless chip cards; cannot use contact to read chip cards. For an EMV transaction, the value of this field must be `4` or `5`. #### PIN debit Required for PIN debit purchase and PIN debit credit request. #### Used by **Authorization** Required for the following processors: - American Express Direct - Chase Paymentech Solutions - Credit Mutuel-CIC - FDC Nashville Global - FDMS Nashville - OmniPay Direct - SIX - Worldpay VAP Optional for the following processors: - CyberSource through VisaNet - GPN - GPX - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions
|
24
24
|
attr_accessor :terminal_capability
|
25
25
|
|
26
|
+
# Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM
|
27
|
+
attr_accessor :cardholder_verification_method_used
|
28
|
+
|
26
29
|
attr_accessor :emv
|
27
30
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,6 +34,7 @@ module CyberSource
|
|
31
34
|
:'terminal_id' => :'terminalId',
|
32
35
|
:'entry_mode' => :'entryMode',
|
33
36
|
:'terminal_capability' => :'terminalCapability',
|
37
|
+
:'cardholder_verification_method_used' => :'cardholderVerificationMethodUsed',
|
34
38
|
:'emv' => :'emv'
|
35
39
|
}
|
36
40
|
end
|
@@ -41,6 +45,7 @@ module CyberSource
|
|
41
45
|
:'terminal_id' => :'String',
|
42
46
|
:'entry_mode' => :'String',
|
43
47
|
:'terminal_capability' => :'Integer',
|
48
|
+
:'cardholder_verification_method_used' => :'Integer',
|
44
49
|
:'emv' => :'Ptsv2paymentsidreversalsPointOfSaleInformationEmv'
|
45
50
|
}
|
46
51
|
end
|
@@ -65,6 +70,10 @@ module CyberSource
|
|
65
70
|
self.terminal_capability = attributes[:'terminalCapability']
|
66
71
|
end
|
67
72
|
|
73
|
+
if attributes.has_key?(:'cardholderVerificationMethodUsed')
|
74
|
+
self.cardholder_verification_method_used = attributes[:'cardholderVerificationMethodUsed']
|
75
|
+
end
|
76
|
+
|
68
77
|
if attributes.has_key?(:'emv')
|
69
78
|
self.emv = attributes[:'emv']
|
70
79
|
end
|
@@ -127,6 +136,7 @@ module CyberSource
|
|
127
136
|
terminal_id == o.terminal_id &&
|
128
137
|
entry_mode == o.entry_mode &&
|
129
138
|
terminal_capability == o.terminal_capability &&
|
139
|
+
cardholder_verification_method_used == o.cardholder_verification_method_used &&
|
130
140
|
emv == o.emv
|
131
141
|
end
|
132
142
|
|
@@ -139,7 +149,7 @@ module CyberSource
|
|
139
149
|
# Calculates hash code according to all attributes.
|
140
150
|
# @return [Fixnum] Hash code
|
141
151
|
def hash
|
142
|
-
[terminal_id, entry_mode, terminal_capability, emv].hash
|
152
|
+
[terminal_id, entry_mode, terminal_capability, cardholder_verification_method_used, emv].hash
|
143
153
|
end
|
144
154
|
|
145
155
|
# Builds the object from hash
|
@@ -23,6 +23,9 @@ module CyberSource
|
|
23
23
|
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. The list of valid values in this field depends on your processor. See Appendix I, \"Commerce Indicators,\" on page 441 of the Cybersource Credit Card Guide. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
|
24
24
|
attr_accessor :commerce_indicator
|
25
25
|
|
26
|
+
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. The list of valid values in this field depends on your processor. See Appendix I, \"Commerce Indicators,\" on page 441 of the Cybersource Credit Card Guide. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
|
27
|
+
attr_accessor :commerce_indicator_label
|
28
|
+
|
26
29
|
# Payouts transaction type. Required for OCT transactions. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. **Note** When the request includes this field, this value overrides the information in your CyberSource account. For valid values, see the `invoiceHeader_businessApplicationID` field description in [Payouts Using the Simple Order API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SO/Payouts_SO_API.pdf)
|
27
30
|
attr_accessor :business_application_id
|
28
31
|
|
@@ -38,6 +41,7 @@ module CyberSource
|
|
38
41
|
:'industry_data_type' => :'industryDataType',
|
39
42
|
:'payment_solution' => :'paymentSolution',
|
40
43
|
:'commerce_indicator' => :'commerceIndicator',
|
44
|
+
:'commerce_indicator_label' => :'commerceIndicatorLabel',
|
41
45
|
:'business_application_id' => :'businessApplicationId',
|
42
46
|
:'authorization_options' => :'authorizationOptions',
|
43
47
|
:'bank_transfer_options' => :'bankTransferOptions',
|
@@ -51,6 +55,7 @@ module CyberSource
|
|
51
55
|
:'industry_data_type' => :'String',
|
52
56
|
:'payment_solution' => :'String',
|
53
57
|
:'commerce_indicator' => :'String',
|
58
|
+
:'commerce_indicator_label' => :'String',
|
54
59
|
:'business_application_id' => :'String',
|
55
60
|
:'authorization_options' => :'TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions',
|
56
61
|
:'bank_transfer_options' => :'TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions',
|
@@ -78,6 +83,10 @@ module CyberSource
|
|
78
83
|
self.commerce_indicator = attributes[:'commerceIndicator']
|
79
84
|
end
|
80
85
|
|
86
|
+
if attributes.has_key?(:'commerceIndicatorLabel')
|
87
|
+
self.commerce_indicator_label = attributes[:'commerceIndicatorLabel']
|
88
|
+
end
|
89
|
+
|
81
90
|
if attributes.has_key?(:'businessApplicationId')
|
82
91
|
self.business_application_id = attributes[:'businessApplicationId']
|
83
92
|
end
|
@@ -126,6 +135,12 @@ module CyberSource
|
|
126
135
|
@commerce_indicator = commerce_indicator
|
127
136
|
end
|
128
137
|
|
138
|
+
# Custom attribute writer method with validation
|
139
|
+
# @param [Object] commerce_indicator_label Value to be assigned
|
140
|
+
def commerce_indicator_label=(commerce_indicator_label)
|
141
|
+
@commerce_indicator_label = commerce_indicator_label
|
142
|
+
end
|
143
|
+
|
129
144
|
# Checks equality by comparing each attribute.
|
130
145
|
# @param [Object] Object to be compared
|
131
146
|
def ==(o)
|
@@ -134,6 +149,7 @@ module CyberSource
|
|
134
149
|
industry_data_type == o.industry_data_type &&
|
135
150
|
payment_solution == o.payment_solution &&
|
136
151
|
commerce_indicator == o.commerce_indicator &&
|
152
|
+
commerce_indicator_label == o.commerce_indicator_label &&
|
137
153
|
business_application_id == o.business_application_id &&
|
138
154
|
authorization_options == o.authorization_options &&
|
139
155
|
bank_transfer_options == o.bank_transfer_options &&
|
@@ -149,7 +165,7 @@ module CyberSource
|
|
149
165
|
# Calculates hash code according to all attributes.
|
150
166
|
# @return [Fixnum] Hash code
|
151
167
|
def hash
|
152
|
-
[industry_data_type, payment_solution, commerce_indicator, business_application_id, authorization_options, bank_transfer_options, japan_payment_options].hash
|
168
|
+
[industry_data_type, payment_solution, commerce_indicator, commerce_indicator_label, business_application_id, authorization_options, bank_transfer_options, japan_payment_options].hash
|
153
169
|
end
|
154
170
|
|
155
171
|
# Builds the object from hash
|
@@ -41,7 +41,7 @@ module CyberSource
|
|
41
41
|
:'code' => :'String',
|
42
42
|
:'application_name' => :'String',
|
43
43
|
:'application_user' => :'String',
|
44
|
-
:'partner' => :'
|
44
|
+
:'partner' => :'TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -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 TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
|
17
|
+
# Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.
|
18
|
+
attr_accessor :solution_id
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'solution_id' => :'solutionId'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'solution_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?(:'solutionId')
|
43
|
+
self.solution_id = attributes[:'solutionId']
|
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] solution_id Value to be assigned
|
62
|
+
def solution_id=(solution_id)
|
63
|
+
@solution_id = solution_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
|
+
solution_id == o.solution_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
|
+
[solution_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
|
@@ -23,12 +23,16 @@ module CyberSource
|
|
23
23
|
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. The list of valid values in this field depends on your processor. See Appendix I, \"Commerce Indicators,\" on page 441 of the Cybersource Credit Card Guide. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
|
24
24
|
attr_accessor :commerce_indicator
|
25
25
|
|
26
|
+
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. The list of valid values in this field depends on your processor. See Appendix I, \"Commerce Indicators,\" on page 441 of the Cybersource Credit Card Guide. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
|
27
|
+
attr_accessor :commerce_indicator_label
|
28
|
+
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
30
|
def self.attribute_map
|
28
31
|
{
|
29
32
|
:'payment_solution' => :'paymentSolution',
|
30
33
|
:'business_application_id' => :'businessApplicationId',
|
31
|
-
:'commerce_indicator' => :'commerceIndicator'
|
34
|
+
:'commerce_indicator' => :'commerceIndicator',
|
35
|
+
:'commerce_indicator_label' => :'commerceIndicatorLabel'
|
32
36
|
}
|
33
37
|
end
|
34
38
|
|
@@ -37,7 +41,8 @@ module CyberSource
|
|
37
41
|
{
|
38
42
|
:'payment_solution' => :'String',
|
39
43
|
:'business_application_id' => :'String',
|
40
|
-
:'commerce_indicator' => :'String'
|
44
|
+
:'commerce_indicator' => :'String',
|
45
|
+
:'commerce_indicator_label' => :'String'
|
41
46
|
}
|
42
47
|
end
|
43
48
|
|
@@ -60,6 +65,10 @@ module CyberSource
|
|
60
65
|
if attributes.has_key?(:'commerceIndicator')
|
61
66
|
self.commerce_indicator = attributes[:'commerceIndicator']
|
62
67
|
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'commerceIndicatorLabel')
|
70
|
+
self.commerce_indicator_label = attributes[:'commerceIndicatorLabel']
|
71
|
+
end
|
63
72
|
end
|
64
73
|
|
65
74
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -87,6 +96,12 @@ module CyberSource
|
|
87
96
|
@commerce_indicator = commerce_indicator
|
88
97
|
end
|
89
98
|
|
99
|
+
# Custom attribute writer method with validation
|
100
|
+
# @param [Object] commerce_indicator_label Value to be assigned
|
101
|
+
def commerce_indicator_label=(commerce_indicator_label)
|
102
|
+
@commerce_indicator_label = commerce_indicator_label
|
103
|
+
end
|
104
|
+
|
90
105
|
# Checks equality by comparing each attribute.
|
91
106
|
# @param [Object] Object to be compared
|
92
107
|
def ==(o)
|
@@ -94,7 +109,8 @@ module CyberSource
|
|
94
109
|
self.class == o.class &&
|
95
110
|
payment_solution == o.payment_solution &&
|
96
111
|
business_application_id == o.business_application_id &&
|
97
|
-
commerce_indicator == o.commerce_indicator
|
112
|
+
commerce_indicator == o.commerce_indicator &&
|
113
|
+
commerce_indicator_label == o.commerce_indicator_label
|
98
114
|
end
|
99
115
|
|
100
116
|
# @see the `==` method
|
@@ -106,7 +122,7 @@ module CyberSource
|
|
106
122
|
# Calculates hash code according to all attributes.
|
107
123
|
# @return [Fixnum] Hash code
|
108
124
|
def hash
|
109
|
-
[payment_solution, business_application_id, commerce_indicator].hash
|
125
|
+
[payment_solution, business_application_id, commerce_indicator, commerce_indicator_label].hash
|
110
126
|
end
|
111
127
|
|
112
128
|
# Builds the object from hash
|
@@ -69,6 +69,7 @@ require 'cybersource_rest_client/models/inline_response_400_1_fields'
|
|
69
69
|
require 'cybersource_rest_client/models/inline_response_400_2'
|
70
70
|
require 'cybersource_rest_client/models/inline_response_400_details'
|
71
71
|
require 'cybersource_rest_client/models/inline_response_400_errors'
|
72
|
+
require 'cybersource_rest_client/models/inline_response_502'
|
72
73
|
require 'cybersource_rest_client/models/inline_response_default'
|
73
74
|
require 'cybersource_rest_client/models/inline_response_default__links'
|
74
75
|
require 'cybersource_rest_client/models/inline_response_default__links_next'
|
@@ -433,6 +434,7 @@ require 'cybersource_rest_client/models/ptsv2payouts_processing_information_payo
|
|
433
434
|
require 'cybersource_rest_client/models/ptsv2payouts_recipient_information'
|
434
435
|
require 'cybersource_rest_client/models/ptsv2payouts_sender_information'
|
435
436
|
require 'cybersource_rest_client/models/ptsv2payouts_sender_information_account'
|
437
|
+
require 'cybersource_rest_client/models/ptsv2voids_processing_information'
|
436
438
|
require 'cybersource_rest_client/models/refund_capture_request'
|
437
439
|
require 'cybersource_rest_client/models/refund_payment_request'
|
438
440
|
require 'cybersource_rest_client/models/reporting_v3_chargeback_details_get200_response'
|
@@ -679,6 +681,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_paym
|
|
679
681
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate'
|
680
682
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card'
|
681
683
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer'
|
684
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_fluid_data'
|
682
685
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier'
|
683
686
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice'
|
684
687
|
require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type'
|
@@ -704,6 +707,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__em
|
|
704
707
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information_applications'
|
705
708
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information'
|
706
709
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information'
|
710
|
+
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information_partner'
|
707
711
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information'
|
708
712
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links'
|
709
713
|
require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information'
|
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.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -34,22 +34,22 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
37
|
- - ">="
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.1'
|
50
47
|
- - ">="
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: activesupport
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,22 +108,22 @@ dependencies:
|
|
108
108
|
name: addressable
|
109
109
|
requirement: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "~>"
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '2.3'
|
114
111
|
- - ">="
|
115
112
|
- !ruby/object:Gem::Version
|
116
113
|
version: 2.3.0
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '2.3'
|
117
117
|
type: :runtime
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '2.3'
|
124
121
|
- - ">="
|
125
122
|
- !ruby/object:Gem::Version
|
126
123
|
version: 2.3.0
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '2.3'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: simplecov
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,22 +156,22 @@ dependencies:
|
|
156
156
|
name: rspec
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
|
-
- - "~>"
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '3.6'
|
162
159
|
- - ">="
|
163
160
|
- !ruby/object:Gem::Version
|
164
161
|
version: 3.6.0
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '3.6'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '3.6'
|
172
169
|
- - ">="
|
173
170
|
- !ruby/object:Gem::Version
|
174
171
|
version: 3.6.0
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '3.6'
|
175
175
|
- !ruby/object:Gem::Dependency
|
176
176
|
name: vcr
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -397,6 +397,7 @@ files:
|
|
397
397
|
- lib/cybersource_rest_client/models/inline_response_400_2.rb
|
398
398
|
- lib/cybersource_rest_client/models/inline_response_400_details.rb
|
399
399
|
- lib/cybersource_rest_client/models/inline_response_400_errors.rb
|
400
|
+
- lib/cybersource_rest_client/models/inline_response_502.rb
|
400
401
|
- lib/cybersource_rest_client/models/inline_response_default.rb
|
401
402
|
- lib/cybersource_rest_client/models/inline_response_default__links.rb
|
402
403
|
- lib/cybersource_rest_client/models/inline_response_default__links_next.rb
|
@@ -761,6 +762,7 @@ files:
|
|
761
762
|
- lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb
|
762
763
|
- lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb
|
763
764
|
- lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb
|
765
|
+
- lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb
|
764
766
|
- lib/cybersource_rest_client/models/refund_capture_request.rb
|
765
767
|
- lib/cybersource_rest_client/models/refund_payment_request.rb
|
766
768
|
- lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb
|
@@ -1008,6 +1010,7 @@ files:
|
|
1008
1010
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb
|
1009
1011
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb
|
1010
1012
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb
|
1013
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_fluid_data.rb
|
1011
1014
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb
|
1012
1015
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb
|
1013
1016
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb
|
@@ -1034,6 +1037,7 @@ files:
|
|
1034
1037
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information_applications.rb
|
1035
1038
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb
|
1036
1039
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb
|
1040
|
+
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information_partner.rb
|
1037
1041
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb
|
1038
1042
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb
|
1039
1043
|
- lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb
|
@@ -1105,7 +1109,7 @@ homepage: https://developer.cybersource.com
|
|
1105
1109
|
licenses:
|
1106
1110
|
- CyberSource
|
1107
1111
|
metadata: {}
|
1108
|
-
post_install_message:
|
1112
|
+
post_install_message:
|
1109
1113
|
rdoc_options: []
|
1110
1114
|
require_paths:
|
1111
1115
|
- lib
|
@@ -1120,8 +1124,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1120
1124
|
- !ruby/object:Gem::Version
|
1121
1125
|
version: '0'
|
1122
1126
|
requirements: []
|
1123
|
-
rubygems_version: 3.3.
|
1124
|
-
signing_key:
|
1127
|
+
rubygems_version: 3.0.3.1
|
1128
|
+
signing_key:
|
1125
1129
|
specification_version: 4
|
1126
1130
|
summary: CyberSource Ruby SDK Gem
|
1127
1131
|
test_files: []
|