class Ingenico::Direct::SDK::Domain::CustomerAccountAuthentication
@attr [String] method @attr [String] utc_timestamp
Attributes
method[RW]
utc_timestamp[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Direct::SDK::DataObject#from_hash
# File lib/ingenico/direct/sdk/domain/customer_account_authentication.rb, line 24 def from_hash(hash) super @method = hash['method'] if hash.key? 'method' @utc_timestamp = hash['utcTimestamp'] if hash.key? 'utcTimestamp' end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Direct::SDK::DataObject#to_h
# File lib/ingenico/direct/sdk/domain/customer_account_authentication.rb, line 17 def to_h hash = super hash['method'] = @method unless @method.nil? hash['utcTimestamp'] = @utc_timestamp unless @utc_timestamp.nil? hash end