commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ProductVariantAddedMessage.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
ProductVariantAddedMessage
extends
Message
16
{
17
public
const
FIELD_VARIANT
=
'variant'
;
18
public
const
FIELD_STAGED
=
'staged'
;
19
26
public
function
getVariant
();
27
34
public
function
getStaged
();
35
39
public
function
setVariant
(?
ProductVariant
$variant): void;
40
44
public
function
setStaged
(?
bool
$staged): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\Message
Definition:
Message.php:20
Commercetools\Api\Models\Message\ProductVariantAddedMessage
Definition:
ProductVariantAddedMessage.php:16
Commercetools\Api\Models\Message\ProductVariantAddedMessage\setVariant
setVariant(?ProductVariant $variant)
Commercetools\Api\Models\Message\ProductVariantAddedMessage\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Message\ProductVariantAddedMessage\FIELD_VARIANT
const FIELD_VARIANT
Definition:
ProductVariantAddedMessage.php:17
Commercetools\Api\Models\Message\ProductVariantAddedMessage\getStaged
getStaged()
Commercetools\Api\Models\Message\ProductVariantAddedMessage\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductVariantAddedMessage.php:18
Commercetools\Api\Models\Message\ProductVariantAddedMessage\getVariant
getVariant()
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