Class: Stripe::ProductCreateParams::MarketingFeature

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/product_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(name: nil) ⇒ MarketingFeature

Returns a new instance of MarketingFeature.



176
177
178
# File 'lib/stripe/params/product_create_params.rb', line 176

def initialize(name: nil)
  @name = name
end

Instance Attribute Details

#nameObject

The marketing feature name. Up to 80 characters long.



174
175
176
# File 'lib/stripe/params/product_create_params.rb', line 174

def name
  @name
end