java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CompanyCode>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.financialplanningentryitem.CompanyCode

public class CompanyCode extends VdmEntity<CompanyCode>
Company Code Data

Original entity name from the Odata EDM: A_CompanyCodeType

  • Field Details

    • ALL_FIELDS

      public static final CompanyCodeSelectable ALL_FIELDS
      Selector for all available fields of CompanyCode.
    • COMPANY_CODE

      public static final CompanyCodeField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • COMPANY_CODE_NAME

      public static final CompanyCodeField<String> COMPANY_CODE_NAME
      Use with available fluent helpers to apply the CompanyCodeName field to query operations.
    • CITY_NAME

      public static final CompanyCodeField<String> CITY_NAME
      Use with available fluent helpers to apply the CityName field to query operations.
    • COUNTRY

      public static final CompanyCodeField<String> COUNTRY
      Use with available fluent helpers to apply the Country field to query operations.
    • CURRENCY

      public static final CompanyCodeField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • LANGUAGE

      public static final CompanyCodeField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • CHART_OF_ACCOUNTS

      public static final CompanyCodeField<String> CHART_OF_ACCOUNTS
      Use with available fluent helpers to apply the ChartOfAccounts field to query operations.
    • FISCAL_YEAR_VARIANT

      public static final CompanyCodeField<String> FISCAL_YEAR_VARIANT
      Use with available fluent helpers to apply the FiscalYearVariant field to query operations.
    • COMPANY

      public static final CompanyCodeField<String> COMPANY
      Use with available fluent helpers to apply the Company field to query operations.
    • CREDIT_CONTROL_AREA

      public static final CompanyCodeField<String> CREDIT_CONTROL_AREA
      Use with available fluent helpers to apply the CreditControlArea field to query operations.
    • COUNTRY_CHART_OF_ACCOUNTS

      public static final CompanyCodeField<String> COUNTRY_CHART_OF_ACCOUNTS
      Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.
    • FINANCIAL_MANAGEMENT_AREA

      public static final CompanyCodeField<String> FINANCIAL_MANAGEMENT_AREA
      Use with available fluent helpers to apply the FinancialManagementArea field to query operations.
    • ADDRESS_ID

      public static final CompanyCodeField<String> ADDRESS_ID
      Use with available fluent helpers to apply the AddressID field to query operations.
    • TAXABLE_ENTITY

      public static final CompanyCodeField<String> TAXABLE_ENTITY
      Use with available fluent helpers to apply the TaxableEntity field to query operations.
    • VAT_REGISTRATION

      public static final CompanyCodeField<String> VAT_REGISTRATION
      Use with available fluent helpers to apply the VATRegistration field to query operations.
    • EXTENDED_WHLDG_TAX_IS_ACTIVE

      public static final CompanyCodeField<Boolean> EXTENDED_WHLDG_TAX_IS_ACTIVE
      Use with available fluent helpers to apply the ExtendedWhldgTaxIsActive field to query operations.
    • CONTROLLING_AREA

      public static final CompanyCodeField<String> CONTROLLING_AREA
      Use with available fluent helpers to apply the ControllingArea field to query operations.
    • FIELD_STATUS_VARIANT

      public static final CompanyCodeField<String> FIELD_STATUS_VARIANT
      Use with available fluent helpers to apply the FieldStatusVariant field to query operations.
    • NON_TAXABLE_TRANSACTION_TAX_CODE

      public static final CompanyCodeField<String> 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

      public static final CompanyCodeField<Boolean> 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

      public static final CompanyCodeField<Boolean> 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

      @Nonnull public Class<CompanyCode> getType()
      Specified by:
      getType in class VdmObject<CompanyCode>
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setCompanyCodeName

      public void setCompanyCodeName(@Nullable String companyCodeName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Parameters:
      companyCodeName - Name of Company Code or Company
    • setCityName

      public void setCityName(@Nullable String cityName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • setCountry

      public void setCountry(@Nullable String country)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setLanguage

      public void setLanguage(@Nullable String language)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setChartOfAccounts

      public void setChartOfAccounts(@Nullable String chartOfAccounts)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ChartOfAccounts

      Parameters:
      chartOfAccounts - Chart of Accounts
    • setFiscalYearVariant

      public void setFiscalYearVariant(@Nullable String fiscalYearVariant)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FiscalYearVariant

      Parameters:
      fiscalYearVariant - Fiscal Year Variant
    • setCompany

      public void setCompany(@Nullable String company)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: Company

      Parameters:
      company - Company
    • setCreditControlArea

      public void setCreditControlArea(@Nullable String creditControlArea)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CreditControlArea

      Parameters:
      creditControlArea - Credit Control Area
    • setCountryChartOfAccounts

      public void setCountryChartOfAccounts(@Nullable String countryChartOfAccounts)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CountryChartOfAccounts

      Parameters:
      countryChartOfAccounts - Alternative Chart of Accounts
    • setFinancialManagementArea

      public void setFinancialManagementArea(@Nullable String financialManagementArea)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FinancialManagementArea

      Parameters:
      financialManagementArea - Financial Management Area
    • setAddressID

      public void setAddressID(@Nullable String addressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address
    • setTaxableEntity

      public void setTaxableEntity(@Nullable String taxableEntity)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TaxableEntity

      Parameters:
      taxableEntity - Taxes on Sales/Purchases Group
    • setVATRegistration

      public void setVATRegistration(@Nullable String vATRegistration)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: VATRegistration

      Parameters:
      vATRegistration - VAT Registration Number
    • setExtendedWhldgTaxIsActive

      public void setExtendedWhldgTaxIsActive(@Nullable Boolean extendedWhldgTaxIsActive)
      Constraints: none

      Original property name from the Odata EDM: ExtendedWhldgTaxIsActive

      Parameters:
      extendedWhldgTaxIsActive - Indicator: Extended Withholding Tax Active
    • setControllingArea

      public void setControllingArea(@Nullable String controllingArea)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ControllingArea

      Parameters:
      controllingArea - Controlling Area
    • setFieldStatusVariant

      public void setFieldStatusVariant(@Nullable String fieldStatusVariant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FieldStatusVariant

      Parameters:
      fieldStatusVariant - Field Status Variant
    • setNonTaxableTransactionTaxCode

      public void setNonTaxableTransactionTaxCode(@Nullable String nonTaxableTransactionTaxCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NonTaxableTransactionTaxCode

      Parameters:
      nonTaxableTransactionTaxCode - Output Tax Code for Non-Taxable Transactions
    • setDocDateIsUsedForTaxDetn

      public void setDocDateIsUsedForTaxDetn(@Nullable Boolean docDateIsUsedForTaxDetn)
      Constraints: none

      Original property name from the Odata EDM: DocDateIsUsedForTaxDetn

      Parameters:
      docDateIsUsedForTaxDetn - Indicator: Document Date As the Basis for Tax Determination
    • setTaxRptgDateIsActive

      public void setTaxRptgDateIsActive(@Nullable Boolean taxRptgDateIsActive)
      Constraints: none

      Original property name from the Odata EDM: TaxRptgDateIsActive

      Parameters:
      taxRptgDateIsActive - Tax Reporting Date Active in Documents
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CompanyCode>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<CompanyCode>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<CompanyCode>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CompanyCode>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CompanyCode>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CompanyCode>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CompanyCode>
    • builder

      @Nonnull public static CompanyCode.CompanyCodeBuilder builder()
    • getCompanyCode

      @Nullable public String getCompanyCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Returns:
      Name of Company Code or Company
    • getCityName

      @Nullable public String getCityName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getCountry

      @Nullable public String getCountry()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getCurrency

      @Nullable public String getCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getLanguage

      @Nullable public String getLanguage()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getChartOfAccounts

      @Nullable public String getChartOfAccounts()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ChartOfAccounts

      Returns:
      Chart of Accounts
    • getFiscalYearVariant

      @Nullable public String getFiscalYearVariant()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FiscalYearVariant

      Returns:
      Fiscal Year Variant
    • getCompany

      @Nullable public String getCompany()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: Company

      Returns:
      Company
    • getCreditControlArea

      @Nullable public String getCreditControlArea()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CreditControlArea

      Returns:
      Credit Control Area
    • getCountryChartOfAccounts

      @Nullable public String getCountryChartOfAccounts()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CountryChartOfAccounts

      Returns:
      Alternative Chart of Accounts
    • getFinancialManagementArea

      @Nullable public String getFinancialManagementArea()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FinancialManagementArea

      Returns:
      Financial Management Area
    • getAddressID

      @Nullable public String getAddressID()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Returns:
      Address
    • getTaxableEntity

      @Nullable public String getTaxableEntity()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TaxableEntity

      Returns:
      Taxes on Sales/Purchases Group
    • getVATRegistration

      @Nullable public String getVATRegistration()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: VATRegistration

      Returns:
      VAT Registration Number
    • getExtendedWhldgTaxIsActive

      @Nullable public Boolean getExtendedWhldgTaxIsActive()
      Constraints: none

      Original property name from the Odata EDM: ExtendedWhldgTaxIsActive

      Returns:
      Indicator: Extended Withholding Tax Active
    • getControllingArea

      @Nullable public String getControllingArea()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ControllingArea

      Returns:
      Controlling Area
    • getFieldStatusVariant

      @Nullable public String getFieldStatusVariant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FieldStatusVariant

      Returns:
      Field Status Variant
    • getNonTaxableTransactionTaxCode

      @Nullable public String getNonTaxableTransactionTaxCode()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NonTaxableTransactionTaxCode

      Returns:
      Output Tax Code for Non-Taxable Transactions
    • getDocDateIsUsedForTaxDetn

      @Nullable public Boolean getDocDateIsUsedForTaxDetn()
      Constraints: none

      Original property name from the Odata EDM: DocDateIsUsedForTaxDetn

      Returns:
      Indicator: Document Date As the Basis for Tax Determination
    • getTaxRptgDateIsActive

      @Nullable public Boolean getTaxRptgDateIsActive()
      Constraints: none

      Original property name from the Odata EDM: TaxRptgDateIsActive

      Returns:
      Tax Reporting Date Active in Documents
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CompanyCode>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<CompanyCode>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<CompanyCode>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CompanyCode>