Class: Ingenico::Direct::SDK::Domain::ExternalCardholderAuthenticationData
- Inherits:
-
Ingenico::Direct::SDK::DataObject
- Object
- Ingenico::Direct::SDK::DataObject
- Ingenico::Direct::SDK::Domain::ExternalCardholderAuthenticationData
- Defined in:
- lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb
Instance Attribute Summary collapse
-
#acs_transaction_id ⇒ String
The current value of acs_transaction_id.
-
#applied_exemption ⇒ String
The current value of applied_exemption.
-
#cavv ⇒ String
The current value of cavv.
-
#cavv_algorithm ⇒ String
The current value of cavv_algorithm.
-
#directory_server_transaction_id ⇒ String
The current value of directory_server_transaction_id.
-
#eci ⇒ Integer
The current value of eci.
-
#scheme_risk_score ⇒ Integer
The current value of scheme_risk_score.
-
#three_d_secure_version ⇒ String
The current value of three_d_secure_version.
-
#xid ⇒ String
The current value of xid.
Instance Method Summary collapse
Methods inherited from Ingenico::Direct::SDK::DataObject
Instance Attribute Details
#acs_transaction_id ⇒ String
Returns the current value of acs_transaction_id.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def acs_transaction_id @acs_transaction_id end |
#applied_exemption ⇒ String
Returns the current value of applied_exemption.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def applied_exemption @applied_exemption end |
#cavv ⇒ String
Returns the current value of cavv.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def cavv @cavv end |
#cavv_algorithm ⇒ String
Returns the current value of cavv_algorithm.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def cavv_algorithm @cavv_algorithm end |
#directory_server_transaction_id ⇒ String
Returns the current value of directory_server_transaction_id.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def directory_server_transaction_id @directory_server_transaction_id end |
#eci ⇒ Integer
Returns the current value of eci.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def eci @eci end |
#scheme_risk_score ⇒ Integer
Returns the current value of scheme_risk_score.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def scheme_risk_score @scheme_risk_score end |
#three_d_secure_version ⇒ String
Returns the current value of three_d_secure_version.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def three_d_secure_version @three_d_secure_version end |
#xid ⇒ String
Returns the current value of xid.
19 20 21 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 19 def xid @xid end |
Instance Method Details
#from_hash(hash) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 45 def from_hash(hash) super @acs_transaction_id = hash['acsTransactionId'] if hash.key? 'acsTransactionId' @applied_exemption = hash['appliedExemption'] if hash.key? 'appliedExemption' @cavv = hash['cavv'] if hash.key? 'cavv' @cavv_algorithm = hash['cavvAlgorithm'] if hash.key? 'cavvAlgorithm' @directory_server_transaction_id = hash['directoryServerTransactionId'] if hash.key? 'directoryServerTransactionId' @eci = hash['eci'] if hash.key? 'eci' @scheme_risk_score = hash['schemeRiskScore'] if hash.key? 'schemeRiskScore' @three_d_secure_version = hash['threeDSecureVersion'] if hash.key? 'threeDSecureVersion' @xid = hash['xid'] if hash.key? 'xid' end |
#to_h ⇒ Hash
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/ingenico/direct/sdk/domain/external_cardholder_authentication_data.rb', line 31 def to_h hash = super hash['acsTransactionId'] = @acs_transaction_id unless @acs_transaction_id.nil? hash['appliedExemption'] = @applied_exemption unless @applied_exemption.nil? hash['cavv'] = @cavv unless @cavv.nil? hash['cavvAlgorithm'] = @cavv_algorithm unless @cavv_algorithm.nil? hash['directoryServerTransactionId'] = @directory_server_transaction_id unless @directory_server_transaction_id.nil? hash['eci'] = @eci unless @eci.nil? hash['schemeRiskScore'] = @scheme_risk_score unless @scheme_risk_score.nil? hash['threeDSecureVersion'] = @three_d_secure_version unless @three_d_secure_version.nil? hash['xid'] = @xid unless @xid.nil? hash end |