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.module.purap.businessobject;
18  
19  import org.kuali.ole.vnd.businessobject.CampusParameter;
20  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22  
23  /**
24   * Billing Address Business Object.
25   */
26  public class BillingAddress extends PersistableBusinessObjectBase implements MutableInactivatable {
27  
28      protected String billingCampusCode;
29      protected String billingName;
30      protected String billingLine1Address;
31      protected String billingLine2Address;
32      protected String billingCityName;
33      protected String billingStateCode;
34      protected String billingPostalCode;
35      protected String billingCountryCode;
36      protected String billingPhoneNumber;
37      protected String billingEmailAddress;
38      protected boolean active;
39  
40      protected CampusParameter billingCampus;
41  
42      /**
43       * Default constructor.
44       */
45      public BillingAddress() {
46  
47      }
48  
49      public String getBillingCampusCode() {
50          return billingCampusCode;
51      }
52  
53      public void setBillingCampusCode(String billingCampusCode) {
54          this.billingCampusCode = billingCampusCode;
55      }
56  
57      public String getBillingName() {
58          return billingName;
59      }
60  
61      public void setBillingName(String billingName) {
62          this.billingName = billingName;
63      }
64  
65      public String getBillingLine1Address() {
66          return billingLine1Address;
67      }
68  
69      public void setBillingLine1Address(String billingLine1Address) {
70          this.billingLine1Address = billingLine1Address;
71      }
72  
73      public String getBillingLine2Address() {
74          return billingLine2Address;
75      }
76  
77      public void setBillingLine2Address(String billingLine2Address) {
78          this.billingLine2Address = billingLine2Address;
79      }
80  
81      public String getBillingCityName() {
82          return billingCityName;
83      }
84  
85      public void setBillingCityName(String billingCityName) {
86          this.billingCityName = billingCityName;
87      }
88  
89      public String getBillingStateCode() {
90          return billingStateCode;
91      }
92  
93      public void setBillingStateCode(String billingStateCode) {
94          this.billingStateCode = billingStateCode;
95      }
96  
97      public String getBillingPostalCode() {
98          return billingPostalCode;
99      }
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 String getBillingEmailAddress() {
122         return billingEmailAddress;
123     }
124 
125     public void setBillingEmailAddress(String billingEmailAddress) {
126         this.billingEmailAddress = billingEmailAddress;
127     }
128 
129     public CampusParameter getBillingCampus() {
130         return billingCampus;
131     }
132 
133     /**
134      * @deprecated
135      */
136     public void setBillingCampus(CampusParameter billingCampus) {
137         this.billingCampus = billingCampus;
138     }
139 
140     @Override
141     public boolean isActive() {
142         return active;
143     }
144 
145     @Override
146     public void setActive(boolean active) {
147         this.active = active;
148     }
149 
150 }