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 12, 2025
1 parent bd0a5cd commit 67e910b
Show file tree
Hide file tree
Showing 26 changed files with 57 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates an Order from a Quote in a BusinessUnit. Creating an Order fails with an InvalidOperation if the Quote does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
* <p>Creates an Order from a Quote in a BusinessUnit.</p>
* <p>The Quote must reference the same Business Unit as the <code>businessUnitKey</code> path parameter, must have the <code>Pending</code> state, and must be valid (not past the <code>validTo</code> date). If these criteria are not met, an InvalidOperation error is returned.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>InvalidItemShippingDetails</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates an Order from a Quote in a BusinessUnit. Creating an Order fails with an InvalidOperation if the Quote does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
* <p>Creates an Order from a Quote in a BusinessUnit.</p>
* <p>The Quote must reference the same Business Unit as the <code>businessUnitKey</code> path parameter, must have the <code>Pending</code> state, and must be valid (not past the <code>validTo</code> date). If these criteria are not met, an InvalidOperation error is returned.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>InvalidItemShippingDetails</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Creates an Order from a Quote in a Store. The referenced Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date); otherwise, an InvalidOperation error is returned.</p>
* <p>Produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>InvalidItemShippingDetails</li>
* <li>InvalidOperation</li>
* <li>CountryNotConfiguredInStore</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Creates an Order from a Quote in a Store. The referenced Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date); otherwise, an InvalidOperation error is returned.</p>
* <p>Produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>InvalidItemShippingDetails</li>
* <li>InvalidOperation</li>
* <li>CountryNotConfiguredInStore</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyQuotes</code> Permission.</p>
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Creates an Order from a Quote. To create B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyQuotes</code> Permission.</p>
* <p>The referenced Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date); otherwise, an InvalidOperation error is returned.</p>
* <p>Produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>InvalidItemShippingDetails</li>
* <li>CountryNotConfiguredInStore</li>
* <li>AssociateMissingPermission</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyQuotes</code> Permission.</p>
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Creates an Order from a Quote. To create B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyQuotes</code> Permission.</p>
* <p>The referenced Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date); otherwise, an InvalidOperation error is returned.</p>
* <p>Produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>InvalidItemShippingDetails</li>
* <li>CountryNotConfiguredInStore</li>
* <li>AssociateMissingPermission</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Creates an Order from a Quote. The referenced Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date); otherwise, an InvalidOperation error is returned.</p>
* <p>Produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>CountryNotConfiguredInStore</li>
* <li>InvalidItemShippingDetails</li>
* <li>InvalidOperation</li>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Creates an Order from a Quote. The referenced Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date); otherwise, an InvalidOperation error is returned.</p>
* <p>Produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>CountryNotConfiguredInStore</li>
* <li>InvalidItemShippingDetails</li>
* <li>InvalidOperation</li>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* <p>When a Cart is frozen, the error can be returned as a failed response to all update actions on Carts and My Carts.</p>
* <p>The error is also returned as a failed response to:</p>
* <ul>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on Orders.</li>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on My Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on My Orders.</li>
* <li>Create Order from Cart in BusinessUnit request on Associate Orders.</li>
* </ul>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* <p>When a Cart is frozen, the error can be returned as a failed response to all update actions on Carts and My Carts.</p>
* <p>The error is also returned as a failed response to:</p>
* <ul>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on Orders.</li>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on My Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on My Orders.</li>
* <li>Create Order from Cart in BusinessUnit request on Associate Orders.</li>
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* <p>When a Cart is frozen, the error can be returned as a failed response to all update actions on Carts and My Carts.</p>
* <p>The error is also returned as a failed response to:</p>
* <ul>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on Orders.</li>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on My Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on My Orders.</li>
* <li>Create Order from Cart in BusinessUnit request on Associate Orders.</li>
* </ul>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* <p>When a Cart is frozen, the error can be returned as a failed response to all update actions on Carts and My Carts.</p>
* <p>The error is also returned as a failed response to:</p>
* <ul>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on Orders.</li>
* <li>Create Order from Cart, Create Order in Store from Cart, and Create Order from Quote requests on My Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on Orders.</li>
* <li>Create Order from Cart and Create Order in Store from Cart requests on My Orders.</li>
* <li>Create Order from Cart in BusinessUnit request on Associate Orders.</li>
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
public interface OrderFromQuoteDraft extends io.vrap.rmf.base.client.Draft<OrderFromQuoteDraft> {

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
* @return quote
*/
@NotNull
Expand Down Expand Up @@ -101,7 +102,8 @@ public interface OrderFromQuoteDraft extends io.vrap.rmf.base.client.Draft<Order
public StateResourceIdentifier getState();

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
* @param quote value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public class OrderFromQuoteDraftBuilder implements Builder<OrderFromQuoteDraft>
private com.commercetools.api.models.state.StateResourceIdentifier state;

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
* @param builder function to build the quote value
* @return Builder
*/
Expand All @@ -60,7 +61,8 @@ public OrderFromQuoteDraftBuilder quote(
}

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
* @param builder function to build the quote value
* @return Builder
*/
Expand All @@ -72,7 +74,8 @@ public OrderFromQuoteDraftBuilder withQuote(
}

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
* @param quote value to be set
* @return Builder
*/
Expand Down Expand Up @@ -188,7 +191,8 @@ public OrderFromQuoteDraftBuilder state(
}

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
* @return quote
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public OrderFromQuoteDraftImpl() {
}

/**
* <p>ResourceIdentifier to the Quote from which the Order is created. If the referenced Quote has expired (<code>validTo</code> check) or its <code>quoteState</code> is <code>Accepted</code>, <code>Declined</code>, or <code>Withdrawn</code>, the Order creation will fail.</p>
* <p>ResourceIdentifier to the Quote from which the Order is created.</p>
* <p>The Quote must have the <code>Pending</code> state and must be valid (not past the <code>validTo</code> date).</p>
*/

public com.commercetools.api.models.quote.QuoteResourceIdentifier getQuote() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public interface Quote extends BaseResource, QuoteMixin, com.commercetools.api.m
public CustomerGroupReference getCustomerGroup();

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @return validTo
*/

Expand Down Expand Up @@ -443,7 +443,7 @@ public interface Quote extends BaseResource, QuoteMixin, com.commercetools.api.m
public void setCustomerGroup(final CustomerGroupReference customerGroup);

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @param validTo value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public QuoteBuilder customerGroup(
}

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @param validTo value to be set
* @return Builder
*/
Expand Down Expand Up @@ -1337,7 +1337,7 @@ public com.commercetools.api.models.customer_group.CustomerGroupReference getCus
}

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @return validTo
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ public interface QuoteChangeQuoteStateAction extends QuoteUpdateAction {
String CHANGE_QUOTE_STATE = "changeQuoteState";

/**
* <p>New state to be set for the Quote.</p>
* <p>New state to be set for the Quote, except <code>DeclinedForRenegotiation</code>. The <code>DeclinedForRenegotiation</code> state can be set only when performing a renegotiation request.</p>
* @return quoteState
*/
@NotNull
@JsonProperty("quoteState")
public QuoteState getQuoteState();

/**
* <p>New state to be set for the Quote.</p>
* <p>New state to be set for the Quote, except <code>DeclinedForRenegotiation</code>. The <code>DeclinedForRenegotiation</code> state can be set only when performing a renegotiation request.</p>
* @param quoteState value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class QuoteChangeQuoteStateActionBuilder implements Builder<QuoteChangeQu
private com.commercetools.api.models.quote.QuoteState quoteState;

/**
* <p>New state to be set for the Quote.</p>
* <p>New state to be set for the Quote, except <code>DeclinedForRenegotiation</code>. The <code>DeclinedForRenegotiation</code> state can be set only when performing a renegotiation request.</p>
* @param quoteState value to be set
* @return Builder
*/
Expand All @@ -36,7 +36,7 @@ public QuoteChangeQuoteStateActionBuilder quoteState(
}

/**
* <p>New state to be set for the Quote.</p>
* <p>New state to be set for the Quote, except <code>DeclinedForRenegotiation</code>. The <code>DeclinedForRenegotiation</code> state can be set only when performing a renegotiation request.</p>
* @return quoteState
*/

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

/**
* <p>New state to be set for the Quote.</p>
* <p>New state to be set for the Quote, except <code>DeclinedForRenegotiation</code>. The <code>DeclinedForRenegotiation</code> state can be set only when performing a renegotiation request.</p>
*/

public com.commercetools.api.models.quote.QuoteState getQuoteState() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public com.commercetools.api.models.customer_group.CustomerGroupReference getCus
}

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
*/

public java.time.ZonedDateTime getValidTo() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public interface StagedQuote extends BaseResource, com.commercetools.api.models.
public CartReference getQuotationCart();

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @return validTo
*/

Expand Down Expand Up @@ -273,7 +273,7 @@ public interface StagedQuote extends BaseResource, com.commercetools.api.models.
public void setQuotationCart(final CartReference quotationCart);

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @param validTo value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public StagedQuoteBuilder quotationCart(final com.commercetools.api.models.cart.
}

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @param validTo value to be set
* @return Builder
*/
Expand Down Expand Up @@ -604,7 +604,7 @@ public com.commercetools.api.models.cart.CartReference getQuotationCart() {
}

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
* @return validTo
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public com.commercetools.api.models.cart.CartReference getQuotationCart() {
}

/**
* <p>Expiration date for the Quote.</p>
* <p>Expiration date for the Quote. Once a Quote expires, it cannot be ordered.</p>
*/

public java.time.ZonedDateTime getValidTo() {
Expand Down
1 change: 1 addition & 0 deletions reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3a34fc63e5128798a8c1c3e426f4775a075d9d62
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,3 +370,4 @@ b71e64cba7a81b26a5892daca52a9715fd32c05f
159b6f682f761a18daea978cdb2760e7713e0000
f9fa3e30e9bc44b50bdaa5be496b94b37e607a0e
3a34fc63e5128798a8c1c3e426f4775a075d9d62
cf0f702598daf6d644ae327099b96b83f5539dfb

0 comments on commit 67e910b

Please sign in to comment.