Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / PaymentCollection Class / LastPayment Method
List of Payment entities.
In This Topic
    LastPayment Method
    In This Topic
    Returns the last payment (in chronological order)
    Syntax
    [Extension()]
    public static Payment LastPayment( 
       IList<Payment> items
    )

    Parameters

    items
    List of Payment entities.

    Return Value

    The last payment made.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also