Class Mage_Sales_Model_Service_Order

Description

Quote submit service model

Located in /Sales/Model/Service/Order.php (line 30)


	
			
Variable Summary
Method Summary
Mage_Sales_Model_Service_Order __construct (Mage_Sales_Model_Order $order)
Mage_Sales_Model_Order_Invoice prepareInvoice ([ $qtys = array()], array $data)
Mage_Sales_Model_Order_Creditmemo prepareInvoiceCreditmemo ( $invoice, [array $data = array()])
Mage_Sales_Model_Order_Shipment prepareShipment ([ $qtys = array()], array $data)
bool _canInvoiceItem (Mage_Sales_Model_Order_Item $item, [array $qtys = array()])
bool _canRefundItem (Mage_Sales_Model_Order_Item $item, [array $qtys = array()], [array $invoiceQtysRefundLimits = array()])
bool _canRefundNoDummyItem (Mage_Sales_Model_Order_Item $item, [array $invoiceQtysRefundLimits = array()])
bool _canShipItem (Mage_Sales_Model_Order_Item $item, [array $qtys = array()])
void _initCreditmemoData (Mage_Sales_Model_Order_Creditmemo $creditmemo, array $data)
Variables
Mage_Sales_Model_Convert_Order $_convertor (line 44)

Quote convert object

  • access: protected
Mage_Sales_Model_Order $_order (line 37)

Order object

  • access: protected
Methods
Constructor __construct (line 51)

Class constructor

  • access: public
Mage_Sales_Model_Service_Order __construct (Mage_Sales_Model_Order $order)
getOrder (line 74)

Get assigned order object

  • access: public
prepareCreditmemo (line 157)

Prepare order creditmemo based on order items and requested params

  • access: public
Mage_Sales_Model_Order_Creditmemo prepareCreditmemo ([array $data = array()])
  • array $data
prepareInvoice (line 85)

Prepare order invoice based on order data and requested items qtys

  • access: public
Mage_Sales_Model_Order_Invoice prepareInvoice ([ $qtys = array()], array $data)
  • array $data
  • $qtys
prepareInvoiceCreditmemo (line 198)

Prepare order creditmemo based on invoice items and requested requested params

  • access: public
Mage_Sales_Model_Order_Creditmemo prepareInvoiceCreditmemo ( $invoice, [array $data = array()])
  • array $data
  • $invoice
prepareShipment (line 121)

Prepare order shipment based on order items and requested items qty

  • access: public
Mage_Sales_Model_Order_Shipment prepareShipment ([ $qtys = array()], array $data)
  • array $data
  • $qtys
setConvertor (line 63)

Quote convertor declaration

  • access: public
_canInvoiceItem (line 308)

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

  • access: protected
bool _canInvoiceItem (Mage_Sales_Model_Order_Item $item, [array $qtys = array()])
_canRefundItem (line 394)

Check if order item can be refunded

  • access: protected
bool _canRefundItem (Mage_Sales_Model_Order_Item $item, [array $qtys = array()], [array $invoiceQtysRefundLimits = array()])
_canRefundNoDummyItem (line 430)

Check if no dummy order item can be refunded

  • access: protected
bool _canRefundNoDummyItem (Mage_Sales_Model_Order_Item $item, [array $invoiceQtysRefundLimits = array()])
_canShipItem (line 348)

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

  • access: protected
bool _canShipItem (Mage_Sales_Model_Order_Item $item, [array $qtys = array()])
_initCreditmemoData (line 285)

Initialize creditmemo state based on requested parameters

  • access: protected
void _initCreditmemoData (Mage_Sales_Model_Order_Creditmemo $creditmemo, array $data)

Documentation generated on Fri, 11 Feb 2011 17:09:17 +0200 by phpDocumentor 1.4.3