ePages 7.26.0 - DE_EPAGES/Twenga/API/Twenga.pm

Package DE_EPAGES::Twenga::API::Twenga

This package provides the Twenga global functionality.

@EXPORT_OK
GetMerchantsTwengaPortalConfig
TwengaLog

Functions

GetMerchantsTwengaPortalConfig
TwengaLog

GetMerchantsTwengaPortalConfig

Returns Twenga portal config that matches to the shop address country

Syntax
GetMerchantsTwengaPortalConfig( $Shop );
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop
Return
$Config (DE_EPAGES::ProductPortal::API::Object::PortalConfig)
portal config

TwengaLog

Logs communication for twenga

Syntax
TwengaLog( $varname, $value, $section );
Input
$varname (string)
data label
$value (any)
data to dump
$section (string)
logging section