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 c65ed80 commit 1078b49
Show file tree
Hide file tree
Showing 23 changed files with 39 additions and 24 deletions.
14 changes: 14 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@

**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>


<details>
<summary>Changed Property(s)</summary>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface CartAddShippingMethodAction extends CartUpdateAction
public function getShippingKey();

/**
* <p>RecourceIdentifier to a <a href="ctp:api:type:ShippingMethod">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>.
* <p>ResourceIdentifier to a <a href="ctp:api:type:ShippingMethod">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>.
* If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getShippingKey()
}

/**
* <p>RecourceIdentifier to a <a href="ctp:api:type:ShippingMethod">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>.
* <p>ResourceIdentifier to a <a href="ctp:api:type:ShippingMethod">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>.
* If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getShippingKey()
}

/**
* <p>RecourceIdentifier to a <a href="ctp:api:type:ShippingMethod">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>.
* <p>ResourceIdentifier to a <a href="ctp:api:type:ShippingMethod">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>.
* If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getTriggerPattern();

/**
* <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 @@ -60,7 +60,7 @@ public function getTriggerPattern()

/**
* <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 @@ -111,7 +111,7 @@ public function getTriggerPattern()

/**
* <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 @@ -158,7 +158,7 @@ public function getAnonymousId();
public function getDateOfBirth();

/**
* <p>Company name of the Customer. When representing a company as a Customer, <a href="ctp:api:type:BusinessUnit">Business Units</a> provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, <a href="ctp:api:type:BusinessUnit">Business Units</a> provide extended functionality.</p>
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function getDateOfBirth()
}

/**
* <p>Company name of the Customer. When representing a company as a Customer, <a href="ctp:api:type:BusinessUnit">Business Units</a> provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, <a href="ctp:api:type:BusinessUnit">Business Units</a> provide extended functionality.</p>
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ public function getDateOfBirth()
}

/**
* <p>Company name of the Customer. When representing a company as a Customer, <a href="ctp:api:type:BusinessUnit">Business Units</a> provide extended funtionality.</p>
* <p>Company name of the Customer. When representing a company as a Customer, <a href="ctp:api:type:BusinessUnit">Business Units</a> provide extended functionality.</p>
*
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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 null|BaseAddress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class MyCartAddItemShippingAddressActionBuilder implements Builder

/**
* <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 null|BaseAddress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function 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>
*
*
* @return null|BaseAddress
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-api/src/Models/State/StateDraft.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getDescription();
public function getInitial();

/**
* <p>If suitable, assign predifined roles the State can fulfill in case the State's <code>type</code> is <code>LineItemState</code> or <code>ReviewState</code>.</p>
* <p>If suitable, assign predefined roles the State can fulfill in case the State's <code>type</code> is <code>LineItemState</code> or <code>ReviewState</code>.</p>
*
* @return null|array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function getInitial()
}

/**
* <p>If suitable, assign predifined roles the State can fulfill in case the State's <code>type</code> is <code>LineItemState</code> or <code>ReviewState</code>.</p>
* <p>If suitable, assign predefined roles the State can fulfill in case the State's <code>type</code> is <code>LineItemState</code> or <code>ReviewState</code>.</p>
*
* @return null|array
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-api/src/Models/State/StateDraftModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function getInitial()
}

/**
* <p>If suitable, assign predifined roles the State can fulfill in case the State's <code>type</code> is <code>LineItemState</code> or <code>ReviewState</code>.</p>
* <p>If suitable, assign predefined roles the State can fulfill in case the State's <code>type</code> is <code>LineItemState</code> or <code>ReviewState</code>.</p>
*
*
* @return null|array
Expand Down
4 changes: 2 additions & 2 deletions lib/commercetools-api/src/Models/Store/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ public function getSupplyChannels();
* <p>Controls availability of Products for this Store via Product Selections:</p>
* <ul>
* <li>Leave empty if all Products in the <a href="ctp:api:type:Project">Project</a> should be available in this Store.</li>
* <li>If only <code>inactive</code> Product Selections with <code>IndividualExclusion</code> <a href="ctp:api:type:ProductSelectionMode">ProductSelectionMode</a> are provided, all the Products are availlable in this Store.</li>
* <li>If all the Product Selections provided are <code>inactive</code> and there's at least a Product Selection of mode <code>Individual</code>, no Product is availlable in this Store.</li>
* <li>If only <code>inactive</code> Product Selections with <code>IndividualExclusion</code> <a href="ctp:api:type:ProductSelectionMode">ProductSelectionMode</a> are provided, all the Products are available in this Store.</li>
* <li>If all the Product Selections provided are <code>inactive</code> and there's at least a Product Selection of mode <code>Individual</code>, no Product is available in this Store.</li>
* <li>If at least an <code>active</code> Product Selection is provided, only <code>active</code> Product Selections are considered to compute the availlability in this Store.</li>
* </ul>
*
Expand Down
4 changes: 2 additions & 2 deletions lib/commercetools-api/src/Models/Store/StoreBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ public function getSupplyChannels()
* <p>Controls availability of Products for this Store via Product Selections:</p>
* <ul>
* <li>Leave empty if all Products in the <a href="ctp:api:type:Project">Project</a> should be available in this Store.</li>
* <li>If only <code>inactive</code> Product Selections with <code>IndividualExclusion</code> <a href="ctp:api:type:ProductSelectionMode">ProductSelectionMode</a> are provided, all the Products are availlable in this Store.</li>
* <li>If all the Product Selections provided are <code>inactive</code> and there's at least a Product Selection of mode <code>Individual</code>, no Product is availlable in this Store.</li>
* <li>If only <code>inactive</code> Product Selections with <code>IndividualExclusion</code> <a href="ctp:api:type:ProductSelectionMode">ProductSelectionMode</a> are provided, all the Products are available in this Store.</li>
* <li>If all the Product Selections provided are <code>inactive</code> and there's at least a Product Selection of mode <code>Individual</code>, no Product is available in this Store.</li>
* <li>If at least an <code>active</code> Product Selection is provided, only <code>active</code> Product Selections are considered to compute the availlability in this Store.</li>
* </ul>
*
Expand Down
4 changes: 2 additions & 2 deletions lib/commercetools-api/src/Models/Store/StoreModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ public function getSupplyChannels()
* <p>Controls availability of Products for this Store via Product Selections:</p>
* <ul>
* <li>Leave empty if all Products in the <a href="ctp:api:type:Project">Project</a> should be available in this Store.</li>
* <li>If only <code>inactive</code> Product Selections with <code>IndividualExclusion</code> <a href="ctp:api:type:ProductSelectionMode">ProductSelectionMode</a> are provided, all the Products are availlable in this Store.</li>
* <li>If all the Product Selections provided are <code>inactive</code> and there's at least a Product Selection of mode <code>Individual</code>, no Product is availlable in this Store.</li>
* <li>If only <code>inactive</code> Product Selections with <code>IndividualExclusion</code> <a href="ctp:api:type:ProductSelectionMode">ProductSelectionMode</a> are provided, all the Products are available in this Store.</li>
* <li>If all the Product Selections provided are <code>inactive</code> and there's at least a Product Selection of mode <code>Individual</code>, no Product is available in this Store.</li>
* <li>If at least an <code>active</code> Product Selection is provided, only <code>active</code> Product Selections are considered to compute the availlability in this Store.</li>
* </ul>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getTaxCategory();
public function getShippingMethod();

/**
* <p>Note that you can not add a <code>DeliveryItem</code> on import, as <code>LineItems</code> and <code>CustomLineItems</code> are not yet referencable by an <code>id</code>.</p>
* <p>Note that you can not add a <code>DeliveryItem</code> on import, as <code>LineItems</code> and <code>CustomLineItems</code> are not yet referenceable by an <code>id</code>.</p>
*
* @return null|DeliveryCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function getShippingMethod()
}

/**
* <p>Note that you can not add a <code>DeliveryItem</code> on import, as <code>LineItems</code> and <code>CustomLineItems</code> are not yet referencable by an <code>id</code>.</p>
* <p>Note that you can not add a <code>DeliveryItem</code> on import, as <code>LineItems</code> and <code>CustomLineItems</code> are not yet referenceable by an <code>id</code>.</p>
*
* @return null|DeliveryCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function getShippingMethod()
}

/**
* <p>Note that you can not add a <code>DeliveryItem</code> on import, as <code>LineItems</code> and <code>CustomLineItems</code> are not yet referencable by an <code>id</code>.</p>
* <p>Note that you can not add a <code>DeliveryItem</code> on import, as <code>LineItems</code> and <code>CustomLineItems</code> are not yet referenceable by an <code>id</code>.</p>
*
*
* @return null|DeliveryCollection
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,4 @@ f9fa3e30e9bc44b50bdaa5be496b94b37e607a0e
cf0f702598daf6d644ae327099b96b83f5539dfb
84fc59f83bc307dc77f8162a92efa15a355a7529
277b3734e873c9dd4cf455c0591fb5d41b478647
75612a593ac1a7d1fa516c2b196d10690fbb9e66

0 comments on commit 1078b49

Please sign in to comment.