Package com.commercetools.api.client
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,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsGet,ByProjectKeyAssociateRolesGet,ByProjectKeyAttributeGroupsGet,ByProjectKeyBusinessUnitsGet,ByProjectKeyCartDiscountsGet,ByProjectKeyCartsGet,ByProjectKeyCategoriesGet,ByProjectKeyChannelsGet,ByProjectKeyCustomerGroupsGet,ByProjectKeyCustomersGet,ByProjectKeyCustomObjectsByContainerGet,ByProjectKeyCustomObjectsGet,ByProjectKeyDiscountCodesGet,ByProjectKeyDiscountGroupsGet,ByProjectKeyExtensionsGet,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsGet,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,ByProjectKeyPaymentMethodsGet,ByProjectKeyPaymentsGet,ByProjectKeyProductDiscountsGet,ByProjectKeyProductProjectionsGet,ByProjectKeyProductsByIDProductSelectionsGet,ByProjectKeyProductSelectionsByIDProductsGet,ByProjectKeyProductSelectionsGet,ByProjectKeyProductSelectionsKeyByKeyProductsGet,ByProjectKeyProductsGet,ByProjectKeyProductsKeyByKeyProductSelectionsGet,ByProjectKeyProductTailoringGet,ByProjectKeyProductTypesGet,ByProjectKeyQuoteRequestsGet,ByProjectKeyQuotesGet,ByProjectKeyRecurrencePoliciesGet,ByProjectKeyRecurringOrdersGet,ByProjectKeyReviewsGet,ByProjectKeyShippingMethodsGet,ByProjectKeyShippingMethodsMatchingLocationGet,ByProjectKeyShoppingListsGet,ByProjectKeyStagedQuotesGet,ByProjectKeyStandalonePricesGet,ByProjectKeyStatesGet,ByProjectKeyStoresGet,ByProjectKeySubscriptionsGet,ByProjectKeyTaxCategoriesGet,ByProjectKeyTypesGet,ByProjectKeyZonesGet
public interface SortableTrait<T extends SortableTrait<T>>
SortableTrait
-
Method Summary
Modifier and TypeMethodDescription<TValue> SortableTrait<T>addSort(TValue sort) add additional sort query parameterdefault SortableTrait<T>default TgetSort()<TValue> SortableTrait<T>withSort(TValue sort) set sort with the specificied value
-
Method Details
-
getSort
-
withSort
set sort with the specificied value- Type Parameters:
TValue- value type- Parameters:
sort- value to be set- Returns:
- SortableTrait
-
addSort
add additional sort query parameter- Type Parameters:
TValue- value type- Parameters:
sort- value to be added- Returns:
- SortableTrait
-
asSortableTrait
-
asSortableTraitToBaseType
-