Class Mage_Sales_Model_Service_Quote

Description

Quote submit service model

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


	
			
Variable Summary
Method Summary
Variables
Mage_Sales_Model_Convert_Quote $_convertor (line 44)

Quote convert object

  • access: protected
Mage_Sales_Model_Order $_order = null (line 65)

Order that may be created during submission

  • access: protected
array $_orderData = array() (line 51)

List of additional order attributes which will be added to order before save

  • access: protected
Mage_Sales_Model_Quote $_quote (line 37)

Quote object

  • access: protected
array $_recurringPaymentProfiles = array() (line 58)

List of recurring payment profiles that may have been generated before placing the order

  • access: protected
bool $_shouldInactivateQuote = true (line 72)

If it is true, quote will be inactivate after submitting order or nominal items

  • access: protected
Methods
Constructor __construct (line 79)

Class constructor

  • access: public
Mage_Sales_Model_Service_Quote __construct (Mage_Sales_Model_Quote $quote)
getOrder (line 247)

Get an order that may had been created during submission

  • access: public
getQuote (line 102)

Get assigned quote object

  • access: public
getRecurringPaymentProfiles (line 237)

Return recurring payment profiles

  • access: public
array getRecurringPaymentProfiles ()
setConvertor (line 91)

Quote convertor declaration

  • access: public
setOrderData (line 113)

Specify additional order data

  • access: public
Mage_Sales_Model_Service_Quote setOrderData ( $data)
  • array $data
submit (line 124)
void submit ()
submitAll (line 212)

Submit all available items

All created items will be set to the object

  • access: public
void submitAll ()
submitNominalItems (line 200)

Submit nominal items

  • access: public
array submitNominalItems ()
submitOrder (line 134)

Submit the quote. Quote submit process will create the order based on quote data

  • access: public
Mage_Sales_Model_Order submitOrder ()
_deleteNominalItems (line 320)

Get rid of all nominal items

  • access: protected
void _deleteNominalItems ()
_inactivateQuote (line 257)

Inactivate quote

  • access: protected
Mage_Sales_Model_Service_Quote _inactivateQuote ()
_submitRecurringPaymentProfiles (line 305)

Submit recurring payment profiles

  • access: protected
void _submitRecurringPaymentProfiles ()
_validate (line 270)

Validate quote data before converting to order

  • access: protected

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