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.purap.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.Campus;
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023:
024: /**
025: * Billing Address Business Object.
026: */
027: public class BillingAddress extends PersistableBusinessObjectBase {
028:
029: private String billingCampusCode;
030: private String billingName;
031: private String billingLine1Address;
032: private String billingLine2Address;
033: private String billingCityName;
034: private String billingStateCode;
035: private String billingPostalCode;
036: private String billingCountryCode;
037: private String billingPhoneNumber;
038: private boolean active;
039:
040: private Campus billingCampus;
041:
042: /**
043: * Default constructor.
044: */
045: public BillingAddress() {
046:
047: }
048:
049: public String getBillingCampusCode() {
050: return billingCampusCode;
051: }
052:
053: public void setBillingCampusCode(String billingCampusCode) {
054: this .billingCampusCode = billingCampusCode;
055: }
056:
057: public String getBillingName() {
058: return billingName;
059: }
060:
061: public void setBillingName(String billingName) {
062: this .billingName = billingName;
063: }
064:
065: public String getBillingLine1Address() {
066: return billingLine1Address;
067: }
068:
069: public void setBillingLine1Address(String billingLine1Address) {
070: this .billingLine1Address = billingLine1Address;
071: }
072:
073: public String getBillingLine2Address() {
074: return billingLine2Address;
075: }
076:
077: public void setBillingLine2Address(String billingLine2Address) {
078: this .billingLine2Address = billingLine2Address;
079: }
080:
081: public String getBillingCityName() {
082: return billingCityName;
083: }
084:
085: public void setBillingCityName(String billingCityName) {
086: this .billingCityName = billingCityName;
087: }
088:
089: public String getBillingStateCode() {
090: return billingStateCode;
091: }
092:
093: public void setBillingStateCode(String billingStateCode) {
094: this .billingStateCode = billingStateCode;
095: }
096:
097: public String getBillingPostalCode() {
098: return billingPostalCode;
099: }
100:
101: public void setBillingPostalCode(String billingPostalCode) {
102: this .billingPostalCode = billingPostalCode;
103: }
104:
105: public String getBillingCountryCode() {
106: return billingCountryCode;
107: }
108:
109: public void setBillingCountryCode(String billingCountryCode) {
110: this .billingCountryCode = billingCountryCode;
111: }
112:
113: public String getBillingPhoneNumber() {
114: return billingPhoneNumber;
115: }
116:
117: public void setBillingPhoneNumber(String billingPhoneNumber) {
118: this .billingPhoneNumber = billingPhoneNumber;
119: }
120:
121: public Campus getBillingCampus() {
122: return billingCampus;
123: }
124:
125: /**
126: * @deprecated
127: */
128: public void setBillingCampus(Campus billingCampus) {
129: this .billingCampus = billingCampus;
130: }
131:
132: public boolean isActive() {
133: return active;
134: }
135:
136: public void setActive(boolean active) {
137: this .active = active;
138: }
139:
140: /**
141: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
142: */
143: protected LinkedHashMap toStringMapper() {
144: LinkedHashMap m = new LinkedHashMap();
145: m.put("billingCampusCode", this.billingCampusCode);
146: return m;
147: }
148: }
|