Create
Magento\Sales\Model\AdminOrder\Create
What it does
This class manages the entire process of creating orders from the Magento admin panel.
It handles quote manipulation, customer data preparation, address management, shipping/payment method selection, and order submission.
Developers would use or extend this class when customizing the admin order creation workflow, such as adding validation rules, modifying how products are added to orders, or customizing the order submission process.
Public Methods
- setIsValidate()
- getIsValidate()
- initRuleData()
- setRecollect()
- recollectCart()
- saveQuote()
- getSession()
- getQuote()
- setQuote()
- initFromOrder()
- initFromOrderItem()
- getCustomerWishlist()
- getCustomerCart()
- getCustomerCompareList()
- getCustomerGroupId()
- moveQuoteItem()
- applySidebarData()
- removeItem()
- removeQuoteItem()
- addProduct()
- addProducts()
- updateQuoteItems()
- getShippingAddress()
- setShippingAddress()
- setShippingAsBilling()
- getBillingAddress()
- setBillingAddress()
- setShippingMethod()
- resetShippingMethod()
- collectShippingRates()
- collectRates()
- setPaymentMethod()
- setPaymentData()
- applyCoupon()
- setAccountData()
- importPostData()
- _prepareCustomer()
- createOrder()