\FlatFeeShippingRate
Tax rates that can be set in {@link SiteConfig}. Several flat rates can be set for any supported shipping country.
- Author: Frank Mullenger <frankmullenger@gmail.com>
- Copyright: Copyright (c) 2011, Frank Mullenger
Synopsis
class FlatFeeShippingRate
extends DataObject
{
- // members
- private static Array $db = ;
- private static unknown_type $has_one = ;
- private static array $summary_fields = ;
- // methods
- public void providePermissions()
- public void canEdit()
- public void canView()
- public void canDelete()
- public void canCreate()
- public FieldSet getCMSFields()
- public String Label()
- public String SummaryOfPrice()
- public void Amount()
- public Price Price()
Hierarchy
Extends
- DataObject
Tasks
Line | Task |
---|---|
115 | Multi currency |
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 FlatFeeShippingModifierField}s.
- Price() — Display price, can decorate for multiple currency etc.
- SummaryOfPrice() — Summary of the current tax rate
- canCreate()
- canDelete()
- canEdit()
- canView()
- getCMSFields() — Field for editing a {@link FlatFeeShippingRate}.
- providePermissions()