Class Country.CountryBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.country.Country.CountryBuilder
- Enclosing class:
- Country
Helper class to allow for fluent creation of Country instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()(Key Field) Constraints: Not nullable, Maximum length: 3countryCurrency(String countryCurrency) Constraints: Not nullable, Maximum length: 5countryThreeDigitISOCode(String countryThreeDigitISOCode) Constraints: Not nullable, Maximum length: 3countryThreeLetterISOCode(String countryThreeLetterISOCode) Constraints: Not nullable, Maximum length: 3hardCurrency(String hardCurrency) Constraints: Not nullable, Maximum length: 5indexBasedCurrency(String indexBasedCurrency) Constraints: Not nullable, Maximum length: 5taxCalculationProcedure(String taxCalculationProcedure) Constraints: Not nullable, Maximum length: 6text(CountryText... value) Navigation property to_Text for Country to multiple CountryText.toString()
-
Method Details
-
text
Navigation property to_Text for Country to multiple CountryText.- Parameters:
value- The CountryTexts to build this Country with.- Returns:
- This Builder to allow for a fluent interface.
-
country
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
this.
-
countryCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CountryCurrency
- Returns:
this.
-
indexBasedCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: IndexBasedCurrency
- Returns:
this.
-
hardCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: HardCurrency
- Returns:
this.
-
taxCalculationProcedure
@Nonnull public Country.CountryBuilder taxCalculationProcedure(@Nullable String taxCalculationProcedure) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: TaxCalculationProcedure
- Returns:
this.
-
countryThreeLetterISOCode
@Nonnull public Country.CountryBuilder countryThreeLetterISOCode(@Nullable String countryThreeLetterISOCode) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CountryThreeLetterISOCode
- Returns:
this.
-
countryThreeDigitISOCode
@Nonnull public Country.CountryBuilder countryThreeDigitISOCode(@Nullable String countryThreeDigitISOCode) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CountryThreeDigitISOCode
- Returns:
this.
-
build
-
toString
-