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.



3565
3566
3567
3568
3569
# File 'lib/stripe/resources/account.rb', line 3565

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



3561
3562
3563
# File 'lib/stripe/resources/account.rb', line 3561

def currency
  @currency
end

#objectObject

Attribute for param field object



3559
3560
3561
# File 'lib/stripe/resources/account.rb', line 3559

def object
  @object
end

#tokenObject

Attribute for param field token



3563
3564
3565
# File 'lib/stripe/resources/account.rb', line 3563

def token
  @token
end