Package DE_EPAGES::Customer::API::Shop
This package provides shop functions of Customer.
@EXPORT_OK |
Functions
GetCustomerFolder
Creates a customer of a shop and maps the user to customer.
Syntax |
$CustomerFolder = GetCustomerFolder($Shop); |
Input |
|
Return |
|
GetCustomerForUser
Returns the customer which maps to shop and user, if there is no customers map the function returns 'undef'.
Syntax |
$Customer = GetCustomerForUser($User, $Shop); |
Input |
|
Return |
|
GetNextCustomerNo
Returns the next customer alias for this shop.
Syntax |
$CustomerNo = GetNextCustomerNo($Shop); |
Input |
|
Return |
|
InsertCustomerForUser
Creates a customer of a shop and maps the user to customer.
Syntax |
$Customer = InsertCustomerForUser($User, $Shop, $hCustomerData); |
Input |
|
Return |
|
InsertUserForCustomer
Creates a new user account for a customer. Grants permissions on all existing orders of the customer to the new user. If the customer already has an order, then the shipping address from this order is added as shipping address for the user. Does not send a welcome e-mail to the user.
Syntax |
$Customer = InsertUserForCustomer($Shop, $Customer, $hUser, $hBillingAddress); |
Input |
|
Return |
|