commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
ChangePriceChange.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\Price
;
14
15
interface
ChangePriceChange
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_PRICE_ID
=
'priceId'
;
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
getPriceId
();
69
73
public
function
setChange
(?
string
$change): void;
74
78
public
function
setPreviousValue
(?
Price
$previousValue): void;
79
83
public
function
setNextValue
(?
Price
$nextValue): void;
84
88
public
function
setCatalogData
(?
string
$catalogData): void;
89
93
public
function
setPriceId
(?
string
$priceId): void;
94
}
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\ChangePriceChange
Definition:
ChangePriceChange.php:16
Commercetools\History\Models\Change\ChangePriceChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\ChangePriceChange\FIELD_PRICE_ID
const FIELD_PRICE_ID
Definition:
ChangePriceChange.php:21
Commercetools\History\Models\Change\ChangePriceChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
ChangePriceChange.php:19
Commercetools\History\Models\Change\ChangePriceChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\ChangePriceChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
ChangePriceChange.php:18
Commercetools\History\Models\Change\ChangePriceChange\getType
getType()
Commercetools\History\Models\Change\ChangePriceChange\setNextValue
setNextValue(?Price $nextValue)
Commercetools\History\Models\Change\ChangePriceChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\ChangePriceChange\setCatalogData
setCatalogData(?string $catalogData)
Commercetools\History\Models\Change\ChangePriceChange\getCatalogData
getCatalogData()
Commercetools\History\Models\Change\ChangePriceChange\getPriceId
getPriceId()
Commercetools\History\Models\Change\ChangePriceChange\getChange
getChange()
Commercetools\History\Models\Change\ChangePriceChange\FIELD_CATALOG_DATA
const FIELD_CATALOG_DATA
Definition:
ChangePriceChange.php:20
Commercetools\History\Models\Change\ChangePriceChange\setPreviousValue
setPreviousValue(?Price $previousValue)
Commercetools\History\Models\Change\ChangePriceChange\setPriceId
setPriceId(?string $priceId)
Commercetools\History\Models\Common\Price
Definition:
Price.php:15
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1