commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
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
27
public
function
getType
();
28
33
public
function
getChange
();
34
41
public
function
getPreviousValue
();
42
49
public
function
getNextValue
();
50
60
public
function
getCatalogData
();
61
68
public
function
getVariant
();
69
73
public
function
setChange
(?
string
$change): void;
74
78
public
function
setPreviousValue
(?
PriceCollection
$previousValue): void;
79
83
public
function
setNextValue
(?
PriceCollection
$nextValue): void;
84
88
public
function
setCatalogData
(?
string
$catalogData): void;
89
93
public
function
setVariant
(?
string
$variant): void;
94
}
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\setNextValue
setNextValue(?PriceCollection $nextValue)
Commercetools\History\Models\Change\SetPricesChange\setCatalogData
setCatalogData(?string $catalogData)
Commercetools\History\Models\Change\SetPricesChange\setVariant
setVariant(?string $variant)
Commercetools\History\Models\Change\SetPricesChange\getNextValue
getNextValue()
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\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.1