Class: Stripe::ProductFeatureService::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ProductFeatureService::CreateParams
- Defined in:
- lib/stripe/services/product_feature_service.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) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(entitlement_feature: nil, expand: nil) ⇒ CreateParams
Returns a new instance of CreateParams.
42 43 44 45 |
# File 'lib/stripe/services/product_feature_service.rb', line 42 def initialize(entitlement_feature: nil, expand: nil) @entitlement_feature = entitlement_feature @expand = end |
Instance Attribute Details
#entitlement_feature ⇒ Object
The ID of the [Feature](stripe.com/docs/api/entitlements/feature) object attached to this product.
38 39 40 |
# File 'lib/stripe/services/product_feature_service.rb', line 38 def entitlement_feature @entitlement_feature end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
40 41 42 |
# File 'lib/stripe/services/product_feature_service.rb', line 40 def @expand end |