Skip to content

Commit 5215a75

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 2112a90 commit 5215a75

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

algoliasearch/src/main/java/com/algolia/model/insights/Price.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import java.io.IOException;
1212
import java.util.logging.Logger;
1313

14-
/** Total price of a product, including any discounts, in units of `currency`. */
14+
/** Final price of a single product, including any discounts, in units of `currency`. */
1515
@JsonDeserialize(using = Price.Deserializer.class)
1616
public interface Price {
1717
// Price as Double wrapper.

algoliasearch/src/main/java/com/algolia/model/insights/Value.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
import java.io.IOException;
1212
import java.util.logging.Logger;
1313

14-
/** Total monetary value of this event in units of `currency`. */
14+
/**
15+
* Total monetary value of this event in units of `currency`. This should be equal to the sum of
16+
* `price` times `quantity`.
17+
*/
1518
@JsonDeserialize(using = Value.Deserializer.class)
1619
public interface Value {
1720
// Value as Double wrapper.

0 commit comments

Comments
 (0)