Enum Class DefaultSupportedWebhookNotificationTypes
java.lang.Object
java.lang.Enum<DefaultSupportedWebhookNotificationTypes>
com.broadleafcommerce.paymentgateway.domain.enums.DefaultSupportedWebhookNotificationTypes
- All Implemented Interfaces:
SupportedWebhookNotificationType
,Serializable
,Comparable<DefaultSupportedWebhookNotificationTypes>
,Constable
public enum DefaultSupportedWebhookNotificationTypes
extends Enum<DefaultSupportedWebhookNotificationTypes>
implements SupportedWebhookNotificationType
The default set of
SupportedWebhookNotificationTypes
that we can support in PaymentTransactionServices.- Author:
- Chris Kittrell (ckittrell)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWebhook notifications that communicate the results of transactions triggered by interactions with the gateway's hosted payment page.Webhook notifications that communicate the results of a manual fraud review.Webhook notifications that communicate the results of transactions that we're NOT aware of - i.e.Webhook notifications that communicate the results of transactions triggered by 3DS interactions.Webhook notifications that communicate the results of transactions that we're aware of - i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
is3DSTransactionResults
(String webhookNotificationType) static boolean
isHostedPaymentPageTransactionResults
(String webhookNotificationType) static boolean
isManualFraudReviewResults
(String webhookNotificationType) static boolean
isSubsequentTransactionResults
(String webhookNotificationType) static boolean
isTransactionResults
(String webhookNotificationType) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.broadleafcommerce.paymentgateway.domain.enums.SupportedWebhookNotificationType
name
-
Enum Constant Details
-
MANUAL_FRAUD_REVIEW_RESULTS
Webhook notifications that communicate the results of a manual fraud review. -
TRANSACTION_RESULTS
Webhook notifications that communicate the results of transactions that we're aware of - i.e. those that were triggered within PaymentTransactionServices. -
THREE_D_SECURE_TRANSACTION_RESULTS
Webhook notifications that communicate the results of transactions triggered by 3DS interactions. -
SUBSEQUENT_TRANSACTION_RESULTS
Webhook notifications that communicate the results of transactions that we're NOT aware of - i.e. those that were triggered OUTSIDE of PaymentTransactionServices. -
HOSTED_PAYMENT_PAGE_TRANSACTION_RESULTS
public static final DefaultSupportedWebhookNotificationTypes HOSTED_PAYMENT_PAGE_TRANSACTION_RESULTSWebhook notifications that communicate the results of transactions triggered by interactions with the gateway's hosted payment page. We expect these interactions to be preceded by a hosted payment page setup interaction, followed by the transaction being triggered upon submission of the hosted payment page.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isManualFraudReviewResults
-
isTransactionResults
-
is3DSTransactionResults
-
isSubsequentTransactionResults
-
isHostedPaymentPageTransactionResults
-