Class OrderDiscountCodeStateSetMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.OrderDiscountCodeStateSetMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload,MessagePayloadMixin,OrderDiscountCodeStateSetMessagePayload,OrderMessagePayload,io.vrap.rmf.base.client.ModelBase
public class OrderDiscountCodeStateSetMessagePayloadImpl
extends Object
implements OrderDiscountCodeStateSetMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after the DiscountCodeState changes due to a recalculation.
-
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.message.OrderDiscountCodeStateSetMessagePayload
ORDER_DISCOUNT_CODE_STATE_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleanDiscountCode that changed due to the recalculation.DiscountCodeState before the recalculation.getState()DiscountCodeState after the recalculation.getType()inthashCode()voidsetDiscountCode(DiscountCodeReference discountCode) DiscountCode that changed due to the recalculation.voidsetOldState(DiscountCodeState oldState) DiscountCodeState before the recalculation.voidsetState(DiscountCodeState state) DiscountCodeState after the recalculation.toString()Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
asMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.api.models.message.OrderDiscountCodeStateSetMessagePayload
withOrderDiscountCodeStateSetMessagePayloadMethods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Constructor Details
-
OrderDiscountCodeStateSetMessagePayloadImpl
public OrderDiscountCodeStateSetMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceMessagePayload- Returns:
- type
-
getDiscountCode
DiscountCode that changed due to the recalculation.
- Specified by:
getDiscountCodein interfaceOrderDiscountCodeStateSetMessagePayload- Returns:
- discountCode
-
getState
DiscountCodeState after the recalculation.
- Specified by:
getStatein interfaceOrderDiscountCodeStateSetMessagePayload- Returns:
- state
-
getOldState
DiscountCodeState before the recalculation.
- Specified by:
getOldStatein interfaceOrderDiscountCodeStateSetMessagePayload- Returns:
- oldState
-
setDiscountCode
Description copied from interface:OrderDiscountCodeStateSetMessagePayloadDiscountCode that changed due to the recalculation.
- Specified by:
setDiscountCodein interfaceOrderDiscountCodeStateSetMessagePayload- Parameters:
discountCode- value to be set
-
setState
Description copied from interface:OrderDiscountCodeStateSetMessagePayloadDiscountCodeState after the recalculation.
- Specified by:
setStatein interfaceOrderDiscountCodeStateSetMessagePayload- Parameters:
state- value to be set
-
setOldState
Description copied from interface:OrderDiscountCodeStateSetMessagePayloadDiscountCodeState before the recalculation.
- Specified by:
setOldStatein interfaceOrderDiscountCodeStateSetMessagePayload- Parameters:
oldState- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderDiscountCodeStateSetMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-