commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
OrderLineItemAddedMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Cart\LineItem
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
OrderLineItemAddedMessage
extends
OrderMessage
16
{
17
public
const
FIELD_LINE_ITEM
=
'lineItem'
;
18
public
const
FIELD_ADDED_QUANTITY
=
'addedQuantity'
;
19
26
public
function
getLineItem
();
27
34
public
function
getAddedQuantity
();
35
39
public
function
setLineItem
(?
LineItem
$lineItem): void;
40
44
public
function
setAddedQuantity
(?
int
$addedQuantity): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\LineItem
Definition:
LineItem.php:25
Commercetools\Api\Models\Message\OrderLineItemAddedMessage
Definition:
OrderLineItemAddedMessage.php:16
Commercetools\Api\Models\Message\OrderLineItemAddedMessage\FIELD_LINE_ITEM
const FIELD_LINE_ITEM
Definition:
OrderLineItemAddedMessage.php:17
Commercetools\Api\Models\Message\OrderLineItemAddedMessage\setLineItem
setLineItem(?LineItem $lineItem)
Commercetools\Api\Models\Message\OrderLineItemAddedMessage\FIELD_ADDED_QUANTITY
const FIELD_ADDED_QUANTITY
Definition:
OrderLineItemAddedMessage.php:18
Commercetools\Api\Models\Message\OrderLineItemAddedMessage\getLineItem
getLineItem()
Commercetools\Api\Models\Message\OrderLineItemAddedMessage\getAddedQuantity
getAddedQuantity()
Commercetools\Api\Models\Message\OrderLineItemAddedMessage\setAddedQuantity
setAddedQuantity(?int $addedQuantity)
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