Interface ProductTypeService
- All Known Implementing Classes:
DefaultProductTypeService
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..
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theProductTypeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProductTypeTextentity collection matching the filter and search expressions.Deprecated.Fetch multipleProductTypeentities.Deprecated.Fetch multipleProductTypeTextentities.getProductTypeByKey(String productType) Deprecated.Fetch a singleProductTypeentity using key fields.getProductTypeTextByKey(String productType, String language) Deprecated.Fetch a singleProductTypeTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
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
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProductType
Deprecated.Fetch multipleProductTypeentities.- Returns:
- A request builder to fetch multiple
ProductTypeentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProductType
Deprecated.Fetch the number of entries from theProductTypeentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProductTypeentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProductTypeByKey
Deprecated.Fetch a singleProductTypeentity using key fields.- Parameters:
productType- Product TypeConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
ProductTypeentity 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 theexecutemethod on the request builder object.
-
getAllProductTypeText
Deprecated.Fetch multipleProductTypeTextentities.- Returns:
- A request builder to fetch multiple
ProductTypeTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProductTypeText
Deprecated.Fetch the number of entries from theProductTypeTextentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProductTypeTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProductTypeTextByKey
@Nonnull GetByKeyRequestBuilder<ProductTypeText> getProductTypeTextByKey(String productType, String language) Deprecated.Fetch a singleProductTypeTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
productType- Product TypeConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
ProductTypeTextentity 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 theexecutemethod on the request builder object.
-