Class: Stripe::QuoteUpdateParams::Line::Action::AddDiscount::DiscountEnd

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/quote_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(type: nil) ⇒ DiscountEnd

Returns a new instance of DiscountEnd.



102
103
104
# File 'lib/stripe/params/quote_update_params.rb', line 102

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

Instance Attribute Details

#typeObject

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



100
101
102
# File 'lib/stripe/params/quote_update_params.rb', line 100

def type
  @type
end