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 java.util.Date |
date |
protected java.util.Date |
dueDate |
protected java.util.Date |
fullyPaidOnDate |
protected java.util.List<java.lang.String> |
lineAmountTypes |
protected ArrayOfLineItem |
lineItems |
protected java.lang.String |
reference |
protected TrueOrFalse |
sentToContact |
protected InvoiceStatus |
status |
protected java.math.BigDecimal |
subTotal |
protected java.math.BigDecimal |
total |
protected java.math.BigDecimal |
totalTax |
protected CreditNoteType |
type |
protected java.util.Date |
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.
|
java.util.Date |
getDate()
Gets the value of the date property.
|
java.util.Date |
getDueDate()
Gets the value of the dueDate property.
|
java.util.Date |
getFullyPaidOnDate()
Gets the value of the fullyPaidOnDate property.
|
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.
|
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.
|
CreditNoteType |
getType()
Gets the value of the type property.
|
java.util.Date |
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(java.util.Date value)
Sets the value of the date property.
|
void |
setDueDate(java.util.Date value)
Sets the value of the dueDate property.
|
void |
setFullyPaidOnDate(java.util.Date value)
Sets the value of the fullyPaidOnDate property.
|
void |
setLineItems(java.util.List<LineItem> value) |
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(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 |
setType(CreditNoteType value)
Sets the value of the type property.
|
void |
setUpdatedDateUTC(java.util.Date value)
Sets the value of the updatedDateUTC 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.lang.String brandingThemeID
protected InvoiceStatus status
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.util.Date updatedDateUTC
protected CurrencyCode currencyCode
protected java.util.Date 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 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.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 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 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()
public void setValidationErrors(java.util.List<ValidationError> value)
public void setWarnings(java.util.List<Warning> value)
public void setLineItems(java.util.List<LineItem> value)