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.



375
376
377
# File 'lib/stripe/resources/product.rb', line 375

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

Instance Attribute Details

#nameObject

The marketing feature name. Up to 80 characters long.



373
374
375
# File 'lib/stripe/resources/product.rb', line 373

def name
  @name
end