Describes an event in the lifecycle of a payment transaction.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.TransactionEvent
Methods |
public __construct( $data = NULL) Constructor.
|
public clearEventTime() |
public getEventTime() Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call. Generated from protobuf field .google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
|
public getEventType() Optional. The type of this transaction event. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
|
public getReason() Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005. Generated from protobuf field string reason = 2 [(.google.api.field_behavior) = OPTIONAL];
|
public 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. Generated from protobuf field double value = 3 [(.google.api.field_behavior) = OPTIONAL];
|
public hasEventTime() |
public setEventTime( $var) Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call. Generated from protobuf field .google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
|
public setEventType( $var) Optional. The type of this transaction event. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
|
public setReason( $var) Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005. Generated from protobuf field string reason = 2 [(.google.api.field_behavior) = OPTIONAL];
|
public setValue( $var) 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. Generated from protobuf field double value = 3 [(.google.api.field_behavior) = OPTIONAL];
|
Properties |
protected $event_time = NULL Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call. Generated from protobuf field .google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL]; |
protected $event_type = 0 Optional. The type of this transaction event. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL]; |
protected $reason = '' Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005. Generated from protobuf field string reason = 2 [(.google.api.field_behavior) = OPTIONAL]; |
protected $value = 0 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. Generated from protobuf field double value = 3 [(.google.api.field_behavior) = OPTIONAL]; |
Methods |