Class: Stripe::AccountCreateParams::CardToken
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountCreateParams::CardToken
- Defined in:
- lib/stripe/params/account_create_params.rb
Instance Attribute Summary collapse
-
#currency ⇒ Object
Attribute for param field currency.
-
#object ⇒ Object
Attribute for param field object.
-
#token ⇒ Object
Attribute for param field token.
Instance Method Summary collapse
-
#initialize(object: nil, currency: nil, token: nil) ⇒ CardToken
constructor
A new instance of CardToken.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(object: nil, currency: nil, token: nil) ⇒ CardToken
Returns a new instance of CardToken.
1040 1041 1042 1043 1044 |
# File 'lib/stripe/params/account_create_params.rb', line 1040 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
1036 1037 1038 |
# File 'lib/stripe/params/account_create_params.rb', line 1036 def currency @currency end |
#object ⇒ Object
Attribute for param field object
1034 1035 1036 |
# File 'lib/stripe/params/account_create_params.rb', line 1034 def object @object end |
#token ⇒ Object
Attribute for param field token
1038 1039 1040 |
# File 'lib/stripe/params/account_create_params.rb', line 1038 def token @token end |