public static enum TransactionEvent.TransactionEventType extends Enum<TransactionEvent.TransactionEventType> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents an event in the payment transaction lifecycle.Protobuf enum
google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType| Enum Constant and Description |
|---|
AUTHORIZATION
Indicates that the authorization attempt with the card issuer succeeded.
|
AUTHORIZATION_DECLINE
Indicates that the authorization attempt with the card issuer failed.
|
CANCEL
Indicates that the transaction has been canceled.
|
CHARGEBACK
Indicates that the merchant is informed by the payment network that the
transaction has entered the chargeback process due to fraud.
|
CHARGEBACK_ALERT
Indicates that the merchant has received a chargeback alert due to fraud
for the transaction.
|
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_REPRESENTMENT
Indicates that the transaction has entered the chargeback process due to
fraud, and that the merchant has chosen to enter representment.
|
CHARGEBACK_REVERSE
Indicates that the transaction has had a fraud chargeback which was
illegitimate and was reversed as a result.
|
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.
|
MANUAL_REVIEW
Indicates that the transaction is being evaluated by a human, due to
suspicion or risk.
|
MERCHANT_APPROVE
Indicates that the transaction is approved by the merchant.
|
MERCHANT_DENY
Indicates that the transaction is denied and concluded due to risks
detected by the merchant.
|
PAYMENT_CAPTURE
Indicates that the transaction is completed because the funds were
settled.
|
PAYMENT_CAPTURE_DECLINE
Indicates that the transaction could not be completed because the funds
were not settled.
|
REFUND
Indicates that the completed transaction was refunded by the merchant.
|
REFUND_DECLINE
Indicates that the merchant has received a refund request for this
transaction, but that they have declined it.
|
REFUND_REQUEST
Indicates that the merchant has received a refund for a completed
transaction.
|
REFUND_REVERSE
Indicates that the completed transaction was refunded by the merchant,
and that this refund was reversed.
|
TRANSACTION_EVENT_TYPE_UNSPECIFIED
Default, unspecified event type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORIZATION_DECLINE_VALUE
Indicates that the authorization attempt with the card issuer failed.
|
static int |
AUTHORIZATION_VALUE
Indicates that the authorization attempt with the card issuer succeeded.
|
static int |
CANCEL_VALUE
Indicates that the transaction has been canceled.
|
static int |
CHARGEBACK_ALERT_VALUE
Indicates that the merchant has received a chargeback alert due to fraud
for the transaction.
|
static int |
CHARGEBACK_INQUIRY_VALUE
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.
|
static int |
CHARGEBACK_REPRESENTMENT_VALUE
Indicates that the transaction has entered the chargeback process due to
fraud, and that the merchant has chosen to enter representment.
|
static int |
CHARGEBACK_REVERSE_VALUE
Indicates that the transaction has had a fraud chargeback which was
illegitimate and was reversed as a result.
|
static int |
CHARGEBACK_VALUE
Indicates that the merchant is informed by the payment network that the
transaction has entered the chargeback process due to fraud.
|
static int |
FRAUD_NOTIFICATION_VALUE
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.
|
static int |
MANUAL_REVIEW_VALUE
Indicates that the transaction is being evaluated by a human, due to
suspicion or risk.
|
static int |
MERCHANT_APPROVE_VALUE
Indicates that the transaction is approved by the merchant.
|
static int |
MERCHANT_DENY_VALUE
Indicates that the transaction is denied and concluded due to risks
detected by the merchant.
|
static int |
PAYMENT_CAPTURE_DECLINE_VALUE
Indicates that the transaction could not be completed because the funds
were not settled.
|
static int |
PAYMENT_CAPTURE_VALUE
Indicates that the transaction is completed because the funds were
settled.
|
static int |
REFUND_DECLINE_VALUE
Indicates that the merchant has received a refund request for this
transaction, but that they have declined it.
|
static int |
REFUND_REQUEST_VALUE
Indicates that the merchant has received a refund for a completed
transaction.
|
static int |
REFUND_REVERSE_VALUE
Indicates that the completed transaction was refunded by the merchant,
and that this refund was reversed.
|
static int |
REFUND_VALUE
Indicates that the completed transaction was refunded by the merchant.
|
static int |
TRANSACTION_EVENT_TYPE_UNSPECIFIED_VALUE
Default, unspecified event type.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionEvent.TransactionEventType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TransactionEvent.TransactionEventType> |
internalGetValueMap() |
static TransactionEvent.TransactionEventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransactionEvent.TransactionEventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransactionEvent.TransactionEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionEvent.TransactionEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionEvent.TransactionEventType TRANSACTION_EVENT_TYPE_UNSPECIFIED
Default, unspecified event type.
TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType MANUAL_REVIEW
Indicates that the transaction is being evaluated by a human, due to suspicion or risk.
MANUAL_REVIEW = 3;public static final TransactionEvent.TransactionEventType AUTHORIZATION
Indicates that the authorization attempt with the card issuer succeeded.
AUTHORIZATION = 4;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType PAYMENT_CAPTURE
Indicates that the transaction is completed because the funds were settled.
PAYMENT_CAPTURE = 6;public static final TransactionEvent.TransactionEventType PAYMENT_CAPTURE_DECLINE
Indicates that the transaction could not be completed because the funds were not settled.
PAYMENT_CAPTURE_DECLINE = 7;public static final TransactionEvent.TransactionEventType CANCEL
Indicates that the transaction has been canceled. Specify the reason for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.
CANCEL = 8;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType 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;public static final TransactionEvent.TransactionEventType UNRECOGNIZED
public static final int TRANSACTION_EVENT_TYPE_UNSPECIFIED_VALUE
Default, unspecified event type.
TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;public static final int MERCHANT_APPROVE_VALUE
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;public static final int MERCHANT_DENY_VALUE
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;public static final int MANUAL_REVIEW_VALUE
Indicates that the transaction is being evaluated by a human, due to suspicion or risk.
MANUAL_REVIEW = 3;public static final int AUTHORIZATION_VALUE
Indicates that the authorization attempt with the card issuer succeeded.
AUTHORIZATION = 4;public static final int AUTHORIZATION_DECLINE_VALUE
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;public static final int PAYMENT_CAPTURE_VALUE
Indicates that the transaction is completed because the funds were settled.
PAYMENT_CAPTURE = 6;public static final int PAYMENT_CAPTURE_DECLINE_VALUE
Indicates that the transaction could not be completed because the funds were not settled.
PAYMENT_CAPTURE_DECLINE = 7;public static final int CANCEL_VALUE
Indicates that the transaction has been canceled. Specify the reason for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.
CANCEL = 8;public static final int CHARGEBACK_INQUIRY_VALUE
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;public static final int CHARGEBACK_ALERT_VALUE
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;public static final int FRAUD_NOTIFICATION_VALUE
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;public static final int CHARGEBACK_VALUE
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;public static final int CHARGEBACK_REPRESENTMENT_VALUE
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;public static final int CHARGEBACK_REVERSE_VALUE
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;public static final int REFUND_REQUEST_VALUE
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;public static final int REFUND_DECLINE_VALUE
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;public static final int REFUND_VALUE
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;public static final int REFUND_REVERSE_VALUE
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;public static TransactionEvent.TransactionEventType[] values()
for (TransactionEvent.TransactionEventType c : TransactionEvent.TransactionEventType.values()) System.out.println(c);
public static TransactionEvent.TransactionEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TransactionEvent.TransactionEventType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransactionEvent.TransactionEventType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransactionEvent.TransactionEventType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TransactionEvent.TransactionEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.