Class StagedOrderRemoveDiscountCodeActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderRemoveDiscountCodeActionImpl
- All Implemented Interfaces:
StagedOrderRemoveDiscountCodeAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderRemoveDiscountCodeActionImpl
extends Object
implements StagedOrderRemoveDiscountCodeAction, io.vrap.rmf.base.client.ModelBase
StagedOrderRemoveDiscountCodeAction
-
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.order_edit.StagedOrderRemoveDiscountCodeAction
REMOVE_DISCOUNT_CODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Discount Code to remove from the Cart.int
hashCode()
void
setDiscountCode
(DiscountCodeReference discountCode) Discount Code to remove from the Cart.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderRemoveDiscountCodeAction
withStagedOrderRemoveDiscountCodeAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderRemoveDiscountCodeActionImpl
public StagedOrderRemoveDiscountCodeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getDiscountCode
Discount Code to remove from the Cart.
- Specified by:
getDiscountCode
in interfaceStagedOrderRemoveDiscountCodeAction
- Returns:
- discountCode
-
setDiscountCode
Description copied from interface:StagedOrderRemoveDiscountCodeAction
Discount Code to remove from the Cart.
- Specified by:
setDiscountCode
in interfaceStagedOrderRemoveDiscountCodeAction
- Parameters:
discountCode
- value to be set
-
equals
-
hashCode
public int hashCode()
-