Class: Stripe::Account::CreateParams::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.



4125
4126
4127
4128
4129
# File 'lib/stripe/resources/account.rb', line 4125

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



4121
4122
4123
# File 'lib/stripe/resources/account.rb', line 4121

def currency
  @currency
end

#objectObject

Attribute for param field object



4119
4120
4121
# File 'lib/stripe/resources/account.rb', line 4119

def object
  @object
end

#tokenObject

Attribute for param field token



4123
4124
4125
# File 'lib/stripe/resources/account.rb', line 4123

def token
  @token
end