class Io::Flow::V0::Models::AdyenV3FingerprintToken
This will load a hidden script from the card issuer that gathers browser metrics to inform the authorization decision. Used to initiate Checkout.create using the ‘threeDS2DeviceFingerprint` operation.
Attributes
fingerprint_token[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::SdkAdyenV3AuthenticationToken::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 30007 def initialize(incoming={}) super(:type => SdkAdyenV3AuthenticationToken::Types::ADYEN_V3_FINGERPRINT_TOKEN) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:fingerprint_token], 'AdyenV3FingerprintToken') @fingerprint_token = HttpClient::Preconditions.assert_class('fingerprint_token', opts.delete(:fingerprint_token), String) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 30018 def copy(incoming={}) AdyenV3FingerprintToken.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end
subtype_to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 30022 def subtype_to_hash { :fingerprint_token => fingerprint_token } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 30014 def to_json JSON.dump(to_hash) end