Class X_C_TaxCategory

    • Constructor Detail

      • X_C_TaxCategory

        public X_C_TaxCategory​(Properties ctx,
                               int C_TaxCategory_ID,
                               String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        2 - Client
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setCommodityCode

        public void setCommodityCode​(String CommodityCode)
        Set Commodity Code.
        Specified by:
        setCommodityCode in interface I_C_TaxCategory
        Parameters:
        CommodityCode - Commodity code used for tax calculation
      • setC_TaxCategory_ID

        public void setC_TaxCategory_ID​(int C_TaxCategory_ID)
        Set Tax Category.
        Specified by:
        setC_TaxCategory_ID in interface I_C_TaxCategory
        Parameters:
        C_TaxCategory_ID - Tax Category
      • setC_TaxCategory_UU

        public void setC_TaxCategory_UU​(String C_TaxCategory_UU)
        Set C_TaxCategory_UU.
        Specified by:
        setC_TaxCategory_UU in interface I_C_TaxCategory
        Parameters:
        C_TaxCategory_UU - C_TaxCategory_UU
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_C_TaxCategory
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_C_TaxCategory
        Returns:
        Optional short description of the record
      • setIsDefault

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_C_TaxCategory
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_C_TaxCategory
        Returns:
        Default value
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_C_TaxCategory
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_C_TaxCategory
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair