Skip to content

Commit

Permalink
Merge pull request #3121 from wordpress-mobile/issue/fluxc-13195-filt…
Browse files Browse the repository at this point in the history
…er-downloadable-products-api

[Woo POS][Non-Simple Products] Add downloadable filter for POS products
  • Loading branch information
AnirudhBhat authored Dec 25, 2024
2 parents 242d0b6 + 2a98cf7 commit b329e03
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 b329e03

Please sign in to comment.