class Ingenico::Direct::SDK::Domain::FraudResults

@attr [String] fraud_service_result

Attributes

fraud_service_result[RW]

Public Instance Methods

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

@return (Hash)

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