CreditCardProviderProcess Class [AX 2012]
The CreditCardProviderProcess class implements credit card processing for a connector.
| Method | Description | |
|---|---|---|
| calcTaxRate | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkForAddressVerification | Determines whether AVS is required. (Overrides the checkForAddressVerification Method.) |
| checkForCardVerificationValue | Determines whether CVV is required. (Overrides the checkForCardVerificationValue Method.) |
| checkFreight | (Inherited from CreditCardProcess.) |
| createProcessResponse | Creates a process response. (Overrides the createProcessResponse Method.) |
| createRequest | |
| createTaxDetail | Creates the tax detail for level 2 or 3. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| failedDescription | Gets the detailed exception message that has the response message. |
| failedDOLAPI | Returns a message that identifies the API that is causing an error. |
| failedReason | Gets the user-visible response message. (Overrides the failedReason Method.) |
| failedStatus | Sets the text of the failure description. |
| fmtDate | |
| fmtDateTime | |
| fmtNum | |
| getAuthRequest | Returns the properties needed for an authorization request. |
| getCaptureRequest | Returns the properties needed for a capture request. |
| getCardToken | Return the appropriate payment card properties. |
| getCardVerificationValue | Obtains the CVV value from the user. (Overrides the getCardVerificationValue Method.) |
| getClrExceptionMessage | Gets the exception message of the last exception that was thrown. |
| getMiscCharges | Creates the miscellaneous charge details for level 2 or 3. |
| getProcessor | |
| getRefundRequest | Returns the properties needed for an refund request. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTopMiscCharges | |
| getVoidRequest | Returns the properties that are required for a void request. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| handleAuthResponse | Processes the results of an authorization operation. |
| handleCaptureResponse | Processes the results of a capture operation. |
| handleRefundResponse | Processes the results of a refund operation. |
| handleRequest | Setup the standard properties needed to request a credit card operation. |
| handleResponse | Processes the results of a credit card operation. |
| handleVoidResponse | Processes the results of a void operation. |
| init | Initializes the internal state. (Overrides the init Method.) |
| initCardType | Sets the card type to use. |
| initProcessor | Sets the processor to use. |
| isValidCurrencyCodeForCreditCard | (Inherited from CreditCardProcess.) |
| mcrGetCurrencyCode | Retrieves the currency code from the transaction |
| mcrGetInvoiceAccount | Retrieves the invoice account related to the transaction. |
| mcrGetTransactionId | Retrieves the transaction ID. |
| new | Initializes a new instance of the CreditCardProviderProcess class. (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.) |
| onError | Handles error formatting. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCardVerificationValue | Gets or sets the CardVerificationValue parameter. (Inherited from CreditCardProcess.) |
| parmCreditCardAuthTrans | Gets or sets the CreditCardAuthTrans parameter. (Inherited from CreditCardProcess.) |
| parmCreditCardProcessor | Gets the CreditCardProcessor parameter. (Overrides the parmCreditCardProcessor Method.) |
| parmCustInvoiceJour | Gets or sets the CustInvoiceJour parameter. (Inherited from CreditCardProcess.) |
| parmGetCardVerificationValue | Gets or sets the GetCardVerificationValue parameter. (Inherited from CreditCardProcess.) |
| parmMCRCustInvoiceTable | Gets or sets the MCRCustInvoiceTable parameter. (Inherited from CreditCardProcess.) |
| parmMCRCustPaymRecId | Gets or sets the MCRCustPaymRecId parameter. (Inherited from CreditCardProcess.) |
| parmMCRCustPaymSchedLine | Gets or sets the MCRCustPaymSchedLine parameter. (Inherited from CreditCardProcess.) |
| parmMCRCustPaymTable | Gets or sets the MCRCustPaymTable parameter. (Inherited from CreditCardProcess.) |
| parmMCRLedgerJournalTrans | Gets or sets the MCRLedgerJournalTrans parameter. (Inherited from CreditCardProcess.) |
| parmOperation | Gets or sets the Operation parameter. (Inherited from CreditCardProcess.) |
| parmSalesInvoiceId | Gets or sets the SalesInvoiceId parameter. (Inherited from CreditCardProcess.) |
| parmSalesTable | Gets the SalesTable parameter. (Inherited from CreditCardProcess.) |
| parmTotalAmountCur | Gets or sets the TotalAmountCur parameter. (Inherited from CreditCardProcess.) |
| prepareSubmission | Establishes the connection to the processor. (Overrides the prepareSubmission Method.) |
| presentResponse | (Inherited from CreditCardProcess.) |
| process | Carries out all steps that are necessary to complete a credit card operation. (Inherited from CreditCardProcess.) |
| processSucceed | Reports the overall success of the credit card operation. (Overrides the processSucceed Method.) |
| setAmountFromSales | Sets the amount to be charged to the credit card. (Inherited from CreditCardProcess.) |
| setChargeAmount | (Inherited from CreditCardProcess.) |
| setLevel2Data | |
| setLevel3Data | |
| setPurchaseLevelTypeAndDetails | |
| setSalesTotals | Sets the total sales amount. (Overrides the setSalesTotals Method.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| submit | Performs the actual credit card operation. (Overrides the submit Method.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateFailedDescription | |
| updateRelatedCCAuthTrans | (Inherited from CreditCardProcess.) |
| updateSalesTable | Updates the sales table. (Overrides the updateSalesTable Method.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateAVS | Makes sure that AVS reached the requested level. |
| validateCvc | Makes sure that the CVV value is correct. |
| validateTransaction | Checks AVS and CVV values, if these values are required. (Overrides the validateTransaction Method.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the CreditCardProviderProcess class. |
| ::convertSystemDecimalToAmount | Converts a decimal value to a type amount. |
| ::getIsoCurrency | Converts an AX currency code to an ISO currency code. |
| ::getPurchaseLevel | Determines the required level of purchase detail. |
Community Additions
ADD
Show: