001/* 002 * Copyright 2006 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 017package org.kuali.ole.module.purap.businessobject; 018 019import org.kuali.ole.vnd.businessobject.CampusParameter; 020import org.kuali.rice.core.api.mo.common.active.MutableInactivatable; 021import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 022 023/** 024 * Billing Address Business Object. 025 */ 026public class BillingAddress extends PersistableBusinessObjectBase implements MutableInactivatable { 027 028 protected String billingCampusCode; 029 protected String billingName; 030 protected String billingLine1Address; 031 protected String billingLine2Address; 032 protected String billingCityName; 033 protected String billingStateCode; 034 protected String billingPostalCode; 035 protected String billingCountryCode; 036 protected String billingPhoneNumber; 037 protected String billingEmailAddress; 038 protected boolean active; 039 040 protected CampusParameter 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 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}