def location_id(self, location_id):
        """
        Sets the location_id of this Order.
        The ID of the merchant location this order is associated with.

        :param location_id: The location_id of this Order.
        :type: str
        """

        if location_id is None:
            raise ValueError("Invalid value for `location_id`, must not be `None`")
        if len(location_id) < 1:
            raise ValueError("Invalid value for `location_id`, length must be greater than or equal to `1`")

        self._location_id = location_id
Sets the location_id of this Order.
        The ID of the merchant location this order is associated with.

        :param location_id: The location_id of this Order.
        :type: str