$endpointUrl
$endpointUrl : string
endpointUrl
(default value: "permission_request")
PermissionRequestOutcome class.
create(array|null $params = null, array|string|null $opts = null) : \mCASH\PermissionRequest
| array|null | $params | |
| array|string|null | $opts |
retrieve(string|null $id = null, array|string|null $opts = null) : \mCASH\PaymentRequestOutcome
retrieve function.
| string|null | $id | (default: null) |
| array|string|null | $opts | (default: null) |
refresh() : \mCASH\mCASHObject|static
refresh function.
Reloads the current instance from the mCASH Api
status() : \mCASH\StatusCode
status function.
Returns a status code object
_request(mixed $method, mixed $url, array $params = array(), mixed $opts = null) : \mCASH\mCASHObject|static
_request function.
Handles request to the mCASH API and returns and instance of mCASHObject or the current class
| mixed | $method | |
| mixed | $url | |
| array | $params | (default: array()) |
| mixed | $opts | (default: null) |
_create(mixed $params = null, mixed $opts = null) : \mCASH\mCASHObject|Static
_create function.
Sends POST with parameters to mCASH Api. Used when creating new objects
| mixed | $params | (default: null) |
| mixed | $opts | (default: null) |
_all(mixed $params = null, mixed $opts = null) : \mCASH\mCASHObject|Static
_all function.
Fetches all object of given type from mCASH Api
| mixed | $params | (default: null) |
| mixed | $opts | (default: null) |