Skip to content

Commit

Permalink
Merge pull request #103 from ishita-gambhir-adobe/scoreDocUpdate
Browse files Browse the repository at this point in the history
documentation update for Offer Score datatype
  • Loading branch information
spoorthipujariadobe authored Oct 17, 2024
2 parents 9a84df9 + a3203c3 commit 334b393
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,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}.
Expand Down Expand Up @@ -454,9 +454,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.
Expand Down

0 comments on commit 334b393

Please sign in to comment.