Class: Stripe::Subscription::CreateParams::AddInvoiceItem::Period
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Subscription::CreateParams::AddInvoiceItem::Period
- Defined in:
- lib/stripe/resources/subscription.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#end ⇒ Object
End of the invoice item period.
-
#start ⇒ Object
Start of the invoice item period.
Instance Method Summary collapse
-
#initialize(end_: nil, start: nil) ⇒ Period
constructor
A new instance of Period.
Methods inherited from RequestParams
Constructor Details
#initialize(end_: nil, start: nil) ⇒ Period
Returns a new instance of Period.
1323 1324 1325 1326 |
# File 'lib/stripe/resources/subscription.rb', line 1323 def initialize(end_: nil, start: nil) @end = end_ @start = start end |
Instance Attribute Details
#end ⇒ Object
End of the invoice item period.
1319 1320 1321 |
# File 'lib/stripe/resources/subscription.rb', line 1319 def end @end end |
#start ⇒ Object
Start of the invoice item period.
1321 1322 1323 |
# File 'lib/stripe/resources/subscription.rb', line 1321 def start @start end |