class Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct861SpecificInput

@attr [true/false] mobile_device

Attributes

mobile_device[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/payment/redirect_payment_product861_specific_input.rb, line 23
def from_hash(hash)
  super
  if hash.has_key? 'mobileDevice'
    @mobile_device = hash['mobileDevice']
  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/payment/redirect_payment_product861_specific_input.rb, line 17
def to_h
  hash = super
  hash['mobileDevice'] = @mobile_device unless @mobile_device.nil?
  hash
end