public interface CostCenterTestService
Cost Center Data Provider.
Reference: SAP API Business Hub
OData Service: | FCO_PI_COST_CENTER |
API Version: | 1 |
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 |
---|---|
CostCenterFluentHelper |
getAllCostCenter()
Fetch multiple
CostCenter
entities. |
CostCenterTextFluentHelper |
getAllCostCenterText()
Fetch multiple
CostCenterText entities. |
CostCenterByKeyFluentHelper |
getCostCenterByKey(String companyCode,
String costCenterID,
LocalDateTime validityEndDate)
Fetch a single
CostCenter
entity using key fields. |
CostCenterTextByKeyFluentHelper |
getCostCenterTextByKey(String companyCode,
String costCenterID,
LocalDateTime validityEndDate,
String language)
Fetch a single
CostCenterText entity using key fields. |
CostCenterTestService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CostCenterTestService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CostCenterFluentHelper getAllCostCenter()
CostCenter
entities.CostCenter
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 CostCenterByKeyFluentHelper getCostCenterByKey(String companyCode, String costCenterID, LocalDateTime validityEndDate)
CostCenter
entity using key fields.companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
costCenterID
- Cost Center
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To
Constraints: Not nullable, Precision: 0
CostCenter
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 CostCenterTextFluentHelper getAllCostCenterText()
CostCenterText
entities.CostCenterText
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 CostCenterTextByKeyFluentHelper getCostCenterTextByKey(String companyCode, String costCenterID, LocalDateTime validityEndDate, String language)
CostCenterText
entity using key fields.companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
costCenterID
- Cost Center
Constraints: Not nullable, Maximum length: 10
language
- Language Key
Constraints: Not nullable, Maximum length: 2
validityEndDate
- Valid To
Constraints: Not nullable, Precision: 0
CostCenterText
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 © 2019 SAP SE. All rights reserved.