Class: Stripe::Quote::UpdateParams::Line::StartsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Quote::UpdateParams::Line::StartsAt
- Defined in:
- lib/stripe/resources/quote.rb
Defined Under Namespace
Classes: DiscountEnd, LineEndsAt
Instance Attribute Summary collapse
-
#discount_end ⇒ Object
Use the ‘end` time of a given discount.
-
#line_ends_at ⇒ Object
The timestamp the given line ends at.
-
#timestamp ⇒ Object
A precise Unix timestamp.
-
#type ⇒ Object
Select a way to pass in ‘starts_at`.
Instance Method Summary collapse
-
#initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil) ⇒ StartsAt
constructor
A new instance of StartsAt.
Methods inherited from RequestParams
Constructor Details
#initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil) ⇒ StartsAt
Returns a new instance of StartsAt.
2098 2099 2100 2101 2102 2103 |
# File 'lib/stripe/resources/quote.rb', line 2098 def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil) @discount_end = discount_end @line_ends_at = line_ends_at @timestamp = @type = type end |
Instance Attribute Details
#discount_end ⇒ Object
Use the ‘end` time of a given discount.
2090 2091 2092 |
# File 'lib/stripe/resources/quote.rb', line 2090 def discount_end @discount_end end |
#line_ends_at ⇒ Object
The timestamp the given line ends at.
2092 2093 2094 |
# File 'lib/stripe/resources/quote.rb', line 2092 def line_ends_at @line_ends_at end |
#timestamp ⇒ Object
A precise Unix timestamp.
2094 2095 2096 |
# File 'lib/stripe/resources/quote.rb', line 2094 def @timestamp end |
#type ⇒ Object
Select a way to pass in ‘starts_at`.
2096 2097 2098 |
# File 'lib/stripe/resources/quote.rb', line 2096 def type @type end |