diff --git a/changes.md b/changes.md
index 50b4ed8c83a..38abf6ec2f1 100644
--- a/changes.md
+++ b/changes.md
@@ -38,3 +38,11 @@
- added property `discountTypeCombination` to type `Order`
+
+MarkDeprecated Property(s)
+
+- marked property `CountOnCustomLineItemUnits::excludeCount` as deprecated
+- marked property `CountOnLineItemUnits::excludeCount` as deprecated
+
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.
- *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the maxOccurrence
.
If empty, the Discount will apply indefinitely.
+ *Based on the availability of matching units, the triggerPattern
can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the triggerPattern
are excluded and not considered for the targetPattern
.
To further limit the discount application, set the maxOccurrence
.
The units matched first (satisfying the pattern component) will be excluded from the resulting set. The minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
The units matched first (satisfying the pattern component) will be excluded from the resulting set. The minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
* @return excludeCount
*/
-
+ @Deprecated
@Nullable
public Integer getExcludeCount() {
return this.excludeCount;
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnitsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnitsImpl.java
index 9e69d29b631..34c5287dc77 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnitsImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnitsImpl.java
@@ -30,6 +30,7 @@ public class CountOnCustomLineItemUnitsImpl implements CountOnCustomLineItemUnit
private Integer maxCount;
+ @Deprecated
private Integer excludeCount;
/**
@@ -91,7 +92,7 @@ public Integer getMaxCount() {
* Set only when configuring the targetPattern
.
The units matched first (satisfying the pattern component) will be excluded from the resulting set. The minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
The units matched first (satisfying the pattern component) will be excluded from the resulting set. The minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
The units matched first (satisfying the pattern component) will be excluded from the resulting set. The minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.
* @return excludeCount
*/
-
+ @Deprecated
@Nullable
public Integer getExcludeCount() {
return this.excludeCount;
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnLineItemUnitsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnLineItemUnitsImpl.java
index d60ee386354..f088b3afe52 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnLineItemUnitsImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnLineItemUnitsImpl.java
@@ -30,6 +30,7 @@ public class CountOnLineItemUnitsImpl implements CountOnLineItemUnits, ModelBase
private Integer maxCount;
+ @Deprecated
private Integer excludeCount;
/**
@@ -91,7 +92,7 @@ public Integer getMaxCount() {
* Set only when configuring the targetPattern
.
The units matched first (satisfying the pattern component) will be excluded from the resulting set. The minCount
and maxCount
are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist. For example, if 5 jeans are required but only 3 should be discounted, the excludeCount
value must be 2.