Interface TransactionEventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TransactionEvent, TransactionEvent.Builder

@Generated public interface TransactionEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Optional.
    com.google.protobuf.TimestampOrBuilder
    Optional.
    Optional.
    int
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    double
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEventTypeValue

      int getEventTypeValue()
       Optional. The type of this transaction event.
       
      .google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for eventType.
    • getEventType

       Optional. The type of this transaction event.
       
      .google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The eventType.
    • getReason

      String getReason()
       Optional. The reason or standardized code that corresponds with this
       transaction event, if one exists. For example, a CHARGEBACK event with code
       6005.
       
      string reason = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The reason.
    • getReasonBytes

      com.google.protobuf.ByteString getReasonBytes()
       Optional. The reason or standardized code that corresponds with this
       transaction event, if one exists. For example, a CHARGEBACK event with code
       6005.
       
      string reason = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for reason.
    • getValue

      double getValue()
       Optional. The value that corresponds with this transaction event, if one
       exists. For example, a refund event where $5.00 was refunded. Currency is
       obtained from the original transaction data.
       
      double value = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The value.
    • hasEventTime

      boolean hasEventTime()
       Optional. Timestamp when this transaction event occurred; otherwise assumed
       to be the time of the API call.
       
      .google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the eventTime field is set.
    • getEventTime

      com.google.protobuf.Timestamp getEventTime()
       Optional. Timestamp when this transaction event occurred; otherwise assumed
       to be the time of the API call.
       
      .google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The eventTime.
    • getEventTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
       Optional. Timestamp when this transaction event occurred; otherwise assumed
       to be the time of the API call.
       
      .google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];