# coding: utf-8

"""
    InductivaWebAPI

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

    The version of the OpenAPI document: 0.1.0
    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 TopUpType(str, Enum):
    """
    TopUpType
    """
    """
    allowed enum values
    """
    BANK_TRANSFER = 'bank_transfer'
    BOOST = 'boost'
    INITIAL_CREDITS = 'initial_credits'
    OFFER = 'offer'
    STRIPE_PAYMENT = 'stripe_payment'
    REFERRAL_BONUS_REFERRER = 'referral_bonus_referrer'
    REFERRAL_BONUS_REFEREE = 'referral_bonus_referee'

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