PHP Class ApaiIO\Configuration\GenericConfiguration

Author: Jan Eichhorn ([email protected])
Inheritance: implements ApaiIO\Configuration\ConfigurationInterface
Afficher le fichier Open project: exeu/apai-io Class Usage Examples

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
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

Method Details

getAccessKey() public méthode

public getAccessKey ( )

getAssociateTag() public méthode

public getAssociateTag ( )

getCountry() public méthode

public getCountry ( )

getRequest() public méthode

public getRequest ( )

getResponseTransformer() public méthode

getSecretKey() public méthode

public getSecretKey ( )

setAccessKey() public méthode

Sets the accesskey
public setAccessKey ( string $accessKey ) : GenericConfiguration
$accessKey string
Résultat GenericConfiguration

setAssociateTag() public méthode

Sets the associatetag
public setAssociateTag ( string $associateTag ) : GenericConfiguration
$associateTag string
Résultat GenericConfiguration

setCountry() public méthode

Sets and validates the country
public setCountry ( string $country ) : GenericConfiguration
$country string
Résultat GenericConfiguration

setRequest() public méthode

Sets the Request.
public setRequest ( ApaiIO\Request\RequestInterface $request ) : GenericConfiguration
$request ApaiIO\Request\RequestInterface
Résultat GenericConfiguration

setResponseTransformer() public méthode

Sets the ResponseTransformer
public setResponseTransformer ( ApaiIO\ResponseTransformer\ResponseTransformerInterface $responseTransformer ) : GenericConfiguration
$responseTransformer ApaiIO\ResponseTransformer\ResponseTransformerInterface
Résultat GenericConfiguration

setSecretKey() public méthode

Sets the secretkey
public setSecretKey ( string $secretKey ) : GenericConfiguration
$secretKey string
Résultat GenericConfiguration

Property Details

$accessKey protected_oe property

The accesskey
protected string $accessKey
Résultat string

$associateTag protected_oe property

The associate Tag
protected string $associateTag
Résultat string

$country protected_oe property

The country
protected string $country
Résultat string

$request protected_oe property

The requestclass By default its set to the provided restful request
protected RequestInterface,ApaiIO\Request $request
Résultat ApaiIO\Request\RequestInterface

$responseTransformer protected_oe property

The responsetransformerclass By default its set to null which means that no transformer will be applied
protected ResponseTransformerInterface,ApaiIO\ResponseTransformer $responseTransformer
Résultat ApaiIO\ResponseTransformer\ResponseTransformerInterface

$secretKey protected_oe property

The string
protected string $secretKey
Résultat string