Class: Stripe::AccountUpdateParams::CardToken

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, discriminator, discriminator_fields, field_encodings, new, #to_h

Constructor Details

#initialize(object: nil, currency: nil, token: nil) ⇒ CardToken

Returns a new instance of CardToken.



1135
1136
1137
1138
1139
# File 'lib/stripe/params/account_update_params.rb', line 1135

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

Instance Attribute Details

#currency ⇒ Object

Attribute for param field currency



1131
1132
1133
# File 'lib/stripe/params/account_update_params.rb', line 1131

def currency
  @currency
end

#object ⇒ Object

Attribute for param field object



1129
1130
1131
# File 'lib/stripe/params/account_update_params.rb', line 1129

def object
  @object
end

#token ⇒ Object

Attribute for param field token



1133
1134
1135
# File 'lib/stripe/params/account_update_params.rb', line 1133

def token
  @token
end