ePages 6.17.35 - DE_EPAGES/TaxUS/API/Object/TaxMethodTaxUS.pm

Package DE_EPAGES::Tax::API::Object::TaxMethodTaxUS

object interface for TaxMethodTaxUS.

Base
DE_EPAGES::Object::API::Object::Object

Package DE_EPAGES::TaxUS::API::Object::TaxMethodTaxUS

Functions

disablePaymentSplit
disableShippingSplit
featureName
isActive
isDefaultTaxType
isPaymentTaxable
isShippingTaxable
showInAutomaticTaxCalculation
showTaxAreaSelectionForBasket
showTaxModelSelectionForCustomer
taxAreaByAddress
taxMatrix
updateContainerTaxArea
usableAtStorefront

disablePaymentSplit

Returns true if payment splitting is disabled.

Syntax
$IsDisabled = $TaxMethodTaxUS->disablePaymentSplit;
Return
$IsDisabled (boolean)
1 if active

disableShippingSplit

Returns true if shipping splitting is disabled.

Syntax
$IsDisabled = $TaxMethodTaxUS->disableShippingSplit;
Return
$IsDisabled (boolean)
1 if active

featureName

Returns the feature name.

Syntax
$FeatureName = $TaxMethodTaxUS->featureName;
Return
$FeatureName (String)
feature name (undef means no feature count)

isActive

Returns true if the TaxMethod is activated on the shop.

Syntax
$FeatureName = $TaxMethodTaxUS->isActive;
Return
$isActive (boolean)
1 if active

isDefaultTaxType

True if tax method is now the default tyx type for the shop.

Syntax
$ShowSelection = $TaxMethodTaxUS->isDefaultTaxType;
Return
$IsDefaultTaxType (boolean)
true or false

isPaymentTaxable

Returns true if payment is taxable.

Syntax
$IsTaxable = $TaxMethodTaxUS->isPaymentTaxable;
Return
$IsTaxable (boolean)
1 if active

isShippingTaxable

Returns true if shipping is taxable.

Syntax
$IsTaxable = $TaxMethodTaxUS->isShippingTaxable;
Return
$IsTaxable (boolean)
1 if active

showInAutomaticTaxCalculation

True if tax method selection can be shown in selection.

Syntax
$Show = $TaxMethod->showInAutomaticTaxCalculation;
Return
$Show (boolean)
true or false

showTaxAreaSelectionForBasket

Returns true if the TaxArea selection can be visible in MBO.

Syntax
$ShopTaxArea = $TaxMethodTaxUS->showTaxAreaSelectionForBasket;
Return
$ShopTaxArea (boolean)
1 if active

showTaxModelSelectionForCustomer

Returns true if the TaxModel selection can be visible in MBO.

Syntax
$ShowTaxModel = $TaxMethodTaxUS->showTaxModelSelectionForCustomer;
Return
$ShowTaxModel (boolean)
1 if active

taxAreaByAddress

Returns the TaxArea by the customer/user address. Use non merchant state TaxArea if we have no informations about the customer.

Syntax
$TaxArea = $TaxMethodTaxUS->taxAreaByAddress;
Input
$Container (object)
LineitemContainer
Return
$TaxArea (obejct)
TaxArea

taxMatrix

Returns the TaxMatrixUS from Shop

Syntax
$TaxMatrix = $TaxMethodTaxUS->taxMatrix;
Return
$TaxMatrix (object)
TaxMatrix

updateContainerTaxArea

Updates the container taxarea by using the customer/user address.

Syntax
$IsUpdated = $TaxMethodTaxUS->updateContainerTaxArea;
Input
$Container (object)
LineitemContainer
Return
$IsUpdated (boolean)
1 if active

usableAtStorefront

Returns true is method is usable.

Syntax
$IsUsable = $TaxMethodTaxUS->usableAtStorefront;
Return
$IsUsable (boolean)
1 if active