Class CartDiscountCreatedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.CartDiscountCreatedMessagePayloadImpl
- All Implemented Interfaces:
CartDiscountCreatedMessagePayload
,MessagePayload
,MessagePayloadMixin
,io.vrap.rmf.base.client.ModelBase
public class CartDiscountCreatedMessagePayloadImpl
extends Object
implements CartDiscountCreatedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Create CartDiscount request.
-
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.CartDiscountCreatedMessagePayload
CART_DISCOUNT_CREATED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The Cart Discount that was created.getType()
int
hashCode()
void
setCartDiscount
(CartDiscount cartDiscount) The Cart Discount that was created.toString()
Methods inherited from interface com.commercetools.api.models.message.CartDiscountCreatedMessagePayload
withCartDiscountCreatedMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CartDiscountCreatedMessagePayloadImpl
public CartDiscountCreatedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getCartDiscount
The Cart Discount that was created.
- Specified by:
getCartDiscount
in interfaceCartDiscountCreatedMessagePayload
- Returns:
- cartDiscount
-
setCartDiscount
Description copied from interface:CartDiscountCreatedMessagePayload
The Cart Discount that was created.
- Specified by:
setCartDiscount
in interfaceCartDiscountCreatedMessagePayload
- Parameters:
cartDiscount
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-