Skip to content

Commit e3c9fd4

Browse files
algolia-botkai687
andcommitted
fix(specs): value/price clarifications in the Insights API (#5154) (generated) [skip ci]
Co-authored-by: Kai Welke <[email protected]>
1 parent f25e156 commit e3c9fd4

File tree

23 files changed

+35
-26
lines changed

23 files changed

+35
-26
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/Price.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace Algolia.Search.Models.Insights;
1616

1717
/// <summary>
18-
/// Total price of a product, including any discounts, in units of `currency`.
18+
/// Final price of a single product, including any discounts, in units of `currency`.
1919
/// </summary>
2020
[JsonConverter(typeof(PriceJsonConverter))]
2121
public partial class Price : AbstractSchema

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/Value.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace Algolia.Search.Models.Insights;
1616

1717
/// <summary>
18-
/// Total monetary value of this event in units of `currency`.
18+
/// Total monetary value of this event in units of `currency`. This should be equal to the sum of `price` times `quantity`.
1919
/// </summary>
2020
[JsonConverter(typeof(ValueJsonConverter))]
2121
public partial class Value : AbstractSchema

clients/algoliasearch-client-go/algolia/insights/model_price.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/insights/model_value.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/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.

clients/algoliasearch-client-java/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.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

33
/**
4-
* Total price of a product, including any discounts, in units of `currency`.
4+
* Final price of a single product, including any discounts, in units of `currency`.
55
*/
66
export type Price = number | string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

33
/**
4-
* Total monetary value of this event in units of `currency`.
4+
* Total monetary value of this event in units of `currency`. This should be equal to the sum of `price` times `quantity`.
55
*/
66
export type Value = number | string;

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/model/insights/Price.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import kotlinx.serialization.json.*
1111
import kotlin.jvm.JvmInline
1212

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
*
1616
* Implementations:
1717
* - [Double] - *[Price.of]*

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/model/insights/Value.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import kotlinx.serialization.json.*
1111
import kotlin.jvm.JvmInline
1212

1313
/**
14-
* Total monetary value of this event in units of `currency`.
14+
* Total monetary value of this event in units of `currency`. This should be equal to the sum of `price` times `quantity`.
1515
*
1616
* Implementations:
1717
* - [Double] - *[Value.of]*

0 commit comments

Comments
 (0)