class UcOrder in Ubercart 6.2
Same name and namespace in other branches
- 7.3 uc_order/uc_order.module \UcOrder
Defines an order object.
Hierarchy
- class \UcOrder
Expanded class hierarchy of UcOrder
File
- uc_order/
uc_order.module, line 20
View source
class UcOrder {
public $order_id = 0;
public $uid = 0;
public $order_status = '';
public $order_total = 0;
public $primary_email = '';
public $delivery_first_name = '';
public $delivery_last_name = '';
public $delivery_phone = '';
public $delivery_company = '';
public $delivery_street1 = '';
public $delivery_street2 = '';
public $delivery_city = '';
public $delivery_zone = 0;
public $delivery_postal_code = '';
public $delivery_country = 0;
public $billing_first_name = '';
public $billing_last_name = '';
public $billing_phone = '';
public $billing_company = '';
public $billing_street1 = '';
public $billing_street2 = '';
public $billing_city = '';
public $billing_zone = 0;
public $billing_postal_code = '';
public $billing_country = 0;
public $products = array();
public $line_items = array();
public $payment_method = '';
public $data = array();
public $created = 0;
public $modified = 0;
public $currency = '';
function __construct() {
$this->order_status = uc_order_state_default('in_checkout');
$this->currency = variable_get('uc_currency_code', 'USD');
}
}