Modifier and Type | Class and Description |
---|---|
static class |
Country.CountryBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<Country,String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static EntityField<Country,String> |
COUNTRY_CURRENCY
Use with available fluent helpers to apply the CountryCurrency field to query operations.
|
static EntityField<Country,String> |
COUNTRY_THREE_DIGIT_I_S_O_CODE
Use with available fluent helpers to apply the CountryThreeDigitISOCode field to query operations.
|
static EntityField<Country,String> |
COUNTRY_THREE_LETTER_I_S_O_CODE
Use with available fluent helpers to apply the CountryThreeLetterISOCode field to query operations.
|
static EntityField<Country,String> |
HARD_CURRENCY
Use with available fluent helpers to apply the HardCurrency field to query operations.
|
static EntityField<Country,String> |
INDEX_BASED_CURRENCY
Use with available fluent helpers to apply the IndexBasedCurrency field to query operations.
|
static EntityField<Country,String> |
TAX_CALCULATION_PROCEDURE
Use with available fluent helpers to apply the TaxCalculationProcedure field to query operations.
|
Constructor and Description |
---|
Country() |
Country(String country,
String countryCurrency,
String indexBasedCurrency,
String hardCurrency,
String taxCalculationProcedure,
String countryThreeLetterISOCode,
String countryThreeDigitISOCode,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static Country.CountryBuilder |
builder() |
boolean |
equals(Object o) |
List<CountryText> |
fetchText()
Fetches the CountryText entities (one to many) associated with this entity.
|
static <T> EntityField<Country,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCountry()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getCountryCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getCountryThreeDigitISOCode()
Constraints: Not nullable, Maximum length: 3
|
String |
getCountryThreeLetterISOCode()
Constraints: Not nullable, Maximum length: 3
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getHardCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getIndexBasedCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getTaxCalculationProcedure()
Constraints: Not nullable, Maximum length: 6
|
Class<Country> |
getType() |
int |
hashCode() |
void |
setCountry(String country)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setCountryCurrency(String countryCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCountryThreeDigitISOCode(String countryThreeDigitISOCode)
Constraints: Not nullable, Maximum length: 3
|
void |
setCountryThreeLetterISOCode(String countryThreeLetterISOCode)
Constraints: Not nullable, Maximum length: 3
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setHardCurrency(String hardCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setIndexBasedCurrency(String indexBasedCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setTaxCalculationProcedure(String taxCalculationProcedure)
Constraints: Not nullable, Maximum length: 6
|
String |
toString() |
public static final EntityField<Country,String> COUNTRY
public static final EntityField<Country,String> COUNTRY_CURRENCY
public static final EntityField<Country,String> INDEX_BASED_CURRENCY
public static final EntityField<Country,String> HARD_CURRENCY
public static final EntityField<Country,String> TAX_CALCULATION_PROCEDURE
public static final EntityField<Country,String> COUNTRY_THREE_LETTER_I_S_O_CODE
public static final EntityField<Country,String> COUNTRY_THREE_DIGIT_I_S_O_CODE
@Generated(value="lombok") public Country()
@ConstructorProperties(value={"country","countryCurrency","indexBasedCurrency","hardCurrency","taxCalculationProcedure","countryThreeLetterISOCode","countryThreeDigitISOCode","erpConfigContext"}) @Generated(value="lombok") public Country(@Nullable String country, @Nullable String countryCurrency, @Nullable String indexBasedCurrency, @Nullable String hardCurrency, @Nullable String taxCalculationProcedure, @Nullable String countryThreeLetterISOCode, @Nullable String countryThreeDigitISOCode, ErpConfigContext erpConfigContext)
public static <T> EntityField<Country,T> field(String fieldName, Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.public List<CountryText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static Country.CountryBuilder builder()
@Nullable @Generated(value="lombok") public String getCountry()
@Nullable @Generated(value="lombok") public String getCountryCurrency()
If the tax amounts for particular codes are reported in a country other than the company code country, then it is necessary to translate them into the corresponding country currency. The currency key specified here is used for this translation. The "Plants abroad" parameter must be active in order to use this field.
@Nullable @Generated(value="lombok") public String getIndexBasedCurrency()
An index-based currency is stipulated for external reporting (for example, tax returns), in some countries with high inflation.
@Nullable @Generated(value="lombok") public String getHardCurrency()
A hard currency is used in countries with high inflation.
@Nullable @Generated(value="lombok") public String getTaxCalculationProcedure()
Procedures are used, for example, in the following applications: Pricing in Sales and Distribution Account determination Calculating taxes on sales/purchases
@Nullable @Generated(value="lombok") public String getCountryThreeLetterISOCode()
The key is used, e.g. for data exchange with banks via OFX (Open Financial Exchange). It is not the same as the more commonly used 2-character ISO country code or the 3-character numeric INTRASTAT country code. Enter the 3-character ISO country code for all countries if you want to exchange data with banks via OFX.
@Nullable @Generated(value="lombok") public String getCountryThreeDigitISOCode()
This 3-character numeric ISO country code is listed for all countries, for example, in the Internet under the address http://www.un.org/Depts/unsd/methods/m49alpha.htm. The code is not to be confused with the 2-character ISO country code, which is more frequently used, the 3-character numeric INTRASTAT country code, or the 3-character non-numeric ISO country code. The use of this 3-character numeric ISO code is required by law in countries such as Romania and Croatia.
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setCountry(@Nullable String country)
country
- @Generated(value="lombok") public void setCountryCurrency(@Nullable String countryCurrency)
If the tax amounts for particular codes are reported in a country other than the company code country, then it is necessary to translate them into the corresponding country currency. The currency key specified here is used for this translation. The "Plants abroad" parameter must be active in order to use this field.
countryCurrency
- @Generated(value="lombok") public void setIndexBasedCurrency(@Nullable String indexBasedCurrency)
An index-based currency is stipulated for external reporting (for example, tax returns), in some countries with high inflation.
indexBasedCurrency
- @Generated(value="lombok") public void setHardCurrency(@Nullable String hardCurrency)
A hard currency is used in countries with high inflation.
hardCurrency
- @Generated(value="lombok") public void setTaxCalculationProcedure(@Nullable String taxCalculationProcedure)
Procedures are used, for example, in the following applications: Pricing in Sales and Distribution Account determination Calculating taxes on sales/purchases
taxCalculationProcedure
- @Generated(value="lombok") public void setCountryThreeLetterISOCode(@Nullable String countryThreeLetterISOCode)
The key is used, e.g. for data exchange with banks via OFX (Open Financial Exchange). It is not the same as the more commonly used 2-character ISO country code or the 3-character numeric INTRASTAT country code. Enter the 3-character ISO country code for all countries if you want to exchange data with banks via OFX.
countryThreeLetterISOCode
- @Generated(value="lombok") public void setCountryThreeDigitISOCode(@Nullable String countryThreeDigitISOCode)
This 3-character numeric ISO country code is listed for all countries, for example, in the Internet under the address http://www.un.org/Depts/unsd/methods/m49alpha.htm. The code is not to be confused with the 2-character ISO country code, which is more frequently used, the 3-character numeric INTRASTAT country code, or the 3-character non-numeric ISO country code. The use of this 3-character numeric ISO code is required by law in countries such as Romania and Croatia.
countryThreeDigitISOCode
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2017 SAP SE. All rights reserved.