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

#to_h

Constructor Details

#initialize(name: nil) ⇒ MarketingFeature

Returns a new instance of MarketingFeature.



149
150
151
# File 'lib/stripe/params/product_create_params.rb', line 149

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

Instance Attribute Details

#nameObject

The marketing feature name. Up to 80 characters long.



147
148
149
# File 'lib/stripe/params/product_create_params.rb', line 147

def name
  @name
end