Class: Stripe::SubscriptionScheduleCreateParams::Phase::AddInvoiceItem::Period

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_schedule_create_params.rb

Defined Under Namespace

Classes: End, Start

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



219
220
221
222
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 219

def initialize(end_: nil, start: nil)
  @end = end_
  @start = start
end

Instance Attribute Details

#endObject

End of the invoice item period.



215
216
217
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 215

def end
  @end
end

#startObject

Start of the invoice item period.



217
218
219
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 217

def start
  @start
end