OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / UpdateOrderPrices Method
The unique identifier of the Order as a Guid.



In This Topic
    UpdateOrderPrices Method
    In This Topic
    Updates the pricing of an existing Order.
    Syntax
    'Declaration
     
    
    Public Function UpdateOrderPrices( _
       ByVal orderID As Guid _
    ) As Boolean
    'Usage
     
    
    Dim instance As DataAccess
    Dim orderID As Guid
    Dim value As Boolean
     
    value = instance.UpdateOrderPrices(orderID)
    public bool UpdateOrderPrices( 
       Guid orderID
    )
    public:
    bool UpdateOrderPrices( 
       Guid orderID
    ) 

    Parameters

    orderID
    The unique identifier of the Order as a Guid.

    Return Value

    Returns true if the pricing of the Order was successfully updated. Otherwise, returns false.
    Remarks
    Additionally updates the pricing costs of any PriceModifiers attached to the order, if applicable.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also