cybersource_rest_client 0.0.29 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb +15 -0
- data/lib/AuthenticationSDK/core/Authorization.rb +4 -1
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +93 -19
- data/lib/AuthenticationSDK/util/Constants.rb +78 -76
- data/lib/cybersource_rest_client.rb +19 -9
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
- data/lib/cybersource_rest_client/api/o_auth_api.rb +104 -0
- data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
- data/lib/cybersource_rest_client/api/void_api.rb +4 -4
- data/lib/cybersource_rest_client/api_client.rb +31 -8
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/access_token_response.rb +244 -0
- data/lib/cybersource_rest_client/models/add_negative_list_request.rb +1 -1
- data/lib/cybersource_rest_client/models/bad_request_error.rb +192 -0
- data/lib/cybersource_rest_client/models/create_access_token_request.rb +254 -0
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +20 -4
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +20 -4
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +10 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +11 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +13 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details.rb +270 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +242 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +1 -1
- 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_post201_response_processor_information_routing.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +6 -0
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +60 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +6 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +3 -3
- 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 +36 -38
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +15 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_auxiliary_data.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +6 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/resource_not_found_error.rb +192 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -11
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +15 -4
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +13 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/unauthorized_client_error.rb +192 -0
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
- metadata +120 -101
- data/lib/AuthenticationSDK/resource/TRRReports.json +0 -12
- data/lib/AuthenticationSDK/resource/cybs.yml +0 -31
- data/lib/AuthenticationSDK/resource/request.json +0 -54
- data/lib/AuthenticationSDK/resource/request_capture.json +0 -11
- data/lib/AuthenticationSDK/resource/testrest.p12 +0 -0
- data/lib/AuthenticationSDK/spec/Authorization_spec.rb +0 -274
- data/lib/AuthenticationSDK/spec/MerchantConfigData.rb +0 -59
- data/lib/AuthenticationSDK/spec/MerchantConfig_spec.rb +0 -116
- data/lib/AuthenticationSDK/spec/PostRequestData.json +0 -54
- data/lib/AuthenticationSDK/spec/PutRequestData.json +0 -12
- data/lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb +0 -60
- data/lib/AuthenticationSDK/spec/spec_helper.rb +0 -12
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +0 -184
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb
CHANGED
@@ -20,6 +20,9 @@ module CyberSource
|
|
20
20
|
# Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000.
|
21
21
|
attr_accessor :approval_code
|
22
22
|
|
23
|
+
# The Scheme reference data is a variable length data element up to a maximum of 56 characters. It may be sent by the acquirer in the authorisation response message, and by the terminal (unchanged) in subsequent authorisation request messages associated with the same transaction. This field is used by Streamline and HSBC UK only, at present.
|
24
|
+
attr_accessor :card_reference_data
|
25
|
+
|
23
26
|
# Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"Network Transaction Identifiers\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
|
24
27
|
attr_accessor :transaction_id
|
25
28
|
|
@@ -92,6 +95,7 @@ module CyberSource
|
|
92
95
|
{
|
93
96
|
:'auth_indicator' => :'authIndicator',
|
94
97
|
:'approval_code' => :'approvalCode',
|
98
|
+
:'card_reference_data' => :'cardReferenceData',
|
95
99
|
:'transaction_id' => :'transactionId',
|
96
100
|
:'network_transaction_id' => :'networkTransactionId',
|
97
101
|
:'provider_transaction_id' => :'providerTransactionId',
|
@@ -125,6 +129,7 @@ module CyberSource
|
|
125
129
|
{
|
126
130
|
:'auth_indicator' => :'String',
|
127
131
|
:'approval_code' => :'String',
|
132
|
+
:'card_reference_data' => :'String',
|
128
133
|
:'transaction_id' => :'String',
|
129
134
|
:'network_transaction_id' => :'String',
|
130
135
|
:'provider_transaction_id' => :'String',
|
@@ -169,6 +174,10 @@ module CyberSource
|
|
169
174
|
self.approval_code = attributes[:'approvalCode']
|
170
175
|
end
|
171
176
|
|
177
|
+
if attributes.has_key?(:'cardReferenceData')
|
178
|
+
self.card_reference_data = attributes[:'cardReferenceData']
|
179
|
+
end
|
180
|
+
|
172
181
|
if attributes.has_key?(:'transactionId')
|
173
182
|
self.transaction_id = attributes[:'transactionId']
|
174
183
|
end
|
@@ -289,6 +298,12 @@ module CyberSource
|
|
289
298
|
@auth_indicator = auth_indicator
|
290
299
|
end
|
291
300
|
|
301
|
+
# Custom attribute writer method with validation
|
302
|
+
# @param [Object] card_reference_data Value to be assigned
|
303
|
+
def card_reference_data=(card_reference_data)
|
304
|
+
@card_reference_data = card_reference_data
|
305
|
+
end
|
306
|
+
|
292
307
|
# Custom attribute writer method with validation
|
293
308
|
# @param [Object] transaction_id Value to be assigned
|
294
309
|
def transaction_id=(transaction_id)
|
@@ -386,6 +401,7 @@ module CyberSource
|
|
386
401
|
self.class == o.class &&
|
387
402
|
auth_indicator == o.auth_indicator &&
|
388
403
|
approval_code == o.approval_code &&
|
404
|
+
card_reference_data == o.card_reference_data &&
|
389
405
|
transaction_id == o.transaction_id &&
|
390
406
|
network_transaction_id == o.network_transaction_id &&
|
391
407
|
provider_transaction_id == o.provider_transaction_id &&
|
@@ -422,7 +438,7 @@ module CyberSource
|
|
422
438
|
# Calculates hash code according to all attributes.
|
423
439
|
# @return [Fixnum] Hash code
|
424
440
|
def hash
|
425
|
-
[auth_indicator, approval_code, transaction_id, network_transaction_id, provider_transaction_id, response_code, response_code_source, response_details, response_category_code, forwarded_acquirer_code, avs, card_verification, merchant_advice, electronic_verification_results, ach_verification, customer, consumer_authentication_response, system_trace_audit_number, payment_account_reference_number, transaction_integrity_code, amex_verbal_auth_reference_number, master_card_service_code, master_card_service_reply_code, master_card_authentication_type, name, routing, merchant_number].hash
|
441
|
+
[auth_indicator, approval_code, card_reference_data, transaction_id, network_transaction_id, provider_transaction_id, response_code, response_code_source, response_details, response_category_code, forwarded_acquirer_code, avs, card_verification, merchant_advice, electronic_verification_results, ach_verification, customer, consumer_authentication_response, system_trace_audit_number, payment_account_reference_number, transaction_integrity_code, amex_verbal_auth_reference_number, master_card_service_code, master_card_service_reply_code, master_card_authentication_type, name, routing, merchant_number].hash
|
426
442
|
end
|
427
443
|
|
428
444
|
# Builds the object from hash
|
@@ -14,13 +14,13 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PaymentsPost201ResponseProcessorInformationRouting
|
17
|
-
#
|
17
|
+
# PIN Debit Services: Contains the ID of the debit network to which the transaction was routed. | Code | Network | | --- | --- | | 0000 | Priority Routing or Generic File Update | | 0002 | Visa programs, Private Label and non-Visa Authorization Gateway Services | | 0003 | Interlink | | 0004 | Plus | | 0008 | Star | | 0009 | Pulse| | 0010 | Star | | 0011 | Star | | 0012 | Star (primary network ID) | | 0013 | AFFN | | 0015 | Star | | 0016 | Maestro | | 0017 | Pulse (primary network ID) | | 0018 | NYCE (primary network ID) | | 0019 | Pulse | | 0020 | Accel | | 0023 | NETS | | 0024 | CU24 | | 0025 | Alaska Option | | 0027 | NYCE | | 0028 | Shazam | | 0029 | EBT POS | FDC Nashville Global authorization service: Indicates whether the transaction was routed to a credit network, a debit network, or the STAR signature debit network. - `C`: Credit network - `D`: Debit network (without signature) - `S`: STAR signature debit network
|
18
18
|
attr_accessor :network
|
19
19
|
|
20
|
-
# Name of the network
|
20
|
+
# Name of the network to which the transaction was routed.
|
21
21
|
attr_accessor :network_name
|
22
22
|
|
23
|
-
# Indicates whether you need to obtain the cardholder's signature. Possible values: - `Y`: You need to obtain the cardholder's signature. - `N`: You do not need to obtain the cardholder's signature.
|
23
|
+
# Indicates whether you need to obtain the cardholder's signature. Possible values: - `Y`: You need to obtain the cardholder's signature. - `N`: You do not need to obtain the cardholder's signature.
|
24
24
|
attr_accessor :customer_signature_required
|
25
25
|
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -81,6 +81,12 @@ module CyberSource
|
|
81
81
|
@locality = locality
|
82
82
|
end
|
83
83
|
|
84
|
+
# Custom attribute writer method with validation
|
85
|
+
# @param [Object] country Value to be assigned
|
86
|
+
def country=(country)
|
87
|
+
@country = country
|
88
|
+
end
|
89
|
+
|
84
90
|
# Checks equality by comparing each attribute.
|
85
91
|
# @param [Object] Object to be compared
|
86
92
|
def ==(o)
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class PtsV2PayoutsPost201ResponseRecipientInformationCard
|
17
|
-
# This field shows the available balance in the prepaid account.
|
17
|
+
# This field shows the available balance in the prepaid account. Acquirers always receive the available balance in the transaction currency.
|
18
18
|
attr_accessor :balance
|
19
19
|
|
20
20
|
# This is a multicurrency-only field. It contains a 3-digit numeric code that identifies the currency used by the issuer.
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
# Value that identifies the processor/acquirer to use for the transaction. This value is supported only for **CyberSource through VisaNet**. Contact CyberSource Customer Support to get the value for this field.
|
21
21
|
attr_accessor :processor_id
|
22
22
|
|
23
|
-
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token.
|
23
|
+
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `013`: Cybersource P2PE Decryption - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `027`: Click to Pay.
|
24
24
|
attr_accessor :payment_solution
|
25
25
|
|
26
26
|
# Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22).
|
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
|
18
18
|
attr_accessor :code
|
19
19
|
|
20
|
-
# Identifier that you assign to the transaction. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier.
|
20
|
+
# Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests.
|
21
21
|
attr_accessor :transaction_id
|
22
22
|
|
23
23
|
# Comments
|
data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb
CHANGED
@@ -49,6 +49,12 @@ module CyberSource
|
|
49
49
|
# Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
50
50
|
attr_accessor :authentication_type
|
51
51
|
|
52
|
+
# JWT returned by the 3D Secure provider when the authentication is complete. Required for Hybrid integration if you use the Cybersource-generated access token. Note: Max. length of this field is 2048 characters.
|
53
|
+
attr_accessor :response_access_token
|
54
|
+
|
55
|
+
# Unique transaction identifier assigned by the ACS to identify a single transaction. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
|
56
|
+
attr_accessor :acs_transaction_id
|
57
|
+
|
52
58
|
# An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
|
53
59
|
attr_accessor :acs_window_size
|
54
60
|
|
@@ -61,7 +67,7 @@ module CyberSource
|
|
61
67
|
# Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
|
62
68
|
attr_accessor :alternate_authentication_method
|
63
69
|
|
64
|
-
# The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider.
|
70
|
+
# The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS
|
65
71
|
attr_accessor :authentication_date
|
66
72
|
|
67
73
|
# Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
|
@@ -112,6 +118,9 @@ module CyberSource
|
|
112
118
|
# Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
|
113
119
|
attr_accessor :message_category
|
114
120
|
|
121
|
+
# The global score calculated by the CB scoring platform and returned to merchants. Possible values: - '00' - '99' When you request the payer authentication and authorization services separately, get the value for this field from the pa_network_score reply field. This field is supported only for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
|
122
|
+
attr_accessor :network_score
|
123
|
+
|
115
124
|
# Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
|
116
125
|
attr_accessor :npa_code
|
117
126
|
|
@@ -136,6 +145,9 @@ module CyberSource
|
|
136
145
|
# Specifies the product code, which designates the type of transaction. Specify one of the following values for this field: - AIR: Airline purchase Important Required for American Express SafeKey (U.S.). - `ACC`: Accommodation Rental - `ACF`: Account funding - `CHA`: Check acceptance - `DIG`: Digital Goods - `DSP`: Cash Dispensing - `GAS`: Fuel - `GEN`: General Retail - `LUX`: Luxury Retail - `PAL`: Prepaid activation and load - `PHY`: Goods or services purchase - `QCT`: Quasi-cash transaction - `REN`: Car Rental - `RES`: Restaurant - `SVC`: Services - `TBD`: Other - `TRA`: Travel **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
|
137
146
|
attr_accessor :product_code
|
138
147
|
|
148
|
+
# The URL of the merchant’s return page. CyberSource adds this return URL to the step-up JWT and returns it in the response of the Payer Authentication enrollment call. The merchant's return URL page serves as a listening URL. Once the bank session completes, the merchant receives a POST to their URL. This response contains the completed bank session’s transactionId. The merchant’s return page should capture the transaction ID and send it in the Payer Authentication validation call.
|
149
|
+
attr_accessor :return_url
|
150
|
+
|
139
151
|
# Cardinal's directory server assigned 3DS Requestor ID value
|
140
152
|
attr_accessor :requestor_id
|
141
153
|
|
@@ -184,6 +196,8 @@ module CyberSource
|
|
184
196
|
:'directory_server_transaction_id' => :'directoryServerTransactionId',
|
185
197
|
:'pa_specification_version' => :'paSpecificationVersion',
|
186
198
|
:'authentication_type' => :'authenticationType',
|
199
|
+
:'response_access_token' => :'responseAccessToken',
|
200
|
+
:'acs_transaction_id' => :'acsTransactionId',
|
187
201
|
:'acs_window_size' => :'acsWindowSize',
|
188
202
|
:'alternate_authentication_data' => :'alternateAuthenticationData',
|
189
203
|
:'alternate_authentication_date' => :'alternateAuthenticationDate',
|
@@ -205,6 +219,7 @@ module CyberSource
|
|
205
219
|
:'mcc' => :'mcc',
|
206
220
|
:'merchant_score' => :'merchantScore',
|
207
221
|
:'message_category' => :'messageCategory',
|
222
|
+
:'network_score' => :'networkScore',
|
208
223
|
:'npa_code' => :'npaCode',
|
209
224
|
:'override_payment_method' => :'overridePaymentMethod',
|
210
225
|
:'override_country_code' => :'overrideCountryCode',
|
@@ -213,6 +228,7 @@ module CyberSource
|
|
213
228
|
:'prior_authentication_reference_id' => :'priorAuthenticationReferenceId',
|
214
229
|
:'prior_authentication_time' => :'priorAuthenticationTime',
|
215
230
|
:'product_code' => :'productCode',
|
231
|
+
:'return_url' => :'returnUrl',
|
216
232
|
:'requestor_id' => :'requestorId',
|
217
233
|
:'requestor_initiated_authentication_indicator' => :'requestorInitiatedAuthenticationIndicator',
|
218
234
|
:'requestor_name' => :'requestorName',
|
@@ -242,6 +258,8 @@ module CyberSource
|
|
242
258
|
:'directory_server_transaction_id' => :'String',
|
243
259
|
:'pa_specification_version' => :'String',
|
244
260
|
:'authentication_type' => :'String',
|
261
|
+
:'response_access_token' => :'String',
|
262
|
+
:'acs_transaction_id' => :'String',
|
245
263
|
:'acs_window_size' => :'String',
|
246
264
|
:'alternate_authentication_data' => :'String',
|
247
265
|
:'alternate_authentication_date' => :'String',
|
@@ -263,6 +281,7 @@ module CyberSource
|
|
263
281
|
:'mcc' => :'String',
|
264
282
|
:'merchant_score' => :'Integer',
|
265
283
|
:'message_category' => :'String',
|
284
|
+
:'network_score' => :'String',
|
266
285
|
:'npa_code' => :'String',
|
267
286
|
:'override_payment_method' => :'String',
|
268
287
|
:'override_country_code' => :'String',
|
@@ -271,6 +290,7 @@ module CyberSource
|
|
271
290
|
:'prior_authentication_reference_id' => :'String',
|
272
291
|
:'prior_authentication_time' => :'String',
|
273
292
|
:'product_code' => :'String',
|
293
|
+
:'return_url' => :'String',
|
274
294
|
:'requestor_id' => :'String',
|
275
295
|
:'requestor_initiated_authentication_indicator' => :'String',
|
276
296
|
:'requestor_name' => :'String',
|
@@ -341,6 +361,14 @@ module CyberSource
|
|
341
361
|
self.authentication_type = attributes[:'authenticationType']
|
342
362
|
end
|
343
363
|
|
364
|
+
if attributes.has_key?(:'responseAccessToken')
|
365
|
+
self.response_access_token = attributes[:'responseAccessToken']
|
366
|
+
end
|
367
|
+
|
368
|
+
if attributes.has_key?(:'acsTransactionId')
|
369
|
+
self.acs_transaction_id = attributes[:'acsTransactionId']
|
370
|
+
end
|
371
|
+
|
344
372
|
if attributes.has_key?(:'acsWindowSize')
|
345
373
|
self.acs_window_size = attributes[:'acsWindowSize']
|
346
374
|
end
|
@@ -425,6 +453,10 @@ module CyberSource
|
|
425
453
|
self.message_category = attributes[:'messageCategory']
|
426
454
|
end
|
427
455
|
|
456
|
+
if attributes.has_key?(:'networkScore')
|
457
|
+
self.network_score = attributes[:'networkScore']
|
458
|
+
end
|
459
|
+
|
428
460
|
if attributes.has_key?(:'npaCode')
|
429
461
|
self.npa_code = attributes[:'npaCode']
|
430
462
|
end
|
@@ -457,6 +489,10 @@ module CyberSource
|
|
457
489
|
self.product_code = attributes[:'productCode']
|
458
490
|
end
|
459
491
|
|
492
|
+
if attributes.has_key?(:'returnUrl')
|
493
|
+
self.return_url = attributes[:'returnUrl']
|
494
|
+
end
|
495
|
+
|
460
496
|
if attributes.has_key?(:'requestorId')
|
461
497
|
self.requestor_id = attributes[:'requestorId']
|
462
498
|
end
|
@@ -581,6 +617,12 @@ module CyberSource
|
|
581
617
|
@authentication_type = authentication_type
|
582
618
|
end
|
583
619
|
|
620
|
+
# Custom attribute writer method with validation
|
621
|
+
# @param [Object] acs_transaction_id Value to be assigned
|
622
|
+
def acs_transaction_id=(acs_transaction_id)
|
623
|
+
@acs_transaction_id = acs_transaction_id
|
624
|
+
end
|
625
|
+
|
584
626
|
# Custom attribute writer method with validation
|
585
627
|
# @param [Object] acs_window_size Value to be assigned
|
586
628
|
def acs_window_size=(acs_window_size)
|
@@ -665,6 +707,12 @@ module CyberSource
|
|
665
707
|
@mcc = mcc
|
666
708
|
end
|
667
709
|
|
710
|
+
# Custom attribute writer method with validation
|
711
|
+
# @param [Object] network_score Value to be assigned
|
712
|
+
def network_score=(network_score)
|
713
|
+
@network_score = network_score
|
714
|
+
end
|
715
|
+
|
668
716
|
# Custom attribute writer method with validation
|
669
717
|
# @param [Object] npa_code Value to be assigned
|
670
718
|
def npa_code=(npa_code)
|
@@ -707,6 +755,12 @@ module CyberSource
|
|
707
755
|
@product_code = product_code
|
708
756
|
end
|
709
757
|
|
758
|
+
# Custom attribute writer method with validation
|
759
|
+
# @param [Object] return_url Value to be assigned
|
760
|
+
def return_url=(return_url)
|
761
|
+
@return_url = return_url
|
762
|
+
end
|
763
|
+
|
710
764
|
# Custom attribute writer method with validation
|
711
765
|
# @param [Object] requestor_id Value to be assigned
|
712
766
|
def requestor_id=(requestor_id)
|
@@ -778,6 +832,8 @@ module CyberSource
|
|
778
832
|
directory_server_transaction_id == o.directory_server_transaction_id &&
|
779
833
|
pa_specification_version == o.pa_specification_version &&
|
780
834
|
authentication_type == o.authentication_type &&
|
835
|
+
response_access_token == o.response_access_token &&
|
836
|
+
acs_transaction_id == o.acs_transaction_id &&
|
781
837
|
acs_window_size == o.acs_window_size &&
|
782
838
|
alternate_authentication_data == o.alternate_authentication_data &&
|
783
839
|
alternate_authentication_date == o.alternate_authentication_date &&
|
@@ -799,6 +855,7 @@ module CyberSource
|
|
799
855
|
mcc == o.mcc &&
|
800
856
|
merchant_score == o.merchant_score &&
|
801
857
|
message_category == o.message_category &&
|
858
|
+
network_score == o.network_score &&
|
802
859
|
npa_code == o.npa_code &&
|
803
860
|
override_payment_method == o.override_payment_method &&
|
804
861
|
override_country_code == o.override_country_code &&
|
@@ -807,6 +864,7 @@ module CyberSource
|
|
807
864
|
prior_authentication_reference_id == o.prior_authentication_reference_id &&
|
808
865
|
prior_authentication_time == o.prior_authentication_time &&
|
809
866
|
product_code == o.product_code &&
|
867
|
+
return_url == o.return_url &&
|
810
868
|
requestor_id == o.requestor_id &&
|
811
869
|
requestor_initiated_authentication_indicator == o.requestor_initiated_authentication_indicator &&
|
812
870
|
requestor_name == o.requestor_name &&
|
@@ -829,7 +887,7 @@ module CyberSource
|
|
829
887
|
# Calculates hash code according to all attributes.
|
830
888
|
# @return [Fixnum] Hash code
|
831
889
|
def hash
|
832
|
-
[cavv, cavv_algorithm, eci_raw, pares_status, veres_enrolled, xid, ucaf_collection_indicator, ucaf_authentication_data, strong_authentication, directory_server_transaction_id, pa_specification_version, authentication_type, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, effective_authentication_type, signed_pares_status_reason, signed_pares].hash
|
890
|
+
[cavv, cavv_algorithm, eci_raw, pares_status, veres_enrolled, xid, ucaf_collection_indicator, ucaf_authentication_data, strong_authentication, directory_server_transaction_id, pa_specification_version, authentication_type, response_access_token, acs_transaction_id, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, network_score, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, effective_authentication_type, signed_pares_status_reason, signed_pares].hash
|
833
891
|
end
|
834
892
|
|
835
893
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb
CHANGED
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# Total amount that has been spent on healthcare in a transaction. Valid Values for **Visa**: - `healthcare` - Total Amount Healthcare - `healthcare-transit` - Amount Transit - `vision` - Amount Vision/Optical - `prescription` - Amount Prescription/RX - `clinic` - Amount Clinic/Other Qualified Medical - `dental` - Amount Dental `Note:` - Prescription, Clinic and dental amounts must be preceded with the total healthcare amount and cannot occur individually. Vision and Transit must be sent individually and cannot be combined with total healthcare amount or any other amounts. Total Healthcare amount can be sent individually. Valid Values for **MasterCard**: - `prescription` - Amount Prescription/RX - `eligible-total` - Total Amount Healthcare `Note:` - Prescription must be preceded with the total healthcare amount and cannot occur individually. Total Healthcare amount can be sent individually.
|
18
18
|
attr_accessor :amount_type
|
19
19
|
|
20
|
-
# Total Amount that has been spent on
|
20
|
+
# Total Amount that has been spent on the corresponding amountType. This is 13 byte field including sign. If the amount is positive, then it is a debit for the customer. If the amount is negative, then it is a credit for the customer.
|
21
21
|
attr_accessor :amount
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb
CHANGED
@@ -162,6 +162,12 @@ module CyberSource
|
|
162
162
|
@locality = locality
|
163
163
|
end
|
164
164
|
|
165
|
+
# Custom attribute writer method with validation
|
166
|
+
# @param [Object] country Value to be assigned
|
167
|
+
def country=(country)
|
168
|
+
@country = country
|
169
|
+
end
|
170
|
+
|
165
171
|
# Custom attribute writer method with validation
|
166
172
|
# @param [Object] postal_code Value to be assigned
|
167
173
|
def postal_code=(postal_code)
|
@@ -17,19 +17,19 @@ module CyberSource
|
|
17
17
|
# The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers. #### FDMS Nashville Required. String (19) #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
18
18
|
attr_accessor :number
|
19
19
|
|
20
|
-
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. ####
|
20
|
+
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
|
21
21
|
attr_accessor :expiration_month
|
22
22
|
|
23
|
-
# Four-digit year in which the payment card expires. Format: `YYYY`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`1900` through `3000`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (**_type_**`=039`), if there is no expiration date on the card, use `2021`. #### FDMS Nashville Required field. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. If you send in 2 digits, they must be the last 2 digits of the year. ####
|
23
|
+
# Four-digit year in which the payment card expires. Format: `YYYY`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`1900` through `3000`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (**_type_**`=039`), if there is no expiration date on the card, use `2021`. #### FDMS Nashville Required field. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. If you send in 2 digits, they must be the last 2 digits of the year. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
|
24
24
|
attr_accessor :expiration_year
|
25
25
|
|
26
|
-
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
26
|
+
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
27
27
|
attr_accessor :type
|
28
28
|
|
29
29
|
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process. #### Cielo and Comercio Latino Possible values: - CREDIT: Credit card - DEBIT: Debit card This field is required for: - Debit transactions on Cielo and Comercio Latino. - Transactions with Brazilian-issued cards on CyberSource through VisaNet. **Note** The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR0 - Position: 51 - Field: Combination Card Transaction Identifier This field is supported only for Mastercard transactions in Brazil on CyberSource through VisaNet.
|
30
30
|
attr_accessor :use_as
|
31
31
|
|
32
|
-
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process. This field is required in the following cases: - Debit transactions on Cielo and Comercio Latino. - Transactions with Brazilian-issued cards on CyberSource through VisaNet. - Applicable only for CyberSource through VisaNet (CtV).
|
32
|
+
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process. This field is required in the following cases: - Debit transactions on Cielo and Comercio Latino. - Transactions with Brazilian-issued cards on CyberSource through VisaNet. - Applicable only for CyberSource through VisaNet (CtV). **Note** Combo cards in Brazil contain credit and debit functionality in a single card. Visa systems use a credit bank identification number (BIN) for this type of card. Using the BIN to determine whether a card is debit or credit can cause transactions with these cards to be processed incorrectly. CyberSource strongly recommends that you include this field for combo card transactions. Possible values include the following. - `CHECKING`: Checking account - `CREDIT`: Credit card account - `SAVING`: Saving account - `LINE_OF_CREDIT`: Line of credit or credit portion of combo card - `PREPAID`: Prepaid card account or prepaid portion of combo card - `UNIVERSAL`: Universal account
|
33
33
|
attr_accessor :source_account_type
|
34
34
|
|
35
35
|
# Type of account that is being used when the value for the override_payment_method field is line of credit (LI) or prepaid card (PP). Possible values for line of credit: - `AGRC`: Visa Agro Custeio - `AGRE`: Visa Agro Electron - `AGRI`: Visa Agro Investimento - `AGRO`: Visa Agro Possible values for prepaid card: - `VVA`: Visa Vale Alimentacao - `VVF`: Visa Vale Flex - `VVR`: Visa Vale Refeicao This field is supported only for combo card transactions in Brazil on CyberSource through VisaNet.
|
@@ -17,13 +17,13 @@ module CyberSource
|
|
17
17
|
# The encoded or encrypted value that a payment solution returns for an authorization request. For details about the valid values for a key, see [Creating an Online Authorization](https://developer.cybersource.com/api/developer-guides/dita-payments/CreatingOnlineAuth.html)
|
18
18
|
attr_accessor :key_serial_number
|
19
19
|
|
20
|
-
# The identifier for a payment solution, which is sending the encrypted payment data for decryption. Valid values:
|
20
|
+
# The identifier for a payment solution, which is sending the encrypted payment data for decryption. Valid values: Samsung Pay: RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ= Note: For other payment solutions, the value may be specific to the terminal or device initiatinf the payment. For example, the descriptor for a Bluefin payment encryption would be a device-generated descriptor. Used by Authorization and Standalone Credits. Required for authorizations and standalone credits. Card Present processing: Format of the encrypted payment data. The value for Bluefin PCI P2PE is `Ymx1ZWZpbg==`. paymentInformation.fluidData.encoding must be \"Base64\". The value for Cybersource P2PE decryption depends on the encoding method used and identified in encoding field. If paymentInformation.fluidData.encoding is `Base64`, the value is: `RklEPUVNVi5QQVlNRU5ULkFQSQ==` If paymentInformation.fluidData.encoding is `HEX`, the value is: `4649443D454D562E5041594D454E542E41504`
|
21
21
|
attr_accessor :descriptor
|
22
22
|
|
23
|
-
# Represents the encrypted payment data BLOB. The entry for this field is dependent on the payment solution
|
23
|
+
# Represents the encrypted payment data BLOB. The entry for this field is dependent on the payment solution used by the merchant. Used by Authorization and Standalone Credits. Required for authorizations and standalone credits that use a Cybersource suppored Point-to-Point encryption method. Card Present processing This field represents the encrypted payment data generated by the payment terminal/device.
|
24
24
|
attr_accessor :value
|
25
25
|
|
26
|
-
# Encoding method used to encrypt the payment data.
|
26
|
+
# Encoding method used to encrypt the payment data. Valid values: `Base64`, `HEX`
|
27
27
|
attr_accessor :encoding
|
28
28
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -23,7 +23,7 @@ module CyberSource
|
|
23
23
|
# One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
24
24
|
attr_accessor :expiration_year
|
25
25
|
|
26
|
-
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
26
|
+
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
27
27
|
attr_accessor :type
|
28
28
|
|
29
29
|
# This field is used internally.
|
@@ -32,9 +32,6 @@ module CyberSource
|
|
32
32
|
# 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
|
33
33
|
attr_accessor :terminal_capability
|
34
34
|
|
35
|
-
# A one-digit code that identifies the capability of terminal to capture PINs. This code does not necessarily mean that a PIN was entered or is included in this message. 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.* * The values of 4 and 5 are supported only for EMV transactions. For Payouts: This field is applicable for CtV.
|
36
|
-
attr_accessor :pin_entry_capability
|
37
|
-
|
38
35
|
# Operating environment. Possible values for all card types except Mastercard: - `0`: No terminal used or unknown environment. - `1`: On merchant premises, attended. - `2`: On merchant premises, unattended. Examples: oil, kiosks, self-checkout, mobile telephone, personal digital assistant (PDA). - `3`: Off merchant premises, attended. Examples: portable POS devices at trade shows, at service calls, or in taxis. - `4`: Off merchant premises, unattended. Examples: vending machines, home computer, mobile telephone, PDA. - `5`: On premises of cardholder, unattended. - `9`: Unknown delivery mode. - `S`: Electronic delivery of product. Examples: music, software, or eTickets that are downloaded over the internet. - `T`: Physical delivery of product. Examples: music or software that is delivered by mail or by a courier. #### Possible values for Mastercard: - `2`: On merchant premises, unattended, or cardholder terminal. Examples: oil, kiosks, self-checkout, home computer, mobile telephone, personal digital assistant (PDA). Cardholder terminal is supported only for Mastercard transactions on CyberSource through VisaNet. - `4`: Off merchant premises, unattended, or cardholder terminal. Examples: vending machines, home computer, mobile telephone, PDA. Cardholder terminal is supported only for Mastercard transactions on CyberSource through VisaNet. This field is supported only for American Express Direct and CyberSource through VisaNet.
|
39
36
|
attr_accessor :operating_environment
|
40
37
|
|
@@ -86,6 +83,12 @@ module CyberSource
|
|
86
83
|
# Type of mPOS device. Possible values: - 0: Dongle - 1: Phone or tablet This optional field is supported only for Mastercard transactions on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 141 - Field: Mastercard mPOS Transaction The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
|
87
84
|
attr_accessor :is_dedicated_hardware_terminal
|
88
85
|
|
86
|
+
# This is the model name of the reader which is used to accept the payment. Possible values: - E3555 - P400 - A920
|
87
|
+
attr_accessor :terminal_model
|
88
|
+
|
89
|
+
# This is the manufacturer name of the reader which is used to accept the payment. Possible values: - PAX - Verifone - Ingenico
|
90
|
+
attr_accessor :terminal_make
|
91
|
+
|
89
92
|
# Attribute mapping from ruby-style variable name to JSON key.
|
90
93
|
def self.attribute_map
|
91
94
|
{
|
@@ -95,7 +98,6 @@ module CyberSource
|
|
95
98
|
:'cat_level' => :'catLevel',
|
96
99
|
:'entry_mode' => :'entryMode',
|
97
100
|
:'terminal_capability' => :'terminalCapability',
|
98
|
-
:'pin_entry_capability' => :'pinEntryCapability',
|
99
101
|
:'operating_environment' => :'operatingEnvironment',
|
100
102
|
:'emv' => :'emv',
|
101
103
|
:'amex_capn_data' => :'amexCapnData',
|
@@ -113,7 +115,9 @@ module CyberSource
|
|
113
115
|
:'partner_sdk_version' => :'partnerSdkVersion',
|
114
116
|
:'emv_application_identifier_and_dedicated_file_name' => :'emvApplicationIdentifierAndDedicatedFileName',
|
115
117
|
:'terminal_compliance' => :'terminalCompliance',
|
116
|
-
:'is_dedicated_hardware_terminal' => :'isDedicatedHardwareTerminal'
|
118
|
+
:'is_dedicated_hardware_terminal' => :'isDedicatedHardwareTerminal',
|
119
|
+
:'terminal_model' => :'terminalModel',
|
120
|
+
:'terminal_make' => :'terminalMake'
|
117
121
|
}
|
118
122
|
end
|
119
123
|
|
@@ -126,7 +130,6 @@ module CyberSource
|
|
126
130
|
:'cat_level' => :'Integer',
|
127
131
|
:'entry_mode' => :'String',
|
128
132
|
:'terminal_capability' => :'Integer',
|
129
|
-
:'pin_entry_capability' => :'Integer',
|
130
133
|
:'operating_environment' => :'String',
|
131
134
|
:'emv' => :'Ptsv2paymentsPointOfSaleInformationEmv',
|
132
135
|
:'amex_capn_data' => :'String',
|
@@ -144,7 +147,9 @@ module CyberSource
|
|
144
147
|
:'partner_sdk_version' => :'String',
|
145
148
|
:'emv_application_identifier_and_dedicated_file_name' => :'String',
|
146
149
|
:'terminal_compliance' => :'String',
|
147
|
-
:'is_dedicated_hardware_terminal' => :'String'
|
150
|
+
:'is_dedicated_hardware_terminal' => :'String',
|
151
|
+
:'terminal_model' => :'String',
|
152
|
+
:'terminal_make' => :'String'
|
148
153
|
}
|
149
154
|
end
|
150
155
|
|
@@ -180,10 +185,6 @@ module CyberSource
|
|
180
185
|
self.terminal_capability = attributes[:'terminalCapability']
|
181
186
|
end
|
182
187
|
|
183
|
-
if attributes.has_key?(:'pinEntryCapability')
|
184
|
-
self.pin_entry_capability = attributes[:'pinEntryCapability']
|
185
|
-
end
|
186
|
-
|
187
188
|
if attributes.has_key?(:'operatingEnvironment')
|
188
189
|
self.operating_environment = attributes[:'operatingEnvironment']
|
189
190
|
end
|
@@ -259,6 +260,14 @@ module CyberSource
|
|
259
260
|
if attributes.has_key?(:'isDedicatedHardwareTerminal')
|
260
261
|
self.is_dedicated_hardware_terminal = attributes[:'isDedicatedHardwareTerminal']
|
261
262
|
end
|
263
|
+
|
264
|
+
if attributes.has_key?(:'terminalModel')
|
265
|
+
self.terminal_model = attributes[:'terminalModel']
|
266
|
+
end
|
267
|
+
|
268
|
+
if attributes.has_key?(:'terminalMake')
|
269
|
+
self.terminal_make = attributes[:'terminalMake']
|
270
|
+
end
|
262
271
|
end
|
263
272
|
|
264
273
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -281,14 +290,6 @@ module CyberSource
|
|
281
290
|
invalid_properties.push('invalid value for "terminal_capability", must be greater than or equal to 1.')
|
282
291
|
end
|
283
292
|
|
284
|
-
if !@pin_entry_capability.nil? && @pin_entry_capability > 1
|
285
|
-
invalid_properties.push('invalid value for "pin_entry_capability", must be smaller than or equal to 1.')
|
286
|
-
end
|
287
|
-
|
288
|
-
if !@pin_entry_capability.nil? && @pin_entry_capability < 1
|
289
|
-
invalid_properties.push('invalid value for "pin_entry_capability", must be greater than or equal to 1.')
|
290
|
-
end
|
291
|
-
|
292
293
|
if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
|
293
294
|
invalid_properties.push('invalid value for "pin_block_encoding_format", must be smaller than or equal to 9.')
|
294
295
|
end
|
@@ -303,8 +304,6 @@ module CyberSource
|
|
303
304
|
return false if !@cat_level.nil? && @cat_level < 1
|
304
305
|
return false if !@terminal_capability.nil? && @terminal_capability > 5
|
305
306
|
return false if !@terminal_capability.nil? && @terminal_capability < 1
|
306
|
-
return false if !@pin_entry_capability.nil? && @pin_entry_capability > 1
|
307
|
-
return false if !@pin_entry_capability.nil? && @pin_entry_capability < 1
|
308
307
|
return false if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
|
309
308
|
true
|
310
309
|
end
|
@@ -361,20 +360,6 @@ module CyberSource
|
|
361
360
|
@terminal_capability = terminal_capability
|
362
361
|
end
|
363
362
|
|
364
|
-
# Custom attribute writer method with validation
|
365
|
-
# @param [Object] pin_entry_capability Value to be assigned
|
366
|
-
def pin_entry_capability=(pin_entry_capability)
|
367
|
-
if !pin_entry_capability.nil? && pin_entry_capability > 1
|
368
|
-
fail ArgumentError, 'invalid value for "pin_entry_capability", must be smaller than or equal to 1.'
|
369
|
-
end
|
370
|
-
|
371
|
-
if !pin_entry_capability.nil? && pin_entry_capability < 1
|
372
|
-
fail ArgumentError, 'invalid value for "pin_entry_capability", must be greater than or equal to 1.'
|
373
|
-
end
|
374
|
-
|
375
|
-
@pin_entry_capability = pin_entry_capability
|
376
|
-
end
|
377
|
-
|
378
363
|
# Custom attribute writer method with validation
|
379
364
|
# @param [Object] operating_environment Value to be assigned
|
380
365
|
def operating_environment=(operating_environment)
|
@@ -457,6 +442,18 @@ module CyberSource
|
|
457
442
|
@is_dedicated_hardware_terminal = is_dedicated_hardware_terminal
|
458
443
|
end
|
459
444
|
|
445
|
+
# Custom attribute writer method with validation
|
446
|
+
# @param [Object] terminal_model Value to be assigned
|
447
|
+
def terminal_model=(terminal_model)
|
448
|
+
@terminal_model = terminal_model
|
449
|
+
end
|
450
|
+
|
451
|
+
# Custom attribute writer method with validation
|
452
|
+
# @param [Object] terminal_make Value to be assigned
|
453
|
+
def terminal_make=(terminal_make)
|
454
|
+
@terminal_make = terminal_make
|
455
|
+
end
|
456
|
+
|
460
457
|
# Checks equality by comparing each attribute.
|
461
458
|
# @param [Object] Object to be compared
|
462
459
|
def ==(o)
|
@@ -468,7 +465,6 @@ module CyberSource
|
|
468
465
|
cat_level == o.cat_level &&
|
469
466
|
entry_mode == o.entry_mode &&
|
470
467
|
terminal_capability == o.terminal_capability &&
|
471
|
-
pin_entry_capability == o.pin_entry_capability &&
|
472
468
|
operating_environment == o.operating_environment &&
|
473
469
|
emv == o.emv &&
|
474
470
|
amex_capn_data == o.amex_capn_data &&
|
@@ -486,7 +482,9 @@ module CyberSource
|
|
486
482
|
partner_sdk_version == o.partner_sdk_version &&
|
487
483
|
emv_application_identifier_and_dedicated_file_name == o.emv_application_identifier_and_dedicated_file_name &&
|
488
484
|
terminal_compliance == o.terminal_compliance &&
|
489
|
-
is_dedicated_hardware_terminal == o.is_dedicated_hardware_terminal
|
485
|
+
is_dedicated_hardware_terminal == o.is_dedicated_hardware_terminal &&
|
486
|
+
terminal_model == o.terminal_model &&
|
487
|
+
terminal_make == o.terminal_make
|
490
488
|
end
|
491
489
|
|
492
490
|
# @see the `==` method
|
@@ -498,7 +496,7 @@ module CyberSource
|
|
498
496
|
# Calculates hash code according to all attributes.
|
499
497
|
# @return [Fixnum] Hash code
|
500
498
|
def hash
|
501
|
-
[terminal_id, terminal_serial_number, lane_number, cat_level, entry_mode, terminal_capability,
|
499
|
+
[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
|
502
500
|
end
|
503
501
|
|
504
502
|
# Builds the object from hash
|