Class: Stripe::SubscriptionScheduleService::UpdateParams::Phase::AddInvoiceItem::Period

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/subscription_schedule_service.rb

Defined Under Namespace

Classes: End, Start

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(end_: nil, start: nil) ⇒ Period

Returns a new instance of Period.



878
879
880
881
# File 'lib/stripe/services/subscription_schedule_service.rb', line 878

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

Instance Attribute Details

#endObject

End of the invoice item period.



874
875
876
# File 'lib/stripe/services/subscription_schedule_service.rb', line 874

def end
  @end
end

#startObject

Start of the invoice item period.



876
877
878
# File 'lib/stripe/services/subscription_schedule_service.rb', line 876

def start
  @start
end