Skip to content

Commit

Permalink
add filterable values
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejo committed Aug 16, 2024
1 parent 7c9161d commit 1e86968
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ enum class CoreProductStockStatus(val value: String) {
private val valueMap = entries.associateBy(CoreProductStockStatus::value)
val ALL_VALUES = valueMap.keys

val FILTERABLE_VALUES = setOf(IN_STOCK, OUT_OF_STOCK, ON_BACK_ORDER)
/**
* Convert the base value into the associated CoreProductStockStatus object
*/
Expand Down

0 comments on commit 1e86968

Please sign in to comment.