Class: Stripe::SubscriptionSchedule::CreateParams::Phase::AddInvoiceItem::Period

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



969
970
971
972
# File 'lib/stripe/resources/subscription_schedule.rb', line 969

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

Instance Attribute Details

#endObject

End of the invoice item period.



965
966
967
# File 'lib/stripe/resources/subscription_schedule.rb', line 965

def end
  @end
end

#startObject

Start of the invoice item period.



967
968
969
# File 'lib/stripe/resources/subscription_schedule.rb', line 967

def start
  @start
end