Class: Stripe::InvoiceItemUpdateParams::Period

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/invoice_item_update_params.rb

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.



55
56
57
58
# File 'lib/stripe/params/invoice_item_update_params.rb', line 55

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

Instance Attribute Details

#endObject

The end of the period, which must be greater than or equal to the start. This value is inclusive.



51
52
53
# File 'lib/stripe/params/invoice_item_update_params.rb', line 51

def end
  @end
end

#startObject

The start of the period. This value is inclusive.



53
54
55
# File 'lib/stripe/params/invoice_item_update_params.rb', line 53

def start
  @start
end