ePages 7.47.0 - DE_EPAGES/MolliePayments/API/Requests/Profiles.pm

Package DE_EPAGES::MolliePayments::API::Requests::Profile

Helper module for generating MolliePayments profiles requests to epagesj

Package DE_EPAGES::MolliePayments::API::Requests::Profiles

Functions

getEpagesjRequestSuffixUrlPath
getHttpHeaders
getQueryParams
handleResponse
new
withFrom
withLimit

getEpagesjRequestSuffixUrlPath

It returns the Profiles postfix url path from the epagesj endpoint

Syntax
$Url = $ProfilesRequest->getEpagesjRequestSuffixUrlPath( $HttpRequestMethod );
Input
$HttpRequestMethod (string)
HTTP request method string
Return
$Url (string)
Profiles suffix url path from the epagesj endpoint

getHttpHeaders

It returns required headers of the Profiles request

Syntax
$hRequestHeader = $self->getHttpHeaders( $HttpRequestMethod );
Input
$HttpRequestMethod (string)
HTTP request method string
Return
$hRequestHeader (hash.ref)
Profiles request headers hash

getQueryParams

It returns the query Params of the Methods request

Syntax
$QueryParams = $self->getQueryParams();
Input
$HttpRequestMethod (string)
HTTP request method string
Return
$QueryParams (string)
Methods request $QueryParams string

handleResponse

It returns the response filtered

Syntax
$hFilteredResponse = $self->handleResponse($hResponse);
Input
$hResponse (hash.ref)
response hash
Return
$hFilteredResponse (hash.ref)
filtered response hash

new

MolliePayments profiles requests to epagesj helper constructor

Syntax
DE_EPAGES::MolliePayments::API::Requests::Profiles->new( );
Input
$hProfilesData (hash.ref)
required data to generate profiles requests to epagesj
Return
$Object (DE_EPAGES::MolliePayments::API::Requests::Profiles)
new object

withFrom

Set from as part of the query params

Syntax
$self->withFrom($ProfileId);
Return
$Object (DE_EPAGES::MolliePayments::API::Requests::Profiles)
new object

withLimit

Set limit as part of the query params

Syntax
$self->withLimit($Limit);
Return
$Object (DE_EPAGES::MolliePayments::API::Requests::Profiles)
new object