Enum TransactionEvent.TransactionEventType
java.lang.Object
java.lang.Enum<TransactionEvent.TransactionEventType>
com.google.recaptchaenterprise.v1.TransactionEvent.TransactionEventType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TransactionEvent.TransactionEventType>
- Enclosing class:
- TransactionEvent
public static enum TransactionEvent.TransactionEventType
extends Enum<TransactionEvent.TransactionEventType>
implements com.google.protobuf.ProtocolMessageEnum
Enum that represents an event in the payment transaction lifecycle. Ensure that applications can handle values not explicitly listed.Protobuf enum
google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the authorization attempt with the card issuer succeeded.Indicates that the authorization attempt with the card issuer failed.Indicates that the transaction has been canceled.Indicates that the merchant is informed by the payment network that the transaction has entered the chargeback process due to fraud.Indicates that the merchant has received a chargeback alert due to fraud for the transaction.Indicates that the merchant has received a chargeback inquiry due to fraud for the transaction, requesting additional information before a fraud chargeback is officially issued and a formal chargeback notification is sent.Indicates that the transaction has entered the chargeback process due to fraud, and that the merchant has chosen to enter representment.Indicates that the transaction has had a fraud chargeback which was illegitimate and was reversed as a result.Indicates that a fraud notification is issued for the transaction, sent by the payment instrument's issuing bank because the transaction appears to be fraudulent.Indicates that the transaction is being evaluated by a human, due to suspicion or risk.Indicates that the transaction is approved by the merchant.Indicates that the transaction is denied and concluded due to risks detected by the merchant.Indicates that the transaction is completed because the funds were settled.Indicates that the transaction could not be completed because the funds were not settled.Indicates that the completed transaction was refunded by the merchant.Indicates that the merchant has received a refund request for this transaction, but that they have declined it.Indicates that the merchant has received a refund for a completed transaction.Indicates that the completed transaction was refunded by the merchant, and that this refund was reversed.Default, unspecified event type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the authorization attempt with the card issuer failed.static final intIndicates that the authorization attempt with the card issuer succeeded.static final intIndicates that the transaction has been canceled.static final intIndicates that the merchant has received a chargeback alert due to fraud for the transaction.static final intIndicates that the merchant has received a chargeback inquiry due to fraud for the transaction, requesting additional information before a fraud chargeback is officially issued and a formal chargeback notification is sent.static final intIndicates that the transaction has entered the chargeback process due to fraud, and that the merchant has chosen to enter representment.static final intIndicates that the transaction has had a fraud chargeback which was illegitimate and was reversed as a result.static final intIndicates that the merchant is informed by the payment network that the transaction has entered the chargeback process due to fraud.static final intIndicates that a fraud notification is issued for the transaction, sent by the payment instrument's issuing bank because the transaction appears to be fraudulent.static final intIndicates that the transaction is being evaluated by a human, due to suspicion or risk.static final intIndicates that the transaction is approved by the merchant.static final intIndicates that the transaction is denied and concluded due to risks detected by the merchant.static final intIndicates that the transaction could not be completed because the funds were not settled.static final intIndicates that the transaction is completed because the funds were settled.static final intIndicates that the merchant has received a refund request for this transaction, but that they have declined it.static final intIndicates that the merchant has received a refund for a completed transaction.static final intIndicates that the completed transaction was refunded by the merchant, and that this refund was reversed.static final intIndicates that the completed transaction was refunded by the merchant.static final intDefault, unspecified event type. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TransactionEvent.TransactionEventType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRANSACTION_EVENT_TYPE_UNSPECIFIED
Default, unspecified event type.
TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0; -
MERCHANT_APPROVE
Indicates that the transaction is approved by the merchant. The accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.
MERCHANT_APPROVE = 1; -
MERCHANT_DENY
Indicates that the transaction is denied and concluded due to risks detected by the merchant. The accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.
MERCHANT_DENY = 2; -
MANUAL_REVIEW
Indicates that the transaction is being evaluated by a human, due to suspicion or risk.
MANUAL_REVIEW = 3; -
AUTHORIZATION
Indicates that the authorization attempt with the card issuer succeeded.
AUTHORIZATION = 4; -
AUTHORIZATION_DECLINE
Indicates that the authorization attempt with the card issuer failed. The accompanying reasons can include Visa's '54' indicating that the card is expired, or '82' indicating that the CVV is incorrect.
AUTHORIZATION_DECLINE = 5; -
PAYMENT_CAPTURE
Indicates that the transaction is completed because the funds were settled.
PAYMENT_CAPTURE = 6; -
PAYMENT_CAPTURE_DECLINE
Indicates that the transaction could not be completed because the funds were not settled.
PAYMENT_CAPTURE_DECLINE = 7; -
CANCEL
Indicates that the transaction has been canceled. Specify the reason for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.
CANCEL = 8; -
CHARGEBACK_INQUIRY
Indicates that the merchant has received a chargeback inquiry due to fraud for the transaction, requesting additional information before a fraud chargeback is officially issued and a formal chargeback notification is sent.
CHARGEBACK_INQUIRY = 9; -
CHARGEBACK_ALERT
Indicates that the merchant has received a chargeback alert due to fraud for the transaction. The process of resolving the dispute without involving the payment network is started.
CHARGEBACK_ALERT = 10; -
FRAUD_NOTIFICATION
Indicates that a fraud notification is issued for the transaction, sent by the payment instrument's issuing bank because the transaction appears to be fraudulent. We recommend including TC40 or SAFE data in the `reason` field for this event type. For partial chargebacks, we recommend that you include an amount in the `value` field.
FRAUD_NOTIFICATION = 11; -
CHARGEBACK
Indicates that the merchant is informed by the payment network that the transaction has entered the chargeback process due to fraud. Reason code examples include Discover's '6005' and '6041'. For partial chargebacks, we recommend that you include an amount in the `value` field.
CHARGEBACK = 12; -
CHARGEBACK_REPRESENTMENT
Indicates that the transaction has entered the chargeback process due to fraud, and that the merchant has chosen to enter representment. Reason examples include Discover's '6005' and '6041'. For partial chargebacks, we recommend that you include an amount in the `value` field.
CHARGEBACK_REPRESENTMENT = 13; -
CHARGEBACK_REVERSE
Indicates that the transaction has had a fraud chargeback which was illegitimate and was reversed as a result. For partial chargebacks, we recommend that you include an amount in the `value` field.
CHARGEBACK_REVERSE = 14; -
REFUND_REQUEST
Indicates that the merchant has received a refund for a completed transaction. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)
REFUND_REQUEST = 15; -
REFUND_DECLINE
Indicates that the merchant has received a refund request for this transaction, but that they have declined it. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)
REFUND_DECLINE = 16; -
REFUND
Indicates that the completed transaction was refunded by the merchant. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)
REFUND = 17; -
REFUND_REVERSE
Indicates that the completed transaction was refunded by the merchant, and that this refund was reversed. For partial refunds, we recommend that you include an amount in the `value` field.
REFUND_REVERSE = 18; -
UNRECOGNIZED
-
-
Field Details
-
TRANSACTION_EVENT_TYPE_UNSPECIFIED_VALUE
public static final int TRANSACTION_EVENT_TYPE_UNSPECIFIED_VALUEDefault, unspecified event type.
TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;- See Also:
-
MERCHANT_APPROVE_VALUE
public static final int MERCHANT_APPROVE_VALUEIndicates that the transaction is approved by the merchant. The accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.
MERCHANT_APPROVE = 1;- See Also:
-
MERCHANT_DENY_VALUE
public static final int MERCHANT_DENY_VALUEIndicates that the transaction is denied and concluded due to risks detected by the merchant. The accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.
MERCHANT_DENY = 2;- See Also:
-
MANUAL_REVIEW_VALUE
public static final int MANUAL_REVIEW_VALUEIndicates that the transaction is being evaluated by a human, due to suspicion or risk.
MANUAL_REVIEW = 3;- See Also:
-
AUTHORIZATION_VALUE
public static final int AUTHORIZATION_VALUEIndicates that the authorization attempt with the card issuer succeeded.
AUTHORIZATION = 4;- See Also:
-
AUTHORIZATION_DECLINE_VALUE
public static final int AUTHORIZATION_DECLINE_VALUEIndicates that the authorization attempt with the card issuer failed. The accompanying reasons can include Visa's '54' indicating that the card is expired, or '82' indicating that the CVV is incorrect.
AUTHORIZATION_DECLINE = 5;- See Also:
-
PAYMENT_CAPTURE_VALUE
public static final int PAYMENT_CAPTURE_VALUEIndicates that the transaction is completed because the funds were settled.
PAYMENT_CAPTURE = 6;- See Also:
-
PAYMENT_CAPTURE_DECLINE_VALUE
public static final int PAYMENT_CAPTURE_DECLINE_VALUEIndicates that the transaction could not be completed because the funds were not settled.
PAYMENT_CAPTURE_DECLINE = 7;- See Also:
-
CANCEL_VALUE
public static final int CANCEL_VALUEIndicates that the transaction has been canceled. Specify the reason for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.
CANCEL = 8;- See Also:
-
CHARGEBACK_INQUIRY_VALUE
public static final int CHARGEBACK_INQUIRY_VALUEIndicates that the merchant has received a chargeback inquiry due to fraud for the transaction, requesting additional information before a fraud chargeback is officially issued and a formal chargeback notification is sent.
CHARGEBACK_INQUIRY = 9;- See Also:
-
CHARGEBACK_ALERT_VALUE
public static final int CHARGEBACK_ALERT_VALUEIndicates that the merchant has received a chargeback alert due to fraud for the transaction. The process of resolving the dispute without involving the payment network is started.
CHARGEBACK_ALERT = 10;- See Also:
-
FRAUD_NOTIFICATION_VALUE
public static final int FRAUD_NOTIFICATION_VALUEIndicates that a fraud notification is issued for the transaction, sent by the payment instrument's issuing bank because the transaction appears to be fraudulent. We recommend including TC40 or SAFE data in the `reason` field for this event type. For partial chargebacks, we recommend that you include an amount in the `value` field.
FRAUD_NOTIFICATION = 11;- See Also:
-
CHARGEBACK_VALUE
public static final int CHARGEBACK_VALUEIndicates that the merchant is informed by the payment network that the transaction has entered the chargeback process due to fraud. Reason code examples include Discover's '6005' and '6041'. For partial chargebacks, we recommend that you include an amount in the `value` field.
CHARGEBACK = 12;- See Also:
-
CHARGEBACK_REPRESENTMENT_VALUE
public static final int CHARGEBACK_REPRESENTMENT_VALUEIndicates that the transaction has entered the chargeback process due to fraud, and that the merchant has chosen to enter representment. Reason examples include Discover's '6005' and '6041'. For partial chargebacks, we recommend that you include an amount in the `value` field.
CHARGEBACK_REPRESENTMENT = 13;- See Also:
-
CHARGEBACK_REVERSE_VALUE
public static final int CHARGEBACK_REVERSE_VALUEIndicates that the transaction has had a fraud chargeback which was illegitimate and was reversed as a result. For partial chargebacks, we recommend that you include an amount in the `value` field.
CHARGEBACK_REVERSE = 14;- See Also:
-
REFUND_REQUEST_VALUE
public static final int REFUND_REQUEST_VALUEIndicates that the merchant has received a refund for a completed transaction. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)
REFUND_REQUEST = 15;- See Also:
-
REFUND_DECLINE_VALUE
public static final int REFUND_DECLINE_VALUEIndicates that the merchant has received a refund request for this transaction, but that they have declined it. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)
REFUND_DECLINE = 16;- See Also:
-
REFUND_VALUE
public static final int REFUND_VALUEIndicates that the completed transaction was refunded by the merchant. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)
REFUND = 17;- See Also:
-
REFUND_REVERSE_VALUE
public static final int REFUND_REVERSE_VALUEIndicates that the completed transaction was refunded by the merchant, and that this refund was reversed. For partial refunds, we recommend that you include an amount in the `value` field.
REFUND_REVERSE = 18;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<TransactionEvent.TransactionEventType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static TransactionEvent.TransactionEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-