Interface TransactionEventOrBuilder (3.30.0)

public interface TransactionEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventTime()

public abstract 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
TypeDescription
Timestamp

The eventTime.

getEventTimeOrBuilder()

public abstract 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];

Returns
TypeDescription
TimestampOrBuilder

getEventType()

public abstract 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
TypeDescription
TransactionEvent.TransactionEventType

The eventType.

getEventTypeValue()

public abstract int getEventTypeValue()

Optional. The type of this transaction event.

.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for eventType.

getReason()

public abstract 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
TypeDescription
String

The reason.

getReasonBytes()

public abstract 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
TypeDescription
ByteString

The bytes for reason.

getValue()

public abstract 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
TypeDescription
double

The value.

hasEventTime()

public abstract 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
TypeDescription
boolean

Whether the eventTime field is set.