class Io::Flow::V0::Models::AdyenNativeActionDetails
Provides details for how to acquire additional information from the customer natively in the browser for Adyen (e.g. 3DS2)
Attributes
data[R]
origin_key[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::AuthorizationResultActionDetails::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 29946 def initialize(incoming={}) super(:discriminator => AuthorizationResultActionDetails::Types::ADYEN_NATIVE_ACTION_DETAILS) opts = HttpClient::Helper.symbolize_keys(incoming) @origin_key = (x = opts.delete(:origin_key); x.nil? ? nil : HttpClient::Preconditions.assert_class('origin_key', x, String)) @data = (x = opts.delete(:data); x.nil? ? nil : (x = x; x.is_a?(::Io::Flow::V0::Models::AdyenNativeData) ? x : ::Io::Flow::V0::Models::AdyenNativeData.from_json(x))) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 29957 def copy(incoming={}) AdyenNativeActionDetails.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 29961 def subtype_to_hash { :origin_key => origin_key, :data => data.nil? ? nil : data.to_hash } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 29953 def to_json JSON.dump(to_hash) end