public class CreditNote
extends java.lang.Object
Java class for CreditNote complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CreditNote">
<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"/>
<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="SubTotal" type="{}itemPrice" minOccurs="0"/>
<element name="TotalTax" type="{}itemPrice" minOccurs="0"/>
<element name="Total" type="{}itemPrice"/>
<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="{}creditNoteType" minOccurs="0"/>
<element name="Reference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CreditNoteID" type="{}uniqueIdentifier"/>
<element name="CreditNoteNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SentToContact" type="{}trueOrFalse" minOccurs="0"/>
<element name="AppliedAmount" type="{}itemPrice" minOccurs="0"/>
<element name="CurrencyRate" type="{}currencyRate" minOccurs="0"/>
</all>
<attribute name="status" type="{}entityValidationStatus" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
appliedAmount |
protected java.lang.String |
brandingThemeID |
protected Contact |
contact |
protected java.lang.String |
creditNoteID |
protected java.lang.String |
creditNoteNumber |
protected CurrencyCode |
currencyCode |
protected java.math.BigDecimal |
currencyRate |
protected javax.xml.datatype.XMLGregorianCalendar |
date |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
dueDate |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
fullyPaidOnDate |
protected java.util.List<javax.xml.bind.JAXBElement<java.util.List<java.lang.String>>> |
lineAmountTypes |
protected ArrayOfLineItem |
lineItems |
protected java.lang.String |
reference |
protected TrueOrFalse |
sentToContact |
protected InvoiceStatus |
status |
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> |
subTotal |
protected java.math.BigDecimal |
total |
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> |
totalTax |
protected CreditNoteType |
type |
protected javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
updatedDateUTC |
protected ArrayOfValidationError |
validationErrors |
protected EntityValidationStatus |
validationStatus |
protected ArrayOfWarning |
warnings |
| Constructor and Description |
|---|
CreditNote() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAppliedAmount()
Gets the value of the appliedAmount property.
|
java.lang.String |
getBrandingThemeID()
Gets the value of the brandingThemeID property.
|
Contact |
getContact()
Gets the value of the contact property.
|
java.lang.String |
getCreditNoteID()
Gets the value of the creditNoteID property.
|
java.lang.String |
getCreditNoteNumber()
Gets the value of the creditNoteNumber property.
|
CurrencyCode |
getCurrencyCode()
Gets the value of the currencyCode property.
|
java.math.BigDecimal |
getCurrencyRate()
Gets the value of the currencyRate property.
|
javax.xml.datatype.XMLGregorianCalendar |
getDate()
Gets the value of the date property.
|
javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
getDueDate()
Gets the value of the dueDate property.
|
javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> |
getFullyPaidOnDate()
Gets the value of the fullyPaidOnDate 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.lang.String |
getReference()
Gets the value of the reference property.
|
TrueOrFalse |
getSentToContact()
Gets the value of the sentToContact 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.
|
java.math.BigDecimal |
getTotal()
Gets the value of the total property.
|
javax.xml.bind.JAXBElement<java.math.BigDecimal> |
getTotalTax()
Gets the value of the totalTax property.
|
CreditNoteType |
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.util.List<ValidationError> |
getValidationErrors() |
EntityValidationStatus |
getValidationStatus()
Gets the value of the validationStatus property.
|
java.util.List<Warning> |
getWarnings() |
void |
setAppliedAmount(java.math.BigDecimal value)
Sets the value of the appliedAmount 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 |
setCreditNoteID(java.lang.String value)
Sets the value of the creditNoteID property.
|
void |
setCreditNoteNumber(java.lang.String value)
Sets the value of the creditNoteNumber 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.datatype.XMLGregorianCalendar value)
Sets the value of the date property.
|
void |
setDueDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
Sets the value of the dueDate property.
|
void |
setFullyPaidOnDate(javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> value)
Sets the value of the fullyPaidOnDate property.
|
void |
setLineItems(ArrayOfLineItem value)
Sets the value of the lineItems property.
|
void |
setReference(java.lang.String value)
Sets the value of the reference property.
|
void |
setSentToContact(TrueOrFalse 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(java.math.BigDecimal value)
Sets the value of the total property.
|
void |
setTotalTax(javax.xml.bind.JAXBElement<java.math.BigDecimal> value)
Sets the value of the totalTax property.
|
void |
setType(CreditNoteType 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 |
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.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 javax.xml.bind.JAXBElement<java.math.BigDecimal> subTotal
protected javax.xml.bind.JAXBElement<java.math.BigDecimal> totalTax
protected 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 CreditNoteType type
protected java.lang.String reference
protected java.lang.String creditNoteID
protected java.lang.String creditNoteNumber
protected TrueOrFalse sentToContact
protected java.math.BigDecimal appliedAmount
protected java.math.BigDecimal currencyRate
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.datatype.XMLGregorianCalendar getDate()
XMLGregorianCalendarpublic void setDate(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic 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 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 java.math.BigDecimal getTotal()
BigDecimalpublic void setTotal(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic 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 CreditNoteType getType()
CreditNoteTypepublic void setType(CreditNoteType value)
value - allowed object is
CreditNoteTypepublic java.lang.String getReference()
Stringpublic void setReference(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCreditNoteID()
Stringpublic void setCreditNoteID(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCreditNoteNumber()
Stringpublic void setCreditNoteNumber(java.lang.String value)
value - allowed object is
Stringpublic TrueOrFalse getSentToContact()
TrueOrFalsepublic void setSentToContact(TrueOrFalse value)
value - allowed object is
TrueOrFalsepublic java.math.BigDecimal getAppliedAmount()
BigDecimalpublic void setAppliedAmount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getCurrencyRate()
BigDecimalpublic void setCurrencyRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic 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()