Log in
Model

Basedon

Magento\Tax\Model\Config\Source\Basedon

What it does

This class provides configuration options for determining which address should be used as the basis for tax calculation in Magento 2.

Developers would use this class when configuring the tax calculation settings in the admin panel, allowing store administrators to choose whether taxes should be calculated based on the shipping address, billing address, or the store's shipping origin.

Public Methods

  • toOptionArray()