commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
OrderLineItemRemovedMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Cart\ItemShippingDetails
;
12
use
Commercetools\Api\Models\Cart\TaxedItemPrice
;
13
use
Commercetools\Api\Models\Common\CentPrecisionMoney
;
14
use
Commercetools\Api\Models\Common\Price
;
15
use
Commercetools\Api\Models\Order\ItemStateCollection
;
16
use
Commercetools\Base\DateTimeImmutableCollection
;
17
use
Commercetools\Base\JsonObject
;
18
19
interface
OrderLineItemRemovedMessage
extends
OrderMessage
20
{
21
public
const
FIELD_LINE_ITEM_ID
=
'lineItemId'
;
22
public
const
FIELD_LINE_ITEM_KEY
=
'lineItemKey'
;
23
public
const
FIELD_REMOVED_QUANTITY
=
'removedQuantity'
;
24
public
const
FIELD_NEW_QUANTITY
=
'newQuantity'
;
25
public
const
FIELD_NEW_STATE
=
'newState'
;
26
public
const
FIELD_NEW_TOTAL_PRICE
=
'newTotalPrice'
;
27
public
const
FIELD_NEW_TAXED_PRICE
=
'newTaxedPrice'
;
28
public
const
FIELD_NEW_PRICE
=
'newPrice'
;
29
public
const
FIELD_NEW_SHIPPING_DETAIL
=
'newShippingDetail'
;
30
37
public
function
getLineItemId
();
38
45
public
function
getLineItemKey
();
46
53
public
function
getRemovedQuantity
();
54
61
public
function
getNewQuantity
();
62
69
public
function
getNewState
();
70
77
public
function
getNewTotalPrice
();
78
85
public
function
getNewTaxedPrice
();
86
93
public
function
getNewPrice
();
94
101
public
function
getNewShippingDetail
();
102
106
public
function
setLineItemId
(?
string
$lineItemId): void;
107
111
public
function
setLineItemKey
(?
string
$lineItemKey): void;
112
116
public
function
setRemovedQuantity
(?
int
$removedQuantity): void;
117
121
public
function
setNewQuantity
(?
int
$newQuantity): void;
122
126
public
function
setNewState
(?
ItemStateCollection
$newState): void;
127
131
public
function
setNewTotalPrice
(?
CentPrecisionMoney
$newTotalPrice): void;
132
136
public
function
setNewTaxedPrice
(?
TaxedItemPrice
$newTaxedPrice): void;
137
141
public
function
setNewPrice
(?
Price
$newPrice): void;
142
146
public
function
setNewShippingDetail
(?
ItemShippingDetails
$newShippingDetail): void;
147
}
Commercetools\Api\Models\Order\ItemStateCollection
Definition:
ItemStateCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\ItemShippingDetails
Definition:
ItemShippingDetails.php:15
Commercetools\Api\Models\Cart\TaxedItemPrice
Definition:
TaxedItemPrice.php:16
Commercetools\Api\Models\Common\CentPrecisionMoney
Definition:
CentPrecisionMoney.php:15
Commercetools\Api\Models\Common\Price
Definition:
Price.php:19
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage
Definition:
OrderLineItemRemovedMessage.php:20
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setLineItemKey
setLineItemKey(?string $lineItemKey)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setNewTotalPrice
setNewTotalPrice(?CentPrecisionMoney $newTotalPrice)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_NEW_STATE
const FIELD_NEW_STATE
Definition:
OrderLineItemRemovedMessage.php:25
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_NEW_TOTAL_PRICE
const FIELD_NEW_TOTAL_PRICE
Definition:
OrderLineItemRemovedMessage.php:26
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getRemovedQuantity
getRemovedQuantity()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setNewState
setNewState(?ItemStateCollection $newState)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_NEW_QUANTITY
const FIELD_NEW_QUANTITY
Definition:
OrderLineItemRemovedMessage.php:24
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getLineItemId
getLineItemId()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getNewState
getNewState()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getNewTotalPrice
getNewTotalPrice()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getNewShippingDetail
getNewShippingDetail()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_REMOVED_QUANTITY
const FIELD_REMOVED_QUANTITY
Definition:
OrderLineItemRemovedMessage.php:23
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getNewPrice
getNewPrice()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_NEW_SHIPPING_DETAIL
const FIELD_NEW_SHIPPING_DETAIL
Definition:
OrderLineItemRemovedMessage.php:29
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_NEW_TAXED_PRICE
const FIELD_NEW_TAXED_PRICE
Definition:
OrderLineItemRemovedMessage.php:27
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setNewShippingDetail
setNewShippingDetail(?ItemShippingDetails $newShippingDetail)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
OrderLineItemRemovedMessage.php:21
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getNewQuantity
getNewQuantity()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getNewTaxedPrice
getNewTaxedPrice()
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_LINE_ITEM_KEY
const FIELD_LINE_ITEM_KEY
Definition:
OrderLineItemRemovedMessage.php:22
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\FIELD_NEW_PRICE
const FIELD_NEW_PRICE
Definition:
OrderLineItemRemovedMessage.php:28
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setRemovedQuantity
setRemovedQuantity(?int $removedQuantity)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setNewTaxedPrice
setNewTaxedPrice(?TaxedItemPrice $newTaxedPrice)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setNewQuantity
setNewQuantity(?int $newQuantity)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\setNewPrice
setNewPrice(?Price $newPrice)
Commercetools\Api\Models\Message\OrderLineItemRemovedMessage\getLineItemKey
getLineItemKey()
Commercetools\Api\Models\Message\OrderMessage
Definition:
OrderMessage.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1