PHP Класс ApaiIO\Configuration\GenericConfiguration

Автор: Jan Eichhorn ([email protected])
Наследование: implements ApaiIO\Configuration\ConfigurationInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$accessKey string The accesskey
$associateTag string The associate Tag
$country string The country
$request ApaiIO\Request\RequestInterface The requestclass By default its set to the provided restful request
$responseTransformer ApaiIO\ResponseTransformer\ResponseTransformerInterface The responsetransformerclass By default its set to null which means that no transformer will be applied
$secretKey string The string

Открытые методы

Метод Описание
getAccessKey ( )
getAssociateTag ( )
getCountry ( )
getRequest ( )
getResponseTransformer ( )
getSecretKey ( )
setAccessKey ( string $accessKey ) : GenericConfiguration Sets the accesskey
setAssociateTag ( string $associateTag ) : GenericConfiguration Sets the associatetag
setCountry ( string $country ) : GenericConfiguration Sets and validates the country
setRequest ( ApaiIO\Request\RequestInterface $request ) : GenericConfiguration Sets the Request.
setResponseTransformer ( ApaiIO\ResponseTransformer\ResponseTransformerInterface $responseTransformer ) : GenericConfiguration Sets the ResponseTransformer
setSecretKey ( string $secretKey ) : GenericConfiguration Sets the secretkey

Описание методов

getAccessKey() публичный метод

public getAccessKey ( )

getAssociateTag() публичный метод

public getAssociateTag ( )

getCountry() публичный метод

public getCountry ( )

getRequest() публичный метод

public getRequest ( )

getResponseTransformer() публичный метод

getSecretKey() публичный метод

public getSecretKey ( )

setAccessKey() публичный метод

Sets the accesskey
public setAccessKey ( string $accessKey ) : GenericConfiguration
$accessKey string
Результат GenericConfiguration

setAssociateTag() публичный метод

Sets the associatetag
public setAssociateTag ( string $associateTag ) : GenericConfiguration
$associateTag string
Результат GenericConfiguration

setCountry() публичный метод

Sets and validates the country
public setCountry ( string $country ) : GenericConfiguration
$country string
Результат GenericConfiguration

setRequest() публичный метод

Sets the Request.
public setRequest ( ApaiIO\Request\RequestInterface $request ) : GenericConfiguration
$request ApaiIO\Request\RequestInterface
Результат GenericConfiguration

setResponseTransformer() публичный метод

Sets the ResponseTransformer
public setResponseTransformer ( ApaiIO\ResponseTransformer\ResponseTransformerInterface $responseTransformer ) : GenericConfiguration
$responseTransformer ApaiIO\ResponseTransformer\ResponseTransformerInterface
Результат GenericConfiguration

setSecretKey() публичный метод

Sets the secretkey
public setSecretKey ( string $secretKey ) : GenericConfiguration
$secretKey string
Результат GenericConfiguration

Описание свойств

$accessKey защищенное свойство

The accesskey
protected string $accessKey
Результат string

$associateTag защищенное свойство

The associate Tag
protected string $associateTag
Результат string

$country защищенное свойство

The country
protected string $country
Результат string

$request защищенное свойство

The requestclass By default its set to the provided restful request
protected RequestInterface,ApaiIO\Request $request
Результат ApaiIO\Request\RequestInterface

$responseTransformer защищенное свойство

The responsetransformerclass By default its set to null which means that no transformer will be applied
protected ResponseTransformerInterface,ApaiIO\ResponseTransformer $responseTransformer
Результат ApaiIO\ResponseTransformer\ResponseTransformerInterface

$secretKey защищенное свойство

The string
protected string $secretKey
Результат string