\FlatFeeShippingModifierField
Form field that represents {@link FlatFeeShippingRate}s in the Checkout form.
- Author: Frank Mullenger <frankmullenger@gmail.com>
- Copyright: Copyright (c) 2011, Frank Mullenger
Synopsis
class FlatFeeShippingModifierField
extends ModificationField_Hidden
{
- // members
- protected Money $amount;
- // methods
- public String FieldHolder()
- public void setAmount()
- public String Description()
- public Boolean modifiesSubTotal()
Hierarchy
Extends
- ModificationField_Hidden
Members
protected
- $amount
—
Money
The amount this field represents e.g: 15% * order subtotal
Methods
public
- Description() — Return the amount for this tax rate for displaying in the {@link CheckoutForm}
- FieldHolder() — Render field with the appropriate template.
- modifiesSubTotal() — Shipping field modifies {@link Order} sub total by default.
- setAmount() — Set the amount that this field represents.