public class ElectronicInvoice extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
FILE_DOES_CONTAIN_REJECTS |
static boolean |
FILE_DOES_NOT_CONTAIN_REJECTS |
static boolean |
FILE_NOT_REJECTED |
static boolean |
FILE_REJECTED |
static String |
INVOICE_AMOUNT_TYPE_CODE_DEPOSIT |
static String |
INVOICE_AMOUNT_TYPE_CODE_DISCOUNT |
static String |
INVOICE_AMOUNT_TYPE_CODE_DUE |
static String |
INVOICE_AMOUNT_TYPE_CODE_EXMT |
static String |
INVOICE_AMOUNT_TYPE_CODE_ITEM |
static String |
INVOICE_AMOUNT_TYPE_CODE_SHIPPING |
static String |
INVOICE_AMOUNT_TYPE_CODE_SPECIAL_HANDLING |
static String |
INVOICE_AMOUNT_TYPE_CODE_TAX |
Constructor and Description |
---|
ElectronicInvoice() |
public static String INVOICE_AMOUNT_TYPE_CODE_ITEM
public static String INVOICE_AMOUNT_TYPE_CODE_TAX
public static String INVOICE_AMOUNT_TYPE_CODE_SPECIAL_HANDLING
public static String INVOICE_AMOUNT_TYPE_CODE_SHIPPING
public static String INVOICE_AMOUNT_TYPE_CODE_DISCOUNT
public static String INVOICE_AMOUNT_TYPE_CODE_DEPOSIT
public static String INVOICE_AMOUNT_TYPE_CODE_DUE
public static String INVOICE_AMOUNT_TYPE_CODE_EXMT
public static boolean FILE_REJECTED
public static boolean FILE_NOT_REJECTED
public static boolean FILE_DOES_CONTAIN_REJECTS
public static boolean FILE_DOES_NOT_CONTAIN_REJECTS
public ElectronicInvoice()
public void addFileRejectReasonToList(ElectronicInvoiceRejectReason reason)
public ElectronicInvoicePostalAddress getCxmlPostalAddress(ElectronicInvoiceOrder eio, String roleID, String addressName)
public ElectronicInvoiceContact getCxmlContact(ElectronicInvoiceOrder eio, String roleID)
public String getShippingDateDisplayText(ElectronicInvoiceOrder eio)
public String getMasterAgreementIDInfoDateDisplayText(ElectronicInvoiceOrder eio)
public String getMasterAgreementReferenceDateDisplayText(ElectronicInvoiceOrder eio)
public String getOrderIDInfoDateDisplayText(ElectronicInvoiceOrder eio)
public String getInvoiceDateDisplayText()
public String getInvoiceShippingDescription(ElectronicInvoiceOrder eio)
public String getInvoiceTaxDescription(ElectronicInvoiceOrder eio)
public String getInvoiceSpecialHandlingDescription(ElectronicInvoiceOrder eio)
public BigDecimal getFileTotalAmountForInLineItems(String invoiceLineItemType)
public BigDecimal getInvoiceSubTotalAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceTaxAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceSpecialHandlingAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceShippingAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceGrossAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceDiscountAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceNetAmount(ElectronicInvoiceOrder eio)
public BigDecimal getInvoiceDepositAmount()
public BigDecimal getInvoiceDueAmount()
public String getCodeOfLineItemThatContainsInvalidCurrency(String invoiceLineItemType)
public String checkCodeForValidCurrency(String code)
public boolean isCodeValidCurrency(String code)
public String getInvoiceSubTotalCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceTaxCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceSpecialHandlingCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceShippingCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceGrossCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceDiscountCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceNetCurrencyIfNotValid(ElectronicInvoiceOrder eio)
public String getInvoiceDepositCurrencyIfNotValid()
public String getInvoiceDueCurrencyIfNotValid()
public boolean isContainsRejects()
public void setContainsRejects(boolean containsRejects)
containsRejects
- The containsRejects to set.public String getCustomerNumber()
public void setCustomerNumber(String customerNumber)
customerNumber
- The customerNumber to set.public CxmlHeader getCxmlHeader()
public void setCxmlHeader(CxmlHeader cxmlHeader)
cxmlHeader
- The cxmlHeader to set.public String getDunsNumber()
public void setDunsNumber(String dunsNumber)
dunsNumber
- The dunsNumber to set.public String getFileName()
public void setFileName(String fileName)
fileName
- The fileName to set.public boolean isFileRejected()
public void setFileRejected(boolean fileRejected)
fileRejected
- The fileRejected to set.public List<ElectronicInvoiceRejectReason> getFileRejectReasons()
public void setFileRejectReasons(List<ElectronicInvoiceRejectReason> fileRejectReasons)
fileRejectReasons
- The fileRejectReasons to set.public List<ElectronicInvoiceOrder> getInvoiceDetailOrders()
public void setInvoiceDetailOrders(List<ElectronicInvoiceOrder> invoiceDetailOrders)
invoiceDetailOrders
- The invoiceDetailOrders to set.public ElectronicInvoiceDetailRequestHeader getInvoiceDetailRequestHeader()
public void setInvoiceDetailRequestHeader(ElectronicInvoiceDetailRequestHeader invoiceDetailRequestHeader)
invoiceDetailRequestHeader
- The invoiceDetailRequestHeader to set.public ElectronicInvoiceDetailRequestSummary getInvoiceDetailRequestSummary()
public void setInvoiceDetailRequestSummary(ElectronicInvoiceDetailRequestSummary invoiceDetailRequestSummary)
invoiceDetailRequestSummary
- The invoiceDetailRequestSummary to set.public Integer getVendorDetailID()
public void setVendorDetailID(Integer vendorDetailID)
vendorDetailID
- The vendorDetailID to set.public Integer getVendorHeaderID()
public void setVendorHeaderID(Integer vendorHeaderID)
vendorHeaderID
- The vendorHeaderID to set.public String getVendorName()
public void setVendorName(String vendorName)
vendorName
- the vendorName to setpublic String getPayloadID()
public void setPayloadID(String payloadID)
public String getTimestamp()
public void setTimestamp(String timestamp)
public String getVersion()
public void setVersion(String version)
public void addInvoiceDetailOrder(ElectronicInvoiceOrder electronicInvoiceOrder)
public ElectronicInvoiceOrder[] getInvoiceDetailOrdersAsArray()
public String getDeploymentMode()
public void setDeploymentMode(String deploymentMode)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.