<?php

namespace App\Classes\ValueObjects\Constants;

final class TransactionType {

    public const PAYMENT_ATTEMPT = 0;

    public const PAYMENT = 1;

    public const INVOICE = 2;

    public const BILL = 3;

    public const PROFORMA = 4;

    public const TOP_UP = 5;

    public const REFUND = 6;

    public const PURCHASE_ORDER = 7;

    public const SUPPLIER_DELIVER = 8;

    public const CREDIT_NOTE = 9;

    public const DEBIT_NOTE = 11;

    public const WITHDRAW = 10;

    public const TRANSFER_FEE = 12;

    public const CASH_BACK = 13;

    public const SUPPLIER_PAYMENT = 14;

    public const SUPPLIER_REFUND = 15;

    public const BILL_REFUND = 16;

    public const RECEIPT_VOUCHER = 17;

    public const BANKING = 18;

    public const ID_TO_NAME = [
        self::PAYMENT_ATTEMPT => "PAYMENT_ATTEMPT",
        self::PAYMENT => "PAYMENT",
        self::INVOICE => "INVOICE",
        self::BILL => "BILL",
        self::PROFORMA => "PROFORMA",
        self::TOP_UP => "TOP_UP",
        self::REFUND => "REFUND",
        self::PURCHASE_ORDER => "PURCHASE_ORDER",
        self::SUPPLIER_DELIVER => "SUPPLIER_DELIVER",
        self::CREDIT_NOTE => "CREDIT_NOTE",
        self::DEBIT_NOTE => "DEBIT_NOTE",
        self::WITHDRAW => "WITHDRAW",
        self::TRANSFER_FEE => "TRANSFER_FEE",
        self::CASH_BACK => "CASH_BACK",
        self::SUPPLIER_PAYMENT => "SUPPLIER_PAYMENT",
        self::SUPPLIER_REFUND => "SUPPLIER_REFUND",
        self::BANKING => "BANKING",
    ];

    }
