Class Mage_Sales_Model_Order_Item
Order Item Model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Sales_Model_Order_Item
Package: Mage\Sales
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Order/Item.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Order/Item.php
protected
|
|
protected
Varien_Object
|
|
protected
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
float|integer
|
|
public
float|integer
|
|
public
float|integer
|
|
public
float|integer
|
|
public
float|integer
|
|
public
|
|
public
|
|
public
integer
|
|
protected
float|null
|
|
public
string
|
|
public static
string
|
|
public
|
|
public static
array
|
|
public
float
|
|
public
|
|
public
array
|
|
public
array
|
#
getProductOptionByCode( string $code = null )
Get product options array by code. If code is null return all options |
public
string
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
Varien_Object
|
#
getBuyRequest( )
Returns formatted buy request - object, holding request received from product view page with keys and options for configured product |
public
|
integer |
STATUS_PENDING
|
1 |
|
integer |
STATUS_SHIPPED
|
2 |
|
integer |
STATUS_INVOICED
|
9 |
|
integer |
STATUS_BACKORDERED
|
3 |
|
integer |
STATUS_CANCELED
|
5 |
|
integer |
STATUS_PARTIAL
|
6 |
|
integer |
STATUS_MIXED
|
7 |
|
integer |
STATUS_REFUNDED
|
8 |
|
integer |
STATUS_RETURNED
|
4 |
protected
string
|
$_eventPrefix | 'sales_order_item' |
#
Prefix of model events names |
protected
string
|
$_eventObject | 'item' |
#
Parameter name in event |
protected static
mixed
|
$_statuses | null |
|
protected
|
$_order | null |
#
Order instance |
protected
mixed
|
$_parentItem | null |
|
protected
array
|
$_children | array() |
$_cacheTag,
$_dataSaveAllowed,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|