Class: Stripe::SubscriptionScheduleUpdateParams::Phase::AddInvoiceItem::Period
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionScheduleUpdateParams::Phase::AddInvoiceItem::Period
- Defined in:
- lib/stripe/params/subscription_schedule_update_params.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
171 172 173 174 |
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 171 def initialize(end_: nil, start: nil) @end = end_ @start = start end |
Instance Attribute Details
#end ⇒ Object
End of the invoice item period.
167 168 169 |
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 167 def end @end end |
#start ⇒ Object
Start of the invoice item period.
169 170 171 |
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 169 def start @start end |