Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.GS1.Event
- data EventType
- data Event = Event {}
- allEventTypes :: [EventType]
- getEventType :: DWhat -> EventType
- mkEventType :: Text -> Maybe EventType
- stringify :: IsString a => EventType -> a
Documentation
Constructors
ObjectEventT | When something is created |
AggregationEventT | When something gets packaged into a container, or gets unpacked. |
TransactionEventT | Some transaction has been made between 2 or more parties |
TransformationEventT | Some product has been converted into another e.g A bucket of Tomatoes became some bottles of Tomato Sauce |
Constructors
Event | |
allEventTypes :: [EventType] Source #
getEventType :: DWhat -> EventType Source #
Calls the appropriate stringify for a DWhat