commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetDiscountedPriceChange.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
SetDiscountedPriceChange
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_PRICE_ID
=
'priceId'
;
23
28
public
function
getType
();
29
34
public
function
getChange
();
35
42
public
function
getPreviousValue
();
43
50
public
function
getNextValue
();
51
61
public
function
getCatalogData
();
62
69
public
function
getVariant
();
70
77
public
function
getPriceId
();
78
82
public
function
setChange
(?
string
$change): void;
83
87
public
function
setPreviousValue
(?
Price
$previousValue): void;
88
92
public
function
setNextValue
(?
Price
$nextValue): void;
93
97
public
function
setCatalogData
(?
string
$catalogData): void;
98
102
public
function
setVariant
(?
string
$variant): void;
103
107
public
function
setPriceId
(?
string
$priceId): void;
108
}
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\SetDiscountedPriceChange
Definition:
SetDiscountedPriceChange.php:16
Commercetools\History\Models\Change\SetDiscountedPriceChange\getVariant
getVariant()
Commercetools\History\Models\Change\SetDiscountedPriceChange\FIELD_PRICE_ID
const FIELD_PRICE_ID
Definition:
SetDiscountedPriceChange.php:22
Commercetools\History\Models\Change\SetDiscountedPriceChange\FIELD_CATALOG_DATA
const FIELD_CATALOG_DATA
Definition:
SetDiscountedPriceChange.php:20
Commercetools\History\Models\Change\SetDiscountedPriceChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetDiscountedPriceChange.php:19
Commercetools\History\Models\Change\SetDiscountedPriceChange\FIELD_VARIANT
const FIELD_VARIANT
Definition:
SetDiscountedPriceChange.php:21
Commercetools\History\Models\Change\SetDiscountedPriceChange\getPriceId
getPriceId()
Commercetools\History\Models\Change\SetDiscountedPriceChange\getType
getType()
Commercetools\History\Models\Change\SetDiscountedPriceChange\setNextValue
setNextValue(?Price $nextValue)
Commercetools\History\Models\Change\SetDiscountedPriceChange\setPreviousValue
setPreviousValue(?Price $previousValue)
Commercetools\History\Models\Change\SetDiscountedPriceChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetDiscountedPriceChange\getChange
getChange()
Commercetools\History\Models\Change\SetDiscountedPriceChange\setVariant
setVariant(?string $variant)
Commercetools\History\Models\Change\SetDiscountedPriceChange\getCatalogData
getCatalogData()
Commercetools\History\Models\Change\SetDiscountedPriceChange\setCatalogData
setCatalogData(?string $catalogData)
Commercetools\History\Models\Change\SetDiscountedPriceChange\setPriceId
setPriceId(?string $priceId)
Commercetools\History\Models\Change\SetDiscountedPriceChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetDiscountedPriceChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetDiscountedPriceChange.php:18
Commercetools\History\Models\Change\SetDiscountedPriceChange\getNextValue
getNextValue()
Commercetools\History\Models\Common\Price
Definition:
Price.php:15
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1