org.kuali.kfs.module.purap.businessobject
Class ElectronicInvoiceOrder
java.lang.Object
org.kuali.kfs.module.purap.businessobject.ElectronicInvoiceOrder
public class ElectronicInvoiceOrder
- extends Object
INVOICE_ORDER_REJECTED
public static boolean INVOICE_ORDER_REJECTED
INVOICE_ORDER_NOT_REJECTED
public static boolean INVOICE_ORDER_NOT_REJECTED
ElectronicInvoiceOrder
public ElectronicInvoiceOrder()
getElectronicInvoiceItemByPOLineNumber
public ElectronicInvoiceItem getElectronicInvoiceItemByPOLineNumber(Integer poLineNumber)
getCxmlPostalAddressByRoleID
public ElectronicInvoicePostalAddress getCxmlPostalAddressByRoleID(String roleID,
String addressName)
- This method takes in a roleID string and an addressName (constants from mapping file)
and returns a valid ElectronicInvoicePostalAddress or null if not found. If the addressName string
is null then the roleID is used to find the first available
- Parameters:
roleID
- Cxml role id attribute valueaddressName
- Cxml name attribute of postaladdress tag
- Returns:
- CxmlPostal Address relating to given parameters
getCxmlContactByRoleID
public ElectronicInvoiceContact getCxmlContactByRoleID(String roleID)
getInvoiceShippingDate
public Date getInvoiceShippingDate()
- This method returns the first shipping date found in the list of items. This
is called if shipping information is in line. Since system only allows for one
shipping date per invoice-order we take the first date we find
- Returns:
- Date defining first shipping date found or null if none are found
getInvoiceShippingDateString
public String getInvoiceShippingDateString()
- This method returns the first shipping date string found in the list of items. This
is called if shipping information is in line. Since system only allows for one shipping
date per invoice-order we take the first date string we find
- Returns:
- Date defining first shipping date found or null if none are found
getInvoiceTaxDescription
public String getInvoiceTaxDescription()
getInvoiceShippingDescription
public String getInvoiceShippingDescription()
getInvoiceSpecialHandlingDescription
public String getInvoiceSpecialHandlingDescription()
getInvoiceSubTotalAmount
public BigDecimal getInvoiceSubTotalAmount()
getInvoiceTaxAmount
public BigDecimal getInvoiceTaxAmount()
getInvoiceSpecialHandlingAmount
public BigDecimal getInvoiceSpecialHandlingAmount()
getInvoiceShippingAmount
public BigDecimal getInvoiceShippingAmount()
getInvoiceGrossAmount
public BigDecimal getInvoiceGrossAmount()
getInvoiceDiscountAmount
public BigDecimal getInvoiceDiscountAmount()
getInvoiceNetAmount
public BigDecimal getInvoiceNetAmount()
addRejectReasonToList
public void addRejectReasonToList(ElectronicInvoiceRejectReason reason)
setMasterAgreementIDInfoDateString
public void setMasterAgreementIDInfoDateString(String masterAgreementIDInfoDateString)
- Altered for special circumstances
- Parameters:
masterAgreementIDInfoDateString
- The masterAgreementIDInfoDateString to set.
setMasterAgreementReferenceDateString
public void setMasterAgreementReferenceDateString(String masterAgreementReferenceDateString)
- Altered for special circumstances
- Parameters:
masterAgreementReferenceDateString
- The masterAgreementReferenceDateString to set.
setOrderIDInfoDateString
public void setOrderIDInfoDateString(String orderIDInfoDateString)
- Altered for special circumstances
- Parameters:
orderIDInfoDateString
- The orderIDInfoDateString to set.
getInvoiceItems
public List<ElectronicInvoiceItem> getInvoiceItems()
- Returns:
- Returns the invoiceItems.
setInvoiceItems
public void setInvoiceItems(List<ElectronicInvoiceItem> invoiceItems)
- Parameters:
invoiceItems
- The invoiceItems to set.
getInvoicePurchaseOrderID
public String getInvoicePurchaseOrderID()
- Returns:
- Returns the invoicePurchaseOrderID.
setInvoicePurchaseOrderID
public void setInvoicePurchaseOrderID(String invoicePurchaseOrderID)
- Parameters:
invoicePurchaseOrderID
- The invoicePurchaseOrderID to set.
getMasterAgreementIDInfoDate
public Date getMasterAgreementIDInfoDate()
- Returns:
- Returns the masterAgreementIDInfoDate.
setMasterAgreementIDInfoDate
public void setMasterAgreementIDInfoDate(Date masterAgreementIDInfoDate)
- Parameters:
masterAgreementIDInfoDate
- The masterAgreementIDInfoDate to set.
getMasterAgreementIDInfoID
public String getMasterAgreementIDInfoID()
- Returns:
- Returns the masterAgreementIDInfoID.
setMasterAgreementIDInfoID
public void setMasterAgreementIDInfoID(String masterAgreementIDInfoID)
- Parameters:
masterAgreementIDInfoID
- The masterAgreementIDInfoID to set.
getMasterAgreementReferenceDate
public Date getMasterAgreementReferenceDate()
- Returns:
- Returns the masterAgreementReferenceDate.
setMasterAgreementReferenceDate
public void setMasterAgreementReferenceDate(Date masterAgreementReferenceDate)
- Parameters:
masterAgreementReferenceDate
- The masterAgreementReferenceDate to set.
getMasterAgreementReferenceID
public String getMasterAgreementReferenceID()
- Returns:
- Returns the masterAgreementReferenceID.
setMasterAgreementReferenceID
public void setMasterAgreementReferenceID(String masterAgreementReferenceID)
- Parameters:
masterAgreementReferenceID
- The masterAgreementReferenceID to set.
getOrderIDInfoDate
public Date getOrderIDInfoDate()
- Returns:
- Returns the orderIDInfoDate.
setOrderIDInfoDate
public void setOrderIDInfoDate(Date orderIDInfoDate)
- Parameters:
orderIDInfoDate
- The orderIDInfoDate to set.
getOrderIDInfoID
public String getOrderIDInfoID()
- Returns:
- Returns the orderIDInfoID.
setOrderIDInfoID
public void setOrderIDInfoID(String orderIDInfoID)
- Parameters:
orderIDInfoID
- The orderIDInfoID to set.
getOrderReferenceDocumentRef
public String getOrderReferenceDocumentRef()
- Returns:
- Returns the orderReferenceDocumentRef.
setOrderReferenceDocumentRef
public void setOrderReferenceDocumentRef(String orderReferenceDocumentRef)
- Parameters:
orderReferenceDocumentRef
- The orderReferenceDocumentRef to set.
getOrderReferenceDocumentRefPayloadID
public String getOrderReferenceDocumentRefPayloadID()
- Returns:
- Returns the orderReferenceDocumentRefPayloadID.
setOrderReferenceDocumentRefPayloadID
public void setOrderReferenceDocumentRefPayloadID(String orderReferenceDocumentRefPayloadID)
- Parameters:
orderReferenceDocumentRefPayloadID
- The orderReferenceDocumentRefPayloadID to set.
getOrderReferenceOrderID
public String getOrderReferenceOrderID()
- Returns:
- Returns the orderReferenceOrderID.
setOrderReferenceOrderID
public void setOrderReferenceOrderID(String orderReferenceOrderID)
- Parameters:
orderReferenceOrderID
- The orderReferenceOrderID to set.
getOrderRejectReasons
public List<ElectronicInvoiceRejectReason> getOrderRejectReasons()
- Returns:
- Returns the orderRejectReasons.
setOrderRejectReasons
public void setOrderRejectReasons(List<ElectronicInvoiceRejectReason> orderRejectReasons)
- Parameters:
orderRejectReasons
- The orderRejectReasons to set.
getPurchaseOrderCampusCode
public String getPurchaseOrderCampusCode()
- Returns:
- Returns the purchaseOrderCampusCode.
setPurchaseOrderCampusCode
public void setPurchaseOrderCampusCode(String purchaseOrderCampusCode)
- Parameters:
purchaseOrderCampusCode
- The purchaseOrderCampusCode to set.
getPurchaseOrderID
public Integer getPurchaseOrderID()
- Returns:
- Returns the purchaseOrderID.
setPurchaseOrderID
public void setPurchaseOrderID(Integer purchaseOrderID)
- Parameters:
purchaseOrderID
- The purchaseOrderID to set.
isRejected
public boolean isRejected()
- Returns:
- Returns the rejected.
setRejected
public void setRejected(boolean rejected)
- Parameters:
rejected
- The rejected to set.
getSupplierOrderInfoID
public String getSupplierOrderInfoID()
- Returns:
- Returns the supplierOrderInfoID.
setSupplierOrderInfoID
public void setSupplierOrderInfoID(String supplierOrderInfoID)
- Parameters:
supplierOrderInfoID
- The supplierOrderInfoID to set.
getMasterAgreementIDInfoDateString
public String getMasterAgreementIDInfoDateString()
- Returns:
- Returns the masterAgreementIDInfoDateString.
getMasterAgreementReferenceDateString
public String getMasterAgreementReferenceDateString()
- Returns:
- Returns the masterAgreementReferenceDateString.
getOrderIDInfoDateString
public String getOrderIDInfoDateString()
- Returns:
- Returns the orderIDInfoDateString.
addInvoiceItem
public void addInvoiceItem(ElectronicInvoiceItem electronicInvoiceItem)
getInvoiceItemsAsArray
public ElectronicInvoiceItem[] getInvoiceItemsAsArray()
getOrderReferenceOrderDateString
public String getOrderReferenceOrderDateString()
setOrderReferenceOrderDateString
public void setOrderReferenceOrderDateString(String orderReferenceOrderDateString)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.