From 39e5879ae209a3d75434ca3ba7f2617a92cc5a8b Mon Sep 17 00:00:00 2001 From: gjoranv Date: Fri, 20 Oct 2023 18:33:19 +0200 Subject: Rename FINALIZED -> FROZEN and improve comments. --- .../hosted/controller/api/integration/billing/BillStatus.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'controller-api/src') 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 -- cgit v1.2.3