<?php
/**
 * V1ReferenceType
 *
 * PHP version 8.1
 *
 * @category Class
 * @package  Fortnox
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */

/**
 * Fortnox API
 *
 * # Documentation   The Fortnox API is organized around REST. This means that we’ve designed it to have resource-oriented URLs and be as predictable as possible for you as developer.  It also means that we use HTTP status codes when something goes wrong and HTTP verbs understod by many API clients around the web.  We use a modified version of OAuth2 for authentication to offer a secure way for both you and our users to interact.  The API is generally built to support both XML and JSON but in this documentation all the examples will be in JSON.  We encourage you to read all the articles in the [Guides & Good to Know section](https://www.fortnox.se/developer/guides-and-good-to-know/)</a> first, before going forward and learning about the different resources.  This to ensure you get an understanding of some of the shared components of the API such as parameters and error handling.  ## Rate limits  The limit per access-token is 25 requests per 5 seconds. This equals to 300 requests per minute.  [Read more about this here.](https://www.fortnox.se/developer/guides-and-good-to-know/rate-limits-for-fortnox-api/)  ## Query parameters  Use query parameters with the ?-character and separate parameters with the &-character.   **Example:**  GET - https://api.fortnox.se/3/invoices?accountnumberfrom=3000&accountnumberto=4000 Read more about our parameters [here](https://www.fortnox.se/developer/guides-and-good-to-know/parameters/)   Search the documentation using the search field in the top left corner.
 *
 * The version of the OpenAPI document: 
 * Generated by: https://openapi-generator.tech
 * Generator version: 7.19.0
 */

/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace Fortnox\Model;
use \Fortnox\ObjectSerializer;

/**
 * V1ReferenceType Class Doc Comment
 *
 * @category Class
 * @package  Fortnox
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */
class V1ReferenceType
{
    /**
     * Possible values of this enum
     */
    public const REFERENCE_TYPE_END_TO_END_ID = 'end-to-end-id';

    public const REFERENCE_TYPE_MESSAGE = 'message';

    public const REFERENCE_TYPE_OCR = 'ocr';

    public const REFERENCE_TYPE_TOTAL = 'total';

    public const REFERENCE_TYPE_AMOUNT = 'amount';

    public const REFERENCE_TYPE_BALANCE = 'balance';

    public const REFERENCE_TYPE_DEMAND_FEE = 'demandFee';

    public const REFERENCE_TYPE_TAX_REDUCTION = 'taxReduction';

    public const REFERENCE_TYPE_INVOICE_ID = 'invoice-id';

    public const REFERENCE_TYPE_CREDIT_ID = 'credit-id';

    public const REFERENCE_TYPE_CREDITOR_ACCOUNT = 'creditor-account';

    public const REFERENCE_TYPE_DEBITOR_ACCOUNT = 'debitor-account';

    public const REFERENCE_TYPE_IBAN = 'iban';

    public const REFERENCE_TYPE_BANKGIRO = 'bankgiro';

    public const REFERENCE_TYPE_PLUSGIRO = 'plusgiro';

    public const REFERENCE_TYPE_BBAN = 'bban';

    public const REFERENCE_TYPE_CUSTOMER_NUMBER = 'customer-number';

    public const REFERENCE_TYPE_INVOICE_NUMBER = 'invoice-number';

    public const REFERENCE_TYPE_SWISH_NUMBER = 'swish-number';

    public const REFERENCE_TYPE_ACCOUNT = 'account';

    public const REFERENCE_TYPE_NAME = 'name';

    public const REFERENCE_TYPE_DEBITOR_NAME = 'debitor-name';

    public const REFERENCE_TYPE_CREDITOR_NAME = 'creditor-name';

    public const REFERENCE_TYPE_CURRENCY_DIFF = 'currency-diff';

    public const REFERENCE_TYPE_YOUR_ORDER_NUMBER = 'your-order-number';

    public const REFERENCE_TYPE_ATTACHMENT = 'attachment';

    public const REFERENCE_TYPE_DATE = 'date';

    public const REFERENCE_TYPE_ACCOUNT_NUMBER = 'account-number';

    public const REFERENCE_TYPE_CITY = 'city';

    public const REFERENCE_TYPE_COUNTRY = 'country';

    public const REFERENCE_TYPE_MERCHANT_CATEGORY_CODE = 'mcc';

    public const REFERENCE_TYPE_CARD_ID = 'card-id';

    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::REFERENCE_TYPE_END_TO_END_ID,
            self::REFERENCE_TYPE_MESSAGE,
            self::REFERENCE_TYPE_OCR,
            self::REFERENCE_TYPE_TOTAL,
            self::REFERENCE_TYPE_AMOUNT,
            self::REFERENCE_TYPE_BALANCE,
            self::REFERENCE_TYPE_DEMAND_FEE,
            self::REFERENCE_TYPE_TAX_REDUCTION,
            self::REFERENCE_TYPE_INVOICE_ID,
            self::REFERENCE_TYPE_CREDIT_ID,
            self::REFERENCE_TYPE_CREDITOR_ACCOUNT,
            self::REFERENCE_TYPE_DEBITOR_ACCOUNT,
            self::REFERENCE_TYPE_IBAN,
            self::REFERENCE_TYPE_BANKGIRO,
            self::REFERENCE_TYPE_PLUSGIRO,
            self::REFERENCE_TYPE_BBAN,
            self::REFERENCE_TYPE_CUSTOMER_NUMBER,
            self::REFERENCE_TYPE_INVOICE_NUMBER,
            self::REFERENCE_TYPE_SWISH_NUMBER,
            self::REFERENCE_TYPE_ACCOUNT,
            self::REFERENCE_TYPE_NAME,
            self::REFERENCE_TYPE_DEBITOR_NAME,
            self::REFERENCE_TYPE_CREDITOR_NAME,
            self::REFERENCE_TYPE_CURRENCY_DIFF,
            self::REFERENCE_TYPE_YOUR_ORDER_NUMBER,
            self::REFERENCE_TYPE_ATTACHMENT,
            self::REFERENCE_TYPE_DATE,
            self::REFERENCE_TYPE_ACCOUNT_NUMBER,
            self::REFERENCE_TYPE_CITY,
            self::REFERENCE_TYPE_COUNTRY,
            self::REFERENCE_TYPE_MERCHANT_CATEGORY_CODE,
            self::REFERENCE_TYPE_CARD_ID
        ];
    }
}


