Dijeli putem


DoAcceptBasket Method

Validates the specified basket with the specified pipeline.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Protected Function DoAcceptBasket ( _
    basketXml As XmlElement, _
    pipelineName As String, _
    saveOrder As Boolean _
) As XmlElement
'Usage
Dim basketXml As XmlElement
Dim pipelineName As String
Dim saveOrder As Boolean
Dim returnValue As XmlElement

returnValue = Me.DoAcceptBasket(basketXml, _
    pipelineName, saveOrder)
protected XmlElement DoAcceptBasket(
    XmlElement basketXml,
    string pipelineName,
    bool saveOrder
)
protected:
XmlElement^ DoAcceptBasket(
    XmlElement^ basketXml, 
    String^ pipelineName, 
    bool saveOrder
)
protected function DoAcceptBasket(
    basketXml : XmlElement, 
    pipelineName : String, 
    saveOrder : boolean
) : XmlElement

Parameters

  • saveOrder
    Type: System..::.Boolean
    Specifies whether the order contained in the basket should be saved to the database. true to save the order to the database; otherwise false.

Return Value

Type: System.Xml..::.XmlElement
XML containing the Basket.

Remarks

If the saveOrder parameter is true, then after validation the basket is converted to a purchase order and saved to the database.

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace