summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorgjoranv <gjoranv@gmail.com>2023-10-20 18:33:19 +0200
committergjoranv <gjoranv@gmail.com>2023-10-20 19:17:05 +0200
commit39e5879ae209a3d75434ca3ba7f2617a92cc5a8b (patch)
treef0774022e232996edc2c92880c3910b7f68b2868 /controller-api
parentfd9124a26a90872695866d838f1be5b92ebe3b2b (diff)
Rename FINALIZED -> FROZEN and improve comments.
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillStatus.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillStatus.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillStatus.java
index 340e2e95de0..d6c6262069b 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillStatus.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillStatus.java
@@ -4,10 +4,10 @@ package com.yahoo.vespa.hosted.controller.api.integration.billing;
* @author gjoranv
*/
public enum BillStatus {
- OPEN, // All bills start in this state, the only state where changes can be made
- FINALIZED, // No more changes can be made to the bill
- CLOSED, // End state
- VOID; // End state
+ OPEN, // All bills start in this state. The bill can be modified and exported/synced to external systems.
+ FROZEN, // Syncing to external systems is switched off. Reviews should be done in this state.
+ CLOSED, // End state for a valid bill.
+ VOID; // End state, indicating that the bill is not valid.
private static final String LEGACY_ISSUED = "ISSUED"; // Legacy state, used by historical bills
private static final String LEGACY_EXPORTED = "EXPORTED"; // Legacy state, used by historical bills