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.



3948
3949
3950
3951
3952
# File 'lib/stripe/resources/account.rb', line 3948

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



3944
3945
3946
# File 'lib/stripe/resources/account.rb', line 3944

def currency
  @currency
end

#objectObject

Attribute for param field object



3942
3943
3944
# File 'lib/stripe/resources/account.rb', line 3942

def object
  @object
end

#tokenObject

Attribute for param field token



3946
3947
3948
# File 'lib/stripe/resources/account.rb', line 3946

def token
  @token
end