\FlatFeeTaxRate
Tax rates that can be set in {@link SiteConfig}. Several flat rates can be set for any supported shipping country.
Synopsis
class FlatFeeTaxRate
extends DataObject
{
- // members
- private static Array $db = ;
- private static unknown_type $has_one = ;
- private static array $summary_fields = ;
- // methods
- public FieldSet getCMSFields()
- public String Label()
- public String SummaryOfRate()
- public void getAmount()
- public void Amount()
- public Price Price()
Hierarchy
Extends
- DataObject
Members
private
- $db
—
Array
Fields for this tax rate - $has_one
—
unknown_type
Tax rates are associated with SiteConfigs. - $summary_fields
Methods
public
- Amount()
- Label() — Label for using on {@link FlatFeeTaxModifierField}s.
- Price() — Display price, can decorate for multiple currency etc.
- SummaryOfRate() — Summary of the current tax rate
- getAmount()
- getCMSFields() — Field for editing a {@link FlatFeeTaxRate}.