OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / UpdatePayment Method
A comprehensive Payment object.



In This Topic
    UpdatePayment Method
    In This Topic
    Updates an existing Payment record.
    Syntax
    'Declaration
     
    
    Public Function UpdatePayment( _
       ByVal payment As Payment _
    ) As Boolean
    'Usage
     
    
    Dim instance As DataAccess
    Dim payment As Payment
    Dim value As Boolean
     
    value = instance.UpdatePayment(payment)
    public bool UpdatePayment( 
       Payment payment
    )
    public:
    bool UpdatePayment( 
       Payment^ payment
    ) 

    Parameters

    payment
    A comprehensive Payment object.

    Return Value

    Returns true if the Payment record was successfully updated. Otherwise, returns false.
    Remarks
    A reference to an existing Invoice must be provided in the Invoice field of payment.
    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