cybersource_rest_client 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +7 -4
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +223 -219
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +116 -112
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/customer_api.rb +368 -360
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +530 -518
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +530 -518
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +92 -88
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +92 -88
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +15 -3
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +152 -148
- data/lib/cybersource_rest_client/api/invoices_api.rb +447 -431
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +5 -1
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +219 -219
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +133 -129
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +10 -2
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +15 -3
- data/lib/cybersource_rest_client/api/reports_api.rb +10 -2
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +116 -112
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +5 -1
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +206 -198
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/taxes_api.rb +160 -160
- data/lib/cybersource_rest_client/api/tokenization_api.rb +89 -89
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -3
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +89 -89
- data/lib/cybersource_rest_client/api/verification_api.rb +154 -154
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +21 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_authorization_options.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options_initiator.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +52 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- 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_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/void_capture_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_credit_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_payment_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_refund_request.rb +13 -4
- data/lib/cybersource_rest_client.rb +4 -0
- metadata +7 -3
data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb
CHANGED
@@ -44,6 +44,9 @@ module CyberSource
|
|
44
44
|
# Address of company's website provided by merchant
|
45
45
|
attr_accessor :url
|
46
46
|
|
47
|
+
# #### Visa Platform Connect This field will indicate merchant country of origin
|
48
|
+
attr_accessor :country_of_origin
|
49
|
+
|
47
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
51
|
def self.attribute_map
|
49
52
|
{
|
@@ -56,7 +59,8 @@ module CyberSource
|
|
56
59
|
:'postal_code' => :'postalCode',
|
57
60
|
:'administrative_area' => :'administrativeArea',
|
58
61
|
:'phone' => :'phone',
|
59
|
-
:'url' => :'url'
|
62
|
+
:'url' => :'url',
|
63
|
+
:'country_of_origin' => :'countryOfOrigin'
|
60
64
|
}
|
61
65
|
end
|
62
66
|
|
@@ -72,7 +76,8 @@ module CyberSource
|
|
72
76
|
:'postal_code' => :'String',
|
73
77
|
:'administrative_area' => :'String',
|
74
78
|
:'phone' => :'String',
|
75
|
-
:'url' => :'String'
|
79
|
+
:'url' => :'String',
|
80
|
+
:'country_of_origin' => :'String'
|
76
81
|
}
|
77
82
|
end
|
78
83
|
|
@@ -123,6 +128,10 @@ module CyberSource
|
|
123
128
|
if attributes.has_key?(:'url')
|
124
129
|
self.url = attributes[:'url']
|
125
130
|
end
|
131
|
+
|
132
|
+
if attributes.has_key?(:'countryOfOrigin')
|
133
|
+
self.country_of_origin = attributes[:'countryOfOrigin']
|
134
|
+
end
|
126
135
|
end
|
127
136
|
|
128
137
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -186,6 +195,12 @@ module CyberSource
|
|
186
195
|
@url = url
|
187
196
|
end
|
188
197
|
|
198
|
+
# Custom attribute writer method with validation
|
199
|
+
# @param [Object] country_of_origin Value to be assigned
|
200
|
+
def country_of_origin=(country_of_origin)
|
201
|
+
@country_of_origin = country_of_origin
|
202
|
+
end
|
203
|
+
|
189
204
|
# Checks equality by comparing each attribute.
|
190
205
|
# @param [Object] Object to be compared
|
191
206
|
def ==(o)
|
@@ -200,7 +215,8 @@ module CyberSource
|
|
200
215
|
postal_code == o.postal_code &&
|
201
216
|
administrative_area == o.administrative_area &&
|
202
217
|
phone == o.phone &&
|
203
|
-
url == o.url
|
218
|
+
url == o.url &&
|
219
|
+
country_of_origin == o.country_of_origin
|
204
220
|
end
|
205
221
|
|
206
222
|
# @see the `==` method
|
@@ -212,7 +228,7 @@ module CyberSource
|
|
212
228
|
# Calculates hash code according to all attributes.
|
213
229
|
# @return [Fixnum] Hash code
|
214
230
|
def hash
|
215
|
-
[name, alternate_name, contact, address1, locality, country, postal_code, administrative_area, phone, url].hash
|
231
|
+
[name, alternate_name, contact, address1, locality, country, postal_code, administrative_area, phone, url, country_of_origin].hash
|
216
232
|
end
|
217
233
|
|
218
234
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module CyberSource
|
|
29
29
|
# This is only needed when you are requesting both payment and DM service at same time. Boolean that indicates whether returns are accepted for this order. This field can contain one of the following values: - true: Returns are accepted for this order. - false: Returns are not accepted for this order.
|
30
30
|
attr_accessor :returns_accepted
|
31
31
|
|
32
|
+
# #### Visa Platform Connect : This API will contain the Flag that specifies whether the payment is for the purchase of cryptocurrency. Additional values to add : This API will contain the Flag that specifies whether the payment is for the purchase of cryptocurrency. valid values are - Y/y, true - N/n, false
|
33
|
+
attr_accessor :is_cryptocurrency_purchase
|
34
|
+
|
32
35
|
# Indicates whether cardholder is placing an order with a future availability or release date. This field can contain one of these values: - MERCHANDISE_AVAILABLE: Merchandise available - FUTURE_AVAILABILITY: Future availability
|
33
36
|
attr_accessor :pre_order
|
34
37
|
|
@@ -51,6 +54,7 @@ module CyberSource
|
|
51
54
|
:'invoice_details' => :'invoiceDetails',
|
52
55
|
:'shipping_details' => :'shippingDetails',
|
53
56
|
:'returns_accepted' => :'returnsAccepted',
|
57
|
+
:'is_cryptocurrency_purchase' => :'isCryptocurrencyPurchase',
|
54
58
|
:'pre_order' => :'preOrder',
|
55
59
|
:'pre_order_date' => :'preOrderDate',
|
56
60
|
:'reordered' => :'reordered',
|
@@ -68,6 +72,7 @@ module CyberSource
|
|
68
72
|
:'invoice_details' => :'Ptsv2paymentsOrderInformationInvoiceDetails',
|
69
73
|
:'shipping_details' => :'Ptsv2paymentsOrderInformationShippingDetails',
|
70
74
|
:'returns_accepted' => :'BOOLEAN',
|
75
|
+
:'is_cryptocurrency_purchase' => :'String',
|
71
76
|
:'pre_order' => :'String',
|
72
77
|
:'pre_order_date' => :'String',
|
73
78
|
:'reordered' => :'BOOLEAN',
|
@@ -113,6 +118,10 @@ module CyberSource
|
|
113
118
|
self.returns_accepted = attributes[:'returnsAccepted']
|
114
119
|
end
|
115
120
|
|
121
|
+
if attributes.has_key?(:'isCryptocurrencyPurchase')
|
122
|
+
self.is_cryptocurrency_purchase = attributes[:'isCryptocurrencyPurchase']
|
123
|
+
end
|
124
|
+
|
116
125
|
if attributes.has_key?(:'preOrder')
|
117
126
|
self.pre_order = attributes[:'preOrder']
|
118
127
|
end
|
@@ -167,6 +176,7 @@ module CyberSource
|
|
167
176
|
invoice_details == o.invoice_details &&
|
168
177
|
shipping_details == o.shipping_details &&
|
169
178
|
returns_accepted == o.returns_accepted &&
|
179
|
+
is_cryptocurrency_purchase == o.is_cryptocurrency_purchase &&
|
170
180
|
pre_order == o.pre_order &&
|
171
181
|
pre_order_date == o.pre_order_date &&
|
172
182
|
reordered == o.reordered &&
|
@@ -182,7 +192,7 @@ module CyberSource
|
|
182
192
|
# Calculates hash code according to all attributes.
|
183
193
|
# @return [Fixnum] Hash code
|
184
194
|
def hash
|
185
|
-
[amount_details, bill_to, ship_to, line_items, invoice_details, shipping_details, returns_accepted, pre_order, pre_order_date, reordered, total_offers_count].hash
|
195
|
+
[amount_details, bill_to, ship_to, line_items, invoice_details, shipping_details, returns_accepted, is_cryptocurrency_purchase, pre_order, pre_order_date, reordered, total_offers_count].hash
|
186
196
|
end
|
187
197
|
|
188
198
|
# Builds the object from hash
|
@@ -61,6 +61,9 @@ module CyberSource
|
|
61
61
|
# Cost centre of the merchant
|
62
62
|
attr_accessor :cost_center
|
63
63
|
|
64
|
+
# Text message from the issuer. If you give the customer a receipt, display this value on the receipt.
|
65
|
+
attr_accessor :issuer_message
|
66
|
+
|
64
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
65
68
|
def self.attribute_map
|
66
69
|
{
|
@@ -79,7 +82,8 @@ module CyberSource
|
|
79
82
|
:'reference_data_number' => :'referenceDataNumber',
|
80
83
|
:'sales_slip_number' => :'salesSlipNumber',
|
81
84
|
:'invoice_date' => :'invoiceDate',
|
82
|
-
:'cost_center' => :'costCenter'
|
85
|
+
:'cost_center' => :'costCenter',
|
86
|
+
:'issuer_message' => :'issuerMessage'
|
83
87
|
}
|
84
88
|
end
|
85
89
|
|
@@ -101,7 +105,8 @@ module CyberSource
|
|
101
105
|
:'reference_data_number' => :'String',
|
102
106
|
:'sales_slip_number' => :'Integer',
|
103
107
|
:'invoice_date' => :'String',
|
104
|
-
:'cost_center' => :'String'
|
108
|
+
:'cost_center' => :'String',
|
109
|
+
:'issuer_message' => :'String'
|
105
110
|
}
|
106
111
|
end
|
107
112
|
|
@@ -178,6 +183,10 @@ module CyberSource
|
|
178
183
|
if attributes.has_key?(:'costCenter')
|
179
184
|
self.cost_center = attributes[:'costCenter']
|
180
185
|
end
|
186
|
+
|
187
|
+
if attributes.has_key?(:'issuerMessage')
|
188
|
+
self.issuer_message = attributes[:'issuerMessage']
|
189
|
+
end
|
181
190
|
end
|
182
191
|
|
183
192
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -262,6 +271,12 @@ module CyberSource
|
|
262
271
|
@cost_center = cost_center
|
263
272
|
end
|
264
273
|
|
274
|
+
# Custom attribute writer method with validation
|
275
|
+
# @param [Object] issuer_message Value to be assigned
|
276
|
+
def issuer_message=(issuer_message)
|
277
|
+
@issuer_message = issuer_message
|
278
|
+
end
|
279
|
+
|
265
280
|
# Checks equality by comparing each attribute.
|
266
281
|
# @param [Object] Object to be compared
|
267
282
|
def ==(o)
|
@@ -282,7 +297,8 @@ module CyberSource
|
|
282
297
|
reference_data_number == o.reference_data_number &&
|
283
298
|
sales_slip_number == o.sales_slip_number &&
|
284
299
|
invoice_date == o.invoice_date &&
|
285
|
-
cost_center == o.cost_center
|
300
|
+
cost_center == o.cost_center &&
|
301
|
+
issuer_message == o.issuer_message
|
286
302
|
end
|
287
303
|
|
288
304
|
# @see the `==` method
|
@@ -294,7 +310,7 @@ module CyberSource
|
|
294
310
|
# Calculates hash code according to all attributes.
|
295
311
|
# @return [Fixnum] Hash code
|
296
312
|
def hash
|
297
|
-
[invoice_number, barcode_number, expiration_date, purchase_order_number, purchase_order_date, purchase_contact_name, taxable, vat_invoice_reference_number, commodity_code, merchandise_code, transaction_advice_addendum, reference_data_code, reference_data_number, sales_slip_number, invoice_date, cost_center].hash
|
313
|
+
[invoice_number, barcode_number, expiration_date, purchase_order_number, purchase_order_date, purchase_contact_name, taxable, vat_invoice_reference_number, commodity_code, merchandise_code, transaction_advice_addendum, reference_data_code, reference_data_number, sales_slip_number, invoice_date, cost_center, issuer_message].hash
|
298
314
|
end
|
299
315
|
|
300
316
|
# Builds the object from hash
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
32
32
|
# Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
33
33
|
attr_accessor :requestor_id
|
34
34
|
|
35
|
-
# Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
35
|
+
# Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
36
36
|
attr_accessor :transaction_type
|
37
37
|
|
38
38
|
# Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase.
|
@@ -91,6 +91,9 @@ module CyberSource
|
|
91
91
|
# This is the manufacturer name of the reader which is used to accept the payment. Possible values: - PAX - Verifone - Ingenico
|
92
92
|
attr_accessor :terminal_make
|
93
93
|
|
94
|
+
# #### Visa Platform Connect Mastercard service code that is included in the track data. You can extract the service code from the track data and provide it in this API field. This field is supported only for Mastercard on Visa Platform Connect.
|
95
|
+
attr_accessor :service_code
|
96
|
+
|
94
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
95
98
|
def self.attribute_map
|
96
99
|
{
|
@@ -119,7 +122,8 @@ module CyberSource
|
|
119
122
|
:'terminal_compliance' => :'terminalCompliance',
|
120
123
|
:'is_dedicated_hardware_terminal' => :'isDedicatedHardwareTerminal',
|
121
124
|
:'terminal_model' => :'terminalModel',
|
122
|
-
:'terminal_make' => :'terminalMake'
|
125
|
+
:'terminal_make' => :'terminalMake',
|
126
|
+
:'service_code' => :'serviceCode'
|
123
127
|
}
|
124
128
|
end
|
125
129
|
|
@@ -151,7 +155,8 @@ module CyberSource
|
|
151
155
|
:'terminal_compliance' => :'String',
|
152
156
|
:'is_dedicated_hardware_terminal' => :'String',
|
153
157
|
:'terminal_model' => :'String',
|
154
|
-
:'terminal_make' => :'String'
|
158
|
+
:'terminal_make' => :'String',
|
159
|
+
:'service_code' => :'String'
|
155
160
|
}
|
156
161
|
end
|
157
162
|
|
@@ -270,6 +275,10 @@ module CyberSource
|
|
270
275
|
if attributes.has_key?(:'terminalMake')
|
271
276
|
self.terminal_make = attributes[:'terminalMake']
|
272
277
|
end
|
278
|
+
|
279
|
+
if attributes.has_key?(:'serviceCode')
|
280
|
+
self.service_code = attributes[:'serviceCode']
|
281
|
+
end
|
273
282
|
end
|
274
283
|
|
275
284
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -456,6 +465,12 @@ module CyberSource
|
|
456
465
|
@terminal_make = terminal_make
|
457
466
|
end
|
458
467
|
|
468
|
+
# Custom attribute writer method with validation
|
469
|
+
# @param [Object] service_code Value to be assigned
|
470
|
+
def service_code=(service_code)
|
471
|
+
@service_code = service_code
|
472
|
+
end
|
473
|
+
|
459
474
|
# Checks equality by comparing each attribute.
|
460
475
|
# @param [Object] Object to be compared
|
461
476
|
def ==(o)
|
@@ -486,7 +501,8 @@ module CyberSource
|
|
486
501
|
terminal_compliance == o.terminal_compliance &&
|
487
502
|
is_dedicated_hardware_terminal == o.is_dedicated_hardware_terminal &&
|
488
503
|
terminal_model == o.terminal_model &&
|
489
|
-
terminal_make == o.terminal_make
|
504
|
+
terminal_make == o.terminal_make &&
|
505
|
+
service_code == o.service_code
|
490
506
|
end
|
491
507
|
|
492
508
|
# @see the `==` method
|
@@ -498,7 +514,7 @@ module CyberSource
|
|
498
514
|
# Calculates hash code according to all attributes.
|
499
515
|
# @return [Fixnum] Hash code
|
500
516
|
def hash
|
501
|
-
[terminal_id, terminal_serial_number, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make].hash
|
517
|
+
[terminal_id, terminal_serial_number, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
|
502
518
|
end
|
503
519
|
|
504
520
|
# Builds the object from hash
|
@@ -26,9 +26,12 @@ module CyberSource
|
|
26
26
|
# Indicates whether a fallback method was used to enter credit card information into the POS terminal. When a technical problem prevents a successful exchange of information between a chip card and a chip-capable terminal: 1. Swipe the card or key the credit card information into the POS terminal. 2. Use the pointOfSaleInformation.entryMode field to indicate whether the information was swiped or keyed. Possible values: - `true`: Fallback method was used. - `false` (default): Fallback method was not used. This field is supported only on American Express Direct, Chase Paymentech Solutions, CyberSource through VisaNet, FDC Nashville Global, GPN, JCN Gateway, OmniPay Direct, and SIX.
|
27
27
|
attr_accessor :fallback
|
28
28
|
|
29
|
-
# Reason for the EMV fallback transaction. An EMV fallback transaction occurs when an EMV transaction fails for one of these reasons: - Technical failure: the EMV terminal or EMV card cannot read and process chip data. - Empty candidate list failure: the EMV terminal does not have any applications in common with the EMV card. EMV terminals are coded to determine whether the terminal and EMV card have any applications in common. EMV terminals provide this information to you. Possible values: - `1`: Transaction was initiated with information from a magnetic stripe, and the previous transaction at the
|
29
|
+
# Reason for the EMV fallback transaction. An EMV fallback transaction occurs when an EMV transaction fails for one of these reasons: - Technical failure: the EMV terminal or EMV card cannot read and process chip data. - Empty candidate list failure: the EMV terminal does not have any applications in common with the EMV card. EMV terminals are coded to determine whether the terminal and EMV card have any applications in common. EMV terminals provide this information to you. Possible values: - `1`: Transaction was initiated with information from a magnetic stripe, and the previous transaction at the EMV terminal either used information from a successful chip read or it was not a chip transaction. - `2`: Transaction was initiated with information from a magnetic stripe, and the previous transaction at the EMV terminal was an EMV fallback transaction because the attempted chip read was unsuccessful. This field is supported only on **GPN** and **JCN Gateway**. **NOTE**: This field is required when an EMV transaction fails for a technical reason. Do not include this field when the EMV terminal does not have any applications in common with the EMV card.
|
30
30
|
attr_accessor :fallback_condition
|
31
31
|
|
32
|
+
# #### Visa Platform Connect Value 1 indicates this transaction is intentionally duplicated The field contains value “1” which indicates that merchant has intentionally duplicated single tap transaction. Merchant is intentionally sending a duplicate auth request for a single tap txn because the issuer requested a PIN.
|
33
|
+
attr_accessor :is_repeat
|
34
|
+
|
32
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
@@ -36,7 +39,8 @@ module CyberSource
|
|
36
39
|
:'cardholder_verification_method_used' => :'cardholderVerificationMethodUsed',
|
37
40
|
:'card_sequence_number' => :'cardSequenceNumber',
|
38
41
|
:'fallback' => :'fallback',
|
39
|
-
:'fallback_condition' => :'fallbackCondition'
|
42
|
+
:'fallback_condition' => :'fallbackCondition',
|
43
|
+
:'is_repeat' => :'isRepeat'
|
40
44
|
}
|
41
45
|
end
|
42
46
|
|
@@ -47,7 +51,8 @@ module CyberSource
|
|
47
51
|
:'cardholder_verification_method_used' => :'Integer',
|
48
52
|
:'card_sequence_number' => :'String',
|
49
53
|
:'fallback' => :'BOOLEAN',
|
50
|
-
:'fallback_condition' => :'Integer'
|
54
|
+
:'fallback_condition' => :'Integer',
|
55
|
+
:'is_repeat' => :'String'
|
51
56
|
}
|
52
57
|
end
|
53
58
|
|
@@ -73,13 +78,15 @@ module CyberSource
|
|
73
78
|
|
74
79
|
if attributes.has_key?(:'fallback')
|
75
80
|
self.fallback = attributes[:'fallback']
|
76
|
-
else
|
77
|
-
self.fallback = false
|
78
81
|
end
|
79
82
|
|
80
83
|
if attributes.has_key?(:'fallbackCondition')
|
81
84
|
self.fallback_condition = attributes[:'fallbackCondition']
|
82
85
|
end
|
86
|
+
|
87
|
+
if attributes.has_key?(:'isRepeat')
|
88
|
+
self.is_repeat = attributes[:'isRepeat']
|
89
|
+
end
|
83
90
|
end
|
84
91
|
|
85
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,6 +114,12 @@ module CyberSource
|
|
107
114
|
@card_sequence_number = card_sequence_number
|
108
115
|
end
|
109
116
|
|
117
|
+
# Custom attribute writer method with validation
|
118
|
+
# @param [Object] is_repeat Value to be assigned
|
119
|
+
def is_repeat=(is_repeat)
|
120
|
+
@is_repeat = is_repeat
|
121
|
+
end
|
122
|
+
|
110
123
|
# Checks equality by comparing each attribute.
|
111
124
|
# @param [Object] Object to be compared
|
112
125
|
def ==(o)
|
@@ -116,7 +129,8 @@ module CyberSource
|
|
116
129
|
cardholder_verification_method_used == o.cardholder_verification_method_used &&
|
117
130
|
card_sequence_number == o.card_sequence_number &&
|
118
131
|
fallback == o.fallback &&
|
119
|
-
fallback_condition == o.fallback_condition
|
132
|
+
fallback_condition == o.fallback_condition &&
|
133
|
+
is_repeat == o.is_repeat
|
120
134
|
end
|
121
135
|
|
122
136
|
# @see the `==` method
|
@@ -128,7 +142,7 @@ module CyberSource
|
|
128
142
|
# Calculates hash code according to all attributes.
|
129
143
|
# @return [Fixnum] Hash code
|
130
144
|
def hash
|
131
|
-
[tags, cardholder_verification_method_used, card_sequence_number, fallback, fallback_condition].hash
|
145
|
+
[tags, cardholder_verification_method_used, card_sequence_number, fallback, fallback_condition, is_repeat].hash
|
132
146
|
end
|
133
147
|
|
134
148
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module CyberSource
|
|
17
17
|
# Authorization type. Possible values: - `AUTOCAPTURE`: automatic capture. - `STANDARDCAPTURE`: standard capture. - `VERBAL`: forced capture. Include it in the payment request for a forced capture. Include it in the capture request for a verbal payment. #### Asia, Middle East, and Africa Gateway; Cielo; Comercio Latino; and CyberSource Latin American Processing Set this field to `AUTOCAPTURE` and include it in a bundled request to indicate that you are requesting an automatic capture. If your account is configured to enable automatic captures, set this field to `STANDARDCAPTURE` and include it in a standard authorization or bundled request to indicate that you are overriding an automatic capture. For more information, see the `auth_type` field description in [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Forced Capture Set this field to `VERBAL` and include it in the authorization request to indicate that you are performing a forced capture; therefore, you receive the authorization code outside the CyberSource system. #### Verbal Authorization Set this field to `VERBAL` and include it in the capture request to indicate that the request is for a verbal authorization. For more information, see \"Verbal Authorizations\" in [Credit Card Services Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html).
|
18
18
|
attr_accessor :auth_type
|
19
19
|
|
20
|
+
# #### Visa Platform Connect The field contains the PAN translation indicator for American Express Contactless Transaction. Valid value is 1- Expresspay Translation, PAN request 2- Expresspay Translation, PAN and Expiry date request
|
21
|
+
attr_accessor :pan_return_indicator
|
22
|
+
|
20
23
|
# Authorization code. #### Forced Capture Use this field to send the authorization code you received from a payment that you authorized outside the CyberSource system. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit purchase. #### Verbal Authorization Use this field in CAPTURE API to send the verbally received authorization code. For processor-specific information, see the `auth_code` field description in [Credit Card Services Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html).
|
21
24
|
attr_accessor :verbal_auth_code
|
22
25
|
|
@@ -68,6 +71,7 @@ module CyberSource
|
|
68
71
|
def self.attribute_map
|
69
72
|
{
|
70
73
|
:'auth_type' => :'authType',
|
74
|
+
:'pan_return_indicator' => :'panReturnIndicator',
|
71
75
|
:'verbal_auth_code' => :'verbalAuthCode',
|
72
76
|
:'verbal_auth_transaction_id' => :'verbalAuthTransactionId',
|
73
77
|
:'auth_indicator' => :'authIndicator',
|
@@ -91,6 +95,7 @@ module CyberSource
|
|
91
95
|
def self.swagger_types
|
92
96
|
{
|
93
97
|
:'auth_type' => :'String',
|
98
|
+
:'pan_return_indicator' => :'String',
|
94
99
|
:'verbal_auth_code' => :'String',
|
95
100
|
:'verbal_auth_transaction_id' => :'String',
|
96
101
|
:'auth_indicator' => :'String',
|
@@ -122,6 +127,10 @@ module CyberSource
|
|
122
127
|
self.auth_type = attributes[:'authType']
|
123
128
|
end
|
124
129
|
|
130
|
+
if attributes.has_key?(:'panReturnIndicator')
|
131
|
+
self.pan_return_indicator = attributes[:'panReturnIndicator']
|
132
|
+
end
|
133
|
+
|
125
134
|
if attributes.has_key?(:'verbalAuthCode')
|
126
135
|
self.verbal_auth_code = attributes[:'verbalAuthCode']
|
127
136
|
end
|
@@ -212,6 +221,12 @@ module CyberSource
|
|
212
221
|
@auth_type = auth_type
|
213
222
|
end
|
214
223
|
|
224
|
+
# Custom attribute writer method with validation
|
225
|
+
# @param [Object] pan_return_indicator Value to be assigned
|
226
|
+
def pan_return_indicator=(pan_return_indicator)
|
227
|
+
@pan_return_indicator = pan_return_indicator
|
228
|
+
end
|
229
|
+
|
215
230
|
# Custom attribute writer method with validation
|
216
231
|
# @param [Object] verbal_auth_code Value to be assigned
|
217
232
|
def verbal_auth_code=(verbal_auth_code)
|
@@ -236,6 +251,7 @@ module CyberSource
|
|
236
251
|
return true if self.equal?(o)
|
237
252
|
self.class == o.class &&
|
238
253
|
auth_type == o.auth_type &&
|
254
|
+
pan_return_indicator == o.pan_return_indicator &&
|
239
255
|
verbal_auth_code == o.verbal_auth_code &&
|
240
256
|
verbal_auth_transaction_id == o.verbal_auth_transaction_id &&
|
241
257
|
auth_indicator == o.auth_indicator &&
|
@@ -263,7 +279,7 @@ module CyberSource
|
|
263
279
|
# Calculates hash code according to all attributes.
|
264
280
|
# @return [Fixnum] Hash code
|
265
281
|
def hash
|
266
|
-
[auth_type, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator].hash
|
282
|
+
[auth_type, pan_return_indicator, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator].hash
|
267
283
|
end
|
268
284
|
|
269
285
|
# Builds the object from hash
|
@@ -18,17 +18,21 @@ module CyberSource
|
|
18
18
|
# Token received in original session service.
|
19
19
|
attr_accessor :pre_approval_token
|
20
20
|
|
21
|
+
attr_accessor :authorization_options
|
22
|
+
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
24
|
def self.attribute_map
|
23
25
|
{
|
24
|
-
:'pre_approval_token' => :'preApprovalToken'
|
26
|
+
:'pre_approval_token' => :'preApprovalToken',
|
27
|
+
:'authorization_options' => :'authorizationOptions'
|
25
28
|
}
|
26
29
|
end
|
27
30
|
|
28
31
|
# Attribute type mapping.
|
29
32
|
def self.swagger_types
|
30
33
|
{
|
31
|
-
:'pre_approval_token' => :'String'
|
34
|
+
:'pre_approval_token' => :'String',
|
35
|
+
:'authorization_options' => :'Ptsv2paymentsProcessorInformationAuthorizationOptions'
|
32
36
|
}
|
33
37
|
end
|
34
38
|
|
@@ -43,6 +47,10 @@ module CyberSource
|
|
43
47
|
if attributes.has_key?(:'preApprovalToken')
|
44
48
|
self.pre_approval_token = attributes[:'preApprovalToken']
|
45
49
|
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'authorizationOptions')
|
52
|
+
self.authorization_options = attributes[:'authorizationOptions']
|
53
|
+
end
|
46
54
|
end
|
47
55
|
|
48
56
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -69,7 +77,8 @@ module CyberSource
|
|
69
77
|
def ==(o)
|
70
78
|
return true if self.equal?(o)
|
71
79
|
self.class == o.class &&
|
72
|
-
pre_approval_token == o.pre_approval_token
|
80
|
+
pre_approval_token == o.pre_approval_token &&
|
81
|
+
authorization_options == o.authorization_options
|
73
82
|
end
|
74
83
|
|
75
84
|
# @see the `==` method
|
@@ -81,7 +90,7 @@ module CyberSource
|
|
81
90
|
# Calculates hash code according to all attributes.
|
82
91
|
# @return [Fixnum] Hash code
|
83
92
|
def hash
|
84
|
-
[pre_approval_token].hash
|
93
|
+
[pre_approval_token, authorization_options].hash
|
85
94
|
end
|
86
95
|
|
87
96
|
# Builds the object from hash
|