Skip to content

Commit

Permalink
Merge pull request #839 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Mar 4, 2025
2 parents ade400a + 6c3f7a0 commit 8baec2c
Show file tree
Hide file tree
Showing 10 changed files with 73 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public interface CartDiscountValueAbsoluteDraft
String ABSOLUTE = "absolute";

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @return money
*/
@NotNull
Expand All @@ -60,17 +60,17 @@ public interface CartDiscountValueAbsoluteDraft
public DiscountApplicationMode getApplicationMode();

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money values to be set
*/

@JsonIgnore
public void setMoney(final Money... money);

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money values to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class CartDiscountValueAbsoluteDraftBuilder implements Builder<CartDiscou
private com.commercetools.api.models.cart_discount.DiscountApplicationMode applicationMode;

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money value to be set
* @return Builder
*/
Expand All @@ -42,8 +42,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(final com.commercetools.api.m
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money value to be set
* @return Builder
*/
Expand All @@ -55,8 +55,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money value to be set
* @return Builder
*/
Expand All @@ -70,8 +70,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(final com.commercetools.a
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param builder function to build the money value
* @return Builder
*/
Expand All @@ -86,8 +86,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param builder function to build the money value
* @return Builder
*/
Expand All @@ -100,8 +100,8 @@ public CartDiscountValueAbsoluteDraftBuilder withMoney(
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param builder function to build the money value
* @return Builder
*/
Expand All @@ -112,8 +112,8 @@ public CartDiscountValueAbsoluteDraftBuilder addMoney(
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param builder function to build the money value
* @return Builder
*/
Expand All @@ -137,8 +137,8 @@ public CartDiscountValueAbsoluteDraftBuilder applicationMode(
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @return money
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public String getType() {
}

/**
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
*/

public java.util.List<com.commercetools.api.models.common.Money> getMoney() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public interface CartDiscountValueFixedDraft
String FIXED = "fixed";

/**
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @return money
*/
@NotNull
Expand All @@ -60,17 +60,17 @@ public interface CartDiscountValueFixedDraft
public DiscountApplicationMode getApplicationMode();

/**
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money values to be set
*/

@JsonIgnore
public void setMoney(final Money... money);

/**
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* <p>If the array is empty, the discount does not apply.</p>
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$.</p>
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
* @param money values to be set
*/

Expand Down
Loading

0 comments on commit 8baec2c

Please # to comment.