Class Mage_Sales_Model_Service_Order
Quote submit service model
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Sales/Model/Service/Order.php
public
|
|
public
|
|
public
|
|
public
|
#
prepareInvoice( array $qtys = array() )
Prepare order invoice based on order data and requested items qtys. If $qtys is not empty - the function will prepare only specified items, otherwise all containing in the order. |
public
|
#
prepareShipment( array $qtys = array() )
Prepare order shipment based on order items and requested items qty |
public
|
#
prepareCreditmemo( array $data = array() )
Prepare order creditmemo based on order items and requested params |
public
|
#
prepareInvoiceCreditmemo( array $invoice, mixed $data = array() )
Prepare order creditmemo based on invoice items and requested requested params |
protected
|
#
_initCreditmemoData(
Initialize creditmemo state based on requested parameters |
protected
boolean
|
#
_canInvoiceItem(
Check if order item can be invoiced. Dummy item can be invoiced or with his childrens or with parent item which is included to invoice |
protected
boolean
|
#
_canShipItem(
Check if order item can be shiped. Dummy item can be shiped or with his childrens or with parent item which is included to shipment |
protected
boolean
|
#
_canRefundItem(
Check if order item can be refunded |
protected
boolean
|
#
_canRefundNoDummyItem(
Check if no dummy order item can be refunded |
protected
|
$_order |
|
#
Order object |
protected
|
$_convertor |
|
#
Quote convert object |