# coding: utf-8

"""
    Accounting service API

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

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

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


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class InternalTransactionCodeGroupEnum(str, Enum):
    """
    InternalTransactionCodeGroupEnum
    """

    """
    allowed enum values
    """
    ROOM_REVENUE_RATE = 'ROOM_REVENUE_RATE'
    ROOM_REVENUE_MANUAL = 'ROOM_REVENUE_MANUAL'
    ROOM_REVENUE_CANCELLATION = 'ROOM_REVENUE_CANCELLATION'
    ROOM_REVENUE_NO_SHOW = 'ROOM_REVENUE_NO_SHOW'
    ITEM_SERVICE = 'ITEM_SERVICE'
    ADDON = 'ADDON'
    CUSTOM_ITEM = 'CUSTOM_ITEM'
    FEE = 'FEE'
    TAX = 'TAX'
    PAYMENT = 'PAYMENT'
    ACCOUNTS_RECEIVABLE = 'ACCOUNTS_RECEIVABLE'
    N_A = 'N_A'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of InternalTransactionCodeGroupEnum from a JSON string"""
        return cls(json.loads(json_str))


