File tree Expand file tree Collapse file tree
src/test/kotlin/com/ecwid/apiclient/v3/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,20 +197,23 @@ private fun generateTestItemDiscountInfo() = UpdatedOrder.DiscountInfo(
197197 value = randomPrice(),
198198 type = randomEnumValue<DiscountType >(),
199199 base = DiscountBase .ITEM ,
200+ orderTotal = randomPrice(),
200201 description = " On item discount " + randomAlphanumeric(8 )
201202)
202203
203204private fun generateTestShippingDiscountInfo () = UpdatedOrder .DiscountInfo (
204205 value = randomPrice(),
205206 type = randomEnumValue<DiscountType >(),
206207 base = DiscountBase .SHIPPING ,
208+ orderTotal = randomPrice(),
207209 description = " On shipping discount " + randomAlphanumeric(8 )
208210)
209211
210212private fun generateTestSubtotalDiscountInfo () = UpdatedOrder .DiscountInfo (
211213 value = randomPrice(),
212214 type = randomEnumValue<DiscountType >(),
213215 base = DiscountBase .SUBTOTAL ,
216+ orderTotal = randomPrice(),
214217 description = " On subtotal discount " + randomAlphanumeric(8 )
215218)
216219
You can’t perform that action at this time.
0 commit comments