Class MyLineItemDraft
- 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\MyLineItemDraft
Namespace: Commercetools\Core\Model\Cart
API documentation: https://docs.commercetools.com/http-api-projects-me-carts.html#mylineitemdraft
Located at Core/Model/Cart/MyLineItemDraft.php
API documentation: https://docs.commercetools.com/http-api-projects-me-carts.html#mylineitemdraft
Located at Core/Model/Cart/MyLineItemDraft.php
Methods summary
public static
|
#
ofProductId( string $productId,
|
public static
|
|
public static
|
#
ofProductIdVariantIdAndQuantity( string $productId, integer $variantId, integer $quantity,
|
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
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setDistributionChannel(
|
public
|
|
public
|
|
public
|
|
public
|
#
setShippingDetails(
|
public
string
|
|
public
|
|
public
DateTime
|
|
public
|