# coding: utf-8

"""
    Fiscal document service API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: v1
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from cloudbeds_fiscal_document.models.fiscal_document_detailed_response import FiscalDocumentDetailedResponse

class TestFiscalDocumentDetailedResponse(unittest.TestCase):
    """FiscalDocumentDetailedResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> FiscalDocumentDetailedResponse:
        """Test FiscalDocumentDetailedResponse
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `FiscalDocumentDetailedResponse`
        """
        model = FiscalDocumentDetailedResponse()
        if include_optional:
            return FiscalDocumentDetailedResponse(
                id = '',
                number = '',
                property_id = '',
                user_id = '',
                user_full_name = '',
                source_name = '',
                source_id = '',
                source_kind = 'GROUP_PROFILE',
                kind = 'INVOICE',
                invoice_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                invoice_date_property_timezone = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                file_name = '',
                amount = 1.337,
                balance = 1.337,
                due_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                due_date_property_timezone = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                recipients = [
                    cloudbeds_fiscal_document.models.recipient_details.RecipientDetails(
                        id = '0', 
                        first_name = '', 
                        last_name = '', 
                        email = '', 
                        type = 'COMPANY', 
                        company_name = '', )
                    ],
                status = 'COMPLETED',
                origin = '',
                external_id = '',
                fail_reason = '',
                method = 'VOID',
                created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                parent_id = '',
                updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                government_integration = cloudbeds_fiscal_document.models.government_integration.GovernmentIntegration(
                    number = '', 
                    series = '', 
                    status = '', 
                    qr = cloudbeds_fiscal_document.models.government_integration_qr.GovernmentIntegration_qr(
                        url = '', 
                        string = '', ), 
                    url = '', 
                    official_id = '', 
                    external_id = '', 
                    rectifying_invoice_type = '', 
                    cancellation_failed_fallback_status = 'COMPLETED', ),
                latest_linked_document = cloudbeds_fiscal_document.models.latest_linked_document.LatestLinkedDocument(
                    id = '', 
                    number = '', 
                    created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    kind = 'INVOICE', 
                    status = 'COMPLETED', ),
                linked_documents = [
                    cloudbeds_fiscal_document.models.linked_document.LinkedDocument(
                        id = '', 
                        number = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        kind = 'INVOICE', 
                        status = 'COMPLETED', 
                        is_latest = True, 
                        relationship_type = 'PARENT', )
                    ],
                actions = [
                    cloudbeds_fiscal_document.models.action.Action(
                        type = 'CANCEL', )
                    ],
                source_identifier = '',
                simplified = True
            )
        else:
            return FiscalDocumentDetailedResponse(
        )
        """

    def testFiscalDocumentDetailedResponse(self):
        """Test FiscalDocumentDetailedResponse"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
