From edc2d97a205064ad161c365838f9708718200bdd Mon Sep 17 00:00:00 2001
From: Auto Mation Maps to Category.parent
.
- * The parent category referenced must already exist
- * in the commercetools project, or the import operation
- * will have an Unresolved
state.state
of the ImportOperation will be set to Unresolved
until the necessary Category is created.
The custom fields for this category.
+ *The custom fields for this Category.
* * @return null|Custom */ diff --git a/lib/commercetools-import/src/Models/Categories/CategoryImportBuilder.php b/lib/commercetools-import/src/Models/Categories/CategoryImportBuilder.php index 850daa8d797..47aff2c0010 100644 --- a/lib/commercetools-import/src/Models/Categories/CategoryImportBuilder.php +++ b/lib/commercetools-import/src/Models/Categories/CategoryImportBuilder.php @@ -130,9 +130,8 @@ public function getDescription() /** *Maps to Category.parent
.
- * The parent category referenced must already exist
- * in the commercetools project, or the import operation
- * will have an Unresolved
state.
state
of the ImportOperation will be set to Unresolved
until the necessary Category is created.
*
* @return null|CategoryKeyReference
*/
@@ -200,7 +199,7 @@ public function getAssets()
}
/**
- * The custom fields for this category.
+ *The custom fields for this Category.
* * @return null|Custom */ diff --git a/lib/commercetools-import/src/Models/Categories/CategoryImportModel.php b/lib/commercetools-import/src/Models/Categories/CategoryImportModel.php index 366fa9128cf..3c8df76ff88 100644 --- a/lib/commercetools-import/src/Models/Categories/CategoryImportModel.php +++ b/lib/commercetools-import/src/Models/Categories/CategoryImportModel.php @@ -200,9 +200,8 @@ public function getDescription() /** *Maps to Category.parent
.
- * The parent category referenced must already exist
- * in the commercetools project, or the import operation
- * will have an Unresolved
state.
state
of the ImportOperation will be set to Unresolved
until the necessary Category is created.
*
* @return null|CategoryKeyReference
*/
@@ -337,7 +336,7 @@ public function getAssets()
}
/**
- * The custom fields for this category.
+ *The custom fields for this Category.
* * @return null|Custom */ diff --git a/lib/commercetools-import/src/Models/Customers/CustomerAddress.php b/lib/commercetools-import/src/Models/Customers/CustomerAddress.php index 9397c3a174c..4cde9db8250 100644 --- a/lib/commercetools-import/src/Models/Customers/CustomerAddress.php +++ b/lib/commercetools-import/src/Models/Customers/CustomerAddress.php @@ -40,7 +40,7 @@ interface CustomerAddress extends JsonObject /** *User-defined identifier for the address. - * It must follow the pattern [a-zA-Z0-9_-]{2,256}, and unique per customer.
+ * Must follow the pattern[a-zA-Z0-9_-]{2,256}
and must be unique per customer.
*
* @return null|string
*/
diff --git a/lib/commercetools-import/src/Models/Customers/CustomerAddressBuilder.php b/lib/commercetools-import/src/Models/Customers/CustomerAddressBuilder.php
index 431d283c7d9..cf5cec28e0b 100644
--- a/lib/commercetools-import/src/Models/Customers/CustomerAddressBuilder.php
+++ b/lib/commercetools-import/src/Models/Customers/CustomerAddressBuilder.php
@@ -142,7 +142,7 @@ final class CustomerAddressBuilder implements Builder
/**
* User-defined identifier for the address. - * It must follow the pattern [a-zA-Z0-9_-]{2,256}, and unique per customer.
+ * Must follow the pattern[a-zA-Z0-9_-]{2,256}
and must be unique per customer.
*
* @return null|string
*/
diff --git a/lib/commercetools-import/src/Models/Customers/CustomerAddressModel.php b/lib/commercetools-import/src/Models/Customers/CustomerAddressModel.php
index ffc19fac114..6a369edbe02 100644
--- a/lib/commercetools-import/src/Models/Customers/CustomerAddressModel.php
+++ b/lib/commercetools-import/src/Models/Customers/CustomerAddressModel.php
@@ -197,7 +197,7 @@ public function __construct(
/**
* User-defined identifier for the address. - * It must follow the pattern [a-zA-Z0-9_-]{2,256}, and unique per customer.
+ * Must follow the pattern[a-zA-Z0-9_-]{2,256}
and must be unique per customer.
*
* @return null|string
*/
diff --git a/lib/commercetools-import/src/Models/Customers/CustomerImport.php b/lib/commercetools-import/src/Models/Customers/CustomerImport.php
index 47ce63fa8a6..b9e80924841 100644
--- a/lib/commercetools-import/src/Models/Customers/CustomerImport.php
+++ b/lib/commercetools-import/src/Models/Customers/CustomerImport.php
@@ -63,10 +63,7 @@ public function getEmail();
public function getPassword();
/**
- * References stores by its keys.
- *The stores referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Stores are created.
References a customer group by its key.
- *The customer group referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the CustomerGroup with which the Customer is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary CustomerGroup is created.
References stores by its keys.
- *The stores referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Stores are created.
References a customer group by its key.
- *The customer group referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the CustomerGroup with which the Customer is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary CustomerGroup is created.
References stores by its keys.
- *The stores referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Stores are created.
References a customer group by its key.
- *The customer group referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the CustomerGroup with which the Customer is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary CustomerGroup is created.
This enumeration describes the processing state of an import operation.
+ *Represents the status of a resource under an import process. Every resource has the initial state Unresolved
.
This enumeration describes the processing state of an import operation.
+ *Represents the status of a resource under an import process. Every resource has the initial state Unresolved
.
This enumeration describes the processing state of an import operation.
+ *Represents the status of a resource under an import process. Every resource has the initial state Unresolved
.
This enumeration describes the processing state of an import operation.
+ *Represents the status of a resource under an import process. Every resource has the initial state Unresolved
.
This enumeration describes the processing state of an import operation.
+ *Represents the status of a resource under an import process. Every resource has the initial state Unresolved
.
This enumeration describes the processing state of an import operation.
+ *Represents the status of a resource under an import process. Every resource has the initial state Unresolved
.
The import operation version.
+ *The version of the ImportOperation.
* * @return null|int */ public function getVersion(); /** - *The key of the import sink.
+ *The key of the ImportSink.
* * @return null|string */ public function getImportSinkKey(); /** - *The key of the import resource.
+ *The key of the resource.
* * @return null|string */ public function getResourceKey(); /** - *The identifier of the operaton that is to be commited
+ *The ID of the ImportOperation.
* * @return null|string */ public function getId(); /** - *The status of the import resource.
+ *The import status of the resource. Set to Rejected
or ValidationFailed
if the import of the resource was not successful.
When the resource is successfully imported, this represents the imported resource version
+ *The version of the impmorted resource when the import was successful.
* * @return null|int */ public function getResourceVersion(); /** - *If an import resource does not import correctly, the state is set to Rejected
or ValidationFailed
- * and this property contains the errors.
Contains an error if the import of the resource was not successful. See Errors.
* * @return null|ErrorObjectCollection */ public function getErrors(); /** - *When the import operation was created.
+ *The time when the ImportOperation was created.
* * @return null|DateTimeImmutable */ public function getCreatedAt(); /** - *When the import operation was modified.
+ *The last time When the ImportOperation was modified.
* * @return null|DateTimeImmutable */ public function getLastModifiedAt(); /** - *When the import operation expires.
+ *The expiration time of the ImportOperation.
* * @return null|DateTimeImmutable */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationBuilder.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationBuilder.php index 3982e2ecb46..22230fd052b 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationBuilder.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationBuilder.php @@ -73,7 +73,7 @@ final class ImportOperationBuilder implements Builder private $expiresAt; /** - *The import operation version.
+ *The version of the ImportOperation.
* * @return null|int */ @@ -83,7 +83,7 @@ public function getVersion() } /** - *The key of the import sink.
+ *The key of the ImportSink.
* * @return null|string */ @@ -93,7 +93,7 @@ public function getImportSinkKey() } /** - *The key of the import resource.
+ *The key of the resource.
* * @return null|string */ @@ -103,7 +103,7 @@ public function getResourceKey() } /** - *The identifier of the operaton that is to be commited
+ *The ID of the ImportOperation.
* * @return null|string */ @@ -113,7 +113,7 @@ public function getId() } /** - *The status of the import resource.
+ *The import status of the resource. Set to Rejected
or ValidationFailed
if the import of the resource was not successful.
When the resource is successfully imported, this represents the imported resource version
+ *The version of the impmorted resource when the import was successful.
* * @return null|int */ @@ -133,8 +133,7 @@ public function getResourceVersion() } /** - *If an import resource does not import correctly, the state is set to Rejected
or ValidationFailed
- * and this property contains the errors.
Contains an error if the import of the resource was not successful. See Errors.
* * @return null|ErrorObjectCollection */ @@ -144,7 +143,7 @@ public function getErrors() } /** - *When the import operation was created.
+ *The time when the ImportOperation was created.
* * @return null|DateTimeImmutable */ @@ -154,7 +153,7 @@ public function getCreatedAt() } /** - *When the import operation was modified.
+ *The last time When the ImportOperation was modified.
* * @return null|DateTimeImmutable */ @@ -164,7 +163,7 @@ public function getLastModifiedAt() } /** - *When the import operation expires.
+ *The expiration time of the ImportOperation.
* * @return null|DateTimeImmutable */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationModel.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationModel.php index a24e567ec53..eca88dfc890 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationModel.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationModel.php @@ -100,7 +100,7 @@ public function __construct( } /** - *The import operation version.
+ *The version of the ImportOperation.
* * @return null|int */ @@ -119,7 +119,7 @@ public function getVersion() } /** - *The key of the import sink.
+ *The key of the ImportSink.
* * @return null|string */ @@ -138,7 +138,7 @@ public function getImportSinkKey() } /** - *The key of the import resource.
+ *The key of the resource.
* * @return null|string */ @@ -157,7 +157,7 @@ public function getResourceKey() } /** - *The identifier of the operaton that is to be commited
+ *The ID of the ImportOperation.
* * @return null|string */ @@ -176,7 +176,7 @@ public function getId() } /** - *The status of the import resource.
+ *The import status of the resource. Set to Rejected
or ValidationFailed
if the import of the resource was not successful.
When the resource is successfully imported, this represents the imported resource version
+ *The version of the impmorted resource when the import was successful.
* * @return null|int */ @@ -214,8 +214,7 @@ public function getResourceVersion() } /** - *If an import resource does not import correctly, the state is set to Rejected
or ValidationFailed
- * and this property contains the errors.
Contains an error if the import of the resource was not successful. See Errors.
* * @return null|ErrorObjectCollection */ @@ -234,7 +233,7 @@ public function getErrors() } /** - *When the import operation was created.
+ *The time when the ImportOperation was created.
* * @return null|DateTimeImmutable */ @@ -257,7 +256,7 @@ public function getCreatedAt() } /** - *When the import operation was modified.
+ *The last time When the ImportOperation was modified.
* * @return null|DateTimeImmutable */ @@ -280,7 +279,7 @@ public function getLastModifiedAt() } /** - *When the import operation expires.
+ *The expiration time of the ImportOperation.
* * @return null|DateTimeImmutable */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponse.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponse.php index 5299cc33718..caa6f7496b6 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponse.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponse.php @@ -19,28 +19,29 @@ interface ImportOperationPagedResponse extends JsonObject public const FIELD_RESULTS = 'results'; /** - *The maximum number of import operations returned for a page.
+ *The number of results requested in the query request.
* * @return null|int */ public function getLimit(); /** - *The offset supplied by the client or the server default. It is the number of elements skipped.
+ *The number of elements skipped, not a page number. + * Supplied by the client or the server default.
* * @return null|int */ public function getOffset(); /** - *The actual number of results returned by this response.
+ *The actual number of results returned.
* * @return null|int */ public function getCount(); /** - *The results for this paged response.
+ *The array of Import Operations matching the query.
* * @return null|ImportOperationCollection */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseBuilder.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseBuilder.php index 2f67edc3810..04f7ed8124d 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseBuilder.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseBuilder.php @@ -41,7 +41,7 @@ final class ImportOperationPagedResponseBuilder implements Builder private $results; /** - *The maximum number of import operations returned for a page.
+ *The number of results requested in the query request.
* * @return null|int */ @@ -51,7 +51,8 @@ public function getLimit() } /** - *The offset supplied by the client or the server default. It is the number of elements skipped.
+ *The number of elements skipped, not a page number. + * Supplied by the client or the server default.
* * @return null|int */ @@ -61,7 +62,7 @@ public function getOffset() } /** - *The actual number of results returned by this response.
+ *The actual number of results returned.
* * @return null|int */ @@ -71,7 +72,7 @@ public function getCount() } /** - *The results for this paged response.
+ *The array of Import Operations matching the query.
* * @return null|ImportOperationCollection */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseModel.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseModel.php index 3b4949c9bf4..1663dfbbd23 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseModel.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationPagedResponseModel.php @@ -56,7 +56,7 @@ public function __construct( } /** - *The maximum number of import operations returned for a page.
+ *The number of results requested in the query request.
* * @return null|int */ @@ -75,7 +75,8 @@ public function getLimit() } /** - *The offset supplied by the client or the server default. It is the number of elements skipped.
+ *The number of elements skipped, not a page number. + * Supplied by the client or the server default.
* * @return null|int */ @@ -94,7 +95,7 @@ public function getOffset() } /** - *The actual number of results returned by this response.
+ *The actual number of results returned.
* * @return null|int */ @@ -113,7 +114,7 @@ public function getCount() } /** - *The results for this paged response.
+ *The array of Import Operations matching the query.
* * @return null|ImportOperationCollection */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatus.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatus.php index a6e2468f808..45aad1511c2 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatus.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatus.php @@ -19,21 +19,22 @@ interface ImportOperationStatus extends JsonObject public const FIELD_ERRORS = 'errors'; /** - *Id of the import operation.
+ *The ID of the ImportOperation.
* * @return null|string */ public function getOperationId(); /** - *Validation state of the import operation.
+ *The validation state of the ImportOperation.
* * @return null|string */ public function getState(); /** - *Validation errors for the import operation.
+ *The validation errors for the ImportOperation. + * See Errors.
* * @return null|ErrorObjectCollection */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusBuilder.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusBuilder.php index 1e83cf33c8a..17b90bbc7fc 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusBuilder.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusBuilder.php @@ -37,7 +37,7 @@ final class ImportOperationStatusBuilder implements Builder private $errors; /** - *Id of the import operation.
+ *The ID of the ImportOperation.
* * @return null|string */ @@ -47,7 +47,7 @@ public function getOperationId() } /** - *Validation state of the import operation.
+ *The validation state of the ImportOperation.
* * @return null|string */ @@ -57,7 +57,8 @@ public function getState() } /** - *Validation errors for the import operation.
+ *The validation errors for the ImportOperation. + * See Errors.
* * @return null|ErrorObjectCollection */ diff --git a/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusModel.php b/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusModel.php index f3576afc906..e93f0d6c269 100644 --- a/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusModel.php +++ b/lib/commercetools-import/src/Models/Importoperations/ImportOperationStatusModel.php @@ -50,7 +50,7 @@ public function __construct( } /** - *Id of the import operation.
+ *The ID of the ImportOperation.
* * @return null|string */ @@ -69,7 +69,7 @@ public function getOperationId() } /** - *Validation state of the import operation.
+ *The validation state of the ImportOperation.
* * @return null|string */ @@ -88,7 +88,8 @@ public function getState() } /** - *Validation errors for the import operation.
+ *The validation errors for the ImportOperation. + * See Errors.
* * @return null|ErrorObjectCollection */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSink.php b/lib/commercetools-import/src/Models/Importsinks/ImportSink.php index 1e50b1631f9..75ea1e60c88 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSink.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSink.php @@ -21,37 +21,38 @@ interface ImportSink extends JsonObject public const FIELD_LAST_MODIFIED_AT = 'lastModifiedAt'; /** - *The unique key of the import sink.
- *Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).
+ *User-defined unique identifier for the ImportSink. + * Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
* * @return null|string */ public function getKey(); /** - *The type of import resource sent to this import sink. - * You can only send one resource type per import sink.
+ *The resource type to be imported. + * Only the resources of this type can be imported through this ImportSink. + * See ImportResourceType.
* * @return null|string */ public function getResourceType(); /** - *The version of this resource.
+ *The version of the ImportSink.
* * @return null|int */ public function getVersion(); /** - *When the import sink was created.
+ *The time when the ImportSink was created.
* * @return null|DateTimeImmutable */ public function getCreatedAt(); /** - *When the import sink was modified.
+ *The last time when the ImportSink was modified.
* * @return null|DateTimeImmutable */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkBuilder.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkBuilder.php index caa4a25bd84..02b964d773c 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkBuilder.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkBuilder.php @@ -47,8 +47,8 @@ final class ImportSinkBuilder implements Builder private $lastModifiedAt; /** - *The unique key of the import sink.
- *Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).
+ *User-defined unique identifier for the ImportSink. + * Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
* * @return null|string */ @@ -58,8 +58,9 @@ public function getKey() } /** - *The type of import resource sent to this import sink. - * You can only send one resource type per import sink.
+ *The resource type to be imported. + * Only the resources of this type can be imported through this ImportSink. + * See ImportResourceType.
* * @return null|string */ @@ -69,7 +70,7 @@ public function getResourceType() } /** - *The version of this resource.
+ *The version of the ImportSink.
* * @return null|int */ @@ -79,7 +80,7 @@ public function getVersion() } /** - *When the import sink was created.
+ *The time when the ImportSink was created.
* * @return null|DateTimeImmutable */ @@ -89,7 +90,7 @@ public function getCreatedAt() } /** - *When the import sink was modified.
+ *The last time when the ImportSink was modified.
* * @return null|DateTimeImmutable */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraft.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraft.php index 4a19414a362..edea25411e0 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraft.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraft.php @@ -18,21 +18,24 @@ interface ImportSinkDraft extends JsonObject public const FIELD_RESOURCE_TYPE = 'resourceType'; /** - *The version of this resource.
+ *The version of the ImportSinkDraft.
* * @return null|int */ public function getVersion(); /** - *The unique key of the import sink.
+ *User-defined unique identifier of the ImportSink. + * Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
* * @return null|string */ public function getKey(); /** - *The type of import resource sent to this import sink.
+ *The resource type to be imported. + * Only the resources of this type can be imported through this ImportSink. + * See ImportResourceType.
* * @return null|string */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftBuilder.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftBuilder.php index b533787d70e..ee4bd8a09a1 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftBuilder.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftBuilder.php @@ -36,7 +36,7 @@ final class ImportSinkDraftBuilder implements Builder private $resourceType; /** - *The version of this resource.
+ *The version of the ImportSinkDraft.
* * @return null|int */ @@ -46,7 +46,8 @@ public function getVersion() } /** - *The unique key of the import sink.
+ *User-defined unique identifier of the ImportSink. + * Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
* * @return null|string */ @@ -56,7 +57,9 @@ public function getKey() } /** - *The type of import resource sent to this import sink.
+ *The resource type to be imported. + * Only the resources of this type can be imported through this ImportSink. + * See ImportResourceType.
* * @return null|string */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftModel.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftModel.php index f373ce26fad..5826efa2653 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftModel.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkDraftModel.php @@ -49,7 +49,7 @@ public function __construct( } /** - *The version of this resource.
+ *The version of the ImportSinkDraft.
* * @return null|int */ @@ -68,7 +68,8 @@ public function getVersion() } /** - *The unique key of the import sink.
+ *User-defined unique identifier of the ImportSink. + * Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
* * @return null|string */ @@ -87,7 +88,9 @@ public function getKey() } /** - *The type of import resource sent to this import sink.
+ *The resource type to be imported. + * Only the resources of this type can be imported through this ImportSink. + * See ImportResourceType.
* * @return null|string */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkModel.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkModel.php index 41f8e0aa721..6692bcc8e10 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkModel.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkModel.php @@ -64,8 +64,8 @@ public function __construct( } /** - *The unique key of the import sink.
- *Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).
+ *User-defined unique identifier for the ImportSink. + * Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
* * @return null|string */ @@ -84,8 +84,9 @@ public function getKey() } /** - *The type of import resource sent to this import sink. - * You can only send one resource type per import sink.
+ *The resource type to be imported. + * Only the resources of this type can be imported through this ImportSink. + * See ImportResourceType.
* * @return null|string */ @@ -104,7 +105,7 @@ public function getResourceType() } /** - *The version of this resource.
+ *The version of the ImportSink.
* * @return null|int */ @@ -123,7 +124,7 @@ public function getVersion() } /** - *When the import sink was created.
+ *The time when the ImportSink was created.
* * @return null|DateTimeImmutable */ @@ -146,7 +147,7 @@ public function getCreatedAt() } /** - *When the import sink was modified.
+ *The last time when the ImportSink was modified.
* * @return null|DateTimeImmutable */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponse.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponse.php index 769fc4098f1..27bb9d6862b 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponse.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponse.php @@ -20,21 +20,22 @@ interface ImportSinkPagedResponse extends JsonObject public const FIELD_RESULTS = 'results'; /** - *The maximum number of import operations returned for a page.
+ *The number of results requested in the query request.
* * @return null|int */ public function getLimit(); /** - *The offset supplied by the client or the server default. It is the number of elements skipped.
+ *The number of elements skipped, not a page number. + * Supplied by the client or the server default.
* * @return null|int */ public function getOffset(); /** - *The actual number of results returned by this response.
+ *The actual number of results returned.
* * @return null|int */ @@ -48,7 +49,7 @@ public function getCount(); public function getTotal(); /** - *The results for this paged response.
+ *The array of Import Sinks matching the query.
* * @return null|ImportSinkCollection */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseBuilder.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseBuilder.php index 46d61cc6d2b..0bbf93cdddd 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseBuilder.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseBuilder.php @@ -46,7 +46,7 @@ final class ImportSinkPagedResponseBuilder implements Builder private $results; /** - *The maximum number of import operations returned for a page.
+ *The number of results requested in the query request.
* * @return null|int */ @@ -56,7 +56,8 @@ public function getLimit() } /** - *The offset supplied by the client or the server default. It is the number of elements skipped.
+ *The number of elements skipped, not a page number. + * Supplied by the client or the server default.
* * @return null|int */ @@ -66,7 +67,7 @@ public function getOffset() } /** - *The actual number of results returned by this response.
+ *The actual number of results returned.
* * @return null|int */ @@ -86,7 +87,7 @@ public function getTotal() } /** - *The results for this paged response.
+ *The array of Import Sinks matching the query.
* * @return null|ImportSinkCollection */ diff --git a/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseModel.php b/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseModel.php index 852db79c748..d8218aa58b0 100644 --- a/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseModel.php +++ b/lib/commercetools-import/src/Models/Importsinks/ImportSinkPagedResponseModel.php @@ -63,7 +63,7 @@ public function __construct( } /** - *The maximum number of import operations returned for a page.
+ *The number of results requested in the query request.
* * @return null|int */ @@ -82,7 +82,8 @@ public function getLimit() } /** - *The offset supplied by the client or the server default. It is the number of elements skipped.
+ *The number of elements skipped, not a page number. + * Supplied by the client or the server default.
* * @return null|int */ @@ -101,7 +102,7 @@ public function getOffset() } /** - *The actual number of results returned by this response.
+ *The actual number of results returned.
* * @return null|int */ @@ -139,7 +140,7 @@ public function getTotal() } /** - *The results for this paged response.
+ *The array of Import Sinks matching the query.
* * @return null|ImportSinkCollection */ diff --git a/lib/commercetools-import/src/Models/Importsummaries/ImportSummary.php b/lib/commercetools-import/src/Models/Importsummaries/ImportSummary.php index b50c7be9a44..2e62fe386d5 100644 --- a/lib/commercetools-import/src/Models/Importsummaries/ImportSummary.php +++ b/lib/commercetools-import/src/Models/Importsummaries/ImportSummary.php @@ -17,14 +17,14 @@ interface ImportSummary extends JsonObject public const FIELD_TOTAL = 'total'; /** - *The states summary for this import summary.
+ *The import status of an ImportSink given by the number of resources in each Processing State.
* * @return null|OperationStates */ public function getStates(); /** - *The total number of import operations received for this import group.
+ *The total number of ImportOperations received for this Import Summary.
* * @return null|int */ diff --git a/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryBuilder.php b/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryBuilder.php index bf94b7119c1..2a45d33a546 100644 --- a/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryBuilder.php +++ b/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryBuilder.php @@ -31,7 +31,7 @@ final class ImportSummaryBuilder implements Builder private $total; /** - *The states summary for this import summary.
+ *The import status of an ImportSink given by the number of resources in each Processing State.
* * @return null|OperationStates */ @@ -41,7 +41,7 @@ public function getStates() } /** - *The total number of import operations received for this import group.
+ *The total number of ImportOperations received for this Import Summary.
* * @return null|int */ diff --git a/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryModel.php b/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryModel.php index 2e5add9cb1c..29fd57a34b1 100644 --- a/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryModel.php +++ b/lib/commercetools-import/src/Models/Importsummaries/ImportSummaryModel.php @@ -42,7 +42,7 @@ public function __construct( } /** - *The states summary for this import summary.
+ *The import status of an ImportSink given by the number of resources in each Processing State.
* * @return null|OperationStates */ @@ -62,7 +62,7 @@ public function getStates() } /** - *The total number of import operations received for this import group.
+ *The total number of ImportOperations received for this Import Summary.
* * @return null|int */ diff --git a/lib/commercetools-import/src/Models/Importsummaries/OperationStates.php b/lib/commercetools-import/src/Models/Importsummaries/OperationStates.php index 0f66983292b..679a9210d66 100644 --- a/lib/commercetools-import/src/Models/Importsummaries/OperationStates.php +++ b/lib/commercetools-import/src/Models/Importsummaries/OperationStates.php @@ -20,35 +20,35 @@ interface OperationStates extends JsonObject public const FIELD_REJECTED = 'Rejected'; /** - *The number of import operations that are in the state ValidationFailed
.
The number of resources in the ValidationFailed
state.
The number of import operations that are in the state Unresolved
.
The number of resources in the Unresolved
state.
The number of import operations that are in the state WaitForMasterVariant
.
The number of resources in the WaitForMasterVariant
state.
The number of import operations that are in the state Imported
.
The number of resources in the Imported
state.
The number of import operations that are in the state Rejected
.
The number of resources in the Rejected
state.
The number of import operations that are in the state ValidationFailed
.
The number of resources in the ValidationFailed
state.
The number of import operations that are in the state Unresolved
.
The number of resources in the Unresolved
state.
The number of import operations that are in the state WaitForMasterVariant
.
The number of resources in the WaitForMasterVariant
state.
The number of import operations that are in the state Imported
.
The number of resources in the Imported
state.
The number of import operations that are in the state Rejected
.
The number of resources in the Rejected
state.
The number of import operations that are in the state ValidationFailed
.
The number of resources in the ValidationFailed
state.
The number of import operations that are in the state Unresolved
.
The number of resources in the Unresolved
state.
The number of import operations that are in the state WaitForMasterVariant
.
The number of resources in the WaitForMasterVariant
state.
The number of import operations that are in the state Imported
.
The number of resources in the Imported
state.
The number of import operations that are in the state Rejected
.
The number of resources in the Rejected
state.
TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getMoney(); @@ -53,6 +55,8 @@ public function getMoney(); public function getTaxedPrice(); /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalPrice(); diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php index fba55165db8..a85f3d4ef59 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php @@ -104,6 +104,8 @@ public function getName() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getMoney() @@ -120,6 +122,8 @@ public function getTaxedPrice() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalPrice() diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php index c0bd42789c1..7e86f9f9771 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php @@ -145,6 +145,8 @@ public function getName() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getMoney() @@ -181,6 +183,8 @@ public function getTaxedPrice() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalPrice() diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPrice.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPrice.php index 1360b9a3849..d6353cfcb90 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPrice.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPrice.php @@ -18,11 +18,15 @@ interface CustomLineItemTaxedPrice extends JsonObject public const FIELD_TOTAL_GROSS = 'totalGross'; /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalNet(); /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalGross(); diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceBuilder.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceBuilder.php index 1ac0287eb90..89c7a73f7b2 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceBuilder.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceBuilder.php @@ -33,6 +33,8 @@ final class CustomLineItemTaxedPriceBuilder implements Builder private $totalGross; /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalNet() @@ -41,6 +43,8 @@ public function getTotalNet() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalGross() diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceModel.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceModel.php index 39335ca0640..eb671e78bc6 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceModel.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemTaxedPriceModel.php @@ -44,6 +44,8 @@ public function __construct( } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalNet() @@ -62,6 +64,8 @@ public function getTotalNet() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getTotalGross() diff --git a/lib/commercetools-import/src/Models/Orders/LineItemImportDraft.php b/lib/commercetools-import/src/Models/Orders/LineItemImportDraft.php index 8037674b8b8..9d3db063878 100644 --- a/lib/commercetools-import/src/Models/Orders/LineItemImportDraft.php +++ b/lib/commercetools-import/src/Models/Orders/LineItemImportDraft.php @@ -69,20 +69,18 @@ public function getQuantity(); public function getState(); /** - *References a supply channel. Maps to LineItem.supplyChannel
.
The supply channel referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to LineItem.supplyChannel
.
+ * The Reference to the Supply Channel with which the LineItem is associated.
+ * If referenced Supply Channel does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Supply Channel is created.
References a distribution channel. Maps to LineItem.distributionChannel
.
The distribution channel referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to LineItem.distributionChannel
.
+ * The Reference to the Distribution Channel with which the LineItem is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Distribution Channel is created.
References a supply channel. Maps to LineItem.supplyChannel
.
The supply channel referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to LineItem.supplyChannel
.
+ * The Reference to the Supply Channel with which the LineItem is associated.
+ * If referenced Supply Channel does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Supply Channel is created.
References a distribution channel. Maps to LineItem.distributionChannel
.
The distribution channel referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to LineItem.distributionChannel
.
+ * The Reference to the Distribution Channel with which the LineItem is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Distribution Channel is created.
References a supply channel. Maps to LineItem.supplyChannel
.
The supply channel referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to LineItem.supplyChannel
.
+ * The Reference to the Supply Channel with which the LineItem is associated.
+ * If referenced Supply Channel does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Supply Channel is created.
References a distribution channel. Maps to LineItem.distributionChannel
.
The distribution channel referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to LineItem.distributionChannel
.
+ * The Reference to the Distribution Channel with which the LineItem is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Distribution Channel is created.
Maps to Price.value
.
Maps to Price.value
. TypedMoney is what is called BaseMoney in the HTTP API.
Maps to Price.value
.
Maps to Price.value
. TypedMoney is what is called BaseMoney in the HTTP API.
Maps to Price.value
.
Maps to Price.value
. TypedMoney is what is called BaseMoney in the HTTP API.
References a customer by its key.
- * * @return null|CustomerKeyReference */ public function getCustomer(); @@ -79,7 +77,7 @@ public function getLineItems(); public function getCustomLineItems(); /** - *Maps to Order.totalPrice
.
Maps to Order.totalPrice
. TypedMoney is what is called BaseMoney in the HTTP API.
References a customer by its key.
- * * @return null|CustomerKeyReference */ public function getCustomer() @@ -193,7 +191,7 @@ public function getCustomLineItems() } /** - *Maps to Order.totalPrice
.
Maps to Order.totalPrice
. TypedMoney is what is called BaseMoney in the HTTP API.
References a customer by its key.
- * * @return null|CustomerKeyReference */ public function getCustomer() @@ -290,7 +288,7 @@ public function getCustomLineItems() } /** - *Maps to Order.totalPrice
.
Maps to Order.totalPrice
. TypedMoney is what is called BaseMoney in the HTTP API.
TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getPrice(); diff --git a/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftBuilder.php b/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftBuilder.php index e5510d30409..a0274ff9d14 100644 --- a/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftBuilder.php +++ b/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftBuilder.php @@ -82,6 +82,8 @@ public function getShippingMethodName() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getPrice() diff --git a/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftModel.php b/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftModel.php index 94c66b5c01b..1b3fce27be8 100644 --- a/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftModel.php +++ b/lib/commercetools-import/src/Models/Orders/ShippingInfoImportDraftModel.php @@ -116,6 +116,8 @@ public function getShippingMethodName() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getPrice() diff --git a/lib/commercetools-import/src/Models/Orders/TaxPortion.php b/lib/commercetools-import/src/Models/Orders/TaxPortion.php index 654670511e6..9b2fa200dd3 100644 --- a/lib/commercetools-import/src/Models/Orders/TaxPortion.php +++ b/lib/commercetools-import/src/Models/Orders/TaxPortion.php @@ -29,6 +29,8 @@ public function getName(); public function getRate(); /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getAmount(); diff --git a/lib/commercetools-import/src/Models/Orders/TaxPortionBuilder.php b/lib/commercetools-import/src/Models/Orders/TaxPortionBuilder.php index 43716093052..0424e889abf 100644 --- a/lib/commercetools-import/src/Models/Orders/TaxPortionBuilder.php +++ b/lib/commercetools-import/src/Models/Orders/TaxPortionBuilder.php @@ -54,6 +54,8 @@ public function getRate() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getAmount() diff --git a/lib/commercetools-import/src/Models/Orders/TaxPortionModel.php b/lib/commercetools-import/src/Models/Orders/TaxPortionModel.php index 338e25c681a..5f3e3ef2681 100644 --- a/lib/commercetools-import/src/Models/Orders/TaxPortionModel.php +++ b/lib/commercetools-import/src/Models/Orders/TaxPortionModel.php @@ -85,6 +85,8 @@ public function getRate() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getAmount() diff --git a/lib/commercetools-import/src/Models/Prices/PriceImport.php b/lib/commercetools-import/src/Models/Prices/PriceImport.php index e36c1ed1600..0f20f9a6393 100644 --- a/lib/commercetools-import/src/Models/Prices/PriceImport.php +++ b/lib/commercetools-import/src/Models/Prices/PriceImport.php @@ -37,7 +37,7 @@ interface PriceImport extends ImportResource public const FIELD_PRODUCT = 'product'; /** - *Maps to Price.value
.
Maps to Price.value
. TypedMoney is what is called BaseMoney in the HTTP API.
References a customer group by its key.
- *The customer group referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the CustomerGroup with which the Price is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary CustomerGroup is created.
References a channel by its key.
- *The channel referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the Channel with which the Price is associated.
+ * If referenced Channel does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Channel is created.
The product variant in which this price is contained.
- *The product variant referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The ProductVariant in which this Price is contained.
+ * The Reference to the ProductVariant with which the Price is associated.
+ * If referenced ProductVariant does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductVariant is created.
The product in which this product variant containong the price is contained. Maps to ProductVariant.product
.
The product referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Product in which the Product Variant containing this Price is contained. Maps to ProductVariant.product
.
+ * The Reference to the Product with which the Price is associated.
+ * If referenced Product does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Product is created.
Maps to Price.value
.
Maps to Price.value
. TypedMoney is what is called BaseMoney in the HTTP API.
References a customer group by its key.
- *The customer group referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the CustomerGroup with which the Price is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary CustomerGroup is created.
References a channel by its key.
- *The channel referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the Channel with which the Price is associated.
+ * If referenced Channel does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Channel is created.
The product variant in which this price is contained.
- *The product variant referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The ProductVariant in which this Price is contained.
+ * The Reference to the ProductVariant with which the Price is associated.
+ * If referenced ProductVariant does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductVariant is created.
The product in which this product variant containong the price is contained. Maps to ProductVariant.product
.
The product referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Product in which the Product Variant containing this Price is contained. Maps to ProductVariant.product
.
+ * The Reference to the Product with which the Price is associated.
+ * If referenced Product does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Product is created.
Maps to Price.value
.
Maps to Price.value
. TypedMoney is what is called BaseMoney in the HTTP API.
References a customer group by its key.
- *The customer group referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the CustomerGroup with which the Price is associated.
+ * If referenced CustomerGroup does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary CustomerGroup is created.
References a channel by its key.
- *The channel referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the Channel with which the Price is associated.
+ * If referenced Channel does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Channel is created.
The product variant in which this price is contained.
- *The product variant referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The ProductVariant in which this Price is contained.
+ * The Reference to the ProductVariant with which the Price is associated.
+ * If referenced ProductVariant does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductVariant is created.
The product in which this product variant containong the price is contained. Maps to ProductVariant.product
.
The product referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Product in which the Product Variant containing this Price is contained. Maps to ProductVariant.product
.
+ * The Reference to the Product with which the Price is associated.
+ * If referenced Product does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Product is created.
TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getValue(); diff --git a/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportBuilder.php b/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportBuilder.php index e8efebc930b..7768a5936fb 100644 --- a/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportBuilder.php +++ b/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportBuilder.php @@ -83,6 +83,8 @@ final class PriceDraftImportBuilder implements Builder private $key; /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getValue() diff --git a/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportModel.php b/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportModel.php index 66ee9322908..f17e13c86d2 100644 --- a/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportModel.php +++ b/lib/commercetools-import/src/Models/Productdrafts/PriceDraftImportModel.php @@ -110,6 +110,8 @@ public function __construct( } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoney */ public function getValue() diff --git a/lib/commercetools-import/src/Models/Productdrafts/ProductDraftImport.php b/lib/commercetools-import/src/Models/Productdrafts/ProductDraftImport.php index 614d963f909..34732160e08 100644 --- a/lib/commercetools-import/src/Models/Productdrafts/ProductDraftImport.php +++ b/lib/commercetools-import/src/Models/Productdrafts/ProductDraftImport.php @@ -36,10 +36,10 @@ interface ProductDraftImport extends ImportResource public const FIELD_PUBLISH = 'publish'; /** - *The product's product type. Maps to Product.productType
.
The product type referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The productType
of a Product.
+ * Maps to Product.productType
.
+ * The Reference to the ProductType with which the ProductDraft is associated.
+ * If referenced ProductType does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductType is created.
An array of references to categories by their keys. Maps to Product.categories
.
The categories referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the Categories with which the ProductDraft is associated.
+ * If referenced Categories do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Categories are created.
The master product variant.
- * Required if the variants
array has product variants.
The master Product variant.
+ * Required if the variants
array contains a Product Variant.
An array of related product variants.
+ *An array of related Product Variants.
* * @return null|ProductVariantDraftImportCollection */ public function getVariants(); /** - *References a tax category by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the TaxCategory with which the ProductDraft is associated.
+ * If referenced TaxCategory does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary TaxCategory is created.
References a state by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the State with which the ProductDraft is associated.
+ * If referenced State does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary State is created.
The product's product type. Maps to Product.productType
.
The product type referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The productType
of a Product.
+ * Maps to Product.productType
.
+ * The Reference to the ProductType with which the ProductDraft is associated.
+ * If referenced ProductType does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductType is created.
An array of references to categories by their keys. Maps to Product.categories
.
The categories referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the Categories with which the ProductDraft is associated.
+ * If referenced Categories do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Categories are created.
The master product variant.
- * Required if the variants
array has product variants.
The master Product variant.
+ * Required if the variants
array contains a Product Variant.
An array of related product variants.
+ *An array of related Product Variants.
* * @return null|ProductVariantDraftImportCollection */ @@ -238,10 +236,8 @@ public function getVariants() } /** - *References a tax category by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the TaxCategory with which the ProductDraft is associated.
+ * If referenced TaxCategory does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary TaxCategory is created.
References a state by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the State with which the ProductDraft is associated.
+ * If referenced State does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary State is created.
The product's product type. Maps to Product.productType
.
The product type referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The productType
of a Product.
+ * Maps to Product.productType
.
+ * The Reference to the ProductType with which the ProductDraft is associated.
+ * If referenced ProductType does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductType is created.
An array of references to categories by their keys. Maps to Product.categories
.
The categories referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the Categories with which the ProductDraft is associated.
+ * If referenced Categories do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Categories are created.
The master product variant.
- * Required if the variants
array has product variants.
The master Product variant.
+ * Required if the variants
array contains a Product Variant.
An array of related product variants.
+ *An array of related Product Variants.
* * @return null|ProductVariantDraftImportCollection */ @@ -382,10 +380,8 @@ public function getVariants() } /** - *References a tax category by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the TaxCategory with which the ProductDraft is associated.
+ * If referenced TaxCategory does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary TaxCategory is created.
References a state by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the State with which the ProductDraft is associated.
+ * If referenced State does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary State is created.
The product's product type. Maps to Product.productType
.
The product type referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The productType
of a Product.
+ * Maps to Product.productType
.
+ * The Reference to the ProductType with which the Product is associated.
+ * If referenced ProductType does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductType is created.
Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, + *
Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, * but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.
* * @return null|LocalizedString @@ -65,10 +65,9 @@ public function getSlug(); public function getDescription(); /** - *An array of references to a categories by their keys. Maps to Product.categories
.
The categories referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to Product.categories
.
+ * The References to the Categories with which the Product is associated.
+ * If referenced Categories do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Categories are created.
References a tax category by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the TaxCategory with which the Product is associated.
+ * If referenced TaxCategory does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary TaxCategory is created.
References a state by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the State with which the Product is associated.
+ * If referenced State does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary State is created.
The product's product type. Maps to Product.productType
.
The product type referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The productType
of a Product.
+ * Maps to Product.productType
.
+ * The Reference to the ProductType with which the Product is associated.
+ * If referenced ProductType does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductType is created.
Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, + *
Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, * but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.
* * @return null|LocalizedString @@ -149,10 +149,9 @@ public function getDescription() } /** - *An array of references to a categories by their keys. Maps to Product.categories
.
The categories referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to Product.categories
.
+ * The References to the Categories with which the Product is associated.
+ * If referenced Categories do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Categories are created.
References a tax category by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the TaxCategory with which the Product is associated.
+ * If referenced TaxCategory does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary TaxCategory is created.
References a state by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the State with which the Product is associated.
+ * If referenced State does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary State is created.
The product's product type. Maps to Product.productType
.
The product type referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The productType
of a Product.
+ * Maps to Product.productType
.
+ * The Reference to the ProductType with which the Product is associated.
+ * If referenced ProductType does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductType is created.
Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, + *
Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, * but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.
* * @return null|LocalizedString @@ -231,10 +231,9 @@ public function getDescription() } /** - *An array of references to a categories by their keys. Maps to Product.categories
.
The categories referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
Maps to Product.categories
.
+ * The References to the Categories with which the Product is associated.
+ * If referenced Categories do not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Categories are created.
References a tax category by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the TaxCategory with which the Product is associated.
+ * If referenced TaxCategory does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary TaxCategory is created.
References a state by its key.
- *The tax category referenced must already exist
- * in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Reference to the State with which the Product is associated.
+ * If referenced State does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary State is created.
The product type's attributes.
+ *The attributes
of ProductType.
The product type's attributes.
+ *The attributes
of ProductType.
The product type's attributes.
+ *The attributes
of ProductType.
TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoneyCollection */ public function getValue(); diff --git a/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeBuilder.php b/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeBuilder.php index 0f64e4b2a79..808a0d59b2f 100644 --- a/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeBuilder.php +++ b/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeBuilder.php @@ -44,6 +44,8 @@ public function getName() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoneyCollection */ public function getValue() diff --git a/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeModel.php b/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeModel.php index 14ce11603d1..34705cab9ed 100644 --- a/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeModel.php +++ b/lib/commercetools-import/src/Models/Productvariants/MoneySetAttributeModel.php @@ -88,6 +88,8 @@ public function getType() } /** + *TypedMoney is what is called BaseMoney in the HTTP API.
+ * * @return null|TypedMoneyCollection */ public function getValue() diff --git a/lib/commercetools-import/src/Models/Productvariants/ProductVariantImport.php b/lib/commercetools-import/src/Models/Productvariants/ProductVariantImport.php index c9b5a300e97..e2ced80e58f 100644 --- a/lib/commercetools-import/src/Models/Productvariants/ProductVariantImport.php +++ b/lib/commercetools-import/src/Models/Productvariants/ProductVariantImport.php @@ -40,10 +40,8 @@ public function getSku(); public function getIsMasterVariant(); /** - *Maps to ProductVariant.attributes
.
Each attribute referenced must be defined
- * in an already existing product type in the commercetools project, or the import
- * operation state is set to Unresolved
.
Maps to ProductVariant.attributes
.
+ * The referenced attribute must be defined in an already existing ProductType in the commercetools project, or the state
of the ImportOperation will be Unresolved
.
The product in which this product variant is contained. Maps to ProductVariant.product
.
The product referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Product to which this Product Variant belongs. Maps to ProductVariant.product
.
+ * The Reference to the Product with which the ProductVariant is associated.
+ * If referenced Product does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Product is created.
Maps to ProductVariant.attributes
.
Each attribute referenced must be defined
- * in an already existing product type in the commercetools project, or the import
- * operation state is set to Unresolved
.
Maps to ProductVariant.attributes
.
+ * The referenced attribute must be defined in an already existing ProductType in the commercetools project, or the state
of the ImportOperation will be Unresolved
.
The product in which this product variant is contained. Maps to ProductVariant.product
.
The product referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Product to which this Product Variant belongs. Maps to ProductVariant.product
.
+ * The Reference to the Product with which the ProductVariant is associated.
+ * If referenced Product does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Product is created.
Maps to ProductVariant.attributes
.
Each attribute referenced must be defined
- * in an already existing product type in the commercetools project, or the import
- * operation state is set to Unresolved
.
Maps to ProductVariant.attributes
.
+ * The referenced attribute must be defined in an already existing ProductType in the commercetools project, or the state
of the ImportOperation will be Unresolved
.
The product in which this product variant is contained. Maps to ProductVariant.product
.
The product referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The Product to which this Product Variant belongs. Maps to ProductVariant.product
.
+ * The Reference to the Product with which the ProductVariant is associated.
+ * If referenced Product does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary Product is created.
The product variant to which this patch is applied.
- *The product variant referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The ProductVariant to which this patch is applied.
+ * The Reference to the ProductVariant with which the ProductVariantPatch is associated.
+ * If referenced ProductVariant does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductVariant is created.
Maps to ProductVariant.attributes
.
Each attribute referenced must be defined
- * in an already existing product type in the commercetools project, or the import
- * operation state is set to ValidationFailed
.
Maps to ProductVariant.attributes
.
+ * The referenced attribute must be defined in an already existing ProductType in the commercetools Project, or the state
of the ImportOperation will be Unresolved
.
The product variant to which this patch is applied.
- *The product variant referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The ProductVariant to which this patch is applied.
+ * The Reference to the ProductVariant with which the ProductVariantPatch is associated.
+ * If referenced ProductVariant does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductVariant is created.
Maps to ProductVariant.attributes
.
Each attribute referenced must be defined
- * in an already existing product type in the commercetools project, or the import
- * operation state is set to ValidationFailed
.
Maps to ProductVariant.attributes
.
+ * The referenced attribute must be defined in an already existing ProductType in the commercetools Project, or the state
of the ImportOperation will be Unresolved
.
The product variant to which this patch is applied.
- *The product variant referenced
- * must already exist in the commercetools project, or the
- * import operation state is set to Unresolved
.
The ProductVariant to which this patch is applied.
+ * The Reference to the ProductVariant with which the ProductVariantPatch is associated.
+ * If referenced ProductVariant does not exist, the state
of the ImportOperation will be set to Unresolved
until the necessary ProductVariant is created.
Maps to ProductVariant.attributes
.
Each attribute referenced must be defined
- * in an already existing product type in the commercetools project, or the import
- * operation state is set to ValidationFailed
.
Maps to ProductVariant.attributes
.
+ * The referenced attribute must be defined in an already existing ProductType in the commercetools Project, or the state
of the ImportOperation will be Unresolved
.