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.



3525
3526
3527
3528
3529
# File 'lib/stripe/resources/account.rb', line 3525

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



3521
3522
3523
# File 'lib/stripe/resources/account.rb', line 3521

def currency
  @currency
end

#objectObject

Attribute for param field object



3519
3520
3521
# File 'lib/stripe/resources/account.rb', line 3519

def object
  @object
end

#tokenObject

Attribute for param field token



3523
3524
3525
# File 'lib/stripe/resources/account.rb', line 3523

def token
  @token
end