Skip to content

Commit 4c389a3

Browse files
algolia-botkai687
andcommitted
fix(specs): value/price clarifications in the Insights API (generated)
algolia/api-clients-automation#5154 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent 9d28313 commit 4c389a3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/scala/algoliasearch/insights/Price.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ package algoliasearch.insights
2929

3030
import org.json4s._
3131

32-
/** Total price of a product, including any discounts, in units of `currency`.
32+
/** Final price of a single product, including any discounts, in units of `currency`.
3333
*/
3434
sealed trait Price
3535

src/main/scala/algoliasearch/insights/Value.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ package algoliasearch.insights
2929

3030
import org.json4s._
3131

32-
/** Total monetary value of this event in units of `currency`.
32+
/** Total monetary value of this event in units of `currency`. This should be equal to the sum of `price` times
33+
* `quantity`.
3334
*/
3435
sealed trait Value
3536

0 commit comments

Comments
 (0)