@Named public class DefaultReadCustomerGroupService extends Object implements ReadCustomerGroupService
This service enables you to read customer group master data in an API call. It is based on the OData protocol, and can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_CUSTOMERGROUP_SRV |
API Version: | 1 |
Communication Scenario: | SAP Business Objects Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | oData Integration with SAP Business Objects Cloud for Planning (1YB) |
Constructor and Description |
---|
DefaultReadCustomerGroupService() |
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. |
public CustomerGroupFluentHelper getAllCustomerGroup()
ReadCustomerGroupService
CustomerGroup
entities.getAllCustomerGroup
in interface ReadCustomerGroupService
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.public CustomerGroupByKeyFluentHelper getCustomerGroupByKey(String customerGroup)
ReadCustomerGroupService
CustomerGroup
entity using key fields.getCustomerGroupByKey
in interface ReadCustomerGroupService
customerGroup
- Identifies a particular group of customers (for example, wholesale or retail) for the purpose of pricing or generating statistics.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.public CustomerGroupTextFluentHelper getAllCustomerGroupText()
ReadCustomerGroupService
CustomerGroupText
entities.getAllCustomerGroupText
in interface ReadCustomerGroupService
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.public CustomerGroupTextByKeyFluentHelper getCustomerGroupTextByKey(String customerGroup, String language)
ReadCustomerGroupService
CustomerGroupText
entity using key fields.getCustomerGroupTextByKey
in interface ReadCustomerGroupService
customerGroup
- Identifies a particular group of customers (for example, wholesale or retail) for the purpose of pricing or generating statistics.Constraints: Not nullable, Maximum length: 2
language
- The language key indicatesConstraints: 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 © 2017 SAP SE. All rights reserved.