Interface TransactionEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransactionEvent
,TransactionEvent.Builder
public interface TransactionEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getEventTime()
Optional.com.google.protobuf.TimestampOrBuilder
getEventTimeOrBuilder()
Optional.TransactionEvent.TransactionEventType
getEventType()
Optional.int
getEventTypeValue()
Optional.String
getReason()
Optional.com.google.protobuf.ByteString
getReasonBytes()
Optional.double
getValue()
Optional.boolean
hasEventTime()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEventTypeValue
int getEventTypeValue()
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for eventType.
-
getEventType
TransactionEvent.TransactionEventType getEventType()
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.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];
-
-