@classmethod
def fromJSON(cls, payload):
    """
        Create a Delivery instance from an existing payload.

        :param payload: A parsed JSON payload.
        :type payload: dict
        """
    instance = cls()
    instance.use(payload)
    return instance
