dobesv / freshbooks-api-java-client

Automatically exported from code.google.com/p/freshbooks-api-java-client
0 stars 0 forks source link

Send invoice by email and snail mail not working #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an invoice
2. attempt to call api.sendInvoiceBySnailMail or Email
3. Notice the exception you get

What is the expected output? What do you see instead?

I expect freshbooks to be properly notified.

The fix:

Request.java line 43:

        case INVOICE_DELETE:
        case INVOICE_GET:
+       case INVOICE_SEND_BY_EMAIL:
+   case INVOICE_SEND_BY_SNAIL_MAIL:
            this.invoiceId = id;
            break;

Add these two lines and all is well.

Original issue reported on code.google.com by nafe...@gmail.com on 29 Aug 2011 at 1:45

GoogleCodeExporter commented 9 years ago
I can confirm this, at least for "INVOICE_SEND_BY_EMAIL". Cannot test 
"INVOICE_SEND_BY_SNAIL_MAIL".

Original comment by amarques...@gmail.com on 21 Sep 2011 at 7:55