Class CompanyCode
Original entity name from the Odata EDM: A_CompanyCodeType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompanyCodeField<String>Use with available fluent helpers to apply the AddressID field to query operations.static final CompanyCodeSelectableSelector for all available fields of CompanyCode.static final CompanyCodeField<String>Use with available fluent helpers to apply the ChartOfAccounts field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the CityName field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the Company field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the CompanyCodeName field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the ControllingArea field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the Country field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the CreditControlArea field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the Currency field to query operations.static final CompanyCodeField<Boolean>Use with available fluent helpers to apply the DocDateIsUsedForTaxDetn field to query operations.static final CompanyCodeField<Boolean>Use with available fluent helpers to apply the ExtendedWhldgTaxIsActive field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the FieldStatusVariant field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the FinancialManagementArea field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the FiscalYearVariant field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the Language field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the NonTaxableTransactionTaxCode field to query operations.static final CompanyCodeField<Boolean>Use with available fluent helpers to apply the TaxRptgDateIsActive field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the TaxableEntity field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the VATRegistration field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCompanyCode(String companyCode, String companyCodeName, String cityName, String country, String currency, String language, String chartOfAccounts, String fiscalYearVariant, String company, String creditControlArea, String countryChartOfAccounts, String financialManagementArea, String addressID, String taxableEntity, String vATRegistration, Boolean extendedWhldgTaxIsActive, String controllingArea, String fieldStatusVariant, String nonTaxableTransactionTaxCode, Boolean docDateIsUsedForTaxDetn, Boolean taxRptgDateIsActive) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
CompanyCodeField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CompanyCodeField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 25Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 25Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 5protected StringConstraints: noneprotected StringConstraints: noneConstraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2getKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4Constraints: nonegetType()Constraints: Not nullable, Maximum length: 20inthashCode()voidsetAddressID(String addressID) Constraints: Not nullable, Maximum length: 10voidsetChartOfAccounts(String chartOfAccounts) Constraints: Not nullable, Maximum length: 4voidsetCityName(String cityName) Constraints: Not nullable, Maximum length: 25voidsetCompany(String company) Constraints: Not nullable, Maximum length: 6voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCompanyCodeName(String companyCodeName) Constraints: Not nullable, Maximum length: 25voidsetControllingArea(String controllingArea) Constraints: Not nullable, Maximum length: 4voidsetCountry(String country) Constraints: Not nullable, Maximum length: 3voidsetCountryChartOfAccounts(String countryChartOfAccounts) Constraints: Not nullable, Maximum length: 4voidsetCreditControlArea(String creditControlArea) Constraints: Not nullable, Maximum length: 4voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetDocDateIsUsedForTaxDetn(Boolean docDateIsUsedForTaxDetn) Constraints: nonevoidsetExtendedWhldgTaxIsActive(Boolean extendedWhldgTaxIsActive) Constraints: nonevoidsetFieldStatusVariant(String fieldStatusVariant) Constraints: Not nullable, Maximum length: 4voidsetFinancialManagementArea(String financialManagementArea) Constraints: Not nullable, Maximum length: 4voidsetFiscalYearVariant(String fiscalYearVariant) Constraints: Not nullable, Maximum length: 2voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetNonTaxableTransactionTaxCode(String nonTaxableTransactionTaxCode) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTaxableEntity(String taxableEntity) Constraints: Not nullable, Maximum length: 4voidsetTaxRptgDateIsActive(Boolean taxRptgDateIsActive) Constraints: nonevoidsetVATRegistration(String vATRegistration) Constraints: Not nullable, Maximum length: 20toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CompanyCode. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
COMPANY_CODE_NAME
Use with available fluent helpers to apply the CompanyCodeName field to query operations. -
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations. -
COUNTRY
Use with available fluent helpers to apply the Country field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the ChartOfAccounts field to query operations. -
FISCAL_YEAR_VARIANT
Use with available fluent helpers to apply the FiscalYearVariant field to query operations. -
COMPANY
Use with available fluent helpers to apply the Company field to query operations. -
CREDIT_CONTROL_AREA
Use with available fluent helpers to apply the CreditControlArea field to query operations. -
COUNTRY_CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations. -
FINANCIAL_MANAGEMENT_AREA
Use with available fluent helpers to apply the FinancialManagementArea field to query operations. -
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations. -
TAXABLE_ENTITY
Use with available fluent helpers to apply the TaxableEntity field to query operations. -
VAT_REGISTRATION
Use with available fluent helpers to apply the VATRegistration field to query operations. -
EXTENDED_WHLDG_TAX_IS_ACTIVE
Use with available fluent helpers to apply the ExtendedWhldgTaxIsActive field to query operations. -
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations. -
FIELD_STATUS_VARIANT
Use with available fluent helpers to apply the FieldStatusVariant field to query operations. -
NON_TAXABLE_TRANSACTION_TAX_CODE
Use with available fluent helpers to apply the NonTaxableTransactionTaxCode field to query operations. -
DOC_DATE_IS_USED_FOR_TAX_DETN
Use with available fluent helpers to apply the DocDateIsUsedForTaxDetn field to query operations. -
TAX_RPTG_DATE_IS_ACTIVE
Use with available fluent helpers to apply the TaxRptgDateIsActive field to query operations.
-
-
Constructor Details
-
CompanyCode
public CompanyCode() -
CompanyCode
public CompanyCode(@Nullable String companyCode, @Nullable String companyCodeName, @Nullable String cityName, @Nullable String country, @Nullable String currency, @Nullable String language, @Nullable String chartOfAccounts, @Nullable String fiscalYearVariant, @Nullable String company, @Nullable String creditControlArea, @Nullable String countryChartOfAccounts, @Nullable String financialManagementArea, @Nullable String addressID, @Nullable String taxableEntity, @Nullable String vATRegistration, @Nullable Boolean extendedWhldgTaxIsActive, @Nullable String controllingArea, @Nullable String fieldStatusVariant, @Nullable String nonTaxableTransactionTaxCode, @Nullable Boolean docDateIsUsedForTaxDetn, @Nullable Boolean taxRptgDateIsActive)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CompanyCode>
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setCompanyCodeName
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: CompanyCodeName
- Parameters:
companyCodeName- Name of Company Code or Company
-
setCityName
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: CityName
- Parameters:
cityName- City
-
setCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region Key
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setChartOfAccounts
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ChartOfAccounts
- Parameters:
chartOfAccounts- Chart of Accounts
-
setFiscalYearVariant
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FiscalYearVariant
- Parameters:
fiscalYearVariant- Fiscal Year Variant
-
setCompany
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: Company
- Parameters:
company- Company
-
setCreditControlArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CreditControlArea
- Parameters:
creditControlArea- Credit Control Area
-
setCountryChartOfAccounts
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CountryChartOfAccounts
- Parameters:
countryChartOfAccounts- Alternative Chart of Accounts
-
setFinancialManagementArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FinancialManagementArea
- Parameters:
financialManagementArea- Financial Management Area
-
setAddressID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Parameters:
addressID- Address
-
setTaxableEntity
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TaxableEntity
- Parameters:
taxableEntity- Taxes on Sales/Purchases Group
-
setVATRegistration
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: VATRegistration
- Parameters:
vATRegistration- VAT Registration Number
-
setExtendedWhldgTaxIsActive
Constraints: noneOriginal property name from the Odata EDM: ExtendedWhldgTaxIsActive
- Parameters:
extendedWhldgTaxIsActive- Indicator: Extended Withholding Tax Active
-
setControllingArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Parameters:
controllingArea- Controlling Area
-
setFieldStatusVariant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FieldStatusVariant
- Parameters:
fieldStatusVariant- Field Status Variant
-
setNonTaxableTransactionTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: NonTaxableTransactionTaxCode
- Parameters:
nonTaxableTransactionTaxCode- Output Tax Code for Non-Taxable Transactions
-
setDocDateIsUsedForTaxDetn
Constraints: noneOriginal property name from the Odata EDM: DocDateIsUsedForTaxDetn
- Parameters:
docDateIsUsedForTaxDetn- Indicator: Document Date As the Basis for Tax Determination
-
setTaxRptgDateIsActive
Constraints: noneOriginal property name from the Odata EDM: TaxRptgDateIsActive
- Parameters:
taxRptgDateIsActive- Tax Reporting Date Active in Documents
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CompanyCode>
-
getKey
- Overrides:
getKeyin classVdmObject<CompanyCode>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CompanyCode>
-
fromMap
- Overrides:
fromMapin classVdmObject<CompanyCode>
-
field
@Nonnull public static <T> CompanyCodeField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CompanyCodeField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CompanyCode>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CompanyCode>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CompanyCode>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CompanyCode>
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getCompanyCodeName
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: CompanyCodeName
- Returns:
- Name of Company Code or Company
-
getCityName
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: CityName
- Returns:
- City
-
getCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region Key
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getChartOfAccounts
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ChartOfAccounts
- Returns:
- Chart of Accounts
-
getFiscalYearVariant
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FiscalYearVariant
- Returns:
- Fiscal Year Variant
-
getCompany
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: Company
- Returns:
- Company
-
getCreditControlArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CreditControlArea
- Returns:
- Credit Control Area
-
getCountryChartOfAccounts
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CountryChartOfAccounts
- Returns:
- Alternative Chart of Accounts
-
getFinancialManagementArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FinancialManagementArea
- Returns:
- Financial Management Area
-
getAddressID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Returns:
- Address
-
getTaxableEntity
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TaxableEntity
- Returns:
- Taxes on Sales/Purchases Group
-
getVATRegistration
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: VATRegistration
- Returns:
- VAT Registration Number
-
getExtendedWhldgTaxIsActive
Constraints: noneOriginal property name from the Odata EDM: ExtendedWhldgTaxIsActive
- Returns:
- Indicator: Extended Withholding Tax Active
-
getControllingArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
- Controlling Area
-
getFieldStatusVariant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FieldStatusVariant
- Returns:
- Field Status Variant
-
getNonTaxableTransactionTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: NonTaxableTransactionTaxCode
- Returns:
- Output Tax Code for Non-Taxable Transactions
-
getDocDateIsUsedForTaxDetn
Constraints: noneOriginal property name from the Odata EDM: DocDateIsUsedForTaxDetn
- Returns:
- Indicator: Document Date As the Basis for Tax Determination
-
getTaxRptgDateIsActive
Constraints: noneOriginal property name from the Odata EDM: TaxRptgDateIsActive
- Returns:
- Tax Reporting Date Active in Documents
-
toString
- Overrides:
toStringin classVdmObject<CompanyCode>
-
equals
- Overrides:
equalsin classVdmEntity<CompanyCode>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CompanyCode>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CompanyCode>
-