Class: Worldline::Connect::SDK::V1::Domain::HostedMandateManagementSpecificInput
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::HostedMandateManagementSpecificInput
- Defined in:
- lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb
Instance Attribute Summary collapse
-
#locale ⇒ String
The current value of locale.
-
#return_url ⇒ String
The current value of return_url.
-
#show_result_page ⇒ true/false
The current value of show_result_page.
-
#variant ⇒ String
The current value of variant.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#locale ⇒ String
Returns the current value of locale.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb', line 16 def locale @locale end |
#return_url ⇒ String
Returns the current value of return_url.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb', line 16 def return_url @return_url end |
#show_result_page ⇒ true/false
Returns the current value of show_result_page.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb', line 16 def show_result_page @show_result_page end |
#variant ⇒ String
Returns the current value of variant.
16 17 18 |
# File 'lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb', line 16 def variant @variant 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/hosted_mandate_management_specific_input.rb', line 36 def from_hash(hash) super if hash.has_key? 'locale' @locale = hash['locale'] end if hash.has_key? 'returnUrl' @return_url = hash['returnUrl'] end if hash.has_key? 'showResultPage' @show_result_page = hash['showResultPage'] end if hash.has_key? 'variant' @variant = hash['variant'] end end |
#to_h ⇒ Hash
27 28 29 30 31 32 33 34 |
# File 'lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb', line 27 def to_h hash = super hash['locale'] = @locale unless @locale.nil? hash['returnUrl'] = @return_url unless @return_url.nil? hash['showResultPage'] = @show_result_page unless @show_result_page.nil? hash['variant'] = @variant unless @variant.nil? hash end |