SilverShop\Shipping\Model\ShippingMethod
ShippingMethod is a base class for providing shipping options to customers.
Synopsis
class ShippingMethod
extends DataObject
{
- // members
- private static array $db = ;
- private static array $casting = ;
- private static string $table_name = 'SilverShop_ShippingMethod';
- private static array $disable_methods = ;
- // methods
- public void getCalculator()
- public void calculateRate()
- public void getRate()
- public void getTitle()
- public bool requiresAddress()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $casting
- $db
- $disable_methods — array
- $table_name
Methods
public
- calculateRate()
- getCalculator()
- getRate()
- getTitle()
- requiresAddress() — Some shipping methods might require an address present on the order.