SilverCommerce\BulkPricing\Model\BulkPricingBracket
Synopsis
class BulkPricingBracket
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $default_sort = ;
- private static array $casting = ;
- // methods
- public Float getTaxAmount()
- public Float getPriceAndTax()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $casting
- $db
- $default_sort
- $has_one
- $summary_fields
Methods
public
- getPriceAndTax() — Get the final price of this product, including tax (if any)
- getTaxAmount() — Get a final tax amount for this product. You can extend this method using "UpdateTax" allowing third party modules to alter tax amounts dynamically.