ePages 7.27.0 - DE_EPAGES/Order/API/PickupTokenExpiration.pm

Package DE_EPAGES::Order::API::PickupTokenExpiration

Determines if the url with the pickup token is expired.

Functions

isExpired
new

isExpired

Checks if the order creation is not longer ago than the session timeout.

Syntax
isExpired( $BasketCreationDate );
Input
$BasketCreationDate (String)
String with datetime of basket creation
Return
(boolean)
Is url with pickup token expired

new

Constuctor

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