ePages 7.3.0 - DE_EPAGES/EasyMarketing/API/App.pm

Package DE_EPAGES::EasyMarketing::API::App

Stores the received EasyMarketingAccessToken and send send the generated Rest Api Credentials to the callback url.

Functions

getMessage
install
new
uninstall

getMessage

will return the current Error message or an OK

Syntax
getMessage( );
Return
Message (String)
a message

install

installs the EasyMarketing app

Syntax
install( $EncryptedEasyMarketingAccessToken, $EncryptedCallbackUrl );
Input
$EncryptedEasyMarketingAccessToken (String)
encrypted access token
$EncryptedCallbackUrl (String)
encrypted callback url for rest api credentials
Return
(Boolean)
returns true or false

new

Constructor

Syntax
new( $Shop );
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop object
Return
(DE_EPAGES::EasyMarketing::API::App)
object

uninstall

Uninstalls the EasyMarketing app

Syntax
uninstall();
Return
(Boolean)
returns true or false