@@ -69,9 +69,10 @@ private constructor(
69
69
fun reason (): Reason = body.reason()
70
70
71
71
/* *
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.
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.
75
76
*
76
77
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the server
77
78
* responded with an unexpected value).
@@ -87,9 +88,10 @@ private constructor(
87
88
fun memo (): Optional <String > = body.memo()
88
89
89
90
/* *
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.
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.
93
95
*
94
96
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the server
95
97
* responded with an unexpected value).
@@ -211,9 +213,10 @@ private constructor(
211
213
fun reason (reason : JsonField <Reason >) = apply { body.reason(reason) }
212
214
213
215
/* *
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.
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.
217
220
*/
218
221
fun endDate (endDate : LocalDate ? ) = apply { body.endDate(endDate) }
219
222
@@ -244,9 +247,10 @@ private constructor(
244
247
fun memo (memo : JsonField <String >) = apply { body.memo(memo) }
245
248
246
249
/* *
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.
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.
250
254
*/
251
255
fun startDate (startDate : LocalDate ? ) = apply { body.startDate(startDate) }
252
256
@@ -446,9 +450,10 @@ private constructor(
446
450
fun reason (): Reason = reason.getRequired(" reason" )
447
451
448
452
/* *
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.
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.
452
457
*
453
458
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
454
459
* server responded with an unexpected value).
@@ -464,9 +469,10 @@ private constructor(
464
469
fun memo (): Optional <String > = memo.getOptional(" memo" )
465
470
466
471
/* *
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.
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.
470
476
*
471
477
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
472
478
* server responded with an unexpected value).
@@ -596,10 +602,10 @@ private constructor(
596
602
fun reason (reason : JsonField <Reason >) = apply { this .reason = reason }
597
603
598
604
/* *
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.
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.
603
609
*/
604
610
fun endDate (endDate : LocalDate ? ) = endDate(JsonField .ofNullable(endDate))
605
611
@@ -631,10 +637,10 @@ private constructor(
631
637
fun memo (memo : JsonField <String >) = apply { this .memo = memo }
632
638
633
639
/* *
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.
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.
638
644
*/
639
645
fun startDate (startDate : LocalDate ? ) = startDate(JsonField .ofNullable(startDate))
640
646
@@ -788,21 +794,21 @@ private constructor(
788
794
fun invoiceLineItemId (): String = invoiceLineItemId.getRequired(" invoice_line_item_id" )
789
795
790
796
/* *
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.
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.
795
801
*
796
802
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
797
803
* server responded with an unexpected value).
798
804
*/
799
805
fun endDate (): Optional <LocalDate > = endDate.getOptional(" end_date" )
800
806
801
807
/* *
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.
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.
806
812
*
807
813
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
808
814
* server responded with an unexpected value).
@@ -914,10 +920,10 @@ private constructor(
914
920
}
915
921
916
922
/* *
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.
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.
921
927
*/
922
928
fun endDate (endDate : LocalDate ? ) = endDate(JsonField .ofNullable(endDate))
923
929
@@ -934,10 +940,10 @@ private constructor(
934
940
fun endDate (endDate : JsonField <LocalDate >) = apply { this .endDate = endDate }
935
941
936
942
/* *
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.
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.
941
947
*/
942
948
fun startDate (startDate : LocalDate ? ) = startDate(JsonField .ofNullable(startDate))
943
949
0 commit comments