Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@
<details>
<summary>Added Property(s)</summary>

- added property `retentionPolicy` to type `ImportContainer`
- added property `expiresAt` to type `ImportContainer`
- added property `retentionPolicy` to type `ImportContainerDraft`
- added property `attributes` to type `ProductImport`
- added property `attributes` to type `ProductDraftImport`
- added property `level` to type `AttributeDefinition`
Expand All @@ -226,6 +229,10 @@
<details>
<summary>Added Type(s)</summary>

- added type `StrategyEnum`
- added type `RetentionPolicy`
- added type `TimeToLiveConfig`
- added type `TimeToLiveRetentionPolicy`
- added type `AttributeLevel`
</details>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedPrice
*/
@Valid
Expand All @@ -189,6 +189,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedShippingPrice
*/
@Valid
Expand Down Expand Up @@ -559,14 +560,15 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedPrice value to be set
*/

public void setTaxedPrice(final TaxedPrice taxedPrice);

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedShippingPrice value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ public CartBuilder totalPrice(final com.commercetools.api.models.common.CentPrec
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedPrice value
* @return Builder
*/
Expand All @@ -602,7 +602,7 @@ public CartBuilder taxedPrice(
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedPrice value
* @return Builder
*/
Expand All @@ -618,7 +618,7 @@ public CartBuilder withTaxedPrice(
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedPrice value to be set
* @return Builder
*/
Expand All @@ -630,6 +630,7 @@ public CartBuilder taxedPrice(@Nullable final com.commercetools.api.models.cart.

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedShippingPrice value
* @return Builder
*/
Expand All @@ -642,6 +643,7 @@ public CartBuilder taxedShippingPrice(

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedShippingPrice value
* @return Builder
*/
Expand All @@ -654,6 +656,7 @@ public CartBuilder withTaxedShippingPrice(

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedShippingPrice value to be set
* @return Builder
*/
Expand Down Expand Up @@ -1774,7 +1777,7 @@ public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedPrice
*/

Expand All @@ -1785,6 +1788,7 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() {

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedShippingPrice
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*/

public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() {
Expand All @@ -346,6 +346,7 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() {

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*/

public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order <code>taxedPrice</code>.</p>
* <p>Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order <code>taxedPrice</code> and <code>taxedShippingPrice</code>.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* <p>Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order <code>taxedPrice</code>.</p>
* <p>Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order <code>taxedPrice</code> and <code>taxedShippingPrice</code>.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class CartDiscountTotalPriceTargetImpl implements CartDiscountTotalPriceTarget, ModelBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedPrice
*/
@Valid
Expand All @@ -200,6 +200,7 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedShippingPrice
*/
@Valid
Expand Down Expand Up @@ -632,14 +633,15 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedPrice value to be set
*/

public void setTaxedPrice(final TaxedPrice taxedPrice);

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedShippingPrice value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ public OrderBuilder totalPrice(final com.commercetools.api.models.common.CentPre
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedPrice value
* @return Builder
*/
Expand All @@ -628,7 +628,7 @@ public OrderBuilder taxedPrice(
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedPrice value
* @return Builder
*/
Expand All @@ -644,7 +644,7 @@ public OrderBuilder withTaxedPrice(
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedPrice value to be set
* @return Builder
*/
Expand All @@ -656,6 +656,7 @@ public OrderBuilder taxedPrice(@Nullable final com.commercetools.api.models.cart

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedShippingPrice value
* @return Builder
*/
Expand All @@ -668,6 +669,7 @@ public OrderBuilder taxedShippingPrice(

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param builder function to build the taxedShippingPrice value
* @return Builder
*/
Expand All @@ -680,6 +682,7 @@ public OrderBuilder withTaxedShippingPrice(

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @param taxedShippingPrice value to be set
* @return Builder
*/
Expand Down Expand Up @@ -2111,7 +2114,7 @@ public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedPrice
*/

Expand All @@ -2122,6 +2125,7 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() {

/**
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* @return taxedShippingPrice
*/

Expand Down
Loading