public sealed class TransactionEvent : IMessage<TransactionEvent>, IEquatable<TransactionEvent>, IDeepCloneable<TransactionEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class TransactionEvent.
Describes an event in the lifecycle of a payment transaction.
Implements
IMessageTransactionEvent, IEquatableTransactionEvent, IDeepCloneableTransactionEvent, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Constructors
TransactionEvent()
public TransactionEvent()
TransactionEvent(TransactionEvent)
public TransactionEvent(TransactionEvent other)
Parameter | |
---|---|
Name | Description |
other |
TransactionEvent |
Properties
EventTime
public Timestamp EventTime { get; set; }
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
Property Value | |
---|---|
Type | Description |
Timestamp |
EventType
public TransactionEvent.Types.TransactionEventType EventType { get; set; }
Optional. The type of this transaction event.
Property Value | |
---|---|
Type | Description |
TransactionEventTypesTransactionEventType |
Reason
public string Reason { get; set; }
Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
Property Value | |
---|---|
Type | Description |
string |
Value
public double Value { get; set; }
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.
Property Value | |
---|---|
Type | Description |
double |