class Io::Flow::V0::Models::AuthorizationActionResultAdyenV4
Attributes
result[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::CardAuthorizationActionResult::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 31001 def initialize(incoming={}) super(:type => CardAuthorizationActionResult::Types::AUTHORIZATION_ACTION_RESULT_ADYEN_V4) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:result], 'AuthorizationActionResultAdyenV4') @result = HttpClient::Preconditions.assert_class('result', HttpClient::Helper.to_object(opts.delete(:result)), Hash) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 31012 def copy(incoming={}) AuthorizationActionResultAdyenV4.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 31016 def subtype_to_hash { :result => result } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 31008 def to_json JSON.dump(to_hash) end