commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ProductVariantDeletedMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Product\ProductVariant
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductVariantDeletedMessage
extends
Message
16
{
17
public
const
FIELD_VARIANT
=
'variant'
;
18
public
const
FIELD_REMOVED_IMAGE_URLS
=
'removedImageUrls'
;
19
public
const
FIELD_STAGED
=
'staged'
;
20
27
public
function
getVariant
();
28
35
public
function
getRemovedImageUrls
();
36
44
public
function
getStaged
();
45
49
public
function
setVariant
(?
ProductVariant
$variant): void;
50
54
public
function
setRemovedImageUrls
(?array $removedImageUrls): void;
55
59
public
function
setStaged
(?
bool
$staged): void;
60
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\Message
Definition:
Message.php:20
Commercetools\Api\Models\Message\ProductVariantDeletedMessage
Definition:
ProductVariantDeletedMessage.php:16
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\getRemovedImageUrls
getRemovedImageUrls()
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductVariantDeletedMessage.php:19
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\getVariant
getVariant()
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\setRemovedImageUrls
setRemovedImageUrls(?array $removedImageUrls)
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\FIELD_REMOVED_IMAGE_URLS
const FIELD_REMOVED_IMAGE_URLS
Definition:
ProductVariantDeletedMessage.php:18
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\setVariant
setVariant(?ProductVariant $variant)
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\getStaged
getStaged()
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\FIELD_VARIANT
const FIELD_VARIANT
Definition:
ProductVariantDeletedMessage.php:17
Commercetools\Api\Models\Message\ProductVariantDeletedMessage\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductVariant
Definition:
ProductVariant.php:20
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1