Class: Worldline::Connect::SDK::V1::Domain::MobileThreeDSecureChallengeParameters
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::MobileThreeDSecureChallengeParameters
- Defined in:
- lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb
Instance Attribute Summary collapse
-
#acs_reference_number ⇒ String
The current value of acs_reference_number.
-
#acs_signed_content ⇒ String
The current value of acs_signed_content.
-
#acs_transaction_id ⇒ String
The current value of acs_transaction_id.
-
#three_d_server_transaction_id ⇒ String
The current value of three_d_server_transaction_id.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#acs_reference_number ⇒ String
Returns the current value of acs_reference_number.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb', line 16 def acs_reference_number @acs_reference_number end |
#acs_signed_content ⇒ String
Returns the current value of acs_signed_content.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb', line 16 def acs_signed_content @acs_signed_content end |
#acs_transaction_id ⇒ String
Returns the current value of acs_transaction_id.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb', line 16 def acs_transaction_id @acs_transaction_id end |
#three_d_server_transaction_id ⇒ String
Returns the current value of three_d_server_transaction_id.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb', line 16 def three_d_server_transaction_id @three_d_server_transaction_id end |
Instance Method Details
#from_hash(hash) ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb', line 36 def from_hash(hash) super if hash.has_key? 'acsReferenceNumber' @acs_reference_number = hash['acsReferenceNumber'] end if hash.has_key? 'acsSignedContent' @acs_signed_content = hash['acsSignedContent'] end if hash.has_key? 'acsTransactionId' @acs_transaction_id = hash['acsTransactionId'] end if hash.has_key? 'threeDServerTransactionId' @three_d_server_transaction_id = hash['threeDServerTransactionId'] end end |
#to_h ⇒ Hash
27 28 29 30 31 32 33 34 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb', line 27 def to_h hash = super hash['acsReferenceNumber'] = @acs_reference_number unless @acs_reference_number.nil? hash['acsSignedContent'] = @acs_signed_content unless @acs_signed_content.nil? hash['acsTransactionId'] = @acs_transaction_id unless @acs_transaction_id.nil? hash['threeDServerTransactionId'] = @three_d_server_transaction_id unless @three_d_server_transaction_id.nil? hash end |