SilverCommerce\Postage\Model\FlatRate
Represents a flat shipping cost, based on the selected regions.
NOTE If you dont select any regions, this rate will be applied to
ALL regions
Synopsis
class FlatRate
extends PostageType
{
- // members
- private static string $table_name = 'PostageType_FlatRate';
- private static array $db = ;
- // methods
- public SSList getPossiblePostage()
- // Inherited methods from PostageType
- public void getTitle()
- public string getShortClassName()
- public SSList getPossiblePostage()
- public void requireDefaultRecords()
Hierarchy
Members
private
- $db
- $table_name
Methods
public
- getPossiblePostage() — If the current parcel is located in an area that we allow flat rate
Inherited from SilverCommerce\Postage\Model\PostageType
public
- getPossiblePostage() — Return a list of possible postage options that can be rendered into the postage form.
- getShortClassName() — Get an unqualified verson of this object's classname
- getTitle()
- requireDefaultRecords() — {@inheritdoc}