The CPayment type exposes the following members.

Constructors

  NameDescription
CPayment
This constructor creates a new, empty CPayment object.

Methods

  NameDescription
CheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Delete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCashAccountFinancialEntity
Gets the CFinancialEntity object that corresponds to the CashAccountCode property and the supplied CBatch.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ProcessPaymentOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Validate
Validates the data set in the payment's properties against cross-property business rules. If any errors are found Validate will return false and the Asi.iBO.Errors property should be checked for details. Validate can be called at any time to check for errors but it will automatically be called at save time.
(Overrides iboBase..::.Validate()()().)

Fields

  NameDescription
mEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
mErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Amount
Gets or sets the monetary amount of this payment.
CashAccountCode
Gets or sets a reference to the cash account that should receive/process this payment.
CheckPOPaymentNumber
Gets or sets the payment number, e.g., the check number for checks or PO number for purchase orders.
ClassicPayType
Gets a String representation of the payment type.
CreditCardExpiration
Gets or sets the expiration date of the credit card for credit card payments.
CreditCardExpirationEncrypted
Gets the credit card expiration date associated with the payment after it has been encrypted.
CreditCardExpirationMasked
Gets the CreditCardExpiration masked by asterisks.
CreditCardNumber
Gets or sets the credit card number for payments made by credit card.
CreditCardSecurityCode
Gets or sets the credit card security code found on the credit card.
CreditCardSecurityCodeEncrypted
Gets the credit card security code associated with the payment after it has been encrypted.
CreditDebitCardAuthorizationCode
Gets or sets the credit or debit card authorization code typically returned from a 3rd party card processing service.
CreditDebitCardHoldersName
Gets or sets the name of the credit or debit card holder, as it appears on the card.
CreditDebitCardNumberEncrypted
Gets the credit or debit card number associated with the payment after it has been encrypted.
CreditDebitCardNumberMasked
Gets the CreditCardNumber or DebitCardNumber, but with all but the last 4 digits masked by asterisks.
CreditDebitCardStatus
Gets or sets the status of the credit card processing on this payment.
DebitCardIssueDate
Gets or sets the Issue Date from a European debit card, for debit card payment.
DebitCardIssueNumber
Gets or sets the Issue Number from a European debit card, for debit card payment.
DebitCardNumber
Gets or sets the debit card number for payments made by debit card.
EditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Errors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
ErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
IsAmountLocked
Gets or sets an indicator of whether the Amount property should be locked (i.e., unchangeable).
OriginalTransactionId
The original transaction ID returned from the payment processor when the payment has been previously processed through a gateway
PaymentAuthorizationAccount
Gets the CPaymentAuthorizationAccount object associated with this CPayment object, or null if there is none.
PaymentType
Gets or sets a value that indicates what type of payment this is (e.g., credit card, check, PO, etc.).
ReferenceNumber
The reference number to be added to a transaction when processed through a payment gateway.
TransactionComment1
A comment about the payment
TransactionComment2
An additional comment about the payment
TransactionId
The transaction ID returned from the payment processor when the payment has been processed through a gateway

See Also