commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Products
ProductImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Products
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\CategoryKeyReferenceCollection
;
14
use
Commercetools\Import\Models\Common\ImportResource
;
15
use
Commercetools\Import\Models\Common\LocalizedString
;
16
use
Commercetools\Import\Models\Common\ProductTypeKeyReference
;
17
use
Commercetools\Import\Models\Common\StateKeyReference
;
18
use
Commercetools\Import\Models\Common\TaxCategoryKeyReference
;
19
20
interface
ProductImport
extends
ImportResource
21
{
22
public
const
FIELD_NAME
=
'name'
;
23
public
const
FIELD_PRODUCT_TYPE
=
'productType'
;
24
public
const
FIELD_SLUG
=
'slug'
;
25
public
const
FIELD_DESCRIPTION
=
'description'
;
26
public
const
FIELD_CATEGORIES
=
'categories'
;
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_TAX_CATEGORY
=
'taxCategory'
;
31
public
const
FIELD_SEARCH_KEYWORDS
=
'searchKeywords'
;
32
public
const
FIELD_STATE
=
'state'
;
33
public
const
FIELD_PUBLISH
=
'publish'
;
34
public
const
FIELD_PRICE_MODE
=
'priceMode'
;
35
42
public
function
getKey
();
43
50
public
function
getName
();
51
61
public
function
getProductType
();
62
70
public
function
getSlug
();
71
78
public
function
getDescription
();
79
88
public
function
getCategories
();
89
101
public
function
getMetaTitle
();
102
114
public
function
getMetaDescription
();
115
127
public
function
getMetaKeywords
();
128
136
public
function
getTaxCategory
();
137
160
public
function
getSearchKeywords
();
161
169
public
function
getState
();
170
177
public
function
getPublish
();
178
185
public
function
getPriceMode
();
186
190
public
function
setKey
(?
string
$key): void;
191
195
public
function
setName
(?
LocalizedString
$name): void;
196
200
public
function
setProductType
(?
ProductTypeKeyReference
$productType): void;
201
205
public
function
setSlug
(?
LocalizedString
$slug): void;
206
210
public
function
setDescription
(?
LocalizedString
$description): void;
211
215
public
function
setCategories
(?
CategoryKeyReferenceCollection
$categories): void;
216
220
public
function
setMetaTitle
(?
LocalizedString
$metaTitle): void;
221
225
public
function
setMetaDescription
(?
LocalizedString
$metaDescription): void;
226
230
public
function
setMetaKeywords
(?
LocalizedString
$metaKeywords): void;
231
235
public
function
setTaxCategory
(?
TaxCategoryKeyReference
$taxCategory): void;
236
240
public
function
setSearchKeywords
(?
SearchKeywords
$searchKeywords): void;
241
245
public
function
setState
(?
StateKeyReference
$state): void;
246
250
public
function
setPublish
(?
bool
$publish): void;
251
255
public
function
setPriceMode
(?
string
$priceMode): void;
256
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\CategoryKeyReferenceCollection
Definition:
CategoryKeyReferenceCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\ImportResource
Definition:
ImportResource.php:26
Commercetools\Import\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Import\Models\Common\ProductTypeKeyReference
Definition:
ProductTypeKeyReference.php:15
Commercetools\Import\Models\Common\StateKeyReference
Definition:
StateKeyReference.php:15
Commercetools\Import\Models\Common\TaxCategoryKeyReference
Definition:
TaxCategoryKeyReference.php:15
Commercetools\Import\Models\Products\ProductImport
Definition:
ProductImport.php:21
Commercetools\Import\Models\Products\ProductImport\setMetaDescription
setMetaDescription(?LocalizedString $metaDescription)
Commercetools\Import\Models\Products\ProductImport\setSearchKeywords
setSearchKeywords(?SearchKeywords $searchKeywords)
Commercetools\Import\Models\Products\ProductImport\setTaxCategory
setTaxCategory(?TaxCategoryKeyReference $taxCategory)
Commercetools\Import\Models\Products\ProductImport\FIELD_META_TITLE
const FIELD_META_TITLE
Definition:
ProductImport.php:27
Commercetools\Import\Models\Products\ProductImport\FIELD_TAX_CATEGORY
const FIELD_TAX_CATEGORY
Definition:
ProductImport.php:30
Commercetools\Import\Models\Products\ProductImport\FIELD_STATE
const FIELD_STATE
Definition:
ProductImport.php:32
Commercetools\Import\Models\Products\ProductImport\getProductType
getProductType()
Commercetools\Import\Models\Products\ProductImport\getDescription
getDescription()
Commercetools\Import\Models\Products\ProductImport\FIELD_SLUG
const FIELD_SLUG
Definition:
ProductImport.php:24
Commercetools\Import\Models\Products\ProductImport\setCategories
setCategories(?CategoryKeyReferenceCollection $categories)
Commercetools\Import\Models\Products\ProductImport\setPublish
setPublish(?bool $publish)
Commercetools\Import\Models\Products\ProductImport\getKey
getKey()
Commercetools\Import\Models\Products\ProductImport\FIELD_NAME
const FIELD_NAME
Definition:
ProductImport.php:22
Commercetools\Import\Models\Products\ProductImport\getCategories
getCategories()
Commercetools\Import\Models\Products\ProductImport\getSlug
getSlug()
Commercetools\Import\Models\Products\ProductImport\getPriceMode
getPriceMode()
Commercetools\Import\Models\Products\ProductImport\setPriceMode
setPriceMode(?string $priceMode)
Commercetools\Import\Models\Products\ProductImport\FIELD_PUBLISH
const FIELD_PUBLISH
Definition:
ProductImport.php:33
Commercetools\Import\Models\Products\ProductImport\setSlug
setSlug(?LocalizedString $slug)
Commercetools\Import\Models\Products\ProductImport\FIELD_SEARCH_KEYWORDS
const FIELD_SEARCH_KEYWORDS
Definition:
ProductImport.php:31
Commercetools\Import\Models\Products\ProductImport\getState
getState()
Commercetools\Import\Models\Products\ProductImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Products\ProductImport\getTaxCategory
getTaxCategory()
Commercetools\Import\Models\Products\ProductImport\getMetaTitle
getMetaTitle()
Commercetools\Import\Models\Products\ProductImport\FIELD_META_KEYWORDS
const FIELD_META_KEYWORDS
Definition:
ProductImport.php:29
Commercetools\Import\Models\Products\ProductImport\getMetaDescription
getMetaDescription()
Commercetools\Import\Models\Products\ProductImport\setState
setState(?StateKeyReference $state)
Commercetools\Import\Models\Products\ProductImport\setDescription
setDescription(?LocalizedString $description)
Commercetools\Import\Models\Products\ProductImport\FIELD_CATEGORIES
const FIELD_CATEGORIES
Definition:
ProductImport.php:26
Commercetools\Import\Models\Products\ProductImport\getName
getName()
Commercetools\Import\Models\Products\ProductImport\FIELD_PRODUCT_TYPE
const FIELD_PRODUCT_TYPE
Definition:
ProductImport.php:23
Commercetools\Import\Models\Products\ProductImport\setProductType
setProductType(?ProductTypeKeyReference $productType)
Commercetools\Import\Models\Products\ProductImport\getSearchKeywords
getSearchKeywords()
Commercetools\Import\Models\Products\ProductImport\FIELD_META_DESCRIPTION
const FIELD_META_DESCRIPTION
Definition:
ProductImport.php:28
Commercetools\Import\Models\Products\ProductImport\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
ProductImport.php:25
Commercetools\Import\Models\Products\ProductImport\getMetaKeywords
getMetaKeywords()
Commercetools\Import\Models\Products\ProductImport\setMetaKeywords
setMetaKeywords(?LocalizedString $metaKeywords)
Commercetools\Import\Models\Products\ProductImport\setName
setName(?LocalizedString $name)
Commercetools\Import\Models\Products\ProductImport\FIELD_PRICE_MODE
const FIELD_PRICE_MODE
Definition:
ProductImport.php:34
Commercetools\Import\Models\Products\ProductImport\setMetaTitle
setMetaTitle(?LocalizedString $metaTitle)
Commercetools\Import\Models\Products\ProductImport\getPublish
getPublish()
Commercetools\Import\Models\Products\SearchKeywords
Definition:
SearchKeywords.php:15
Commercetools\Import\Models\Products
Definition:
CustomTokenizer.php:9
Generated by
1.9.1