Class: Stripe::SubscriptionScheduleUpdateParams::Phase::AddInvoiceItem::Period

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_schedule_update_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.



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

#endObject

End of the invoice item period.



195
196
197
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 195

def end
  @end
end

#startObject

Start of the invoice item period.



197
198
199
# File 'lib/stripe/params/subscription_schedule_update_params.rb', line 197

def start
  @start
end