Class LineItem
- Commercetools\Core\Model\Common\AbstractJsonDeserializeObject implements Commercetools\Core\Model\Common\JsonDeserializeInterface, Commercetools\Core\Model\Common\ObjectTreeInterface uses Commercetools\Core\Model\Common\ObjectTreeTrait
- Commercetools\Core\Model\Common\JsonObject implements JsonSerializable uses Commercetools\Core\Model\Common\ContextTrait
- Commercetools\Core\Model\Cart\LineItem
Namespace: Commercetools\Core\Model\Cart
API documentation: https://docs.commercetools.com/http-api-projects-carts.html#lineitem
Located at Core/Model/Cart/LineItem.php
API documentation: https://docs.commercetools.com/http-api-projects-carts.html#lineitem
Located at Core/Model/Cart/LineItem.php
Methods summary
public
|
#
setDiscountedPricePerQuantity(
|
public
|
Methods inherited from Commercetools\Core\Model\Common\JsonObject
Methods inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject
Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Methods inherited from Commercetools\Core\Model\Common\ObjectTreeInterface
Methods used from Commercetools\Core\Model\Common\ContextTrait
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Methods used from Commercetools\Core\Model\Common\ObjectTreeTrait
Magic methods summary
Constants summary
string |
PRICE_MODE_PLATFORM
|
#
'Platform'
|
string |
PRICE_MODE_EXTERNAL_TOTAL
|
#
'ExternalTotal'
|
string |
PRICE_MODE_EXTERNAL_PRICE
|
#
'ExternalPrice'
|
string |
LINE_ITEM_MODE_STANDARD
|
#
'Standard'
|
string |
LINE_ITEM_MODE_GIFT_LINE_ITEM
|
#
'GiftLineItem'
|