Class: OnlinePayments::SDK::Domain::ThreeDSecureResults
- Inherits:
-
DataObject
- Object
- DataObject
- OnlinePayments::SDK::Domain::ThreeDSecureResults
- Defined in:
- lib/onlinepayments/sdk/domain/three_d_secure_results.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.
-
#authentication_status ⇒ String?
The current value of authentication_status.
-
#cavv ⇒ String?
The current value of cavv.
-
#challenge_indicator ⇒ String?
The current value of challenge_indicator.
-
#ds_transaction_id ⇒ String?
The current value of ds_transaction_id.
-
#eci ⇒ String?
The current value of eci.
-
#exemption_engine_flow ⇒ String?
The current value of exemption_engine_flow.
-
#flow ⇒ String?
The current value of flow.
-
#liability ⇒ String?
The current value of liability.
-
#scheme_eci ⇒ String?
The current value of scheme_eci.
-
#version ⇒ String?
The current value of version.
-
#xid ⇒ String?
The current value of xid.
Instance Method Summary collapse
Methods inherited from DataObject
Instance Attribute Details
#acs_transaction_id ⇒ String?
Returns the current value of acs_transaction_id.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def acs_transaction_id @acs_transaction_id end |
#applied_exemption ⇒ String?
Returns the current value of applied_exemption.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def applied_exemption @applied_exemption end |
#authentication_status ⇒ String?
Returns the current value of authentication_status.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def authentication_status @authentication_status end |
#cavv ⇒ String?
Returns the current value of cavv.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def cavv @cavv end |
#challenge_indicator ⇒ String?
Returns the current value of challenge_indicator.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def challenge_indicator @challenge_indicator end |
#ds_transaction_id ⇒ String?
Returns the current value of ds_transaction_id.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def ds_transaction_id @ds_transaction_id end |
#eci ⇒ String?
Returns the current value of eci.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def eci @eci end |
#exemption_engine_flow ⇒ String?
Returns the current value of exemption_engine_flow.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def exemption_engine_flow @exemption_engine_flow end |
#flow ⇒ String?
Returns the current value of flow.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def flow @flow end |
#liability ⇒ String?
Returns the current value of liability.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def liability @liability end |
#scheme_eci ⇒ String?
Returns the current value of scheme_eci.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def scheme_eci @scheme_eci end |
#version ⇒ String?
Returns the current value of version.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def version @version end |
#xid ⇒ String?
Returns the current value of xid.
22 23 24 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 22 def xid @xid end |
Instance Method Details
#from_hash(hash) ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 69 def from_hash(hash) super if hash.has_key? 'acsTransactionId' @acs_transaction_id = hash['acsTransactionId'] end if hash.has_key? 'appliedExemption' @applied_exemption = hash['appliedExemption'] end if hash.has_key? 'authenticationStatus' @authentication_status = hash['authenticationStatus'] end if hash.has_key? 'cavv' @cavv = hash['cavv'] end if hash.has_key? 'challengeIndicator' @challenge_indicator = hash['challengeIndicator'] end if hash.has_key? 'dsTransactionId' @ds_transaction_id = hash['dsTransactionId'] end if hash.has_key? 'eci' @eci = hash['eci'] end if hash.has_key? 'exemptionEngineFlow' @exemption_engine_flow = hash['exemptionEngineFlow'] end if hash.has_key? 'flow' @flow = hash['flow'] end if hash.has_key? 'liability' @liability = hash['liability'] end if hash.has_key? 'schemeEci' @scheme_eci = hash['schemeEci'] end if hash.has_key? 'version' @version = hash['version'] end if hash.has_key? 'xid' @xid = hash['xid'] end end |
#to_h ⇒ Hash
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 51 def to_h hash = super hash['acsTransactionId'] = @acs_transaction_id unless @acs_transaction_id.nil? hash['appliedExemption'] = @applied_exemption unless @applied_exemption.nil? hash['authenticationStatus'] = @authentication_status unless @authentication_status.nil? hash['cavv'] = @cavv unless @cavv.nil? hash['challengeIndicator'] = @challenge_indicator unless @challenge_indicator.nil? hash['dsTransactionId'] = @ds_transaction_id unless @ds_transaction_id.nil? hash['eci'] = @eci unless @eci.nil? hash['exemptionEngineFlow'] = @exemption_engine_flow unless @exemption_engine_flow.nil? hash['flow'] = @flow unless @flow.nil? hash['liability'] = @liability unless @liability.nil? hash['schemeEci'] = @scheme_eci unless @scheme_eci.nil? hash['version'] = @version unless @version.nil? hash['xid'] = @xid unless @xid.nil? hash end |