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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(end_: nil, start: nil) ⇒ Period
Returns a new instance of Period.
199 200 201 202 |
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 199 def initialize(end_: nil, start: nil) @end = end_ @start = start end |
Instance Attribute Details
#end ⇒ Object
End of the invoice item period.
195 196 197 |
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 195 def end @end end |
#start ⇒ Object
Start of the invoice item period.
197 198 199 |
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 197 def start @start end |