ePages 6.11.0 - DE_EPAGES/Customer/API/TLE/CustomerHandler.pm

Package DE_EPAGES::Customer::API::TLE::CustomerHandler

Base
DE_EPAGES::TLE::API::LoopHandler

Functions

GetCustomerForUserID

GetCustomerForUserID

Finds the customer who is associated with a specified user.

Syntax
#FUNCTION("GetCustomerForUserID", #Session.User.ID, #Shop.ID)
Example
#LOCAL("Customer", #FUNCTION("GetCustomerForUserID", #Session.User.ID, #Shop.ID))
   #Customer.BillingAddress.DisplayName (#Customer.Alias)
#ENDLOCAL
Input
#UserID (integer)
ID of the user
#ShopID (integer)
ID of the shop