@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerAndSupplierIndustryService") public class DefaultCustomerAndSupplierIndustryService extends Object implements CustomerAndSupplierIndustryService
The service enables you to retrieve industries and their names in the respective language..
Reference: SAP API Business Hub
OData Service: | API_CUSTOMERSUPPLIERINDUSTRY_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
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
- An industry is a distinct group of companies with the same basic business activity. The industry key
is used in selecting data for evaluations (for example, a vendor master data list). You can specify
industries such as trade, banking, service, manufacturing, health care, public service, media and so
on.
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
- The language key indicates
Constraints: Not nullable, Maximum length: 2
industry
- An industry is a distinct group of companies with the same basic business activity. The industry key
is used in selecting data for evaluations (for example, a vendor master data list). You can specify
industries such as trade, banking, service, manufacturing, health care, public service, media and so
on.
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.