You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Valid organisation ENUMs have not been backported to 2.x branch, which I believe is still maintained and valid. An organisation which has the class 'COMPREHENSIVE' throws an exception in getOrganisation.
InvalidArgumentException: Invalid value for 'class', must be one of 'DEMO', 'TRIAL', 'STARTER', 'STANDARD', 'PREMIUM', 'PREMIUM_20', 'PREMIUM_50', 'PREMIUM_100', 'LEDGER', 'GST_CASHBOOK', 'NON_GST_CASHBOOK', 'ULTIMATE', 'LITE' in vendor/xeroapi/xero-php-oauth2/lib/Models/Accounting/Organisation.php:1508
Expected behavior
Valid ENUM values returned in Models\Accounting\Organisation::getClassAllowableValues() to be backported to 2.x branch (which I think is the last supported branch with firebase/php-jwt:5.x
SDK you're using
Describe the bug
Valid organisation ENUMs have not been backported to 2.x branch, which I believe is still maintained and valid. An organisation which has the class 'COMPREHENSIVE' throws an exception in
getOrganisation
.Expected behavior
Valid ENUM values returned in
Models\Accounting\Organisation::getClassAllowableValues()
to be backported to 2.x branch (which I think is the last supported branch with firebase/php-jwt:5.xAdditional context
#351
The text was updated successfully, but these errors were encountered: