Class X_C_Charge

    • Constructor Detail

      • X_C_Charge

        public X_C_Charge​(Properties ctx,
                          int C_Charge_ID,
                          String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • 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
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_C_Charge
        Parameters:
        C_BPartner_ID - Identifies a Business Partner
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Get Business Partner.
        Specified by:
        getC_BPartner_ID in interface I_C_Charge
        Returns:
        Identifies a Business Partner
      • setC_Charge_ID

        public void setC_Charge_ID​(int C_Charge_ID)
        Set Charge.
        Specified by:
        setC_Charge_ID in interface I_C_Charge
        Parameters:
        C_Charge_ID - Additional document charges
      • getC_Charge_ID

        public int getC_Charge_ID()
        Get Charge.
        Specified by:
        getC_Charge_ID in interface I_C_Charge
        Returns:
        Additional document charges
      • setC_ChargeType_ID

        public void setC_ChargeType_ID​(int C_ChargeType_ID)
        Set Charge Type.
        Specified by:
        setC_ChargeType_ID in interface I_C_Charge
        Parameters:
        C_ChargeType_ID - Charge Type
      • getC_ChargeType_ID

        public int getC_ChargeType_ID()
        Get Charge Type.
        Specified by:
        getC_ChargeType_ID in interface I_C_Charge
        Returns:
        Charge Type
      • setC_Charge_UU

        public void setC_Charge_UU​(String C_Charge_UU)
        Set C_Charge_UU.
        Specified by:
        setC_Charge_UU in interface I_C_Charge
        Parameters:
        C_Charge_UU - C_Charge_UU
      • setChargeAmt

        public void setChargeAmt​(BigDecimal ChargeAmt)
        Set Charge amount.
        Specified by:
        setChargeAmt in interface I_C_Charge
        Parameters:
        ChargeAmt - Charge Amount
      • setC_TaxCategory_ID

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

        public int getC_TaxCategory_ID()
        Get Tax Category.
        Specified by:
        getC_TaxCategory_ID in interface I_C_Charge
        Returns:
        Tax Category
      • setDescription

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

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

        public void setIsSameCurrency​(boolean IsSameCurrency)
        Set Same Currency.
        Specified by:
        setIsSameCurrency in interface I_C_Charge
        Parameters:
        IsSameCurrency - Same Currency
      • isSameCurrency

        public boolean isSameCurrency()
        Get Same Currency.
        Specified by:
        isSameCurrency in interface I_C_Charge
        Returns:
        Same Currency
      • setIsSameTax

        public void setIsSameTax​(boolean IsSameTax)
        Set Same Tax.
        Specified by:
        setIsSameTax in interface I_C_Charge
        Parameters:
        IsSameTax - Use the same tax as the main transaction
      • isSameTax

        public boolean isSameTax()
        Get Same Tax.
        Specified by:
        isSameTax in interface I_C_Charge
        Returns:
        Use the same tax as the main transaction
      • setIsTaxIncluded

        public void setIsTaxIncluded​(boolean IsTaxIncluded)
        Set Price includes Tax.
        Specified by:
        setIsTaxIncluded in interface I_C_Charge
        Parameters:
        IsTaxIncluded - Tax is included in the price
      • isTaxIncluded

        public boolean isTaxIncluded()
        Get Price includes Tax.
        Specified by:
        isTaxIncluded in interface I_C_Charge
        Returns:
        Tax is included in the price
      • setName

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

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

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