Skip to content

Update generated SDKs #871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025
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
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 the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Retrieves an Order with the provided <code>id</code> in a BusinessUnit. If the Order exists in the Project but does not reference the requested Business Unit, this method returns an InvalidOperation error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if an Order exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the Order exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an Order exists with the provided <code>id</code> in a BusinessUnit. Returns a <code>200 OK</code> status if the Order exists or a <code>404 Not Found</code> otherwise.</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 the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Updates an Order in a BusinessUnit using one or more update actions. If the Order exists in the Project but does not reference the requested Business Unit, this method returns an InvalidOperation error.</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>If the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Updates an Order in a BusinessUnit using one or more update actions. If the Order exists in the Project but does not reference the requested Business Unit, this method returns an InvalidOperation error.</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>Retrieves Orders in a BusinessUnit.</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>Checks if one or more Orders exist for the provided query predicate. Returns a <code>200 OK</code> status if any Orders match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more Orders exist with provided query predicate in a BusinessUnit. Returns a <code>200 OK</code> status if any Orders match the query predicate, or a <code>404 Not Found</code> otherwise.</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 the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Retrieves an Order with the provided <code>orderNumber</code> in a BusinessUnit. If the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if an Order exists for a given <code>orderNumber</code>. Returns a <code>200 OK</code> status if the Order exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an Order exists with the provided <code>orderNumber</code> in a BusinessUnit. Returns a <code>200 OK</code> status if the Order exists or a <code>404 Not Found</code> otherwise.</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 the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Updates an Order in a BusinessUnit using one or more update actions. If the Order exists in the Project but does not reference the requested Business Unit, this method returns an InvalidOperation error.</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>If the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Updates an Order in a BusinessUnit using one or more update actions. If the Order exists in the Project but does not reference the requested Business Unit, this method returns an InvalidOperation error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Returns an Order for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>Retrieves an Order with the provided <code>id</code> in a Store for the authenticated Customer or anonymous user. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Order exists in the Store for the given <code>id</code>.</li>
* <li>If the Order exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If the Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* <li>If no Orders exists in the Store with the provided <code>id</code>.</li>
* <li>If an Order exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If an Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
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>Checks if an Order exists with the provided <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <p>Checks if an Order exists with the provided <code>id</code> in a Store for the authenticated Customer or anonymous user. Returns a <code>200 OK</code> status if successful.</p>
* <p>A Not Found error is returned in the following scenarios:</p>
* <ul>
* <li>If no Order exists in the Store for the given <code>id</code>.</li>
* <li>If the Order exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If the Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* <li>If no Order exists in the Store with the provided <code>id</code>.</li>
* <li>If an Order exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If an Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Returns all Orders in a Store that match a given Query Predicate and contain either a <code>customerId</code> that matches the customer_id:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</p>
* <p>Retrieves Orders in a Store for the authenticated Customer or anonymous user.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Orders exist that match the provided query predicate.</li>
* <li>If an Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if one or more Orders exist for the provided query predicate in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <p>Checks if one or more Orders exist for the provided query predicate in a Store for the authenticated Customer or anonymous user. Returns a <code>200 OK</code> status if successful.</p>
* <p>A Not Found error is returned in the following scenarios:</p>
* <ul>
* <li>If no Orders exist in the Store that match the Query Predicate.</li>
* <li>If an Order matches the Query Predicate, but no <code>store</code> is specified, or the <code>store</code> field references a different Store.</li>
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>Creates an Order in a Store from a Cart for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
* <p>Creates an Order from a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
* <p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
* <p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
* <p>Creating an Order produces the OrderCreated Message.</p>
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>Creates an Order in a Store from a Cart for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
* <p>Creates an Order from a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
* <p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
* <p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
* <p>Creating an Order produces the OrderCreated Message.</p>
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 the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Deletes an Order in a Store. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Deleting an Order produces the OrderDeleted Message.</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 the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Retrieves an Order with the provided <code>id</code> in a Store. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if an Order exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the Order exists or Not Found otherwise.</p>
* <p>Checks if an Order exists with the provided <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Order exists or Not Found otherwise.</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 the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Updates an Order in a Store using one or more update actions. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</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>If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Updates an Order in a Store using one or more update actions. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</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>Retrieves Orders in a Store.</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>Checks if one or more Orders exist for the provided query predicate. Returns a <code>200 OK</code> status if any Orders match the query predicate, or Not Found otherwise.</p>
* <p>Checks if one or more Orders exist for the provided query predicate in a Store. Returns a <code>200 OK</code> status if any Orders match the query predicate, or Not Found otherwise.</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 the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Deletes an Order in a Store. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Deleting an Order produces the OrderDeleted Message.</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 the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Retrieves an Order with the provided <code>orderNumber</code> in a Store. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if an Order exists for a given <code>orderNumber</code>. Returns a <code>200 OK</code> status if the Order exists or Not Found otherwise.</p>
* <p>Checks if an Order exists with the provided <code>orderNumber</code> in a Store. Returns a <code>200 OK</code> status if the Order exists or Not Found otherwise.</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 the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Updates an Order in a Store using one or more update actions. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</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>If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Updates an Order in a Store using one or more update actions. If the Order exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</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>Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
* <p>Creates an Order from a Cart in a Store. Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
* <p>Creating an Order produces the OrderCreated Message. If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Order creation may still successfully complete after the error is returned. If you receive this error, you should verify the status of the Order by querying a unique identifier supplied during the creation request, such as the Order number.</p>
* <p>Specific Error Codes:</p>
* <ul>
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>Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
* <p>Creates an Order from a Cart in a Store. Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
* <p>Creating an Order produces the OrderCreated Message. If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Order creation may still successfully complete after the error is returned. If you receive this error, you should verify the status of the Order by querying a unique identifier supplied during the creation request, such as the Order number.</p>
* <p>Specific Error Codes:</p>
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Returns an Order for a given <code>id</code>. Returns a <code>200 OK</code> status if successful.</p>
* <p>Retrieves an Order with the provided <code>id</code> for the authenticated Customer or anonymous user. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Order exists for the given <code>id</code>.</li>
* <li>If no Order exists for the provided <code>id</code>.</li>
* <li>If the Order exists but does not have either a <code>customerId</code> that matches the customer:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
Expand Down
Loading