Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: add new reCAPTCHA Enterprise fraud annotations (#663)
Browse files Browse the repository at this point in the history
* feat: add new reCAPTCHA Enterprise fraud annotations

PiperOrigin-RevId: 414549384

Source-Link: googleapis/googleapis@9b9da22

Source-Link: googleapis/googleapis-gen@e4e3b2c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTRlM2IyYzAxY2U2NzVjMTAwZWQ1NDUxOWNhZDMyNzRlYTIwYThhMiJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Dec 7, 2021
1 parent e39beaa commit 205465a
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 243 deletions.
Expand Up @@ -392,13 +392,38 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Indicates a chargeback for fraud was issued for the transaction
* associated with the assessment.
* Indicates a chargeback was issued for the transaction associated with the
* assessment, with no other details. When possible, specify the type by
* using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.
* </pre>
*
* <code>CHARGEBACK = 1;</code>
*/
CHARGEBACK(1),
/**
*
*
* <pre>
* Indicates a chargeback related to an alleged unauthorized transaction
* from the perspective of the cardholder (for example, the card number was
* stolen).
* </pre>
*
* <code>CHARGEBACK_FRAUD = 8;</code>
*/
CHARGEBACK_FRAUD(8),
/**
*
*
* <pre>
* Indicates a chargeback related to the cardholder having provided their
* card but allegedly not being satisfied with the purchase
* (for example, misrepresentation, attempted cancellation).
* </pre>
*
* <code>CHARGEBACK_DISPUTE = 9;</code>
*/
CHARGEBACK_DISPUTE(9),
/**
*
*
Expand Down Expand Up @@ -481,13 +506,38 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Indicates a chargeback for fraud was issued for the transaction
* associated with the assessment.
* Indicates a chargeback was issued for the transaction associated with the
* assessment, with no other details. When possible, specify the type by
* using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.
* </pre>
*
* <code>CHARGEBACK = 1;</code>
*/
public static final int CHARGEBACK_VALUE = 1;
/**
*
*
* <pre>
* Indicates a chargeback related to an alleged unauthorized transaction
* from the perspective of the cardholder (for example, the card number was
* stolen).
* </pre>
*
* <code>CHARGEBACK_FRAUD = 8;</code>
*/
public static final int CHARGEBACK_FRAUD_VALUE = 8;
/**
*
*
* <pre>
* Indicates a chargeback related to the cardholder having provided their
* card but allegedly not being satisfied with the purchase
* (for example, misrepresentation, attempted cancellation).
* </pre>
*
* <code>CHARGEBACK_DISPUTE = 9;</code>
*/
public static final int CHARGEBACK_DISPUTE_VALUE = 9;
/**
*
*
Expand Down Expand Up @@ -582,6 +632,10 @@ public static Reason forNumber(int value) {
return REASON_UNSPECIFIED;
case 1:
return CHARGEBACK;
case 8:
return CHARGEBACK_FRAUD;
case 9:
return CHARGEBACK_DISPUTE;
case 2:
return PAYMENT_HEURISTICS;
case 7:
Expand Down

0 comments on commit 205465a

Please sign in to comment.