Class CartDiscountDraft
- 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\CartDiscount\CartDiscountDraft
Namespace: Commercetools\Core\Model\CartDiscount
API documentation: https://docs.commercetools.com/http-api-projects-cartDiscounts.html#cartdiscount
Located at Core/Model/CartDiscount/CartDiscountDraft.php
API documentation: https://docs.commercetools.com/http-api-projects-cartDiscounts.html#cartdiscount
Located at Core/Model/CartDiscount/CartDiscountDraft.php
Methods summary
public static
|
#
ofNameValuePredicateTargetOrderActiveAndDiscountCode(
|
public static
|
#
ofNameValuePredicateOrderActiveAndDiscountCode(
|
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 |
NAME
|
#
'name'
|
string |
DESCRIPTION
|
#
'description'
|
string |
VALUE
|
#
'value'
|
string |
CART_PREDICATE
|
#
'cartPredicate'
|
string |
TARGET
|
#
'target'
|
string |
SORT_ORDER
|
#
'sortOrder'
|
string |
IS_ACTIVE
|
#
'isActive'
|
string |
VALID_FROM
|
#
'validFrom'
|
string |
VALID_UNTIL
|
#
'validUntil'
|
string |
REQUIRES_DISCOUNT_CODE
|
#
'requiresDiscountCode'
|
string |
STACKING_MODE
|
#
'stackingMode'
|
string |
CUSTOM
|
#
'custom'
|
string |
KEY
|
#
'key'
|