Package DE_EPAGES::Tax::API::Object::TaxMethod
object interface for TaxMethod.
Base |
DE_EPAGES::Shop::API::Object::ShopObject |
Functions
- IsMethodDirectlyUsable
- disablePaymentSplit
- disableShippingSplit
- featureName
- isDefaultTaxType
- isPaymentTaxable
- isShippingTaxable
- showTaxAreaSelectionForBasket
- showTaxModelSelectionForCustomer
- taxMatrix
- updateContainerTaxArea
- usableAtStorefront
IsMethodDirectlyUsable
Returns true if TaxMethod directly usable in the shop without further configuration.
Syntax |
my $IsUsable = $Package->isMethodDirectlyUsable($Shop); |
Input |
|
Return |
|
disablePaymentSplit
True if payment tax spliting is disabled.
Syntax |
$Disable = $TaxMethod->disablePaymentSplit; |
Return |
|
disableShippingSplit
True if shipping tax spliting is disabled.
Syntax |
$Disable = $TaxMethod->disableShippingSplit; |
Return |
|
featureName
Returns the feature name.
Syntax |
$FeatureName = $TaxMethod->featureName; |
Return |
|
isDefaultTaxType
True if tax method is now the default tax type for the shop.
Syntax |
$ShowSelection = $TaxMethod->isDefaultTaxType; |
Return |
|
isPaymentTaxable
True if payment is taxable.
Syntax |
$Taxable = $TaxMethod->isPaymentTaxable; |
Return |
|
isShippingTaxable
True if shipping is taxable.
Syntax |
$Taxable = $TaxMethod->isShippingTaxable; |
Return |
|
showTaxAreaSelectionForBasket
True if tax area selection can be enabled for the Basket.
Syntax |
$ShowSelection = $TaxMethod->showTaxAreaSelectionForBasket; |
Return |
|
showTaxModelSelectionForCustomer
True if tax method selection for customer is usable in MBO.
Syntax |
$ShowSelection = $TaxMethod->showTaxModelSelectionForCustomer; |
Return |
|
taxMatrix
Returns the tax matrix.
Syntax |
$FeatureName = $TaxMethod->taxMatrix; |
Return |
|
updateContainerTaxArea
Updates the container taxarea.
Syntax |
$IsUpdated = $TaxMethod->updateContainerTaxArea; |
Input |
|
Return |
|
usableAtStorefront
Tests if a tax method is visible in the storefront. Should be overwritten by tax method subclasses.
Syntax |
$Usable = $TaxMethod->usableAtStorefront($hVars); |
Input |
|
Return |
|