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  public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements MutableInactivatable {
26  
27      private String vendorShippingPaymentTermsCode;
28      private String vendorShippingPaymentTermsDescription;
29      private boolean vendorShippingPaymentTermsPayIndicator;
30      private boolean active;
31  
32      /**
33       * Default constructor.
34       */
35      public ShippingPaymentTerms() {
36          super();
37      }
38  
39      public String getVendorShippingPaymentTermsCode() {
40  
41          return vendorShippingPaymentTermsCode;
42      }
43  
44      public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
45          this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
46      }
47  
48      public String getVendorShippingPaymentTermsDescription() {
49  
50          return vendorShippingPaymentTermsDescription;
51      }
52  
53      public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) {
54          this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
55      }
56  
57      public boolean getVendorShippingPaymentTermsPayIndicator() {
58  
59          return vendorShippingPaymentTermsPayIndicator;
60      }
61  
62      public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) {
63          this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
64      }
65  
66      public boolean isActive() {
67  
68          return active;
69      }
70  
71      public void setActive(boolean active) {
72          this.active = active;
73      }
74  }