ePages 6.11.0 - DE_EPAGES/Customer/API/User.pm

Package DE_EPAGES::Customer::API::User

This package provides user functions.

@EXPORT_OK
UpdateCustomerTaxModel

Functions

UpdateCustomerTaxModel

UpdateCustomerTaxModel

Updates the tax model of the customer based on the user billing address. Set tax model to net, when country of billing address in eu and vatid is valid.

Syntax
UpdateCustomerTaxModel($User, $Shop);
Input
$User (object)
user
$Shop (object)
shop
Return
$NewTaxModel (int)
new tax model if tax model was changed, otherwise undef