Class OrderChangePaymentStateActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderChangePaymentStateActionImpl
- All Implemented Interfaces:
OrderChangePaymentStateAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderChangePaymentStateActionImpl
extends Object
implements OrderChangePaymentStateAction, io.vrap.rmf.base.client.ModelBase
Produces the Order Payment State Changed Message.
-
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.OrderChangePaymentStateAction
CHANGE_PAYMENT_STATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New payment status of the Order.int
hashCode()
void
setPaymentState
(PaymentState paymentState) New payment status of the Order.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderChangePaymentStateAction
withOrderChangePaymentStateAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderChangePaymentStateActionImpl
public OrderChangePaymentStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getPaymentState
New payment status of the Order.
- Specified by:
getPaymentState
in interfaceOrderChangePaymentStateAction
- Returns:
- paymentState
-
setPaymentState
Description copied from interface:OrderChangePaymentStateAction
New payment status of the Order.
- Specified by:
setPaymentState
in interfaceOrderChangePaymentStateAction
- Parameters:
paymentState
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-