class Io::Flow::V0::Models::ThreedsTwoMethod
Data that must be rendered by the 3DS Client
in order to help the issuer ACS silently identify the user. This format doesn’t decompose the ACS identify method.
Attributes
method[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::ThreedsIdentifyAction::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 70584 def initialize(incoming={}) super(:discriminator => ThreedsIdentifyAction::Types::THREEDS_TWO_METHOD) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:method], 'ThreedsTwoMethod') @method = HttpClient::Preconditions.assert_class('method', opts.delete(:method), String) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 70595 def copy(incoming={}) ThreedsTwoMethod.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 70599 def subtype_to_hash { :method => method } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 70591 def to_json JSON.dump(to_hash) end