diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java index 4fef30eb37b..8e8cbdb1e3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java @@ -18,7 +18,7 @@ /** *
Either the scope manage_products:{projectKey}
or manage_categories:{projectKey}
is required.
Creating a Category produces the CategoryCreatedMessage.
+ *Creating a Category produces the CategoryCreated Message.
* *Produces the InventoryEntryDeletedMessage.
+ *Produces the InventoryEntryDeleted Message.
* *Produces the InventoryEntryDeletedMessage.
+ *Produces the InventoryEntryDeleted Message.
* *Produces the InventoryEntryCreatedMessage.
+ *Produces the InventoryEntryCreated Message.
* *Deprecated scope: view_orders:{projectKey}
Deprecated scope: view_orders:{projectKey}
Create an Order from a Quote
+ * + *{@code
+ * CompletableFuture> result = apiRoot
+ * .withProjectKey("{projectKey}")
+ * .orders()
+ * .orderQuote()
+ * .post(null)
+ * .execute()
+ * }
+ * If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.
* *Gets the full representation of a product by ID.
+ *If Price selection query parameters are provided, the selected Prices are added to the response.
* *Checks if product with given ID exists.
+ *Check if a Product exists with a specified id
. Responds with a 200 OK
status if the Product exists or 404 Not Found
otherwise.
Uploads a binary image file to a given product variant. The supported image formats are JPEG, PNG and GIF.
+ *Upload a JPEG, PNG and GIF file to a ProductVariant. The maximum file size of the image is 10MB. variant
or sku
is required to update a specific ProductVariant. The image is uploaded to the Master Variant if variant
or sku
are not included. Produces the ProductImageAdded Message when the Small
version of the image has been uploaded to the CDN.
If Price selection query parameters are provided, the selected Prices are added to the response.
* *You can use the query endpoint to get the full representations of products. REMARK: We suggest to use the performance optimized search endpoint which has a bunch functionalities, the query API lacks like sorting on custom attributes, etc.
+ *If Price selection query parameters are provided, the selected Prices are added to the response.
* *Checks if products exist.
+ *Check if Products exist. Responds with a 200 OK
status if any Products match the Query Predicate, or 404 Not Found
otherwise.
If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.
* *Gets the full representation of a product by Key.
+ *If Price selection query parameters are provided, the selected Prices are added to the response.
* *Checks if product with given key exists.
+ *Check if a Product exists with a specified key
. Responds with a 200 OK
status if the Product exists or 404 Not Found
otherwise.
To create a new product, send a representation that is going to become the initial staged representation of the new product in the master catalog. If price selection query parameters are provided, the selected prices will be added to the response.
+ *To create a new Product, send a representation that is going to become the initial staged 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.
* *Produces the StandalonePriceDeletedMessage.
+ *Produces the StandalonePriceDeleted Message.
* *Produces the StandalonePriceDeletedMessage.
+ *Produces the StandalonePriceDeleted Message.
* *Produces the StandalonePriceCreatedMessage.
+ *Produces the StandalonePriceCreated Message.
* *Sum of taxedPrice
of ShippingInfo across all Shipping Methods. For Platform
TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.
Indicates whether one or multiple Shipping Methods are added to the Cart.
+ */ + @NotNull + @JsonProperty("shippingMode") + public ShippingMode getShippingMode(); + + /** + *Holds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + @NotNull + @Valid + @JsonProperty("shipping") + public ListSet automatically once the ShippingMethod is set.
+ *Shipping-related information of a Cart with Single
ShippingMode. Set automatically once the ShippingMethod is set.
Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.
@@ -165,6 +168,19 @@ public CartAddCustomLineItemActionBuilder externalTaxRate( return this; } + /** + *Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.
+ * CartAddCustomShippingMethodAction cartAddCustomShippingMethodAction = CartAddCustomShippingMethodAction.builder()
+ * .shippingKey("{shippingKey}")
+ * .shippingMethodName("{shippingMethodName}")
+ * .shippingRate(shippingRateBuilder -> shippingRateBuilder)
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the custom Shipping Method in a Cart with Multi
ShippingMode.
Name of the custom Shipping Method.
+ */ + @NotNull + @JsonProperty("shippingMethodName") + public String getShippingMethodName(); + + /** + *Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *Determines the shipping price.
+ */ + @NotNull + @Valid + @JsonProperty("shippingRate") + public ShippingRateDraft getShippingRate(); + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Rate used to tax a shipping expense if the Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + @NotNull + @Valid + @JsonProperty("deliveries") + public ListCustom Fields for the custom Shipping Method.
+ */ + + @JsonProperty("custom") + public String getCustom(); + + public void setShippingKey(final String shippingKey); + + public void setShippingMethodName(final String shippingMethodName); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRate(final ShippingRateDraft shippingRate); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setTaxCategory(final TaxCategoryResourceIdentifier taxCategory); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List
+ * CartAddCustomShippingMethodAction cartAddCustomShippingMethodAction = CartAddCustomShippingMethodAction.builder()
+ * .shippingKey("{shippingKey}")
+ * .shippingMethodName("{shippingMethodName}")
+ * .shippingRate(shippingRateBuilder -> shippingRateBuilder)
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the custom Shipping Method in a Cart with Multi
ShippingMode.
Name of the custom Shipping Method.
+ */ + + public CartAddCustomShippingMethodActionBuilder shippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + return this; + } + + /** + *Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public CartAddCustomShippingMethodActionBuilder shippingAddress( + FunctionDetermines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public CartAddCustomShippingMethodActionBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *Determines the shipping price.
+ */ + + public CartAddCustomShippingMethodActionBuilder shippingRate( + FunctionDetermines the shipping price.
+ */ + + public CartAddCustomShippingMethodActionBuilder shippingRate( + final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + return this; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Rate used to tax a shipping expense if the Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddCustomShippingMethodActionBuilder deliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddCustomShippingMethodActionBuilder deliveries( + final java.util.ListDeliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddCustomShippingMethodActionBuilder plusDeliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddCustomShippingMethodActionBuilder plusDeliveries( + FunctionDeliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddCustomShippingMethodActionBuilder withDeliveries( + FunctionCustom Fields for the custom Shipping Method.
+ */ + + public CartAddCustomShippingMethodActionBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { + return this.taxCategory; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.ListUser-defined unique identifier of the custom Shipping Method in a Cart with Multi
ShippingMode.
Name of the custom Shipping Method.
+ */ + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + /** + *Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *Determines the shipping price.
+ */ + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Rate used to tax a shipping expense if the Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public java.util.ListCustom Fields for the custom Shipping Method.
+ */ + + public String getCustom() { + return this.custom; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setShippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRate(final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setTaxCategory( + final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory) { + this.taxCategory = taxCategory; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.ListThis update action fails with an InvalidOperation error if the referenced shipping method has a predicate that does not match the Cart.
+ * + *
+ * CartAddShippingMethodAction cartAddShippingMethodAction = CartAddShippingMethodAction.builder()
+ * .shippingKey("{shippingKey}")
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Value to set. If empty, any existing value is removed.
+ */ + @Valid + @JsonProperty("shippingMethod") + public ShippingMethodReference getShippingMethod(); + + /** + *Determines the shipping rate and Tax Rate of the Line Items.
+ */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Rate used to tax a shipping expense if a Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + @NotNull + @Valid + @JsonProperty("deliveries") + public ListCustom Fields for the Shipping Method.
+ */ + + @JsonProperty("custom") + public String getCustom(); + + public void setShippingKey(final String shippingKey); + + public void setShippingMethod(final ShippingMethodReference shippingMethod); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List
+ * CartAddShippingMethodAction cartAddShippingMethodAction = CartAddShippingMethodAction.builder()
+ * .shippingKey("{shippingKey}")
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Value to set. If empty, any existing value is removed.
+ */ + + public CartAddShippingMethodActionBuilder shippingMethod( + FunctionValue to set. If empty, any existing value is removed.
+ */ + + public CartAddShippingMethodActionBuilder shippingMethod( + @Nullable final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + return this; + } + + /** + *Determines the shipping rate and Tax Rate of the Line Items.
+ */ + + public CartAddShippingMethodActionBuilder shippingAddress( + FunctionDetermines the shipping rate and Tax Rate of the Line Items.
+ */ + + public CartAddShippingMethodActionBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Rate used to tax a shipping expense if a Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddShippingMethodActionBuilder deliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddShippingMethodActionBuilder deliveries( + final java.util.ListDeliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddShippingMethodActionBuilder plusDeliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddShippingMethodActionBuilder plusDeliveries( + FunctionDeliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CartAddShippingMethodActionBuilder withDeliveries( + FunctionCustom Fields for the Shipping Method.
+ */ + + public CartAddShippingMethodActionBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + @Nullable + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.ListThis update action fails with an InvalidOperation error if the referenced shipping method has a predicate that does not match the Cart.
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartAddShippingMethodActionImpl implements CartAddShippingMethodAction, ModelBase { + + private String action; + + private String shippingKey; + + private com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod; + + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + private String externalTaxRate; + + private java.util.ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Value to set. If empty, any existing value is removed.
+ */ + + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + /** + *Determines the shipping rate and Tax Rate of the Line Items.
+ */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Rate used to tax a shipping expense if a Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public java.util.ListCustom Fields for the Shipping Method.
+ */ + + public String getCustom() { + return this.custom; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setShippingMethod( + final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.ListSum of taxedPrice
of ShippingInfo across all Shipping Methods. For Platform
TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.
Sum of taxedPrice
of ShippingInfo across all Shipping Methods. For Platform
TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.
Indicates whether one or multiple Shipping Methods are added to the Cart.
+ */ + + public CartBuilder shippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + return this; + } + + /** + *Holds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + + public CartBuilder shipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + return this; + } + + /** + *Holds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + + public CartBuilder shipping(final java.util.ListHolds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + + public CartBuilder plusShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.addAll(Arrays.asList(shipping)); + return this; + } + + /** + *Holds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + + public CartBuilder plusShipping( + FunctionHolds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + + public CartBuilder withShipping( + FunctionSet automatically once the ShippingMethod is set.
+ *Shipping-related information of a Cart with Single
ShippingMode. Set automatically once the ShippingMethod is set.
Set automatically once the ShippingMethod is set.
+ *Shipping-related information of a Cart with Single
ShippingMode. Set automatically once the ShippingMethod is set.
Single
, only a single Shipping Method can be added to the Cart.Multi
, multiple Shipping Methods can be added to the Cart.Custom Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set.
*/ @@ -260,6 +284,18 @@ public interface CartDraft extends com.commercetools.api.models.CustomizableDraf public void setOrigin(final CartOrigin origin); + public void setShippingMode(final ShippingMode shippingMode); + + @JsonIgnore + public void setCustomShipping(final CustomShippingDraft... customShipping); + + public void setCustomShipping(final ListSingle
, only a single Shipping Method can be added to the Cart.Multi
, multiple Shipping Methods can be added to the Cart.Custom Shipping Methods for a Cart with Multi
ShippingMode.
Custom Shipping Methods for a Cart with Multi
ShippingMode.
Custom Shipping Methods for a Cart with Multi
ShippingMode.
Custom Shipping Methods for a Cart with Multi
ShippingMode.
Custom Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set.
*/ @@ -696,6 +831,21 @@ public com.commercetools.api.models.cart.CartOrigin getOrigin() { return this.origin; } + @Nullable + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + @Nullable + public java.util.ListSingle
, only a single Shipping Method can be added to the Cart.Multi
, multiple Shipping Methods can be added to the Cart.Custom Shipping Methods for a Cart with Multi
ShippingMode.
Shipping Methods for a Cart with Multi
ShippingMode.
The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set.
*/ @@ -425,6 +464,27 @@ public void setOrigin(final com.commercetools.api.models.cart.CartOrigin origin) this.origin = origin; } + public void setShippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + } + + public void setCustomShipping(final com.commercetools.api.models.cart.CustomShippingDraft... customShipping) { + this.customShipping = new ArrayList<>(Arrays.asList(customShipping)); + } + + public void setCustomShipping( + final java.util.ListSum of taxedPrice
of ShippingInfo across all Shipping Methods. For Platform
TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.
Indicates whether one or multiple Shipping Methods are added to the Cart.
+ */ + + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + /** + *Holds all shipping-related information per Shipping Method of a Cart with Multi
ShippingMode.
It is automatically updated after the Shipping Method is added.
+ */ + + public java.util.ListSet automatically once the ShippingMethod is set.
+ *Shipping-related information of a Cart with Single
ShippingMode. Set automatically once the ShippingMethod is set.
+ * CartRemoveShippingMethodAction cartRemoveShippingMethodAction = CartRemoveShippingMethodAction.builder()
+ * .shippingKey("{shippingKey}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method to remove in a Cart with Multi
ShippingMode.
+ * CartRemoveShippingMethodAction cartRemoveShippingMethodAction = CartRemoveShippingMethodAction.builder()
+ * .shippingKey("{shippingKey}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method to remove in a Cart with Multi
ShippingMode.
User-defined unique identifier of the Shipping Method to remove in a Cart with Multi
ShippingMode.
+ * CartSetShippingCustomFieldAction cartSetShippingCustomFieldAction = CartSetShippingCustomFieldAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Name of the Custom Field.
+ */ + @NotNull + @JsonProperty("name") + public String getName(); + + /** + *If value
is absent or null
, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
+ * CartSetShippingCustomFieldAction cartSetShippingCustomFieldAction = CartSetShippingCustomFieldAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Name of the Custom Field.
+ */ + + public CartSetShippingCustomFieldActionBuilder name(final String name) { + this.name = name; + return this; + } + + /** + *If value
is absent or null
, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Name of the Custom Field.
+ */ + + public String getName() { + return this.name; + } + + /** + *If value
is absent or null
, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
+ * CartSetShippingCustomTypeAction cartSetShippingCustomTypeAction = CartSetShippingCustomTypeAction.builder()
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Defines the Type that extends the shippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress
.
Sets the Custom Fields fields for the shippingAddress
.
+ * CartSetShippingCustomTypeAction cartSetShippingCustomTypeAction = CartSetShippingCustomTypeAction.builder()
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Defines the Type that extends the shippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress
.
Defines the Type that extends the shippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress
.
Sets the Custom Fields fields for the shippingAddress
.
Sets the Custom Fields fields for the shippingAddress
.
User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Defines the Type that extends the shippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress
.
Sets the Custom Fields fields for the shippingAddress
.
Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item: Standard
= yes, External
= no.
Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
*/ @NotNull @JsonProperty("priceMode") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java index 016eea1c982..0551c45cc62 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java @@ -362,7 +362,7 @@ public CustomLineItemBuilder shippingDetails( } /** - *Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item: Standard
= yes, External
= no.
Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
*/ public CustomLineItemBuilder priceMode(final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java index d7e30d5314b..1bbda82d32c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java @@ -29,6 +29,7 @@ * .quantity(0.3) * .money(moneyBuilder -> moneyBuilder) * .slug("{slug}") + * .priceMode(CustomLineItemPriceMode.STANDARD) * .build() * *Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item: Standard
= yes, External
= no.
Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
*/ public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java index 40453531c20..9659a099dc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java @@ -31,6 +31,7 @@ * .quantity(0.3) * .money(moneyBuilder -> moneyBuilder) * .slug("{slug}") + * .priceMode(CustomLineItemPriceMode.STANDARD) * .build() * *Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.Standard
, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.External
, Cart Discounts are not considered on the Custom Line Item.
+ * CustomShippingDraft customShippingDraft = CustomShippingDraft.builder()
+ * .key("{key}")
+ * .shippingMethodName("{shippingMethodName}")
+ * .shippingRate(shippingRateBuilder -> shippingRateBuilder)
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the custom Shipping Method in a Cart with Multi
ShippingMode.
Name of the custom Shipping Method.
+ */ + @NotNull + @JsonProperty("shippingMethodName") + public String getShippingMethodName(); + + /** + *Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *Determines the shipping price.
+ */ + @NotNull + @Valid + @JsonProperty("shippingRate") + public ShippingRateDraft getShippingRate(); + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Rate used to tax a shipping expense if the Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + @NotNull + @Valid + @JsonProperty("deliveries") + public ListCustom Fields for the custom Shipping Method.
+ */ + + @JsonProperty("custom") + public String getCustom(); + + public void setKey(final String key); + + public void setShippingMethodName(final String shippingMethodName); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRate(final ShippingRateDraft shippingRate); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setTaxCategory(final TaxCategoryResourceIdentifier taxCategory); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List
+ * CustomShippingDraft customShippingDraft = CustomShippingDraft.builder()
+ * .key("{key}")
+ * .shippingMethodName("{shippingMethodName}")
+ * .shippingRate(shippingRateBuilder -> shippingRateBuilder)
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the custom Shipping Method in a Cart with Multi
ShippingMode.
Name of the custom Shipping Method.
+ */ + + public CustomShippingDraftBuilder shippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + return this; + } + + /** + *Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public CustomShippingDraftBuilder shippingAddress( + FunctionDetermines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public CustomShippingDraftBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *Determines the shipping price.
+ */ + + public CustomShippingDraftBuilder shippingRate( + FunctionDetermines the shipping price.
+ */ + + public CustomShippingDraftBuilder shippingRate( + final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + return this; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Rate used to tax a shipping expense if the Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CustomShippingDraftBuilder deliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CustomShippingDraftBuilder deliveries( + final java.util.ListDeliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CustomShippingDraftBuilder plusDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CustomShippingDraftBuilder plusDeliveries( + FunctionDeliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public CustomShippingDraftBuilder withDeliveries( + FunctionCustom Fields for the custom Shipping Method.
+ */ + + public CustomShippingDraftBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getKey() { + return this.key; + } + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { + return this.taxCategory; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.ListUser-defined unique identifier of the custom Shipping Method in a Cart with Multi
ShippingMode.
Name of the custom Shipping Method.
+ */ + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + /** + *Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *Determines the shipping price.
+ */ + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Category used to determine a shipping Tax Rate if a Cart has the Platform
TaxMode.
Tax Rate used to tax a shipping expense if the Cart has the External
TaxMode.
Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.
+ */ + + public java.util.ListCustom Fields for the custom Shipping Method.
+ */ + + public String getCustom() { + return this.custom; + } + + public void setKey(final String key) { + this.key = key; + } + + public void setShippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRate(final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setTaxCategory( + final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory) { + this.taxCategory = taxCategory; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
It connects Line Item quantities with individual shipping addresses.
+ */ + + @JsonProperty("shippingMethodKey") + public String getShippingMethodKey(); + public void setAddressKey(final String addressKey); public void setQuantity(final Long quantity); + public void setShippingMethodKey(final String shippingMethodKey); + public static ItemShippingTarget of() { return new ItemShippingTargetImpl(); } @@ -56,6 +66,7 @@ public static ItemShippingTarget of(final ItemShippingTarget template) { ItemShippingTargetImpl instance = new ItemShippingTargetImpl(); instance.setAddressKey(template.getAddressKey()); instance.setQuantity(template.getQuantity()); + instance.setShippingMethodKey(template.getShippingMethodKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java index 2d1f385bc19..1b38952b481 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java @@ -3,6 +3,8 @@ import java.util.*; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -26,6 +28,9 @@ public class ItemShippingTargetBuilder implements BuilderThe key of the address in the cart's itemShippingAddresses
User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
It connects Line Item quantities with individual shipping addresses.
+ */ + + public ItemShippingTargetBuilder shippingMethodKey(@Nullable final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + return this; + } + public String getAddressKey() { return this.addressKey; } @@ -52,17 +67,22 @@ public Long getQuantity() { return this.quantity; } + @Nullable + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + public ItemShippingTarget build() { Objects.requireNonNull(addressKey, ItemShippingTarget.class + ": addressKey is missing"); Objects.requireNonNull(quantity, ItemShippingTarget.class + ": quantity is missing"); - return new ItemShippingTargetImpl(addressKey, quantity); + return new ItemShippingTargetImpl(addressKey, quantity, shippingMethodKey); } /** * builds ItemShippingTarget without checking for non null required values */ public ItemShippingTarget buildUnchecked() { - return new ItemShippingTargetImpl(addressKey, quantity); + return new ItemShippingTargetImpl(addressKey, quantity, shippingMethodKey); } public static ItemShippingTargetBuilder of() { @@ -73,6 +93,7 @@ public static ItemShippingTargetBuilder of(final ItemShippingTarget template) { ItemShippingTargetBuilder builder = new ItemShippingTargetBuilder(); builder.addressKey = template.getAddressKey(); builder.quantity = template.getQuantity(); + builder.shippingMethodKey = template.getShippingMethodKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java index 38ba527a5f5..cf560f8ca45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java @@ -24,11 +24,15 @@ public class ItemShippingTargetImpl implements ItemShippingTarget, ModelBase { private Long quantity; + private String shippingMethodKey; + @JsonCreator ItemShippingTargetImpl(@JsonProperty("addressKey") final String addressKey, - @JsonProperty("quantity") final Long quantity) { + @JsonProperty("quantity") final Long quantity, + @JsonProperty("shippingMethodKey") final String shippingMethodKey) { this.addressKey = addressKey; this.quantity = quantity; + this.shippingMethodKey = shippingMethodKey; } public ItemShippingTargetImpl() { @@ -50,6 +54,15 @@ public Long getQuantity() { return this.quantity; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
It connects Line Item quantities with individual shipping addresses.
+ */ + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + public void setAddressKey(final String addressKey) { this.addressKey = addressKey; } @@ -58,6 +71,10 @@ public void setQuantity(final Long quantity) { this.quantity = quantity; } + public void setShippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -68,12 +85,15 @@ public boolean equals(Object o) { ItemShippingTargetImpl that = (ItemShippingTargetImpl) o; - return new EqualsBuilder().append(addressKey, that.addressKey).append(quantity, that.quantity).isEquals(); + return new EqualsBuilder().append(addressKey, that.addressKey) + .append(quantity, that.quantity) + .append(shippingMethodKey, that.shippingMethodKey) + .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).toHashCode(); + return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).append(shippingMethodKey).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java index c7429e65e03..5538b18ef44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java @@ -37,9 +37,11 @@ * .productType(productTypeBuilder -> productTypeBuilder) * .variant(variantBuilder -> variantBuilder) * .price(priceBuilder -> priceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) * .quantity(0.3) * .plusState(stateBuilder -> stateBuilder) + * .plusPerMethodTaxRate(perMethodTaxRateBuilder -> perMethodTaxRateBuilder) * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .priceMode(LineItemPriceMode.PLATFORM) * .lineItemMode(LineItemMode.STANDARD) @@ -118,6 +120,14 @@ public interface LineItem extends com.commercetools.api.models.CustomizableperMethodTaxRate
is set.
+ */
+ @NotNull
+ @Valid
+ @JsonProperty("taxedPricePortions")
+ public ListThe total price of this line item. If the line item is discounted, then the totalPrice
is the DiscountedLineItemPriceForQuantity multiplied by quantity
. Otherwise the total price is the product price multiplied by the quantity
. totalPrice
may or may not include the taxes: it depends on the taxRate.includedInPrice property.
Platform
TaxMode and Multi
ShippingMode.
+ * For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply.
*/ @@ -237,6 +256,11 @@ public interface LineItem extends com.commercetools.api.models.CustomizableTaxed price of the Shipping Method that is set automatically after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is set automatically after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is set automatically after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is set automatically after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is set automatically after perMethodTaxRate
is set.
The total price of this line item. If the line item is discounted, then the totalPrice
is the DiscountedLineItemPriceForQuantity multiplied by quantity
. Otherwise the total price is the product price multiplied by the quantity
. totalPrice
may or may not include the taxes: it depends on the taxRate.includedInPrice property.
Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform
TaxMode and Multi
ShippingMode.
For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform
TaxMode and Multi
ShippingMode.
For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform
TaxMode and Multi
ShippingMode.
For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform
TaxMode and Multi
ShippingMode.
For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform
TaxMode and Multi
ShippingMode.
For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply.
*/ @@ -561,6 +687,10 @@ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + public java.util.ListTaxed price of the Shipping Method that is set automatically after perMethodTaxRate
is set.
The total price of this line item. If the line item is discounted, then the totalPrice
is the DiscountedLineItemPriceForQuantity multiplied by quantity
. Otherwise the total price is the product price multiplied by the quantity
. totalPrice
may or may not include the taxes: it depends on the taxRate.includedInPrice property.
Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform
TaxMode and Multi
ShippingMode.
For the External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply.
*/ @@ -337,6 +362,15 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedItemPrice this.taxedPrice = taxedPrice; } + public void setTaxedPricePortions(final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + } + + public void setTaxedPricePortions( + final java.util.List
+ * MethodTaxRate methodTaxRate = MethodTaxRate.builder()
+ * .shippingMethodKey("{shippingMethodKey}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Tax Rate for the Shipping Method.
+ */ + @Valid + @JsonProperty("taxRate") + public TaxRate getTaxRate(); + + public void setShippingMethodKey(final String shippingMethodKey); + + public void setTaxRate(final TaxRate taxRate); + + public static MethodTaxRate of() { + return new MethodTaxRateImpl(); + } + + public static MethodTaxRate of(final MethodTaxRate template) { + MethodTaxRateImpl instance = new MethodTaxRateImpl(); + instance.setShippingMethodKey(template.getShippingMethodKey()); + instance.setTaxRate(template.getTaxRate()); + return instance; + } + + public static MethodTaxRateBuilder builder() { + return MethodTaxRateBuilder.of(); + } + + public static MethodTaxRateBuilder builder(final MethodTaxRate template) { + return MethodTaxRateBuilder.of(template); + } + + default
+ * MethodTaxRate methodTaxRate = MethodTaxRate.builder()
+ * .shippingMethodKey("{shippingMethodKey}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Tax Rate for the Shipping Method.
+ */ + + public MethodTaxRateBuilder taxRate( + FunctionTax Rate for the Shipping Method.
+ */ + + public MethodTaxRateBuilder taxRate(@Nullable final com.commercetools.api.models.tax_category.TaxRate taxRate) { + this.taxRate = taxRate; + return this; + } + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + + @Nullable + public com.commercetools.api.models.tax_category.TaxRate getTaxRate() { + return this.taxRate; + } + + public MethodTaxRate build() { + Objects.requireNonNull(shippingMethodKey, MethodTaxRate.class + ": shippingMethodKey is missing"); + return new MethodTaxRateImpl(shippingMethodKey, taxRate); + } + + /** + * builds MethodTaxRate without checking for non null required values + */ + public MethodTaxRate buildUnchecked() { + return new MethodTaxRateImpl(shippingMethodKey, taxRate); + } + + public static MethodTaxRateBuilder of() { + return new MethodTaxRateBuilder(); + } + + public static MethodTaxRateBuilder of(final MethodTaxRate template) { + MethodTaxRateBuilder builder = new MethodTaxRateBuilder(); + builder.shippingMethodKey = template.getShippingMethodKey(); + builder.taxRate = template.getTaxRate(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateImpl.java new file mode 100644 index 00000000000..dff1a485ef4 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateImpl.java @@ -0,0 +1,81 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * MethodTaxRate + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class MethodTaxRateImpl implements MethodTaxRate, ModelBase { + + private String shippingMethodKey; + + private com.commercetools.api.models.tax_category.TaxRate taxRate; + + @JsonCreator + MethodTaxRateImpl(@JsonProperty("shippingMethodKey") final String shippingMethodKey, + @JsonProperty("taxRate") final com.commercetools.api.models.tax_category.TaxRate taxRate) { + this.shippingMethodKey = shippingMethodKey; + this.taxRate = taxRate; + } + + public MethodTaxRateImpl() { + } + + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Tax Rate for the Shipping Method.
+ */ + + public com.commercetools.api.models.tax_category.TaxRate getTaxRate() { + return this.taxRate; + } + + public void setShippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + } + + public void setTaxRate(final com.commercetools.api.models.tax_category.TaxRate taxRate) { + this.taxRate = taxRate; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + MethodTaxRateImpl that = (MethodTaxRateImpl) o; + + return new EqualsBuilder().append(shippingMethodKey, that.shippingMethodKey) + .append(taxRate, that.taxRate) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxRate).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPrice.java new file mode 100644 index 00000000000..51061e5e27f --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPrice.java @@ -0,0 +1,82 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * MethodTaxedPrice + * + *
+ * MethodTaxedPrice methodTaxedPrice = MethodTaxedPrice.builder()
+ * .shippingMethodKey("{shippingMethodKey}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Taxed price for the Shipping Method.
+ */ + @Valid + @JsonProperty("taxedPrice") + public TaxedItemPrice getTaxedPrice(); + + public void setShippingMethodKey(final String shippingMethodKey); + + public void setTaxedPrice(final TaxedItemPrice taxedPrice); + + public static MethodTaxedPrice of() { + return new MethodTaxedPriceImpl(); + } + + public static MethodTaxedPrice of(final MethodTaxedPrice template) { + MethodTaxedPriceImpl instance = new MethodTaxedPriceImpl(); + instance.setShippingMethodKey(template.getShippingMethodKey()); + instance.setTaxedPrice(template.getTaxedPrice()); + return instance; + } + + public static MethodTaxedPriceBuilder builder() { + return MethodTaxedPriceBuilder.of(); + } + + public static MethodTaxedPriceBuilder builder(final MethodTaxedPrice template) { + return MethodTaxedPriceBuilder.of(template); + } + + default
+ * MethodTaxedPrice methodTaxedPrice = MethodTaxedPrice.builder()
+ * .shippingMethodKey("{shippingMethodKey}")
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Taxed price for the Shipping Method.
+ */ + + public MethodTaxedPriceBuilder taxedPrice( + FunctionTaxed price for the Shipping Method.
+ */ + + public MethodTaxedPriceBuilder taxedPrice( + @Nullable final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + this.taxedPrice = taxedPrice; + return this; + } + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + + @Nullable + public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { + return this.taxedPrice; + } + + public MethodTaxedPrice build() { + Objects.requireNonNull(shippingMethodKey, MethodTaxedPrice.class + ": shippingMethodKey is missing"); + return new MethodTaxedPriceImpl(shippingMethodKey, taxedPrice); + } + + /** + * builds MethodTaxedPrice without checking for non null required values + */ + public MethodTaxedPrice buildUnchecked() { + return new MethodTaxedPriceImpl(shippingMethodKey, taxedPrice); + } + + public static MethodTaxedPriceBuilder of() { + return new MethodTaxedPriceBuilder(); + } + + public static MethodTaxedPriceBuilder of(final MethodTaxedPrice template) { + MethodTaxedPriceBuilder builder = new MethodTaxedPriceBuilder(); + builder.shippingMethodKey = template.getShippingMethodKey(); + builder.taxedPrice = template.getTaxedPrice(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceImpl.java new file mode 100644 index 00000000000..b52bd212210 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceImpl.java @@ -0,0 +1,81 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * MethodTaxedPrice + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class MethodTaxedPriceImpl implements MethodTaxedPrice, ModelBase { + + private String shippingMethodKey; + + private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + + @JsonCreator + MethodTaxedPriceImpl(@JsonProperty("shippingMethodKey") final String shippingMethodKey, + @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + this.shippingMethodKey = shippingMethodKey; + this.taxedPrice = taxedPrice; + } + + public MethodTaxedPriceImpl() { + } + + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Taxed price for the Shipping Method.
+ */ + + public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { + return this.taxedPrice; + } + + public void setShippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + } + + public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + this.taxedPrice = taxedPrice; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + MethodTaxedPriceImpl that = (MethodTaxedPriceImpl) o; + + return new EqualsBuilder().append(shippingMethodKey, that.shippingMethodKey) + .append(taxedPrice, that.taxedPrice) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxedPrice).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java index 3cde9c9d7ad..9aefa91da48 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java @@ -10,13 +10,20 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPublishScope + *The scope controls which part of the product information is published.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface ProductPublishScope { + /** +Publishes a Product that causes the staged projection of the Product to override the current projection. If the Product is published for the first time, the current projection is created. This is the default scope.
+ + */ ProductPublishScope ALL = ProductPublishScopeEnum.ALL; + /** +Publishes the Prices of the Product (only if the Product is already published). All Product Variants' Prices in the staged projection are published into the current projection with the same id
. Prices in a staged Product Variant that has no current projection are not published. Prices in a current Product Variant that has no staged projection are unchanged. The hasStagedChanges
flag is updated according to whether the staged and current projections still differ after the prices are published.
+ * Shipping shipping = Shipping.builder()
+ * .shippingKey("{shippingKey}")
+ * .shippingInfo(shippingInfoBuilder -> shippingInfoBuilder)
+ * .shippingAddress(shippingAddressBuilder -> shippingAddressBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Automatically set when the Shipping Method is added.
+ */ + @NotNull + @Valid + @JsonProperty("shippingInfo") + public ShippingInfo getShippingInfo(); + + /** + *Determines the shipping rates and Tax Rates of the associated Line Item quantities.
+ */ + @NotNull + @Valid + @JsonProperty("shippingAddress") + public Address getShippingAddress(); + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *Custom Fields of Shipping.
+ */ + @Valid + @JsonProperty("shippingCustomFields") + public CustomFields getShippingCustomFields(); + + public void setShippingKey(final String shippingKey); + + public void setShippingInfo(final ShippingInfo shippingInfo); + + public void setShippingAddress(final Address shippingAddress); + + public void setShippingRateInput(final ShippingRateInput shippingRateInput); + + public void setShippingCustomFields(final CustomFields shippingCustomFields); + + public static Shipping of() { + return new ShippingImpl(); + } + + public static Shipping of(final Shipping template) { + ShippingImpl instance = new ShippingImpl(); + instance.setShippingKey(template.getShippingKey()); + instance.setShippingInfo(template.getShippingInfo()); + instance.setShippingAddress(template.getShippingAddress()); + instance.setShippingRateInput(template.getShippingRateInput()); + instance.setShippingCustomFields(template.getShippingCustomFields()); + return instance; + } + + public static ShippingBuilder builder() { + return ShippingBuilder.of(); + } + + public static ShippingBuilder builder(final Shipping template) { + return ShippingBuilder.of(template); + } + + default
+ * Shipping shipping = Shipping.builder()
+ * .shippingKey("{shippingKey}")
+ * .shippingInfo(shippingInfoBuilder -> shippingInfoBuilder)
+ * .shippingAddress(shippingAddressBuilder -> shippingAddressBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Automatically set when the Shipping Method is added.
+ */ + + public ShippingBuilder shippingInfo( + FunctionAutomatically set when the Shipping Method is added.
+ */ + + public ShippingBuilder shippingInfo(final com.commercetools.api.models.cart.ShippingInfo shippingInfo) { + this.shippingInfo = shippingInfo; + return this; + } + + /** + *Determines the shipping rates and Tax Rates of the associated Line Item quantities.
+ */ + + public ShippingBuilder shippingAddress( + FunctionDetermines the shipping rates and Tax Rates of the associated Line Item quantities.
+ */ + + public ShippingBuilder shippingAddress(final com.commercetools.api.models.common.Address shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *Used as an input to select a ShippingRatePriceTier.
+ *Custom Fields of Shipping.
+ */ + + public ShippingBuilder shippingCustomFields( + FunctionCustom Fields of Shipping.
+ */ + + public ShippingBuilder shippingCustomFields( + @Nullable final com.commercetools.api.models.type.CustomFields shippingCustomFields) { + this.shippingCustomFields = shippingCustomFields; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { + return this.shippingInfo; + } + + public com.commercetools.api.models.common.Address getShippingAddress() { + return this.shippingAddress; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public com.commercetools.api.models.type.CustomFields getShippingCustomFields() { + return this.shippingCustomFields; + } + + public Shipping build() { + Objects.requireNonNull(shippingKey, Shipping.class + ": shippingKey is missing"); + Objects.requireNonNull(shippingInfo, Shipping.class + ": shippingInfo is missing"); + Objects.requireNonNull(shippingAddress, Shipping.class + ": shippingAddress is missing"); + return new ShippingImpl(shippingKey, shippingInfo, shippingAddress, shippingRateInput, shippingCustomFields); + } + + /** + * builds Shipping without checking for non null required values + */ + public Shipping buildUnchecked() { + return new ShippingImpl(shippingKey, shippingInfo, shippingAddress, shippingRateInput, shippingCustomFields); + } + + public static ShippingBuilder of() { + return new ShippingBuilder(); + } + + public static ShippingBuilder of(final Shipping template) { + ShippingBuilder builder = new ShippingBuilder(); + builder.shippingKey = template.getShippingKey(); + builder.shippingInfo = template.getShippingInfo(); + builder.shippingAddress = template.getShippingAddress(); + builder.shippingRateInput = template.getShippingRateInput(); + builder.shippingCustomFields = template.getShippingCustomFields(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraft.java new file mode 100644 index 00000000000..00702545643 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraft.java @@ -0,0 +1,145 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.BaseAddress; +import com.commercetools.api.models.order.Delivery; +import com.commercetools.api.models.shipping_method.ShippingMethodReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *Wraps all shipping-related information (such as address, rate, deliveries) per Shipping Method for Carts with multiple Shipping Methods.
+ * + *
+ * ShippingDraft shippingDraft = ShippingDraft.builder()
+ * .key("{key}")
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Shipping Methods added to the Cart with Multi
ShippingMode.
Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Rate used for taxing a shipping expense if the Cart has the External
TaxMode.
Holds information on how items are delivered to customers.
+ */ + @NotNull + @Valid + @JsonProperty("deliveries") + public ListCustom Fields for Shipping.
+ */ + + @JsonProperty("custom") + public String getCustom(); + + public void setKey(final String key); + + public void setShippingMethod(final ShippingMethodReference shippingMethod); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List
+ * ShippingDraft shippingDraft = ShippingDraft.builder()
+ * .key("{key}")
+ * .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ * .build()
+ *
+ * User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Shipping Methods added to the Cart with Multi
ShippingMode.
Shipping Methods added to the Cart with Multi
ShippingMode.
Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public ShippingDraftBuilder shippingAddress( + FunctionDetermines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public ShippingDraftBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Rate used for taxing a shipping expense if the Cart has the External
TaxMode.
Holds information on how items are delivered to customers.
+ */ + + public ShippingDraftBuilder deliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *Holds information on how items are delivered to customers.
+ */ + + public ShippingDraftBuilder deliveries( + final java.util.ListHolds information on how items are delivered to customers.
+ */ + + public ShippingDraftBuilder plusDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *Holds information on how items are delivered to customers.
+ */ + + public ShippingDraftBuilder plusDeliveries( + FunctionHolds information on how items are delivered to customers.
+ */ + + public ShippingDraftBuilder withDeliveries( + FunctionCustom Fields for Shipping.
+ */ + + public ShippingDraftBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getKey() { + return this.key; + } + + @Nullable + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.ListWraps all shipping-related information (such as address, rate, deliveries) per Shipping Method for Carts with multiple Shipping Methods.
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ShippingDraftImpl implements ShippingDraft, ModelBase { + + private String key; + + private com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod; + + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + private String externalTaxRate; + + private java.util.ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Shipping Methods added to the Cart with Multi
ShippingMode.
Determines the shipping rate and Tax Rate of the associated Line Items.
+ */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *The shippingRateInput
cannot be set on the Cart if CartValueType is defined.
Tax Rate used for taxing a shipping expense if the Cart has the External
TaxMode.
Holds information on how items are delivered to customers.
+ */ + + public java.util.ListCustom Fields for Shipping.
+ */ + + public String getCustom() { + return this.custom; + } + + public void setKey(final String key) { + this.key = key; + } + + public void setShippingMethod( + final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Automatically set when the Shipping Method is added.
+ */ + + public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { + return this.shippingInfo; + } + + /** + *Determines the shipping rates and Tax Rates of the associated Line Item quantities.
+ */ + + public com.commercetools.api.models.common.Address getShippingAddress() { + return this.shippingAddress; + } + + /** + *Used as an input to select a ShippingRatePriceTier.
+ *Custom Fields of Shipping.
+ */ + + public com.commercetools.api.models.type.CustomFields getShippingCustomFields() { + return this.shippingCustomFields; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setShippingInfo(final com.commercetools.api.models.cart.ShippingInfo shippingInfo) { + this.shippingInfo = shippingInfo; + } + + public void setShippingAddress(final com.commercetools.api.models.common.Address shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInput shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setShippingCustomFields(final com.commercetools.api.models.type.CustomFields shippingCustomFields) { + this.shippingCustomFields = shippingCustomFields; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ShippingImpl that = (ShippingImpl) o; + + return new EqualsBuilder().append(shippingKey, that.shippingKey) + .append(shippingInfo, that.shippingInfo) + .append(shippingAddress, that.shippingAddress) + .append(shippingRateInput, that.shippingRateInput) + .append(shippingCustomFields, that.shippingCustomFields) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(shippingKey) + .append(shippingInfo) + .append(shippingAddress) + .append(shippingRateInput) + .append(shippingCustomFields) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingMode.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingMode.java new file mode 100644 index 00000000000..109c489452a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingMode.java @@ -0,0 +1,82 @@ + +package com.commercetools.api.models.cart; + +import java.util.Arrays; +import java.util.Optional; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ShippingMode + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public interface ShippingMode { + + /** +Cart can contain only a single Shipping Method. + This is the default mode for backwards compatibilty.
+ + */ + ShippingMode SINGLE = ShippingModeEnum.SINGLE; + /** +Cart can contain multiple Shipping Methods.
+ + */ + ShippingMode MULTI = ShippingModeEnum.MULTI; + + enum ShippingModeEnum implements ShippingMode { + SINGLE("Single"), + + MULTI("Multi"); + private final String jsonName; + + private ShippingModeEnum(final String jsonName) { + this.jsonName = jsonName; + } + + public String getJsonName() { + return jsonName; + } + + public String toString() { + return jsonName; + } + } + + @JsonValue + String getJsonName(); + + String name(); + + String toString(); + + @JsonCreator + public static ShippingMode findEnum(String value) { + return findEnumViaJsonName(value).orElse(new ShippingMode() { + @Override + public String getJsonName() { + return value; + } + + @Override + public String name() { + return value.toUpperCase(); + } + + public String toString() { + return value; + } + }); + } + + public static OptionalChanging the slug produces the CategorySlugChangedMessage.
+ *Changing the slug produces the CategorySlugChanged Message.
* *Changing the slug produces the CategorySlugChangedMessage.
+ *Changing the slug produces the CategorySlugChanged Message.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryChangeSlugActionImpl implements CategoryChangeSlugAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java index 03b1726cf99..7b32e97c70a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java @@ -32,14 +32,14 @@ public interface Image { /** - * + *URL of the image in its original size that must be unique within a single ProductVariant.
*/ @NotNull @JsonProperty("url") public String getUrl(); /** - * + *Dimensions of the original image.
*/ @NotNull @Valid @@ -47,7 +47,7 @@ public interface Image { public ImageDimensions getDimensions(); /** - * + *Custom label for the image.
*/ @JsonProperty("label") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java index d1797b8f847..2e6e387205a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java @@ -33,7 +33,7 @@ public class ImageBuilder implements BuilderURL of the image in its original size that must be unique within a single ProductVariant.
*/ public ImageBuilder url(final String url) { @@ -42,7 +42,7 @@ public ImageBuilder url(final String url) { } /** - * + *Dimensions of the original image.
*/ public ImageBuilder dimensions( @@ -52,7 +52,7 @@ public ImageBuilder dimensions( } /** - * + *Dimensions of the original image.
*/ public ImageBuilder dimensions(final com.commercetools.api.models.common.ImageDimensions dimensions) { @@ -61,7 +61,7 @@ public ImageBuilder dimensions(final com.commercetools.api.models.common.ImageDi } /** - * + *Custom label for the image.
*/ public ImageBuilder label(@Nullable final String label) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java index f5eb9dee83e..39de8e017c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java @@ -31,14 +31,14 @@ public interface ImageDimensions { /** - * + *Width of the image.
*/ @NotNull @JsonProperty("w") public Integer getW(); /** - * + *Height of the image.
*/ @NotNull @JsonProperty("h") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java index e811ccbf356..c38b40ce28a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java @@ -27,7 +27,7 @@ public class ImageDimensionsBuilder implements BuilderWidth of the image.
*/ public ImageDimensionsBuilder w(final Integer w) { @@ -36,7 +36,7 @@ public ImageDimensionsBuilder w(final Integer w) { } /** - * + *Height of the image.
*/ public ImageDimensionsBuilder h(final Integer h) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java index aee53d2d51a..f05d29911e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java @@ -34,7 +34,7 @@ public ImageDimensionsImpl() { } /** - * + *Width of the image.
*/ public Integer getW() { @@ -42,7 +42,7 @@ public Integer getW() { } /** - * + *Height of the image.
*/ public Integer getH() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java index 2cd5779b49b..e5cad4f7f25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java @@ -39,7 +39,7 @@ public ImageImpl() { } /** - * + *URL of the image in its original size that must be unique within a single ProductVariant.
*/ public String getUrl() { @@ -47,7 +47,7 @@ public String getUrl() { } /** - * + *Dimensions of the original image.
*/ public com.commercetools.api.models.common.ImageDimensions getDimensions() { @@ -55,7 +55,7 @@ public com.commercetools.api.models.common.ImageDimensions getDimensions() { } /** - * + *Custom label for the image.
*/ public String getLabel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java index 5882f5ee63a..0814f5c7ef3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * Price + *The representation for prices embedded in LineItems and in ProductVariants when the ProductPriceMode is Embedded
. For the Standalone
ProductPriceMode refer to StandalonePrice.
The draft representation for prices to be embedded into ProductVariantDrafts when the ProductPriceMode is Embedded
. For the Standalone
ProductPriceMode use StandalonePriceDraft.
Set this field if this Price is valid only valid from the specified date and time.
+ *Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil
.
Set this field if this Price is valid only valid until the specified date and time.
+ *Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom
.
Set this field to add a DiscountedPrice from an external service.
- *The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
+ *Set this field to add a DiscountedPrice from an external service.
+ *Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
*isActive
flag set to true
.external
.Set this field if this Price is valid only valid from the specified date and time.
+ *Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil
.
Set this field if this Price is valid only valid until the specified date and time.
+ *Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom
.
Set this field to add a DiscountedPrice from an external service.
- *The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
+ *Set this field to add a DiscountedPrice from an external service.
+ *Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
*isActive
flag set to true
.external
.Set this field to add a DiscountedPrice from an external service.
- *The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
+ *Set this field to add a DiscountedPrice from an external service.
+ *Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
*isActive
flag set to true
.external
.The draft representation for prices to be embedded into ProductVariantDrafts when the ProductPriceMode is Embedded
. For the Standalone
ProductPriceMode use StandalonePriceDraft.
Set this field if this Price is valid only valid from the specified date and time.
+ *Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil
.
Set this field if this Price is valid only valid until the specified date and time.
+ *Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom
.
Set this field to add a DiscountedPrice from an external service.
- *The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
+ *Set this field to add a DiscountedPrice from an external service.
+ *Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:
*isActive
flag set to true
.external
.The representation for prices embedded in LineItems and in ProductVariants when the ProductPriceMode is Embedded
. For the Standalone
ProductPriceMode refer to StandalonePrice.
References an EmbeddedPrice.
+References an Embedded Price.
*/ ReferenceTypeId PRODUCT_PRICE = ReferenceTypeIdEnum.PRODUCT_PRICE; diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java index 3c24d0ead98..e886b31eb13 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ScopedPrice + *Scoped Price is contained in a ProductVariant which is returned in response to a Search Product Projection request when Price Selection is used.
* *Platform-generated unique identifier of the Price.
*/ @NotNull @JsonProperty("id") public String getId(); /** - *Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
Original value of the Price.
*/ @NotNull @Valid @@ -52,7 +52,7 @@ public interface ScopedPrice extends com.commercetools.api.models.Customizabletype
field.
+ * If available, either the original price value
or discounted
value.
Country code of the geographic location.
*/ @JsonProperty("country") @@ -81,28 +81,29 @@ public interface ScopedPrice extends com.commercetools.api.models.CustomizableDate and time until which the Price is valid.
*/ @JsonProperty("validUntil") public ZonedDateTime getValidUntil(); /** - * + *Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.
+ *When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.
*/ @Valid @JsonProperty("discounted") public DiscountedPrice getDiscounted(); /** - *Serves as value of the custom
field on a resource or data type customized with a Type.
Custom Fields for the Price.
*/ @Valid @JsonProperty("custom") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java index 328e1877415..ee8b402b83b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java @@ -54,7 +54,7 @@ public class ScopedPriceBuilder implements BuilderPlatform-generated unique identifier of the Price.
*/ public ScopedPriceBuilder id(final String id) { @@ -63,7 +63,7 @@ public ScopedPriceBuilder id(final String id) { } /** - *Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
Original value of the Price.
*/ public ScopedPriceBuilder value(final com.commercetools.api.models.common.TypedMoney value) { @@ -72,7 +72,7 @@ public ScopedPriceBuilder value(final com.commercetools.api.models.common.TypedM } /** - *Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
Original value of the Price.
*/ public ScopedPriceBuilder value( @@ -82,7 +82,7 @@ public ScopedPriceBuilder value( } /** - *Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
If available, either the original price value
or discounted
value.
Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
If available, either the original price value
or discounted
value.
Two-digit country code as per ISO 3166-1 alpha-2.
+ *Country code of the geographic location.
*/ public ScopedPriceBuilder country(@Nullable final String country) { @@ -151,7 +151,7 @@ public ScopedPriceBuilder channel(@Nullable final com.commercetools.api.models.c } /** - * + *Date and time from which the Price is valid.
*/ public ScopedPriceBuilder validFrom(@Nullable final java.time.ZonedDateTime validFrom) { @@ -160,7 +160,7 @@ public ScopedPriceBuilder validFrom(@Nullable final java.time.ZonedDateTime vali } /** - * + *Date and time until which the Price is valid.
*/ public ScopedPriceBuilder validUntil(@Nullable final java.time.ZonedDateTime validUntil) { @@ -169,7 +169,8 @@ public ScopedPriceBuilder validUntil(@Nullable final java.time.ZonedDateTime val } /** - * + *Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.
+ *When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.
*/ public ScopedPriceBuilder discounted( @@ -179,7 +180,8 @@ public ScopedPriceBuilder discounted( } /** - * + *Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.
+ *When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.
*/ public ScopedPriceBuilder discounted( @@ -189,7 +191,7 @@ public ScopedPriceBuilder discounted( } /** - *Serves as value of the custom
field on a resource or data type customized with a Type.
Custom Fields for the Price.
*/ public ScopedPriceBuilder custom( @@ -199,7 +201,7 @@ public ScopedPriceBuilder custom( } /** - *Serves as value of the custom
field on a resource or data type customized with a Type.
Custom Fields for the Price.
*/ public ScopedPriceBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java index 21f2fe69901..795f38b8f20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ScopedPrice + *Scoped Price is contained in a ProductVariant which is returned in response to a Search Product Projection request when Price Selection is used.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ScopedPriceImpl implements ScopedPrice, ModelBase { @@ -67,7 +67,7 @@ public ScopedPriceImpl() { } /** - * + *Platform-generated unique identifier of the Price.
*/ public String getId() { @@ -75,7 +75,7 @@ public String getId() { } /** - *Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
Original value of the Price.
*/ public com.commercetools.api.models.common.TypedMoney getValue() { @@ -83,7 +83,7 @@ public com.commercetools.api.models.common.TypedMoney getValue() { } /** - *Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type
field.
If available, either the original price value
or discounted
value.
Two-digit country code as per ISO 3166-1 alpha-2.
+ *Country code of the geographic location.
*/ public String getCountry() { @@ -115,7 +115,7 @@ public com.commercetools.api.models.channel.ChannelReference getChannel() { } /** - * + *Date and time from which the Price is valid.
*/ public java.time.ZonedDateTime getValidFrom() { @@ -123,7 +123,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - * + *Date and time until which the Price is valid.
*/ public java.time.ZonedDateTime getValidUntil() { @@ -131,7 +131,8 @@ public java.time.ZonedDateTime getValidUntil() { } /** - * + *Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.
+ *When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.
*/ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { @@ -139,7 +140,7 @@ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { } /** - *Serves as value of the custom
field on a resource or data type customized with a Type.
Custom Fields for the Price.
*/ public com.commercetools.api.models.type.CustomFields getCustom() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java index d2628dc431a..4f62aa165c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java @@ -8,7 +8,6 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; -import com.commercetools.api.models.cart.DiscountCodeInfo; import com.commercetools.api.models.cart.InventoryMode; import com.commercetools.api.models.cart.TaxMode; import com.commercetools.api.models.common.BaseAddress; @@ -136,11 +135,11 @@ public interface MyCartDraft extends com.commercetools.api.models.CustomizableDr public StoreKeyReference getStore(); /** - * + *The code of existing DiscountCodes.
*/ - @Valid + @JsonProperty("discountCodes") - public ListA three-digit currency code as per ISO 3166-1 alpha-2.
@@ -348,31 +348,28 @@ public MyCartDraftBuilder store(@Nullable final com.commercetools.api.models.sto } /** - * + *The code of existing DiscountCodes.
*/ - public MyCartDraftBuilder discountCodes( - @Nullable final com.commercetools.api.models.cart.DiscountCodeInfo... discountCodes) { + public MyCartDraftBuilder discountCodes(@Nullable final String... discountCodes) { this.discountCodes = new ArrayList<>(Arrays.asList(discountCodes)); return this; } /** - * + *The code of existing DiscountCodes.
*/ - public MyCartDraftBuilder discountCodes( - @Nullable final java.util.ListThe code of existing DiscountCodes.
*/ - public MyCartDraftBuilder plusDiscountCodes( - @Nullable final com.commercetools.api.models.cart.DiscountCodeInfo... discountCodes) { + public MyCartDraftBuilder plusDiscountCodes(@Nullable final String... discountCodes) { if (this.discountCodes == null) { this.discountCodes = new ArrayList<>(); } @@ -380,30 +377,6 @@ public MyCartDraftBuilder plusDiscountCodes( return this; } - /** - * - */ - - public MyCartDraftBuilder plusDiscountCodes( - FunctionThe code of existing DiscountCodes.
*/ - public java.util.ListResourceIdentifier to the Cart from which this quote request is created.
+ *ResourceIdentifier of the Cart from which the Quote Request is created.
*/ @NotNull @Valid @@ -49,7 +49,7 @@ public interface MyQuoteRequestDraft { public Long getVersion(); /** - *Text message included in the request.
+ *Message from the Buyer included in the Quote Request.
*/ @NotNull @JsonProperty("comment") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java index c3391388f25..b138903274d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java @@ -31,7 +31,7 @@ public class MyQuoteRequestDraftBuilder implements BuilderResourceIdentifier to the Cart from which this quote request is created.
+ *ResourceIdentifier of the Cart from which the Quote Request is created.
*/ public MyQuoteRequestDraftBuilder cart( @@ -41,7 +41,7 @@ public MyQuoteRequestDraftBuilder cart( } /** - *ResourceIdentifier to the Cart from which this quote request is created.
+ *ResourceIdentifier of the Cart from which the Quote Request is created.
*/ public MyQuoteRequestDraftBuilder cart(final com.commercetools.api.models.cart.CartResourceIdentifier cart) { @@ -59,7 +59,7 @@ public MyQuoteRequestDraftBuilder version(final Long version) { } /** - *Text message included in the request.
+ *Message from the Buyer included in the Quote Request.
*/ public MyQuoteRequestDraftBuilder comment(final String comment) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java index bf975db6181..078abd18b45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java @@ -38,7 +38,7 @@ public MyQuoteRequestDraftImpl() { } /** - *ResourceIdentifier to the Cart from which this quote request is created.
+ *ResourceIdentifier of the Cart from which the Quote Request is created.
*/ public com.commercetools.api.models.cart.CartResourceIdentifier getCart() { @@ -54,7 +54,7 @@ public Long getVersion() { } /** - *Text message included in the request.
+ *Message from the Buyer included in the Quote Request.
*/ public String getComment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java index 0725ee9efc0..572c9582346 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategoryCreatedMessage + *Generated after a successful Create Category request.
* *Category that was created.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java index b4fe58ac7d8..ab0ee230c98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class CategoryCreatedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CategoryCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CategoryCreatedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CategoryCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CategoryCreatedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CategoryCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CategoryCreatedMessageBuilder resource(final com.commercetools.api.models } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CategoryCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public CategoryCreatedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CategoryCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CategoryCreatedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Category that was created.
*/ public CategoryCreatedMessageBuilder category( @@ -202,7 +202,7 @@ public CategoryCreatedMessageBuilder category( } /** - * + *Category that was created.
*/ public CategoryCreatedMessageBuilder category(final com.commercetools.api.models.category.Category category) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java index a3e2c9b6e12..565df548193 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategoryCreatedMessage + *Generated after a successful Create Category request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryCreatedMessageImpl implements CategoryCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public CategoryCreatedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Category that was created.
*/ public com.commercetools.api.models.category.Category getCategory() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java index 3d240432c5b..1050efeeff6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategoryCreatedMessagePayload + *Generated after a successful Create Category request.
* *Category that was created.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java index e114cb0ba40..9d76340b059 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CategoryCreatedMessagePayloadBuilder implements BuilderCategory that was created.
*/ public CategoryCreatedMessagePayloadBuilder category( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java index 2e4f2879899..ddd2b96cfb9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategoryCreatedMessagePayload + *Generated after a successful Create Category request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryCreatedMessagePayloadImpl implements CategoryCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *Category that was created.
*/ public com.commercetools.api.models.category.Category getCategory() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java index ec4cef565e3..ac79bbcebe2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategorySlugChangedMessage + *Generated after a successful Change Slug update action.
* *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ @NotNull @Valid @@ -49,7 +49,7 @@ public interface CategorySlugChangedMessage extends Message { public LocalizedString getSlug(); /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ @Valid @JsonProperty("oldSlug") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java index dca8a4723ea..81e8336cf78 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class CategorySlugChangedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CategorySlugChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public CategorySlugChangedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CategorySlugChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public CategorySlugChangedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CategorySlugChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public CategorySlugChangedMessageBuilder resource(final com.commercetools.api.mo } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CategorySlugChangedMessageBuilder resource( @@ -164,7 +164,7 @@ public CategorySlugChangedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CategorySlugChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public CategorySlugChangedMessageBuilder resourceVersion(final Long resourceVers } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ public CategorySlugChangedMessageBuilder slug( @@ -205,7 +205,7 @@ public CategorySlugChangedMessageBuilder slug( } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ public CategorySlugChangedMessageBuilder slug(final com.commercetools.api.models.common.LocalizedString slug) { @@ -214,7 +214,7 @@ public CategorySlugChangedMessageBuilder slug(final com.commercetools.api.models } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ public CategorySlugChangedMessageBuilder oldSlug( @@ -224,7 +224,7 @@ public CategorySlugChangedMessageBuilder oldSlug( } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ public CategorySlugChangedMessageBuilder oldSlug( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java index 16b36c03e69..16c1690b1d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategorySlugChangedMessage + *Generated after a successful Change Slug update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategorySlugChangedMessageImpl implements CategorySlugChangedMessage, ModelBase { @@ -78,7 +78,7 @@ public CategorySlugChangedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ public com.commercetools.api.models.common.LocalizedString getOldSlug() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java index 113edfefcee..558927ac493 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategorySlugChangedMessagePayload + *Generated after a successful Change Slug update action.
* *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ @NotNull @Valid @@ -42,7 +42,7 @@ public interface CategorySlugChangedMessagePayload extends MessagePayload { public LocalizedString getSlug(); /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ @Valid @JsonProperty("oldSlug") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java index 961b2ec40e8..9883dee1112 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class CategorySlugChangedMessagePayloadBuilder implements BuilderThe slug of the Category after the Change Slug update action.
*/ public CategorySlugChangedMessagePayloadBuilder slug( @@ -40,7 +40,7 @@ public CategorySlugChangedMessagePayloadBuilder slug( } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ public CategorySlugChangedMessagePayloadBuilder slug( @@ -50,7 +50,7 @@ public CategorySlugChangedMessagePayloadBuilder slug( } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ public CategorySlugChangedMessagePayloadBuilder oldSlug( @@ -60,7 +60,7 @@ public CategorySlugChangedMessagePayloadBuilder oldSlug( } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ public CategorySlugChangedMessagePayloadBuilder oldSlug( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java index 87a09d350f2..acd126c6793 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategorySlugChangedMessagePayload + *Generated after a successful Change Slug update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategorySlugChangedMessagePayloadImpl implements CategorySlugChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category after the Change Slug update action.
*/ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.
+ *The slug of the Category before the Change Slug update action.
*/ public com.commercetools.api.models.common.LocalizedString getOldSlug() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java index 7522ab174b6..4c53529a8a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.
+ *ContainerAndKey
is specific to Custom Objects. Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.
Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.
+ *ContainerAndKey
is specific to Custom Objects. Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.
Generated after a successful Transition Custom Line Item State update action.
* *Unique identifier of the Custom Line Item.
*/ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *Date and time (UTC) when the transition of the Custom Line Item State was performed.
*/ @NotNull @JsonProperty("transitionDate") public ZonedDateTime getTransitionDate(); /** - * + *Number of Custom Line Items for which the State was transitioned.
*/ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ @NotNull @Valid @@ -75,7 +75,7 @@ public interface CustomLineItemStateTransitionMessage extends OrderMessage { public StateReference getFromState(); /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java index d8e8791ff33..fe2937cb4b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java @@ -69,7 +69,7 @@ public class CustomLineItemStateTransitionMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomLineItemStateTransitionMessageBuilder id(final String id) { @@ -78,7 +78,7 @@ public CustomLineItemStateTransitionMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomLineItemStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -96,7 +96,7 @@ public CustomLineItemStateTransitionMessageBuilder createdAt(final java.time.Zon } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomLineItemStateTransitionMessageBuilder resource( @@ -164,7 +164,7 @@ public CustomLineItemStateTransitionMessageBuilder resource( } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomLineItemStateTransitionMessageBuilder resource( @@ -174,7 +174,7 @@ public CustomLineItemStateTransitionMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomLineItemStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -183,7 +183,7 @@ public CustomLineItemStateTransitionMessageBuilder resourceVersion(final Long re } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Unique identifier of the Custom Line Item.
*/ public CustomLineItemStateTransitionMessageBuilder customLineItemId(final String customLineItemId) { @@ -214,7 +214,7 @@ public CustomLineItemStateTransitionMessageBuilder customLineItemId(final String } /** - * + *Date and time (UTC) when the transition of the Custom Line Item State was performed.
*/ public CustomLineItemStateTransitionMessageBuilder transitionDate(final java.time.ZonedDateTime transitionDate) { @@ -223,7 +223,7 @@ public CustomLineItemStateTransitionMessageBuilder transitionDate(final java.tim } /** - * + *Number of Custom Line Items for which the State was transitioned.
*/ public CustomLineItemStateTransitionMessageBuilder quantity(final Long quantity) { @@ -232,7 +232,7 @@ public CustomLineItemStateTransitionMessageBuilder quantity(final Long quantity) } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ public CustomLineItemStateTransitionMessageBuilder fromState( @@ -242,7 +242,7 @@ public CustomLineItemStateTransitionMessageBuilder fromState( } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ public CustomLineItemStateTransitionMessageBuilder fromState( @@ -252,7 +252,7 @@ public CustomLineItemStateTransitionMessageBuilder fromState( } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ public CustomLineItemStateTransitionMessageBuilder toState( @@ -262,7 +262,7 @@ public CustomLineItemStateTransitionMessageBuilder toState( } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ public CustomLineItemStateTransitionMessageBuilder toState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java index 1006a6714ab..0886d0d4003 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomLineItemStateTransitionMessage + *Generated after a successful Transition Custom Line Item State update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomLineItemStateTransitionMessageImpl implements CustomLineItemStateTransitionMessage, ModelBase { @@ -91,7 +91,7 @@ public CustomLineItemStateTransitionMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -99,7 +99,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -155,7 +155,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -163,7 +163,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -171,7 +171,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Unique identifier of the Custom Line Item.
*/ public String getCustomLineItemId() { @@ -187,7 +187,7 @@ public String getCustomLineItemId() { } /** - * + *Date and time (UTC) when the transition of the Custom Line Item State was performed.
*/ public java.time.ZonedDateTime getTransitionDate() { @@ -195,7 +195,7 @@ public java.time.ZonedDateTime getTransitionDate() { } /** - * + *Number of Custom Line Items for which the State was transitioned.
*/ public Long getQuantity() { @@ -203,7 +203,7 @@ public Long getQuantity() { } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ public com.commercetools.api.models.state.StateReference getFromState() { @@ -211,7 +211,7 @@ public com.commercetools.api.models.state.StateReference getFromState() { } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ public com.commercetools.api.models.state.StateReference getToState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java index 6577ab8b358..aa3a4bb1756 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomLineItemStateTransitionMessagePayload + *Generated after a successful Transition Custom Line Item State update action.
* *Unique identifier of the Custom Line Item.
*/ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *Date and time (UTC) when the transition of the Custom Line Item State was performed.
*/ @NotNull @JsonProperty("transitionDate") public ZonedDateTime getTransitionDate(); /** - * + *Number of Custom Line Items for which the State was transitioned.
*/ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ @NotNull @Valid @@ -68,7 +68,7 @@ public interface CustomLineItemStateTransitionMessagePayload extends OrderMessag public StateReference getFromState(); /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java index 9ec61bc0dbc..ea8cc8e740e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java @@ -38,7 +38,7 @@ public class CustomLineItemStateTransitionMessagePayloadBuilder private com.commercetools.api.models.state.StateReference toState; /** - * + *Unique identifier of the Custom Line Item.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder customLineItemId(final String customLineItemId) { @@ -47,7 +47,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder customLineItemId(final } /** - * + *Date and time (UTC) when the transition of the Custom Line Item State was performed.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder transitionDate( @@ -57,7 +57,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder transitionDate( } /** - * + *Number of Custom Line Items for which the State was transitioned.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder quantity(final Long quantity) { @@ -66,7 +66,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder quantity(final Long qu } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( @@ -76,7 +76,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( @@ -86,7 +86,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder toState( @@ -96,7 +96,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder toState( } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ public CustomLineItemStateTransitionMessagePayloadBuilder toState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java index 78de8aadba6..d66fa68f7b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomLineItemStateTransitionMessagePayload + *Generated after a successful Transition Custom Line Item State update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomLineItemStateTransitionMessagePayloadImpl @@ -60,7 +60,7 @@ public String getType() { } /** - * + *Unique identifier of the Custom Line Item.
*/ public String getCustomLineItemId() { @@ -68,7 +68,7 @@ public String getCustomLineItemId() { } /** - * + *Date and time (UTC) when the transition of the Custom Line Item State was performed.
*/ public java.time.ZonedDateTime getTransitionDate() { @@ -76,7 +76,7 @@ public java.time.ZonedDateTime getTransitionDate() { } /** - * + *Number of Custom Line Items for which the State was transitioned.
*/ public Long getQuantity() { @@ -84,7 +84,7 @@ public Long getQuantity() { } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned from.
*/ public com.commercetools.api.models.state.StateReference getFromState() { @@ -92,7 +92,7 @@ public com.commercetools.api.models.state.StateReference getFromState() { } /** - *Reference to a State.
+ *State the Custom Line Item was transitioned to.
*/ public com.commercetools.api.models.state.StateReference getToState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java index 891803cd606..b2175abcad8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressAddedMessage + *Generated after a successful Add Address update action.
* *Address that was added during the Add Address update action.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java index cc5908f1cfb..989b02682cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerAddressAddedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerAddressAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerAddressAddedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerAddressAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerAddressAddedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerAddressAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerAddressAddedMessageBuilder resource(final com.commercetools.api.m } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerAddressAddedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerAddressAddedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerAddressAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerAddressAddedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Address that was added during the Add Address update action.
*/ public CustomerAddressAddedMessageBuilder address( @@ -202,7 +202,7 @@ public CustomerAddressAddedMessageBuilder address( } /** - * + *Address that was added during the Add Address update action.
*/ public CustomerAddressAddedMessageBuilder address(final com.commercetools.api.models.common.Address address) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java index 41ebabb93ef..13cf53bb56b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressAddedMessage + *Generated after a successful Add Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressAddedMessageImpl implements CustomerAddressAddedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerAddressAddedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Address that was added during the Add Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java index 022193430d9..e631e9f62fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressAddedMessagePayload + *Generated after a successful Add Address update action.
* *Address that was added during the Add Address update action.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java index b51f091224d..20c96cef46b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerAddressAddedMessagePayloadBuilder implements BuilderAddress that was added during the Add Address update action.
*/ public CustomerAddressAddedMessagePayloadBuilder address( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java index e9d51691b9c..7d267ecb0ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressAddedMessagePayload + *Generated after a successful Add Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressAddedMessagePayloadImpl implements CustomerAddressAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *Address that was added during the Add Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java index a75229c6983..1be5c418f94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressChangedMessage + *Generated after a successful Change Address update action.
* *Address that was set during the Change Address update action.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java index dec4dad6b67..cabafd6d77d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerAddressChangedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerAddressChangedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerAddressChangedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerAddressChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerAddressChangedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerAddressChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerAddressChangedMessageBuilder resource(final com.commercetools.api } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerAddressChangedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerAddressChangedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerAddressChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerAddressChangedMessageBuilder resourceVersion(final Long resourceV } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Address that was set during the Change Address update action.
*/ public CustomerAddressChangedMessageBuilder address( @@ -202,7 +202,7 @@ public CustomerAddressChangedMessageBuilder address( } /** - * + *Address that was set during the Change Address update action.
*/ public CustomerAddressChangedMessageBuilder address(final com.commercetools.api.models.common.Address address) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java index a7bd26e3562..798b7b58ba3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressChangedMessage + *Generated after a successful Change Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressChangedMessageImpl implements CustomerAddressChangedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerAddressChangedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Address that was set during the Change Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java index ea15750b360..2749f076a95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressChangedMessagePayload + *Generated after a successful Change Address update action.
* *Address that was set during the Change Address update action.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java index 97341185e6c..40df621fcf0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerAddressChangedMessagePayloadBuilder implements BuilderAddress that was set during the Change Address update action.
*/ public CustomerAddressChangedMessagePayloadBuilder address( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java index e435f10066f..4ad60719fca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressChangedMessagePayload + *Generated after a successful Change Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressChangedMessagePayloadImpl implements CustomerAddressChangedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *Address that was set during the Change Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java index b9282ca890a..2ddff1332ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressRemovedMessage + *Generated after a successful Remove Address update action.
* *Address that was removed during the Remove Address update action.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java index 1427aca68f7..03fc0e4e991 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerAddressRemovedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerAddressRemovedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerAddressRemovedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerAddressRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerAddressRemovedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerAddressRemovedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerAddressRemovedMessageBuilder resource(final com.commercetools.api } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerAddressRemovedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerAddressRemovedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerAddressRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerAddressRemovedMessageBuilder resourceVersion(final Long resourceV } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Address that was removed during the Remove Address update action.
*/ public CustomerAddressRemovedMessageBuilder address( @@ -202,7 +202,7 @@ public CustomerAddressRemovedMessageBuilder address( } /** - * + *Address that was removed during the Remove Address update action.
*/ public CustomerAddressRemovedMessageBuilder address(final com.commercetools.api.models.common.Address address) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java index 3a14ed586f4..1417208b564 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressRemovedMessage + *Generated after a successful Remove Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressRemovedMessageImpl implements CustomerAddressRemovedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerAddressRemovedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Address that was removed during the Remove Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java index a8ee8f0521b..4d07de7716d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressRemovedMessagePayload + *Generated after a successful Remove Address update action.
* *Address that was removed during the Remove Address update action.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java index dcd6e4110f8..abab3a87ced 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerAddressRemovedMessagePayloadBuilder implements BuilderAddress that was removed during the Remove Address update action.
*/ public CustomerAddressRemovedMessagePayloadBuilder address( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java index ebb75376db2..94eaa0ab6be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressRemovedMessagePayload + *Generated after a successful Remove Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressRemovedMessagePayloadImpl implements CustomerAddressRemovedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *Address that was removed during the Remove Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java index b8a186edf5e..3ac36896875 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerCompanyNameSetMessage + *Generated after a successful Set Company Name update action.
* *The companyName
that was set during the Set Company Name update action.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerCompanyNameSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerCompanyNameSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerCompanyNameSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerCompanyNameSetMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerCompanyNameSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerCompanyNameSetMessageBuilder resource(final com.commercetools.api } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerCompanyNameSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerCompanyNameSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerCompanyNameSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerCompanyNameSetMessageBuilder resourceVersion(final Long resourceV } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The companyName
that was set during the Set Company Name update action.
Generated after a successful Set Company Name update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCompanyNameSetMessageImpl implements CustomerCompanyNameSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerCompanyNameSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The companyName
that was set during the Set Company Name update action.
Generated after a successful Set Company Name update action.
* *The companyName
that was set during the Set Company Name update action.
companyName
that was set during the Set Company Name update action.
*/
public CustomerCompanyNameSetMessagePayloadBuilder companyName(@Nullable final String companyName) {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java
index 820bef8edd6..85bb60267e1 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java
@@ -15,7 +15,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * CustomerCompanyNameSetMessagePayload
+ * Generated after a successful Set Company Name update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCompanyNameSetMessagePayloadImpl implements CustomerCompanyNameSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *The companyName
that was set during the Set Company Name update action.
Generated after a successful Create Customer request.
* *Customer that was created.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java index c5ac86c6e33..13f4fead281 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerCreatedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerCreatedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerCreatedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerCreatedMessageBuilder resource(final com.commercetools.api.models } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerCreatedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerCreatedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Customer that was created.
*/ public CustomerCreatedMessageBuilder customer( @@ -202,7 +202,7 @@ public CustomerCreatedMessageBuilder customer( } /** - * + *Customer that was created.
*/ public CustomerCreatedMessageBuilder customer(final com.commercetools.api.models.customer.Customer customer) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java index a7eab2e9b6f..05bcff0262b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerCreatedMessage + *Generated after a successful Create Customer request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCreatedMessageImpl implements CustomerCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerCreatedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Customer that was created.
*/ public com.commercetools.api.models.customer.Customer getCustomer() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java index a58dd414ee4..ea275d27f69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerCreatedMessagePayload + *Generated after a successful Create Customer request.
* *Customer that was created.
*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java index 4189930aff1..9f53a8a90cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerCreatedMessagePayloadBuilder implements BuilderCustomer that was created.
*/ public CustomerCreatedMessagePayloadBuilder customer( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java index ebf1c5f3824..6700520d621 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerCreatedMessagePayload + *Generated after a successful Create Customer request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCreatedMessagePayloadImpl implements CustomerCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *Customer that was created.
*/ public com.commercetools.api.models.customer.Customer getCustomer() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java index 5a0c9f7f379..d500e077e7c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java @@ -12,7 +12,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerDateOfBirthSetMessage + *Generated after a successful Set Date of Birth update action.
* *The dateOfBirth
that was set during the Set Date of Birth update action.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerDateOfBirthSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerDateOfBirthSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerDateOfBirthSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerDateOfBirthSetMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerDateOfBirthSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerDateOfBirthSetMessageBuilder resource(final com.commercetools.api } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerDateOfBirthSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerDateOfBirthSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerDateOfBirthSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerDateOfBirthSetMessageBuilder resourceVersion(final Long resourceV } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The dateOfBirth
that was set during the Set Date of Birth update action.
Generated after a successful Set Date of Birth update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDateOfBirthSetMessageImpl implements CustomerDateOfBirthSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerDateOfBirthSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The dateOfBirth
that was set during the Set Date of Birth update action.
Generated after a successful Set Date of Birth update action.
* *The dateOfBirth
that was set during the Set Date of Birth update action.
dateOfBirth
that was set during the Set Date of Birth update action.
*/
public CustomerDateOfBirthSetMessagePayloadBuilder dateOfBirth(@Nullable final java.time.LocalDate dateOfBirth) {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java
index 4d4cda52268..5efb95f721c 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java
@@ -15,7 +15,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * CustomerDateOfBirthSetMessagePayload
+ * Generated after a successful Set Date of Birth update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDateOfBirthSetMessagePayloadImpl implements CustomerDateOfBirthSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *The dateOfBirth
that was set during the Set Date of Birth update action.
Generated after a successful Delete Customer request.
* *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public CustomerDeletedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public CustomerDeletedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public CustomerDeletedMessageBuilder resource(final com.commercetools.api.models } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public CustomerDeletedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public CustomerDeletedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Generated after a successful Delete Customer request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDeletedMessageImpl implements CustomerDeletedMessage, ModelBase { @@ -70,7 +70,7 @@ public CustomerDeletedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Generated after a successful Delete Customer request.
* *Generated after a successful Delete Customer request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDeletedMessagePayloadImpl implements CustomerDeletedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java index da3b66f9f99..4d50706c945 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerEmailChangedMessage + *Generated after a successful Change Email update action.
* *The email
that was set during the Change Email update action.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerEmailChangedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerEmailChangedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerEmailChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerEmailChangedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerEmailChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerEmailChangedMessageBuilder resource(final com.commercetools.api.m } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerEmailChangedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerEmailChangedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerEmailChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerEmailChangedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The email
that was set during the Change Email update action.
Generated after a successful Change Email update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailChangedMessageImpl implements CustomerEmailChangedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerEmailChangedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The email
that was set during the Change Email update action.
Generated after a successful Change Email update action.
* *The email
that was set during the Change Email update action.
email
that was set during the Change Email update action.
*/
public CustomerEmailChangedMessagePayloadBuilder email(final String email) {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java
index a61e0965ea8..d7fc5e2ab85 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java
@@ -15,7 +15,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * CustomerEmailChangedMessagePayload
+ * Generated after a successful Change Email update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailChangedMessagePayloadImpl implements CustomerEmailChangedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *The email
that was set during the Change Email update action.
Generated after a successful Verify Customer's Email request.
* *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerEmailVerifiedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public CustomerEmailVerifiedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerEmailVerifiedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public CustomerEmailVerifiedMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerEmailVerifiedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public CustomerEmailVerifiedMessageBuilder resource(final com.commercetools.api. } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerEmailVerifiedMessageBuilder resource( @@ -158,7 +158,7 @@ public CustomerEmailVerifiedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerEmailVerifiedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public CustomerEmailVerifiedMessageBuilder resourceVersion(final Long resourceVe } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Generated after a successful Verify Customer's Email request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailVerifiedMessageImpl implements CustomerEmailVerifiedMessage, ModelBase { @@ -70,7 +70,7 @@ public CustomerEmailVerifiedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Generated after a successful Verify Customer's Email request.
* *Generated after a successful Verify Customer's Email request.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailVerifiedMessagePayloadImpl implements CustomerEmailVerifiedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java index 5b118091061..643d869d258 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerFirstNameSetMessage + *Generated after a successful Set First Name update action.
* *The firstName
that was set during the Set First Name update action.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerFirstNameSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerFirstNameSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerFirstNameSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerFirstNameSetMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerFirstNameSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerFirstNameSetMessageBuilder resource(final com.commercetools.api.m } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerFirstNameSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerFirstNameSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerFirstNameSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerFirstNameSetMessageBuilder resourceVersion(final Long resourceVer } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The firstName
that was set during the Set First Name update action.
Generated after a successful Set First Name update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerFirstNameSetMessageImpl implements CustomerFirstNameSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerFirstNameSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The firstName
that was set during the Set First Name update action.
Generated after a successful Set First Name update action.
* *The firstName
that was set during the Set First Name update action.
firstName
that was set during the Set First Name update action.
*/
public CustomerFirstNameSetMessagePayloadBuilder firstName(@Nullable final String firstName) {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java
index 817d2cc5f60..bb8daa5d251 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java
@@ -15,7 +15,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * CustomerFirstNameSetMessagePayload
+ * Generated after a successful Set First Name update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerFirstNameSetMessagePayloadImpl implements CustomerFirstNameSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *The firstName
that was set during the Set First Name update action.
Generated after a successful Set Customer Group update action.
* *Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ @Valid @JsonProperty("customerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java index 4ef438d742b..ea7759af940 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerGroupSetMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerGroupSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerGroupSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerGroupSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerGroupSetMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerGroupSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerGroupSetMessageBuilder resource(final com.commercetools.api.model } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerGroupSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerGroupSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerGroupSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerGroupSetMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ public CustomerGroupSetMessageBuilder customerGroup( @@ -204,7 +204,7 @@ public CustomerGroupSetMessageBuilder customerGroup( } /** - *Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ public CustomerGroupSetMessageBuilder customerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java index 8ea57f18ea1..d44529200b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerGroupSetMessage + *Generated after a successful Set Customer Group update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerGroupSetMessageImpl implements CustomerGroupSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerGroupSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java index f4177854973..4d503748169 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerGroupSetMessagePayload + *Generated after a successful Set Customer Group update action.
* *Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ @Valid @JsonProperty("customerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java index 8a65608fdef..cf717f64f15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java @@ -27,7 +27,7 @@ public class CustomerGroupSetMessagePayloadBuilder implements BuilderCustomer Group that was set during the Set Customer Group update action.
*/ public CustomerGroupSetMessagePayloadBuilder customerGroup( @@ -39,7 +39,7 @@ public CustomerGroupSetMessagePayloadBuilder customerGroup( } /** - *Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ public CustomerGroupSetMessagePayloadBuilder customerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java index fad7190dd9f..bbf8787e93f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerGroupSetMessagePayload + *Generated after a successful Set Customer Group update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerGroupSetMessagePayloadImpl implements CustomerGroupSetMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *Reference to a CustomerGroup.
+ *Customer Group that was set during the Set Customer Group update action.
*/ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java index 3ba1f9e08a4..0ba82c6b4b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerLastNameSetMessage + *Generated after a successful Set Last Name update action.
* *The lastName
that was set during the Set Last Name update action.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerLastNameSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerLastNameSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerLastNameSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerLastNameSetMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerLastNameSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerLastNameSetMessageBuilder resource(final com.commercetools.api.mo } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerLastNameSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerLastNameSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerLastNameSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerLastNameSetMessageBuilder resourceVersion(final Long resourceVers } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The lastName
that was set during the Set Last Name update action.
Generated after a successful Set Last Name update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerLastNameSetMessageImpl implements CustomerLastNameSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerLastNameSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The lastName
that was set during the Set Last Name update action.
Generated after a successful Set Last Name update action.
* *The lastName
that was set during the Set Last Name update action.
lastName
that was set during the Set Last Name update action.
*/
public CustomerLastNameSetMessagePayloadBuilder lastName(@Nullable final String lastName) {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java
index d65f2a43958..9083fa701a0 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java
@@ -15,7 +15,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * CustomerLastNameSetMessagePayload
+ * Generated after a successful Set Last Name update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerLastNameSetMessagePayloadImpl implements CustomerLastNameSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *The lastName
that was set during the Set Last Name update action.
Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.
* *true, if password has been updated during Customer's Password Reset workflow.
+ *Whether the Customer's password was updated during the Customer's Password Reset workflow.
*/ @NotNull @JsonProperty("reset") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java index 1f83868d1bf..abae4826f01 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerPasswordUpdatedMessageBuilder implements BuilderUnique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerPasswordUpdatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerPasswordUpdatedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerPasswordUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerPasswordUpdatedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerPasswordUpdatedMessageBuilder resource( @@ -152,7 +152,7 @@ public CustomerPasswordUpdatedMessageBuilder resource( } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerPasswordUpdatedMessageBuilder resource( @@ -162,7 +162,7 @@ public CustomerPasswordUpdatedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerPasswordUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public CustomerPasswordUpdatedMessageBuilder resourceVersion(final Long resource } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
true, if password has been updated during Customer's Password Reset workflow.
+ *Whether the Customer's password was updated during the Customer's Password Reset workflow.
*/ public CustomerPasswordUpdatedMessageBuilder reset(final Boolean reset) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java index 923f1461b77..e3ce951928b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerPasswordUpdatedMessage + *Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerPasswordUpdatedMessageImpl implements CustomerPasswordUpdatedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerPasswordUpdatedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
true, if password has been updated during Customer's Password Reset workflow.
+ *Whether the Customer's password was updated during the Customer's Password Reset workflow.
*/ public Boolean getReset() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java index 553eeafb09e..f55ad0283ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerPasswordUpdatedMessagePayload + *Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.
* *true, if password has been updated during Customer's Password Reset workflow.
+ *Whether the Customer's password was updated during the Customer's Password Reset workflow.
*/ @NotNull @JsonProperty("reset") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java index 2a6e096d5c5..12dfb59eb0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java @@ -24,7 +24,7 @@ public class CustomerPasswordUpdatedMessagePayloadBuilder implements BuilderWhether the Customer's password was updated during the Customer's Password Reset workflow.
*/ public CustomerPasswordUpdatedMessagePayloadBuilder reset(final Boolean reset) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java index 05b698a4c61..93e6fb90487 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerPasswordUpdatedMessagePayload + *Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerPasswordUpdatedMessagePayloadImpl implements CustomerPasswordUpdatedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - *true, if password has been updated during Customer's Password Reset workflow.
+ *Whether the Customer's password was updated during the Customer's Password Reset workflow.
*/ public Boolean getReset() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java index fdb845a1adc..346296f2c2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerTitleSetMessage + *Generated after a successful Set Title update action.
* *The title
that was set during the Set Title update action.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public CustomerTitleSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerTitleSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public CustomerTitleSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerTitleSetMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerTitleSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerTitleSetMessageBuilder resource(final com.commercetools.api.model } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public CustomerTitleSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerTitleSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public CustomerTitleSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerTitleSetMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The title
that was set during the Set Title update action.
Generated after a successful Set Title update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerTitleSetMessageImpl implements CustomerTitleSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerTitleSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
The title
that was set during the Set Title update action.
Generated after a successful Set Title update action.
* *The title
that was set during the Set Title update action.
title
that was set during the Set Title update action.
*/
public CustomerTitleSetMessagePayloadBuilder title(@Nullable final String title) {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java
index 3eaf19d4a16..ff2f0a48740 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java
@@ -15,7 +15,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * CustomerTitleSetMessagePayload
+ * Generated after a successful Set Title update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerTitleSetMessagePayloadImpl implements CustomerTitleSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *The title
that was set during the Set Title update action.
Generated after a successful Add Delivery update action.
* *Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ @NotNull @Valid @JsonProperty("delivery") public Delivery getDelivery(); + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public DeliveryAddedMessageBuilder id(final String id) { @@ -66,7 +69,7 @@ public DeliveryAddedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public DeliveryAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +87,7 @@ public DeliveryAddedMessageBuilder createdAt(final java.time.ZonedDateTime creat } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public DeliveryAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +154,7 @@ public DeliveryAddedMessageBuilder resource(final com.commercetools.api.models.c } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public DeliveryAddedMessageBuilder resource( @@ -161,7 +164,7 @@ public DeliveryAddedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public DeliveryAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +173,7 @@ public DeliveryAddedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ public DeliveryAddedMessageBuilder delivery( @@ -202,7 +205,7 @@ public DeliveryAddedMessageBuilder delivery( } /** - * + *Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ public DeliveryAddedMessageBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -210,6 +213,15 @@ public DeliveryAddedMessageBuilder delivery(final com.commercetools.api.models.o return this; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Add Delivery update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase { @@ -44,6 +44,8 @@ public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase private com.commercetools.api.models.order.Delivery delivery; + private String shippingKey; + @JsonCreator DeliveryAddedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -54,7 +56,8 @@ public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery) { + @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -66,6 +69,7 @@ public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; this.delivery = delivery; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDED; } @@ -74,7 +78,7 @@ public DeliveryAddedMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -82,7 +86,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -146,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -154,7 +158,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Add Delivery update action.
* *Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ @NotNull @Valid @JsonProperty("delivery") public Delivery getDelivery(); + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ public DeliveryAddedMessagePayloadBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -43,20 +48,34 @@ public DeliveryAddedMessagePayloadBuilder delivery(final com.commercetools.api.m return this; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Add Delivery update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddedMessagePayloadImpl implements DeliveryAddedMessagePayload, ModelBase { @@ -24,10 +24,14 @@ public class DeliveryAddedMessagePayloadImpl implements DeliveryAddedMessagePayl private com.commercetools.api.models.order.Delivery delivery; + private String shippingKey; + @JsonCreator DeliveryAddedMessagePayloadImpl( - @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery) { + @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, + @JsonProperty("shippingKey") final String shippingKey) { this.delivery = delivery; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDED; } @@ -44,17 +48,29 @@ public String getType() { } /** - * + *Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.
*/ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Address update action.
* *Unique identifier of the Parcel.
*/ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *Address after the Set Delivery Address update action.
*/ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *Address before the Set Delivery Address update action.
*/ @Valid @JsonProperty("oldAddress") public Address getOldAddress(); + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public DeliveryAddressSetMessageBuilder id(final String id) { @@ -72,7 +75,7 @@ public DeliveryAddressSetMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public DeliveryAddressSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +93,7 @@ public DeliveryAddressSetMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public DeliveryAddressSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +160,7 @@ public DeliveryAddressSetMessageBuilder resource(final com.commercetools.api.mod } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public DeliveryAddressSetMessageBuilder resource( @@ -167,7 +170,7 @@ public DeliveryAddressSetMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public DeliveryAddressSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +179,7 @@ public DeliveryAddressSetMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Unique identifier of the Parcel.
*/ public DeliveryAddressSetMessageBuilder deliveryId(final String deliveryId) { @@ -207,7 +210,7 @@ public DeliveryAddressSetMessageBuilder deliveryId(final String deliveryId) { } /** - * + *Address after the Set Delivery Address update action.
*/ public DeliveryAddressSetMessageBuilder address( @@ -217,7 +220,7 @@ public DeliveryAddressSetMessageBuilder address( } /** - * + *Address after the Set Delivery Address update action.
*/ public DeliveryAddressSetMessageBuilder address( @@ -227,7 +230,7 @@ public DeliveryAddressSetMessageBuilder address( } /** - * + *Address before the Set Delivery Address update action.
*/ public DeliveryAddressSetMessageBuilder oldAddress( @@ -237,7 +240,7 @@ public DeliveryAddressSetMessageBuilder oldAddress( } /** - * + *Address before the Set Delivery Address update action.
*/ public DeliveryAddressSetMessageBuilder oldAddress( @@ -246,6 +249,15 @@ public DeliveryAddressSetMessageBuilder oldAddress( return this; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, ModelBase { @@ -48,6 +48,8 @@ public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, private com.commercetools.api.models.common.Address oldAddress; + private String shippingKey; + @JsonCreator DeliveryAddressSetMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -60,7 +62,8 @@ public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("address") final com.commercetools.api.models.common.Address address, - @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress) { + @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -74,6 +77,7 @@ public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, this.deliveryId = deliveryId; this.address = address; this.oldAddress = oldAddress; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDRESS_SET; } @@ -82,7 +86,7 @@ public DeliveryAddressSetMessageImpl() { } /** - *Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -90,7 +94,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -154,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -162,7 +166,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Unique identifier of the Parcel.
*/ public String getDeliveryId() { @@ -178,7 +182,7 @@ public String getDeliveryId() { } /** - * + *Address after the Set Delivery Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { @@ -186,13 +190,21 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *Address before the Set Delivery Address update action.
*/ public com.commercetools.api.models.common.Address getOldAddress() { return this.oldAddress; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Address update action.
* *Unique identifier of the Parcel.
*/ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *Address after the Set Delivery Address update action.
*/ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *Address before the Set Delivery Address update action.
*/ @Valid @JsonProperty("oldAddress") public Address getOldAddress(); + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Address after the Set Delivery Address update action.
*/ public DeliveryAddressSetMessagePayloadBuilder address( @@ -52,7 +55,7 @@ public DeliveryAddressSetMessagePayloadBuilder address( } /** - * + *Address after the Set Delivery Address update action.
*/ public DeliveryAddressSetMessagePayloadBuilder address( @@ -62,7 +65,7 @@ public DeliveryAddressSetMessagePayloadBuilder address( } /** - * + *Address before the Set Delivery Address update action.
*/ public DeliveryAddressSetMessagePayloadBuilder oldAddress( @@ -72,7 +75,7 @@ public DeliveryAddressSetMessagePayloadBuilder oldAddress( } /** - * + *Address before the Set Delivery Address update action.
*/ public DeliveryAddressSetMessagePayloadBuilder oldAddress( @@ -81,6 +84,15 @@ public DeliveryAddressSetMessagePayloadBuilder oldAddress( return this; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Address update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddressSetMessagePayloadImpl implements DeliveryAddressSetMessagePayload, ModelBase { @@ -28,13 +28,17 @@ public class DeliveryAddressSetMessagePayloadImpl implements DeliveryAddressSetM private com.commercetools.api.models.common.Address oldAddress; + private String shippingKey; + @JsonCreator DeliveryAddressSetMessagePayloadImpl(@JsonProperty("deliveryId") final String deliveryId, @JsonProperty("address") final com.commercetools.api.models.common.Address address, - @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress) { + @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress, + @JsonProperty("shippingKey") final String shippingKey) { this.deliveryId = deliveryId; this.address = address; this.oldAddress = oldAddress; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDRESS_SET; } @@ -51,7 +55,7 @@ public String getType() { } /** - * + *Unique identifier of the Parcel.
*/ public String getDeliveryId() { @@ -59,7 +63,7 @@ public String getDeliveryId() { } /** - * + *Address after the Set Delivery Address update action.
*/ public com.commercetools.api.models.common.Address getAddress() { @@ -67,13 +71,21 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *Address before the Set Delivery Address update action.
*/ public com.commercetools.api.models.common.Address getOldAddress() { return this.oldAddress; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Items update action.
* *Unique identifier of the Delivery.
*/ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *Delivery Items after the Set Delivery Items update action.
*/ @NotNull @Valid @@ -58,13 +58,20 @@ public interface DeliveryItemsUpdatedMessage extends OrderMessage { public ListDelivery Items before the Set Delivery Items update action.
*/ @NotNull @Valid @JsonProperty("oldItems") public ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Unique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public DeliveryItemsUpdatedMessageBuilder id(final String id) { @@ -72,7 +75,7 @@ public DeliveryItemsUpdatedMessageBuilder id(final String id) { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public DeliveryItemsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +93,7 @@ public DeliveryItemsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public DeliveryItemsUpdatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +160,7 @@ public DeliveryItemsUpdatedMessageBuilder resource(final com.commercetools.api.m } /** - *A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public DeliveryItemsUpdatedMessageBuilder resource( @@ -167,7 +170,7 @@ public DeliveryItemsUpdatedMessageBuilder resource( } /** - * + *Version of the resource on which the change or action was performed.
*/ public DeliveryItemsUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +179,7 @@ public DeliveryItemsUpdatedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Unique identifier of the Delivery.
*/ public DeliveryItemsUpdatedMessageBuilder deliveryId(final String deliveryId) { @@ -207,7 +210,7 @@ public DeliveryItemsUpdatedMessageBuilder deliveryId(final String deliveryId) { } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder items(final com.commercetools.api.models.order.DeliveryItem... items) { @@ -216,7 +219,7 @@ public DeliveryItemsUpdatedMessageBuilder items(final com.commercetools.api.mode } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder items( @@ -226,7 +229,7 @@ public DeliveryItemsUpdatedMessageBuilder items( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder plusItems( @@ -239,7 +242,7 @@ public DeliveryItemsUpdatedMessageBuilder plusItems( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder plusItems( @@ -252,7 +255,7 @@ public DeliveryItemsUpdatedMessageBuilder plusItems( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder withItems( @@ -263,7 +266,7 @@ public DeliveryItemsUpdatedMessageBuilder withItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder oldItems( @@ -273,7 +276,7 @@ public DeliveryItemsUpdatedMessageBuilder oldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder oldItems( @@ -283,7 +286,7 @@ public DeliveryItemsUpdatedMessageBuilder oldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder plusOldItems( @@ -296,7 +299,7 @@ public DeliveryItemsUpdatedMessageBuilder plusOldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder plusOldItems( @@ -309,7 +312,7 @@ public DeliveryItemsUpdatedMessageBuilder plusOldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessageBuilder withOldItems( @@ -319,6 +322,15 @@ public DeliveryItemsUpdatedMessageBuilder withOldItems( return this; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Items update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryItemsUpdatedMessageImpl implements DeliveryItemsUpdatedMessage, ModelBase { @@ -48,6 +48,8 @@ public class DeliveryItemsUpdatedMessageImpl implements DeliveryItemsUpdatedMess private java.util.ListUnique identifier of the Message.
+ *Unique identifier of the Message. Can be used to track which Messages have been processed.
*/ public String getId() { @@ -90,7 +94,7 @@ public String getId() { } /** - * + *Version of a resource. In case of Messages, this is always 1
.
Date and time (UTC) the Message was generated.
*/ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *Value of createdAt
.
Present on resources created after 1 February 2019 except for events not tracked.
+ *Value of createdBy
.
Message number in relation to other Messages for a given resource. The sequenceNumber
of the next Message for the resource is the successor of the sequenceNumber
of the current Message. Meaning, the sequenceNumber
of the next Message equals the sequenceNumber
of the current Message + 1. sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.
A Reference represents a loose reference to another resource in the same Project identified by its id
. The typeId
indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj
field then.
Reference to the resource on which the change or action was performed.
*/ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *Version of the resource on which the change or action was performed.
*/ public Long getResourceVersion() { @@ -154,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *Message Type of the Message.
*/ public String getType() { @@ -162,7 +166,7 @@ public String getType() { } /** - * + *User-provided identifiers of the resource, such as key
or externalId
. Only present if the resource has such identifiers.
Unique identifier of the Delivery.
*/ public String getDeliveryId() { @@ -178,7 +182,7 @@ public String getDeliveryId() { } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public java.util.ListDelivery Items before the Set Delivery Items update action.
*/ public java.util.ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Unique identifier of the Delivery.
*/ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *Delivery Items after the Set Delivery Items update action.
*/ @NotNull @Valid @@ -51,13 +51,20 @@ public interface DeliveryItemsUpdatedMessagePayload extends OrderMessagePayload public ListDelivery Items before the Set Delivery Items update action.
*/ @NotNull @Valid @JsonProperty("oldItems") public ListUser-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Unique identifier of the Delivery.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder deliveryId(final String deliveryId) { @@ -40,7 +45,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder deliveryId(final String deliver } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder items( @@ -50,7 +55,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder items( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder items( @@ -60,7 +65,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder items( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( @@ -73,7 +78,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( @@ -86,7 +91,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( } /** - * + *Delivery Items after the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder withItems( @@ -97,7 +102,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder withItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( @@ -107,7 +112,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( @@ -117,7 +122,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( @@ -130,7 +135,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( @@ -143,7 +148,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( } /** - * + *Delivery Items before the Set Delivery Items update action.
*/ public DeliveryItemsUpdatedMessagePayloadBuilder withOldItems( @@ -153,6 +158,15 @@ public DeliveryItemsUpdatedMessagePayloadBuilder withOldItems( return this; } + /** + *User-defined unique identifier of the Shipping Method in a Cart with Multi
ShippingMode.
Generated after a successful Set Delivery Items update action.
*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryItemsUpdatedMessagePayloadImpl implements DeliveryItemsUpdatedMessagePayload, ModelBase { @@ -28,13 +28,17 @@ public class DeliveryItemsUpdatedMessagePayloadImpl implements DeliveryItemsUpda private java.util.List