class Ingenico::Connect::SDK::Domain::Payment::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] three_d_server_transaction_id
@attr [String] validation_result
@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]
three_d_server_transaction_id[RW]
@deprecated No replacement
validation_result[RW]
xid[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/external_cardholder_authentication_data.rb, line 65 def from_hash(hash) super if hash.has_key? 'acsTransactionId' @acs_transaction_id = hash['acsTransactionId'] end if hash.has_key? 'appliedExemption' @applied_exemption = hash['appliedExemption'] end if hash.has_key? 'cavv' @cavv = hash['cavv'] end if hash.has_key? 'cavvAlgorithm' @cavv_algorithm = hash['cavvAlgorithm'] end if hash.has_key? 'directoryServerTransactionId' @directory_server_transaction_id = hash['directoryServerTransactionId'] end if hash.has_key? 'eci' @eci = hash['eci'] end if hash.has_key? 'schemeRiskScore' @scheme_risk_score = hash['schemeRiskScore'] end if hash.has_key? 'threeDSecureVersion' @three_d_secure_version = hash['threeDSecureVersion'] end if hash.has_key? 'threeDServerTransactionId' @three_d_server_transaction_id = hash['threeDServerTransactionId'] end if hash.has_key? 'validationResult' @validation_result = hash['validationResult'] end if hash.has_key? 'xid' @xid = hash['xid'] 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/external_cardholder_authentication_data.rb, line 49 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['threeDServerTransactionId'] = @three_d_server_transaction_id unless @three_d_server_transaction_id.nil? hash['validationResult'] = @validation_result unless @validation_result.nil? hash['xid'] = @xid unless @xid.nil? hash end