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 Feb 14, 2025
1 parent 7cf326f commit 2071948
Show file tree
Hide file tree
Showing 32 changed files with 102 additions and 86 deletions.
15 changes: 15 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@
- added type `AssociateRoleNameSetMessagePayload`
</details>

**History changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `setAssetKey` to type `UpdateType`
</details>


<details>
<summary>Removed Enum(s)</summary>

- :warning: removed enum `setAsssetKey` from type `UpdateType`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public interface CartAddShippingMethodAction extends CartUpdateAction {
public String getShippingKey();

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* @return shippingMethod
*/
@NotNull
Expand Down Expand Up @@ -115,7 +115,7 @@ public interface CartAddShippingMethodAction extends CartUpdateAction {
public void setShippingKey(final String shippingKey);

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* @param shippingMethod value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public CartAddShippingMethodActionBuilder shippingKey(final String shippingKey)
}

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* @param builder function to build the shippingMethod value
* @return Builder
*/
Expand All @@ -70,7 +70,7 @@ public CartAddShippingMethodActionBuilder shippingMethod(
}

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* @param builder function to build the shippingMethod value
* @return Builder
*/
Expand All @@ -83,7 +83,7 @@ public CartAddShippingMethodActionBuilder withShippingMethod(
}

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* @param shippingMethod value to be set
* @return Builder
*/
Expand Down Expand Up @@ -337,7 +337,7 @@ public String getShippingKey() {
}

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* @return shippingMethod
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public String getShippingKey() {
}

/**
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
*/

public com.commercetools.api.models.shipping_method.ShippingMethodResourceIdentifier getShippingMethod() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
public interface ShippingMode extends JsonEnum {

/**
<p>Cart can contain only a single Shipping Method. This is the default mode for backwards compatibilty.</p> */
<p>Cart can contain only a single Shipping Method. This is the default mode for backwards compatibility.</p> */
ShippingMode SINGLE = ShippingModeEnum.SINGLE;
/**
<p>Cart can contain multiple Shipping Methods.</p> */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import jakarta.validation.constraints.NotNull;

/**
* <p>Generic type holding specifc ShippingRateInputDraft types.</p>
* <p>Generic type holding specific ShippingRateInputDraft types.</p>
*
* <hr>
* Example to create a subtype instance using the builder pattern
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>Generic type holding specifc ShippingRateInputDraft types.</p>
* <p>Generic type holding specific ShippingRateInputDraft types.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ShippingRateInputDraftImpl implements ShippingRateInputDraft, ModelBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @return targetPattern
*/
Expand Down Expand Up @@ -101,7 +101,7 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param targetPattern values to be set
*/
Expand All @@ -111,7 +111,7 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param targetPattern values to be set
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public CartDiscountPatternTargetBuilder withTriggerPattern(

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param targetPattern value to be set
* @return Builder
Expand All @@ -130,7 +130,7 @@ public CartDiscountPatternTargetBuilder targetPattern(

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param targetPattern value to be set
* @return Builder
Expand All @@ -144,7 +144,7 @@ public CartDiscountPatternTargetBuilder targetPattern(

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param targetPattern value to be set
* @return Builder
Expand All @@ -161,7 +161,7 @@ public CartDiscountPatternTargetBuilder plusTargetPattern(

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param builder function to build the targetPattern value
* @return Builder
Expand All @@ -179,7 +179,7 @@ public CartDiscountPatternTargetBuilder plusTargetPattern(

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @param builder function to build the targetPattern value
* @return Builder
Expand Down Expand Up @@ -230,7 +230,7 @@ public java.util.List<com.commercetools.api.models.cart_discount.PatternComponen

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
* @return targetPattern
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public java.util.List<com.commercetools.api.models.cart_discount.PatternComponen

/**
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable
public LocalDate getDateOfBirth();

/**
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended functionality.</p>
* @return companyName
*/

Expand Down Expand Up @@ -359,7 +359,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable
public void setDateOfBirth(final LocalDate dateOfBirth);

/**
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended functionality.</p>
* @param companyName value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public CustomerDraftBuilder dateOfBirth(@Nullable final java.time.LocalDate date
}

/**
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended functionality.</p>
* @param companyName value to be set
* @return Builder
*/
Expand Down Expand Up @@ -852,7 +852,7 @@ public java.time.LocalDate getDateOfBirth() {
}

/**
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended functionality.</p>
* @return companyName
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public java.time.LocalDate getDateOfBirth() {
}

/**
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, Business Units provide extended functionality.</p>
*/

public String getCompanyName() {
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>Setting the first name of the Customer produces the CustomeFirstNameSet Message.</p>
* <p>Setting the first name of the Customer produces the CustomerFirstNameSet Message.</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 @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* <p>Setting the first name of the Customer produces the CustomeFirstNameSet Message.</p>
* <p>Setting the first name of the Customer produces the CustomerFirstNameSet Message.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class CustomerSetFirstNameActionImpl implements CustomerSetFirstNameAction, ModelBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public interface MyCartAddItemShippingAddressAction extends MyCartUpdateAction {

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
* @return address
*/
@NotNull
Expand All @@ -50,7 +50,7 @@ public interface MyCartAddItemShippingAddressAction extends MyCartUpdateAction {

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
* @param address value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class MyCartAddItemShippingAddressActionBuilder implements Builder<MyCart

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
* @param builder function to build the address value
* @return Builder
*/
Expand All @@ -39,7 +39,7 @@ public MyCartAddItemShippingAddressActionBuilder address(

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
* @param builder function to build the address value
* @return Builder
*/
Expand All @@ -52,7 +52,7 @@ public MyCartAddItemShippingAddressActionBuilder withAddress(

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
* @param address value to be set
* @return Builder
*/
Expand All @@ -65,7 +65,7 @@ public MyCartAddItemShippingAddressActionBuilder address(

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
* @return address
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public String getAction() {

/**
* <p>Address to append to <code>itemShippingAddresses</code>.</p>
* <p>The new address must have a key that is unique accross this Cart.</p>
* <p>The new address must have a key that is unique across this Cart.</p>
*/

public com.commercetools.api.models.common.BaseAddress getAddress() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import jakarta.validation.constraints.NotNull;

/**
* <p>Result of a succesful application of <code>stagedActions</code> to the Order.</p>
* <p>Result of a successful application of <code>stagedActions</code> to the Order.</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 @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* <p>Result of a succesful application of <code>stagedActions</code> to the Order.</p>
* <p>Result of a successful application of <code>stagedActions</code> to the Order.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class OrderEditAppliedImpl implements OrderEditApplied, ModelBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public interface TransactionState extends JsonEnum {
<p>The payment service has accepted the Transaction, but it is not completed yet.</p> */
TransactionState PENDING = TransactionStateEnum.PENDING;
/**
<p>The payment service has confirmed the successful completion of the Transation.</p> */
<p>The payment service has confirmed the successful completion of the Transaction.</p> */
TransactionState SUCCESS = TransactionStateEnum.SUCCESS;
/**
<p>Transaction has unrecoverably failed.</p> */
Expand Down
Loading

0 comments on commit 2071948

Please sign in to comment.