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.



426
427
428
# File 'lib/stripe/resources/product.rb', line 426

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

Instance Attribute Details

#nameObject

The marketing feature name. Up to 80 characters long.



424
425
426
# File 'lib/stripe/resources/product.rb', line 424

def name
  @name
end