Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update generated SDKs #839

Merged
merged 1 commit into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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