class Io::Flow::V0::Models::BankAccountForm
Attributes
info[R]
Public Class Methods
new(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 32134 def initialize(incoming={}) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:info], 'BankAccountForm') @info = (x = opts.delete(:info); x.is_a?(::Io::Flow::V0::Models::BankAccountInfo) ? x : ::Io::Flow::V0::Models::BankAccountInfo.from_json(x)) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 32144 def copy(incoming={}) BankAccountForm.new(to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end
to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 32148 def to_hash { :info => info.to_hash } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 32140 def to_json JSON.dump(to_hash) end