class Io::Flow::V0::Models::AdyenIdentifyShopperData

Data required to assist in identifying a customer natively.

Attributes

fingerprint_token[R]

Public Class Methods

new(incoming={}) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 29917
def initialize(incoming={})
  super(:discriminator => AdyenNativeData::Types::ADYEN_IDENTIFY_SHOPPER_DATA)
  opts = HttpClient::Helper.symbolize_keys(incoming)
  HttpClient::Preconditions.require_keys(opts, [:fingerprint_token], 'AdyenIdentifyShopperData')
  @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 29928
def copy(incoming={})
  AdyenIdentifyShopperData.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 29932
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 29924
def to_json
  JSON.dump(to_hash)
end