Menu
Guide
Reference
Cookbook
Try
Buy
Search
Reference
Options
Config options
Hooks
Translations
Site methods
Field methods
Classes
Cart
ListItem
ListItems
Logger
Merx
OrderPage
PaymentDetails
Price
PricingRule
PricingRules
ProductList
ProductPage
Tax
TaxRule
TaxRules
API Reference
Models
Routes
Panel blueprints
Fields
Layouts
Pages
Releases
Merx 2
new Tax()
Creates a new tax
$tax->rate()
Converts the tax rate to a formatted string
$tax->toFloat()
Converts the tax to a float
$tax->toString()
Converts the price to a formatted string
Tax
Represents a tax with a price and a rate in percent
Read more
src/Tax.php
new Tax()
Creates a new tax
$tax->rate()
Converts the tax rate to a formatted string
$tax->toFloat()
Converts the tax to a float
$tax->toString()
Converts the price to a formatted string