Release new version
Opened this issue · 3 comments
Hi,
I have added Xero Gradle dependency to my build.gradle. Everything is fine till I want to use a specific method (createBankTransactions) in my code. Exploring the XeroClient.class in eclipse, I can't locate this method. Following is the missing code comparing to github version:
public List<BankTransaction> createBankTransactions(List<BankTransaction> bankTransactions) { ArrayOfBankTransaction array = new ArrayOfBankTransaction(); array.getBankTransaction().addAll(bankTransactions); return put("BankTransactions", objFactory.createBankTransactions(array)).getBankTransactions(); }
I am using ver 0.13 in my build file. Am I missing something?
There code was added after 0.13 was released. There is no currently released version with that method. I cannot release a new version until the XML schemas are fixed. See XeroAPI/XeroAPI-Schemas#32
Is it time to give up on XeroAPI-Schemas ? The xero-java-client is unusable now for me due to the known issues everyone has, coupled with the fact Xero don't care about keeping it up to date or even use it themselves for validation.
I have a colleague working on a simple POJO entity approach w/ Jackson that just tracks the Xero API docs directly (rather than the retrofitted schema supplied by Xero). Right not we are just implementing the objects we need (related entities involved in Invoice creation) but happy to commit a branch back once it is ready if other folks want to add entities they care about.
I just added a note to the README about this, but Connectifier was recently acquired. As a result, our accounting systems will be changing to better integrate with our new parent company and this repository will no longer be maintained. I'd recommend forking the repo.