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.MutableInactivatable;
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  public class PaymentTermType extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String vendorPaymentTermsCode;
30      private String vendorDiscountDueTypeDescription;
31      private Integer vendorDiscountDueNumber;
32      private BigDecimal vendorPaymentTermsPercent;
33      private String vendorNetDueTypeDescription;
34      private Integer vendorNetDueNumber;
35      private String vendorPaymentTermsDescription;
36      private boolean active;
37  
38      /**
39       * Default constructor.
40       */
41      public PaymentTermType() {
42          super();
43      }
44  
45      public String getVendorPaymentTermsCode() {
46  
47          return vendorPaymentTermsCode;
48      }
49  
50      public void setVendorPaymentTermsCode(String vendorPaymentTermsCode) {
51          this.vendorPaymentTermsCode = vendorPaymentTermsCode;
52      }
53  
54      public String getVendorDiscountDueTypeDescription() {
55  
56          return vendorDiscountDueTypeDescription;
57      }
58  
59      public void setVendorDiscountDueTypeDescription(String vendorDiscountDueTypeDescription) {
60          this.vendorDiscountDueTypeDescription = vendorDiscountDueTypeDescription;
61      }
62  
63      public Integer getVendorDiscountDueNumber() {
64  
65          return vendorDiscountDueNumber;
66      }
67  
68      public void setVendorDiscountDueNumber(Integer vendorDiscountDueNumber) {
69          this.vendorDiscountDueNumber = vendorDiscountDueNumber;
70      }
71  
72      public BigDecimal getVendorPaymentTermsPercent() {
73  
74          return vendorPaymentTermsPercent;
75      }
76  
77      public void setVendorPaymentTermsPercent(BigDecimal vendorPaymentTermsPercent) {
78          this.vendorPaymentTermsPercent = vendorPaymentTermsPercent;
79      }
80  
81      public String getVendorNetDueTypeDescription() {
82  
83          return vendorNetDueTypeDescription;
84      }
85  
86      public void setVendorNetDueTypeDescription(String vendorNetDueTypeDescription) {
87          this.vendorNetDueTypeDescription = vendorNetDueTypeDescription;
88      }
89  
90      public Integer getVendorNetDueNumber() {
91  
92          return vendorNetDueNumber;
93      }
94  
95      public void setVendorNetDueNumber(Integer vendorNetDueNumber) {
96          this.vendorNetDueNumber = vendorNetDueNumber;
97      }
98  
99      public String getVendorPaymentTermsDescription() {
100 
101         return vendorPaymentTermsDescription;
102     }
103 
104     public void setVendorPaymentTermsDescription(String vendorPaymentTermsDescription) {
105         this.vendorPaymentTermsDescription = vendorPaymentTermsDescription;
106     }
107 
108     public boolean isActive() {
109 
110         return active;
111     }
112 
113     public void setActive(boolean active) {
114         this.active = active;
115     }
116 
117 }