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.



2108
2109
2110
# File 'lib/stripe/resources/quote.rb', line 2108

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

Instance Attribute Details

#typeObject

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



2106
2107
2108
# File 'lib/stripe/resources/quote.rb', line 2106

def type
  @type
end