commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Categories
CategoryImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Categories
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\AssetCollection
;
14
use
Commercetools\Import\Models\Common\CategoryKeyReference
;
15
use
Commercetools\Import\Models\Common\ImportResource
;
16
use
Commercetools\Import\Models\Common\LocalizedString
;
17
use
Commercetools\Import\Models\Customfields\Custom
;
18
19
interface
CategoryImport
extends
ImportResource
20
{
21
public
const
FIELD_NAME
=
'name'
;
22
public
const
FIELD_SLUG
=
'slug'
;
23
public
const
FIELD_DESCRIPTION
=
'description'
;
24
public
const
FIELD_PARENT
=
'parent'
;
25
public
const
FIELD_ORDER_HINT
=
'orderHint'
;
26
public
const
FIELD_EXTERNAL_ID
=
'externalId'
;
27
public
const
FIELD_META_TITLE
=
'metaTitle'
;
28
public
const
FIELD_META_DESCRIPTION
=
'metaDescription'
;
29
public
const
FIELD_META_KEYWORDS
=
'metaKeywords'
;
30
public
const
FIELD_ASSETS
=
'assets'
;
31
public
const
FIELD_CUSTOM
=
'custom'
;
32
39
public
function
getKey
();
40
47
public
function
getName
();
48
56
public
function
getSlug
();
57
64
public
function
getDescription
();
65
74
public
function
getParent
();
75
82
public
function
getOrderHint
();
83
90
public
function
getExternalId
();
91
98
public
function
getMetaTitle
();
99
106
public
function
getMetaDescription
();
107
114
public
function
getMetaKeywords
();
115
120
public
function
getAssets
();
121
128
public
function
getCustom
();
129
133
public
function
setKey
(?
string
$key): void;
134
138
public
function
setName
(?
LocalizedString
$name): void;
139
143
public
function
setSlug
(?
LocalizedString
$slug): void;
144
148
public
function
setDescription
(?
LocalizedString
$description): void;
149
153
public
function
setParent
(?
CategoryKeyReference
$parent): void;
154
158
public
function
setOrderHint
(?
string
$orderHint): void;
159
163
public
function
setExternalId
(?
string
$externalId): void;
164
168
public
function
setMetaTitle
(?
LocalizedString
$metaTitle): void;
169
173
public
function
setMetaDescription
(?
LocalizedString
$metaDescription): void;
174
178
public
function
setMetaKeywords
(?
LocalizedString
$metaKeywords): void;
179
183
public
function
setAssets
(?
AssetCollection
$assets): void;
184
188
public
function
setCustom
(?
Custom
$custom): void;
189
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\AssetCollection
Definition:
AssetCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Categories\CategoryImport
Definition:
CategoryImport.php:20
Commercetools\Import\Models\Categories\CategoryImport\setMetaTitle
setMetaTitle(?LocalizedString $metaTitle)
Commercetools\Import\Models\Categories\CategoryImport\getMetaTitle
getMetaTitle()
Commercetools\Import\Models\Categories\CategoryImport\setExternalId
setExternalId(?string $externalId)
Commercetools\Import\Models\Categories\CategoryImport\setSlug
setSlug(?LocalizedString $slug)
Commercetools\Import\Models\Categories\CategoryImport\setParent
setParent(?CategoryKeyReference $parent)
Commercetools\Import\Models\Categories\CategoryImport\setMetaDescription
setMetaDescription(?LocalizedString $metaDescription)
Commercetools\Import\Models\Categories\CategoryImport\FIELD_META_TITLE
const FIELD_META_TITLE
Definition:
CategoryImport.php:27
Commercetools\Import\Models\Categories\CategoryImport\setDescription
setDescription(?LocalizedString $description)
Commercetools\Import\Models\Categories\CategoryImport\getExternalId
getExternalId()
Commercetools\Import\Models\Categories\CategoryImport\FIELD_PARENT
const FIELD_PARENT
Definition:
CategoryImport.php:24
Commercetools\Import\Models\Categories\CategoryImport\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
CategoryImport.php:31
Commercetools\Import\Models\Categories\CategoryImport\getParent
getParent()
Commercetools\Import\Models\Categories\CategoryImport\setMetaKeywords
setMetaKeywords(?LocalizedString $metaKeywords)
Commercetools\Import\Models\Categories\CategoryImport\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\Categories\CategoryImport\getKey
getKey()
Commercetools\Import\Models\Categories\CategoryImport\getMetaDescription
getMetaDescription()
Commercetools\Import\Models\Categories\CategoryImport\FIELD_EXTERNAL_ID
const FIELD_EXTERNAL_ID
Definition:
CategoryImport.php:26
Commercetools\Import\Models\Categories\CategoryImport\getOrderHint
getOrderHint()
Commercetools\Import\Models\Categories\CategoryImport\getMetaKeywords
getMetaKeywords()
Commercetools\Import\Models\Categories\CategoryImport\FIELD_META_KEYWORDS
const FIELD_META_KEYWORDS
Definition:
CategoryImport.php:29
Commercetools\Import\Models\Categories\CategoryImport\getAssets
getAssets()
Commercetools\Import\Models\Categories\CategoryImport\getSlug
getSlug()
Commercetools\Import\Models\Categories\CategoryImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Categories\CategoryImport\setAssets
setAssets(?AssetCollection $assets)
Commercetools\Import\Models\Categories\CategoryImport\FIELD_ASSETS
const FIELD_ASSETS
Definition:
CategoryImport.php:30
Commercetools\Import\Models\Categories\CategoryImport\setOrderHint
setOrderHint(?string $orderHint)
Commercetools\Import\Models\Categories\CategoryImport\getName
getName()
Commercetools\Import\Models\Categories\CategoryImport\setName
setName(?LocalizedString $name)
Commercetools\Import\Models\Categories\CategoryImport\FIELD_NAME
const FIELD_NAME
Definition:
CategoryImport.php:21
Commercetools\Import\Models\Categories\CategoryImport\FIELD_ORDER_HINT
const FIELD_ORDER_HINT
Definition:
CategoryImport.php:25
Commercetools\Import\Models\Categories\CategoryImport\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
CategoryImport.php:23
Commercetools\Import\Models\Categories\CategoryImport\FIELD_META_DESCRIPTION
const FIELD_META_DESCRIPTION
Definition:
CategoryImport.php:28
Commercetools\Import\Models\Categories\CategoryImport\getDescription
getDescription()
Commercetools\Import\Models\Categories\CategoryImport\FIELD_SLUG
const FIELD_SLUG
Definition:
CategoryImport.php:22
Commercetools\Import\Models\Categories\CategoryImport\getCustom
getCustom()
Commercetools\Import\Models\Common\CategoryKeyReference
Definition:
CategoryKeyReference.php:15
Commercetools\Import\Models\Common\ImportResource
Definition:
ImportResource.php:26
Commercetools\Import\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\Categories
Definition:
CategoryImport.php:9
Generated by
1.9.1