View Javadoc
1   /*
2    * Copyright 2006 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.kuali.ole.fp.businessobject;
18  
19  import java.sql.Date;
20  import java.util.LinkedHashMap;
21  
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  /**
25   *  This class represents customer credit card information
26   */
27  public class CustomerCreditCardInformation extends PersistableBusinessObjectBase {
28  
29      private String customerCreditCardNumber;
30      private String customerCreditCardHolderName;
31      private String customerCreditCardIssuerName;
32      private String financialDocumentCreditCardTypeCode;
33      private Date customerCreditCardExpenditureDate;
34      private String customerNumber;
35      private String financialDocumentCreditCardVendorNumber;
36      private String customerCreditCardInformationNoteText;
37  
38      private CreditCardVendor financialDocumentCreditCardVendor;
39  
40      /**
41       * Default constructor.
42       */
43      public CustomerCreditCardInformation() {
44  
45      }
46  
47      /**
48       * Gets the customerCreditCardNumber attribute.
49       * 
50       * @return Returns the customerCreditCardNumber
51       */
52      public String getCustomerCreditCardNumber() {
53          return customerCreditCardNumber;
54      }
55  
56      /**
57       * Sets the customerCreditCardNumber attribute.
58       * 
59       * @param customerCreditCardNumber The customerCreditCardNumber to set.
60       */
61      public void setCustomerCreditCardNumber(String customerCreditCardNumber) {
62          this.customerCreditCardNumber = customerCreditCardNumber;
63      }
64  
65  
66      /**
67       * Gets the customerCreditCardHolderName attribute.
68       * 
69       * @return Returns the customerCreditCardHolderName
70       */
71      public String getCustomerCreditCardHolderName() {
72          return customerCreditCardHolderName;
73      }
74  
75      /**
76       * Sets the customerCreditCardHolderName attribute.
77       * 
78       * @param customerCreditCardHolderName The customerCreditCardHolderName to set.
79       */
80      public void setCustomerCreditCardHolderName(String customerCreditCardHolderName) {
81          this.customerCreditCardHolderName = customerCreditCardHolderName;
82      }
83  
84  
85      /**
86       * Gets the customerCreditCardIssuerName attribute.
87       * 
88       * @return Returns the customerCreditCardIssuerName
89       */
90      public String getCustomerCreditCardIssuerName() {
91          return customerCreditCardIssuerName;
92      }
93  
94      /**
95       * Sets the customerCreditCardIssuerName attribute.
96       * 
97       * @param customerCreditCardIssuerName The customerCreditCardIssuerName to set.
98       */
99      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.krad.bo.BusinessObjectBase#toStringMapper()
220      */
221     protected LinkedHashMap toStringMapper() {
222         LinkedHashMap m = new LinkedHashMap();
223         m.put("customerCreditCardNumber", this.customerCreditCardNumber);
224         return m;
225     }
226 }