class Ingenico::Connect::SDK::Domain::Product::MobilePaymentProductSession302SpecificInput
@attr [String] display_name
@attr [String] domain_name
@attr [String] validation_url
Attributes
display_name[RW]
domain_name[RW]
validation_url[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/product/mobile_payment_product_session302_specific_input.rb, line 31 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()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::DataObject#to_h
# File lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_input.rb, line 23 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