View Javadoc

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