Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 1e86968

Browse files
author
Alejo
committed
add filterable values
1 parent 7c9161d commit 1e86968

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/CoreProductStockStatus.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ enum class CoreProductStockStatus(val value: String) {
1313
private val valueMap = entries.associateBy(CoreProductStockStatus::value)
1414
val ALL_VALUES = valueMap.keys
1515

16+
val FILTERABLE_VALUES = setOf(IN_STOCK, OUT_OF_STOCK, ON_BACK_ORDER)
1617
/**
1718
* Convert the base value into the associated CoreProductStockStatus object
1819
*/

0 commit comments

Comments
 (0)