public class Receipt
extends java.lang.Object
Java class for Receipt complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Receipt">
<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="ReceiptID" type="{}uniqueIdentifier" minOccurs="0"/>
<element name="ReceiptNumber" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="Status" type="{}receiptStatus" 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="User" type="{}User" minOccurs="0"/>
<element name="Contact" type="{}Contact" minOccurs="0"/>
<element name="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="UpdatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="LineAmountTypes" type="{}lineAmountType" minOccurs="0"/>
<element name="LineItems" type="{}ArrayOfLineItem" minOccurs="0"/>
<element name="SubTotal" type="{}itemPrice"/>
<element name="TotalTax" type="{}itemPrice"/>
<element name="Total" type="{}itemPrice"/>
<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 ArrayOfAttachment |
attachments |
protected Contact |
contact |
protected java.util.Date |
date |
protected java.lang.String |
externalLinkProviderName |
protected java.lang.Boolean |
hasAttachments |
protected java.util.List<java.lang.String> |
lineAmountTypes |
protected ArrayOfLineItem |
lineItems |
protected java.lang.String |
receiptID |
protected java.math.BigInteger |
receiptNumber |
protected ReceiptStatus |
status |
protected java.math.BigDecimal |
subTotal |
protected java.math.BigDecimal |
total |
protected java.math.BigDecimal |
totalTax |
protected java.util.Date |
updatedDateUTC |
protected java.lang.String |
url |
protected User |
user |
protected ArrayOfValidationError |
validationErrors |
protected EntityValidationStatus |
validationStatus |
protected ArrayOfWarning |
warnings |
| Constructor and Description |
|---|
Receipt() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attachment> |
getAttachments() |
Contact |
getContact()
Gets the value of the contact property.
|
java.util.Date |
getDate()
Gets the value of the date property.
|
java.lang.String |
getExternalLinkProviderName()
Gets the value of the externalLinkProviderName property.
|
java.util.List<java.lang.String> |
getLineAmountTypes()
Gets the value of the lineAmountTypes property.
|
java.util.List<LineItem> |
getLineItems() |
java.lang.String |
getReceiptID()
Gets the value of the receiptID property.
|
java.math.BigInteger |
getReceiptNumber()
Gets the value of the receiptNumber property.
|
ReceiptStatus |
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 |
getTotalTax()
Gets the value of the totalTax property.
|
java.util.Date |
getUpdatedDateUTC()
Gets the value of the updatedDateUTC property.
|
java.lang.String |
getUrl()
Gets the value of the url property.
|
User |
getUser()
Gets the value of the user 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.
|
void |
setAttachments(ArrayOfAttachment value)
Sets the value of the attachments property.
|
void |
setContact(Contact value)
Sets the value of the contact property.
|
void |
setDate(java.util.Date value)
Sets the value of the date property.
|
void |
setExternalLinkProviderName(java.lang.String value)
Sets the value of the externalLinkProviderName property.
|
void |
setHasAttachments(java.lang.Boolean value)
Sets the value of the hasAttachments property.
|
void |
setLineItems(ArrayOfLineItem value)
Sets the value of the lineItems property.
|
void |
setReceiptID(java.lang.String value)
Sets the value of the receiptID property.
|
void |
setReceiptNumber(java.math.BigInteger value)
Sets the value of the receiptNumber property.
|
void |
setStatus(ReceiptStatus 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 |
setTotalTax(java.math.BigDecimal value)
Sets the value of the totalTax 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 |
setUser(User value)
Sets the value of the user 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 java.lang.String receiptID
protected java.math.BigInteger receiptNumber
protected ReceiptStatus status
protected java.lang.String url
protected java.lang.String externalLinkProviderName
protected User user
protected Contact contact
protected java.util.Date date
protected java.util.Date updatedDateUTC
protected java.util.List<java.lang.String> lineAmountTypes
protected ArrayOfLineItem lineItems
protected java.math.BigDecimal subTotal
protected java.math.BigDecimal totalTax
protected java.math.BigDecimal total
protected java.lang.Boolean hasAttachments
protected ArrayOfAttachment attachments
protected EntityValidationStatus validationStatus
public void setValidationErrors(ArrayOfValidationError value)
value - allowed object is
ArrayOfValidationErrorpublic void setWarnings(ArrayOfWarning value)
value - allowed object is
ArrayOfWarningpublic java.lang.String getReceiptID()
Stringpublic void setReceiptID(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getReceiptNumber()
BigIntegerpublic void setReceiptNumber(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic ReceiptStatus getStatus()
ReceiptStatuspublic void setStatus(ReceiptStatus value)
value - allowed object is
ReceiptStatuspublic 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 void setUser(User value)
value - allowed object is
Userpublic 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 getUpdatedDateUTC()
Stringpublic void setUpdatedDateUTC(java.util.Date value)
value - allowed object is
Stringpublic 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 void setLineItems(ArrayOfLineItem value)
value - allowed object is
ArrayOfLineItempublic 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.lang.Boolean isHasAttachments()
Booleanpublic void setHasAttachments(java.lang.Boolean value)
value - allowed object is
Booleanpublic void setAttachments(ArrayOfAttachment value)
value - allowed object is
ArrayOfAttachmentpublic 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<Attachment> getAttachments()