commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
AddProductChange.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\Change
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\History\Models\Common\ProductVariantSelection
;
14
use
Commercetools\History\Models\Common\Reference
;
15
16
interface
AddProductChange
extends
Change
17
{
18
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_VARIANT_SELECTION
=
'variantSelection'
;
21
26
public
function
getType
();
27
32
public
function
getChange
();
33
40
public
function
getNextValue
();
41
48
public
function
getVariantSelection
();
49
53
public
function
setChange
(?
string
$change): void;
54
58
public
function
setNextValue
(?
Reference
$nextValue): void;
59
63
public
function
setVariantSelection
(?
ProductVariantSelection
$variantSelection): void;
64
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Change\AddProductChange
Definition:
AddProductChange.php:17
Commercetools\History\Models\Change\AddProductChange\setNextValue
setNextValue(?Reference $nextValue)
Commercetools\History\Models\Change\AddProductChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\AddProductChange\getChange
getChange()
Commercetools\History\Models\Change\AddProductChange\FIELD_VARIANT_SELECTION
const FIELD_VARIANT_SELECTION
Definition:
AddProductChange.php:20
Commercetools\History\Models\Change\AddProductChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
AddProductChange.php:19
Commercetools\History\Models\Change\AddProductChange\setVariantSelection
setVariantSelection(?ProductVariantSelection $variantSelection)
Commercetools\History\Models\Change\AddProductChange\getVariantSelection
getVariantSelection()
Commercetools\History\Models\Change\AddProductChange\getType
getType()
Commercetools\History\Models\Change\AddProductChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\Change
Definition:
Change.php:15
Commercetools\History\Models\Common\ProductVariantSelection
Definition:
ProductVariantSelection.php:15
Commercetools\History\Models\Common\Reference
Definition:
Reference.php:15
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1