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.
1103 1104 1105 1106 |
# File 'lib/stripe/resources/subscription.rb', line 1103 def initialize(end_: nil, start: nil) @end = end_ @start = start end |
Instance Attribute Details
#end ⇒ Object
End of the invoice item period.
1099 1100 1101 |
# File 'lib/stripe/resources/subscription.rb', line 1099 def end @end end |
#start ⇒ Object
Start of the invoice item period.
1101 1102 1103 |
# File 'lib/stripe/resources/subscription.rb', line 1101 def start @start end |