Interface B2BCommerceUnitFacade

    • Method Detail

      • getPagedApproversForUnit

        @Deprecated(since="6.0",
                    forRemoval=true)
        SearchPageData<CustomerData> getPagedApproversForUnit​(PageableData pageableData,
                                                              java.lang.String unitUid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets a paged list of approvers. Approvers already assigned to the business unit with unitUid are marked as selected.
        Parameters:
        pageableData - Pagination data
        unitUid - A unit id of the business unit from which to check selected approvers.
        Returns:
        A paged approver data.
      • addApproverToUnit

        @Deprecated(since="6.0",
                    forRemoval=true)
        B2BSelectionData addApproverToUnit​(java.lang.String unitUid,
                                           java.lang.String approverUid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Adds an approver to a unit.
        Parameters:
        unitUid - A unit to add an approver to
        approverUid - The approver to add to a unit's list of approvers
        Returns:
        An approver if added successfully otherwise null.
      • removeApproverFromUnit

        @Deprecated(since="6.0",
                    forRemoval=true)
        B2BSelectionData removeApproverFromUnit​(java.lang.String unit,
                                                java.lang.String approver)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Removes an approver from a unit.
        Parameters:
        unit - A business unit id
        approver - An approvers uid
        Returns:
        An approver