commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-history
src
Models
Change
SetPricesChange.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\PriceCollection
;
14
15
interface
SetPricesChange
extends
Change
16
{
17
18
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_CATALOG_DATA
=
'catalogData'
;
21
public
const
FIELD_VARIANT
=
'variant'
;
22
public
const
FIELD_ADDED_ITEMS
=
'addedItems'
;
23
public
const
FIELD_REMOVED_ITEMS
=
'removedItems'
;
24
29
public
function
getType
();
30
35
public
function
getChange
();
36
43
public
function
getPreviousValue
();
44
51
public
function
getNextValue
();
52
63
public
function
getCatalogData
();
64
72
public
function
getVariant
();
73
80
public
function
getAddedItems
();
81
88
public
function
getRemovedItems
();
89
93
public
function
setChange
(?
string
$change): void;
94
98
public
function
setPreviousValue
(?
PriceCollection
$previousValue): void;
99
103
public
function
setNextValue
(?
PriceCollection
$nextValue): void;
104
108
public
function
setCatalogData
(?
string
$catalogData): void;
109
113
public
function
setVariant
(?
string
$variant): void;
114
118
public
function
setAddedItems
(?
PriceCollection
$addedItems): void;
119
123
public
function
setRemovedItems
(?
PriceCollection
$removedItems): void;
124
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\History\Models\Common\PriceCollection
Definition
PriceCollection.php:22
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\History\Models\Change\Change
Definition
Change.php:15
Commercetools\History\Models\Change\SetPricesChange
Definition
SetPricesChange.php:16
Commercetools\History\Models\Change\SetPricesChange\FIELD_CATALOG_DATA
const FIELD_CATALOG_DATA
Definition
SetPricesChange.php:20
Commercetools\History\Models\Change\SetPricesChange\setAddedItems
setAddedItems(?PriceCollection $addedItems)
Commercetools\History\Models\Change\SetPricesChange\setNextValue
setNextValue(?PriceCollection $nextValue)
Commercetools\History\Models\Change\SetPricesChange\FIELD_REMOVED_ITEMS
const FIELD_REMOVED_ITEMS
Definition
SetPricesChange.php:23
Commercetools\History\Models\Change\SetPricesChange\setCatalogData
setCatalogData(?string $catalogData)
Commercetools\History\Models\Change\SetPricesChange\FIELD_ADDED_ITEMS
const FIELD_ADDED_ITEMS
Definition
SetPricesChange.php:22
Commercetools\History\Models\Change\SetPricesChange\setVariant
setVariant(?string $variant)
Commercetools\History\Models\Change\SetPricesChange\getAddedItems
getAddedItems()
Commercetools\History\Models\Change\SetPricesChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetPricesChange\setRemovedItems
setRemovedItems(?PriceCollection $removedItems)
Commercetools\History\Models\Change\SetPricesChange\FIELD_VARIANT
const FIELD_VARIANT
Definition
SetPricesChange.php:21
Commercetools\History\Models\Change\SetPricesChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetPricesChange\getRemovedItems
getRemovedItems()
Commercetools\History\Models\Change\SetPricesChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition
SetPricesChange.php:18
Commercetools\History\Models\Change\SetPricesChange\getType
getType()
Commercetools\History\Models\Change\SetPricesChange\getChange
getChange()
Commercetools\History\Models\Change\SetPricesChange\getCatalogData
getCatalogData()
Commercetools\History\Models\Change\SetPricesChange\getVariant
getVariant()
Commercetools\History\Models\Change\SetPricesChange\setPreviousValue
setPreviousValue(?PriceCollection $previousValue)
Commercetools\History\Models\Change\SetPricesChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition
SetPricesChange.php:19
Commercetools\History\Models\Change\SetPricesChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change
Definition
AddAddressChange.php:9
Generated by
1.9.8