Skip to content

Commit 19300ef

Browse files
Merge pull request #842 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 70c1253 + 4e4ade5 commit 19300ef

File tree

68 files changed

+2720
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2720
-22
lines changed

changes.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- added type `BestDeal`
88
- added type `DiscountTypeCombination`
99
- added type `Stacking`
10+
- added type `OrderBusinessUnitSetMessage`
11+
- added type `OrderBusinessUnitSetMessagePayload`
12+
- added type `StagedOrderSetBusinessUnitAction`
13+
- added type `OrderSetBusinessUnitAction`
1014
</details>
1115

1216

commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls

+21
Original file line numberDiff line numberDiff line change
@@ -6886,6 +6886,12 @@ type OrderBillingAddressSet implements MessagePayload & OrderMessagePayload {
68866886
type: String!
68876887
}
68886888

6889+
type OrderBusinessUnitSet implements MessagePayload & OrderMessagePayload {
6890+
businessUnit: KeyReferenceInput
6891+
oldBusinessUnit: KeyReferenceInput
6892+
type: String!
6893+
}
6894+
68896895
input OrderCartCommand {
68906896
id: String
68916897
cart: ResourceIdentifierInput
@@ -7302,6 +7308,7 @@ input OrderUpdateAction {
73027308
setLineItemCustomType: SetOrderLineItemCustomType
73037309
setLineItemShippingDetails: SetOrderLineItemShippingDetails
73047310
setLocale: SetOrderLocale
7311+
setBusinessUnit: SetOrderBusinessUnit
73057312
setOrderNumber: SetOrderNumber
73067313
setParcelCustomField: SetOrderParcelCustomField
73077314
setParcelCustomType: SetOrderParcelCustomType
@@ -11465,6 +11472,10 @@ input SetOrderBillingAddressCustomType {
1146511472
typeId: String
1146611473
}
1146711474

11475+
input SetOrderBusinessUnit {
11476+
businessUnit: ResourceIdentifierInput
11477+
}
11478+
1146811479
input SetOrderCustomField {
1146911480
name: String!
1147011481
value: String
@@ -12372,6 +12383,15 @@ type SetStagedOrderBillingAddressOutput implements StagedOrderUpdateActionOutput
1237212383
address: AddressDraft
1237312384
}
1237412385

12386+
input SetStagedOrderBusinessUnit {
12387+
businessUnit: ResourceIdentifierInput
12388+
}
12389+
12390+
type SetStagedOrderBusinessUnitOutput implements StagedOrderUpdateActionOutput {
12391+
type: String!
12392+
businessUnitResId: ResourceIdentifier
12393+
}
12394+
1237512395
input SetStagedOrderCountry {
1237612396
country: Country
1237712397
}
@@ -13745,6 +13765,7 @@ input StagedOrderUpdateAction {
1374513765
setLineItemTaxRate: SetStagedOrderLineItemTaxRate
1374613766
setLineItemTotalPrice: SetStagedOrderLineItemTotalPrice
1374713767
setLocale: SetStagedOrderLocale
13768+
setBusinessUnit: SetStagedOrderBusinessUnit
1374813769
setOrderNumber: SetStagedOrderOrderNumber
1374913770
setOrderTotalTax: SetStagedOrderOrderTotalTax
1375013771
setParcelCustomField: SetStagedOrderParcelCustomField

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDDelete.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Deletes a Cart in the Project.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDGet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
23+
* <p>Retrieves a Cart with the provided <code>id</code>. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks if a Cart exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
19+
* <p>Checks if a Cart exists for the provided <code>id</code>. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDPost.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Updates a Cart in the Project using one or more update actions.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDPostString.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
*
24+
* <p>Updates a Cart in the Project using one or more update actions.</p>
2525
*
2626
* <hr>
2727
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks if a Cart of a Customer exists. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
19+
* <p>Checks if a Cart exists for a Customer. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsGet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Retrieves all Carts in the Project.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Checks if a Cart exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Carts match the Query Predicate, or a <code>404 Not Found</code> otherwise.</p>
23+
* <p>Checks if one or more Carts exist for the provided query predicate. Returns a <code>200 OK</code> status if any Carts match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyDelete.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Deletes a Cart in the Project.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyGet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
23+
* <p>Retrieves a Cart with the provided <code>key</code>. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks if a Cart exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
19+
* <p>Checks if a Cart exists for the provided <code>key</code>. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyPost.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Updates a Cart in the Project using one or more update actions.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyPostString.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
*
24+
* <p>Updates a Cart in the Project using one or more update actions.</p>
2525
*
2626
* <hr>
2727
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPost.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Creates a Cart in the Project.</p>
2324
* <p>If the referenced ShippingMethod in the CartDraft has a predicate that does not match, or if the Shipping Method is not active, an InvalidOperation error is returned.</p>
2425
* <p>Specific Error Codes:</p>
2526
* <ul>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPostString.java

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24+
* <p>Creates a Cart in the Project.</p>
2425
* <p>If the referenced ShippingMethod in the CartDraft has a predicate that does not match, or if the Shipping Method is not active, an InvalidOperation error is returned.</p>
2526
* <p>Specific Error Codes:</p>
2627
* <ul>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Deletes a Cart in a Store.</p>
2324
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2425
*
2526
* <hr>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Retrieves a Cart with the provided <code>id</code> in a Store.</p>
2324
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2425
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
2526
*

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks if a Cart exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
19+
* <p>Checks if a Cart exists for the provided <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Updates a Cart in the Store specified by <code>storeKey</code>. If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
23+
* <p>Updates a Cart in a Store using one or more update actions.</p>
24+
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2425
*
2526
* <hr>
2627
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>Updates a Cart in the Store specified by <code>storeKey</code>. If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
24+
* <p>Updates a Cart in a Store using one or more update actions.</p>
25+
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2526
*
2627
* <hr>
2728
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks if a Cart of a Customer exists. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
19+
* <p>Checks if one or more Carts exist for a Customer in a Store. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Queries Carts in a specific Store.</p>
23+
* <p>Retrieves all Carts in a Store.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Checks if a Cart exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Carts match the Query Predicate or a ResourceNotFound error otherwise.</p>
23+
* <p>Checks if one or more Carts exist for the provided query predicate in a Store. Returns a <code>200 OK</code> status if any Carts match the query predicate or a ResourceNotFound error otherwise.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Deletes a Cart in a Store.</p>
2324
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2425
*
2526
* <hr>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Retrieves a Cart with the provided <code>key</code> in a Store.</p>
2324
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2425
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
2526
*

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks if a Cart exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
19+
* <p>Checks if a Cart exists for the provided <code>key</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Updates a Cart in a Store using one or more update actions.</p>
2324
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2425
*
2526
* <hr>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString.java

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24+
* <p>Updates a Cart in a Store using one or more update actions.</p>
2425
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
2526
*
2627
* <hr>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Creates a Cart in the Store specified by <code>storeKey</code>.</p>
23+
* <p>Creates a Cart in a Store.</p>
2424
* <p>If the referenced ShippingMethod in the CartDraft has a predicate that does not match, or if the Shipping Method is not active, an InvalidOperation error is returned.</p>
2525
* <p>Specific Error Codes:</p>
2626
* <ul>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPostString.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>Creates a Cart in the Store specified by <code>storeKey</code>.</p>
24+
* <p>Creates a Cart in a Store.</p>
2525
* <p>If the referenced ShippingMethod in the CartDraft has a predicate that does not match, or if the Shipping Method is not active, an InvalidOperation error is returned.</p>
2626
* <p>Specific Error Codes:</p>
2727
* <ul>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/Message.java

+9
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
@JsonSubTypes.Type(value = com.commercetools.api.models.message.InventoryEntryQuantitySetMessageImpl.class, name = InventoryEntryQuantitySetMessage.INVENTORY_ENTRY_QUANTITY_SET),
153153
@JsonSubTypes.Type(value = com.commercetools.api.models.message.LineItemStateTransitionMessageImpl.class, name = LineItemStateTransitionMessage.LINE_ITEM_STATE_TRANSITION),
154154
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderBillingAddressSetMessageImpl.class, name = OrderBillingAddressSetMessage.ORDER_BILLING_ADDRESS_SET),
155+
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderBusinessUnitSetMessageImpl.class, name = OrderBusinessUnitSetMessage.ORDER_BUSINESS_UNIT_SET),
155156
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderCreatedMessageImpl.class, name = OrderCreatedMessage.ORDER_CREATED),
156157
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderCustomFieldAddedMessageImpl.class, name = OrderCustomFieldAddedMessage.ORDER_CUSTOM_FIELD_ADDED),
157158
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderCustomFieldChangedMessageImpl.class, name = OrderCustomFieldChangedMessage.ORDER_CUSTOM_FIELD_CHANGED),
@@ -2129,6 +2130,14 @@ public static com.commercetools.api.models.message.OrderBillingAddressSetMessage
21292130
return com.commercetools.api.models.message.OrderBillingAddressSetMessageBuilder.of();
21302131
}
21312132

2133+
/**
2134+
* builder for orderBusinessUnitSet subtype
2135+
* @return builder
2136+
*/
2137+
public static com.commercetools.api.models.message.OrderBusinessUnitSetMessageBuilder orderBusinessUnitSetBuilder() {
2138+
return com.commercetools.api.models.message.OrderBusinessUnitSetMessageBuilder.of();
2139+
}
2140+
21322141
/**
21332142
* builder for orderCreated subtype
21342143
* @return builder

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageBuilder.java

+4
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,10 @@ public com.commercetools.api.models.message.OrderBillingAddressSetMessageBuilder
451451
return com.commercetools.api.models.message.OrderBillingAddressSetMessageBuilder.of();
452452
}
453453

454+
public com.commercetools.api.models.message.OrderBusinessUnitSetMessageBuilder orderBusinessUnitSetBuilder() {
455+
return com.commercetools.api.models.message.OrderBusinessUnitSetMessageBuilder.of();
456+
}
457+
454458
public com.commercetools.api.models.message.OrderCreatedMessageBuilder orderCreatedBuilder() {
455459
return com.commercetools.api.models.message.OrderCreatedMessageBuilder.of();
456460
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayload.java

+9
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
@JsonSubTypes.Type(value = com.commercetools.api.models.message.InventoryEntryQuantitySetMessagePayloadImpl.class, name = InventoryEntryQuantitySetMessagePayload.INVENTORY_ENTRY_QUANTITY_SET),
140140
@JsonSubTypes.Type(value = com.commercetools.api.models.message.LineItemStateTransitionMessagePayloadImpl.class, name = LineItemStateTransitionMessagePayload.LINE_ITEM_STATE_TRANSITION),
141141
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderBillingAddressSetMessagePayloadImpl.class, name = OrderBillingAddressSetMessagePayload.ORDER_BILLING_ADDRESS_SET),
142+
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderBusinessUnitSetMessagePayloadImpl.class, name = OrderBusinessUnitSetMessagePayload.ORDER_BUSINESS_UNIT_SET),
142143
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderCreatedMessagePayloadImpl.class, name = OrderCreatedMessagePayload.ORDER_CREATED),
143144
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderCustomFieldAddedMessagePayloadImpl.class, name = OrderCustomFieldAddedMessagePayload.ORDER_CUSTOM_FIELD_ADDED),
144145
@JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderCustomFieldChangedMessagePayloadImpl.class, name = OrderCustomFieldChangedMessagePayload.ORDER_CUSTOM_FIELD_CHANGED),
@@ -1958,6 +1959,14 @@ public static com.commercetools.api.models.message.OrderBillingAddressSetMessage
19581959
return com.commercetools.api.models.message.OrderBillingAddressSetMessagePayloadBuilder.of();
19591960
}
19601961

1962+
/**
1963+
* builder for orderBusinessUnitSet subtype
1964+
* @return builder
1965+
*/
1966+
public static com.commercetools.api.models.message.OrderBusinessUnitSetMessagePayloadBuilder orderBusinessUnitSetBuilder() {
1967+
return com.commercetools.api.models.message.OrderBusinessUnitSetMessagePayloadBuilder.of();
1968+
}
1969+
19611970
/**
19621971
* builder for orderCreated subtype
19631972
* @return builder

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadBuilder.java

+4
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,10 @@ public com.commercetools.api.models.message.OrderBillingAddressSetMessagePayload
451451
return com.commercetools.api.models.message.OrderBillingAddressSetMessagePayloadBuilder.of();
452452
}
453453

454+
public com.commercetools.api.models.message.OrderBusinessUnitSetMessagePayloadBuilder orderBusinessUnitSetBuilder() {
455+
return com.commercetools.api.models.message.OrderBusinessUnitSetMessagePayloadBuilder.of();
456+
}
457+
454458
public com.commercetools.api.models.message.OrderCreatedMessagePayloadBuilder orderCreatedBuilder() {
455459
return com.commercetools.api.models.message.OrderCreatedMessagePayloadBuilder.of();
456460
}

0 commit comments

Comments
 (0)