class Io::Flow::V0::Models::StripeAuthenticationData
Stripe authentication data.
Attributes
secret_key_reference[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::GatewayAuthenticationData::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 68824 def initialize(incoming={}) super(:discriminator => GatewayAuthenticationData::Types::STRIPE_AUTHENTICATION_DATA) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:secret_key_reference], 'StripeAuthenticationData') @secret_key_reference = HttpClient::Preconditions.assert_class('secret_key_reference', opts.delete(:secret_key_reference), String) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 68835 def copy(incoming={}) StripeAuthenticationData.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 68839 def subtype_to_hash { :secret_key_reference => secret_key_reference } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 68831 def to_json JSON.dump(to_hash) end