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.



2033
2034
2035
2036
2037
# File 'lib/stripe/resources/account.rb', line 2033

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



2028
2029
2030
# File 'lib/stripe/resources/account.rb', line 2028

def currency
  @currency
end

#objectObject

Attribute for param field object



2025
2026
2027
# File 'lib/stripe/resources/account.rb', line 2025

def object
  @object
end

#tokenObject

Attribute for param field token



2031
2032
2033
# File 'lib/stripe/resources/account.rb', line 2031

def token
  @token
end