Class PaymentCollection
Collection of payments.
Inheritance
System.Object
PaymentCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<Payment>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class PaymentCollection : MetaStorageCollectionBase<Payment>, IList, ICollection, IEnumerable<Payment>, IEnumerable
Constructors
PaymentCollection()
Initializes a new instance of the PaymentCollection class.
Declaration
public PaymentCollection()
PaymentCollection(OrderForm)
Initializes a new instance of the PaymentCollection class.
Declaration
public PaymentCollection(OrderForm parent)
Parameters
Type | Name | Description |
---|---|---|
OrderForm | parent | The parent. |
Properties
Parent
Gets the parent OrderForm.
Declaration
public OrderForm Parent { get; }
Property Value
Type | Description |
---|---|
OrderForm | The parent. |
Methods
Add(Payment)
Adds the specified value.
Declaration
public override int Add(Payment value)
Parameters
Type | Name | Description |
---|---|---|
Payment | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Mediachase.Commerce.Storage.MetaStorageCollectionBase<Mediachase.Commerce.Orders.Payment>.Add(Mediachase.Commerce.Orders.Payment)
AddNew(Type)
Adds the new Payment.
Declaration
public Payment AddNew(Type paymentType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | paymentType | Type of the payment. |
Returns
Type | Description |
---|---|
Payment |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable