Class: Stripe::ProductFeatureCreateParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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
  @expand = expand
end

Instance Attribute Details

#entitlement_featureObject

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

#expandObject

Specifies which fields in the response should be expanded.



9
10
11
# File 'lib/stripe/params/product_feature_create_params.rb', line 9

def expand
  @expand
end