$app
$app : \EasyWeChat\Payment\Application
Class BaseClient.
$app : \EasyWeChat\Payment\Application
__construct(\EasyWeChat\Payment\Application $app)
Constructor.
\EasyWeChat\Payment\Application | $app |
request(string $url, string $method = 'GET', array $options = array()) : \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Make a request.
string | $url | |
string | $method | |
array | $options |
get(string $date, string $type = 'ALL', array $optional = array()) : \EasyWeChat\Kernel\Http\StreamResponse|\Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Download bill history as a table file.
string | $date | |
string | $type | |
array | $optional |
requestRaw(string $endpoint, array $params = array(), string $method = 'post', array $options = array()) : \Psr\Http\Message\ResponseInterface
Make a request and return raw response.
string | $endpoint | |
array | $params | |
string | $method | |
array | $options |
safeRequest(string $endpoint, array $params, string $method = 'post', array $options = array()) : \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Request with SSL.
string | $endpoint | |
array | $params | |
string | $method | |
array | $options |