Interface CountryService
- All Superinterfaces:
BatchService<CountryServiceBatch>
- All Known Implementing Classes:
DefaultCountryService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to retrieve country/region information like ISO codes, currencies and tax procedure..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_COUNTRY_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB) |
| Authentication Methods: | x509 |
| Business Object: | Country |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Fetch multipleCountryentities.Deprecated.Fetch multipleCountryTextentities.getCountryByKey(String country) Deprecated.Fetch a singleCountryentity using key fields.getCountryTextByKey(String country, String language) Deprecated.Fetch a singleCountryTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllCountry
Deprecated.Fetch multipleCountryentities.- Returns:
- A fluent helper to fetch multiple
Countryentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCountryByKey
Deprecated.Fetch a singleCountryentity using key fields.- Parameters:
country- Country/Region KeyConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
Countryentity 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 theexecutemethod on the fluent helper object.
-
getAllCountryText
Deprecated.Fetch multipleCountryTextentities.- Returns:
- A fluent helper to fetch multiple
CountryTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCountryTextByKey
Deprecated.Fetch a singleCountryTextentity using key fields.- Parameters:
country- Country/Region KeyConstraints: Not nullable, Maximum length: 3
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
CountryTextentity 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 theexecutemethod on the fluent helper object.
-