commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Me
MyCartRemoveLineItemAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Me
;
10
11
use
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice
;
12
use
Commercetools\Api\Models\Cart\ItemShippingDetailsDraft
;
13
use
Commercetools\Api\Models\Common\Money
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
17
interface
MyCartRemoveLineItemAction
extends
MyCartUpdateAction
18
{
19
public
const
FIELD_LINE_ITEM_ID
=
'lineItemId'
;
20
public
const
FIELD_LINE_ITEM_KEY
=
'lineItemKey'
;
21
public
const
FIELD_QUANTITY
=
'quantity'
;
22
public
const
FIELD_EXTERNAL_PRICE
=
'externalPrice'
;
23
public
const
FIELD_EXTERNAL_TOTAL_PRICE
=
'externalTotalPrice'
;
24
public
const
FIELD_SHIPPING_DETAILS_TO_REMOVE
=
'shippingDetailsToRemove'
;
25
32
public
function
getLineItemId
();
33
40
public
function
getLineItemKey
();
41
49
public
function
getQuantity
();
50
57
public
function
getExternalPrice
();
58
65
public
function
getExternalTotalPrice
();
66
73
public
function
getShippingDetailsToRemove
();
74
78
public
function
setLineItemId
(?
string
$lineItemId): void;
79
83
public
function
setLineItemKey
(?
string
$lineItemKey): void;
84
88
public
function
setQuantity
(?
int
$quantity): void;
89
93
public
function
setExternalPrice
(?
Money
$externalPrice): void;
94
98
public
function
setExternalTotalPrice
(?
ExternalLineItemTotalPrice
$externalTotalPrice): void;
99
103
public
function
setShippingDetailsToRemove
(?
ItemShippingDetailsDraft
$shippingDetailsToRemove): void;
104
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
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\Api\Models\Me\MyCartRemoveLineItemAction
Definition:
MyCartRemoveLineItemAction.php:18
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\getQuantity
getQuantity()
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\setQuantity
setQuantity(?int $quantity)
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\setExternalPrice
setExternalPrice(?Money $externalPrice)
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\FIELD_SHIPPING_DETAILS_TO_REMOVE
const FIELD_SHIPPING_DETAILS_TO_REMOVE
Definition:
MyCartRemoveLineItemAction.php:24
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\getShippingDetailsToRemove
getShippingDetailsToRemove()
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\setLineItemKey
setLineItemKey(?string $lineItemKey)
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\setExternalTotalPrice
setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice)
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\getExternalTotalPrice
getExternalTotalPrice()
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\FIELD_LINE_ITEM_KEY
const FIELD_LINE_ITEM_KEY
Definition:
MyCartRemoveLineItemAction.php:20
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\setShippingDetailsToRemove
setShippingDetailsToRemove(?ItemShippingDetailsDraft $shippingDetailsToRemove)
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\FIELD_EXTERNAL_TOTAL_PRICE
const FIELD_EXTERNAL_TOTAL_PRICE
Definition:
MyCartRemoveLineItemAction.php:23
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\FIELD_EXTERNAL_PRICE
const FIELD_EXTERNAL_PRICE
Definition:
MyCartRemoveLineItemAction.php:22
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
MyCartRemoveLineItemAction.php:19
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\getLineItemId
getLineItemId()
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\getExternalPrice
getExternalPrice()
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\getLineItemKey
getLineItemKey()
Commercetools\Api\Models\Me\MyCartRemoveLineItemAction\FIELD_QUANTITY
const FIELD_QUANTITY
Definition:
MyCartRemoveLineItemAction.php:21
Commercetools\Api\Models\Me\MyCartUpdateAction
Definition:
MyCartUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Me
Definition:
MyBusinessUnitAddAddressAction.php:9
Generated by
1.9.1