Enum TransactionEvent.TransactionEventType

    • Enum Constant Detail

      • 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_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;
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • AUTHORIZATION_VALUE

        public static final int AUTHORIZATION_VALUE
         Indicates that the authorization attempt with the card issuer succeeded.
         
        AUTHORIZATION = 4;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static TransactionEvent.TransactionEventType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TransactionEvent.TransactionEventType c : TransactionEvent.TransactionEventType.values())
            System.out.println(c);
        
        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.
      • 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 final 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