Package DE_EPAGES::Tax::API::Shop
This module includes a function to get shop tax method
@EXPORT_OK |
Functions
DisableShopTaxMethod
Resets the TaxMethod on the shop to undef.
Syntax |
DisableShopTaxMethod( $Shop ); |
Input |
|
Return |
|
Hook |
|
EnableShopTaxMethod
Sets the given TaxMethod on the shop. This can only be done if a customized TaxMatrix is used. Throws TaxMatrixNotCustomized error, if Matrix is not customized.
Syntax |
EnableShopTaxMethod( $Shop, $TaxMethod ); |
Input |
|
Return |
|
Hook |
|
GetTaxMethodsFolder
Returns the folder of tax methods
Syntax |
$Folder = GetTaxMethodsFolder( $Shop ); |
Input |
|
Return |
|
ShouldSplitShippingAndPaymentTax
Returns, if the taxes for shipping and payment should be splitted for the given shop (address)
Syntax |
my ($SplitShippingTaxes, $SplitPaymentTaxes) = @{ ShouldSplitShippingAndPaymentTax($Shop) }; |
Input |
|
Return |
|