@@ -98,7 +98,7 @@ public async Task Create_Works()
9898 ItemID = "item_id" ,
9999 ModelType = NewSubscriptionUnitPriceProperties ::ModelType . Unit ,
100100 Name = "Annual fee" ,
101- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
101+ UnitConfig = new ( "unit_amount" ) ,
102102 BillableMetricID = "billable_metric_id" ,
103103 BilledInAdvance = true ,
104104 BillingCycleConfiguration = new ( )
@@ -111,7 +111,7 @@ public async Task Create_Works()
111111 ConversionRateConfig = new UnitConversionRateConfig ( )
112112 {
113113 ConversionRateType = ConversionRateType . Unit ,
114- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
114+ UnitConfig = new ( "unit_amount" ) ,
115115 } ,
116116 Currency = "currency" ,
117117 DimensionalPriceConfiguration = new ( )
@@ -166,7 +166,7 @@ public async Task Create_Works()
166166 PlanID = "ZMwNQefe7J3ecf7W" ,
167167 PlanVersionNumber = 0 ,
168168 PriceOverrides = [ JsonSerializer . Deserialize < JsonElement > ( "{}" ) ] ,
169- RemoveAdjustments = [ new ( ) { AdjustmentID = "h74gfhdjvn7ujokd" } ] ,
169+ RemoveAdjustments = [ new ( "h74gfhdjvn7ujokd" ) ] ,
170170 RemovePrices =
171171 [
172172 new ( ) { ExternalPriceID = "external_price_id" , PriceID = "h74gfhdjvn7ujokd" } ,
@@ -235,7 +235,7 @@ public async Task Create_Works()
235235 ItemID = "item_id" ,
236236 ModelType = NewSubscriptionUnitPriceProperties ::ModelType . Unit ,
237237 Name = "Annual fee" ,
238- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
238+ UnitConfig = new ( "unit_amount" ) ,
239239 BillableMetricID = "billable_metric_id" ,
240240 BilledInAdvance = true ,
241241 BillingCycleConfiguration = new ( )
@@ -248,7 +248,7 @@ public async Task Create_Works()
248248 ConversionRateConfig = new UnitConversionRateConfig ( )
249249 {
250250 ConversionRateType = ConversionRateType . Unit ,
251- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
251+ UnitConfig = new ( "unit_amount" ) ,
252252 } ,
253253 Currency = "currency" ,
254254 DimensionalPriceConfiguration = new ( )
@@ -422,7 +422,7 @@ public async Task PriceIntervals_Works()
422422 } ,
423423 ExpiresAtEndOfCadence = true ,
424424 } ,
425- Discounts = [ new Amount ( ) { AmountDiscount = 0 } ] ,
425+ Discounts = [ new Amount ( 0 ) ] ,
426426 EndDate = DateTime . Parse ( "2019-12-27T18:11:19.117Z" ) ,
427427 ExternalPriceID = "external_price_id" ,
428428 Filter = "my_property > 100 AND my_other_property = 'bar'" ,
@@ -443,7 +443,7 @@ public async Task PriceIntervals_Works()
443443 ItemID = "item_id" ,
444444 ModelType = ModelType . Unit ,
445445 Name = "Annual fee" ,
446- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
446+ UnitConfig = new ( "unit_amount" ) ,
447447 BillableMetricID = "billable_metric_id" ,
448448 BilledInAdvance = true ,
449449 BillingCycleConfiguration = new ( )
@@ -456,7 +456,7 @@ public async Task PriceIntervals_Works()
456456 ConversionRateConfig = new UnitConversionRateConfig ( )
457457 {
458458 ConversionRateType = ConversionRateType . Unit ,
459- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
459+ UnitConfig = new ( "unit_amount" ) ,
460460 } ,
461461 DimensionalPriceConfiguration = new ( )
462462 {
@@ -635,7 +635,7 @@ public async Task SchedulePlanChange_Works()
635635 ItemID = "item_id" ,
636636 ModelType = NewSubscriptionUnitPriceProperties ::ModelType . Unit ,
637637 Name = "Annual fee" ,
638- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
638+ UnitConfig = new ( "unit_amount" ) ,
639639 BillableMetricID = "billable_metric_id" ,
640640 BilledInAdvance = true ,
641641 BillingCycleConfiguration = new ( )
@@ -648,7 +648,7 @@ public async Task SchedulePlanChange_Works()
648648 ConversionRateConfig = new UnitConversionRateConfig ( )
649649 {
650650 ConversionRateType = ConversionRateType . Unit ,
651- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
651+ UnitConfig = new ( "unit_amount" ) ,
652652 } ,
653653 Currency = "currency" ,
654654 DimensionalPriceConfiguration = new ( )
@@ -697,7 +697,7 @@ public async Task SchedulePlanChange_Works()
697697 PlanID = "ZMwNQefe7J3ecf7W" ,
698698 PlanVersionNumber = 0 ,
699699 PriceOverrides = [ JsonSerializer . Deserialize < JsonElement > ( "{}" ) ] ,
700- RemoveAdjustments = [ new ( ) { AdjustmentID = "h74gfhdjvn7ujokd" } ] ,
700+ RemoveAdjustments = [ new ( "h74gfhdjvn7ujokd" ) ] ,
701701 RemovePrices =
702702 [
703703 new ( ) { ExternalPriceID = "external_price_id" , PriceID = "h74gfhdjvn7ujokd" } ,
@@ -766,7 +766,7 @@ public async Task SchedulePlanChange_Works()
766766 ItemID = "item_id" ,
767767 ModelType = NewSubscriptionUnitPriceProperties ::ModelType . Unit ,
768768 Name = "Annual fee" ,
769- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
769+ UnitConfig = new ( "unit_amount" ) ,
770770 BillableMetricID = "billable_metric_id" ,
771771 BilledInAdvance = true ,
772772 BillingCycleConfiguration = new ( )
@@ -779,7 +779,7 @@ public async Task SchedulePlanChange_Works()
779779 ConversionRateConfig = new UnitConversionRateConfig ( )
780780 {
781781 ConversionRateType = ConversionRateType . Unit ,
782- UnitConfig = new ( ) { UnitAmount = "unit_amount" } ,
782+ UnitConfig = new ( "unit_amount" ) ,
783783 } ,
784784 Currency = "currency" ,
785785 DimensionalPriceConfiguration = new ( )
0 commit comments