@@ -69,10 +69,9 @@ private constructor(
6969 fun reason (): Reason = body.reason()
7070
7171 /* *
72- * A date string to specify the global credit note service period end date in the customer's
73- * timezone. This will be applied to all line items that don't have their own individual service
74- * periods specified. If not provided, line items will use their original invoice line item
75- * service periods. This date is inclusive.
72+ * An optional date string to specify the global credit note service period end date in the
73+ * customer's timezone. This will be applied to all line items. If not provided, line items will
74+ * use their original invoice line item service periods. This date is inclusive.
7675 *
7776 * @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the server
7877 * responded with an unexpected value).
@@ -88,10 +87,9 @@ private constructor(
8887 fun memo (): Optional <String > = body.memo()
8988
9089 /* *
91- * A date string to specify the global credit note service period start date in the customer's
92- * timezone. This will be applied to all line items that don't have their own individual service
93- * periods specified. If not provided, line items will use their original invoice line item
94- * service periods. This date is inclusive.
90+ * An optional date string to specify the global credit note service period end date in the
91+ * customer's timezone. This will be applied to all line items. If not provided, line items will
92+ * use their original invoice line item service periods. This date is inclusive.
9593 *
9694 * @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the server
9795 * responded with an unexpected value).
@@ -213,10 +211,9 @@ private constructor(
213211 fun reason (reason : JsonField <Reason >) = apply { body.reason(reason) }
214212
215213 /* *
216- * A date string to specify the global credit note service period end date in the customer's
217- * timezone. This will be applied to all line items that don't have their own individual
218- * service periods specified. If not provided, line items will use their original invoice
219- * line item service periods. This date is inclusive.
214+ * An optional date string to specify the global credit note service period end date in the
215+ * customer's timezone. This will be applied to all line items. If not provided, line items
216+ * will use their original invoice line item service periods. This date is inclusive.
220217 */
221218 fun endDate (endDate : LocalDate ? ) = apply { body.endDate(endDate) }
222219
@@ -247,10 +244,9 @@ private constructor(
247244 fun memo (memo : JsonField <String >) = apply { body.memo(memo) }
248245
249246 /* *
250- * A date string to specify the global credit note service period start date in the
251- * customer's timezone. This will be applied to all line items that don't have their own
252- * individual service periods specified. If not provided, line items will use their original
253- * invoice line item service periods. This date is inclusive.
247+ * An optional date string to specify the global credit note service period end date in the
248+ * customer's timezone. This will be applied to all line items. If not provided, line items
249+ * will use their original invoice line item service periods. This date is inclusive.
254250 */
255251 fun startDate (startDate : LocalDate ? ) = apply { body.startDate(startDate) }
256252
@@ -450,10 +446,9 @@ private constructor(
450446 fun reason (): Reason = reason.getRequired(" reason" )
451447
452448 /* *
453- * A date string to specify the global credit note service period end date in the customer's
454- * timezone. This will be applied to all line items that don't have their own individual
455- * service periods specified. If not provided, line items will use their original invoice
456- * line item service periods. This date is inclusive.
449+ * An optional date string to specify the global credit note service period end date in the
450+ * customer's timezone. This will be applied to all line items. If not provided, line items
451+ * will use their original invoice line item service periods. This date is inclusive.
457452 *
458453 * @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
459454 * server responded with an unexpected value).
@@ -469,10 +464,9 @@ private constructor(
469464 fun memo (): Optional <String > = memo.getOptional(" memo" )
470465
471466 /* *
472- * A date string to specify the global credit note service period start date in the
473- * customer's timezone. This will be applied to all line items that don't have their own
474- * individual service periods specified. If not provided, line items will use their original
475- * invoice line item service periods. This date is inclusive.
467+ * An optional date string to specify the global credit note service period end date in the
468+ * customer's timezone. This will be applied to all line items. If not provided, line items
469+ * will use their original invoice line item service periods. This date is inclusive.
476470 *
477471 * @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
478472 * server responded with an unexpected value).
@@ -602,10 +596,10 @@ private constructor(
602596 fun reason (reason : JsonField <Reason >) = apply { this .reason = reason }
603597
604598 /* *
605- * A date string to specify the global credit note service period end date in the
606- * customer's timezone. This will be applied to all line items that don't have their own
607- * individual service periods specified. If not provided, line items will use their
608- * original invoice line item service periods. This date is inclusive.
599+ * An optional date string to specify the global credit note service period end date in
600+ * the customer's timezone. This will be applied to all line items. If not provided,
601+ * line items will use their original invoice line item service periods. This date is
602+ * inclusive.
609603 */
610604 fun endDate (endDate : LocalDate ? ) = endDate(JsonField .ofNullable(endDate))
611605
@@ -637,10 +631,10 @@ private constructor(
637631 fun memo (memo : JsonField <String >) = apply { this .memo = memo }
638632
639633 /* *
640- * A date string to specify the global credit note service period start date in the
641- * customer's timezone. This will be applied to all line items that don't have their own
642- * individual service periods specified. If not provided, line items will use their
643- * original invoice line item service periods. This date is inclusive.
634+ * An optional date string to specify the global credit note service period end date in
635+ * the customer's timezone. This will be applied to all line items. If not provided,
636+ * line items will use their original invoice line item service periods. This date is
637+ * inclusive.
644638 */
645639 fun startDate (startDate : LocalDate ? ) = startDate(JsonField .ofNullable(startDate))
646640
@@ -794,21 +788,21 @@ private constructor(
794788 fun invoiceLineItemId (): String = invoiceLineItemId.getRequired(" invoice_line_item_id" )
795789
796790 /* *
797- * A date string to specify this line item's credit note service period end date in the
798- * customer's timezone. If provided, this will be used for this specific line item. If not
799- * provided, will use the global end_date if available, otherwise defaults to the original
800- * invoice line item's end date. This date is inclusive.
791+ * An optional date string to specify this line item's credit note service period end date
792+ * in the customer's timezone. If provided, this will be used for this specific line item.
793+ * If not provided, will use the global end_date if available, otherwise defaults to the
794+ * original invoice line item's end date. This date is inclusive.
801795 *
802796 * @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
803797 * server responded with an unexpected value).
804798 */
805799 fun endDate (): Optional <LocalDate > = endDate.getOptional(" end_date" )
806800
807801 /* *
808- * A date string to specify this line item's credit note service period start date in the
809- * customer's timezone. If provided, this will be used for this specific line item. If not
810- * provided, will use the global start_date if available, otherwise defaults to the original
811- * invoice line item's start date. This date is inclusive.
802+ * An optional date string to specify this line item's credit note service period start date
803+ * in the customer's timezone. If provided, this will be used for this specific line item.
804+ * If not provided, will use the global start_date if available, otherwise defaults to the
805+ * original invoice line item's start date. This date is inclusive.
812806 *
813807 * @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
814808 * server responded with an unexpected value).
@@ -920,10 +914,10 @@ private constructor(
920914 }
921915
922916 /* *
923- * A date string to specify this line item's credit note service period end date in the
924- * customer's timezone. If provided, this will be used for this specific line item. If
925- * not provided, will use the global end_date if available, otherwise defaults to the
926- * original invoice line item's end date. This date is inclusive.
917+ * An optional date string to specify this line item's credit note service period end
918+ * date in the customer's timezone. If provided, this will be used for this specific
919+ * line item. If not provided, will use the global end_date if available, otherwise
920+ * defaults to the original invoice line item's end date. This date is inclusive.
927921 */
928922 fun endDate (endDate : LocalDate ? ) = endDate(JsonField .ofNullable(endDate))
929923
@@ -940,10 +934,10 @@ private constructor(
940934 fun endDate (endDate : JsonField <LocalDate >) = apply { this .endDate = endDate }
941935
942936 /* *
943- * A date string to specify this line item's credit note service period start date in
944- * the customer's timezone. If provided, this will be used for this specific line item.
945- * If not provided, will use the global start_date if available, otherwise defaults to
946- * the original invoice line item's start date. This date is inclusive.
937+ * An optional date string to specify this line item's credit note service period start
938+ * date in the customer's timezone. If provided, this will be used for this specific
939+ * line item. If not provided, will use the global start_date if available, otherwise
940+ * defaults to the original invoice line item's start date. This date is inclusive.
947941 */
948942 fun startDate (startDate : LocalDate ? ) = startDate(JsonField .ofNullable(startDate))
949943
0 commit comments