public interface CustomerGroupService extends BatchService<CustomerGroupServiceBatch>
The service enables you to retrieve customer group master data. You can read customer groups and their name in the corresponding language..
Reference: SAP API Business Hub
OData Service: | OP_API_CUSTOMERGROUP_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Customer |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
CustomerGroupFluentHelper |
getAllCustomerGroup()
Fetch multiple
CustomerGroup entities. |
CustomerGroupTextFluentHelper |
getAllCustomerGroupText()
Fetch multiple
CustomerGroupText entities. |
CustomerGroupByKeyFluentHelper |
getCustomerGroupByKey(String customerGroup)
Fetch a single
CustomerGroup entity using key fields. |
CustomerGroupTextByKeyFluentHelper |
getCustomerGroupTextByKey(String customerGroup,
String language)
Fetch a single
CustomerGroupText entity using key fields. |
CustomerGroupService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CustomerGroupService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CustomerGroupFluentHelper getAllCustomerGroup()
CustomerGroup
entities.CustomerGroup
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 CustomerGroupByKeyFluentHelper getCustomerGroupByKey(String customerGroup)
CustomerGroup
entity using key fields.customerGroup
- Customer Group
Constraints: Not nullable, Maximum length: 2
CustomerGroup
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 CustomerGroupTextFluentHelper getAllCustomerGroupText()
CustomerGroupText
entities.CustomerGroupText
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 CustomerGroupTextByKeyFluentHelper getCustomerGroupTextByKey(String customerGroup, String language)
CustomerGroupText
entity using key fields.customerGroup
- Customer Group
Constraints: Not nullable, Maximum length: 2
language
- Language Key
Constraints: Not nullable, Maximum length: 2
CustomerGroupText
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.