View Javadoc

1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package edu.sampleu.financial.bo;
18  
19  import org.kuali.rice.krad.bo.Inactivatable;
20  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  import java.math.BigDecimal;
23  
24  /**
25   * Types of Payment Terms for Vendor Contracts. Per contract as distinct from <code>ShippingPaymentTerms</code>.
26   *
27   * @see org.kuali.kfs.vnd.businessobject.ShippingPaymentTerms
28   */
29  public class PaymentTermType extends PersistableBusinessObjectBase implements Inactivatable {
30  
31      private String vendorPaymentTermsCode;
32      private String vendorDiscountDueTypeDescription;
33      private Integer vendorDiscountDueNumber;
34      private BigDecimal vendorPaymentTermsPercent;
35      private String vendorNetDueTypeDescription;
36      private Integer vendorNetDueNumber;
37      private String vendorPaymentTermsDescription;
38      private boolean active;
39  
40      /**
41       * Default constructor.
42       */
43      public PaymentTermType() {
44          super();
45      }
46  
47      public String getVendorPaymentTermsCode() {
48  
49          return vendorPaymentTermsCode;
50      }
51  
52      public void setVendorPaymentTermsCode(String vendorPaymentTermsCode) {
53          this.vendorPaymentTermsCode = vendorPaymentTermsCode;
54      }
55  
56      public String getVendorDiscountDueTypeDescription() {
57  
58          return vendorDiscountDueTypeDescription;
59      }
60  
61      public void setVendorDiscountDueTypeDescription(String vendorDiscountDueTypeDescription) {
62          this.vendorDiscountDueTypeDescription = vendorDiscountDueTypeDescription;
63      }
64  
65      public Integer getVendorDiscountDueNumber() {
66  
67          return vendorDiscountDueNumber;
68      }
69  
70      public void setVendorDiscountDueNumber(Integer vendorDiscountDueNumber) {
71          this.vendorDiscountDueNumber = vendorDiscountDueNumber;
72      }
73  
74      public BigDecimal getVendorPaymentTermsPercent() {
75  
76          return vendorPaymentTermsPercent;
77      }
78  
79      public void setVendorPaymentTermsPercent(BigDecimal vendorPaymentTermsPercent) {
80          this.vendorPaymentTermsPercent = vendorPaymentTermsPercent;
81      }
82  
83      public String getVendorNetDueTypeDescription() {
84  
85          return vendorNetDueTypeDescription;
86      }
87  
88      public void setVendorNetDueTypeDescription(String vendorNetDueTypeDescription) {
89          this.vendorNetDueTypeDescription = vendorNetDueTypeDescription;
90      }
91  
92      public Integer getVendorNetDueNumber() {
93  
94          return vendorNetDueNumber;
95      }
96  
97      public void setVendorNetDueNumber(Integer vendorNetDueNumber) {
98          this.vendorNetDueNumber = vendorNetDueNumber;
99      }
100 
101     public String getVendorPaymentTermsDescription() {
102 
103         return vendorPaymentTermsDescription;
104     }
105 
106     public void setVendorPaymentTermsDescription(String vendorPaymentTermsDescription) {
107         this.vendorPaymentTermsDescription = vendorPaymentTermsDescription;
108     }
109 
110     public boolean isActive() {
111 
112         return active;
113     }
114 
115     public void setActive(boolean active) {
116         this.active = active;
117     }
118 
119 }