public class SampleData extends Object
| Modifier and Type | Field and Description |
|---|---|
static XeroClient |
client |
| Constructor and Description |
|---|
SampleData(XeroClient client) |
| Modifier and Type | Method and Description |
|---|---|
static int |
findRandomNum(int total) |
static com.xero.model.ArrayOfAccount |
loadAccount() |
static com.xero.model.Account |
loadAccountDepreciation() |
static com.xero.model.Account |
loadAccountExpenses() |
static com.xero.model.Account |
loadAccountFixedAsset() |
static com.xero.model.ArrayOfAllocation |
loadAllocation() |
static com.xero.model.ArrayOfInvoice |
loadBadInvoice() |
static com.xero.model.ArrayOfInvoice |
loadBadInvoice2() |
static com.xero.model.Account |
loadBankAccount() |
static com.xero.model.ArrayOfBankTransaction |
loadBankTransaction() |
static com.xero.model.ArrayOfBankTransfer |
loadBankTransfer() |
static com.xero.model.ArrayOfContact |
loadContact() |
static com.xero.model.ArrayOfContactGroup |
loadContactGroup() |
static com.xero.model.ArrayOfCreditNote |
loadCreditNote() |
static com.xero.model.ArrayOfCreditNote |
loadCreditNote4dp() |
static com.xero.model.ArrayOfAllocation |
loadCreditNoteAllocation() |
static com.xero.model.ArrayOfCurrency |
loadCurrency() |
static com.xero.model.ArrayOfEmployee |
loadEmployee() |
static com.xero.model.ArrayOfExpenseClaim |
loadExpenseClaim() |
static com.xero.model.ArrayOfInvoice |
loadInvoice() |
static com.xero.model.ArrayOfItem |
loadItem() |
static com.xero.model.ArrayOfLinkedTransaction |
loadLinkedTransaction() |
static com.xero.model.ArrayOfManualJournal |
loadManualJournal() |
static com.xero.model.BankTransaction |
loadNewlyCreatedOverpayment() |
static com.xero.model.BankTransaction |
loadNewlyCreatedPrepayment() |
static com.xero.model.ArrayOfPayment |
loadPayment() |
static com.xero.model.ArrayOfPurchaseOrder |
loadPurchaseOrder() |
static int |
loadRandomNum() |
static com.xero.model.ArrayOfReceipt |
loadReceipt() |
static com.xero.model.Contact |
loadSingleContact() |
static com.xero.model.ArrayOfTaxRate |
loadTaxRate() |
static com.xero.model.ArrayOfTrackingCategory |
loadTrackingCategory() |
static com.xero.model.ArrayOfTrackingCategoryOption |
loadTrackingCategoryOption() |
static com.xero.model.ArrayOfTrackingCategoryOption |
loadTrackingCategoryOptionMulti() |
public static XeroClient client
public SampleData(XeroClient client)
public static com.xero.model.ArrayOfAccount loadAccount()
public static com.xero.model.Account loadAccountFixedAsset()
throws IOException
IOExceptionpublic static com.xero.model.Account loadAccountExpenses()
throws IOException
IOExceptionpublic static com.xero.model.Account loadAccountDepreciation()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfBankTransaction loadBankTransaction()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfBankTransfer loadBankTransfer()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfContact loadContact()
public static com.xero.model.ArrayOfContactGroup loadContactGroup()
public static com.xero.model.ArrayOfCreditNote loadCreditNote()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfCreditNote loadCreditNote4dp()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfCurrency loadCurrency()
public static com.xero.model.ArrayOfEmployee loadEmployee()
public static com.xero.model.ArrayOfExpenseClaim loadExpenseClaim()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfInvoice loadInvoice()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfInvoice loadBadInvoice()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfInvoice loadBadInvoice2()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfItem loadItem()
public static com.xero.model.ArrayOfLinkedTransaction loadLinkedTransaction()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfManualJournal loadManualJournal()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfAllocation loadAllocation()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfAllocation loadCreditNoteAllocation()
throws IOException
IOExceptionpublic static com.xero.model.BankTransaction loadNewlyCreatedOverpayment()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfPayment loadPayment()
throws IOException
IOExceptionpublic static com.xero.model.BankTransaction loadNewlyCreatedPrepayment()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfPurchaseOrder loadPurchaseOrder()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfReceipt loadReceipt()
throws IOException
IOExceptionpublic static com.xero.model.ArrayOfTaxRate loadTaxRate()
public static com.xero.model.ArrayOfTrackingCategory loadTrackingCategory()
public static com.xero.model.ArrayOfTrackingCategoryOption loadTrackingCategoryOption()
public static com.xero.model.ArrayOfTrackingCategoryOption loadTrackingCategoryOptionMulti()
public static int findRandomNum(int total)
public static com.xero.model.Contact loadSingleContact()
throws IOException
IOExceptionpublic static int loadRandomNum()
public static com.xero.model.Account loadBankAccount()
throws IOException
IOExceptionCopyright © 2018. All rights reserved.