public interface CountryService extends BatchService<CountryServiceBatch>
The service enables you to retrieve country information like ISO codes, currencies and tax procedure..
Reference: SAP API Business Hub
OData Service: | API_COUNTRY_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 |
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 |
---|---|
CountryFluentHelper |
getAllCountry()
Fetch multiple
Country entities. |
CountryTextFluentHelper |
getAllCountryText()
Fetch multiple
CountryText
entities. |
CountryByKeyFluentHelper |
getCountryByKey(String country)
Fetch a single
Country entity using
key fields. |
CountryTextByKeyFluentHelper |
getCountryTextByKey(String country,
String language)
Fetch a single
CountryText entity
using key fields. |
CountryService |
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 CountryService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CountryFluentHelper getAllCountry()
Country
entities.@Nonnull CountryByKeyFluentHelper getCountryByKey(String country)
Country
entity using
key fields.country
- The country key contains information which the system uses to check entries such as the length of the
postal code or bank account number.
Constraints: Not nullable, Maximum length: 3
Country
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 CountryTextFluentHelper getAllCountryText()
CountryText
entities.CountryText
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 CountryTextByKeyFluentHelper getCountryTextByKey(String country, String language)
CountryText
entity
using key fields.country
- The country key contains information which the system uses to check entries such as the length of the
postal code or bank account number.
Constraints: Not nullable, Maximum length: 3
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
CountryText
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 © 2020 SAP SE. All rights reserved.