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="ExpectedPaymentDate" 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"/>
<element name="Attachments" type="{}ArrayOfAttachment" 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 ArrayOfAttachment |
attachments |
protected java.lang.String |
brandingThemeID |
protected Contact |
contact |
protected ArrayOfCreditNote |
creditNotes |
protected CurrencyCode |
currencyCode |
protected java.math.BigDecimal |
currencyRate |
protected java.util.Date |
date |
protected java.math.BigDecimal |
discountRate |
protected java.util.Date |
dueDate |
protected java.util.Date |
expectedPaymentDate |
protected java.lang.String |
externalLinkProviderName |
protected java.util.Date |
fullyPaidOnDate |
protected java.lang.Boolean |
hasAttachments |
protected java.lang.String |
invoiceID |
protected java.lang.String |
invoiceNumber |
protected 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 java.math.BigDecimal |
subTotal |
protected java.math.BigDecimal |
total |
protected java.math.BigDecimal |
totalDiscount |
protected java.math.BigDecimal |
totalTax |
protected InvoiceType |
type |
protected java.util.Date |
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.util.List<Attachment> |
getAttachments() |
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.
|
java.util.Date |
getDate()
Gets the value of the date property.
|
java.math.BigDecimal |
getDiscountRate()
Gets the value of the discountRate property.
|
java.util.Date |
getDueDate()
Gets the value of the dueDate property.
|
java.util.Date |
getExpectedPaymentDate()
Gets the value of the expectedPaymentDate property.
|
java.lang.String |
getExternalLinkProviderName()
Gets the value of the externalLinkProviderName property.
|
java.util.Date |
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<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.
|
java.math.BigDecimal |
getSubTotal()
Gets the value of the subTotal property.
|
java.math.BigDecimal |
getTotal()
Gets the value of the total property.
|
java.math.BigDecimal |
getTotalDiscount()
Gets the value of the totalDiscount property.
|
java.math.BigDecimal |
getTotalTax()
Gets the value of the totalTax property.
|
InvoiceType |
getType()
Gets the value of the type property.
|
java.util.Date |
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 |
setAttachments(java.util.List<Attachment> value) |
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(java.util.List<CreditNote> value) |
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(java.util.Date value)
Sets the value of the date property.
|
void |
setDiscountRate(java.math.BigDecimal value)
Sets the value of the discountRate property.
|
void |
setDueDate(java.util.Date value)
Sets the value of the dueDate property.
|
void |
setExpectedPaymentDate(java.util.Date value)
Sets the value of the expectedPaymentDate property.
|
void |
setExternalLinkProviderName(java.lang.String value)
Sets the value of the externalLinkProviderName property.
|
void |
setFullyPaidOnDate(java.util.Date 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(java.util.List<LineItem> value) |
void |
setPayments(java.util.List<Payment> value) |
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(java.math.BigDecimal value)
Sets the value of the subTotal property.
|
void |
setTotal(java.math.BigDecimal value)
Sets the value of the total property.
|
void |
setTotalDiscount(java.math.BigDecimal value)
Sets the value of the totalDiscount property.
|
void |
setTotalTax(java.math.BigDecimal value)
Sets the value of the totalTax property.
|
void |
setType(InvoiceType value)
Sets the value of the type property.
|
void |
setUpdatedDateUTC(java.util.Date value)
Sets the value of the updatedDateUTC property.
|
void |
setUrl(java.lang.String value)
Sets the value of the url property.
|
void |
setValidationErrors(java.util.List<ValidationError> value) |
void |
setValidationStatus(EntityValidationStatus value)
Sets the value of the validationStatus property.
|
void |
setWarnings(java.util.List<Warning> value) |
protected ArrayOfValidationError validationErrors
protected ArrayOfWarning warnings
protected Contact contact
protected java.util.Date date
protected java.util.Date dueDate
protected java.util.Date expectedPaymentDate
protected java.lang.String brandingThemeID
protected InvoiceStatus status
protected java.util.List<java.lang.String> lineAmountTypes
protected ArrayOfLineItem lineItems
protected java.math.BigDecimal discountRate
protected java.math.BigDecimal subTotal
protected java.math.BigDecimal totalTax
protected java.math.BigDecimal total
protected java.util.Date updatedDateUTC
protected CurrencyCode currencyCode
protected java.util.Date 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 java.math.BigDecimal totalDiscount
protected java.lang.Boolean hasAttachments
protected ArrayOfAttachment attachments
protected EntityValidationStatus validationStatus
public Contact getContact()
Contactpublic void setContact(Contact value)
value - allowed object is
Contactpublic java.util.Date getDate()
Stringpublic void setDate(java.util.Date value)
value - allowed object is
Stringpublic java.util.Date getDueDate()
Stringpublic void setDueDate(java.util.Date value)
value - allowed object is
Stringpublic java.util.Date getExpectedPaymentDate()
Stringpublic void setExpectedPaymentDate(java.util.Date value)
value - allowed object is
Stringpublic 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<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
String
public java.math.BigDecimal getDiscountRate()
BigDecimalpublic void setDiscountRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getSubTotal()
BigDecimalpublic void setSubTotal(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getTotalTax()
BigDecimalpublic void setTotalTax(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getTotal()
BigDecimalpublic void setTotal(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.util.Date getUpdatedDateUTC()
Stringpublic void setUpdatedDateUTC(java.util.Date value)
value - allowed object is
Stringpublic CurrencyCode getCurrencyCode()
CurrencyCodepublic void setCurrencyCode(CurrencyCode value)
value - allowed object is
CurrencyCodepublic java.util.Date getFullyPaidOnDate()
Stringpublic void setFullyPaidOnDate(java.util.Date value)
value - allowed object is
Stringpublic 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 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 java.math.BigDecimal getTotalDiscount()
BigDecimalpublic void setTotalDiscount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic 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()
public java.util.List<Attachment> getAttachments()
public void setValidationErrors(java.util.List<ValidationError> value)
public void setWarnings(java.util.List<Warning> value)
public void setLineItems(java.util.List<LineItem> value)
public void setPayments(java.util.List<Payment> value)
public void setCreditNotes(java.util.List<CreditNote> value)
public void setAttachments(java.util.List<Attachment> value)