reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionEvent (v0.10.0)

Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionEvent.

Describes an event in the lifecycle of a payment transaction.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#event_time

def event_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.

#event_time=

def event_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.

#event_type

def event_type() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionEvent::TransactionEventType
Returns

#event_type=

def event_type=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionEvent::TransactionEventType
Parameter
Returns

#reason

def reason() -> ::String
Returns
  • (::String) — Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.

#reason=

def reason=(value) -> ::String
Parameter
  • value (::String) — Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
Returns
  • (::String) — Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.

#value

def value() -> ::Float
Returns
  • (::Float) — 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.

#value=

def value=(value) -> ::Float
Parameter
  • value (::Float) — 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.
Returns
  • (::Float) — 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.