public class Invoice
extends java.lang.Object
Java class for Invoice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Invoice">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="ValidationErrors" type="{}ArrayOfValidationError" minOccurs="0"/>
<element name="Warnings" type="{}ArrayOfWarning" minOccurs="0"/>
<element name="Contact" type="{}Contact" minOccurs="0"/>
<element name="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="DueDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="BrandingThemeID" type="{}uniqueIdentifier" minOccurs="0"/>
<element name="Status" type="{}invoiceStatus" minOccurs="0"/>
<element name="LineAmountTypes" type="{}lineAmountType" minOccurs="0"/>
<element name="LineItems" type="{}ArrayOfLineItem" minOccurs="0"/>
<element name="DiscountRate" type="{}itemPrice" minOccurs="0"/>
<element name="SubTotal" type="{}itemPrice" minOccurs="0"/>
<element name="TotalTax" type="{}itemPrice" minOccurs="0"/>
<element name="Total" type="{}itemPrice" minOccurs="0"/>
<element name="UpdatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="CurrencyCode" type="{}currencyCode" minOccurs="0"/>
<element name="FullyPaidOnDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="Type" type="{}invoiceType" minOccurs="0"/>
<element name="InvoiceID" type="{}uniqueIdentifier" minOccurs="0"/>
<element name="InvoiceNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Reference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Payments" type="{}ArrayOfPayment" minOccurs="0"/>
<element name="CreditNotes" type="{}ArrayOfCreditNote" minOccurs="0"/>
<element name="AmountDue" type="{}itemPrice" minOccurs="0"/>
<element name="AmountPaid" type="{}itemPrice" minOccurs="0"/>
<element name="AmountCredited" type="{}itemPrice" minOccurs="0"/>
<element name="Url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="ExternalLinkProviderName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SentToContact" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="CurrencyRate" type="{}currencyRate" minOccurs="0"/>
<element name="TotalDiscount" type="{}itemPrice" minOccurs="0"/>
<element name="HasAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</all>
<attribute name="status" type="{}entityValidationStatus" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
amountCredited |
protected java.math.BigDecimal |
amountDue |
protected java.math.BigDecimal |
amountPaid |
protected java.lang.String |
brandingThemeID |
protected Contact |
contact |
protected ArrayOfCreditNote |
creditNotes |
protected CurrencyCode |
currencyCode |
protected java.math.BigDecimal |
currencyRate |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
date |
protected java.math.BigDecimal |
discountRate |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
dueDate |
protected java.lang.String |
externalLinkProviderName |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
fullyPaidOnDate |
protected java.lang.Boolean |
hasAttachments |
protected java.lang.String |
invoiceID |
protected java.lang.String |
invoiceNumber |
protected java.util.List<javax.xml.bind.JAXBElement<java.util.List<java.lang.String>>> |
lineAmountTypes |
protected ArrayOfLineItem |
lineItems |
protected ArrayOfPayment |
payments |
protected java.lang.String |
reference |
protected java.lang.Boolean |
sentToContact |
protected InvoiceStatus |
status |
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> |
subTotal |
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> |
total |
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> |
totalDiscount |
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> |
totalTax |
protected InvoiceType |
type |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
updatedDateUTC |
protected java.lang.String |
url |
protected ArrayOfValidationError |
validationErrors |
protected EntityValidationStatus |
validationStatus |
protected ArrayOfWarning |
warnings |
| Constructor and Description |
|---|
Invoice() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAmountCredited()
Gets the value of the amountCredited property.
|
java.math.BigDecimal |
getAmountDue()
Gets the value of the amountDue property.
|
java.math.BigDecimal |
getAmountPaid()
Gets the value of the amountPaid property.
|
java.lang.String |
getBrandingThemeID()
Gets the value of the brandingThemeID property.
|
Contact |
getContact()
Gets the value of the contact property.
|
java.util.List<CreditNote> |
getCreditNotes() |
CurrencyCode |
getCurrencyCode()
Gets the value of the currencyCode property.
|
java.math.BigDecimal |
getCurrencyRate()
Gets the value of the currencyRate property.
|
javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
getDate()
Gets the value of the date property.
|
java.math.BigDecimal |
getDiscountRate()
Gets the value of the discountRate property.
|
javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
getDueDate()
Gets the value of the dueDate property.
|
java.lang.String |
getExternalLinkProviderName()
Gets the value of the externalLinkProviderName property.
|
javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
getFullyPaidOnDate()
Gets the value of the fullyPaidOnDate property.
|
java.lang.String |
getInvoiceID()
Gets the value of the invoiceID property.
|
java.lang.String |
getInvoiceNumber()
Gets the value of the invoiceNumber property.
|
java.util.List<javax.xml.bind.JAXBElement<java.util.List<java.lang.String>>> |
getLineAmountTypes()
Gets the value of the lineAmountTypes property.
|
java.util.List<LineItem> |
getLineItems() |
java.util.List<Payment> |
getPayments() |
java.lang.String |
getReference()
Gets the value of the reference property.
|
InvoiceStatus |
getStatus()
Gets the value of the status property.
|
javax.xml.bind.JAXBElement<java.math.BigDecimal> |
getSubTotal()
Gets the value of the subTotal property.
|
javax.xml.bind.JAXBElement<java.math.BigDecimal> |
getTotal()
Gets the value of the total property.
|
javax.xml.bind.JAXBElement<java.math.BigDecimal> |
getTotalDiscount()
Gets the value of the totalDiscount property.
|
javax.xml.bind.JAXBElement<java.math.BigDecimal> |
getTotalTax()
Gets the value of the totalTax property.
|
InvoiceType |
getType()
Gets the value of the type property.
|
javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
getUpdatedDateUTC()
Gets the value of the updatedDateUTC property.
|
java.lang.String |
getUrl()
Gets the value of the url property.
|
java.util.List<ValidationError> |
getValidationErrors() |
EntityValidationStatus |
getValidationStatus()
Gets the value of the validationStatus property.
|
java.util.List<Warning> |
getWarnings() |
java.lang.Boolean |
isHasAttachments()
Gets the value of the hasAttachments property.
|
java.lang.Boolean |
isSentToContact()
Gets the value of the sentToContact property.
|
void |
setAmountCredited(java.math.BigDecimal value)
Sets the value of the amountCredited property.
|
void |
setAmountDue(java.math.BigDecimal value)
Sets the value of the amountDue property.
|
void |
setAmountPaid(java.math.BigDecimal value)
Sets the value of the amountPaid property.
|
void |
setBrandingThemeID(java.lang.String value)
Sets the value of the brandingThemeID property.
|
void |
setContact(Contact value)
Sets the value of the contact property.
|
void |
setCreditNotes(ArrayOfCreditNote value)
Sets the value of the creditNotes property.
|
void |
setCurrencyCode(CurrencyCode value)
Sets the value of the currencyCode property.
|
void |
setCurrencyRate(java.math.BigDecimal value)
Sets the value of the currencyRate property.
|
void |
setDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
Sets the value of the date property.
|
void |
setDiscountRate(java.math.BigDecimal value)
Sets the value of the discountRate property.
|
void |
setDueDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
Sets the value of the dueDate property.
|
void |
setExternalLinkProviderName(java.lang.String value)
Sets the value of the externalLinkProviderName property.
|
void |
setFullyPaidOnDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
Sets the value of the fullyPaidOnDate property.
|
void |
setHasAttachments(java.lang.Boolean value)
Sets the value of the hasAttachments property.
|
void |
setInvoiceID(java.lang.String value)
Sets the value of the invoiceID property.
|
void |
setInvoiceNumber(java.lang.String value)
Sets the value of the invoiceNumber property.
|
void |
setLineItems(ArrayOfLineItem value)
Sets the value of the lineItems property.
|
void |
setPayments(ArrayOfPayment value)
Sets the value of the payments property.
|
void |
setReference(java.lang.String value)
Sets the value of the reference property.
|
void |
setSentToContact(java.lang.Boolean value)
Sets the value of the sentToContact property.
|
void |
setStatus(InvoiceStatus value)
Sets the value of the status property.
|
void |
setSubTotal(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
Sets the value of the subTotal property.
|
void |
setTotal(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
Sets the value of the total property.
|
void |
setTotalDiscount(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
Sets the value of the totalDiscount property.
|
void |
setTotalTax(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
Sets the value of the totalTax property.
|
void |
setType(InvoiceType value)
Sets the value of the type property.
|
void |
setUpdatedDateUTC(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
Sets the value of the updatedDateUTC property.
|
void |
setUrl(java.lang.String value)
Sets the value of the url property.
|
void |
setValidationErrors(ArrayOfValidationError value)
Sets the value of the validationErrors property.
|
void |
setValidationStatus(EntityValidationStatus value)
Sets the value of the validationStatus property.
|
void |
setWarnings(ArrayOfWarning value)
Sets the value of the warnings property.
|
protected ArrayOfValidationError validationErrors
protected ArrayOfWarning warnings
protected Contact contact
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> date
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> dueDate
protected java.lang.String brandingThemeID
protected InvoiceStatus status
protected java.util.List<javax.xml.bind.JAXBElement<java.util.List<java.lang.String>>> lineAmountTypes
protected ArrayOfLineItem lineItems
protected java.math.BigDecimal discountRate
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> subTotal
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> totalTax
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> total
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> updatedDateUTC
protected CurrencyCode currencyCode
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> fullyPaidOnDate
protected InvoiceType type
protected java.lang.String invoiceID
protected java.lang.String invoiceNumber
protected java.lang.String reference
protected ArrayOfPayment payments
protected ArrayOfCreditNote creditNotes
protected java.math.BigDecimal amountDue
protected java.math.BigDecimal amountPaid
protected java.math.BigDecimal amountCredited
protected java.lang.String url
protected java.lang.String externalLinkProviderName
protected java.lang.Boolean sentToContact
protected java.math.BigDecimal currencyRate
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> totalDiscount
protected java.lang.Boolean hasAttachments
protected EntityValidationStatus validationStatus
public void setValidationErrors(ArrayOfValidationError value)
value - allowed object is
ArrayOfValidationErrorpublic void setWarnings(ArrayOfWarning value)
value - allowed object is
ArrayOfWarningpublic Contact getContact()
Contactpublic void setContact(Contact value)
value - allowed object is
Contactpublic javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> getDate()
JAXBElement<XMLGregorianCalendar>public void setDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
value - allowed object is
JAXBElement<XMLGregorianCalendar>public javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> getDueDate()
JAXBElement<XMLGregorianCalendar>public void setDueDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
value - allowed object is
JAXBElement<XMLGregorianCalendar>public java.lang.String getBrandingThemeID()
Stringpublic void setBrandingThemeID(java.lang.String value)
value - allowed object is
Stringpublic InvoiceStatus getStatus()
InvoiceStatuspublic void setStatus(InvoiceStatus value)
value - allowed object is
InvoiceStatuspublic java.util.List<javax.xml.bind.JAXBElement<java.util.List<java.lang.String>>> getLineAmountTypes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the lineAmountTypes property.
For example, to add a new item, do as follows:
getLineAmountTypes().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<List<String>>
public void setLineItems(ArrayOfLineItem value)
value - allowed object is
ArrayOfLineItempublic java.math.BigDecimal getDiscountRate()
BigDecimalpublic void setDiscountRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic javax.xml.bind.JAXBElement<java.math.BigDecimal> getSubTotal()
JAXBElement<BigDecimal>public void setSubTotal(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
value - allowed object is
JAXBElement<BigDecimal>public javax.xml.bind.JAXBElement<java.math.BigDecimal> getTotalTax()
JAXBElement<BigDecimal>public void setTotalTax(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
value - allowed object is
JAXBElement<BigDecimal>public javax.xml.bind.JAXBElement<java.math.BigDecimal> getTotal()
JAXBElement<BigDecimal>public void setTotal(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
value - allowed object is
JAXBElement<BigDecimal>public javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> getUpdatedDateUTC()
JAXBElement<XMLGregorianCalendar>public void setUpdatedDateUTC(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
value - allowed object is
JAXBElement<XMLGregorianCalendar>public CurrencyCode getCurrencyCode()
CurrencyCodepublic void setCurrencyCode(CurrencyCode value)
value - allowed object is
CurrencyCodepublic javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> getFullyPaidOnDate()
JAXBElement<XMLGregorianCalendar>public void setFullyPaidOnDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
value - allowed object is
JAXBElement<XMLGregorianCalendar>public InvoiceType getType()
InvoiceTypepublic void setType(InvoiceType value)
value - allowed object is
InvoiceTypepublic java.lang.String getInvoiceID()
Stringpublic void setInvoiceID(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getInvoiceNumber()
Stringpublic void setInvoiceNumber(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getReference()
Stringpublic void setReference(java.lang.String value)
value - allowed object is
Stringpublic void setPayments(ArrayOfPayment value)
value - allowed object is
ArrayOfPaymentpublic void setCreditNotes(ArrayOfCreditNote value)
value - allowed object is
ArrayOfCreditNotepublic java.math.BigDecimal getAmountDue()
BigDecimalpublic void setAmountDue(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getAmountPaid()
BigDecimalpublic void setAmountPaid(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getAmountCredited()
BigDecimalpublic void setAmountCredited(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.lang.String getUrl()
Stringpublic void setUrl(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getExternalLinkProviderName()
Stringpublic void setExternalLinkProviderName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isSentToContact()
Booleanpublic void setSentToContact(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.math.BigDecimal getCurrencyRate()
BigDecimalpublic void setCurrencyRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic javax.xml.bind.JAXBElement<java.math.BigDecimal> getTotalDiscount()
JAXBElement<BigDecimal>public void setTotalDiscount(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
value - allowed object is
JAXBElement<BigDecimal>public java.lang.Boolean isHasAttachments()
Booleanpublic void setHasAttachments(java.lang.Boolean value)
value - allowed object is
Booleanpublic EntityValidationStatus getValidationStatus()
EntityValidationStatuspublic void setValidationStatus(EntityValidationStatus value)
value - allowed object is
EntityValidationStatuspublic java.util.List<ValidationError> getValidationErrors()
public java.util.List<Warning> getWarnings()
public java.util.List<LineItem> getLineItems()
public java.util.List<Payment> getPayments()
public java.util.List<CreditNote> getCreditNotes()