You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPatternTarget.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,8 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {
43
43
44
44
/**
45
45
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
46
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
47
-
* <p>If empty, the Discount will apply indefinitely.</p>
46
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
47
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
48
48
* @return triggerPattern
49
49
*/
50
50
@NotNull
@@ -82,8 +82,8 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {
82
82
83
83
/**
84
84
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
85
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
86
-
* <p>If empty, the Discount will apply indefinitely.</p>
85
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
86
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
87
87
* @param triggerPattern values to be set
88
88
*/
89
89
@@ -92,8 +92,8 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {
92
92
93
93
/**
94
94
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
95
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
96
-
* <p>If empty, the Discount will apply indefinitely.</p>
95
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
96
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPatternTargetBuilder.java
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ public class CartDiscountPatternTargetBuilder implements Builder<CartDiscountPat
37
37
38
38
/**
39
39
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
40
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
41
-
* <p>If empty, the Discount will apply indefinitely.</p>
40
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
41
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
42
42
* @param triggerPattern value to be set
43
43
* @return Builder
44
44
*/
@@ -51,8 +51,8 @@ public CartDiscountPatternTargetBuilder triggerPattern(
51
51
52
52
/**
53
53
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
54
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
55
-
* <p>If empty, the Discount will apply indefinitely.</p>
54
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
55
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
56
56
* @param triggerPattern value to be set
57
57
* @return Builder
58
58
*/
@@ -65,8 +65,8 @@ public CartDiscountPatternTargetBuilder triggerPattern(
65
65
66
66
/**
67
67
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
68
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
69
-
* <p>If empty, the Discount will apply indefinitely.</p>
68
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
69
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
70
70
* @param triggerPattern value to be set
71
71
* @return Builder
72
72
*/
@@ -82,8 +82,8 @@ public CartDiscountPatternTargetBuilder plusTriggerPattern(
82
82
83
83
/**
84
84
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
85
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
86
-
* <p>If empty, the Discount will apply indefinitely.</p>
85
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
86
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
87
87
* @param builder function to build the triggerPattern value
88
88
* @return Builder
89
89
*/
@@ -100,8 +100,8 @@ public CartDiscountPatternTargetBuilder plusTriggerPattern(
100
100
101
101
/**
102
102
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
103
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
104
-
* <p>If empty, the Discount will apply indefinitely.</p>
103
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
104
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
105
105
* @param builder function to build the triggerPattern value
106
106
* @return Builder
107
107
*/
@@ -219,8 +219,8 @@ public CartDiscountPatternTargetBuilder selectionMode(
219
219
220
220
/**
221
221
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
222
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
223
-
* <p>If empty, the Discount will apply indefinitely.</p>
222
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
223
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPatternTargetImpl.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,8 @@ public String getType() {
66
66
67
67
/**
68
68
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
69
-
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. To further limit the discount application, set the <code>maxOccurrence</code>.</p>
70
-
* <p>If empty, the Discount will apply indefinitely.</p>
69
+
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied. The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
70
+
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnits.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ public interface CountOnCustomLineItemUnits extends PatternComponent {
67
67
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
68
68
* @return excludeCount
69
69
*/
70
-
70
+
@Deprecated
71
71
@JsonProperty("excludeCount")
72
72
publicIntegergetExcludeCount();
73
73
@@ -99,7 +99,7 @@ public interface CountOnCustomLineItemUnits extends PatternComponent {
99
99
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnitsBuilder.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ public class CountOnCustomLineItemUnitsBuilder implements Builder<CountOnCustomL
31
31
@Nullable
32
32
privateIntegermaxCount;
33
33
34
+
@Deprecated
34
35
@Nullable
35
36
privateIntegerexcludeCount;
36
37
@@ -75,7 +76,7 @@ public CountOnCustomLineItemUnitsBuilder maxCount(@Nullable final Integer maxCou
@@ -117,7 +118,7 @@ public Integer getMaxCount() {
117
118
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnCustomLineItemUnitsImpl.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ public class CountOnCustomLineItemUnitsImpl implements CountOnCustomLineItemUnit
30
30
31
31
privateIntegermaxCount;
32
32
33
+
@Deprecated
33
34
privateIntegerexcludeCount;
34
35
35
36
/**
@@ -91,7 +92,7 @@ public Integer getMaxCount() {
91
92
* <p>Set only when configuring the <code>targetPattern</code>.</p>
92
93
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
93
94
*/
94
-
95
+
@Deprecated
95
96
publicIntegergetExcludeCount() {
96
97
returnthis.excludeCount;
97
98
}
@@ -108,6 +109,7 @@ public void setMaxCount(final Integer maxCount) {
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnLineItemUnits.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ public interface CountOnLineItemUnits extends PatternComponent {
67
67
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
68
68
* @return excludeCount
69
69
*/
70
-
70
+
@Deprecated
71
71
@JsonProperty("excludeCount")
72
72
publicIntegergetExcludeCount();
73
73
@@ -99,7 +99,7 @@ public interface CountOnLineItemUnits extends PatternComponent {
99
99
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CountOnLineItemUnitsBuilder.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ public class CountOnLineItemUnitsBuilder implements Builder<CountOnLineItemUnits
31
31
@Nullable
32
32
privateIntegermaxCount;
33
33
34
+
@Deprecated
34
35
@Nullable
35
36
privateIntegerexcludeCount;
36
37
@@ -75,7 +76,7 @@ public CountOnLineItemUnitsBuilder maxCount(@Nullable final Integer maxCount) {
@@ -117,7 +118,7 @@ public Integer getMaxCount() {
117
118
* <p>The units matched first (satisfying the pattern component) will be excluded from the resulting set. The <code>minCount</code>and <code>maxCount</code> 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 <code>excludeCount</code> value must be 2.</p>
0 commit comments