commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartSetLineItemPriceAction.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
CartSetLineItemPriceAction
extends
CartUpdateAction
16
{
17
public
const
FIELD_LINE_ITEM_ID
=
'lineItemId'
;
18
public
const
FIELD_LINE_ITEM_KEY
=
'lineItemKey'
;
19
public
const
FIELD_EXTERNAL_PRICE
=
'externalPrice'
;
20
27
public
function
getLineItemId
();
28
35
public
function
getLineItemKey
();
36
44
public
function
getExternalPrice
();
45
49
public
function
setLineItemId
(?
string
$lineItemId): void;
50
54
public
function
setLineItemKey
(?
string
$lineItemKey): void;
55
59
public
function
setExternalPrice
(?
Money
$externalPrice): void;
60
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction
Definition:
CartSetLineItemPriceAction.php:16
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\FIELD_EXTERNAL_PRICE
const FIELD_EXTERNAL_PRICE
Definition:
CartSetLineItemPriceAction.php:19
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\getLineItemId
getLineItemId()
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\getLineItemKey
getLineItemKey()
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\setExternalPrice
setExternalPrice(?Money $externalPrice)
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\setLineItemKey
setLineItemKey(?string $lineItemKey)
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\FIELD_LINE_ITEM_KEY
const FIELD_LINE_ITEM_KEY
Definition:
CartSetLineItemPriceAction.php:18
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\getExternalPrice
getExternalPrice()
Commercetools\Api\Models\Cart\CartSetLineItemPriceAction\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
CartSetLineItemPriceAction.php:17
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.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