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
43 changes: 4 additions & 39 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,9 @@
<details>
<summary>Added Type(s)</summary>

- added type `CartDiscountSetRecurringOrderScopeAction`
- added type `CartLock`
- added type `FreezeStrategy`
- added type `CartLockCartAction`
- added type `CartSetPurchaseOrderNumberAction`
- added type `CartUnlockCartAction`
- added type `CartPurchaseOrderNumberSetMessage`
- added type `CartPurchaseOrderNumberSetMessagePayload`
- added type `AnyOrder`
- added type `AnyOrderDraft`
- added type `ApplicableRecurrencePolicies`
- added type `ApplicableRecurrencePoliciesDraft`
- added type `NonRecurringOrdersOnly`
- added type `NonRecurringOrdersOnlyDraft`
- added type `RecurringOrderScope`
- added type `RecurringOrderScopeDraft`
- added type `RecurringOrdersOnly`
- added type `RecurringOrdersOnlyDraft`
</details>


<details>
<summary>Required Property(s)</summary>

- :warning: changed property `deleteDaysAfterLastModification` of type `CartsConfiguration` to be required
- :warning: changed property `deleteDaysAfterLastModification` of type `ShoppingListsConfiguration` to be required
</details>


<details>
<summary>Added Property(s)</summary>

- added property `recurringOrderScope` to type `CartDiscount`
- added property `recurringOrderScope` to type `CartDiscountDraft`
- added property `freezeStrategy` to type `Cart`
- added property `lock` to type `Cart`
- added property `purchaseOrderNumber` to type `Cart`
- added property `purchaseOrderNumber` to type `CartDraft`
- added property `strategy` to type `CartFreezeCartAction`
- added type `ExactLockConflictError`
- added type `ValidityLockConflictError`
- added type `GraphQLExactLockConflictError`
- added type `GraphQLValidityLockConflictError`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
*
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</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>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
*
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</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>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* <ul>
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a <a href="https://docs.commercetools.com/apis/ctp:api:type:DuplicateStandalonePriceScopeError" rel="nofollow">DuplicateStandalonePriceScope</a> error is returned.</li>
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a <a href="https://docs.commercetools.com/apis/ctp:api:type:OverlappingStandalonePriceValidityError" rel="nofollow">OverlappingStandalonePriceValidity</a> error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
* <li>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* <ul>
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a <a href="https://docs.commercetools.com/apis/ctp:api:type:DuplicateStandalonePriceScopeError" rel="nofollow">DuplicateStandalonePriceScope</a> error is returned.</li>
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a <a href="https://docs.commercetools.com/apis/ctp:api:type:OverlappingStandalonePriceValidityError" rel="nofollow">OverlappingStandalonePriceValidity</a> error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
* <li>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,14 @@ public static com.commercetools.api.models.error.EnumValuesMustMatchErrorBuilder
return com.commercetools.api.models.error.EnumValuesMustMatchErrorBuilder.of();
}

/**
* builder for exactLockConflict subtype
* @return builder
*/
public static com.commercetools.api.models.error.ExactLockConflictErrorBuilder exactLockConflictBuilder() {
return com.commercetools.api.models.error.ExactLockConflictErrorBuilder.of();
}

/**
* builder for expiredCustomerEmailToken subtype
* @return builder
Expand Down Expand Up @@ -743,6 +751,14 @@ public static com.commercetools.api.models.error.SyntaxErrorErrorBuilder syntaxE
return com.commercetools.api.models.error.SyntaxErrorErrorBuilder.of();
}

/**
* builder for validityLockConflict subtype
* @return builder
*/
public static com.commercetools.api.models.error.ValidityLockConflictErrorBuilder validityLockConflictBuilder() {
return com.commercetools.api.models.error.ValidityLockConflictErrorBuilder.of();
}

/**
* accessor map function
* @param <T> mapped type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ public com.commercetools.api.models.error.EnumValuesMustMatchErrorBuilder enumVa
return com.commercetools.api.models.error.EnumValuesMustMatchErrorBuilder.of();
}

public com.commercetools.api.models.error.ExactLockConflictErrorBuilder exactLockConflictBuilder() {
return com.commercetools.api.models.error.ExactLockConflictErrorBuilder.of();
}

public com.commercetools.api.models.error.ExpiredCustomerEmailTokenErrorBuilder expiredCustomerEmailTokenBuilder() {
return com.commercetools.api.models.error.ExpiredCustomerEmailTokenErrorBuilder.of();
}
Expand Down Expand Up @@ -335,6 +339,10 @@ public com.commercetools.api.models.error.SyntaxErrorErrorBuilder syntaxErrorBui
return com.commercetools.api.models.error.SyntaxErrorErrorBuilder.of();
}

public com.commercetools.api.models.error.ValidityLockConflictErrorBuilder validityLockConflictBuilder() {
return com.commercetools.api.models.error.ValidityLockConflictErrorBuilder.of();
}

/**
* factory method for an instance of ErrorObjectBuilder
* @return builder
Expand Down
Loading