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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 21 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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>

0 commit comments

Comments
 (0)