Interface IAccountingArea

    • Method Detail

      • getCompanyType

        @Nullable
        String getCompanyType()
        Returns:
        The company type. E.g. "KEG". May be null.
      • hasCompanyType

        default boolean hasCompanyType()
        Returns:
        true if a company type is present, false if not.
        See Also:
        getCompanyType()
      • getDisplayNameAndCompanyType

        @Nonnull
        default String getDisplayNameAndCompanyType​(@Nonnull
                                                    String sSep)
        Get display name and company type concatenated using the provided separator. The separator is only used, if both fields are present and not empty.
        Parameters:
        sSep - The separator to use. May not be null.
        Returns:
        The non-null merged string.
        See Also:
        IHasDisplayName.getDisplayName(), getCompanyType()
      • getCompanyVATIN

        @Nullable
        String getCompanyVATIN()
        Returns:
        The company VATID (de: UID). May be null
      • hasCompanyVATIN

        default boolean hasCompanyVATIN()
        Returns:
        true if a VATIN is present, false if not.
        See Also:
        getCompanyVATIN()
      • getCompanyNumber

        @Nullable
        String getCompanyNumber()
        Returns:
        The company number (Interne Betriebsnummer). May be null.
      • hasCompanyNumber

        default boolean hasCompanyNumber()
        Returns:
        true if a company number is present, false if not.
        See Also:
        getCompanyNumber()
      • getCustomerNumber

        @Nullable
        String getCustomerNumber()
        Returns:
        Customer number. May be null.
      • hasCustomerNumber

        default boolean hasCustomerNumber()
        Returns:
        true if a customer number is present, false if not.
        See Also:
        getCustomerNumber()
      • getAddress

        @Nonnull
        com.helger.masterdata.address.IPostalAddress getAddress()
        Returns:
        The postal address of the owner. May not be null.
      • getTelephone

        @Nullable
        String getTelephone()
        Returns:
        The telephone number. May be null.
      • hasTelephone

        default boolean hasTelephone()
        Returns:
        true if a telephone number is present, false if not.
        See Also:
        getTelephone()
      • getFax

        @Nullable
        String getFax()
        Returns:
        The telefax number. May be null.
      • hasFax

        default boolean hasFax()
        Returns:
        true if a fax number is present, false if not.
        See Also:
        getFax()
      • getEmailAddress

        @Nullable
        String getEmailAddress()
        Returns:
        The email address. May be null.
      • hasEmailAddress

        default boolean hasEmailAddress()
        Returns:
        true if an email address is present, false if not.
        See Also:
        getEmailAddress()
      • getWebSite

        @Nullable
        String getWebSite()
        Returns:
        The web site. May be null.
      • hasWebSite

        default boolean hasWebSite()
        Returns:
        true if a website is present, false if not.
        See Also:
        getWebSite()
      • getDefaultCurrency

        @Nullable
        com.helger.masterdata.currency.ECurrency getDefaultCurrency()
        Returns:
        The default currency. May be null.
      • hasDefaultCurrency

        default boolean hasDefaultCurrency()
        Returns:
        true if a default currency is present, false if not.
        See Also:
        getDefaultCurrency()
      • getOfficeLocation

        @Nullable
        String getOfficeLocation()
        Returns:
        Office location (Firmensitz). May be null.
      • hasOfficeLocation

        default boolean hasOfficeLocation()
        Returns:
        true if an office location is present, false if not.
        See Also:
        getOfficeLocation()
      • getCommercialRegistrationNumber

        @Nullable
        String getCommercialRegistrationNumber()
        Returns:
        Commercial registration number (e.g. Firmenbuchnummer). May be null.
      • hasCommercialRegistrationNumber

        default boolean hasCommercialRegistrationNumber()
        Returns:
        true if a commercial register number is present, false if not.
        See Also:
        getCommercialRegistrationNumber()
      • getCommercialCourt

        @Nullable
        String getCommercialCourt()
        Returns:
        Commercial court(e.g. Firmenbuchgericht). May be null.
      • hasCommercialCourt

        default boolean hasCommercialCourt()
        Returns:
        true if a commercial court is present, false if not.
        See Also:
        getCommercialCourt()