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 java.math.BigDecimal;
20  import java.util.LinkedHashMap;
21  
22  import org.kuali.rice.kns.bo.Inactivateable;
23  import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
24  
25  /**
26   * Types of Payment Terms for Vendor Contracts. Per contract as distinct from <code>ShippingPaymentTerms</code>.
27   *
28   * @see org.kuali.kfs.vnd.businessobject.ShippingPaymentTerms
29   */
30  public class PaymentTermType extends PersistableBusinessObjectBase implements Inactivateable {
31  
32      private String vendorPaymentTermsCode;
33      private String vendorDiscountDueTypeDescription;
34      private Integer vendorDiscountDueNumber;
35      private BigDecimal vendorPaymentTermsPercent;
36      private String vendorNetDueTypeDescription;
37      private Integer vendorNetDueNumber;
38      private String vendorPaymentTermsDescription;
39      private boolean active;
40  
41      /**
42       * Default constructor.
43       */
44      public PaymentTermType() {
45          super();
46      }
47  
48      public String getVendorPaymentTermsCode() {
49  
50          return vendorPaymentTermsCode;
51      }
52  
53      public void setVendorPaymentTermsCode(String vendorPaymentTermsCode) {
54          this.vendorPaymentTermsCode = vendorPaymentTermsCode;
55      }
56  
57      public String getVendorDiscountDueTypeDescription() {
58  
59          return vendorDiscountDueTypeDescription;
60      }
61  
62      public void setVendorDiscountDueTypeDescription(String vendorDiscountDueTypeDescription) {
63          this.vendorDiscountDueTypeDescription = vendorDiscountDueTypeDescription;
64      }
65  
66      public Integer getVendorDiscountDueNumber() {
67  
68          return vendorDiscountDueNumber;
69      }
70  
71      public void setVendorDiscountDueNumber(Integer vendorDiscountDueNumber) {
72          this.vendorDiscountDueNumber = vendorDiscountDueNumber;
73      }
74  
75      public BigDecimal getVendorPaymentTermsPercent() {
76  
77          return vendorPaymentTermsPercent;
78      }
79  
80      public void setVendorPaymentTermsPercent(BigDecimal vendorPaymentTermsPercent) {
81          this.vendorPaymentTermsPercent = vendorPaymentTermsPercent;
82      }
83  
84      public String getVendorNetDueTypeDescription() {
85  
86          return vendorNetDueTypeDescription;
87      }
88  
89      public void setVendorNetDueTypeDescription(String vendorNetDueTypeDescription) {
90          this.vendorNetDueTypeDescription = vendorNetDueTypeDescription;
91      }
92  
93      public Integer getVendorNetDueNumber() {
94  
95          return vendorNetDueNumber;
96      }
97  
98      public void setVendorNetDueNumber(Integer vendorNetDueNumber) {
99          this.vendorNetDueNumber = vendorNetDueNumber;
100     }
101 
102     public String getVendorPaymentTermsDescription() {
103 
104         return vendorPaymentTermsDescription;
105     }
106 
107     public void setVendorPaymentTermsDescription(String vendorPaymentTermsDescription) {
108         this.vendorPaymentTermsDescription = vendorPaymentTermsDescription;
109     }
110 
111     public boolean isActive() {
112 
113         return active;
114     }
115 
116     public void setActive(boolean active) {
117         this.active = active;
118     }
119 
120 }