Enum that represents potential reasons for annotating an assessment.
Protobuf type google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason
| Constants |
| public Google Indicates that the transaction had a chargeback issued with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead. Generated from protobuf enum CHARGEBACK = 1; |
| public Google Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation). Generated from protobuf enum CHARGEBACK_DISPUTE = 9; |
| public Google Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen). Generated from protobuf enum CHARGEBACK_FRAUD = 8; |
| public Google Indicates the user provided the correct password. Generated from protobuf enum CORRECT_PASSWORD = 5; |
| public Google Indicates that the user failed a 2FA challenge. Generated from protobuf enum FAILED_TWO_FACTOR = 4; |
| public Google Indicates the user provided an incorrect password. Generated from protobuf enum INCORRECT_PASSWORD = 6; |
| public Google Indicates that the user was served a 2FA challenge. An old assessment
with This is equivalent to Generated from protobuf enum INITIATED_TWO_FACTOR = 7; |
| public Google Indicates that the user passed a 2FA challenge. Generated from protobuf enum PASSED_TWO_FACTOR = 3; |
| public Google Indicates the transaction associated with the assessment is suspected of being fraudulent based on the payment method, billing details, shipping address or other transaction information. Generated from protobuf enum PAYMENT_HEURISTICS = 2; |
| public Google Unspecified reason. Do not use. Generated from protobuf enum REASON_UNSPECIFIED = 0; |
| public Google Indicates that the completed payment transaction was refunded by the seller. Generated from protobuf enum REFUND = 10; |
| public Google Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result. Generated from protobuf enum REFUND_FRAUD = 11; |
| public Google Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering. Generated from protobuf enum SOCIAL_SPAM = 14; |
| public Google Indicates that the payment transaction was accepted, and the user was charged. Generated from protobuf enum TRANSACTION_ACCEPTED = 12; |
| public Google Indicates that the payment transaction was declined, for example due to invalid card details. Generated from protobuf enum TRANSACTION_DECLINED = 13; |
| Methods |
| public static name( $value) |
| public static value( $name) |
| Properties |
| private static $valueToName = ['REASON_UNSPECIFIED', 'CHARGEBACK', 8 => 'CHARGEBACK_FRAUD', 9 => 'CHARGEBACK_DISPUTE', 10 => 'REFUND', 11 => 'REFUND_FRAUD', 12 => 'TRANSACTION_ACCEPTED', 13 => 'TRANSACTION_DECLINED', 2 => 'PAYMENT_HEURISTICS', 7 => 'INITIATED_TWO_FACTOR', 3 => 'PASSED_TWO_FACTOR', 4 => 'FAILED_TWO_FACTOR', 5 => 'CORRECT_PASSWORD', 6 => 'INCORRECT_PASSWORD', 'SOCIAL_SPAM'] |
| Properties |
| private static $valueToName = ['REASON_UNSPECIFIED', 'CHARGEBACK', 8 => 'CHARGEBACK_FRAUD', 9 => 'CHARGEBACK_DISPUTE', 10 => 'REFUND', 11 => 'REFUND_FRAUD', 12 => 'TRANSACTION_ACCEPTED', 13 => 'TRANSACTION_DECLINED', 2 => 'PAYMENT_HEURISTICS', 7 => 'INITIATED_TWO_FACTOR', 3 => 'PASSED_TWO_FACTOR', 4 => 'FAILED_TWO_FACTOR', 5 => 'CORRECT_PASSWORD', 6 => 'INCORRECT_PASSWORD', 'SOCIAL_SPAM'] |
| Methods |
| public static name( $value) |
| public static value( $name) |