\ModificationField_Dropdown
For displaying a set of modifiers on the {@link CheckoutPage} which will inject their details into {@link Order} {@link Modifications}.
- Author: Frank Mullenger <frankmullenger@gmail.com>
- Copyright: Copyright (c) 2011, Frank Mullenger
Synopsis
class ModificationField_Dropdown
extends DropdownField
{
- // methods
- public void __construct()
- public String FieldHolder()
- public void validate()
- public Object getModifier()
- public Boolean modifiesSubTotal()
Hierarchy
Extends
- DropdownField
Members
protected
Methods
public
- __construct() — Creates a new optionset field for order modifers with the naming convention Modifiers[ClassName] where ClassName is name of modifier class.
- FieldHolder() — Render field with the appropriate template.
- getModifier() — Get the modifier e.g: FlatFeeShipping
- modifiesSubTotal() — Does not modify {@link Order} sub total by default.
- validate() — Validation is not currently done on this field at this point.