Interface OrderReturnShipmentStateChangedMessage

All Superinterfaces:
BaseResource, DomainResource<Message>, Identifiable<Message>, Message, OrderMessage, Versioned<Message>

public interface OrderReturnShipmentStateChangedMessage extends OrderMessage

Generated after a successful Set ReturnShipmentState update action on Orders and Order Edits.


Example to create an instance using the builder pattern

     OrderReturnShipmentStateChangedMessage orderReturnShipmentStateChangedMessage = OrderReturnShipmentStateChangedMessage.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sequenceNumber(0.3)
             .resource(resourceBuilder -> resourceBuilder)
             .resourceVersion(0.3)
             .returnItemId("{returnItemId}")
             .returnShipmentState(ReturnShipmentState.ADVISED)
             .build()