kernel/classes/ezvatmanager.php

Show: inherited
Table of Contents

\eZVATManager

Package:

Methods

methodpublicgetUserCountry(  $user = false,  $considerPreferedCountry = true ) : void
static

Determine user's country.

\public \static

Parameters
Name Type Description
$user
$considerPreferedCountry
methodpublicgetUserCountryAttributeName(  $requireUserCountry ) : void
static

Determine name of content attribute that contains user's country.

\private \static

Parameters
Name Type Description
$requireUserCountry
methodpublicgetVAT(  $object,  $country ) : void
static

Get percentage of VAT type corresponding to the given product and country the user is from.

\return Percentage, or null on error. \public \static

Parameters
Name Type Description
$object
$country
methodpublicisDynamicVatChargingEnabled( ) : void
static

methodpublicisUserCountryRequired( ) : void
static

Check if users must have country specified.

\public \static

methodpublicloadVATHandler( ) : void
static

methodpublicsetUserCountry(  $user,  $country ) : void
static

Set user's country.

\public \static

Parameters
Name Type Description
$user
$country
Documentation was generated by DocBlox 0.18.1.