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

Add Organisation Class Constants #882

Merged
merged 1 commit into from
Jan 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion src/XeroPHP/Models/Accounting/Organisation.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,29 @@ class Organisation extends Remote\Model
const ORGANISATION_TYPE_SOLETRADER = 'SOLETRADER';

const ORGANISATION_TYPE_TRUST = 'TRUST';


const ORGANISATION_CLASS_DEMO = 'DEMO';

const ORGANISATION_CLASS_TRIAL = 'TRIAL';

const ORGANISATION_CLASS_STARTER = 'STARTER';

const ORGANISATION_CLASS_STANDARD = 'STANDARD';

const ORGANISATION_CLASS_PREMIUM = 'PREMIUM';

const ORGANISATION_CLASS_PREMIUM_20 = 'PREMIUM_20';

const ORGANISATION_CLASS_PREMIUM_50 = 'PREMIUM_50';

const ORGANISATION_CLASS_PREMIUM_100 = 'PREMIUM_100';

const ORGANISATION_CLASS_GST_CASHBOOK = 'GST_CASHBOOK';

const ORGANISATION_CLASS_NON_GST_CASHBOOK = 'NON_GST_CASHBOOK';

const ORGANISATION_CLASS_ULTIMATE = 'ULTIMATE';

/**
* Get the resource uri of the class (Contacts) etc.
*
Expand Down