Class: Worldline::Connect::SDK::V1::Domain::MobilePaymentProductSession302SpecificInput
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::MobilePaymentProductSession302SpecificInput
- Defined in:
- lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb
Instance Attribute Summary collapse
-
#display_name ⇒ String
The current value of display_name.
-
#domain_name ⇒ String
The current value of domain_name.
-
#validation_url ⇒ String
The current value of validation_url.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#display_name ⇒ String
Returns the current value of display_name.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb', line 15 def display_name @display_name end |
#domain_name ⇒ String
Returns the current value of domain_name.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb', line 15 def domain_name @domain_name end |
#validation_url ⇒ String
Returns the current value of validation_url.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb', line 15 def validation_url @validation_url end |
Instance Method Details
#from_hash(hash) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb', line 32 def from_hash(hash) super if hash.has_key? 'displayName' @display_name = hash['displayName'] end if hash.has_key? 'domainName' @domain_name = hash['domainName'] end if hash.has_key? 'validationUrl' @validation_url = hash['validationUrl'] end end |
#to_h ⇒ Hash
24 25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb', line 24 def to_h hash = super hash['displayName'] = @display_name unless @display_name.nil? hash['domainName'] = @domain_name unless @domain_name.nil? hash['validationUrl'] = @validation_url unless @validation_url.nil? hash end |