abstract class CommerceShippingQuote in Commerce Shipping 7
Hierarchy
- class \CommerceShippingQuote implements CommerceShippingQuoteInterface
Expanded class hierarchy of CommerceShippingQuote
1 string reference to 'CommerceShippingQuote'
- quote_base.inc in plugins/
quotes/ quote_base/ quote_base.inc
File
- plugins/
quotes/ quote_base/ CommerceShippingQuote.class.php, line 92 - Contains the CommerceShippingQuote class and CommerceShippingQuoteInterface interface.
View source
abstract class CommerceShippingQuote implements CommerceShippingQuoteInterface {
/**
* Constructor.
*
* Initialize class variables.
*
* @param $settings
* Array of settings, could hold rule settings or values selected by the user.
* @param $order
* The order for which operations should be done.
*/
public function __construct($settings = array(), $order = NULL) {
$this->settings = $settings;
$this->order = $order;
}
public function settings_form(&$form, $rules_settings) {
}
public function form_label($order = NULL) {
return '';
}
public function submit_form($pane_values, $checkout_pane, $order = NULL) {
return array();
}
public function submit_form_validate($pane_form, $pane_values, $form_parents = array(), $order = NULL) {
}
public function calculate_quote($currency_code, $form_values = array(), $order = NULL, $pane_form = NULL, $pane_values = NULL) {
}
public function shipping_items_created($pane_values, $checkout_pane, $order = NULL) {
}
}