/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.kuali.kfs.module.ar.businessobject; import java.sql.Date; import java.util.LinkedHashMap; import org.kuali.kfs.sys.KFSPropertyConstants; import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; /** * This class is used to represent an invoice address detail business object. */ public class InvoiceAddressDetail extends PersistableBusinessObjectBase { private String documentNumber; private String customerNumber; private Integer customerAddressIdentifier; private String customerAddressTypeCode; private String customerAddressName; private String customerInvoiceTemplateCode; private String invoiceTransmissionMethodCode; private String customerEmailAddress; private long noteId; private Date initialTransmissionDate; private String customerLine1StreetAddress; private String customerLine2StreetAddress; private String customerCityName; private String customerStateCode; private String customerZipCode; private String customerCountryCode; private String customerAddressInternationalProvinceName; private String customerInternationalMailCode; private CustomerAddress customerAddress; /** * Gets the invoiceTransmissionMethodCode attribute. * * @return Returns the invoiceTransmissionMethodCode. */ public String getInvoiceTransmissionMethodCode() { return invoiceTransmissionMethodCode; } /** * Gets the noteId attribute. * * @return Returns the noteId. */ public long getNoteId() { return noteId; } /** * Sets the noteId attribute value. * * @param noteId The noteId to set. */ public void setNoteId(long noteId) { this.noteId = noteId; } /** * Sets the invoiceTransmissionMethodCode attribute value. * * @param invoiceTransmissionMethodCode The invoiceTransmissionMethodCode to set. */ public void setInvoiceTransmissionMethodCode(String invoiceTransmissionMethodCode) { this.invoiceTransmissionMethodCode = invoiceTransmissionMethodCode; } /** * Gets the documentNumber attribute. * * @return Returns the documentNumber */ public String getDocumentNumber() { return documentNumber; } /** * Sets the documentNumber attribute. * * @param documentNumber The documentNumber to set. */ public void setDocumentNumber(String documentNumber) { this.documentNumber = documentNumber; } /** * Gets the customerNumber attribute. * * @return Returns the customerNumber */ public String getCustomerNumber() { return customerNumber; } /** * Sets the customerNumber attribute. * * @param customerNumber The customerNumber to set. */ public void setCustomerNumber(String customerNumber) { this.customerNumber = customerNumber; } public CustomerAddress getCustomerAddress() { return customerAddress; } public void setCustomerAddress(CustomerAddress customerAddress) { this.customerAddress = customerAddress; } /** * Gets the customerAddressIdentifier attribute. * * @return Returns the customerAddressIdentifier */ public Integer getCustomerAddressIdentifier() { return customerAddressIdentifier; } /** * Sets the customerAddressIdentifier attribute. * * @param customerAddressIdentifier The customerAddressIdentifier to set. */ public void setCustomerAddressIdentifier(Integer customerAddressIdentifier) { this.customerAddressIdentifier = customerAddressIdentifier; } public String getCustomerAddressTypeCode() { return customerAddressTypeCode; } public void setCustomerAddressTypeCode(String customerAddressTypeCode) { this.customerAddressTypeCode = customerAddressTypeCode; } /** * Gets the customerAddressName attribute. * * @return Returns the customerAddressName */ public String getCustomerAddressName() { return customerAddressName; } /** * Sets the customerAddressName attribute. * * @param customerAddressName The customerAddressName to set. */ public void setCustomerAddressName(String customerAddressName) { this.customerAddressName = customerAddressName; } /** * Gets the customerInvoiceTemplateCode attribute. * * @return Returns the customerInvoiceTemplateCode. */ public String getCustomerInvoiceTemplateCode() { return customerInvoiceTemplateCode; } public String getCustomerEmailAddress() { return customerEmailAddress; } public void setCustomerEmailAddress(String customerEmailAddress) { this.customerEmailAddress = customerEmailAddress; } /** * Sets the customerInvoiceTemplateCode attribute value. * * @param customerInvoiceTemplateCode The customerInvoiceTemplateCode to set. */ public void setCustomerInvoiceTemplateCode(String customerInvoiceTemplateCode) { this.customerInvoiceTemplateCode = customerInvoiceTemplateCode; } public Date getInitialTransmissionDate() { return initialTransmissionDate; } public void setInitialTransmissionDate(Date initialTransmissionDate) { this.initialTransmissionDate = initialTransmissionDate; } public String getCustomerLine1StreetAddress() { return customerLine1StreetAddress; } public void setCustomerLine1StreetAddress(String customerLine1StreetAddress) { this.customerLine1StreetAddress = customerLine1StreetAddress; } public String getCustomerLine2StreetAddress() { return customerLine2StreetAddress; } public void setCustomerLine2StreetAddress(String customerLine2StreetAddress) { this.customerLine2StreetAddress = customerLine2StreetAddress; } public String getCustomerCityName() { return customerCityName; } public void setCustomerCityName(String customerCityName) { this.customerCityName = customerCityName; } public String getCustomerStateCode() { return customerStateCode; } public void setCustomerStateCode(String customerStateCode) { this.customerStateCode = customerStateCode; } public String getCustomerZipCode() { return customerZipCode; } public void setCustomerZipCode(String customerZipCode) { this.customerZipCode = customerZipCode; } public String getCustomerCountryCode() { return customerCountryCode; } public void setCustomerCountryCode(String customerCountryCode) { this.customerCountryCode = customerCountryCode; } public String getCustomerAddressInternationalProvinceName() { return customerAddressInternationalProvinceName; } public void setCustomerAddressInternationalProvinceName(String customerAddressInternationalProvinceName) { this.customerAddressInternationalProvinceName = customerAddressInternationalProvinceName; } public String getCustomerInternationalMailCode() { return customerInternationalMailCode; } public void setCustomerInternationalMailCode(String customerInternationalMailCode) { this.customerInternationalMailCode = customerInternationalMailCode; } /** * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper() */ protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { LinkedHashMap m = new LinkedHashMap(); m.put(KFSPropertyConstants.DOCUMENT_NUMBER, this.documentNumber); m.put(customerNumber, this.customerNumber); m.put(customerAddressTypeCode, this.customerAddressTypeCode); m.put(customerAddressName, this.customerAddressName); m.put(customerInvoiceTemplateCode, this.customerInvoiceTemplateCode); m.put(invoiceTransmissionMethodCode, invoiceTransmissionMethodCode); return m; } }