class Ingenico::Connect::SDK::Domain::Hostedmandatemanagement::HostedMandateManagementSpecificInput
@attr [String] locale @attr [String] return_url
@attr [true/false] show_result_page
@attr [String] variant
Attributes
locale[RW]
return_url[RW]
show_result_page[RW]
variant[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::DataObject#from_hash
# File lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_management_specific_input.rb, line 35 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()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::DataObject#to_h
# File lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_management_specific_input.rb, line 26 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