class Ingenico::Direct::SDK::Domain::ExternalCardholderAuthenticationData
@attr [String] acs_transaction_id
@attr [String] applied_exemption
@attr [String] cavv @attr [String] cavv_algorithm
@attr [String] directory_server_transaction_id
@attr [Integer] eci @attr [Integer] scheme_risk_score
@attr [String] three_d_secure_version
@attr [String] xid
Attributes
acs_transaction_id[RW]
applied_exemption[RW]
cavv[RW]
cavv_algorithm[RW]
directory_server_transaction_id[RW]
eci[RW]
scheme_risk_score[RW]
three_d_secure_version[RW]
xid[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/external_cardholder_authentication_data.rb, line 45 def from_hash(hash) super @acs_transaction_id = hash['acsTransactionId'] if hash.key? 'acsTransactionId' @applied_exemption = hash['appliedExemption'] if hash.key? 'appliedExemption' @cavv = hash['cavv'] if hash.key? 'cavv' @cavv_algorithm = hash['cavvAlgorithm'] if hash.key? 'cavvAlgorithm' @directory_server_transaction_id = hash['directoryServerTransactionId'] if hash.key? 'directoryServerTransactionId' @eci = hash['eci'] if hash.key? 'eci' @scheme_risk_score = hash['schemeRiskScore'] if hash.key? 'schemeRiskScore' @three_d_secure_version = hash['threeDSecureVersion'] if hash.key? 'threeDSecureVersion' @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/external_cardholder_authentication_data.rb, line 31 def to_h hash = super hash['acsTransactionId'] = @acs_transaction_id unless @acs_transaction_id.nil? hash['appliedExemption'] = @applied_exemption unless @applied_exemption.nil? hash['cavv'] = @cavv unless @cavv.nil? hash['cavvAlgorithm'] = @cavv_algorithm unless @cavv_algorithm.nil? hash['directoryServerTransactionId'] = @directory_server_transaction_id unless @directory_server_transaction_id.nil? hash['eci'] = @eci unless @eci.nil? hash['schemeRiskScore'] = @scheme_risk_score unless @scheme_risk_score.nil? hash['threeDSecureVersion'] = @three_d_secure_version unless @three_d_secure_version.nil? hash['xid'] = @xid unless @xid.nil? hash end