PlatformService/PlatformService.php
- Package
- Default
\PlatformService
Package: Default



This file contains Intuit Platform services.
Properties
Methods


CurrentUser() : \SimpleXMLElement
Returns user information such as first name, last name, and email address.
Returns
Type | Description |
---|---|
\SimpleXMLElement | Xml of Disconnect response |


Disconnect() : \SimpleXMLElement
Disconnect invalidates the OAuth access token in the request, thereby disconnecting the user from QuickBooks for this app.
Returns
Type | Description |
---|---|
\SimpleXMLElement | Xml of Disconnect response |


Reconnect() : \SimpleXMLElement
Reconnect generates a new OAuth access token and invalidates the OAuth access token used in the request, thereby extending the life span by six months.
Returns
Type | Description |
---|---|
\SimpleXMLElement | Xml of Reconnect response |


__construct( $serviceContext) : void
Initializes a new instance of the PlatformService class.
Parameters
Throws
Name | Type | Description |
---|---|---|
$serviceContext |
Exception | Description |
---|---|
\ArgumentException: | The exception that is thrown when one of the argument(s) provided to a method is not valid. |
\InvalidTokenException: | When invalid tokens are passed. |
\ArgumentNullException: | When Service context parameter sent as null. |