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

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
NameDescription
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
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\UserSignals|null

hasUserSignals

clearUserSignals

setUserSignals

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

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\UserSignals
Returns
TypeDescription
$this

getCardSignals

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

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\CardSignals|null

hasCardSignals

clearCardSignals

setCardSignals

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

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudSignals\CardSignals
Returns
TypeDescription
$this