PaymentCollection Constructor
Initializes a new instance of the PaymentCollection class using the specified order group as the parent.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
parentOrderForm As OrderForm _
)
'Usage
Dim parentOrderForm As OrderForm
Dim instance As New PaymentCollection(parentOrderForm)
public PaymentCollection(
OrderForm parentOrderForm
)
public:
PaymentCollection(
OrderForm^ parentOrderForm
)
public function PaymentCollection(
parentOrderForm : OrderForm
)
Parameters
- parentOrderForm
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderForm
The parent OrderForm instance for this collection.
Remarks
Manages a collection of Payment objects. PaymentCollection is a sealed implementation class that represents a collection of Payment objects.
PaymentCollection implements the ICollection interface.
A PaymentCollection will always be associated with an OrderGroup object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.