@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultCustomerAndSupplierIndustryService") public class DefaultCustomerAndSupplierIndustryService extends Object implements CustomerAndSupplierIndustryService
The service enables you to retrieve industry master data. You can read customer industries and their keys for the respective language..
Reference: SAP API Business Hub
OData Service: | OP_API_CUSTOMERSUPPLIERINDUSTRY_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Customer |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCustomerAndSupplierIndustryService()
Creates a service using
CustomerAndSupplierIndustryService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultCustomerAndSupplierIndustryServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CustomerSupplierIndustryFluentHelper |
getAllCustomerSupplierIndustry()
Fetch multiple
CustomerSupplierIndustry entities. |
CustomerSupplierIndustryTextFluentHelper |
getAllCustomerSupplierIndustryText()
Fetch multiple
CustomerSupplierIndustryText entities. |
CustomerSupplierIndustryByKeyFluentHelper |
getCustomerSupplierIndustryByKey(String industry)
Fetch a single
CustomerSupplierIndustry entity using key fields. |
CustomerSupplierIndustryTextByKeyFluentHelper |
getCustomerSupplierIndustryTextByKey(String language,
String industry)
Fetch a single
CustomerSupplierIndustryText entity using key fields. |
DefaultCustomerAndSupplierIndustryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultCustomerAndSupplierIndustryService()
CustomerAndSupplierIndustryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCustomerAndSupplierIndustryService withServicePath(@Nonnull String servicePath)
CustomerAndSupplierIndustryService
withServicePath
in interface CustomerAndSupplierIndustryService
servicePath
- Service path that will override the default.@Nonnull public DefaultCustomerAndSupplierIndustryServiceBatch batch()
batch
in interface BatchService<CustomerAndSupplierIndustryServiceBatch>
@Nonnull public CustomerSupplierIndustryFluentHelper getAllCustomerSupplierIndustry()
CustomerAndSupplierIndustryService
CustomerSupplierIndustry
entities.getAllCustomerSupplierIndustry
in interface CustomerAndSupplierIndustryService
CustomerSupplierIndustry
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustomerSupplierIndustryByKeyFluentHelper getCustomerSupplierIndustryByKey(String industry)
CustomerAndSupplierIndustryService
CustomerSupplierIndustry
entity using key fields.getCustomerSupplierIndustryByKey
in interface CustomerAndSupplierIndustryService
industry
- Industry key
Constraints: Not nullable, Maximum length: 4
CustomerSupplierIndustry
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustomerSupplierIndustryTextFluentHelper getAllCustomerSupplierIndustryText()
CustomerAndSupplierIndustryService
CustomerSupplierIndustryText
entities.getAllCustomerSupplierIndustryText
in interface CustomerAndSupplierIndustryService
CustomerSupplierIndustryText
entities. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustomerSupplierIndustryTextByKeyFluentHelper getCustomerSupplierIndustryTextByKey(String language, String industry)
CustomerAndSupplierIndustryService
CustomerSupplierIndustryText
entity using key fields.getCustomerSupplierIndustryTextByKey
in interface CustomerAndSupplierIndustryService
language
- Language Key
Constraints: Not nullable, Maximum length: 2
industry
- Industry key
Constraints: Not nullable, Maximum length: 4
CustomerSupplierIndustryText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.