public char[] getCloseParams()
    {
        char[] close_params = new char[66];

        Double[] payed = new Double[]{0.0, 0.0, 0.0, 0.0};
        System.out.println(this.payed.size());
        for (int i = 0; i < payed.length; i++)
            payed[i] = this.payed.get(i) * 100;

        char[] cash_array = Convert.toCharArray(payed[0].intValue());
        char[] f_array = Convert.toCharArray(payed[1].intValue());
        char[] s_array = Convert.toCharArray(payed[2].intValue());
        char[] t_array = Convert.toCharArray(payed[3].intValue());

        char sign = (char)0;
        char digit = (char)0;

        if ( this.discount < 0)
            sign = (char)0;

        digit = (char)(new Double(this.discount).intValue());

        char[] sale_array = new char[]{sign, digit};

        int[] total_taxes = this.taxes;

        for(int i = 0; i < cash_array.length; i++)
            close_params[i] = cash_array[i];

        for(int i = 0; i < f_array.length; i++)
            close_params[i + 5] = f_array[i];

        for(int i = 0; i < s_array.length; i++)
            close_params[i + 10] = s_array[i];

        for(int i = 0; i < t_array.length; i++)
            close_params[i + 15] = t_array[i];

        for(int i = 0; i < sale_array.length; i++)
            close_params[i + 20] = sale_array[i];

        for(int i = 0; i < total_taxes.length; i++)
            close_params[i + 22] = (char)total_taxes[i];

        return close_params;
    }