Class: Stripe::Product::CreateParams::MarketingFeature

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/product.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.



366
367
368
# File 'lib/stripe/resources/product.rb', line 366

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

Instance Attribute Details

#nameObject

The marketing feature name. Up to 80 characters long.



364
365
366
# File 'lib/stripe/resources/product.rb', line 364

def name
  @name
end