SystemTaxDriver
class SystemTaxDriver implements TaxDriver (View source)
Properties
protected | $shippingAddress | The taxable shipping address. |
|
protected | $billingAddress | The taxable billing address. |
|
protected | $currency | The currency model. |
|
protected | $purchasable | The purchasable item. |
|
protected | $cartLine | The cart line model. |
Methods
getBreakdown(int $subTotal)
Return the tax breakdown from a given sub total.
defaultTaxZone()
No description
Details
TaxDriver
setShippingAddress(Addressable $address = null)
Set the shipping address.
TaxDriver
setBillingAddress(Addressable $address = null)
Set the billing address.
TaxDriver
setPurchasable(Purchasable $purchasable)
Set the purchasable item.
TaxBreakdown
getBreakdown(int $subTotal)
Return the tax breakdown from a given sub total.
protected
defaultTaxZone()
No description