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.



247
248
249
250
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 247

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

Instance Attribute Details

#endObject

End of the invoice item period.



243
244
245
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 243

def end
  @end
end

#startObject

Start of the invoice item period.



245
246
247
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 245

def start
  @start
end