Package com.commercetools.api.client
Interface QueryTrait<T extends QueryTrait<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
,ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet
,ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet
,ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet
,ByProjectKeyInStoreKeyByStoreKeyQuotesGet
,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet
,ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet
,ByProjectKeyInventoryGet
,ByProjectKeyMeBusinessUnitsGet
,ByProjectKeyMeCartsGet
,ByProjectKeyMeGet
,ByProjectKeyMeOrdersGet
,ByProjectKeyMePaymentsGet
,ByProjectKeyMeQuoteRequestsGet
,ByProjectKeyMeQuotesGet
,ByProjectKeyMeShoppingListsGet
,ByProjectKeyMessagesGet
,ByProjectKeyOrdersEditsGet
,ByProjectKeyOrdersGet
,ByProjectKeyPaymentsGet
,ByProjectKeyProductDiscountsGet
,ByProjectKeyProductProjectionsGet
,ByProjectKeyProductsByIDProductSelectionsGet
,ByProjectKeyProductSelectionsGet
,ByProjectKeyProductsGet
,ByProjectKeyProductsKeyByKeyProductSelectionsGet
,ByProjectKeyProductTailoringGet
,ByProjectKeyProductTypesGet
,ByProjectKeyQuoteRequestsGet
,ByProjectKeyQuotesGet
,ByProjectKeyReviewsGet
,ByProjectKeyShippingMethodsGet
,ByProjectKeyShoppingListsGet
,ByProjectKeyStagedQuotesGet
,ByProjectKeyStandalonePricesGet
,ByProjectKeyStatesGet
,ByProjectKeyStoresGet
,ByProjectKeySubscriptionsGet
,ByProjectKeyTaxCategoriesGet
,ByProjectKeyTypesGet
,ByProjectKeyZonesGet
public interface QueryTrait<T extends QueryTrait<T>>
QueryTrait
-
Method Summary
Modifier and TypeMethodDescription<TValue> QueryTrait<T>
addPredicateVar
(String varName, TValue predicateVar) add additional predicateVar query parameter<TValue> QueryTrait<T>
addWhere
(TValue where) add additional where query parameterdefault QueryTrait<T>
default T
getWhere()
<TValue> QueryTrait<T>
withPredicateVar
(String varName, TValue predicateVar) set predicateVar with the specificied value<TValue> QueryTrait<T>
withWhere
(TValue where) set where with the specificied value
-
Method Details
-
getWhere
-
withWhere
set where with the specificied value- Type Parameters:
TValue
- value type- Parameters:
where
- value to be set- Returns:
- QueryTrait
-
addWhere
add additional where query parameter- Type Parameters:
TValue
- value type- Parameters:
where
- value to be added- Returns:
- QueryTrait
-
withPredicateVar
set predicateVar with the specificied value- Type Parameters:
TValue
- value type- Parameters:
varName
- placeholder namepredicateVar
- value to be set- Returns:
- QueryTrait
-
addPredicateVar
add additional predicateVar query parameter- Type Parameters:
TValue
- value type- Parameters:
varName
- placeholder namepredicateVar
- value to be added- Returns:
- QueryTrait
-
asQueryTrait
-
asQueryTraitToBaseType
-