Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,13 @@

**Import changes**

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

- added enum `product-selection` to type `ImportResourceType`
</details>


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

Expand All @@ -226,14 +233,45 @@
</details>


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

- :warning: changed property `country` of type `ExternalTaxRateDraft` from type `string` to `CountryCode`
- :warning: changed property `value` of type `MoneySetField` from type `Money[]` to `TypedMoney[]`
</details>


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

- added method `apiRoot.withProjectKeyValue().productSelections().importContainers().withImportContainerKeyValue().post()`
</details>


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

- added type `StrategyEnum`
- added type `RetentionPolicy`
- added type `TimeToLiveConfig`
- added type `TimeToLiveRetentionPolicy`
- added type `ProductSelectionImportRequest`
- added type `AttributeLevel`
- added type `VariantSelectionType`
- added type `VariantSelection`
- added type `VariantExclusion`
- added type `ProductSelectionAssignment`
- added type `ProductSelectionMode`
- added type `ProductSelectionImport`
</details>


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

- added resource `/{projectKey}/product-selections`
- added resource `/{projectKey}/product-selections/import-containers`
- added resource `/{projectKey}/product-selections/import-containers/{importContainerKey}`
</details>

**History changes**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public interface Asset extends com.commercetools.api.models.Customizable<Asset>, com.commercetools.api.models.WithKey {

/**
* <p>Unique identifier of the Asset.</p>
* <p>Unique identifier of the Asset. Not required when importing Assets using the Import API.</p>
* @return id
*/
@NotNull
Expand Down Expand Up @@ -95,7 +95,7 @@ public interface Asset extends com.commercetools.api.models.Customizable<Asset>,
public String getKey();

/**
* <p>Unique identifier of the Asset.</p>
* <p>Unique identifier of the Asset. Not required when importing Assets using the Import API.</p>
* @param id value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class AssetBuilder implements Builder<Asset> {
private String key;

/**
* <p>Unique identifier of the Asset.</p>
* <p>Unique identifier of the Asset. Not required when importing Assets using the Import API.</p>
* @param id value to be set
* @return Builder
*/
Expand Down Expand Up @@ -294,7 +294,7 @@ public AssetBuilder key(@Nullable final String key) {
}

/**
* <p>Unique identifier of the Asset.</p>
* <p>Unique identifier of the Asset. Not required when importing Assets using the Import API.</p>
* @return id
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public AssetImpl() {
}

/**
* <p>Unique identifier of the Asset.</p>
* <p>Unique identifier of the Asset. Not required when importing Assets using the Import API.</p>
*/

public String getId() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

package com.commercetools.api.models.me;

import java.time.*;
import java.util.*;
import java.util.function.Function;

import javax.annotation.Nullable;
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>Creates a request for creating new Categories or updating existing ones.</p>
* <p>Creates an Import Request for Categories.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new Categories or updating existing ones.</p>
* <p>Creates an Import Request for Categories.</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>Creates a request for creating new Customers or updating existing ones.</p>
* <p>Creates an Import Request for Customers.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new Customers or updating existing ones.</p>
* <p>Creates an Import Request for Customers.</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>Creates a request for creating new Discount Codes or updating existing ones.</p>
* <p>Creates an Import Request for Discount Codes.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new Discount Codes or updating existing ones.</p>
* <p>Creates an Import Request for Discount Codes.</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>Deletes the Import Container specified by the <code>importContainerKey</code>.</p>
* <p>Deletes an Import Container in the Project.</p>
* <p>Generates the ImportContainerDeleted Event.</p>
*
* <hr>
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>Retrieves the Import Container given by the key.</p>
* <p>Retrieves an ImportContainer with the provided <code>importContainerKey</code>.</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>Retrieves all ImportOperations of a given ImportContainer key.</p>
* <p>Retrieves all ImportOperations within an ImportContainer.</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>Retrieves an ImportSummary for the given Import Container. An ImportSummary is calculated on demand.</p>
* <p>Retrieves an ImportSummary for the ImportContainer with the provided <code>importContainerKey</code>.</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>Updates the Import Container given by the key.</p>
* <p>Updates an ImportContainer in the Project.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Updates the Import Container given by the key.</p>
* <p>Updates an ImportContainer in the Project.</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 all Import Containers of a given project key.</p>
* <p>Retrieves all ImportContainers in the Project.</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>Creates a new Import Container.</p>
* <p>Creates an Import Container in the Project.</p>
* <p>Generates the ImportContainerCreated Event.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a new Import Container.</p>
* <p>Creates an Import Container in the Project.</p>
* <p>Generates the ImportContainerCreated Event.</p>
*
* <hr>
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>Retrieves the ImportOperation of a given ID.</p>
* <p>Retrieves an ImportOperation with the provided <code>id</code>.</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>Creates a request for creating new Inventories or updating existing ones.</p>
* <p>Creates an Import Request for InventoryEntries.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new Inventories or updating existing ones.</p>
* <p>Creates an Import Request for InventoryEntries.</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>Creates a new import request for order patches</p>
* <p>Creates an Import Request for updating Orders.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a new import request for order patches</p>
* <p>Creates an Import Request for updating Orders.</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>Creates a request for creating new Orders.</p>
* <p>Creates an Import Request for creating Orders.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new Orders.</p>
* <p>Creates an Import Request for creating Orders.</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>Creates a request for creating new Prices or updating existing ones.</p>
* <p>Creates an Import Request for Prices.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new Prices or updating existing ones.</p>
* <p>Creates an Import Request for Prices.</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>Creates a request for creating new ProductDrafts or updating existing ones.</p>
* <p>Creates an Import Request for Products.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a request for creating new ProductDrafts or updating existing ones.</p>
* <p>Creates an Import Request for Products.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Loading
Loading