Class: Stripe::Entitlements::FeatureCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Entitlements::FeatureCreateParams
- Defined in:
- lib/stripe/params/entitlements/feature_create_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#lookup_key ⇒ Object
A unique key you provide as your own system identifier.
-
#metadata ⇒ Object
Set of key-value pairs that you can attach to an object.
-
#name ⇒ Object
The feature’s name, for your own purpose, not meant to be displayable to the customer.
Instance Method Summary collapse
-
#initialize(expand: nil, lookup_key: nil, metadata: nil, name: nil) ⇒ FeatureCreateParams
constructor
A new instance of FeatureCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, lookup_key: nil, metadata: nil, name: nil) ⇒ FeatureCreateParams
Returns a new instance of FeatureCreateParams.
16 17 18 19 20 21 |
# File 'lib/stripe/params/entitlements/feature_create_params.rb', line 16 def initialize(expand: nil, lookup_key: nil, metadata: nil, name: nil) @expand = @lookup_key = lookup_key @metadata = @name = name end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
8 9 10 |
# File 'lib/stripe/params/entitlements/feature_create_params.rb', line 8 def @expand end |
#lookup_key ⇒ Object
A unique key you provide as your own system identifier. This may be up to 80 characters.
10 11 12 |
# File 'lib/stripe/params/entitlements/feature_create_params.rb', line 10 def lookup_key @lookup_key end |
#metadata ⇒ Object
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
12 13 14 |
# File 'lib/stripe/params/entitlements/feature_create_params.rb', line 12 def @metadata end |
#name ⇒ Object
The feature’s name, for your own purpose, not meant to be displayable to the customer.
14 15 16 |
# File 'lib/stripe/params/entitlements/feature_create_params.rb', line 14 def name @name end |