Class PaymentTransitionStateActionImpl

java.lang.Object
com.commercetools.api.models.payment.PaymentTransitionStateActionImpl
All Implemented Interfaces:
PaymentTransitionStateAction, PaymentUpdateAction, ResourceUpdateAction<PaymentUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class PaymentTransitionStateActionImpl extends Object implements PaymentTransitionStateAction, io.vrap.rmf.base.client.ModelBase

If the Payment has no current State, initial must be true for the new State. If the existing State has transitions set, the new State must be a valid transition. If the existing State has no transitions set, no validations are performed when transitioning to the new State.

Transitioning the State of a Payment produces the PaymentStatusStateTransition Message.