class Ingenico::Connect::SDK::Domain::Payment::DeviceFingerprintDetails
@attr [String] payment_id
@attr [String] raw_device_fingerprint_output
Attributes
payment_id[RW]
raw_device_fingerprint_output[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::DataObject#from_hash
# File lib/ingenico/connect/sdk/domain/payment/device_fingerprint_details.rb, line 27 def from_hash(hash) super if hash.has_key? 'paymentId' @payment_id = hash['paymentId'] end if hash.has_key? 'rawDeviceFingerprintOutput' @raw_device_fingerprint_output = hash['rawDeviceFingerprintOutput'] 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/device_fingerprint_details.rb, line 20 def to_h hash = super hash['paymentId'] = @payment_id unless @payment_id.nil? hash['rawDeviceFingerprintOutput'] = @raw_device_fingerprint_output unless @raw_device_fingerprint_output.nil? hash end