Class: Stripe::Quote::CreateParams::Line::StartsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Quote::CreateParams::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.
1014 1015 1016 1017 1018 1019 |
# File 'lib/stripe/resources/quote.rb', line 1014 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.
1006 1007 1008 |
# File 'lib/stripe/resources/quote.rb', line 1006 def discount_end @discount_end end |
#line_ends_at ⇒ Object
The timestamp the given line ends at.
1008 1009 1010 |
# File 'lib/stripe/resources/quote.rb', line 1008 def line_ends_at @line_ends_at end |
#timestamp ⇒ Object
A precise Unix timestamp.
1010 1011 1012 |
# File 'lib/stripe/resources/quote.rb', line 1010 def @timestamp end |
#type ⇒ Object
Select a way to pass in ‘starts_at`.
1012 1013 1014 |
# File 'lib/stripe/resources/quote.rb', line 1012 def type @type end |