CheckoutComponent::validateData PHP Method

validateData() abstract public method

This function should never rely on form.
abstract public validateData ( Order $order, array $data ) : boolean
$order Order
$data array data to be validated
return boolean the data is valid
    public abstract function validateData(Order $order, array $data);