commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
ChangeLineItemQuantityChange.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\LocalizedString
;
14
15
interface
ChangeLineItemQuantityChange
extends
Change
16
{
17
18
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_LINE_ITEM
=
'lineItem'
;
21
public
const
FIELD_LINE_ITEM_ID
=
'lineItemId'
;
22
27
public
function
getType
();
28
33
public
function
getChange
();
34
41
public
function
getPreviousValue
();
42
49
public
function
getNextValue
();
50
57
public
function
getLineItem
();
58
65
public
function
getLineItemId
();
66
70
public
function
setChange
(?
string
$change): void;
71
75
public
function
setPreviousValue
(?
int
$previousValue): void;
76
80
public
function
setNextValue
(?
int
$nextValue): void;
81
85
public
function
setLineItem
(?
LocalizedString
$lineItem): void;
86
90
public
function
setLineItemId
(?
string
$lineItemId): void;
91
}
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\ChangeLineItemQuantityChange
Definition:
ChangeLineItemQuantityChange.php:16
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
ChangeLineItemQuantityChange.php:19
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\setPreviousValue
setPreviousValue(?int $previousValue)
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\setLineItem
setLineItem(?LocalizedString $lineItem)
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
ChangeLineItemQuantityChange.php:18
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\getChange
getChange()
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\getLineItem
getLineItem()
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
ChangeLineItemQuantityChange.php:21
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\FIELD_LINE_ITEM
const FIELD_LINE_ITEM
Definition:
ChangeLineItemQuantityChange.php:20
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\getLineItemId
getLineItemId()
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\getType
getType()
Commercetools\History\Models\Change\ChangeLineItemQuantityChange\setNextValue
setNextValue(?int $nextValue)
Commercetools\History\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1