OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / GetPriceModifier Method / GetPriceModifier(Guid,Boolean) Method
The unique identifier of the PriceModifier as a Guid.
Determines if deleted records are allowed to be returned in the result.



In This Topic
    GetPriceModifier(Guid,Boolean) Method
    In This Topic
    Retrieves a single PriceModifier object assigned to a given identifier.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetPriceModifier( _
       ByVal priceModifierID As Guid, _
       Optional ByVal loadArchived As Boolean _
    ) As PriceModifier
    'Usage
     
    
    Dim instance As DataAccess
    Dim priceModifierID As Guid
    Dim loadArchived As Boolean
    Dim value As PriceModifier
     
    value = instance.GetPriceModifier(priceModifierID, loadArchived)
    public PriceModifier GetPriceModifier( 
       Guid priceModifierID,
       bool loadArchived
    )
    public:
    PriceModifier^ GetPriceModifier( 
       Guid priceModifierID,
       bool loadArchived
    ) 

    Parameters

    priceModifierID
    The unique identifier of the PriceModifier as a Guid.
    loadArchived
    Determines if deleted records are allowed to be returned in the result.

    Return Value

    A comprehensive PriceModifier object.
    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