SilverShop\Checkout\SinglePageCheckoutComponentConfig
Synopsis
class SinglePageCheckoutComponentConfig
extends CheckoutComponentConfig
{
- // Inherited members from CheckoutComponentConfig
- protected $components;
- protected $order;
- protected $namespaced;
- // methods
- public void __construct()
- // Inherited methods from CheckoutComponentConfig
- public void __construct()
- public void getOrder()
- public $this addComponent()
- public ArrayList getComponents()
- public CheckoutComponent getComponentByType()
- public bool hasComponentWithPaymentData()
- public FieldList getFormFields()
- public void getRequiredFields()
- public boolean validateData()
- public array getData()
- public void setData()
- protected void dependantData()
Hierarchy
Members
protected
- $components
- $namespaced
- $order
Methods
Inherited from SilverShop\Checkout\CheckoutComponentConfig
protected
- dependantData() — Helper function for saving data from other components.
public
- addComponent()
- getComponentByType() — Returns the first available component with the given class or interface.
- getComponents()
- getData() — Get combined data
- getFormFields() — Get combined form fields
- getOrder()
- getRequiredFields()
- hasComponentWithPaymentData() — Whether or not this config has a component that collects payment data.
- setData() — Set data on all components
- validateData() — Validate every component against given data.