commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartRemoveLineItemAction.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
CartRemoveLineItemAction
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
public
const
FIELD_SHIPPING_DETAILS_TO_REMOVE
=
'shippingDetailsToRemove'
;
23
30
public
function
getLineItemId
();
31
38
public
function
getLineItemKey
();
39
47
public
function
getQuantity
();
48
55
public
function
getExternalPrice
();
56
63
public
function
getExternalTotalPrice
();
64
71
public
function
getShippingDetailsToRemove
();
72
76
public
function
setLineItemId
(?
string
$lineItemId): void;
77
81
public
function
setLineItemKey
(?
string
$lineItemKey): void;
82
86
public
function
setQuantity
(?
int
$quantity): void;
87
91
public
function
setExternalPrice
(?
Money
$externalPrice): void;
92
96
public
function
setExternalTotalPrice
(?
ExternalLineItemTotalPrice
$externalTotalPrice): void;
97
101
public
function
setShippingDetailsToRemove
(?
ItemShippingDetailsDraft
$shippingDetailsToRemove): void;
102
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartRemoveLineItemAction
Definition:
CartRemoveLineItemAction.php:16
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\setLineItemKey
setLineItemKey(?string $lineItemKey)
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\FIELD_SHIPPING_DETAILS_TO_REMOVE
const FIELD_SHIPPING_DETAILS_TO_REMOVE
Definition:
CartRemoveLineItemAction.php:22
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\getQuantity
getQuantity()
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\setShippingDetailsToRemove
setShippingDetailsToRemove(?ItemShippingDetailsDraft $shippingDetailsToRemove)
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\setExternalTotalPrice
setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice)
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\getShippingDetailsToRemove
getShippingDetailsToRemove()
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\FIELD_EXTERNAL_PRICE
const FIELD_EXTERNAL_PRICE
Definition:
CartRemoveLineItemAction.php:20
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\getLineItemId
getLineItemId()
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\setQuantity
setQuantity(?int $quantity)
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\setExternalPrice
setExternalPrice(?Money $externalPrice)
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\getExternalPrice
getExternalPrice()
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\FIELD_EXTERNAL_TOTAL_PRICE
const FIELD_EXTERNAL_TOTAL_PRICE
Definition:
CartRemoveLineItemAction.php:21
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\getExternalTotalPrice
getExternalTotalPrice()
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\getLineItemKey
getLineItemKey()
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\FIELD_LINE_ITEM_KEY
const FIELD_LINE_ITEM_KEY
Definition:
CartRemoveLineItemAction.php:18
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
CartRemoveLineItemAction.php:17
Commercetools\Api\Models\Cart\CartRemoveLineItemAction\FIELD_QUANTITY
const FIELD_QUANTITY
Definition:
CartRemoveLineItemAction.php:19
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice
Definition:
ExternalLineItemTotalPrice.php:16
Commercetools\Api\Models\Cart\ItemShippingDetailsDraft
Definition:
ItemShippingDetailsDraft.php:15
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