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 Constants
    Enum Constant
    Description
    Indicates 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Indicates that the authorization attempt with the card issuer failed.
    static final int
    Indicates that the authorization attempt with the card issuer succeeded.
    static final int
    Indicates that the transaction has been canceled.
    static final int
    Indicates that the merchant has received a chargeback alert due to fraud for the transaction.
    static final int
    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 final int
    Indicates that the transaction has entered the chargeback process due to fraud, and that the merchant has chosen to enter representment.
    static final int
    Indicates that the transaction has had a fraud chargeback which was illegitimate and was reversed as a result.
    static final int
    Indicates that the merchant is informed by the payment network that the transaction has entered the chargeback process due to fraud.
    static final int
    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 final int
    Indicates that the transaction is being evaluated by a human, due to suspicion or risk.
    static final int
    Indicates that the transaction is approved by the merchant.
    static final int
    Indicates that the transaction is denied and concluded due to risks detected by the merchant.
    static final int
    Indicates that the transaction could not be completed because the funds were not settled.
    static final int
    Indicates that the transaction is completed because the funds were settled.
    static final int
    Indicates that the merchant has received a refund request for this transaction, but that they have declined it.
    static final int
    Indicates that the merchant has received a refund for a completed transaction.
    static final int
    Indicates that the completed transaction was refunded by the merchant, and that this refund was reversed.
    static final int
    Indicates that the completed transaction was refunded by the merchant.
    static final int
    Default, unspecified event type.
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static 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.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • TRANSACTION_EVENT_TYPE_UNSPECIFIED

      public static final TransactionEvent.TransactionEventType TRANSACTION_EVENT_TYPE_UNSPECIFIED
       Default, unspecified event type.
       
      TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;
    • MERCHANT_APPROVE

      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;
    • MERCHANT_DENY

      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;
    • MANUAL_REVIEW

      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;
    • AUTHORIZATION

      public static final TransactionEvent.TransactionEventType AUTHORIZATION
       Indicates that the authorization attempt with the card issuer succeeded.
       
      AUTHORIZATION = 4;
    • AUTHORIZATION_DECLINE

      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;
    • PAYMENT_CAPTURE

      public static final TransactionEvent.TransactionEventType PAYMENT_CAPTURE
       Indicates that the transaction is completed because the funds were
       settled.
       
      PAYMENT_CAPTURE = 6;
    • PAYMENT_CAPTURE_DECLINE

      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;
    • CANCEL

      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;
    • CHARGEBACK_INQUIRY

      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;
    • CHARGEBACK_ALERT

      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;
    • FRAUD_NOTIFICATION

      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;
    • CHARGEBACK

      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;
    • CHARGEBACK_REPRESENTMENT

      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;
    • CHARGEBACK_REVERSE

      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;
    • REFUND_REQUEST

      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;
    • REFUND_DECLINE

      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;
    • REFUND

      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;
    • REFUND_REVERSE

      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;
    • UNRECOGNIZED

      public static final TransactionEvent.TransactionEventType UNRECOGNIZED
  • Field Details

    • TRANSACTION_EVENT_TYPE_UNSPECIFIED_VALUE

      public static final int TRANSACTION_EVENT_TYPE_UNSPECIFIED_VALUE
       Default, unspecified event type.
       
      TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;
      See Also:
    • MERCHANT_APPROVE_VALUE

      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;
      See Also:
    • MERCHANT_DENY_VALUE

      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;
      See Also:
    • MANUAL_REVIEW_VALUE

      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;
      See Also:
    • AUTHORIZATION_VALUE

      public static final int AUTHORIZATION_VALUE
       Indicates that the authorization attempt with the card issuer succeeded.
       
      AUTHORIZATION = 4;
      See Also:
    • AUTHORIZATION_DECLINE_VALUE

      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;
      See Also:
    • PAYMENT_CAPTURE_VALUE

      public static final int PAYMENT_CAPTURE_VALUE
       Indicates 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_VALUE
       Indicates 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_VALUE
       Indicates 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_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;
      See Also:
    • CHARGEBACK_ALERT_VALUE

      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;
      See Also:
    • FRAUD_NOTIFICATION_VALUE

      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;
      See Also:
    • CHARGEBACK_VALUE

      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;
      See Also:
    • CHARGEBACK_REPRESENTMENT_VALUE

      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;
      See Also:
    • CHARGEBACK_REVERSE_VALUE

      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;
      See Also:
    • REFUND_REQUEST_VALUE

      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;
      See Also:
    • REFUND_DECLINE_VALUE

      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;
      See Also:
    • REFUND_VALUE

      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;
      See Also:
    • REFUND_REVERSE_VALUE

      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;
      See Also:
  • Method Details

    • values

      public static TransactionEvent.TransactionEventType[] 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

      public static TransactionEvent.TransactionEventType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TransactionEvent.TransactionEventType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static TransactionEvent.TransactionEventType forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null