Class: OnlinePayments::SDK::Domain::ThreeDSecureResults
- Inherits:
-
OnlinePayments::SDK::DataObject
- Object
- OnlinePayments::SDK::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 OnlinePayments::SDK::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
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 56 def from_hash(hash) super @acs_transaction_id = hash['acsTransactionId'] if hash.key? 'acsTransactionId' @applied_exemption = hash['appliedExemption'] if hash.key? 'appliedExemption' @authentication_status = hash['authenticationStatus'] if hash.key? 'authenticationStatus' @cavv = hash['cavv'] if hash.key? 'cavv' @challenge_indicator = hash['challengeIndicator'] if hash.key? 'challengeIndicator' @ds_transaction_id = hash['dsTransactionId'] if hash.key? 'dsTransactionId' @eci = hash['eci'] if hash.key? 'eci' @exemption_engine_flow = hash['exemptionEngineFlow'] if hash.key? 'exemptionEngineFlow' @flow = hash['flow'] if hash.key? 'flow' @liability = hash['liability'] if hash.key? 'liability' @scheme_eci = hash['schemeEci'] if hash.key? 'schemeEci' @version = hash['version'] if hash.key? 'version' @xid = hash['xid'] if hash.key? 'xid' end |
#to_h ⇒ Hash
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/onlinepayments/sdk/domain/three_d_secure_results.rb', line 38 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 |