OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / GetPayment Method
The unique identifier of the Payment as a Guid.
Determines if deleted records are allowed to be returned in the result.



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

    Parameters

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

    Return Value

    A comprehensive Payment 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