commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Importoperations
ImportOperation.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Importoperations
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\UnresolvedReferencesCollection
;
14
use
Commercetools\Import\Models\Errors\ErrorObjectCollection
;
15
use DateTimeImmutable;
16
17
interface
ImportOperation
extends
JsonObject
18
{
19
public
const
FIELD_VERSION
=
'version'
;
20
public
const
FIELD_IMPORT_CONTAINER_KEY
=
'importContainerKey'
;
21
public
const
FIELD_RESOURCE_KEY
=
'resourceKey'
;
22
public
const
FIELD_ID
=
'id'
;
23
public
const
FIELD_STATE
=
'state'
;
24
public
const
FIELD_RESOURCE_VERSION
=
'resourceVersion'
;
25
public
const
FIELD_ERRORS
=
'errors'
;
26
public
const
FIELD_UNRESOLVED_REFERENCES
=
'unresolvedReferences'
;
27
public
const
FIELD_CREATED_AT
=
'createdAt'
;
28
public
const
FIELD_LAST_MODIFIED_AT
=
'lastModifiedAt'
;
29
public
const
FIELD_EXPIRES_AT
=
'expiresAt'
;
30
37
public
function
getVersion
();
38
45
public
function
getImportContainerKey
();
46
53
public
function
getResourceKey
();
54
61
public
function
getId
();
62
69
public
function
getState
();
70
77
public
function
getResourceVersion
();
78
85
public
function
getErrors
();
86
93
public
function
getUnresolvedReferences
();
94
101
public
function
getCreatedAt
();
102
109
public
function
getLastModifiedAt
();
110
117
public
function
getExpiresAt
();
118
122
public
function
setVersion
(?
int
$version): void;
123
127
public
function
setImportContainerKey
(?
string
$importContainerKey): void;
128
132
public
function
setResourceKey
(?
string
$resourceKey): void;
133
137
public
function
setId
(?
string
$id): void;
138
142
public
function
setState
(?
string
$state): void;
143
147
public
function
setResourceVersion
(?
int
$resourceVersion): void;
148
152
public
function
setErrors
(?
ErrorObjectCollection
$errors): void;
153
157
public
function
setUnresolvedReferences
(?
UnresolvedReferencesCollection
$unresolvedReferences): void;
158
162
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
163
167
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
168
172
public
function
setExpiresAt
(?DateTimeImmutable $expiresAt): void;
173
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\UnresolvedReferencesCollection
Definition:
UnresolvedReferencesCollection.php:22
Commercetools\Import\Models\Errors\ErrorObjectCollection
Definition:
ErrorObjectCollection.php:26
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Importoperations\ImportOperation
Definition:
ImportOperation.php:18
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_IMPORT_CONTAINER_KEY
const FIELD_IMPORT_CONTAINER_KEY
Definition:
ImportOperation.php:20
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_CREATED_AT
const FIELD_CREATED_AT
Definition:
ImportOperation.php:27
Commercetools\Import\Models\Importoperations\ImportOperation\getState
getState()
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_STATE
const FIELD_STATE
Definition:
ImportOperation.php:23
Commercetools\Import\Models\Importoperations\ImportOperation\getLastModifiedAt
getLastModifiedAt()
Commercetools\Import\Models\Importoperations\ImportOperation\getCreatedAt
getCreatedAt()
Commercetools\Import\Models\Importoperations\ImportOperation\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Import\Models\Importoperations\ImportOperation\setErrors
setErrors(?ErrorObjectCollection $errors)
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_VERSION
const FIELD_VERSION
Definition:
ImportOperation.php:19
Commercetools\Import\Models\Importoperations\ImportOperation\setState
setState(?string $state)
Commercetools\Import\Models\Importoperations\ImportOperation\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Import\Models\Importoperations\ImportOperation\getResourceKey
getResourceKey()
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_ERRORS
const FIELD_ERRORS
Definition:
ImportOperation.php:25
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_EXPIRES_AT
const FIELD_EXPIRES_AT
Definition:
ImportOperation.php:29
Commercetools\Import\Models\Importoperations\ImportOperation\getVersion
getVersion()
Commercetools\Import\Models\Importoperations\ImportOperation\getId
getId()
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_RESOURCE_KEY
const FIELD_RESOURCE_KEY
Definition:
ImportOperation.php:21
Commercetools\Import\Models\Importoperations\ImportOperation\setUnresolvedReferences
setUnresolvedReferences(?UnresolvedReferencesCollection $unresolvedReferences)
Commercetools\Import\Models\Importoperations\ImportOperation\setResourceKey
setResourceKey(?string $resourceKey)
Commercetools\Import\Models\Importoperations\ImportOperation\setResourceVersion
setResourceVersion(?int $resourceVersion)
Commercetools\Import\Models\Importoperations\ImportOperation\setId
setId(?string $id)
Commercetools\Import\Models\Importoperations\ImportOperation\setVersion
setVersion(?int $version)
Commercetools\Import\Models\Importoperations\ImportOperation\setImportContainerKey
setImportContainerKey(?string $importContainerKey)
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_UNRESOLVED_REFERENCES
const FIELD_UNRESOLVED_REFERENCES
Definition:
ImportOperation.php:26
Commercetools\Import\Models\Importoperations\ImportOperation\getErrors
getErrors()
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_ID
const FIELD_ID
Definition:
ImportOperation.php:22
Commercetools\Import\Models\Importoperations\ImportOperation\getImportContainerKey
getImportContainerKey()
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_LAST_MODIFIED_AT
const FIELD_LAST_MODIFIED_AT
Definition:
ImportOperation.php:28
Commercetools\Import\Models\Importoperations\ImportOperation\getResourceVersion
getResourceVersion()
Commercetools\Import\Models\Importoperations\ImportOperation\getExpiresAt
getExpiresAt()
Commercetools\Import\Models\Importoperations\ImportOperation\FIELD_RESOURCE_VERSION
const FIELD_RESOURCE_VERSION
Definition:
ImportOperation.php:24
Commercetools\Import\Models\Importoperations\ImportOperation\setExpiresAt
setExpiresAt(?DateTimeImmutable $expiresAt)
Commercetools\Import\Models\Importoperations\ImportOperation\getUnresolvedReferences
getUnresolvedReferences()
Commercetools\Import\Models\Importoperations
Definition:
ImportOperation.php:9
Generated by
1.9.1