Google Cloud Recaptcha Enterprise V1 Client - Class FraudSignals (1.12.2)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class FraudSignals.

Fraud signals describing users and cards involved in the transaction.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.FraudSignals

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user_signals Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\UserSignals

Output only. Signals describing the end user in this transaction.

↳ card_signals Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\CardSignals

Output only. Signals describing the payment card or cards used in this transaction.

getUserSignals

Output only. Signals describing the end user in this transaction.

Returns
Type Description
Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\UserSignals|null

hasUserSignals

clearUserSignals

setUserSignals

Output only. Signals describing the end user in this transaction.

Parameter
Name Description
var Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\UserSignals
Returns
Type Description
$this

getCardSignals

Output only. Signals describing the payment card or cards used in this transaction.

Returns
Type Description
Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\CardSignals|null

hasCardSignals

clearCardSignals

setCardSignals

Output only. Signals describing the payment card or cards used in this transaction.

Parameter
Name Description
var Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\CardSignals
Returns
Type Description
$this