Class B2BCompanyUtils


  • public final class B2BCompanyUtils
    extends java.lang.Object
    Utility class for b2b commerce facades.
    • Field Detail

    • Method Detail

      • createB2BSelectionData

        public static B2BSelectionData createB2BSelectionData​(java.lang.String code,
                                                              boolean selected,
                                                              boolean active)
        Creates a B2BSelectionData instance.
        Parameters:
        code -
        selected -
        active -
        Returns:
        The new B2BSelectionData.
      • convertPageData

        @Deprecated(since="6.3",
                    forRemoval=true)
        public static <S,​T> SearchPageData<T> convertPageData​(SearchPageData<S> source,
                                                                    Converter<S,​T> converter)
        Deprecated, for removal: This API element is subject to removal in a future version.
        "Deprecated since 6.3". Use instead. Converts a SearchPageData of type <S> into one of type <T > using the converter provided.
        Type Parameters:
        S - The source type.
        T - The target type.
        Parameters:
        source -
        converter -
        Returns:
        The new SearchPageData.