State Diagram

878

State Diagram

  1. Available – The code can be used in a purchase
  2. Blocked – The code cannot be used in a purchase. This allows for the code to exist but no be used.
  3. Deleted – The code no longer exists.
  4. Locked – This is an internal state to prevent use once codes from being purchased multiple times.
  5. Used – This is once a use once code is purchased successfully.