A new Cart is generated using the local time, the source, and a random sequence number. If multiple Carts are generated in a given second, the sequence numbers are guaranteed to be in ascending order for that second. The Cart's file will contain a Cart in the New State, and a Log with an entry noting how the Cart was generated. |