Skip to content

Update generated SDKs #685

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2024
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 @@ -98,6 +98,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>
* @return maxApplications
*/

Expand All @@ -106,6 +107,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>
* @return maxApplicationsPerCustomer
*/

Expand Down Expand Up @@ -203,13 +205,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>
* @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>
* @param maxApplicationsPerCustomer value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,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>
* @param maxApplications value to be set
* @return Builder
*/
Expand All @@ -285,6 +286,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>
* @param maxApplicationsPerCustomer value to be set
* @return Builder
*/
Expand Down Expand Up @@ -457,6 +459,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>
* @return maxApplications
*/

Expand All @@ -467,6 +470,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>
* @return maxApplicationsPerCustomer
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,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>
*/

public Long getMaxApplications() {
Expand All @@ -151,6 +152,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>
*/

public Long getMaxApplicationsPerCustomer() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,17 @@ public interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdate
String SET_MAX_APPLICATIONS = "setMaxApplications";

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @return maxApplications
*/

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

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @param maxApplications value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public class DiscountCodeSetMaxApplicationsActionBuilder implements Builder<Disc
private Long maxApplications;

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @param maxApplications value to be set
* @return Builder
*/
Expand All @@ -37,7 +38,8 @@ public DiscountCodeSetMaxApplicationsActionBuilder maxApplications(@Nullable fin
}

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @return maxApplications
*/

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

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
*/

public Long getMaxApplications() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,17 @@ public interface DiscountCodeSetMaxApplicationsPerCustomerAction extends Discoun
String SET_MAX_APPLICATIONS_PER_CUSTOMER = "setMaxApplicationsPerCustomer";

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @return maxApplicationsPerCustomer
*/

@JsonProperty("maxApplicationsPerCustomer")
public Long getMaxApplicationsPerCustomer();

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @param maxApplicationsPerCustomer value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public class DiscountCodeSetMaxApplicationsPerCustomerActionBuilder
private Long maxApplicationsPerCustomer;

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @param maxApplicationsPerCustomer value to be set
* @return Builder
*/
Expand All @@ -39,7 +40,8 @@ public DiscountCodeSetMaxApplicationsPerCustomerActionBuilder maxApplicationsPer
}

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* @return maxApplicationsPerCustomer
*/

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

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
*/

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 @@ -268,3 +268,4 @@ e5268785dcaf7bd56dafa13f2901b69468552fd0
28ca8abbefd999fa19fc31d729cb711cd3341a23
f406baef04eced1a7bda3817e935f54e234a9f4e
c163df6435d9b4770f1d07cd2cb379c1f620ceb5
12d3fba1b3f1f281cc37eaa04513df858393ab39
Loading