ePages 6.17.48 - DE_EPAGES/Shippo/API/AppStoreShippo.pm

Package DE_EPAGES::Shippo::API::AppStoreShippo

Functions related to Shippo's App.

Functions

getShippoAppId
installShippoApp
isShippoAppInstalled
new
uninstallShippoApp

getShippoAppId

Obtains Shippo App ID.

Syntax
getShippoAppId( $Shop );
Input
$Shop (object)
Shop.
Return
$appId (String)
Shippo App ID or undef if it isn't installed.

installShippoApp

Installs Shippo app.

Syntax
installShippoApp( $Servlet, $Shop );
Input
$Servlet (object)
Servlet
$Shop (object)
Current shop
Return
$installed (boolean)
True = installed, otherwise false.

isShippoAppInstalled

Determines whether Shippo app is intalled or not.

Syntax
isShippoAppInstalled( $Shop, $appId );
Input
$Shop (object)
Shop.
$appId (String)
appId. Optional parameter.
Return
$isShippoAppInstalled (boolean)
True = installed, otherwise false.

new

AppStoreShippo constructor

Syntax
$AppStoreShippo = DE_EPAGES::Shippo::API::AppStoreShippo->new( );
Return
$AppStoreShippo (object)
AppStoreShippo object

uninstallShippoApp

Uninstalls Shippo app.

Syntax
uninstallShippoApp( $Servlet, $Shop );
Input
$Servlet (object)
Shop Servlet
$Shop (object)
Current shop
Return
$installed (boolean)
True = installed, otherwise false.