Product
abstract class Product (View source)
Generic product/service.
Properties
protected Repository | $config | Configuration. | |
protected Client | $client | HTTP client. |
|
protected string | $baseUri | Base URI. |
|
protected string | $tokenUri | Token URI. |
|
protected string | $subscriptionKey | Subscription key. |
|
protected string | $clientId | Client ID. |
|
protected string | $clientSecret | Client secret. |
|
protected string | $clientRedirectUri | Client redirect URI. |
|
protected string | $currency | Currency. | |
protected string | $environment | Environment. | |
protected string | $partyIdType | Party ID type. |
|
protected string | $logFile | Log file. |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Constructor.
Request access token.
Get log middleware.
Get authentication broker.
Details
ClientInterface
getClient()
No description
setClient(ClientInterface $client)
No description
string
getBaseUri()
No description
setBaseUri(string $baseUri)
No description
string
getTokenUri()
No description
setTokenUri(string $tokenUri)
No description
string
getSubscriptionKey()
No description
setSubscriptionKey(string $subscriptionKey)
No description
string
getClientId()
No description
setClientId(string $clientId)
No description
string
getClientSecret()
No description
setClientSecret(string $clientSecret)
No description
string
getClientRedirectUri()
No description
setClientRedirectUri(string $clientRedirectUri)
No description
string
getCurrency()
No description
setCurrency(string $currency)
No description
string
getEnvironment()
No description
setEnvironment(string $environment)
No description
string
getPartyIdType()
No description
setPartyIdType(string $partyIdType)
No description
string
getLogFile()
No description
setLogFile(string $logFile)
No description
__construct(array $headers = [], array $middleware = [], ClientInterface $client = null)
Constructor.
abstract array
getToken()
Request access token.
protected callable
getLogMiddleware()
Get log middleware.
protected OAuth2Middleware
getAuthBroker(array $headers)
Get authentication broker.