001    /*
002     * Copyright 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    
017    package org.kuali.kfs.fp.businessobject;
018    
019    import java.sql.Date;
020    import java.util.LinkedHashMap;
021    
022    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
023    
024    /**
025     *  This class represents customer credit card information
026     */
027    public class CustomerCreditCardInformation extends PersistableBusinessObjectBase {
028    
029        private String customerCreditCardNumber;
030        private String customerCreditCardHolderName;
031        private String customerCreditCardIssuerName;
032        private String financialDocumentCreditCardTypeCode;
033        private Date customerCreditCardExpenditureDate;
034        private String customerNumber;
035        private String financialDocumentCreditCardVendorNumber;
036        private String customerCreditCardInformationNoteText;
037    
038        private CreditCardVendor financialDocumentCreditCardVendor;
039    
040        /**
041         * Default constructor.
042         */
043        public CustomerCreditCardInformation() {
044    
045        }
046    
047        /**
048         * Gets the customerCreditCardNumber attribute.
049         * 
050         * @return Returns the customerCreditCardNumber
051         */
052        public String getCustomerCreditCardNumber() {
053            return customerCreditCardNumber;
054        }
055    
056        /**
057         * Sets the customerCreditCardNumber attribute.
058         * 
059         * @param customerCreditCardNumber The customerCreditCardNumber to set.
060         */
061        public void setCustomerCreditCardNumber(String customerCreditCardNumber) {
062            this.customerCreditCardNumber = customerCreditCardNumber;
063        }
064    
065    
066        /**
067         * Gets the customerCreditCardHolderName attribute.
068         * 
069         * @return Returns the customerCreditCardHolderName
070         */
071        public String getCustomerCreditCardHolderName() {
072            return customerCreditCardHolderName;
073        }
074    
075        /**
076         * Sets the customerCreditCardHolderName attribute.
077         * 
078         * @param customerCreditCardHolderName The customerCreditCardHolderName to set.
079         */
080        public void setCustomerCreditCardHolderName(String customerCreditCardHolderName) {
081            this.customerCreditCardHolderName = customerCreditCardHolderName;
082        }
083    
084    
085        /**
086         * Gets the customerCreditCardIssuerName attribute.
087         * 
088         * @return Returns the customerCreditCardIssuerName
089         */
090        public String getCustomerCreditCardIssuerName() {
091            return customerCreditCardIssuerName;
092        }
093    
094        /**
095         * Sets the customerCreditCardIssuerName attribute.
096         * 
097         * @param customerCreditCardIssuerName The customerCreditCardIssuerName to set.
098         */
099        public void setCustomerCreditCardIssuerName(String customerCreditCardIssuerName) {
100            this.customerCreditCardIssuerName = customerCreditCardIssuerName;
101        }
102    
103    
104        /**
105         * Gets the financialDocumentCreditCardTypeCode attribute.
106         * 
107         * @return Returns the financialDocumentCreditCardTypeCode
108         */
109        public String getFinancialDocumentCreditCardTypeCode() {
110            return financialDocumentCreditCardTypeCode;
111        }
112    
113        /**
114         * Sets the financialDocumentCreditCardTypeCode attribute.
115         * 
116         * @param financialDocumentCreditCardTypeCode The financialDocumentCreditCardTypeCode to set.
117         */
118        public void setFinancialDocumentCreditCardTypeCode(String financialDocumentCreditCardTypeCode) {
119            this.financialDocumentCreditCardTypeCode = financialDocumentCreditCardTypeCode;
120        }
121    
122    
123        /**
124         * Gets the customerCreditCardExpenditureDate attribute.
125         * 
126         * @return Returns the customerCreditCardExpenditureDate
127         */
128        public Date getCustomerCreditCardExpenditureDate() {
129            return customerCreditCardExpenditureDate;
130        }
131    
132        /**
133         * Sets the customerCreditCardExpenditureDate attribute.
134         * 
135         * @param customerCreditCardExpenditureDate The customerCreditCardExpenditureDate to set.
136         */
137        public void setCustomerCreditCardExpenditureDate(Date customerCreditCardExpenditureDate) {
138            this.customerCreditCardExpenditureDate = customerCreditCardExpenditureDate;
139        }
140    
141    
142        /**
143         * Gets the customerNumber attribute.
144         * 
145         * @return Returns the customerNumber
146         */
147        public String getCustomerNumber() {
148            return customerNumber;
149        }
150    
151        /**
152         * Sets the customerNumber attribute.
153         * 
154         * @param customerNumber The customerNumber to set.
155         */
156        public void setCustomerNumber(String customerNumber) {
157            this.customerNumber = customerNumber;
158        }
159    
160    
161        /**
162         * Gets the financialDocumentCreditCardVendorNumber attribute.
163         * 
164         * @return Returns the financialDocumentCreditCardVendorNumber
165         */
166        public String getFinancialDocumentCreditCardVendorNumber() {
167            return financialDocumentCreditCardVendorNumber;
168        }
169    
170        /**
171         * Sets the financialDocumentCreditCardVendorNumber attribute.
172         * 
173         * @param financialDocumentCreditCardVendorNumber The financialDocumentCreditCardVendorNumber to set.
174         */
175        public void setFinancialDocumentCreditCardVendorNumber(String financialDocumentCreditCardVendorNumber) {
176            this.financialDocumentCreditCardVendorNumber = financialDocumentCreditCardVendorNumber;
177        }
178    
179    
180        /**
181         * Gets the customerCreditCardInformationNoteText attribute.
182         * 
183         * @return Returns the customerCreditCardInformationNoteText
184         */
185        public String getCustomerCreditCardInformationNoteText() {
186            return customerCreditCardInformationNoteText;
187        }
188    
189        /**
190         * Sets the customerCreditCardInformationNoteText attribute.
191         * 
192         * @param customerCreditCardInformationNoteText The customerCreditCardInformationNoteText to set.
193         */
194        public void setCustomerCreditCardInformationNoteText(String customerCreditCardInformationNoteText) {
195            this.customerCreditCardInformationNoteText = customerCreditCardInformationNoteText;
196        }
197    
198    
199        /**
200         * Gets the financialDocumentCreditCardVendor attribute.
201         * 
202         * @return Returns the financialDocumentCreditCardVendor
203         */
204        public CreditCardVendor getFinancialDocumentCreditCardVendor() {
205            return financialDocumentCreditCardVendor;
206        }
207    
208        /**
209         * Sets the financialDocumentCreditCardVendor attribute.
210         * 
211         * @param financialDocumentCreditCardVendor The financialDocumentCreditCardVendor to set.
212         * @deprecated
213         */
214        public void setFinancialDocumentCreditCardVendor(CreditCardVendor financialDocumentCreditCardVendor) {
215            this.financialDocumentCreditCardVendor = financialDocumentCreditCardVendor;
216        }
217    
218        /**
219         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
220         */
221        protected LinkedHashMap toStringMapper() {
222            LinkedHashMap m = new LinkedHashMap();
223            m.put("customerCreditCardNumber", this.customerCreditCardNumber);
224            return m;
225        }
226    }