Class: Stripe::SubscriptionScheduleCreateParams::Phase::AddInvoiceItem::Period
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionScheduleCreateParams::Phase::AddInvoiceItem::Period
- Defined in:
- lib/stripe/params/subscription_schedule_create_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
Returns a new instance of Period.
191 192 193 194 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 191 def initialize(end_: nil, start: nil) @end = end_ @start = start end |
Instance Attribute Details
#end ⇒ Object
End of the invoice item period.
187 188 189 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 187 def end @end end |
#start ⇒ Object
Start of the invoice item period.
189 190 191 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 189 def start @start end |