@@ -18,21 +18,21 @@ module Orb
1818 sig { returns ( Orb ::CreditNoteCreateParams ::Reason ::OrSymbol ) }
1919 attr_accessor :reason
2020
21- # An optional date string to specify the global credit note service period end
22- # date in the customer's timezone. This will be applied to all line items. If not
23- # provided, line items will use their original invoice line item service periods.
24- # This date is inclusive.
21+ # A date string to specify the global credit note service period end date in the
22+ # customer's timezone. This will be applied to all line items that don't have
23+ # their own individual service periods specified. If not provided, line items will
24+ # use their original invoice line item service periods. This date is inclusive.
2525 sig { returns ( T . nilable ( Date ) ) }
2626 attr_accessor :end_date
2727
2828 # An optional memo to attach to the credit note.
2929 sig { returns ( T . nilable ( String ) ) }
3030 attr_accessor :memo
3131
32- # An optional date string to specify the global credit note service period end
33- # date in the customer's timezone. This will be applied to all line items. If not
34- # provided, line items will use their original invoice line item service periods.
35- # This date is inclusive.
32+ # A date string to specify the global credit note service period start date in the
33+ # customer's timezone. This will be applied to all line items that don't have
34+ # their own individual service periods specified. If not provided, line items will
35+ # use their original invoice line item service periods. This date is inclusive.
3636 sig { returns ( T . nilable ( Date ) ) }
3737 attr_accessor :start_date
3838
@@ -50,17 +50,17 @@ module Orb
5050 line_items :,
5151 # An optional reason for the credit note.
5252 reason :,
53- # An optional date string to specify the global credit note service period end
54- # date in the customer's timezone. This will be applied to all line items. If not
55- # provided, line items will use their original invoice line item service periods.
56- # This date is inclusive.
53+ # A date string to specify the global credit note service period end date in the
54+ # customer's timezone. This will be applied to all line items that don't have
55+ # their own individual service periods specified. If not provided, line items will
56+ # use their original invoice line item service periods. This date is inclusive.
5757 end_date : nil ,
5858 # An optional memo to attach to the credit note.
5959 memo : nil ,
60- # An optional date string to specify the global credit note service period end
61- # date in the customer's timezone. This will be applied to all line items. If not
62- # provided, line items will use their original invoice line item service periods.
63- # This date is inclusive.
60+ # A date string to specify the global credit note service period start date in the
61+ # customer's timezone. This will be applied to all line items that don't have
62+ # their own individual service periods specified. If not provided, line items will
63+ # use their original invoice line item service periods. This date is inclusive.
6464 start_date : nil ,
6565 request_options : { }
6666 )
@@ -95,19 +95,18 @@ module Orb
9595 sig { returns ( String ) }
9696 attr_accessor :invoice_line_item_id
9797
98- # An optional date string to specify this line item's credit note service period
99- # end date in the customer's timezone. If provided, this will be used for this
100- # specific line item. If not provided, will use the global end_date if available,
101- # otherwise defaults to the original invoice line item's end date. This date is
102- # inclusive.
98+ # A date string to specify this line item's credit note service period end date in
99+ # the customer's timezone. If provided, this will be used for this specific line
100+ # item. If not provided, will use the global end_date if available, otherwise
101+ # defaults to the original invoice line item's end date. This date is inclusive.
103102 sig { returns ( T . nilable ( Date ) ) }
104103 attr_accessor :end_date
105104
106- # An optional date string to specify this line item's credit note service period
107- # start date in the customer's timezone. If provided, this will be used for this
108- # specific line item. If not provided, will use the global start_date if
109- # available, otherwise defaults to the original invoice line item's start date.
110- # This date is inclusive.
105+ # A date string to specify this line item's credit note service period start date
106+ # in the customer's timezone. If provided, this will be used for this specific
107+ # line item. If not provided, will use the global start_date if available,
108+ # otherwise defaults to the original invoice line item's start date. This date is
109+ # inclusive.
111110 sig { returns ( T . nilable ( Date ) ) }
112111 attr_accessor :start_date
113112
@@ -124,17 +123,16 @@ module Orb
124123 amount :,
125124 # The ID of the line item to credit.
126125 invoice_line_item_id :,
127- # An optional date string to specify this line item's credit note service period
128- # end date in the customer's timezone. If provided, this will be used for this
129- # specific line item. If not provided, will use the global end_date if available,
130- # otherwise defaults to the original invoice line item's end date. This date is
131- # inclusive.
126+ # A date string to specify this line item's credit note service period end date in
127+ # the customer's timezone. If provided, this will be used for this specific line
128+ # item. If not provided, will use the global end_date if available, otherwise
129+ # defaults to the original invoice line item's end date. This date is inclusive.
132130 end_date : nil ,
133- # An optional date string to specify this line item's credit note service period
134- # start date in the customer's timezone. If provided, this will be used for this
135- # specific line item. If not provided, will use the global start_date if
136- # available, otherwise defaults to the original invoice line item's start date.
137- # This date is inclusive.
131+ # A date string to specify this line item's credit note service period start date
132+ # in the customer's timezone. If provided, this will be used for this specific
133+ # line item. If not provided, will use the global start_date if available,
134+ # otherwise defaults to the original invoice line item's start date. This date is
135+ # inclusive.
138136 start_date : nil
139137 )
140138 end
0 commit comments