public class XeroInvoice extends java.lang.Object implements XeroObjectInterface
| Modifier and Type | Field and Description | 
|---|---|
| java.lang.String | dueDate | 
| static java.lang.String | END_POINT | 
| java.lang.String | invDate | 
| java.lang.String | invoiceId | 
| java.lang.String | refernceNumber | 
| Modifier and Type | Method and Description | 
|---|---|
| org.w3c.dom.Document | generateXML(XeroClient xc)generate the xml of the Xero request body | 
| java.lang.String | getEndPoint()get the end point | 
| static XeroInvoice | make(JSONObject json,
    XeroClientST st,
    XeroSyncPlugin plugin,
    XeroClient client)make a Xero Invoice | 
| static XeroInvoice | makeBill(JSONObject POJson,
        XeroClientST st,
        XeroSyncPlugin plugin,
        XeroClient client)make a Xero Bill | 
public final java.lang.String invoiceId
public final java.lang.String invDate
public final java.lang.String dueDate
public final java.lang.String refernceNumber
public static final java.lang.String END_POINT
public static XeroInvoice make(@Nonnull JSONObject json, @Nonnull XeroClientST st, @Nullable XeroSyncPlugin plugin, @Nonnull XeroClient client) throws java.lang.Exception
json - st - plugin - client - java.lang.Exceptionpublic static XeroInvoice makeBill(@Nonnull JSONObject POJson, @Nonnull XeroClientST st, @Nullable XeroSyncPlugin plugin, @Nonnull XeroClient client) throws java.lang.Exception
POJson - st - plugin - client - java.lang.Exceptionpublic org.w3c.dom.Document generateXML(@Nullable
                                        XeroClient xc)
                                 throws DocumentException,
                                        java.lang.Exception
XeroObjectInterfacegenerateXML in interface XeroObjectInterfaceDocumentExceptionjava.lang.Exceptionpublic java.lang.String getEndPoint()
XeroObjectInterfacegetEndPoint in interface XeroObjectInterfacestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.