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 Details

    • getWhere

      List<String> getWhere()
    • withWhere

      <TValue> QueryTrait<T> withWhere(TValue where)
      set where with the specificied value
      Type Parameters:
      TValue - value type
      Parameters:
      where - value to be set
      Returns:
      QueryTrait
    • addWhere

      <TValue> QueryTrait<T> addWhere(TValue where)
      add additional where query parameter
      Type Parameters:
      TValue - value type
      Parameters:
      where - value to be added
      Returns:
      QueryTrait
    • withPredicateVar

      <TValue> QueryTrait<T> withPredicateVar(String varName, TValue predicateVar)
      set predicateVar with the specificied value
      Type Parameters:
      TValue - value type
      Parameters:
      varName - placeholder name
      predicateVar - value to be set
      Returns:
      QueryTrait
    • addPredicateVar

      <TValue> QueryTrait<T> addPredicateVar(String varName, TValue predicateVar)
      add additional predicateVar query parameter
      Type Parameters:
      TValue - value type
      Parameters:
      varName - placeholder name
      predicateVar - value to be added
      Returns:
      QueryTrait
    • asQueryTrait

      default QueryTrait<T> asQueryTrait()
    • asQueryTraitToBaseType

      default T asQueryTraitToBaseType()