Skip to content

Commit

Permalink
Add downloadable status
Browse files Browse the repository at this point in the history
  • Loading branch information
AnirudhBhat committed Dec 24, 2024
1 parent 242d0b6 commit 2a98cf7
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,15 @@ class WCProductStore @Inject constructor(
* Defines the filter options currently supported in the app
*/
enum class ProductFilterOption {
STOCK_STATUS, STATUS, TYPE, CATEGORY;
STOCK_STATUS, STATUS, TYPE, CATEGORY, DOWNLOADABLE;

override fun toString() = name.toLowerCase(Locale.US)
override fun toString() = name.lowercase(Locale.US)
}

enum class DownloadableOptions {
TRUE, FALSE;

override fun toString() = name.lowercase(Locale.US)
}

enum class SkuSearchOptions {
Expand Down

0 comments on commit 2a98cf7

Please sign in to comment.