Class CartDiscountCustomLineItemsTargetImpl
java.lang.Object
com.commercetools.api.models.cart_discount.CartDiscountCustomLineItemsTargetImpl
- All Implemented Interfaces:
CartDiscountCustomLineItemsTarget
,CartDiscountTarget
,io.vrap.rmf.base.client.ModelBase
public class CartDiscountCustomLineItemsTargetImpl
extends Object
implements CartDiscountCustomLineItemsTarget, io.vrap.rmf.base.client.ModelBase
Discount is applied to CustomLineItems matching the predicate
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.cart_discount.CartDiscountCustomLineItemsTarget
CUSTOM_LINE_ITEMS
-
Constructor Summary
-
Method Summary
Methods inherited from interface com.commercetools.api.models.cart_discount.CartDiscountCustomLineItemsTarget
withCartDiscountCustomLineItemsTarget
Methods inherited from interface com.commercetools.api.models.cart_discount.CartDiscountTarget
withCartDiscountTarget
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CartDiscountCustomLineItemsTargetImpl
public CartDiscountCustomLineItemsTargetImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceCartDiscountTarget
- Returns:
- type
-
getPredicate
Valid CustomLineItem target predicate.
- Specified by:
getPredicate
in interfaceCartDiscountCustomLineItemsTarget
- Returns:
- predicate
-
setPredicate
Description copied from interface:CartDiscountCustomLineItemsTarget
Valid CustomLineItem target predicate.
- Specified by:
setPredicate
in interfaceCartDiscountCustomLineItemsTarget
- Parameters:
predicate
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-