Client
Table of contents
- Client
- Properties
- Methods
public __construct(string $accessToken, Psr\Log\LoggerInterface $logger, string $locale)
public getRequestBuilder(string $apiName)
public getSignDocumentSmartIdRequestBuilder()
public postRequest(AppBundle\GatewaySDKPhp\Model\RequestInterface $request)
private getConnector()
private hydrateRequestBuilder(AppBundle\GatewaySDKPhp\RequestBuilder\RequestBuilderInterface $requestBuilder)
Properties
Visibility | Type | Name | Description |
---|---|---|---|
private | String | accessToken | API access token |
private | AppBundle\GatewaySDKPhp\ConnectorInterface | connector | Connector that will be used to request API |
private | Psr\Log\LoggerInterface | logger | PSR compatible logger |
Methods
public __construct(string $accessToken, Psr\Log\LoggerInterface $logger, string $locale)
returns void
Constructs the object
public getRequestBuilder(string $apiName)
returns void
public getSignDocumentSmartIdRequestBuilder()
returns AppBundle\GatewaySDKPhp\RequestBuilder\SignDocumentSmartIdRequestBuilder
public postRequest(AppBundle\GatewaySDKPhp\Model\RequestInterface $request)
returns void
Makes API request through connector
private getConnector()
returns AppBundle\GatewaySDKPhp\ConnectorInterface
private hydrateRequestBuilder(AppBundle\GatewaySDKPhp\RequestBuilder\RequestBuilderInterface $requestBuilder)
returns void