Class: Stripe::QuoteUpdateParams::Line::StartsAt::DiscountEnd
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::QuoteUpdateParams::Line::StartsAt::DiscountEnd
- Defined in:
- lib/stripe/params/quote_update_params.rb
Instance Attribute Summary collapse
-
#discount ⇒ Object
The ID of a specific discount.
Instance Method Summary collapse
-
#initialize(discount: nil) ⇒ DiscountEnd
constructor
A new instance of DiscountEnd.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(discount: nil) ⇒ DiscountEnd
Returns a new instance of DiscountEnd.
487 488 489 |
# File 'lib/stripe/params/quote_update_params.rb', line 487 def initialize(discount: nil) @discount = discount end |
Instance Attribute Details
#discount ⇒ Object
The ID of a specific discount.
485 486 487 |
# File 'lib/stripe/params/quote_update_params.rb', line 485 def discount @discount end |