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     * @see org.kuali.kfs.vnd.businessobject.PaymentTermType
026     */
027    public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements MutableInactivatable {
028    
029        private String vendorShippingPaymentTermsCode;
030        private String vendorShippingPaymentTermsDescription;
031        private boolean vendorShippingPaymentTermsPayIndicator;
032        private boolean active;
033    
034        /**
035         * Default constructor.
036         */
037        public ShippingPaymentTerms() {
038            super();
039        }
040    
041        public String getVendorShippingPaymentTermsCode() {
042    
043            return vendorShippingPaymentTermsCode;
044        }
045    
046        public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
047            this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
048        }
049    
050        public String getVendorShippingPaymentTermsDescription() {
051    
052            return vendorShippingPaymentTermsDescription;
053        }
054    
055        public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) {
056            this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
057        }
058    
059        public boolean getVendorShippingPaymentTermsPayIndicator() {
060    
061            return vendorShippingPaymentTermsPayIndicator;
062        }
063    
064        public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) {
065            this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
066        }
067    
068        public boolean isActive() {
069    
070            return active;
071        }
072    
073        public void setActive(boolean active) {
074            this.active = active;
075        }
076    }