001    /**
002     * Copyright 2005-2011 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    package edu.sampleu.financial.bo;
017    
018    import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
019    import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
020    
021    /**
022     * Payment Terms for Shipping from a particular Vendor. Per Vendor as distinct from <code>PaymentTermType</code>.
023     */
024    public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements MutableInactivatable {
025    
026        private String vendorShippingPaymentTermsCode;
027        private String vendorShippingPaymentTermsDescription;
028        private boolean vendorShippingPaymentTermsPayIndicator;
029        private boolean active;
030    
031        /**
032         * Default constructor.
033         */
034        public ShippingPaymentTerms() {
035            super();
036        }
037    
038        public String getVendorShippingPaymentTermsCode() {
039    
040            return vendorShippingPaymentTermsCode;
041        }
042    
043        public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
044            this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
045        }
046    
047        public String getVendorShippingPaymentTermsDescription() {
048    
049            return vendorShippingPaymentTermsDescription;
050        }
051    
052        public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) {
053            this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
054        }
055    
056        public boolean getVendorShippingPaymentTermsPayIndicator() {
057    
058            return vendorShippingPaymentTermsPayIndicator;
059        }
060    
061        public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) {
062            this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
063        }
064    
065        public boolean isActive() {
066    
067            return active;
068        }
069    
070        public void setActive(boolean active) {
071            this.active = active;
072        }
073    }