Created
May 14, 2025 13:55
-
-
Save btoconnor/b1471b681001c5bc157f50a3c2913136 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/issuing-disputes-service/issuing-disputes-service-client/src/main/proto/squareup/cash/issuingdisputesservice/api/issuing_dispute.proto b/issuing-disputes-service/issuing-disputes-service-client/src/main/proto/squareup/cash/issuingdisputesservice/api/issuing_dispute.proto | |
index 09aacfc6b783..1e77207de075 100644 | |
--- a/issuing-disputes-service/issuing-disputes-service-client/src/main/proto/squareup/cash/issuingdisputesservice/api/issuing_dispute.proto | |
+++ b/issuing-disputes-service/issuing-disputes-service-client/src/main/proto/squareup/cash/issuingdisputesservice/api/issuing_dispute.proto | |
@@ -55,35 +55,43 @@ message IssuingDisputeUpdate { | |
// The time at which the update happened | |
optional google.protobuf.Timestamp occurred_at = 4; | |
// Update triggered as a result of | |
optional IssuingDisputeUpdateTrigger trigger = 5; | |
// Update triggered by | |
optional TriggeredBy triggered_by = 6; | |
// The old state the dispute is in | |
optional IssuingDisputeState old_state = 7; | |
// The new state the dispute is in | |
optional IssuingDisputeState new_state = 8; | |
+ // The system which this dispute belongs to | |
+ optional IssuingDisputeTenant tenant = 9; | |
+ | |
enum IssuingDisputeUpdateTrigger { | |
CREATE_DISPUTE_REQUESTED = 1; | |
NEW_TRANSACTION_SETTLEMENT = 2; | |
TRANSACTION_VOIDED = 3; | |
ALL_CASES_COMPLETED = 4; | |
CANCEL_DISPUTE_REQUESTED = 5; | |
RECEIVED_MARQETA_EVENT = 6; | |
} | |
+ | |
+ enum IssuingDisputeTenant { | |
+ CASH_APP = 1; | |
+ SQUARE_BUSINESS = 2; | |
+ } | |
} | |
enum IssuingDisputeState { | |
// If the transaction is in pending, the dispute state is set to WAITING_FOR_TRANSACTION_SETTLEMENT | |
WAITING_FOR_TRANSACTION_SETTLEMENT = 1; | |
// Once the transaction settles or if it settled, then cases will be created | |
CASES_IN_PROGRESS = 2; | |
// If all cases are at a terminal state, then the dispute is closed | |
CLOSED = 3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment