The CPayment type exposes the following members.

Constructors

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

Methods

  NameDescription
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCashAccountFinancialEntity
Gets the CFinancialEntity object that corresponds to the CashAccountCode property and the supplied CBatch.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessPayment(CAddressBasic)
Process this CPayment through the gateway as a SALE TransactionType.
Public methodProcessPayment(TransactionType, CAddressBasic)
Process this CPayment through the gateway.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
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
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Public propertyAmount
Gets or sets the monetary amount of this payment.
Public propertyCashAccountCode
Gets or sets a reference to the cash account that should receive/process this payment.
Public propertyCheckPOPaymentNumber
Gets or sets the payment number, e.g., the check number for checks or PO number for purchase orders.
Public propertyClassicPayType
Gets a String representation of the payment type.
Public propertyCreditCardExpiration
Gets or sets the expiration date of the credit card for credit card payments.
Public propertyCreditCardExpirationEncrypted
Gets the credit card expiration date associated with the payment after it has been encrypted.
Public propertyCreditCardExpirationMasked
Gets the CreditCardExpiration masked by asterisks.
Public propertyCreditCardNumber
Gets or sets the credit card number for payments made by credit card.
Public propertyCreditCardSecurityCode
Gets or sets the credit card security code found on the credit card.
Public propertyCreditCardSecurityCodeEncrypted
Gets the credit card security code associated with the payment after it has been encrypted.
Public propertyCreditDebitCardAuthorizationCode
Gets or sets the credit or debit card authorization code typically returned from a 3rd party card processing service.
Public propertyCreditDebitCardHoldersName
Gets or sets the name of the credit or debit card holder, as it appears on the card.
Public propertyCreditDebitCardNumberEncrypted
Gets the credit or debit card number associated with the payment after it has been encrypted.
Public propertyCreditDebitCardNumberMasked
Gets the CreditCardNumber or DebitCardNumber, but with all but the last 4 digits masked by asterisks.
Public propertyCreditDebitCardStatus
Gets or sets the status of the credit card processing on this payment.
Public propertyDebitCardIssueDate
Gets or sets the Issue Date from a European debit card, for debit card payment.
Public propertyDebitCardIssueNumber
Gets or sets the Issue Number from a European debit card, for debit card payment.
Public propertyDebitCardNumber
Gets or sets the debit card number for payments made by debit card.
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyIsAmountLocked
Gets or sets an indicator of whether the Amount property should be locked (i.e., unchangeable).
Public propertyOriginalTransactionId
The original transaction ID returned from the payment processor when the payment has been previously processed through a gateway
Public propertyPaymentAuthorizationAccount
Gets the CPaymentAuthorizationAccount object associated with this CPayment object, or null if there is none.
Public propertyPaymentType
Gets or sets a value that indicates what type of payment this is (e.g., credit card, check, PO, etc.).
Public propertyReferenceNumber
The reference number to be added to a transaction when processed through a payment gateway.
Public propertyTransactionComment1
A comment about the payment
Public propertyTransactionComment2
An additional comment about the payment
Public propertyTransactionId
The transaction ID returned from the payment processor when the payment has been processed through a gateway

See Also