class Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct863SpecificInput

@attr [String] integration_type @attr [String] open_id

Attributes

integration_type[RW]
open_id[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/payment/redirect_payment_product863_specific_input.rb, line 27
def from_hash(hash)
  super
  if hash.has_key? 'integrationType'
    @integration_type = hash['integrationType']
  end
  if hash.has_key? 'openId'
    @open_id = hash['openId']
  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_product863_specific_input.rb, line 20
def to_h
  hash = super
  hash['integrationType'] = @integration_type unless @integration_type.nil?
  hash['openId'] = @open_id unless @open_id.nil?
  hash
end