class Ingenico::Direct::SDK::Domain::ThreeDSecureResults

@attr [String] eci @attr [String] xid

Attributes

eci[RW]
xid[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/direct/sdk/domain/three_d_secure_results.rb, line 24
def from_hash(hash)
  super
  @eci = hash['eci'] if hash.key? 'eci'
  @xid = hash['xid'] if hash.key? 'xid'
end
to_h() click to toggle source

@return (Hash)

Calls superclass method Ingenico::Direct::SDK::DataObject#to_h
# File lib/ingenico/direct/sdk/domain/three_d_secure_results.rb, line 17
def to_h
  hash = super
  hash['eci'] = @eci unless @eci.nil?
  hash['xid'] = @xid unless @xid.nil?
  hash
end