Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed May 27, 2024
1 parent 3b225ed commit 46fe3f9
Show file tree
Hide file tree
Showing 76 changed files with 181 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>A failed response can return a DuplicatePriceScope, DuplicateVariantValues, DuplicateAttributeValue, or DuplicateAttributeValues error.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>A failed response can return a DuplicatePriceScope, DuplicateVariantValues, DuplicateAttributeValue, or DuplicateAttributeValues error.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
* <p>If [Product price selection query parameters]](/../api/pricing-and-discounts-overview#product-price-selection) are provided, the selected Prices are added to the response.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Product price selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Product price selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Produces the StandalonePriceCreated Message.</p>
* <p>Creating a Standalone Price produces the StandalonePriceCreated Message.</p>
* <ul>
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a DuplicateStandalonePriceScope error is returned.</li>
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a OverlappingStandalonePriceValidity error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Produces the StandalonePriceCreated Message.</p>
* <p>Creating a Standalone Price produces the StandalonePriceCreated Message.</p>
* <ul>
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a DuplicateStandalonePriceScope error is returned.</li>
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a OverlappingStandalonePriceValidity error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
public String getCustomerEmail();

/**
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
* @return customerGroup
*/
@Valid
Expand Down Expand Up @@ -357,7 +357,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
public PaymentInfo getPaymentInfo();

/**
* <p>Used for LineItem Price selection.</p>
* <p>Used for Line Item price selection.</p>
* @return country
*/

Expand Down Expand Up @@ -464,7 +464,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
public void setCustomerEmail(final String customerEmail);

/**
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
* @param customerGroup value to be set
*/

Expand Down Expand Up @@ -735,7 +735,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
public void setPaymentInfo(final PaymentInfo paymentInfo);

/**
* <p>Used for LineItem Price selection.</p>
* <p>Used for Line Item price selection.</p>
* @param country value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in LineItem Price selection.</p>
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in Line Item price selection.</p>
* <p>If the Tax Rate is not set, a MissingTaxRateForCountry error is returned.</p>
* <p>If the Line Items do not have a Price according to the Product <code>priceMode</code> value for a selected currency and/or country, Customer Group, or Channel, a MatchingPriceNotFound error is returned.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in LineItem Price selection.</p>
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in Line Item price selection.</p>
* <p>If the Tax Rate is not set, a MissingTaxRateForCountry error is returned.</p>
* <p>If the Line Items do not have a Price according to the Product <code>priceMode</code> value for a selected currency and/or country, Customer Group, or Channel, a MatchingPriceNotFound error is returned.</p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public CartBuilder customerEmail(@Nullable final String customerEmail) {
}

/**
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
* @param builder function to build the customerGroup value
* @return Builder
*/
Expand All @@ -244,7 +244,7 @@ public CartBuilder customerGroup(
}

/**
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
* @param builder function to build the customerGroup value
* @return Builder
*/
Expand All @@ -257,7 +257,7 @@ public CartBuilder withCustomerGroup(
}

/**
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
* @param customerGroup value to be set
* @return Builder
*/
Expand Down Expand Up @@ -1433,7 +1433,7 @@ public CartBuilder paymentInfo(@Nullable final com.commercetools.api.models.orde
}

/**
* <p>Used for LineItem Price selection.</p>
* <p>Used for Line Item price selection.</p>
* @param country value to be set
* @return Builder
*/
Expand Down Expand Up @@ -1649,7 +1649,7 @@ public String getCustomerEmail() {
}

/**
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
* @return customerGroup
*/

Expand Down Expand Up @@ -1936,7 +1936,7 @@ public com.commercetools.api.models.order.PaymentInfo getPaymentInfo() {
}

/**
* <p>Used for LineItem Price selection.</p>
* <p>Used for Line Item price selection.</p>
* @return country
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* <p>When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the <code>shippingDetails</code> field is kept in its current state to avoid data loss.</p>
* <p>To change the Line Item quantity and shipping details together, use this update action in combination with the Set LineItem ShippingDetails update action in a single Cart update command.</p>
* <p>The LineItem price is set as described in LineItem Price selection.</p>
* <p>The LineItem price is set as described in Line Item price selection.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand Down Expand Up @@ -66,7 +66,7 @@ public interface CartChangeLineItemQuantityAction extends CartUpdateAction {

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
* @return externalPrice
*/
@Valid
Expand Down Expand Up @@ -105,7 +105,7 @@ public interface CartChangeLineItemQuantityAction extends CartUpdateAction {

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
* @param externalPrice value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public CartChangeLineItemQuantityActionBuilder quantity(final Long quantity) {

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
* @param builder function to build the externalPrice value
* @return Builder
*/
Expand All @@ -87,7 +87,7 @@ public CartChangeLineItemQuantityActionBuilder externalPrice(

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
* @param builder function to build the externalPrice value
* @return Builder
*/
Expand All @@ -100,7 +100,7 @@ public CartChangeLineItemQuantityActionBuilder withExternalPrice(

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
* @param externalPrice value to be set
* @return Builder
*/
Expand Down Expand Up @@ -182,7 +182,7 @@ public Long getQuantity() {

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
* @return externalPrice
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* <p>When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the <code>shippingDetails</code> field is kept in its current state to avoid data loss.</p>
* <p>To change the Line Item quantity and shipping details together, use this update action in combination with the Set LineItem ShippingDetails update action in a single Cart update command.</p>
* <p>The LineItem price is set as described in LineItem Price selection.</p>
* <p>The LineItem price is set as described in Line Item price selection.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class CartChangeLineItemQuantityActionImpl implements CartChangeLineItemQuantityAction, ModelBase {
Expand Down Expand Up @@ -94,7 +94,7 @@ public Long getQuantity() {

/**
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
* <p>The LineItem price is updated as described in Line Item price selection.</p>
*/

public com.commercetools.api.models.common.Money getExternalPrice() {
Expand Down
Loading

0 comments on commit 46fe3f9

Please sign in to comment.