# coding: utf-8

"""
    Xero Finance API

    The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.  # noqa: E501

    Contact: api@xero.com
    Generated by: https://openapi-generator.tech
"""


import re  # noqa: F401

from xero_python.models import BaseModel


class TotalOther(BaseModel):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    openapi_types = {
        "total_outstanding_aged": "float",
        "total_voided": "float",
        "total_credited": "float",
    }

    attribute_map = {
        "total_outstanding_aged": "totalOutstandingAged",
        "total_voided": "totalVoided",
        "total_credited": "totalCredited",
    }

    def __init__(
        self, total_outstanding_aged=None, total_voided=None, total_credited=None
    ):  # noqa: E501
        """TotalOther - a model defined in OpenAPI"""  # noqa: E501

        self._total_outstanding_aged = None
        self._total_voided = None
        self._total_credited = None
        self.discriminator = None

        if total_outstanding_aged is not None:
            self.total_outstanding_aged = total_outstanding_aged
        if total_voided is not None:
            self.total_voided = total_voided
        if total_credited is not None:
            self.total_credited = total_credited

    @property
    def total_outstanding_aged(self):
        """Gets the total_outstanding_aged of this TotalOther.  # noqa: E501

        Total outstanding invoice value within the period where the invoices are more than 90 days old  # noqa: E501

        :return: The total_outstanding_aged of this TotalOther.  # noqa: E501
        :rtype: float
        """
        return self._total_outstanding_aged

    @total_outstanding_aged.setter
    def total_outstanding_aged(self, total_outstanding_aged):
        """Sets the total_outstanding_aged of this TotalOther.

        Total outstanding invoice value within the period where the invoices are more than 90 days old  # noqa: E501

        :param total_outstanding_aged: The total_outstanding_aged of this TotalOther.  # noqa: E501
        :type: float
        """

        self._total_outstanding_aged = total_outstanding_aged

    @property
    def total_voided(self):
        """Gets the total_voided of this TotalOther.  # noqa: E501

        Total voided value.  # noqa: E501

        :return: The total_voided of this TotalOther.  # noqa: E501
        :rtype: float
        """
        return self._total_voided

    @total_voided.setter
    def total_voided(self, total_voided):
        """Sets the total_voided of this TotalOther.

        Total voided value.  # noqa: E501

        :param total_voided: The total_voided of this TotalOther.  # noqa: E501
        :type: float
        """

        self._total_voided = total_voided

    @property
    def total_credited(self):
        """Gets the total_credited of this TotalOther.  # noqa: E501

        Total credited value.  # noqa: E501

        :return: The total_credited of this TotalOther.  # noqa: E501
        :rtype: float
        """
        return self._total_credited

    @total_credited.setter
    def total_credited(self, total_credited):
        """Sets the total_credited of this TotalOther.

        Total credited value.  # noqa: E501

        :param total_credited: The total_credited of this TotalOther.  # noqa: E501
        :type: float
        """

        self._total_credited = total_credited
