class Ingenico::Connect::SDK::Domain::Product::MobilePaymentProductSession302SpecificOutput

@attr [String] session_object

Attributes

session_object[RW]

Public Instance Methods

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