Class DefaultProductTypeService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductTypeService
All Implemented Interfaces:
OperationsOnEntityCollections, ServiceWithNavigableEntities, ProductTypeService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductTypeService") @Deprecated public class DefaultProductTypeService extends Object implements ServiceWithNavigableEntities, 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
  • Constructor Details

  • Method Details

    • withServicePath

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

      @Nonnull public BatchRequestBuilder batch()
      Deprecated.
      Description copied from interface: ProductTypeService
      Creates a batch request builder object.
      Specified by:
      batch in interface ProductTypeService
      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 public GetAllRequestBuilder<ProductType> getAllProductType()
      Deprecated.
      Description copied from interface: ProductTypeService
      Fetch multiple ProductType entities.
      Specified by:
      getAllProductType in interface ProductTypeService
      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 public CountRequestBuilder<ProductType> countProductType()
      Deprecated.
      Description copied from interface: ProductTypeService
      Fetch the number of entries from the ProductType entity collection matching the filter and search expressions.
      Specified by:
      countProductType in interface ProductTypeService
      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 public GetByKeyRequestBuilder<ProductType> getProductTypeByKey(String productType)
      Deprecated.
      Description copied from interface: ProductTypeService
      Fetch a single ProductType entity using key fields.
      Specified by:
      getProductTypeByKey in interface ProductTypeService
      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 public GetAllRequestBuilder<ProductTypeText> getAllProductTypeText()
      Deprecated.
      Description copied from interface: ProductTypeService
      Fetch multiple ProductTypeText entities.
      Specified by:
      getAllProductTypeText in interface ProductTypeService
      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 public CountRequestBuilder<ProductTypeText> countProductTypeText()
      Deprecated.
      Description copied from interface: ProductTypeService
      Fetch the number of entries from the ProductTypeText entity collection matching the filter and search expressions.
      Specified by:
      countProductTypeText in interface ProductTypeService
      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 public GetByKeyRequestBuilder<ProductTypeText> getProductTypeTextByKey(String productType, String language)
      Deprecated.
      Description copied from interface: ProductTypeService
      Fetch a single ProductTypeText entity using key fields.
      Specified by:
      getProductTypeTextByKey in interface ProductTypeService
      Parameters:
      productType - Product Type

      Constraints: Not nullable, Maximum length: 4

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      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.
    • getServicePath

      @Nonnull public String getServicePath()
      Deprecated.
      Specified by:
      getServicePath in interface ServiceWithNavigableEntities