Package DE_EPAGES::MolliePayments::API::Requests::Tokens
Helper module for generating MolliePayments tokens requests to epagesj
Functions
- getEpagesjRequestSuffixUrlPath
- getHttpHeaders
- getPayload
- handleResponse
- new
- withAuthorizationCode
- withRefreshToken
getEpagesjRequestSuffixUrlPath
It returns the tokens postfix url path from the epagesj endpoint
Syntax |
$Url = $TokensRequest->getEpagesjRequestSuffixUrlPath( $HttpRequestMethod ); |
Input |
|
Return |
|
getHttpHeaders
It returns required headers of the tokens request
Syntax |
$hRequestHeader = $self->getHttpHeaders( $HttpRequestMethod ); |
Input |
|
Return |
|
getPayload
It returns the body payload of the tokens request
Syntax |
$hPayload = $self->getPayload( $HttpRequestMethod ); |
Input |
|
Return |
|
handleResponse
It returns the response filtered
Syntax |
$hFilteredResponse = $self->handleResponse($hResponse); |
Input |
|
Return |
|
new
MolliePayments tokens requests to epagesj helper constructor
Syntax |
DE_EPAGES::MolliePayments::API::Requests::Tokens->new( ); |
Input |
|
Return |
|
withAuthorizationCode
Mark authorization code as part of the payload
Syntax |
$self->withAuthorizationCode( ); |
Return |
|
withRefreshToken
Set refresh token into token object's payload
Syntax |
$self->withRefreshToken( $RefreshToken ); |
Return |
|