Interface ProductTypeService

All Known Implementing Classes:
DefaultProductTypeService

@Deprecated public interface ProductTypeService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

This synchronous inbound OData service enables external systems and other consumers to read product types and their descriptions. This service only supports the GET operation..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: PRODUCTTYPE_0001
API Version: 1.0.1
Minimum ERP Version: 2302
Communication Scenario: Product Integration(SAP_COM_0009)
Scope Items: Master Data Integration(1RO), Opportunity-to-Order with SAP Cloud for Customer(1VP)
Authentication Methods: x509
Service Group Name: API_PRODUCTTYPE
Business Object: Product
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull ProductTypeService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllProductType

      @Nonnull GetAllRequestBuilder<ProductType> getAllProductType()
      Deprecated.
      Fetch multiple ProductType entities.
      Returns:
      A request builder to fetch multiple ProductType entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countProductType

      @Nonnull CountRequestBuilder<ProductType> countProductType()
      Deprecated.
      Fetch the number of entries from the ProductType entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ProductType entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getProductTypeByKey

      @Nonnull GetByKeyRequestBuilder<ProductType> getProductTypeByKey(String productType)
      Deprecated.
      Fetch a single ProductType entity using key fields.
      Parameters:
      productType - Product Type

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A request builder to fetch a single ProductType entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getAllProductTypeText

      @Nonnull GetAllRequestBuilder<ProductTypeText> getAllProductTypeText()
      Deprecated.
      Fetch multiple ProductTypeText entities.
      Returns:
      A request builder to fetch multiple ProductTypeText entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countProductTypeText

      @Nonnull CountRequestBuilder<ProductTypeText> countProductTypeText()
      Deprecated.
      Fetch the number of entries from the ProductTypeText entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ProductTypeText entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getProductTypeTextByKey

      @Nonnull GetByKeyRequestBuilder<ProductTypeText> getProductTypeTextByKey(String productType, String language)
      Deprecated.
      Fetch a single ProductTypeText entity using key fields.
      Parameters:
      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      productType - Product Type

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A request builder to fetch a single ProductTypeText entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.