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