commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetVariantSelectionChange.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
SetVariantSelectionChange
extends
Change
17
{
18
19
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
20
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
21
public
const
FIELD_PRODUCT
=
'product'
;
22
27
public
function
getType
();
28
33
public
function
getChange
();
34
41
public
function
getPreviousValue
();
42
49
public
function
getNextValue
();
50
57
public
function
getProduct
();
58
62
public
function
setChange
(?
string
$change): void;
63
67
public
function
setPreviousValue
(?
ProductVariantSelection
$previousValue): void;
68
72
public
function
setNextValue
(?
ProductVariantSelection
$nextValue): void;
73
77
public
function
setProduct
(?
Reference
$product): void;
78
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Change\Change
Definition:
Change.php:15
Commercetools\History\Models\Change\SetVariantSelectionChange
Definition:
SetVariantSelectionChange.php:17
Commercetools\History\Models\Change\SetVariantSelectionChange\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
SetVariantSelectionChange.php:21
Commercetools\History\Models\Change\SetVariantSelectionChange\setPreviousValue
setPreviousValue(?ProductVariantSelection $previousValue)
Commercetools\History\Models\Change\SetVariantSelectionChange\setProduct
setProduct(?Reference $product)
Commercetools\History\Models\Change\SetVariantSelectionChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetVariantSelectionChange\setNextValue
setNextValue(?ProductVariantSelection $nextValue)
Commercetools\History\Models\Change\SetVariantSelectionChange\getType
getType()
Commercetools\History\Models\Change\SetVariantSelectionChange\getProduct
getProduct()
Commercetools\History\Models\Change\SetVariantSelectionChange\getChange
getChange()
Commercetools\History\Models\Change\SetVariantSelectionChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetVariantSelectionChange.php:20
Commercetools\History\Models\Change\SetVariantSelectionChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetVariantSelectionChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetVariantSelectionChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetVariantSelectionChange.php:19
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