Class X_C_PaySchedule

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_PaySchedule
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_PaySchedule, I_Persistent, Evaluatee
Direct Known Subclasses:
MPaySchedule

public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent
Generated Model for C_PaySchedule
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

  • Constructor Details

    • X_C_PaySchedule

      public X_C_PaySchedule(Properties ctx, int C_PaySchedule_ID, String trxName)
      Standard Constructor
    • X_C_PaySchedule

      public X_C_PaySchedule(Properties ctx, int C_PaySchedule_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_PaySchedule

      public X_C_PaySchedule(Properties ctx, String C_PaySchedule_UU, String trxName)
      Standard Constructor
    • X_C_PaySchedule

      public X_C_PaySchedule(Properties ctx, String C_PaySchedule_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_PaySchedule

      public X_C_PaySchedule(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:
      POInfo
    • toString

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

      public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
      Specified by:
      getC_PaymentTerm in interface I_C_PaySchedule
      Throws:
      RuntimeException
    • setC_PaymentTerm_ID

      public void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
      Set Payment Term.
      Specified by:
      setC_PaymentTerm_ID in interface I_C_PaySchedule
      Parameters:
      C_PaymentTerm_ID - The terms of Payment (timing, discount)
    • getC_PaymentTerm_ID

      public int getC_PaymentTerm_ID()
      Get Payment Term.
      Specified by:
      getC_PaymentTerm_ID in interface I_C_PaySchedule
      Returns:
      The terms of Payment (timing, discount)
    • getKeyNamePair

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

      public void setC_PaySchedule_ID(int C_PaySchedule_ID)
      Set Payment Schedule.
      Specified by:
      setC_PaySchedule_ID in interface I_C_PaySchedule
      Parameters:
      C_PaySchedule_ID - Payment Schedule Template
    • getC_PaySchedule_ID

      public int getC_PaySchedule_ID()
      Get Payment Schedule.
      Specified by:
      getC_PaySchedule_ID in interface I_C_PaySchedule
      Returns:
      Payment Schedule Template
    • setC_PaySchedule_UU

      public void setC_PaySchedule_UU(String C_PaySchedule_UU)
      Set C_PaySchedule_UU.
      Specified by:
      setC_PaySchedule_UU in interface I_C_PaySchedule
      Parameters:
      C_PaySchedule_UU - C_PaySchedule_UU
    • getC_PaySchedule_UU

      public String getC_PaySchedule_UU()
      Get C_PaySchedule_UU.
      Specified by:
      getC_PaySchedule_UU in interface I_C_PaySchedule
      Returns:
      C_PaySchedule_UU
    • setDiscount

      public void setDiscount(BigDecimal Discount)
      Set Discount %.
      Specified by:
      setDiscount in interface I_C_PaySchedule
      Parameters:
      Discount - Discount in percent
    • getDiscount

      public BigDecimal getDiscount()
      Get Discount %.
      Specified by:
      getDiscount in interface I_C_PaySchedule
      Returns:
      Discount in percent
    • setDiscountDays

      public void setDiscountDays(int DiscountDays)
      Set Discount Days.
      Specified by:
      setDiscountDays in interface I_C_PaySchedule
      Parameters:
      DiscountDays - Number of days from invoice date to be eligible for discount
    • getDiscountDays

      public int getDiscountDays()
      Get Discount Days.
      Specified by:
      getDiscountDays in interface I_C_PaySchedule
      Returns:
      Number of days from invoice date to be eligible for discount
    • setGraceDays

      public void setGraceDays(int GraceDays)
      Set Grace Days.
      Specified by:
      setGraceDays in interface I_C_PaySchedule
      Parameters:
      GraceDays - Days after due date to send first dunning letter
    • getGraceDays

      public int getGraceDays()
      Get Grace Days.
      Specified by:
      getGraceDays in interface I_C_PaySchedule
      Returns:
      Days after due date to send first dunning letter
    • setIsValid

      public void setIsValid(boolean IsValid)
      Set Valid.
      Specified by:
      setIsValid in interface I_C_PaySchedule
      Parameters:
      IsValid - Element is valid
    • isValid

      public boolean isValid()
      Get Valid.
      Specified by:
      isValid in interface I_C_PaySchedule
      Returns:
      Element is valid
    • setNetDay

      public void setNetDay(String NetDay)
      Set Net Day.
      Specified by:
      setNetDay in interface I_C_PaySchedule
      Parameters:
      NetDay - Day when payment is due net
    • getNetDay

      public String getNetDay()
      Get Net Day.
      Specified by:
      getNetDay in interface I_C_PaySchedule
      Returns:
      Day when payment is due net
    • setNetDays

      public void setNetDays(int NetDays)
      Set Net Days.
      Specified by:
      setNetDays in interface I_C_PaySchedule
      Parameters:
      NetDays - Net Days in which payment is due
    • getNetDays

      public int getNetDays()
      Get Net Days.
      Specified by:
      getNetDays in interface I_C_PaySchedule
      Returns:
      Net Days in which payment is due
    • setPercentage

      public void setPercentage(BigDecimal Percentage)
      Set Percentage.
      Specified by:
      setPercentage in interface I_C_PaySchedule
      Parameters:
      Percentage - Percent of the entire amount
    • getPercentage

      public BigDecimal getPercentage()
      Get Percentage.
      Specified by:
      getPercentage in interface I_C_PaySchedule
      Returns:
      Percent of the entire amount