You are here

public function CommerceShippingQuote::__construct in Commerce Shipping 7

Constructor.

Initialize class variables.

Parameters

$settings: Array of settings, could hold rule settings or values selected by the user.

$order: The order for which operations should be done.

File

plugins/quotes/quote_base/CommerceShippingQuote.class.php, line 103
Contains the CommerceShippingQuote class and CommerceShippingQuoteInterface interface.

Class

CommerceShippingQuote

Code

public function __construct($settings = array(), $order = NULL) {
  $this->settings = $settings;
  $this->order = $order;
}