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 Jul 9, 2024
1 parent 13d8176 commit 41faf29
Show file tree
Hide file tree
Showing 95 changed files with 521 additions and 228 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

/**
* <p>Creates a Cart in the BusinessUnit referenced by <code>businessUnitKey</code>. As such, the <code>businessUnit</code> field on CartDraft is ignored for this request. Creating a Cart can fail with an InvalidOperation if the referenced ShippingMethod in the CartDraft has a predicate that does not match the Cart.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@

/**
* <p>Creates a Cart in the BusinessUnit referenced by <code>businessUnitKey</code>. As such, the <code>businessUnit</code> field on CartDraft is ignored for this request. Creating a Cart can fail with an InvalidOperation if the referenced ShippingMethod in the CartDraft has a predicate that does not match the Cart.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
* <p>If the Cart exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
* <p>If the Cart exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@

/**
* <p>Creates an Order from a Cart in a BusinessUnit. The Cart must have a shipping address set before creating an Order. Creating an Order fails with an InvalidOperation if the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>ShippingMethodDoesNotMatchCart</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@

/**
* <p>Creates an Order from a Cart in a BusinessUnit. The Cart must have a shipping address set before creating an Order. Creating an Order fails with an InvalidOperation if the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>ShippingMethodDoesNotMatchCart</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

/**
* <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>Specific Error Codes:</p>
* <ul>
* <li>InvalidItemShippingDetails</li>
* <li>OutOfStock</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

/**
* <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>Specific Error Codes:</p>
* <ul>
* <li>InvalidItemShippingDetails</li>
* <li>OutOfStock</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

/**
* <p>Creating a Cart fails with an InvalidOperation error if the ShippingMethod referenced in the CartDraft has a <code>predicate</code> that does not match the Cart.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@

/**
* <p>Creating a Cart fails with an InvalidOperation error if the ShippingMethod referenced in the CartDraft has a <code>predicate</code> that does not match the Cart.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@

/**
* <p>Creates a Cart in the Store specified by <code>storeKey</code>. When using this endpoint the Cart's <code>store</code> field is always set to the Store specified in the path parameter. If the referenced ShippingMethod in the CartDraft has a predicate that does not match, an InvalidOperation error is returned.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* <li>CountryNotConfiguredInStore</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@

/**
* <p>Creates a Cart in the Store specified by <code>storeKey</code>. When using this endpoint the Cart's <code>store</code> field is always set to the Store specified in the path parameter. If the referenced ShippingMethod in the CartDraft has a predicate that does not match, an InvalidOperation error is returned.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* <li>CountryNotConfiguredInStore</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
* <p>The new Cart does not contain payments or deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
* <p>The new Cart does not contain payments or deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

/**
* <p>Authenticates a Customer associated with a Store. For more information, see Global versus Store-specific Customers.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>Triggers Cart merge during sign-in.</p>
* <p>If the Customer exists in the Project but the <code>stores</code> field references a different Store, this method returns an InvalidCredentials error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/**
* <p>Authenticates a Customer associated with a Store. For more information, see Global versus Store-specific Customers.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>Triggers Cart merge during sign-in.</p>
* <p>If the Customer exists in the Project but the <code>stores</code> field references a different Store, this method returns an InvalidCredentials error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@
/**
* <p>Creates a Cart in the specified Store for a given <code>customerId</code> or <code>anonymousId</code>.</p>
* <p>The <code>store</code> field in the created Cart is set to the Store specified by the <code>storeKey</code> path parameter.</p>
* <p>Specific Error Codes: CountryNotConfiguredInStore</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>CountryNotConfiguredInStore</li>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@
/**
* <p>Creates a Cart in the specified Store for a given <code>customerId</code> or <code>anonymousId</code>.</p>
* <p>The <code>store</code> field in the created Cart is set to the Store specified by the <code>storeKey</code> path parameter.</p>
* <p>Specific Error Codes: CountryNotConfiguredInStore</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>CountryNotConfiguredInStore</li>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <li>If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.</li>
* <li>If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.</li>
* </ul>
* <p>If a Cart is returned as part of CustomerSignInResult, it has been recalculated with up-to-date prices, taxes, discounts, and invalid line items removed.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>If an account with the given credentials is not found, an InvalidCredentials error is returned.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* <li>If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.</li>
* <li>If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.</li>
* </ul>
* <p>If a Cart is returned as part of CustomerSignInResult, it has been recalculated with up-to-date prices, taxes, discounts, and invalid line items removed.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>If an account with the given credentials is not found, an InvalidCredentials error is returned.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>AssociateMissingPermission</li>
* <li>CountryNotConfiguredInStore</li>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>DiscountCodeNonApplicable</li>
* <li>CountryNotConfiguredInStore</li>
* <li>AssociateMissingPermission</li>
* <li>ShippingMethodDoesNotMatchCart</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
* <p>Creating an Order produces the OrderCreated Message.</p>
* <p>Specific Error Codes:</p>
* <ul>
* <li>AssociateMissingPermission</li>
* <li>CountryNotConfiguredInStore</li>
* <li>DiscountCodeNonApplicable</li>
* <li>InvalidItemShippingDetails</li>
* <li>MatchingPriceNotFound</li>
* <li>MissingTaxRateForCountry</li>
* <li>OutOfStock</li>
* <li>PriceChanged</li>
* <li>DiscountCodeNonApplicable</li>
* <li>CountryNotConfiguredInStore</li>
* <li>AssociateMissingPermission</li>
* <li>ShippingMethodDoesNotMatchCart</li>
* </ul>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

/**
* <p>If omitted in the request body, the Customer <code>stores</code> field is set to the Store specified in the path parameter.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>Creating a Customer produces the CustomerCreated Message.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/**
* <p>If omitted in the request body, the Customer <code>stores</code> field is set to the Store specified in the path parameter.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>Creating a Customer produces the CustomerCreated Message.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

/**
* <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>Creating an Order produces the OrderCreated Message.</p>
* <p>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>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>
* <li>OutOfStock</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@

/**
* <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>Creating an Order produces the OrderCreated Message.</p>
* <p>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>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>
* <li>OutOfStock</li>
Expand Down
Loading

0 comments on commit 41faf29

Please sign in to comment.