Class SliceSoldOutTrouble

All Implemented Interfaces:
com.tccc.kos.commons.core.service.trouble.TroubleIface, HolderBlockTrouble, SoldOutAware, ContainerSliceTroubleIface, ContainerTroubleIface, HolderTroubleIface

public class SliceSoldOutTrouble extends ContainerSliceTrouble implements SoldOutAware
Trouble that indicates that a container slice is sold out.
Version:
2024-10-30
  • Constructor Details

    • SliceSoldOutTrouble

      public SliceSoldOutTrouble(ContainerSlice slice, String reason)
      Create a new SliceSoldOutTrouble for the specified container slice. Sets the soldOut flag on the slice as a side effect.
      Parameters:
      slice - the slice that is sold out
      reason - the reason for the sold out