Class: Stripe::QuoteService::UpdateParams::Line::StartsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::QuoteService::UpdateParams::Line::StartsAt
- Defined in:
- lib/stripe/services/quote_service.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.
1856 1857 1858 1859 1860 1861 |
# File 'lib/stripe/services/quote_service.rb', line 1856 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.
1845 1846 1847 |
# File 'lib/stripe/services/quote_service.rb', line 1845 def discount_end @discount_end end |
#line_ends_at ⇒ Object
The timestamp the given line ends at.
1848 1849 1850 |
# File 'lib/stripe/services/quote_service.rb', line 1848 def line_ends_at @line_ends_at end |
#timestamp ⇒ Object
A precise Unix timestamp.
1851 1852 1853 |
# File 'lib/stripe/services/quote_service.rb', line 1851 def @timestamp end |
#type ⇒ Object
Select a way to pass in ‘starts_at`.
1854 1855 1856 |
# File 'lib/stripe/services/quote_service.rb', line 1854 def type @type end |