Class: Stripe::Quote::UpdateParams::Line::Action::AddDiscount::DiscountEnd

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/quote.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil) ⇒ DiscountEnd

Returns a new instance of DiscountEnd.



1675
1676
1677
# File 'lib/stripe/resources/quote.rb', line 1675

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

Instance Attribute Details

#typeObject

The type of calculation made to determine when the discount ends.



1673
1674
1675
# File 'lib/stripe/resources/quote.rb', line 1673

def type
  @type
end