Skip to content
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 @@ -168,15 +168,15 @@ public interface DiscountCode
public List<Reference> getReferences();

/**
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplications
*/

@JsonProperty("maxApplications")
public Long getMaxApplications();

/**
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplicationsPerCustomer
*/

Expand Down Expand Up @@ -338,14 +338,14 @@ public interface DiscountCode
public void setReferences(final List<Reference> references);

/**
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplications value to be set
*/

public void setMaxApplications(final Long maxApplications);

/**
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplicationsPerCustomer value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public DiscountCodeBuilder withReferences(
}

/**
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplications value to be set
* @return Builder
*/
Expand All @@ -486,7 +486,7 @@ public DiscountCodeBuilder maxApplications(@Nullable final Long maxApplications)
}

/**
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplicationsPerCustomer value to be set
* @return Builder
*/
Expand Down Expand Up @@ -733,7 +733,7 @@ public java.util.List<com.commercetools.api.models.common.Reference> getReferenc
}

/**
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplications
*/

Expand All @@ -743,7 +743,7 @@ public Long getMaxApplications() {
}

/**
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplicationsPerCustomer
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz

/**
* <p>Number of times the DiscountCode can be applied.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplications
*/

Expand All @@ -108,7 +108,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz

/**
* <p>Number of times the DiscountCode can be applied per Customer.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplicationsPerCustomer
*/

Expand Down Expand Up @@ -207,15 +207,15 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz

/**
* <p>Number of times the DiscountCode can be applied.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplications value to be set
*/

public void setMaxApplications(final Long maxApplications);

/**
* <p>Number of times the DiscountCode can be applied per Customer.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplicationsPerCustomer value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public DiscountCodeDraftBuilder isActive(@Nullable final Boolean isActive) {

/**
* <p>Number of times the DiscountCode can be applied.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplications value to be set
* @return Builder
*/
Expand All @@ -287,7 +287,7 @@ public DiscountCodeDraftBuilder maxApplications(@Nullable final Long maxApplicat

/**
* <p>Number of times the DiscountCode can be applied per Customer.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplicationsPerCustomer value to be set
* @return Builder
*/
Expand Down Expand Up @@ -461,7 +461,7 @@ public Boolean getIsActive() {

/**
* <p>Number of times the DiscountCode can be applied.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplications
*/

Expand All @@ -472,7 +472,7 @@ public Long getMaxApplications() {

/**
* <p>Number of times the DiscountCode can be applied per Customer.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplicationsPerCustomer
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public Boolean getIsActive() {

/**
* <p>Number of times the DiscountCode can be applied.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
*/

public Long getMaxApplications() {
Expand All @@ -153,7 +153,7 @@ public Long getMaxApplications() {

/**
* <p>Number of times the DiscountCode can be applied per Customer.</p>
* <p>If not set, the DiscountCode can be applied any number of times.</p>
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
*/

public Long getMaxApplicationsPerCustomer() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,15 @@ public java.util.List<com.commercetools.api.models.common.Reference> getReferenc
}

/**
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
*/

public Long getMaxApplications() {
return this.maxApplications;
}

/**
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
*/

public Long getMaxApplicationsPerCustomer() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdate

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplications
*/

Expand All @@ -45,7 +45,7 @@ public interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdate

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplications value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class DiscountCodeSetMaxApplicationsActionBuilder implements Builder<Disc

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplications value to be set
* @return Builder
*/
Expand All @@ -39,7 +39,7 @@ public DiscountCodeSetMaxApplicationsActionBuilder maxApplications(@Nullable fin

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplications
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public String getAction() {

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
*/

public Long getMaxApplications() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface DiscountCodeSetMaxApplicationsPerCustomerAction extends Discoun

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplicationsPerCustomer
*/

Expand All @@ -45,7 +45,7 @@ public interface DiscountCodeSetMaxApplicationsPerCustomerAction extends Discoun

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplicationsPerCustomer value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class DiscountCodeSetMaxApplicationsPerCustomerActionBuilder

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @param maxApplicationsPerCustomer value to be set
* @return Builder
*/
Expand All @@ -41,7 +41,7 @@ public DiscountCodeSetMaxApplicationsPerCustomerActionBuilder maxApplicationsPer

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
* @return maxApplicationsPerCustomer
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public String getAction() {

/**
* <p>Value to set.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
*/

public Long getMaxApplicationsPerCustomer() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -532,3 +532,4 @@ a9c69a2e32f13e695d381fb1c492ee6ed7e6f046
da68d777f48ba0233a7542a5344d86ef185db481
d90411c7dae76245a17c90707bfd18b735f04a9c
7fe8fbd8d4276aa8a033b8cba92c68c695d808c2
053ba06830d03bf8eb9963500e4498f14754b746