Class: Stripe::ProductFeatureService::CreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/product_feature_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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

Instance Attribute Details

#entitlement_featureObject

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

#expandObject

Specifies which fields in the response should be expanded.



40
41
42
# File 'lib/stripe/services/product_feature_service.rb', line 40

def expand
  @expand
end