TaxDetails
TaxDetails(total, A=None, B=None, C=None)Represents tax details for a receipt.
Attributes: total (TaxDetailsEntry): The total tax details entry. A (Optional[TaxDetailsEntry]): The tax details entry for category A. B (Optional[TaxDetailsEntry]): The tax details entry for category B. C (Optional[TaxDetailsEntry]): The tax details entry for category C.
Methods
| Name | Description |
|---|---|
| to_dict | Converts the TaxDetails instance to a dictionary. |
to_dict
TaxDetails.to_dict()Converts the TaxDetails instance to a dictionary.
Returns: dict: A dictionary representation of the TaxDetails instance.