commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductTailoring
ProductVariantTailoring.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductTailoring
;
10
11
use
Commercetools\Api\Models\Common\AssetCollection
;
12
use
Commercetools\Api\Models\Common\ImageCollection
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
ProductVariantTailoring
extends
JsonObject
17
{
18
public
const
FIELD_ID
=
'id'
;
19
public
const
FIELD_IMAGES
=
'images'
;
20
public
const
FIELD_ASSETS
=
'assets'
;
21
public
const
FIELD_ATTRIBUTES
=
'attributes'
;
22
29
public
function
getId
();
30
38
public
function
getImages
();
39
47
public
function
getAssets
();
48
60
public
function
getAttributes
();
61
65
public
function
setId
(?
int
$id): void;
66
70
public
function
setImages
(?
ImageCollection
$images): void;
71
75
public
function
setAssets
(?
AssetCollection
$assets): void;
76
80
public
function
setAttributes
(?
ProductTailoringAttributeCollection
$attributes): void;
81
}
Commercetools\Api\Models\Common\AssetCollection
Definition:
AssetCollection.php:22
Commercetools\Api\Models\Common\ImageCollection
Definition:
ImageCollection.php:22
Commercetools\Api\Models\ProductTailoring\ProductTailoringAttributeCollection
Definition:
ProductTailoringAttributeCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring
Definition:
ProductVariantTailoring.php:17
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\FIELD_ATTRIBUTES
const FIELD_ATTRIBUTES
Definition:
ProductVariantTailoring.php:21
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\FIELD_ASSETS
const FIELD_ASSETS
Definition:
ProductVariantTailoring.php:20
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\setAttributes
setAttributes(?ProductTailoringAttributeCollection $attributes)
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\FIELD_ID
const FIELD_ID
Definition:
ProductVariantTailoring.php:18
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\setAssets
setAssets(?AssetCollection $assets)
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\setImages
setImages(?ImageCollection $images)
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\getAttributes
getAttributes()
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\setId
setId(?int $id)
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\getId
getId()
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\FIELD_IMAGES
const FIELD_IMAGES
Definition:
ProductVariantTailoring.php:19
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\getAssets
getAssets()
Commercetools\Api\Models\ProductTailoring\ProductVariantTailoring\getImages
getImages()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductTailoring
Definition:
ProductTailoring.php:9
Generated by
1.9.1