Class: Stripe::Account::UpdateParams::CardToken

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(object: nil, currency: nil, token: nil) ⇒ CardToken

Returns a new instance of CardToken.



2294
2295
2296
2297
2298
# File 'lib/stripe/resources/account.rb', line 2294

def initialize(object: nil, currency: nil, token: nil)
  @object = object
  @currency = currency
  @token = token
end

Instance Attribute Details

#currencyObject

Attribute for param field currency



2290
2291
2292
# File 'lib/stripe/resources/account.rb', line 2290

def currency
  @currency
end

#objectObject

Attribute for param field object



2288
2289
2290
# File 'lib/stripe/resources/account.rb', line 2288

def object
  @object
end

#tokenObject

Attribute for param field token



2292
2293
2294
# File 'lib/stripe/resources/account.rb', line 2292

def token
  @token
end