Interface SortableTrait<T extends SortableTrait<T>>

Type Parameters:
T - type of extending interface
All Known Implementing Classes:
ByProjectKeyApiClientsGet, ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet, ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet, ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet, ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet, ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet, ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet, ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet, ByProjectKeyAssociateRolesGet, ByProjectKeyAttributeGroupsGet, ByProjectKeyBusinessUnitsGet, ByProjectKeyCartDiscountsGet, ByProjectKeyCartsGet, ByProjectKeyCategoriesGet, ByProjectKeyChannelsGet, ByProjectKeyCustomerGroupsGet, ByProjectKeyCustomersGet, ByProjectKeyCustomObjectsByContainerGet, ByProjectKeyCustomObjectsGet, ByProjectKeyDiscountCodesGet, ByProjectKeyExtensionsGet, ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet, ByProjectKeyInStoreKeyByStoreKeyCartsGet, ByProjectKeyInStoreKeyByStoreKeyCustomersGet, ByProjectKeyInStoreKeyByStoreKeyMeCartsGet, ByProjectKeyInStoreKeyByStoreKeyMeGet, ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet, ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet, ByProjectKeyInStoreKeyByStoreKeyOrdersGet, ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet, ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet, ByProjectKeyInStoreKeyByStoreKeyQuotesGet, ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet, ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet, ByProjectKeyInventoryGet, ByProjectKeyMeBusinessUnitsGet, ByProjectKeyMeCartsGet, ByProjectKeyMeGet, ByProjectKeyMeOrdersGet, ByProjectKeyMePaymentsGet, ByProjectKeyMeQuoteRequestsGet, ByProjectKeyMeQuotesGet, ByProjectKeyMeShoppingListsGet, ByProjectKeyMessagesGet, ByProjectKeyOrdersEditsGet, ByProjectKeyOrdersGet, ByProjectKeyPaymentsGet, ByProjectKeyProductDiscountsGet, ByProjectKeyProductProjectionsGet, ByProjectKeyProductProjectionsSearchGet, ByProjectKeyProductsByIDProductSelectionsGet, ByProjectKeyProductSelectionsByIDProductsGet, ByProjectKeyProductSelectionsGet, ByProjectKeyProductSelectionsKeyByKeyProductsGet, ByProjectKeyProductsGet, ByProjectKeyProductsKeyByKeyProductSelectionsGet, ByProjectKeyProductTailoringGet, ByProjectKeyProductTypesGet, ByProjectKeyQuoteRequestsGet, ByProjectKeyQuotesGet, ByProjectKeyReviewsGet, ByProjectKeyShippingMethodsGet, ByProjectKeyShippingMethodsMatchingLocationGet, ByProjectKeyShoppingListsGet, ByProjectKeyStagedQuotesGet, ByProjectKeyStandalonePricesGet, ByProjectKeyStatesGet, ByProjectKeyStoresGet, ByProjectKeySubscriptionsGet, ByProjectKeyTaxCategoriesGet, ByProjectKeyTypesGet, ByProjectKeyZonesGet

public interface SortableTrait<T extends SortableTrait<T>>
SortableTrait
  • Method Details

    • getSort

      List<String> getSort()
    • withSort

      <TValue> SortableTrait<T> withSort(TValue sort)
      set sort with the specificied value
      Type Parameters:
      TValue - value type
      Parameters:
      sort - value to be set
      Returns:
      SortableTrait
    • addSort

      <TValue> SortableTrait<T> addSort(TValue sort)
      add additional sort query parameter
      Type Parameters:
      TValue - value type
      Parameters:
      sort - value to be added
      Returns:
      SortableTrait
    • asSortableTrait

      default SortableTrait<T> asSortableTrait()
    • asSortableTraitToBaseType

      default T asSortableTraitToBaseType()