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.



4058
4059
4060
4061
4062
# File 'lib/stripe/resources/account.rb', line 4058

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



4054
4055
4056
# File 'lib/stripe/resources/account.rb', line 4054

def currency
  @currency
end

#objectObject

Attribute for param field object



4052
4053
4054
# File 'lib/stripe/resources/account.rb', line 4052

def object
  @object
end

#tokenObject

Attribute for param field token



4056
4057
4058
# File 'lib/stripe/resources/account.rb', line 4056

def token
  @token
end