# 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 TrialBalanceEntry(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 = {"value": "float", "entry_type": "str"}

    attribute_map = {"value": "value", "entry_type": "entryType"}

    def __init__(self, value=None, entry_type=None):  # noqa: E501
        """TrialBalanceEntry - a model defined in OpenAPI"""  # noqa: E501

        self._value = None
        self._entry_type = None
        self.discriminator = None

        if value is not None:
            self.value = value
        if entry_type is not None:
            self.entry_type = entry_type

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

        Net movement or net balance in the account  # noqa: E501

        :return: The value of this TrialBalanceEntry.  # noqa: E501
        :rtype: float
        """
        return self._value

    @value.setter
    def value(self, value):
        """Sets the value of this TrialBalanceEntry.

        Net movement or net balance in the account  # noqa: E501

        :param value: The value of this TrialBalanceEntry.  # noqa: E501
        :type: float
        """

        self._value = value

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

        Sign (Debit/Credit) of the movement of balance in the account  # noqa: E501

        :return: The entry_type of this TrialBalanceEntry.  # noqa: E501
        :rtype: str
        """
        return self._entry_type

    @entry_type.setter
    def entry_type(self, entry_type):
        """Sets the entry_type of this TrialBalanceEntry.

        Sign (Debit/Credit) of the movement of balance in the account  # noqa: E501

        :param entry_type: The entry_type of this TrialBalanceEntry.  # noqa: E501
        :type: str
        """

        self._entry_type = entry_type
