Interface InventoryEntryCreatedMessage

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

public interface InventoryEntryCreatedMessage extends Message

Generated after a successful Create InventoryEntry request.


Example to create an instance using the builder pattern

     InventoryEntryCreatedMessage inventoryEntryCreatedMessage = InventoryEntryCreatedMessage.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)
             .inventoryEntry(inventoryEntryBuilder -> inventoryEntryBuilder)
             .build()
 
  • Field Details

    • INVENTORY_ENTRY_CREATED

      static final String INVENTORY_ENTRY_CREATED
      discriminator value for InventoryEntryCreatedMessage
      See Also:
  • Method Details