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 java.util.LinkedHashMap; 020 021 import org.kuali.rice.kns.bo.Inactivateable; 022 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 023 024 /** 025 * Payment Terms for Shipping from a particular Vendor. Per Vendor as distinct from <code>PaymentTermType</code>. 026 * 027 * @see org.kuali.kfs.vnd.businessobject.PaymentTermType 028 */ 029 public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements Inactivateable { 030 031 private String vendorShippingPaymentTermsCode; 032 private String vendorShippingPaymentTermsDescription; 033 private boolean vendorShippingPaymentTermsPayIndicator; 034 private boolean active; 035 036 /** 037 * Default constructor. 038 */ 039 public ShippingPaymentTerms() { 040 super(); 041 } 042 043 public String getVendorShippingPaymentTermsCode() { 044 045 return vendorShippingPaymentTermsCode; 046 } 047 048 public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) { 049 this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode; 050 } 051 052 public String getVendorShippingPaymentTermsDescription() { 053 054 return vendorShippingPaymentTermsDescription; 055 } 056 057 public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) { 058 this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription; 059 } 060 061 public boolean getVendorShippingPaymentTermsPayIndicator() { 062 063 return vendorShippingPaymentTermsPayIndicator; 064 } 065 066 public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) { 067 this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator; 068 } 069 070 public boolean isActive() { 071 072 return active; 073 } 074 075 public void setActive(boolean active) { 076 this.active = active; 077 } 078 }