View Source GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionEvent (google_api_recaptcha_enterprise v0.7.0)

Describes an event in the lifecycle of a payment transaction.

Attributes

  • eventTime (type: DateTime.t, default: nil) - Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
  • eventType (type: String.t, default: nil) - Optional. The type of this transaction event.
  • reason (type: String.t, default: nil) - Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
  • value (type: float(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionEvent{
    eventTime: DateTime.t() | nil,
    eventType: String.t() | nil,
    reason: String.t() | nil,
    value: float() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.