001: /*
002: * Copyright 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: package org.kuali.module.purap.bo;
017:
018: import java.sql.Date;
019: import java.util.List;
020:
021: import org.kuali.core.bo.Note;
022: import org.kuali.core.util.KualiDecimal;
023:
024: /**
025: * Payment Request View Business Object.
026: */
027: public class PaymentRequestView extends AbstractRelatedView {
028:
029: private String invoiceNumber;
030: private Integer purchaseOrderIdentifier;
031: private String statusCode;
032: private boolean paymentHoldIndicator;
033: private boolean paymentRequestedCancelIndicator;
034: private String vendorName;
035: private String vendorCustomerNumber;
036: private Date paymentRequestPayDate;
037: private Date paymentExtractedDate;
038: private Date paymentPaidDate;
039: private KualiDecimal totalAmount;
040:
041: public String getInvoiceNumber() {
042: return invoiceNumber;
043: }
044:
045: public void setInvoiceNumber(String invoiceNumber) {
046: this .invoiceNumber = invoiceNumber;
047: }
048:
049: public Date getPaymentExtractedDate() {
050: return paymentExtractedDate;
051: }
052:
053: public void setPaymentExtractedDate(Date paymentExtractedDate) {
054: this .paymentExtractedDate = paymentExtractedDate;
055: }
056:
057: public boolean isPaymentHoldIndicator() {
058: return paymentHoldIndicator;
059: }
060:
061: public void setPaymentHoldIndicator(boolean paymentHoldIndicator) {
062: this .paymentHoldIndicator = paymentHoldIndicator;
063: }
064:
065: public Date getPaymentPaidDate() {
066: return paymentPaidDate;
067: }
068:
069: public void setPaymentPaidDate(Date paymentPaidDate) {
070: this .paymentPaidDate = paymentPaidDate;
071: }
072:
073: public boolean isPaymentRequestedCancelIndicator() {
074: return paymentRequestedCancelIndicator;
075: }
076:
077: public void setPaymentRequestedCancelIndicator(
078: boolean paymentRequestedCancelIndicator) {
079: this .paymentRequestedCancelIndicator = paymentRequestedCancelIndicator;
080: }
081:
082: public Date getPaymentRequestPayDate() {
083: return paymentRequestPayDate;
084: }
085:
086: public void setPaymentRequestPayDate(Date paymentRequestPayDate) {
087: this .paymentRequestPayDate = paymentRequestPayDate;
088: }
089:
090: public Integer getPurchaseOrderIdentifier() {
091: return purchaseOrderIdentifier;
092: }
093:
094: public void setPurchaseOrderIdentifier(
095: Integer purchaseOrderIdentifier) {
096: this .purchaseOrderIdentifier = purchaseOrderIdentifier;
097: }
098:
099: public String getStatusCode() {
100: return statusCode;
101: }
102:
103: public void setStatusCode(String statusCode) {
104: this .statusCode = statusCode;
105: }
106:
107: public KualiDecimal getTotalAmount() {
108: return totalAmount;
109: }
110:
111: public void setTotalAmount(KualiDecimal totalAmount) {
112: this .totalAmount = totalAmount;
113: }
114:
115: public String getVendorCustomerNumber() {
116: return vendorCustomerNumber;
117: }
118:
119: public void setVendorCustomerNumber(String vendorCustomerNumber) {
120: this .vendorCustomerNumber = vendorCustomerNumber;
121: }
122:
123: public String getVendorName() {
124: return vendorName;
125: }
126:
127: public void setVendorName(String vendorName) {
128: this .vendorName = vendorName;
129: }
130:
131: /**
132: * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why
133: * at this point! (AAP)
134: */
135: @Override
136: public Integer getPurapDocumentIdentifier() {
137: return super .getPurapDocumentIdentifier();
138: }
139:
140: /**
141: * @see org.kuali.module.purap.bo.AbstractRelatedView#getNotes()
142: */
143: @Override
144: public List<Note> getNotes() {
145: return super .getNotes();
146: }
147:
148: /**
149: * @see org.kuali.module.purap.bo.AbstractRelatedView#getUrl()
150: */
151: @Override
152: public String getUrl() {
153: return super.getUrl();
154: }
155: }
|