001 /*
002 * Copyright 2007 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package edu.sampleu.financial.bo;
018
019 import org.kuali.rice.krad.bo.MutableInactivatable;
020 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
021
022 /**
023 * Payment Terms for Shipping from a particular Vendor. Per Vendor as distinct from <code>PaymentTermType</code>.
024 */
025 public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements MutableInactivatable {
026
027 private String vendorShippingPaymentTermsCode;
028 private String vendorShippingPaymentTermsDescription;
029 private boolean vendorShippingPaymentTermsPayIndicator;
030 private boolean active;
031
032 /**
033 * Default constructor.
034 */
035 public ShippingPaymentTerms() {
036 super();
037 }
038
039 public String getVendorShippingPaymentTermsCode() {
040
041 return vendorShippingPaymentTermsCode;
042 }
043
044 public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
045 this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
046 }
047
048 public String getVendorShippingPaymentTermsDescription() {
049
050 return vendorShippingPaymentTermsDescription;
051 }
052
053 public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) {
054 this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
055 }
056
057 public boolean getVendorShippingPaymentTermsPayIndicator() {
058
059 return vendorShippingPaymentTermsPayIndicator;
060 }
061
062 public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) {
063 this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
064 }
065
066 public boolean isActive() {
067
068 return active;
069 }
070
071 public void setActive(boolean active) {
072 this.active = active;
073 }
074 }