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  /**
23   * Payment Terms for Shipping from a particular Vendor. Per Vendor as distinct from <code>PaymentTermType</code>.
24   *
25   * @see org.kuali.kfs.vnd.businessobject.PaymentTermType
26   */
27  public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String vendorShippingPaymentTermsCode;
30      private String vendorShippingPaymentTermsDescription;
31      private boolean vendorShippingPaymentTermsPayIndicator;
32      private boolean active;
33  
34      /**
35       * Default constructor.
36       */
37      public ShippingPaymentTerms() {
38          super();
39      }
40  
41      public String getVendorShippingPaymentTermsCode() {
42  
43          return vendorShippingPaymentTermsCode;
44      }
45  
46      public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
47          this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
48      }
49  
50      public String getVendorShippingPaymentTermsDescription() {
51  
52          return vendorShippingPaymentTermsDescription;
53      }
54  
55      public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) {
56          this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
57      }
58  
59      public boolean getVendorShippingPaymentTermsPayIndicator() {
60  
61          return vendorShippingPaymentTermsPayIndicator;
62      }
63  
64      public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) {
65          this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
66      }
67  
68      public boolean isActive() {
69  
70          return active;
71      }
72  
73      public void setActive(boolean active) {
74          this.active = active;
75      }
76  }