Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCEPTED_AUTHORIZED_MERCHANT_REVIEW - Enum constant in enum com.aoapps.payments.AuthorizationResult.ReviewReason
- ACCEPTED_MERCHANT_REVIEW - Enum constant in enum com.aoapps.payments.AuthorizationResult.ReviewReason
- ACH_ONLY - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- ADDRESS_N_ZIP_5 - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ADDRESS_N_ZIP_9 - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ADDRESS_N_ZIP_N - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ADDRESS_NOT_PROVIDED - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ADDRESS_Y_ZIP_5 - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ADDRESS_Y_ZIP_9 - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ADDRESS_Y_ZIP_N - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- AMOUNT_TOO_HIGH - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- APPROVAL_CODE_REQUIRED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- APPROVED - Enum constant in enum com.aoapps.payments.AuthorizationResult.ApprovalResult
- APPROVED_BUT_SETTLEMENT_FAILED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- AuthorizationResult - Class in com.aoapps.payments
-
Encapsulates the results of an authorization.
- AuthorizationResult(String, TransactionResult.CommunicationResult, String, TransactionResult.ErrorCode, String, String, TokenizedCreditCard, String, AuthorizationResult.ApprovalResult, String, AuthorizationResult.DeclineReason, String, AuthorizationResult.ReviewReason, String, AuthorizationResult.CvvResult, String, AuthorizationResult.AvsResult, String) - Constructor for class com.aoapps.payments.AuthorizationResult
-
Creates a new authorization result.
- AuthorizationResult(String, TransactionResult.CommunicationResult, String, TransactionResult.ErrorCode, String, String, String, AuthorizationResult.ApprovalResult, String, AuthorizationResult.DeclineReason, String, AuthorizationResult.ReviewReason, String, AuthorizationResult.CvvResult, String, AuthorizationResult.AvsResult, String) - Constructor for class com.aoapps.payments.AuthorizationResult
-
Deprecated, for removal: This API element is subject to removal in a future version.
- AuthorizationResult.ApprovalResult - Enum in com.aoapps.payments
-
The set of supported approval results.
- AuthorizationResult.AvsResult - Enum in com.aoapps.payments
-
The set of supported address verification results.
- AuthorizationResult.CvvResult - Enum in com.aoapps.payments
-
The set of supported card verification results.
- AuthorizationResult.DeclineReason - Enum in com.aoapps.payments
-
The set of supported decline reasons.
- AuthorizationResult.ReviewReason - Enum in com.aoapps.payments
-
The set of supported review reasons.
- authorize(TransactionRequest, CreditCard) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Authorizes a sale.
- authorize(Principal, Group, TransactionRequest, CreditCard) - Method in class com.aoapps.payments.CreditCardProcessor
-
Authorizes a sale.
- authorizeCompleted(Principal, Transaction) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Updates a transaction in the database after the authorize has completed.
- authorizeCompleted(Principal, Transaction) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- AUTHORIZED - Enum constant in enum com.aoapps.payments.Transaction.Status
- AUTHORIZED_NOTIFICATION_FAILED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- AVS_FAILURE - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- AVS_MISMATCH - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
B
- BLOCKED_IP - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
C
- canGetTokenizedCreditCards() - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Queries the provider to see if they support retrieving the list of cards from the secure storage of credit cards.
- canStoreCreditCards() - Method in class com.aoapps.payments.CreditCardProcessor
-
Queries the provider to see if they support the secure storage of credit cards.
- canStoreCreditCards() - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Queries the provider to see if they support the secure storage of credit cards.
- capture(AuthorizationResult) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Captures the funds from a previous call to
authorize
. - capture(Principal, Transaction) - Method in class com.aoapps.payments.CreditCardProcessor
-
Captures the funds from a previous call to
authorize
. - CAPTURE_AMOUNT_GREATER_THAN_AUTHORIZATION - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CAPTURE_AMOUNT_LESS_THAN_AUTHORIZATION - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CAPTURED - Enum constant in enum com.aoapps.payments.Transaction.Status
- CaptureResult - Class in com.aoapps.payments
-
Encapsulates the results of a capture.
- CaptureResult(String, TransactionResult.CommunicationResult, String, TransactionResult.ErrorCode, String, String) - Constructor for class com.aoapps.payments.CaptureResult
-
Creates a new capture result.
- CARD_EXPIRED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CARD_NUMBER_DISPLAY_PREFIX - Static variable in class com.aoapps.payments.CreditCard
-
The prefix used for
CreditCard.getCardNumberDisplay(java.lang.String)
. - CARD_TYPE_NOT_SUPPORTED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CHARGEBACK - Enum constant in enum com.aoapps.payments.Transaction.Status
- clone() - Method in class com.aoapps.payments.AuthorizationResult
- clone() - Method in class com.aoapps.payments.CaptureResult
- clone() - Method in class com.aoapps.payments.CreditCard
- clone() - Method in class com.aoapps.payments.Transaction
- clone() - Method in class com.aoapps.payments.TransactionRequest
- clone() - Method in class com.aoapps.payments.VoidResult
- com.aoapps.payments - package com.aoapps.payments
- com.aoapps.payments.api - module com.aoapps.payments.api
- credit(TransactionRequest, CreditCard) - Method in class com.aoapps.payments.CreditCardProcessor
-
Requests a credit.
- credit(TransactionRequest, CreditCard) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Requests a credit.
- CREDIT_CRITERIA_NOT_MET - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CreditCard - Class in com.aoapps.payments
-
Encapsulates the credit card details that are sent to the bank, retrieved from the database, or manipulated in any way.
- CreditCard() - Constructor for class com.aoapps.payments.CreditCard
-
Creates an empty CreditCard.
- CreditCard(String, String, String, String, String, String, String, byte, short, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Constructor for class com.aoapps.payments.CreditCard
-
Creates a CreditCard providing all of the details.
- CreditCardProcessor - Class in com.aoapps.payments
-
Processes credit card payments with pluggable merchant services providers and persistence mechanisms.
- CreditCardProcessor(MerchantServicesProvider, PersistenceMechanism) - Constructor for class com.aoapps.payments.CreditCardProcessor
-
Creates a new
CreditCardProcessor
. - CreditResult - Class in com.aoapps.payments
-
Encapsulates the results of a credit.
- CreditResult(String, TransactionResult.CommunicationResult, String, TransactionResult.ErrorCode, String, String) - Constructor for class com.aoapps.payments.CreditResult
-
Creates a new credit result.
- CURRENCY_NOT_SUPPORTED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CUSTOMER_ACCOUNT_DISABLED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- CVV2_MISMATCH - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- CVV2_NOT_PROVIDED_BY_MERCHANT - Enum constant in enum com.aoapps.payments.AuthorizationResult.CvvResult
D
- DECLINED - Enum constant in enum com.aoapps.payments.AuthorizationResult.ApprovalResult
- DECLINED - Enum constant in enum com.aoapps.payments.Transaction.Status
- DEFAULT_DUPLICATE_WINDOW - Static variable in class com.aoapps.payments.TransactionRequest
-
The default number of seconds for duplication detection.
- deleteCreditCard(CreditCard) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Deleted the credit card from the provider's secure storage.
- deleteCreditCard(Principal, CreditCard) - Method in class com.aoapps.payments.CreditCardProcessor
-
Deletes the credit card information from the secure storage.
- deleteCreditCard(Principal, CreditCard) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Deletes the credit card from the credit card list.
- deleteCreditCard(Principal, CreditCard) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- DUPLICATE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
E
- ERROR - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- ERROR_TRY_AGAIN - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- ERROR_TRY_AGAIN_5_MINUTES - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- ErrorCodeException - Exception Class in com.aoapps.payments
-
Extends
LocalizedIOException
to provide exceptions along with the corresponding error code. - ErrorCodeException(TransactionResult.ErrorCode, String) - Constructor for exception class com.aoapps.payments.ErrorCodeException
-
Creates a new
ErrorCodeException
. - ErrorCodeException(TransactionResult.ErrorCode, String, Serializable...) - Constructor for exception class com.aoapps.payments.ErrorCodeException
-
Creates a new
ErrorCodeException
. - ErrorCodeException(Throwable, TransactionResult.ErrorCode, String) - Constructor for exception class com.aoapps.payments.ErrorCodeException
-
Creates a new
ErrorCodeException
. - ErrorCodeException(Throwable, TransactionResult.ErrorCode, String, Serializable...) - Constructor for exception class com.aoapps.payments.ErrorCodeException
-
Creates a new
ErrorCodeException
. - EXPIRATION_DISPLAY_SEPARATOR - Static variable in class com.aoapps.payments.CreditCard
-
The middle separator used for
CreditCard.getExpirationDisplay(java.lang.Byte, java.lang.Short)
. - EXPIRATION_YEARS_FUTURE - Static variable in class com.aoapps.payments.CreditCard
-
The maximum number of years in the future expected for an expiration year, inclusive.
- EXPIRED_CARD - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
F
- FRAUD_DETECTED - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
G
- GATEWAY_ERROR - Enum constant in enum com.aoapps.payments.Transaction.Status
- GATEWAY_ERROR - Enum constant in enum com.aoapps.payments.TransactionResult.CommunicationResult
- GATEWAY_SECURITY_GUIDELINES_NOT_MET - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- getAmount() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the amount of the transaction.
- getApprovalCode() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the approval code.
- getApprovalResult() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-neutral approval response code.
- getAuthorizationPrincipalName() - Method in class com.aoapps.payments.Transaction
- getAuthorizationResult() - Method in class com.aoapps.payments.SaleResult
- getAuthorizationResult() - Method in class com.aoapps.payments.Transaction
- getAuthorizationTime() - Method in class com.aoapps.payments.Transaction
- getAvsResult() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-neutral AVS result.
- getCapturePrincipalName() - Method in class com.aoapps.payments.Transaction
- getCaptureResult() - Method in class com.aoapps.payments.SaleResult
- getCaptureResult() - Method in class com.aoapps.payments.Transaction
- getCaptureTime() - Method in class com.aoapps.payments.Transaction
- getCardCode() - Method in class com.aoapps.payments.CreditCard
-
Gets the three or four digit card security code.
- getCardNumber() - Method in class com.aoapps.payments.CreditCard
-
Gets the full credit card number.
- getCardNumberDisplay() - Method in class com.aoapps.payments.CreditCard
- getCardNumberDisplay(String) - Static method in class com.aoapps.payments.CreditCard
- getCity() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's city.
- getComments() - Method in class com.aoapps.payments.CreditCard
-
Gets the comments associated with this card.
- getCommunicationResult() - Method in class com.aoapps.payments.TransactionResult
-
Gets the communication result.
- getCompanyName() - Method in class com.aoapps.payments.CreditCard
-
Gets the company name of the card holder.
- getCountryCode() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's two-digit ISO 3166-1 alpha-2 country code.
- getCreditCard() - Method in class com.aoapps.payments.Transaction
- getCreditCard(Principal, String) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Gets a defensive copy of a stored card given its
persistenceUniqueId
. - getCreditCard(Principal, String) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- getCreditCards(Principal) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Gets all the stored cards.
- getCreditCards(Principal) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- getCreditCards(Principal, String) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Gets all the stored cards for a given
providerId
. - getCreditCards(Principal, String) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- getCurrency() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the currency for this transaction.
- getCustomerId() - Method in class com.aoapps.payments.CreditCard
-
Gets the merchant-specific unique customer ID.
- getCustomerIp() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the customer IP.
- getCustomerTaxId() - Method in class com.aoapps.payments.CreditCard
-
Gets the customer SSN or Tax ID.
- getCvvResult() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-neutral CVV result.
- getDeclineReason() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-neutral decline reason.
- getDescription() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the merchant-assigned description.
- getDuplicateWindow() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the duplicate detection window in seconds.
- getDutyAmount() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the duty charges of the transaction.
- getEmail() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's email address.
- getEmailCustomer() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the flag indicating if the customer will be emailed directly by the payment gateway.
- getErrorCode() - Method in exception class com.aoapps.payments.ErrorCodeException
- getErrorCode() - Method in class com.aoapps.payments.TransactionResult
-
Gets the provider-neutral error code.
- getExpirationDateMMYY() - Method in class com.aoapps.payments.CreditCard
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
CreditCard.getExpirationDateMMYY(boolean)
allowing for unknown expirations - getExpirationDateMMYY(boolean) - Method in class com.aoapps.payments.CreditCard
-
Gets the expiration date in MMYY format, not including any
CreditCard.UNKNOWN_DIGIT
. - getExpirationDateMMYY(byte, short) - Static method in class com.aoapps.payments.CreditCard
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
CreditCard.getExpirationDateMMYY(byte, short, boolean)
allowing for unknown expirations - getExpirationDateMMYY(byte, short, boolean) - Static method in class com.aoapps.payments.CreditCard
-
Gets an expiration date in MMYY format.
- getExpirationDisplay() - Method in class com.aoapps.payments.CreditCard
- getExpirationDisplay(Byte, Short) - Static method in class com.aoapps.payments.CreditCard
-
Gets the expiration display in "MM / YYYY" format or
null
when both month and year are unknown. - getExpirationMonth() - Method in class com.aoapps.payments.CreditCard
-
Gets the expiration month, where 1 is January and 12 is December.
- getExpirationYear() - Method in class com.aoapps.payments.CreditCard
-
Gets the expiration year, such as
2007
. - getFax() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's fax number.
- getFirstName() - Method in class com.aoapps.payments.CreditCard
-
Gets the first name of the card holder.
- getFullName(String, String) - Static method in class com.aoapps.payments.CreditCard
-
Combines the first and last names into a single name String.
- getGroupName() - Method in class com.aoapps.payments.CreditCard
-
Gets the name of the group this card belongs to.
- getGroupName() - Method in class com.aoapps.payments.Transaction
- getInstance(String) - Static method in class com.aoapps.payments.PropertiesPersistenceMechanism
-
For intra-JVM reusability, only one instance is made per unique path.
- getInvoiceNumber() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the merchant-assigned invoice number.
- getLastName() - Method in class com.aoapps.payments.CreditCard
-
Gets the last name of the card holder.
- getMaskedCardNumber() - Method in class com.aoapps.payments.CreditCard
-
Gets the masked card number.
- getMerchantEmail() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the merchant email address that will be emailed a copy of the customer email directly by the payment gateway.
- getMerchantServicesProvider(String, String, String, String, String, String) - Static method in class com.aoapps.payments.MerchantServicesProviderFactory
-
Gets the provider for the given parameters.
Only one instance of each unique providerId, classname and all parameters will be created. - getOrderNumber() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the unique order number.
- getPersistenceUniqueId() - Method in class com.aoapps.payments.CreditCard
-
Gets the persistence unique identifier.
- getPersistenceUniqueId() - Method in class com.aoapps.payments.Transaction
- getPhone() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's telephone number.
- getPostalCode() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's postal code.
- getPrincipalName() - Method in class com.aoapps.payments.CreditCard
-
Gets the name of the principal who added the card.
- getProviderApprovalResult() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-specific approval response.
- getProviderAvsResult() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-specific AVS result.
- getProviderCvvResult() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-specific CVV result.
- getProviderDeclineReason() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-specific decline reason.
- getProviderErrorCode() - Method in class com.aoapps.payments.TransactionResult
-
Gets the provider-specific error code.
- getProviderErrorMessage() - Method in class com.aoapps.payments.TransactionResult
-
Gets the provider-specific error message.
- getProviderId() - Method in class com.aoapps.payments.CreditCard
-
Gets the id of the merchant services provider that is storing this card.
- getProviderId() - Method in class com.aoapps.payments.CreditCardProcessor
-
Gets the uniqueId of the provider this processor is using.
- getProviderId() - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Gets the unique identifier for this provider.
- getProviderId() - Method in class com.aoapps.payments.Transaction
- getProviderId() - Method in class com.aoapps.payments.TransactionResult
-
Gets the id of the provider that processed this transaction.
- getProviderReplacementExpiration() - Method in class com.aoapps.payments.TokenizedCreditCard
-
Gets the provider-specific replacement expiration date for this tokenized card.
- getProviderReplacementMaskedCardNumber() - Method in class com.aoapps.payments.TokenizedCreditCard
-
Gets the provider-specific replacement masked card number for this tokenized card.
- getProviderReviewReason() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-specific review reason.
- getProviderUniqueId() - Method in class com.aoapps.payments.CreditCard
-
Gets the provider-specific unique id representing this card.
- getProviderUniqueId() - Method in class com.aoapps.payments.TokenizedCreditCard
-
Gets the provider-specific unique identifier.
- getProviderUniqueId() - Method in class com.aoapps.payments.TransactionResult
-
Gets the provider-specific unique identifier.
- getPurchaseOrderNumber() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the purchase order number.
- getReplacementExpirationMonth() - Method in class com.aoapps.payments.TokenizedCreditCard
-
Gets the replacement expiration month for this tokenized card.
- getReplacementExpirationYear() - Method in class com.aoapps.payments.TokenizedCreditCard
-
Gets the replacement expiration year for this tokenized card.
- getReplacementMaskedCardNumber() - Method in class com.aoapps.payments.TokenizedCreditCard
-
Gets the replacement masked card number for this tokenized card.
- getReviewReason() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the provider-neutral review reason.
- getShippingAmount() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping amount of the transaction.
- getShippingCity() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping city.
- getShippingCompanyName() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the company name of the recipient.
- getShippingCountryCode() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping two-digit ISO 3166-1 alpha-2 country code.
- getShippingFirstName() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the first name of the recipient.
- getShippingLastName() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the last name of the recipient.
- getShippingPostalCode() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping postal code.
- getShippingState() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping state/province/prefecture.
- getShippingStreetAddress1() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping street address (first line).
- getShippingStreetAddress2() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the shipping street address (second line).
- getState() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's state/province/prefecture.
- getStatus() - Method in class com.aoapps.payments.Transaction
- getStreetAddress1() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's street address (first line).
- getStreetAddress2() - Method in class com.aoapps.payments.CreditCard
-
Gets the card holder's street address (second line).
- getTaxAmount() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the tax amount of the transaction.
- getTaxExempt() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the tax exempt flag.
- getTestMode() - Method in class com.aoapps.payments.TransactionRequest
-
Gets the test mode for this transaction.
- getTokenizedCreditCard() - Method in class com.aoapps.payments.AuthorizationResult
-
Gets the tokenized card used for this authorization.
- getTokenizedCreditCards(Map<String, CreditCard>, PrintWriter, PrintWriter, PrintWriter) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Gets all stored credit cards, with optional replacement masked card numbers and/or expiration dates.
- getTotalAmount() - Method in class com.aoapps.payments.TransactionRequest
-
Adds-up all amounts into a total amount.
- getTotalAmount(BigDecimal, BigDecimal, BigDecimal, BigDecimal) - Static method in class com.aoapps.payments.TransactionRequest
-
Adds-up all amounts into a total amount.
- getTransactionRequest() - Method in class com.aoapps.payments.Transaction
- getVoidPrincipalName() - Method in class com.aoapps.payments.Transaction
- getVoidResult() - Method in class com.aoapps.payments.Transaction
- getVoidTime() - Method in class com.aoapps.payments.Transaction
H
- HASH_CHECK_FAILED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- HOLD - Enum constant in enum com.aoapps.payments.AuthorizationResult.ApprovalResult
- HOLD - Enum constant in enum com.aoapps.payments.Transaction.Status
I
- insertTransaction(Principal, Group, Transaction) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Inserts a new transaction into the database and returns its persistenceUniqueId.
- insertTransaction(Principal, Group, Transaction) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- INSUFFICIENT_FUNDS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- INSUFFICIENT_PERMISSIONS - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- internalCreditCards - Variable in class com.aoapps.payments.PropertiesPersistenceMechanism
-
The list of credit cards in the database.
- internalTransactions - Variable in class com.aoapps.payments.PropertiesPersistenceMechanism
-
The list of transactions in the database.
- INVALID_AMOUNT - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_APPROVAL_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_ADDRESS - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_CITY - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_COUNTRY_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_EMAIL - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_FAX - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_NAME - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_NUMBER - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_PHONE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_POSTAL_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CARD_STATE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CURRENCY_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_CUSTOMER_TAX_ID - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_DUTY_AMOUNT - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_EXPIRATION_DATE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_INVOICE_NUMBER - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_MERCHANT_ID - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_ORDER_NUMBER - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_PARTNER - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_PROVIDER_UNIQUE_ID - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_ADDRESS - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_AMOUNT - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_CITY - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_COUNTRY_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_NAME - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_POSTAL_CODE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_SHIPPING_STATE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_TAX_AMOUNT - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- INVALID_TRANSACTION_TYPE - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- IO_ERROR - Enum constant in enum com.aoapps.payments.Transaction.Status
- IO_ERROR - Enum constant in enum com.aoapps.payments.TransactionResult.CommunicationResult
L
- LOCAL_ERROR - Enum constant in enum com.aoapps.payments.Transaction.Status
- LOCAL_ERROR - Enum constant in enum com.aoapps.payments.TransactionResult.CommunicationResult
M
- MANUAL_REVIEW - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- MASK_CHARACTER - Static variable in class com.aoapps.payments.CreditCard
-
The character used representing a masked digit.
- MASK_END_DIGITS - Static variable in class com.aoapps.payments.CreditCard
-
The maximum number of ending digits kept when masked.
- MASK_START_DIGITS - Static variable in class com.aoapps.payments.CreditCard
-
The maximum number of starting digits kept when masked.
- maskCreditCardNumber(String) - Static method in class com.aoapps.payments.CreditCard
-
Only keeps the first
CreditCard.MASK_START_DIGITS
and lastCreditCard.MASK_END_DIGITS
digits of a card number after trimming. - MATCH - Enum constant in enum com.aoapps.payments.AuthorizationResult.CvvResult
- MAX_SALE_EXCEEDED - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- MerchantServicesProvider - Interface in com.aoapps.payments
-
This set of functions may be provided by a specific merchant services provider/bank.
- MerchantServicesProviderFactory - Class in com.aoapps.payments
-
Creates instances of
MerchantServicesProvider
s based on the provided parameters. - MIN_EXPIRATION_YEAR - Static variable in class com.aoapps.payments.CreditCard
-
The minimum expected expiration year.
- MIN_SALE_NOT_MET - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- MUST_BE_ENCRYPTED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
N
- NO_MATCH - Enum constant in enum com.aoapps.payments.AuthorizationResult.CvvResult
- NO_SESSION - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- NO_SPECIFIC - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- NON_US_CARD - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- NOT_APPLICABLE - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- NOT_PROCESSED - Enum constant in enum com.aoapps.payments.AuthorizationResult.CvvResult
- NOT_PROVIDED - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- NOT_SUPPORTED_BY_ISSUER - Enum constant in enum com.aoapps.payments.AuthorizationResult.CvvResult
- numbersOnly(String) - Static method in class com.aoapps.payments.CreditCard
-
Gets the numbers out of a String, not including any
CreditCard.UNKNOWN_DIGIT
. - numbersOnly(String, boolean) - Static method in class com.aoapps.payments.CreditCard
-
Gets the numbers out of a String.
P
- PACKAGE_RESOURCES - Static variable in class com.aoapps.payments.Resources
- persistenceMechanism - Variable in class com.aoapps.payments.CreditCardProcessor
- PersistenceMechanism - Interface in com.aoapps.payments
-
A persistence mechanism stores the credit card data and transaction history.
- PICK_UP_CARD - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- PROCESSING - Enum constant in enum com.aoapps.payments.Transaction.Status
- propertiesFilePath - Variable in class com.aoapps.payments.PropertiesPersistenceMechanism
-
The properties file path is obtained at creation time just in case the configuration mapping changes values.
- PropertiesPersistenceMechanism - Class in com.aoapps.payments
-
Stores everything in a simple on-disk properties file.
- provider - Variable in class com.aoapps.payments.CreditCardProcessor
- PROVIDER_CONFIGURATION_ERROR - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
R
- RATE_LIMIT - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- Resources - Class in com.aoapps.payments
-
Provides a simplified interface for obtaining localized values from the ApplicationResources.properties files.
- RETRY - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- RISK_MANAGEMENT - Enum constant in enum com.aoapps.payments.AuthorizationResult.ReviewReason
S
- sale(TransactionRequest, CreditCard) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Performs an immediate sale, effectively a combination of
authorize
andcapture
. - sale(Principal, Group, TransactionRequest, CreditCard) - Method in class com.aoapps.payments.CreditCardProcessor
-
Performs an immediate sale, effectively a combination of
authorize
andcapture
. - saleCompleted(Principal, Transaction) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Updates a transaction in the database after the sale has completed.
- saleCompleted(Principal, Transaction) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- SaleResult - Class in com.aoapps.payments
-
Encapsulates the results of a sale.
- SaleResult(AuthorizationResult, CaptureResult) - Constructor for class com.aoapps.payments.SaleResult
-
Creates a new
SaleResult
. - SERVICE_NOT_SUPPORTED - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- setAmount(BigDecimal) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the amount of the transaction.
- setAuthorizationPrincipalName(String) - Method in class com.aoapps.payments.Transaction
- setAuthorizationResult(AuthorizationResult) - Method in class com.aoapps.payments.Transaction
- setAuthorizationTime(long) - Method in class com.aoapps.payments.Transaction
- setCapturePrincipalName(String) - Method in class com.aoapps.payments.Transaction
- setCaptureResult(CaptureResult) - Method in class com.aoapps.payments.Transaction
- setCaptureTime(long) - Method in class com.aoapps.payments.Transaction
- setCardCode(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the three or four digit card security code.
- setCardNumber(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the full credit card number.
- setCity(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's city.
- setComments(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the comments associated with this card.
- setCompanyName(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the company name of the card holder.
- setCountryCode(String) - Method in class com.aoapps.payments.CreditCard
-
Trims, converts to upper case, and sets the card holder's two-digit ISO 3166-1 alpha-2 country code.
- setCreditCard(CreditCard) - Method in class com.aoapps.payments.Transaction
- setCurrency(Currency) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the currency code for this transaction.
- setCustomerId(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the merchant-specific unique customer ID.
- setCustomerIp(String) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the customer IP.
- setCustomerTaxId(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the customer SSN or Tax ID, removes any spaces and hyphens.
- setDescription(String) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the merchant-assigned description.
- setDuplicateWindow(int) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the duplicate detenction window in seconds.
- setDutyAmount(BigDecimal) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the duty charges of the transaction.
- setEmail(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's email address.
- setEmailCustomer(boolean) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the flag indicating if the customer will be emailed directly by the payment gateway.
- setExpirationMonth(byte) - Method in class com.aoapps.payments.CreditCard
-
Sets the expiration month, where 1 is January and 12 is December.
- setExpirationYear(short) - Method in class com.aoapps.payments.CreditCard
-
Sets the expiration year, such as
2007
. - setFax(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's fax number.
- setFirstName(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the first name of the card holder.
- setGroupName(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the name of the group this card belongs to.
- setGroupName(String) - Method in class com.aoapps.payments.Transaction
- setInvoiceNumber(String) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the merchant-assigned invoice number.
- setLastName(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the last name of the card holder.
- setMaskedCardNumber(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the masked card number.
- setMerchantEmail(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the merchant email address that will be emailed a copy of the customer email directly by the payment gateway.
- setOrderNumber(String) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the unique order number.
- setPersistenceUniqueId(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the persistence unique identifier.
- setPersistenceUniqueId(String) - Method in class com.aoapps.payments.Transaction
- setPhone(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's telephone number.
- setPostalCode(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's postal code.
- setPrincipalName(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the name of the principal who added the card.
- setProviderId(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the id of the merchant services provider that is storing this card.
- setProviderId(String) - Method in class com.aoapps.payments.Transaction
- setProviderUniqueId(String) - Method in class com.aoapps.payments.CreditCard
-
Sets the provider-specific unique id representing this card.
- setPurchaseOrderNumber(String) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the purchase order number.
- setShippingAmount(BigDecimal) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the shipping amount of the transaction.
- setShippingCity(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the shipping city.
- setShippingCompanyName(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the company name of the recipient.
- setShippingCountryCode(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims, converts to upper case, and sets the shipping two-digit ISO 3166-1 alpha-2 country code.
- setShippingFirstName(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the first name of the recipient.
- setShippingLastName(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the last name of the recipient.
- setShippingPostalCode(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the shipping postal code.
- setShippingState(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the shipping state/province/prefecture.
- setShippingStreetAddress1(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the shipping street address (first line).
- setShippingStreetAddress2(String) - Method in class com.aoapps.payments.TransactionRequest
-
Trims and sets the shipping street address (second line).
- setState(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's state/province/prefecture.
- setStatus(Transaction.Status) - Method in class com.aoapps.payments.Transaction
- setStreetAddress1(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's street address (first line).
- setStreetAddress2(String) - Method in class com.aoapps.payments.CreditCard
-
Trims and sets the card holder's street address (second line).
- setTaxAmount(BigDecimal) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the tax amount of the transaction.
- setTaxExempt(boolean) - Method in class com.aoapps.payments.TransactionRequest
-
Set the tax exempt flag.
- setTestMode(boolean) - Method in class com.aoapps.payments.TransactionRequest
-
Sets the test mode for this transaction.
- setTransactionRequest(TransactionRequest) - Method in class com.aoapps.payments.Transaction
- setVoidPrincipalName(String) - Method in class com.aoapps.payments.Transaction
- setVoidResult(VoidResult) - Method in class com.aoapps.payments.Transaction
- setVoidTime(long) - Method in class com.aoapps.payments.Transaction
- STOLEN_OR_LOST_CARD - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- storeCreditCard(CreditCard) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Stores a credit card securely for later reuse, returning its providerUniqueId.
- storeCreditCard(Principal, Group, CreditCard) - Method in class com.aoapps.payments.CreditCardProcessor
-
Stores a credit card securely for later reuse.
- storeCreditCard(Principal, CreditCard) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Stores a credit card and returns its persistenceUniqueId.
- storeCreditCard(Principal, CreditCard) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- SUCCESS - Enum constant in enum com.aoapps.payments.TransactionResult.CommunicationResult
- SUM_OF_CREDITS_TOO_HIGH - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- synchronizeStoredCards(Principal, PrintWriter, PrintWriter, PrintWriter, boolean) - Method in class com.aoapps.payments.CreditCardProcessor
-
Synchronizes any replacement masked card numbers or expiration dates from the provider back into the persistence mechanism.
T
- TokenizedCreditCard - Class in com.aoapps.payments
-
Minimal information available from
MerchantServicesProvider
for stored cards. - TokenizedCreditCard(String, String, String, String, Byte, Short) - Constructor for class com.aoapps.payments.TokenizedCreditCard
-
Creates a new tokenized credit card.
- toString() - Method in enum com.aoapps.payments.AuthorizationResult.ApprovalResult
-
Gets the display value.
- toString() - Method in enum com.aoapps.payments.AuthorizationResult.AvsResult
-
Gets the display value.
- toString() - Method in enum com.aoapps.payments.AuthorizationResult.CvvResult
-
Gets the display value.
- toString() - Method in enum com.aoapps.payments.AuthorizationResult.DeclineReason
-
Gets the display value.
- toString() - Method in enum com.aoapps.payments.AuthorizationResult.ReviewReason
-
Gets the display value.
- toString() - Method in enum com.aoapps.payments.Transaction.Status
- toString() - Method in enum com.aoapps.payments.TransactionResult.CommunicationResult
- toString() - Method in enum com.aoapps.payments.TransactionResult.ErrorCode
- Transaction - Class in com.aoapps.payments
-
Encapsulates all the details of one transaction, including request, credit card details, and response.
- Transaction() - Constructor for class com.aoapps.payments.Transaction
-
Creates an empty Transaction.
- Transaction(String, String, String, TransactionRequest, CreditCard, long, String, AuthorizationResult, long, String, CaptureResult, long, String, VoidResult, Transaction.Status) - Constructor for class com.aoapps.payments.Transaction
-
Creates a Transaction providing all of the details.
- TRANSACTION_NOT_FOUND - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- TRANSACTION_NOT_SETTLED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- Transaction.Status - Enum in com.aoapps.payments
-
The set of supported transaction statuses.
- TransactionRequest - Class in com.aoapps.payments
-
Encapsulates the details about a specific transaction request, which will be sent to either
sale
orauthorize
. - TransactionRequest() - Constructor for class com.aoapps.payments.TransactionRequest
-
Creates an empty TransactionRequest.
- TransactionRequest(boolean, String, int, String, Currency, BigDecimal, BigDecimal, boolean, BigDecimal, BigDecimal, String, String, String, String, String, String, String, String, String, boolean, String, String, String, String) - Constructor for class com.aoapps.payments.TransactionRequest
-
Creates a TransactionRequest providing all of the details.
- TransactionResult - Class in com.aoapps.payments
-
Encapsulates the results of any type of transaction with the merchant services provider.
- TransactionResult(String, TransactionResult.CommunicationResult, String, TransactionResult.ErrorCode, String, String) - Constructor for class com.aoapps.payments.TransactionResult
-
Creates a new
TransactionResult
. - TransactionResult.CommunicationResult - Enum in com.aoapps.payments
-
The set of supported communication results.
- TransactionResult.ErrorCode - Enum in com.aoapps.payments
-
The set of supported error codes.
U
- UNAVAILABLE - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- UNKNOWN - Enum constant in enum com.aoapps.payments.AuthorizationResult.AvsResult
- UNKNOWN - Enum constant in enum com.aoapps.payments.AuthorizationResult.CvvResult
- UNKNOWN - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- UNKNOWN - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- UNKNOWN_DIGIT - Static variable in class com.aoapps.payments.CreditCard
-
The character used for an unknown digits.
- UNKNOWN_EXPIRATION_MONTH - Static variable in class com.aoapps.payments.CreditCard
-
Value used to represent an unknown expiration month.
- UNKNOWN_EXPIRATION_YEAR - Static variable in class com.aoapps.payments.CreditCard
-
Value used to represent an unknown expiration year.
- UNKNOWN_EXPRIATION_MONTH - Static variable in class com.aoapps.payments.CreditCard
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
CreditCard.UNKNOWN_EXPIRATION_MONTH
instead. - UNKNOWN_EXPRIATION_YEAR - Static variable in class com.aoapps.payments.CreditCard
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
CreditCard.UNKNOWN_EXPIRATION_YEAR
instead. - UNKNOWN_MIDDLE - Static variable in class com.aoapps.payments.CreditCard
-
When the number of digits is unknown, such as generating a possible masked card number from type + last4, this can be used as a filler between beginning and end of the card number.
- updateCardNumber(Principal, CreditCard, String, byte, short) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Updates the stored card number and expiration for a credit card.
- updateCardNumber(Principal, CreditCard, String, byte, short) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
-
Card numbers are not persisted to the properties files - encrypted local storage not supported.
- updateCreditCard(CreditCard) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Updates the credit card details, all except the card number and expiration.
- updateCreditCard(Principal, CreditCard) - Method in class com.aoapps.payments.CreditCardProcessor
-
Updates the credit card details, all except the card number and expiration.
- updateCreditCard(Principal, CreditCard) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Updates the stored credit card details, all except the card number, expiration, and card security code, for a credit card.
- updateCreditCard(Principal, CreditCard) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
-
Updates the stored credit card details, all except the card number, expiration, and card security code, for a credit card.
- updateCreditCardExpiration(CreditCard, byte, short) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Updates the credit card expiration in the secure storage, card expiration on
creditCard
are not changed. - updateCreditCardExpiration(Principal, CreditCard, byte, short) - Method in class com.aoapps.payments.CreditCardProcessor
-
Updates the credit card expiration.
- updateCreditCardNumberAndExpiration(CreditCard, String, byte, short, String) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Updates the credit card number, expiration, and (optionally) card code in the secure storage, card number, expiration, and card code on
creditCard
are not changed. - updateCreditCardNumberAndExpiration(Principal, CreditCard, String, byte, short, String) - Method in class com.aoapps.payments.CreditCardProcessor
-
Updates the credit card number, expiration, and (optionally) card code.
- updateExpiration(Principal, CreditCard, byte, short) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Optionally updates the expiration for a credit card.
- updateExpiration(Principal, CreditCard, byte, short) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
-
Encrypted local storage not supported.
- USAGE_EXCEEDED_1_DAY - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- USAGE_EXCEEDED_15_DAYS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- USAGE_EXCEEDED_3_DAYS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- USAGE_EXCEEDED_30_DAYS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
V
- validateCardCode(String) - Static method in class com.aoapps.payments.CreditCard
-
Checks a card code format.
- validateExpirationMonth(byte, boolean) - Static method in class com.aoapps.payments.CreditCard
-
Validates an expiration month.
- validateExpirationYear(short, boolean) - Static method in class com.aoapps.payments.CreditCard
-
Validates an expiration year.
- valueOf(String) - Static method in enum com.aoapps.payments.AuthorizationResult.ApprovalResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.AuthorizationResult.AvsResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.AuthorizationResult.CvvResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.AuthorizationResult.DeclineReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.AuthorizationResult.ReviewReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.Transaction.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.TransactionResult.CommunicationResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.payments.TransactionResult.ErrorCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.aoapps.payments.AuthorizationResult.ApprovalResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.AuthorizationResult.AvsResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.AuthorizationResult.CvvResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.AuthorizationResult.DeclineReason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.AuthorizationResult.ReviewReason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.Transaction.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.TransactionResult.CommunicationResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.payments.TransactionResult.ErrorCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VOICE_AUTHORIZATION_REQUIRED - Enum constant in enum com.aoapps.payments.TransactionResult.ErrorCode
- VOID - Enum constant in enum com.aoapps.payments.Transaction.Status
- voidCompleted(Principal, Transaction) - Method in interface com.aoapps.payments.PersistenceMechanism
-
Updates a transaction in the database after the void has completed.
- voidCompleted(Principal, Transaction) - Method in class com.aoapps.payments.PropertiesPersistenceMechanism
- VoidResult - Class in com.aoapps.payments
-
Encapsulates the results of a void.
- VoidResult(String, TransactionResult.CommunicationResult, String, TransactionResult.ErrorCode, String, String) - Constructor for class com.aoapps.payments.VoidResult
-
Creates a new void result.
- voidTransaction(Transaction) - Method in interface com.aoapps.payments.MerchantServicesProvider
-
Voids a previous transaction.
- voidTransaction(Principal, Transaction) - Method in class com.aoapps.payments.CreditCardProcessor
-
Voids a previous transaction.
- VOLUME_EXCEEDED_1_DAY - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- VOLUME_EXCEEDED_15_DAYS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- VOLUME_EXCEEDED_3_DAYS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
- VOLUME_EXCEEDED_30_DAYS - Enum constant in enum com.aoapps.payments.AuthorizationResult.DeclineReason
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AuthorizationResult(java.lang.String, com.aoapps.payments.TransactionResult.CommunicationResult, java.lang.String, com.aoapps.payments.TransactionResult.ErrorCode, java.lang.String, java.lang.String, com.aoapps.payments.TokenizedCreditCard, java.lang.String, com.aoapps.payments.AuthorizationResult.ApprovalResult, java.lang.String, com.aoapps.payments.AuthorizationResult.DeclineReason, java.lang.String, com.aoapps.payments.AuthorizationResult.ReviewReason, java.lang.String, com.aoapps.payments.AuthorizationResult.CvvResult, java.lang.String, com.aoapps.payments.AuthorizationResult.AvsResult, java.lang.String)