@@ -341,7 +341,13 @@ public record class Adjustment : ModelBase
341341
342342 public JsonElement Json
343343 {
344- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
344+ get
345+ {
346+ return this._element ??= JsonSerializer.SerializeToElement(
347+ this.Value,
348+ ModelBase.SerializerOptions
349+ );
350+ }
345351 }
346352
347353 public string? Currency
@@ -899,7 +905,13 @@ public record class Price : ModelBase
899905
900906 public JsonElement Json
901907 {
902- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
908+ get
909+ {
910+ return this._element ??= JsonSerializer.SerializeToElement(
911+ this.Value,
912+ ModelBase.SerializerOptions
913+ );
914+ }
903915 }
904916
905917 public string ItemID
@@ -4234,7 +4246,13 @@ public record class ConversionRateConfig : ModelBase
42344246
42354247 public JsonElement Json
42364248 {
4237- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
4249+ get
4250+ {
4251+ return this._element ??= JsonSerializer.SerializeToElement(
4252+ this.Value,
4253+ ModelBase.SerializerOptions
4254+ );
4255+ }
42384256 }
42394257
42404258 public ConversionRateConfig(SharedUnitConversionRateConfig value, JsonElement? element = null)
@@ -5075,7 +5093,13 @@ public record class TieredWithProrationConversionRateConfig : ModelBase
50755093
50765094 public JsonElement Json
50775095 {
5078- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
5096+ get
5097+ {
5098+ return this._element ??= JsonSerializer.SerializeToElement(
5099+ this.Value,
5100+ ModelBase.SerializerOptions
5101+ );
5102+ }
50795103 }
50805104
50815105 public TieredWithProrationConversionRateConfig(
@@ -5873,7 +5897,13 @@ public record class GroupedWithMinMaxThresholdsConversionRateConfig : ModelBase
58735897
58745898 public JsonElement Json
58755899 {
5876- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
5900+ get
5901+ {
5902+ return this._element ??= JsonSerializer.SerializeToElement(
5903+ this.Value,
5904+ ModelBase.SerializerOptions
5905+ );
5906+ }
58775907 }
58785908
58795909 public GroupedWithMinMaxThresholdsConversionRateConfig(
@@ -6673,7 +6703,13 @@ public record class CumulativeGroupedAllocationConversionRateConfig : ModelBase
66736703
66746704 public JsonElement Json
66756705 {
6676- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
6706+ get
6707+ {
6708+ return this._element ??= JsonSerializer.SerializeToElement(
6709+ this.Value,
6710+ ModelBase.SerializerOptions
6711+ );
6712+ }
66776713 }
66786714
66796715 public CumulativeGroupedAllocationConversionRateConfig(
@@ -7420,7 +7456,13 @@ public record class PercentConversionRateConfig : ModelBase
74207456
74217457 public JsonElement Json
74227458 {
7423- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
7459+ get
7460+ {
7461+ return this._element ??= JsonSerializer.SerializeToElement(
7462+ this.Value,
7463+ ModelBase.SerializerOptions
7464+ );
7465+ }
74247466 }
74257467
74267468 public PercentConversionRateConfig(
@@ -8199,7 +8241,13 @@ public record class EventOutputConversionRateConfig : ModelBase
81998241
82008242 public JsonElement Json
82018243 {
8202- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
8244+ get
8245+ {
8246+ return this._element ??= JsonSerializer.SerializeToElement(
8247+ this.Value,
8248+ ModelBase.SerializerOptions
8249+ );
8250+ }
82038251 }
82048252
82058253 public EventOutputConversionRateConfig(
@@ -8717,7 +8765,13 @@ public record class ReplaceAdjustmentAdjustment : ModelBase
87178765
87188766 public JsonElement Json
87198767 {
8720- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
8768+ get
8769+ {
8770+ return this._element ??= JsonSerializer.SerializeToElement(
8771+ this.Value,
8772+ ModelBase.SerializerOptions
8773+ );
8774+ }
87218775 }
87228776
87238777 public string? Currency
@@ -9299,7 +9353,13 @@ public record class ReplacePricePrice : ModelBase
92999353
93009354 public JsonElement Json
93019355 {
9302- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
9356+ get
9357+ {
9358+ return this._element ??= JsonSerializer.SerializeToElement(
9359+ this.Value,
9360+ ModelBase.SerializerOptions
9361+ );
9362+ }
93039363 }
93049364
93059365 public string ItemID
@@ -12647,7 +12707,13 @@ public record class ReplacePricePriceBulkWithFiltersConversionRateConfig : Model
1264712707
1264812708 public JsonElement Json
1264912709 {
12650- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
12710+ get
12711+ {
12712+ return this._element ??= JsonSerializer.SerializeToElement(
12713+ this.Value,
12714+ ModelBase.SerializerOptions
12715+ );
12716+ }
1265112717 }
1265212718
1265312719 public ReplacePricePriceBulkWithFiltersConversionRateConfig(
@@ -13507,7 +13573,13 @@ public record class ReplacePricePriceTieredWithProrationConversionRateConfig : M
1350713573
1350813574 public JsonElement Json
1350913575 {
13510- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
13576+ get
13577+ {
13578+ return this._element ??= JsonSerializer.SerializeToElement(
13579+ this.Value,
13580+ ModelBase.SerializerOptions
13581+ );
13582+ }
1351113583 }
1351213584
1351313585 public ReplacePricePriceTieredWithProrationConversionRateConfig(
@@ -14307,7 +14379,13 @@ public record class ReplacePricePriceGroupedWithMinMaxThresholdsConversionRateCo
1430714379
1430814380 public JsonElement Json
1430914381 {
14310- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
14382+ get
14383+ {
14384+ return this._element ??= JsonSerializer.SerializeToElement(
14385+ this.Value,
14386+ ModelBase.SerializerOptions
14387+ );
14388+ }
1431114389 }
1431214390
1431314391 public ReplacePricePriceGroupedWithMinMaxThresholdsConversionRateConfig(
@@ -15111,7 +15189,13 @@ public record class ReplacePricePriceCumulativeGroupedAllocationConversionRateCo
1511115189
1511215190 public JsonElement Json
1511315191 {
15114- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
15192+ get
15193+ {
15194+ return this._element ??= JsonSerializer.SerializeToElement(
15195+ this.Value,
15196+ ModelBase.SerializerOptions
15197+ );
15198+ }
1511515199 }
1511615200
1511715201 public ReplacePricePriceCumulativeGroupedAllocationConversionRateConfig(
@@ -15859,7 +15943,13 @@ public record class ReplacePricePricePercentConversionRateConfig : ModelBase
1585915943
1586015944 public JsonElement Json
1586115945 {
15862- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
15946+ get
15947+ {
15948+ return this._element ??= JsonSerializer.SerializeToElement(
15949+ this.Value,
15950+ ModelBase.SerializerOptions
15951+ );
15952+ }
1586315953 }
1586415954
1586515955 public ReplacePricePricePercentConversionRateConfig(
@@ -16641,7 +16731,13 @@ public record class ReplacePricePriceEventOutputConversionRateConfig : ModelBase
1664116731
1664216732 public JsonElement Json
1664316733 {
16644- get { return this._element ??= JsonSerializer.SerializeToElement(this.Value); }
16734+ get
16735+ {
16736+ return this._element ??= JsonSerializer.SerializeToElement(
16737+ this.Value,
16738+ ModelBase.SerializerOptions
16739+ );
16740+ }
1664516741 }
1664616742
1664716743 public ReplacePricePriceEventOutputConversionRateConfig(
0 commit comments