Class X_C_PaymentTerm

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_PaymentTerm
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_PaymentTerm, I_Persistent, Evaluatee
Direct Known Subclasses:
MPaymentTerm

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

  • Constructor Details

    • X_C_PaymentTerm

      public X_C_PaymentTerm(Properties ctx, int C_PaymentTerm_ID, String trxName)
      Standard Constructor
    • X_C_PaymentTerm

      public X_C_PaymentTerm(Properties ctx, int C_PaymentTerm_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_PaymentTerm

      public X_C_PaymentTerm(Properties ctx, String C_PaymentTerm_UU, String trxName)
      Standard Constructor
    • X_C_PaymentTerm

      public X_C_PaymentTerm(Properties ctx, String C_PaymentTerm_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_PaymentTerm

      public X_C_PaymentTerm(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
    • setAfterDelivery

      public void setAfterDelivery(boolean AfterDelivery)
      Set After Delivery.
      Specified by:
      setAfterDelivery in interface I_C_PaymentTerm
      Parameters:
      AfterDelivery - Due after delivery rather than after invoicing
    • isAfterDelivery

      public boolean isAfterDelivery()
      Get After Delivery.
      Specified by:
      isAfterDelivery in interface I_C_PaymentTerm
      Returns:
      Due after delivery rather than after invoicing
    • setC_PaymentTerm_ID

      public void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
      Set Payment Term.
      Specified by:
      setC_PaymentTerm_ID in interface I_C_PaymentTerm
      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_PaymentTerm
      Returns:
      The terms of Payment (timing, discount)
    • setC_PaymentTerm_UU

      public void setC_PaymentTerm_UU(String C_PaymentTerm_UU)
      Set C_PaymentTerm_UU.
      Specified by:
      setC_PaymentTerm_UU in interface I_C_PaymentTerm
      Parameters:
      C_PaymentTerm_UU - C_PaymentTerm_UU
    • getC_PaymentTerm_UU

      public String getC_PaymentTerm_UU()
      Get C_PaymentTerm_UU.
      Specified by:
      getC_PaymentTerm_UU in interface I_C_PaymentTerm
      Returns:
      C_PaymentTerm_UU
    • setDescription

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

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

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

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

      public void setDiscount2(BigDecimal Discount2)
      Set Discount 2 %.
      Specified by:
      setDiscount2 in interface I_C_PaymentTerm
      Parameters:
      Discount2 - Discount in percent
    • getDiscount2

      public BigDecimal getDiscount2()
      Get Discount 2 %.
      Specified by:
      getDiscount2 in interface I_C_PaymentTerm
      Returns:
      Discount in percent
    • setDiscountDays

      public void setDiscountDays(int DiscountDays)
      Set Discount Days.
      Specified by:
      setDiscountDays in interface I_C_PaymentTerm
      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_PaymentTerm
      Returns:
      Number of days from invoice date to be eligible for discount
    • setDiscountDays2

      public void setDiscountDays2(int DiscountDays2)
      Set Discount Days 2.
      Specified by:
      setDiscountDays2 in interface I_C_PaymentTerm
      Parameters:
      DiscountDays2 - Number of days from invoice date to be eligible for discount
    • getDiscountDays2

      public int getDiscountDays2()
      Get Discount Days 2.
      Specified by:
      getDiscountDays2 in interface I_C_PaymentTerm
      Returns:
      Number of days from invoice date to be eligible for discount
    • setDocumentNote

      public void setDocumentNote(String DocumentNote)
      Set Document Note.
      Specified by:
      setDocumentNote in interface I_C_PaymentTerm
      Parameters:
      DocumentNote - Additional information for a Document
    • getDocumentNote

      public String getDocumentNote()
      Get Document Note.
      Specified by:
      getDocumentNote in interface I_C_PaymentTerm
      Returns:
      Additional information for a Document
    • setFixMonthCutoff

      public void setFixMonthCutoff(int FixMonthCutoff)
      Set Fix month cutoff.
      Specified by:
      setFixMonthCutoff in interface I_C_PaymentTerm
      Parameters:
      FixMonthCutoff - Last day to include for next due date
    • getFixMonthCutoff

      public int getFixMonthCutoff()
      Get Fix month cutoff.
      Specified by:
      getFixMonthCutoff in interface I_C_PaymentTerm
      Returns:
      Last day to include for next due date
    • setFixMonthDay

      public void setFixMonthDay(int FixMonthDay)
      Set Fix month day.
      Specified by:
      setFixMonthDay in interface I_C_PaymentTerm
      Parameters:
      FixMonthDay - Day of the month of the due date
    • getFixMonthDay

      public int getFixMonthDay()
      Get Fix month day.
      Specified by:
      getFixMonthDay in interface I_C_PaymentTerm
      Returns:
      Day of the month of the due date
    • setFixMonthOffset

      public void setFixMonthOffset(int FixMonthOffset)
      Set Fix month offset.
      Specified by:
      setFixMonthOffset in interface I_C_PaymentTerm
      Parameters:
      FixMonthOffset - Number of months (0=same, 1=following)
    • getFixMonthOffset

      public int getFixMonthOffset()
      Get Fix month offset.
      Specified by:
      getFixMonthOffset in interface I_C_PaymentTerm
      Returns:
      Number of months (0=same, 1=following)
    • setGraceDays

      public void setGraceDays(int GraceDays)
      Set Grace Days.
      Specified by:
      setGraceDays in interface I_C_PaymentTerm
      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_PaymentTerm
      Returns:
      Days after due date to send first dunning letter
    • setIsDefault

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

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

      public void setIsDueFixed(boolean IsDueFixed)
      Set Fixed due date.
      Specified by:
      setIsDueFixed in interface I_C_PaymentTerm
      Parameters:
      IsDueFixed - Payment is due on a fixed date
    • isDueFixed

      public boolean isDueFixed()
      Get Fixed due date.
      Specified by:
      isDueFixed in interface I_C_PaymentTerm
      Returns:
      Payment is due on a fixed date
    • setIsNextBusinessDay

      public void setIsNextBusinessDay(boolean IsNextBusinessDay)
      Set Next Business Day.
      Specified by:
      setIsNextBusinessDay in interface I_C_PaymentTerm
      Parameters:
      IsNextBusinessDay - Payment due on the next business day
    • isNextBusinessDay

      public boolean isNextBusinessDay()
      Get Next Business Day.
      Specified by:
      isNextBusinessDay in interface I_C_PaymentTerm
      Returns:
      Payment due on the next business day
    • setIsValid

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

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

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

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

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

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

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

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

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

      public void setPaymentTermUsage(String PaymentTermUsage)
      Set Payment Term Usage.
      Specified by:
      setPaymentTermUsage in interface I_C_PaymentTerm
      Parameters:
      PaymentTermUsage - Payment term usage indicates if this payment term is used for sales, purchases or both.
    • getPaymentTermUsage

      public String getPaymentTermUsage()
      Get Payment Term Usage.
      Specified by:
      getPaymentTermUsage in interface I_C_PaymentTerm
      Returns:
      Payment term usage indicates if this payment term is used for sales, purchases or both.
    • setProcessing

      public void setProcessing(boolean Processing)
      Set Process Now.
      Specified by:
      setProcessing in interface I_C_PaymentTerm
      Parameters:
      Processing - Process Now
    • isProcessing

      public boolean isProcessing()
      Get Process Now.
      Specified by:
      isProcessing in interface I_C_PaymentTerm
      Returns:
      Process Now
    • setValue

      public void setValue(String Value)
      Set Search Key.
      Specified by:
      setValue in interface I_C_PaymentTerm
      Parameters:
      Value - Search key for the record in the format required - must be unique
    • getValue

      public String getValue()
      Get Search Key.
      Specified by:
      getValue in interface I_C_PaymentTerm
      Returns:
      Search key for the record in the format required - must be unique