Click or drag to resize

PaymentItem Class

Represents payment item. contains Payment's line items and credit items. There is at least one record in this table for every payment.
Inheritance Hierarchy

Namespace:  CorrigoService.Entities
Assembly:  ClientXMLDoc (in ClientXMLDoc.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class PaymentItem : CorrigoEntityWithOptimisticLock

The PaymentItem type exposes the following members.

Properties
  NameDescription
Public propertyAmtBalance
Object's (credit memo/invoice or payment) remaining balance BEFORE payment was posted. Optional. Zero for draft payments.
Public propertyAmtUsed
Amount taken from credit (auto-calculated), or amount applied to invoice (entered by user). Cannot be negative; zero is allowed only for credit records.
Public propertyCurrencyTypeId
Public propertyIsCredit
True if record stores credit used; False if record is for invoice payment. Required.
Public propertyObjectId
Reference to object which record is based upon, either invoice/credit memo or payment. Required.
Public propertyObjectTypeId
Type ID of the object referenced by record. Required. For credit records it either #29 (credit memo) or #30 (payment). For non-credit records it's always #29 (invoice).
Public propertyRefInvoice
Invoice on which payment is based. Based on and
Public propertyRefPayment
Payment on which payment is based. Based on and
Top
See Also