Class: Worldline::Acquiring::SDK::V1::Domain::ThreeDSecure
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Acquiring::SDK::V1::Domain::ThreeDSecure
- Defined in:
- lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb
Instance Attribute Summary collapse
-
#authentication_value ⇒ String
The current value of authentication_value.
-
#directory_server_transaction_id ⇒ String
The current value of directory_server_transaction_id.
-
#eci ⇒ String
The current value of eci.
-
#three_d_secure_type ⇒ String
The current value of three_d_secure_type.
-
#version ⇒ String
The current value of version.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#authentication_value ⇒ String
Returns the current value of authentication_value.
16 17 18 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 16 def authentication_value @authentication_value end |
#directory_server_transaction_id ⇒ String
Returns the current value of directory_server_transaction_id.
16 17 18 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 16 def directory_server_transaction_id @directory_server_transaction_id end |
#eci ⇒ String
Returns the current value of eci.
16 17 18 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 16 def eci @eci end |
#three_d_secure_type ⇒ String
Returns the current value of three_d_secure_type.
16 17 18 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 16 def three_d_secure_type @three_d_secure_type end |
#version ⇒ String
Returns the current value of version.
16 17 18 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 16 def version @version end |
Instance Method Details
#from_hash(hash) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 39 def from_hash(hash) super if hash.has_key? 'authenticationValue' @authentication_value = hash['authenticationValue'] end if hash.has_key? 'directoryServerTransactionId' @directory_server_transaction_id = hash['directoryServerTransactionId'] end if hash.has_key? 'eci' @eci = hash['eci'] end if hash.has_key? 'threeDSecureType' @three_d_secure_type = hash['threeDSecureType'] end if hash.has_key? 'version' @version = hash['version'] end end |
#to_h ⇒ Hash
29 30 31 32 33 34 35 36 37 |
# File 'lib/worldline/acquiring/sdk/v1/domain/three_d_secure.rb', line 29 def to_h hash = super hash['authenticationValue'] = @authentication_value unless @authentication_value.nil? hash['directoryServerTransactionId'] = @directory_server_transaction_id unless @directory_server_transaction_id.nil? hash['eci'] = @eci unless @eci.nil? hash['threeDSecureType'] = @three_d_secure_type unless @three_d_secure_type.nil? hash['version'] = @version unless @version.nil? hash end |