# coding: utf-8

"""
    Cloudbeds Accounting Service API

    The Cloudbeds Accounting Service API provides programmatic access to financial data and operations for hospitality properties. Use this API to manage transactions, folios, deposits, accounts receivable ledgers, trial balances, and related accounting configuration.  **Key concepts:** - **Transactions** represent individual financial entries (charges, payments,   taxes, fees) associated with a source such as a reservation, group profile,   or house account.  - **Folios** organize transactions into logical groups within a source. You   can create custom folios and move or route transactions between them.  - **Source Balances** provide a real-time financial summary (charges, payments,   balance due, tax/fee breakdowns) for a reservation, group profile, house   account, or accounts receivable ledger.  - **Accounts Receivable (AR) Ledgers** track outstanding balances that have   been transferred from reservations or group profiles for later collection.  - **Trial Balance** is a daily financial reconciliation report that summarizes   ledger activity across guest, deposit, and AR ledgers.  - **Custom Codes** let you map Cloudbeds internal transaction codes to your   own chart-of-accounts codes and general ledger codes.   **Authentication:** All endpoints require a valid OAuth2 bearer token. Endpoints are protected by scopes: `read:payment` for read operations and `write:payment` for mutating operations. A few search endpoints use POST with a request body to support complex filter criteria; these require the `read:payment` scope.  **Base URL:** Use `https://api.cloudbeds.com` for production and `https://api.cloudbeds-stage.com` for staging. All endpoint paths are prefixed with `/accounting/v1.0`.  **Property context:** Every request must include the `X-Property-ID` header to identify which property the request applies to.  **Monetary amounts:** Unless otherwise noted, monetary amounts are expressed in the smallest currency unit (e.g., cents for USD). Use the `currencyScale` field to determine the number of decimal places.  **Pagination:** Paginated endpoints return a `nextPageToken` value. Pass this token in subsequent requests to retrieve the next page of results. When `nextPageToken` is null or absent, you have reached the last page. 

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

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


import unittest

from cloudbeds_accounting.models.list_transactions_paginated import ListTransactionsPaginated

class TestListTransactionsPaginated(unittest.TestCase):
    """ListTransactionsPaginated unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ListTransactionsPaginated:
        """Test ListTransactionsPaginated
            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 `ListTransactionsPaginated`
        """
        model = ListTransactionsPaginated()
        if include_optional:
            return ListTransactionsPaginated(
                transactions = [
                    cloudbeds_accounting.models.transaction_response.TransactionResponse(
                        id = '', 
                        property_id = '', 
                        internal_transaction_code = '', 
                        custom_transaction_code = '', 
                        general_ledger_custom_code = '', 
                        amount = 1.337, 
                        currency_scale = 56, 
                        currency = '', 
                        customer_id = '', 
                        root_id = '', 
                        parent_id = '', 
                        source_id = '', 
                        sub_source_id = '', 
                        source_kind = 'RESERVATION', 
                        account = cloudbeds_accounting.models.account.Account(
                            id = '', 
                            description = '', 
                            name = '', 
                            category = 'DEPOSITS', 
                            chart_of_account_type = 'LIABILITIES', ), 
                        external_relation_id = '', 
                        external_relation_kind = 'ROOM', 
                        origin_id = '', 
                        routed_from = '', 
                        quantity = 56, 
                        description = '', 
                        user_id = '', 
                        source_datetime = '2017-07-21T17:32:28Z', 
                        transaction_datetime = '2017-07-21T17:32:28Z', 
                        transaction_datetime_property_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        service_date = 'Fri Jul 21 00:00:00 UTC 2017', 
                        created_at = '2017-07-21T17:32:28Z', 
                        source_identifier = '38883261663', 
                        sub_source_identifier = '38883261663-2', 
                        notes = '', )
                    ],
                next_page_token = ''
            )
        else:
            return ListTransactionsPaginated(
        )
        """

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

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