Skip to content

Commit

Permalink
Merge pull request #520 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Dec 4, 2023
2 parents 6146fe8 + 86f03a2 commit 05f8400
Show file tree
Hide file tree
Showing 136 changed files with 260 additions and 249 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> representation of the new Product in the master catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> representation of the new Product in the master catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public interface ApprovalFlowUpdate {

/**
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/
@NotNull
Expand All @@ -51,7 +51,7 @@ public interface ApprovalFlowUpdate {
public List<ApprovalFlowUpdateAction> getActions();

/**
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ApprovalFlowUpdateBuilder implements Builder<ApprovalFlowUpdate> {
private java.util.List<com.commercetools.api.models.approval_flow.ApprovalFlowUpdateAction> actions;

/**
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
* @return Builder
*/
Expand Down Expand Up @@ -108,7 +108,7 @@ public ApprovalFlowUpdateBuilder withActions(
}

/**
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ApprovalFlowUpdateImpl() {
}

/**
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
*/

public Long getVersion() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public interface ApprovalRuleUpdate {

/**
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/
@NotNull
Expand All @@ -51,7 +51,7 @@ public interface ApprovalRuleUpdate {
public List<ApprovalRuleUpdateAction> getActions();

/**
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ApprovalRuleUpdateBuilder implements Builder<ApprovalRuleUpdate> {
private java.util.List<com.commercetools.api.models.approval_rule.ApprovalRuleUpdateAction> actions;

/**
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
* @return Builder
*/
Expand Down Expand Up @@ -108,7 +108,7 @@ public ApprovalRuleUpdateBuilder withActions(
}

/**
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ApprovalRuleUpdateImpl() {
}

/**
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
*/

public Long getVersion() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public interface AssociateRoleUpdate {

/**
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/
@NotNull
Expand All @@ -51,7 +51,7 @@ public interface AssociateRoleUpdate {
public List<AssociateRoleUpdateAction> getActions();

/**
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AssociateRoleUpdateBuilder implements Builder<AssociateRoleUpdate>
private java.util.List<com.commercetools.api.models.associate_role.AssociateRoleUpdateAction> actions;

/**
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
* @return Builder
*/
Expand Down Expand Up @@ -108,7 +108,7 @@ public AssociateRoleUpdateBuilder withActions(
}

/**
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public AssociateRoleUpdateImpl() {
}

/**
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
*/

public Long getVersion() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface AttributeGroupUpdate extends
com.commercetools.api.models.ResourceUpdate<AttributeGroupUpdate, AttributeGroupUpdateAction, AttributeGroupUpdateBuilder> {

/**
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.</p>
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/
@NotNull
Expand All @@ -52,7 +52,7 @@ public interface AttributeGroupUpdate extends
public List<AttributeGroupUpdateAction> getActions();

/**
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.</p>
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AttributeGroupUpdateBuilder implements Builder<AttributeGroupUpdate
private java.util.List<com.commercetools.api.models.attribute_group.AttributeGroupUpdateAction> actions;

/**
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.</p>
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
* @return Builder
*/
Expand Down Expand Up @@ -108,7 +108,7 @@ public AttributeGroupUpdateBuilder withActions(
}

/**
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.</p>
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public AttributeGroupUpdateImpl() {
}

/**
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.</p>
* <p>Expected version of the AttributeGroup on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
*/

public Long getVersion() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface BusinessUnitUpdate extends
com.commercetools.api.models.ResourceUpdate<BusinessUnitUpdate, BusinessUnitUpdateAction, BusinessUnitUpdateBuilder> {

/**
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/
@NotNull
Expand All @@ -52,7 +52,7 @@ public interface BusinessUnitUpdate extends
public List<BusinessUnitUpdateAction> getActions();

/**
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class BusinessUnitUpdateBuilder implements Builder<BusinessUnitUpdate> {
private java.util.List<com.commercetools.api.models.business_unit.BusinessUnitUpdateAction> actions;

/**
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @param version value to be set
* @return Builder
*/
Expand Down Expand Up @@ -108,7 +108,7 @@ public BusinessUnitUpdateBuilder withActions(
}

/**
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
* @return version
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public BusinessUnitUpdateImpl() {
}

/**
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.</p>
* <p>Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.</p>
*/

public Long getVersion() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
public Address getBillingAddress();

/**
* <p>Shipping address associated with the Cart. Determines eligible ShippingMethod rates and Tax Rates of Line Items.</p>
* <p>Shipping address for a Cart with <code>Single</code> ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.</p>
* @return shippingAddress
*/
@Valid
Expand Down Expand Up @@ -313,7 +313,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod

/**
* <p>Additional shipping addresses of the Cart as specified by LineItems using the <code>shippingDetails</code> field.</p>
* <p>Eligible Shipping Methods or applicable Tax Rates are determined by the address in <code>shippingAddress</code>, and not <code>itemShippingAddresses</code>.</p>
* <p>For Carts with <code>Single</code> ShippingMode: eligible Shipping Methods or applicable Tax Rates are determined by the address in <code>shippingAddress</code>, and not <code>itemShippingAddresses</code>.</p>
* @return itemShippingAddresses
*/
@NotNull
Expand Down Expand Up @@ -604,7 +604,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
public void setBillingAddress(final Address billingAddress);

/**
* <p>Shipping address associated with the Cart. Determines eligible ShippingMethod rates and Tax Rates of Line Items.</p>
* <p>Shipping address for a Cart with <code>Single</code> ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.</p>
* @param shippingAddress value to be set
*/

Expand Down Expand Up @@ -667,7 +667,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod

/**
* <p>Additional shipping addresses of the Cart as specified by LineItems using the <code>shippingDetails</code> field.</p>
* <p>Eligible Shipping Methods or applicable Tax Rates are determined by the address in <code>shippingAddress</code>, and not <code>itemShippingAddresses</code>.</p>
* <p>For Carts with <code>Single</code> ShippingMode: eligible Shipping Methods or applicable Tax Rates are determined by the address in <code>shippingAddress</code>, and not <code>itemShippingAddresses</code>.</p>
* @param itemShippingAddresses values to be set
*/

Expand All @@ -676,7 +676,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod

/**
* <p>Additional shipping addresses of the Cart as specified by LineItems using the <code>shippingDetails</code> field.</p>
* <p>Eligible Shipping Methods or applicable Tax Rates are determined by the address in <code>shippingAddress</code>, and not <code>itemShippingAddresses</code>.</p>
* <p>For Carts with <code>Single</code> ShippingMode: eligible Shipping Methods or applicable Tax Rates are determined by the address in <code>shippingAddress</code>, and not <code>itemShippingAddresses</code>.</p>
* @param itemShippingAddresses values to be set
*/

Expand Down
Loading

0 comments on commit 05f8400

Please sign in to comment.