ePages 7.26.0 - DE_EPAGES/Order/API/PickupTokenValidation.pm

Package DE_EPAGES::Order::API::PickupTokenValidation

Tools for PickupToken validation.

Functions

checkPickupToken
getUrlForPickupTokenValidation
new

checkPickupToken

Checks if the pickup token belongs to the given url.

Syntax
checkPickupToken( $Token, $URL );
Input
$Token (String)
the pickup token
$URL (String)
the request url
Return
(boolean)
is token valid

getUrlForPickupTokenValidation

Returns the request URL without the PickupToken parameter.

Syntax
getUrlForPickupTokenValidation( $Servlet );
Input
$Servlet (DE_EPAGES::Presentation::Servlet::BasePermission)
The request servlet
Return
(String)
The request url

new

constuctor

Syntax
new( );
Return
$self (DE_EPAGES::Order::API::PickupTokenValidation)
self