def to_dict(self):
        """ Attribute values to dict """

        return {
            "total": self.total,
            "subtotal": self.subtotal,
            "items": self.items,
            "extra_amount": self.extra_amount
        }
Attribute values to dict