Interface TransitionCustomLineItemStateChange

All Superinterfaces:
Change
All Known Implementing Classes:
TransitionCustomLineItemStateChangeImpl

Change triggered by the following update actions:

  • Change the state of CustomLineItem according to allowed transitions on Orders.
  • Change the state of CustomLineItem according to allowed transitions on Staged Orders.

Example to create an instance using the builder pattern

     TransitionCustomLineItemStateChange transitionCustomLineItemStateChange = TransitionCustomLineItemStateChange.builder()
             .change("{change}")
             .plusPreviousValue(previousValueBuilder -> previousValueBuilder)
             .plusNextValue(nextValueBuilder -> nextValueBuilder)
             .lineItemId("{lineItemId}")
             .stateId("{stateId}")
             .build()