Class X_C_PaySchedule

    • Constructor Detail

      • X_C_PaySchedule

        public X_C_PaySchedule​(Properties ctx,
                               int C_PaySchedule_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_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
      • setDiscount

        public void setDiscount​(BigDecimal Discount)
        Set Discount %.
        Specified by:
        setDiscount in interface I_C_PaySchedule
        Parameters:
        Discount - 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
      • 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