Class OrderPaymentAddedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.OrderPaymentAddedMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,MessagePayloadMixin
,OrderPaymentAddedMessagePayload
,io.vrap.rmf.base.client.ModelBase
public class OrderPaymentAddedMessagePayloadImpl
extends Object
implements OrderPaymentAddedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Add Payment update action or when a Payment is added via Order Edits.
-
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.OrderPaymentAddedMessagePayload
ORDER_PAYMENT_ADDED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Payment that was added to the Order.getType()
int
hashCode()
void
setPayment
(PaymentReference payment) Payment that was added to the Order.toString()
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
Methods inherited from interface com.commercetools.api.models.message.OrderPaymentAddedMessagePayload
withOrderPaymentAddedMessagePayload
-
Constructor Details
-
OrderPaymentAddedMessagePayloadImpl
public OrderPaymentAddedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getPayment
Payment that was added to the Order.
- Specified by:
getPayment
in interfaceOrderPaymentAddedMessagePayload
- Returns:
- payment
-
setPayment
Description copied from interface:OrderPaymentAddedMessagePayload
Payment that was added to the Order.
- Specified by:
setPayment
in interfaceOrderPaymentAddedMessagePayload
- Parameters:
payment
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-