Class CartDiscountChangeTargetActionImpl
java.lang.Object
com.commercetools.api.models.cart_discount.CartDiscountChangeTargetActionImpl
- All Implemented Interfaces:
CartDiscountChangeTargetAction
,CartDiscountUpdateAction
,ResourceUpdateAction<CartDiscountUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartDiscountChangeTargetActionImpl
extends Object
implements CartDiscountChangeTargetAction, io.vrap.rmf.base.client.ModelBase
CartDiscountChangeTargetAction
-
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.CartDiscountChangeTargetAction
CHANGE_TARGET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
New value to set.int
hashCode()
void
setTarget
(CartDiscountTarget target) New value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart_discount.CartDiscountChangeTargetAction
withCartDiscountChangeTargetAction
Methods inherited from interface com.commercetools.api.models.cart_discount.CartDiscountUpdateAction
withCartDiscountUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartDiscountChangeTargetActionImpl
public CartDiscountChangeTargetActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartDiscountUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartDiscountUpdateAction>
- Returns:
- action
-
getTarget
New value to set.
- Specified by:
getTarget
in interfaceCartDiscountChangeTargetAction
- Returns:
- target
-
setTarget
Description copied from interface:CartDiscountChangeTargetAction
New value to set.
- Specified by:
setTarget
in interfaceCartDiscountChangeTargetAction
- Parameters:
target
- value to be set
-
equals
-
hashCode
-