Class X_C_Charge

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Charge
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_Charge, I_Persistent, Evaluatee
Direct Known Subclasses:
MCharge

public class X_C_Charge extends PO implements I_C_Charge, I_Persistent
Generated Model for C_Charge
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • X_C_Charge

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

      public X_C_Charge(Properties ctx, int C_Charge_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Charge

      public X_C_Charge(Properties ctx, String C_Charge_UU, String trxName)
      Standard Constructor
    • X_C_Charge

      public X_C_Charge(Properties ctx, String C_Charge_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Charge

      public X_C_Charge(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • 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:
      Meta data of PO
    • toString

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

      public I_C_BPartner getC_BPartner() throws RuntimeException
      Specified by:
      getC_BPartner in interface I_C_Charge
      Throws:
      RuntimeException
    • 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
    • getC_ChargeType

      public I_C_ChargeType getC_ChargeType() throws RuntimeException
      Specified by:
      getC_ChargeType in interface I_C_Charge
      Throws:
      RuntimeException
    • 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
    • getC_Charge_UU

      public String getC_Charge_UU()
      Get C_Charge_UU.
      Specified by:
      getC_Charge_UU in interface I_C_Charge
      Returns:
      C_Charge_UU
    • setChargeAmt

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

      public BigDecimal getChargeAmt()
      Get Charge amount.
      Specified by:
      getChargeAmt in interface I_C_Charge
      Returns:
      Charge Amount
    • getC_TaxCategory

      public I_C_TaxCategory getC_TaxCategory() throws RuntimeException
      Specified by:
      getC_TaxCategory in interface I_C_Charge
      Throws:
      RuntimeException
    • 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