001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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.module.financial.bo;
018:
019: import java.sql.Date;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023:
024: /**
025: * This class represents customer credit card information
026: */
027: public class CustomerCreditCardInformation extends
028: PersistableBusinessObjectBase {
029:
030: private String customerCreditCardNumber;
031: private String customerCreditCardHolderName;
032: private String customerCreditCardIssuerName;
033: private String financialDocumentCreditCardTypeCode;
034: private Date customerCreditCardExpenditureDate;
035: private String customerNumber;
036: private String financialDocumentCreditCardVendorNumber;
037: private String customerCreditCardInformationNoteText;
038:
039: private CreditCardVendor financialDocumentCreditCardVendor;
040:
041: /**
042: * Default constructor.
043: */
044: public CustomerCreditCardInformation() {
045:
046: }
047:
048: /**
049: * Gets the customerCreditCardNumber attribute.
050: *
051: * @return Returns the customerCreditCardNumber
052: */
053: public String getCustomerCreditCardNumber() {
054: return customerCreditCardNumber;
055: }
056:
057: /**
058: * Sets the customerCreditCardNumber attribute.
059: *
060: * @param customerCreditCardNumber The customerCreditCardNumber to set.
061: */
062: public void setCustomerCreditCardNumber(
063: String customerCreditCardNumber) {
064: this .customerCreditCardNumber = customerCreditCardNumber;
065: }
066:
067: /**
068: * Gets the customerCreditCardHolderName attribute.
069: *
070: * @return Returns the customerCreditCardHolderName
071: */
072: public String getCustomerCreditCardHolderName() {
073: return customerCreditCardHolderName;
074: }
075:
076: /**
077: * Sets the customerCreditCardHolderName attribute.
078: *
079: * @param customerCreditCardHolderName The customerCreditCardHolderName to set.
080: */
081: public void setCustomerCreditCardHolderName(
082: String customerCreditCardHolderName) {
083: this .customerCreditCardHolderName = customerCreditCardHolderName;
084: }
085:
086: /**
087: * Gets the customerCreditCardIssuerName attribute.
088: *
089: * @return Returns the customerCreditCardIssuerName
090: */
091: public String getCustomerCreditCardIssuerName() {
092: return customerCreditCardIssuerName;
093: }
094:
095: /**
096: * Sets the customerCreditCardIssuerName attribute.
097: *
098: * @param customerCreditCardIssuerName The customerCreditCardIssuerName to set.
099: */
100: public void setCustomerCreditCardIssuerName(
101: String customerCreditCardIssuerName) {
102: this .customerCreditCardIssuerName = customerCreditCardIssuerName;
103: }
104:
105: /**
106: * Gets the financialDocumentCreditCardTypeCode attribute.
107: *
108: * @return Returns the financialDocumentCreditCardTypeCode
109: */
110: public String getFinancialDocumentCreditCardTypeCode() {
111: return financialDocumentCreditCardTypeCode;
112: }
113:
114: /**
115: * Sets the financialDocumentCreditCardTypeCode attribute.
116: *
117: * @param financialDocumentCreditCardTypeCode The financialDocumentCreditCardTypeCode to set.
118: */
119: public void setFinancialDocumentCreditCardTypeCode(
120: String financialDocumentCreditCardTypeCode) {
121: this .financialDocumentCreditCardTypeCode = financialDocumentCreditCardTypeCode;
122: }
123:
124: /**
125: * Gets the customerCreditCardExpenditureDate attribute.
126: *
127: * @return Returns the customerCreditCardExpenditureDate
128: */
129: public Date getCustomerCreditCardExpenditureDate() {
130: return customerCreditCardExpenditureDate;
131: }
132:
133: /**
134: * Sets the customerCreditCardExpenditureDate attribute.
135: *
136: * @param customerCreditCardExpenditureDate The customerCreditCardExpenditureDate to set.
137: */
138: public void setCustomerCreditCardExpenditureDate(
139: Date customerCreditCardExpenditureDate) {
140: this .customerCreditCardExpenditureDate = customerCreditCardExpenditureDate;
141: }
142:
143: /**
144: * Gets the customerNumber attribute.
145: *
146: * @return Returns the customerNumber
147: */
148: public String getCustomerNumber() {
149: return customerNumber;
150: }
151:
152: /**
153: * Sets the customerNumber attribute.
154: *
155: * @param customerNumber The customerNumber to set.
156: */
157: public void setCustomerNumber(String customerNumber) {
158: this .customerNumber = customerNumber;
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(
176: String financialDocumentCreditCardVendorNumber) {
177: this .financialDocumentCreditCardVendorNumber = financialDocumentCreditCardVendorNumber;
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(
195: String customerCreditCardInformationNoteText) {
196: this .customerCreditCardInformationNoteText = customerCreditCardInformationNoteText;
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(
215: CreditCardVendor financialDocumentCreditCardVendor) {
216: this .financialDocumentCreditCardVendor = financialDocumentCreditCardVendor;
217: }
218:
219: /**
220: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
221: */
222: protected LinkedHashMap toStringMapper() {
223: LinkedHashMap m = new LinkedHashMap();
224: m
225: .put("customerCreditCardNumber",
226: this.customerCreditCardNumber);
227: return m;
228: }
229: }
|