class Io::Flow::V0::Models::ThreedsIdentifyActionDetails
Information necessary to perform a 3ds Identify action inline to the user experience.
Attributes
expires_at[R]
threeds_identify_action[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 70519 def initialize(incoming={}) super(:discriminator => AuthorizationResultActionDetails::Types::THREEDS_IDENTIFY_ACTION_DETAILS) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:threeds_identify_action, :expires_at], 'ThreedsIdentifyActionDetails') @threeds_identify_action = (x = opts.delete(:threeds_identify_action); x.is_a?(::Io::Flow::V0::Models::ThreedsIdentifyAction) ? x : ::Io::Flow::V0::Models::ThreedsIdentifyAction.from_json(x)) @expires_at = HttpClient::Preconditions.assert_class('expires_at', HttpClient::Helper.to_date_time_iso8601(opts.delete(:expires_at)), DateTime) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 70531 def copy(incoming={}) ThreedsIdentifyActionDetails.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 70535 def subtype_to_hash { :threeds_identify_action => threeds_identify_action.to_hash, :expires_at => expires_at } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 70527 def to_json JSON.dump(to_hash) end