Share via


Payments Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the payment collection for the current order.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Payments As PaymentCollection
'Usage
Dim instance As OrderForm
Dim value As PaymentCollection

value = instance.Payments
public PaymentCollection Payments { get; }
public:
property PaymentCollection^ Payments {
    PaymentCollection^ get ();
}
public function get Payments () : PaymentCollection

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.PaymentCollection
The PaymentCollection for the current instance.

Remarks

PaymentCollection accepts instances of abstract class Payment, which includes subclasses such as CashCardPayment, PurchaseOrderPayment, GiftCertificatePayment, and PurchaseOrderPayment.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace