Interface ProductContract.DefinitionStages.WithState

All Known Subinterfaces:
ProductContract.Definition, ProductContract.DefinitionStages.WithCreate
Enclosing interface:
ProductContract.DefinitionStages

public static interface ProductContract.DefinitionStages.WithState
The stage of the ProductContract definition allowing to specify state.
  • Method Details

    • withState

      Specifies the state property: whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished..
      Parameters:
      state - whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished.
      Returns:
      the next definition stage.