Class: Stripe::ProductFeatureCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ProductFeatureCreateParams
- Defined in:
- lib/stripe/params/product_feature_create_params.rb
Instance Attribute Summary collapse
-
#entitlement_feature ⇒ Object
The ID of the [Feature](stripe.com/docs/api/entitlements/feature) object attached to this product.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(entitlement_feature: nil, expand: nil) ⇒ ProductFeatureCreateParams
constructor
A new instance of ProductFeatureCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(entitlement_feature: nil, expand: nil) ⇒ ProductFeatureCreateParams
Returns a new instance of ProductFeatureCreateParams.
11 12 13 14 |
# File 'lib/stripe/params/product_feature_create_params.rb', line 11 def initialize(entitlement_feature: nil, expand: nil) @entitlement_feature = entitlement_feature = end |
Instance Attribute Details
#entitlement_feature ⇒ Object
The ID of the [Feature](stripe.com/docs/api/entitlements/feature) object attached to this product.
7 8 9 |
# File 'lib/stripe/params/product_feature_create_params.rb', line 7 def entitlement_feature @entitlement_feature end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/product_feature_create_params.rb', line 9 def end |