commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartChangeLineItemQuantityAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\Common\Money
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartChangeLineItemQuantityAction
extends
CartUpdateAction
16
{
17
public
const
FIELD_LINE_ITEM_ID
=
'lineItemId'
;
18
public
const
FIELD_LINE_ITEM_KEY
=
'lineItemKey'
;
19
public
const
FIELD_QUANTITY
=
'quantity'
;
20
public
const
FIELD_EXTERNAL_PRICE
=
'externalPrice'
;
21
public
const
FIELD_EXTERNAL_TOTAL_PRICE
=
'externalTotalPrice'
;
22
29
public
function
getLineItemId
();
30
37
public
function
getLineItemKey
();
38
46
public
function
getQuantity
();
47
56
public
function
getExternalPrice
();
57
65
public
function
getExternalTotalPrice
();
66
70
public
function
setLineItemId
(?
string
$lineItemId): void;
71
75
public
function
setLineItemKey
(?
string
$lineItemKey): void;
76
80
public
function
setQuantity
(?
int
$quantity): void;
81
85
public
function
setExternalPrice
(?
Money
$externalPrice): void;
86
90
public
function
setExternalTotalPrice
(?
ExternalLineItemTotalPrice
$externalTotalPrice): void;
91
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction
Definition:
CartChangeLineItemQuantityAction.php:16
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\setExternalTotalPrice
setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice)
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\getExternalTotalPrice
getExternalTotalPrice()
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\FIELD_QUANTITY
const FIELD_QUANTITY
Definition:
CartChangeLineItemQuantityAction.php:19
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\getQuantity
getQuantity()
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\getLineItemKey
getLineItemKey()
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\FIELD_LINE_ITEM_KEY
const FIELD_LINE_ITEM_KEY
Definition:
CartChangeLineItemQuantityAction.php:18
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\getLineItemId
getLineItemId()
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
CartChangeLineItemQuantityAction.php:17
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\setExternalPrice
setExternalPrice(?Money $externalPrice)
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\setQuantity
setQuantity(?int $quantity)
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\setLineItemKey
setLineItemKey(?string $lineItemKey)
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\FIELD_EXTERNAL_TOTAL_PRICE
const FIELD_EXTERNAL_TOTAL_PRICE
Definition:
CartChangeLineItemQuantityAction.php:21
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\getExternalPrice
getExternalPrice()
Commercetools\Api\Models\Cart\CartChangeLineItemQuantityAction\FIELD_EXTERNAL_PRICE
const FIELD_EXTERNAL_PRICE
Definition:
CartChangeLineItemQuantityAction.php:20
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice
Definition:
ExternalLineItemTotalPrice.php:16
Commercetools\Api\Models\Common\Money
Definition:
Money.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1