MCRCustPaym_GiftCard Class [AX 2012]
The MCRCustPaym_GiftCard class that handles gift card payments.
| Method | Description | |
|---|---|---|
| allowEdit | Determines if a payment field should be editable by the user. (Overrides the allowEdit Method.) |
| allowEditCurrency | Determines if the currency should be allowed to be modified for this payment. (Inherited from MCRCustPaym.) |
| allowEditGiftCardSerialNum | Determines is it is allowable to update the serial number. |
| allowEditInvoiceAccount | Determines if the invoice account should be allowed to be modified for this payment. (Inherited from MCRCustPaym.) |
| allowUserInput | Determines if this payment instance is allowed to prompt the user for input during payment operations. (Inherited from MCRCustPaym.) |
| authorizeChargeManually | Authorizes the payment. (Inherited from MCRCustPaym.) |
| authorizeRefundManually | Authorizes the refund. (Inherited from MCRCustPaym.) |
| canAuthorize | Determines if the payment can be authorized. (Inherited from MCRCustPaym.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canPost | Determines whether the passed amount can be posted. (Overrides the canPost Method.) |
| declineChargeManually | Declines the payment manually. (Inherited from MCRCustPaym.) |
| declineRefundManually | Declines the refund manually. (Inherited from MCRCustPaym.) |
| determineStatus | Creates parent method so it can be called without specifically creating an MCRCustPaym_CreditCard object. (Inherited from MCRCustPaym.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findGiftCard | Finds the gift card record associated with this payment. |
| getDefaultValue | Finds the default value of the passed field if it has been defined. (Overrides the getDefaultValue Method.) |
| getPaymAccount | Gets the payment account and account type. (Overrides the getPaymAccount Method.) |
| getPaymReference | Retrieves an identifier for this payment. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasPaymTypeData | Determines if a gift certificate serial number has been provided. (Overrides the hasPaymTypeData Method.) |
| new | Constructs a new customer payment of type "gift certificate". (Overrides the new Method.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCustInvoiceJour | Gets or sets the CustInvoiceJour table buffer. (Inherited from MCRCustPaym.) |
| parmCustInvoiceTable | Gets or sets the CustInvoiceId to hande free text invoices. (Inherited from MCRCustPaym.) |
| parmCustPaymSchedLine | Gets or sets the CustPaymSchedLine table buffer. (Inherited from MCRCustPaym.) |
| parmDefaultDimension | Sets the default dimension of the LedgerJournalTrans table record. (Inherited from MCRCustPaym.) |
| parmFreeTextInvoiceId | Gets or sets the CustInvoiceId to hande free text invoices. (Inherited from MCRCustPaym.) |
| parmLedgerJournalTable | Sets and return the LedgerJournalTable class variable. (Inherited from MCRCustPaym.) |
| parmLedgerJournalTrans | Gets or sets the LedgerJournalTrans table buffer. (Inherited from MCRCustPaym.) |
| parmMCRLedgerJournal | Sets and return the MCRLedgerJournal class variable. (Inherited from MCRCustPaym.) |
| parmPaymReference | Gets or sets an identifier for this payment. (Inherited from MCRCustPaym.) |
| parmSalesInvoiceId | Gets or sets the SalesInvoiceId. (Inherited from MCRCustPaym.) |
| parmSkipJournalPost | Determines whether or not the LedgerJournalCheckPost's run method will be run in postToLedgerJournal. (Inherited from MCRCustPaym.) |
| paymentChanged | Alters a payment. (Inherited from MCRCustPaym.) |
| performAuth | Performs authorization on this payment. (Overrides the performAuth Method.) |
| performAuthReversal | Throws error because reversal not implemented for Gift certificates. |
| performPost | Performs the posting operations using the passed amount. (Overrides the performPost Method.) |
| post | Posts the payment for the amount passed. (Inherited from MCRCustPaym.) |
| postToLedgerJournal | Creates a ledger journal entry to post payment for the specified amount and retrieves the user setup for customer payment journal name from cust parameters table. (Inherited from MCRCustPaym.) |
| processPaym | Processes a payment for posted amount. (Inherited from MCRCustPaym.) |
| processPaymManually | Processes a payment manually. (Inherited from MCRCustPaym.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateAuthorize | Validates this payment for authorization. (Overrides the validateAuthorize Method.) |
| validateDelete | Determines whether the record is allowed to be deleted. (Inherited from MCRCustPaym.) |
| validatePost | Validates post to ensure that on a return an authorized gift card will not issue an error. (Overrides the validatePost Method.) |
| validateWrite | Validates this payment for an insert or update. (Overrides the validateWrite Method.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::validatePaymentGiftCardSerialNum | Validates whether or not the given serial number is valid. |
Community Additions
ADD
Show: