commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductTailoring
ProductTailoringDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductTailoring
;
10
11
use
Commercetools\Api\Models\Common\LocalizedString
;
12
use
Commercetools\Api\Models\Product\ProductResourceIdentifier
;
13
use
Commercetools\Api\Models\Store\StoreResourceIdentifier
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
17
interface
ProductTailoringDraft
extends
JsonObject
18
{
19
public
const
FIELD_KEY
=
'key'
;
20
public
const
FIELD_STORE
=
'store'
;
21
public
const
FIELD_PRODUCT
=
'product'
;
22
public
const
FIELD_NAME
=
'name'
;
23
public
const
FIELD_DESCRIPTION
=
'description'
;
24
public
const
FIELD_META_TITLE
=
'metaTitle'
;
25
public
const
FIELD_META_DESCRIPTION
=
'metaDescription'
;
26
public
const
FIELD_META_KEYWORDS
=
'metaKeywords'
;
27
public
const
FIELD_SLUG
=
'slug'
;
28
public
const
FIELD_PUBLISH
=
'publish'
;
29
public
const
FIELD_VARIANTS
=
'variants'
;
30
37
public
function
getKey
();
38
45
public
function
getStore
();
46
53
public
function
getProduct
();
54
61
public
function
getName
();
62
69
public
function
getDescription
();
70
77
public
function
getMetaTitle
();
78
85
public
function
getMetaDescription
();
86
93
public
function
getMetaKeywords
();
94
102
public
function
getSlug
();
103
110
public
function
getPublish
();
111
118
public
function
getVariants
();
119
123
public
function
setKey
(?
string
$key): void;
124
128
public
function
setStore
(?
StoreResourceIdentifier
$store): void;
129
133
public
function
setProduct
(?
ProductResourceIdentifier
$product): void;
134
138
public
function
setName
(?
LocalizedString
$name): void;
139
143
public
function
setDescription
(?
LocalizedString
$description): void;
144
148
public
function
setMetaTitle
(?
LocalizedString
$metaTitle): void;
149
153
public
function
setMetaDescription
(?
LocalizedString
$metaDescription): void;
154
158
public
function
setMetaKeywords
(?
LocalizedString
$metaKeywords): void;
159
163
public
function
setSlug
(?
LocalizedString
$slug): void;
164
168
public
function
setPublish
(?
bool
$publish): void;
169
173
public
function
setVariants
(?
ProductVariantTailoringDraftCollection
$variants): void;
174
}
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoringDraftCollection
Definition:
ProductVariantTailoringDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Product\ProductResourceIdentifier
Definition:
ProductResourceIdentifier.php:16
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft
Definition:
ProductTailoringDraft.php:18
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_STORE
const FIELD_STORE
Definition:
ProductTailoringDraft.php:20
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getMetaKeywords
getMetaKeywords()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getPublish
getPublish()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_META_KEYWORDS
const FIELD_META_KEYWORDS
Definition:
ProductTailoringDraft.php:26
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setMetaDescription
setMetaDescription(?LocalizedString $metaDescription)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setVariants
setVariants(?ProductVariantTailoringDraftCollection $variants)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_NAME
const FIELD_NAME
Definition:
ProductTailoringDraft.php:22
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getMetaDescription
getMetaDescription()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
ProductTailoringDraft.php:21
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setMetaTitle
setMetaTitle(?LocalizedString $metaTitle)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
ProductTailoringDraft.php:23
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setMetaKeywords
setMetaKeywords(?LocalizedString $metaKeywords)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_SLUG
const FIELD_SLUG
Definition:
ProductTailoringDraft.php:27
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setPublish
setPublish(?bool $publish)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getVariants
getVariants()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getMetaTitle
getMetaTitle()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getDescription
getDescription()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getProduct
getProduct()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_META_TITLE
const FIELD_META_TITLE
Definition:
ProductTailoringDraft.php:24
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getName
getName()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getSlug
getSlug()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_META_DESCRIPTION
const FIELD_META_DESCRIPTION
Definition:
ProductTailoringDraft.php:25
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getKey
getKey()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_KEY
const FIELD_KEY
Definition:
ProductTailoringDraft.php:19
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setSlug
setSlug(?LocalizedString $slug)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setProduct
setProduct(?ProductResourceIdentifier $product)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_VARIANTS
const FIELD_VARIANTS
Definition:
ProductTailoringDraft.php:29
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setDescription
setDescription(?LocalizedString $description)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\setStore
setStore(?StoreResourceIdentifier $store)
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\getStore
getStore()
Commercetools\Api\Models\ProductTailoring\ProductTailoringDraft\FIELD_PUBLISH
const FIELD_PUBLISH
Definition:
ProductTailoringDraft.php:28
Commercetools\Api\Models\Store\StoreResourceIdentifier
Definition:
StoreResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductTailoring
Definition:
ProductTailoring.php:9
Generated by
1.9.1