Component module

The selection component module includes all the domain and data logic required for forms and its selection. If you need to include this module, add it to your build.gradle:

implementation ("com.poqstudio:components.product.selection:$VERSION_NAME")


These are the available interactors in the selection component:

  • CreateCurrentSelection: it returns the CurrentSelection based on the selected forms provided.
  • ProcessFormSelection: it returns the new CurrentSelection selecting the provided form.
  • GetSelectedForm: returns the selected form or null if it is not selected.
  • GetStockType: it returns the StockType for the variant list and with the selected forms provided.