Class DefaultCountryService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCountryService
All Implemented Interfaces:
BatchService<CountryServiceBatch>, CountryService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCountryService") @Deprecated public class DefaultCountryService extends Object implements CountryService
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..

Business Documentation

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultCountryService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: CountryService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface CountryService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultCountryServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<CountryServiceBatch>
    • getAllCountry

      @Nonnull public CountryFluentHelper getAllCountry()
      Deprecated.
      Description copied from interface: CountryService
      Fetch multiple Country entities.
      Specified by:
      getAllCountry in interface CountryService
      Returns:
      A fluent helper to fetch multiple Country 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.
    • getCountryByKey

      @Nonnull public CountryByKeyFluentHelper getCountryByKey(String country)
      Deprecated.
      Description copied from interface: CountryService
      Fetch a single Country entity using key fields.
      Specified by:
      getCountryByKey in interface CountryService
      Parameters:
      country - Country/Region Key

      Constraints: Not nullable, Maximum length: 3

      Returns:
      A fluent helper to fetch a single 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.
    • getAllCountryText

      @Nonnull public CountryTextFluentHelper getAllCountryText()
      Deprecated.
      Description copied from interface: CountryService
      Fetch multiple CountryText entities.
      Specified by:
      getAllCountryText in interface CountryService
      Returns:
      A fluent helper to fetch multiple 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.
    • getCountryTextByKey

      @Nonnull public CountryTextByKeyFluentHelper getCountryTextByKey(String country, String language)
      Deprecated.
      Description copied from interface: CountryService
      Fetch a single CountryText entity using key fields.
      Specified by:
      getCountryTextByKey in interface CountryService
      Parameters:
      country - Country/Region Key

      Constraints: Not nullable, Maximum length: 3

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A fluent helper to fetch a single 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.