From a3203c3ae83a080fe7f47964e1ce631e8c31afee Mon Sep 17 00:00:00 2001 From: Ishita Gambhir Date: Thu, 10 Oct 2024 15:51:18 +0530 Subject: [PATCH] documentation update for Offer Score datatype --- Documentation/api-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/api-reference.md b/Documentation/api-reference.md index 468e11a1..048734bf 100644 --- a/Documentation/api-reference.md +++ b/Documentation/api-reference.md @@ -328,11 +328,11 @@ public class Offer { /** * Sets the score for this {@code Offer}. * - * @param score {@code int} containing {@link Offer} score. + * @param score {@code double} containing {@link Offer} score. * @return this Offer {@link Builder} * @throws UnsupportedOperationException if this method is invoked after {@link Builder#build()}. */ - public Builder setScore(final int score) {...} + public Builder setScore(final double score) {...} /** * Sets the schema for this {@code Offer}. @@ -396,9 +396,9 @@ public class Offer { /** * Gets the {@code Offer} score. * - * @return {@code int} containing the {@link Offer} score. + * @return {@code double} containing the {@link Offer} score. */ - public int getScore() {...} + public double getScore() {...} /** * Gets the {@code Offer} schema.