Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for 2.1.0 and 2.1.1 plus req lowered to 5.6 #110

Merged
merged 1 commit into from
May 1, 2020

Conversation

SidneyAllen
Copy link
Contributor

PHP version required lowered to 5.6 after testing successfully

Objects with a single Array of objects is updated to include interfaces with Countable, IteratorAggregate, JsonSerializable

Build from OpenAPI Spec version 2.1.0 and 2.1.1
ASSETS
AssetTypeId added

ACCOUNTING
IncludeOnline passed as path, now passed as queryParam

Add missing getPrepaymentAsPdf

UK Reporting Tax Type ENUMs added to Tax rates

PAYROLL AU
New AllowanceType class added
UTC offset added to dates before converting from date to timeInMilliseconds.

PHP version required lowered to 5.6 after testing successfully

Objects with a single Array of objects is updated to include interfaces with Countable, IteratorAggregate, JsonSerializable

Build from OpenAPI Spec version 2.1.0 and 2.1.1
ASSETS
AssetTypeId added

ACCOUNTING
IncludeOnline passed as path, now passed as queryParam

Add missing getPrepaymentAsPdf

UK Reporting Tax Type ENUMs added to Tax rates

PAYROLL AU
New AllowanceType class added
UTC offset added to dates before converting from date to timeInMilliseconds.
@noorburki
Copy link

there are lot of methods missing in new versions. which were available in previous version. e.g getReportStatementWithHttpInfo AND getReportBankstatement.
Why?

@SidneyAllen
Copy link
Contributor Author

Hi @noorburki

All of our SDKs are now built off our OpenAPI specs which have been evolving as a "blueprint" that reflects the functionality of our APIs.

I'm not sure which methods you are referring to which are missing ... but we have needed to leave out the single create (which the API supports) in favor of the batch create which accomplishes both the single and batch create as they are simply an array of objects.

The bank statement report was intentionally omitted - you can read about it on this comment XeroAPI/Xero-OpenAPI#355 (comment)

hope that helps clarify things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants