https://github.com/ledgerscope/Xero-Java
We have added a second constructor that you must use.
public ApiClient( String basePath, HttpTransport transport, HttpRequestInitializer initializer, ObjectMapper objectMapper, HttpRequestFactory reqFactory, String identityBasePath ) {
Set basePath and identityBasePath to https://xero.api.ledgerscope.com