public class Quote extends Object
| Constructor and Description |
|---|
Quote() |
| Modifier and Type | Method and Description |
|---|---|
Quote |
addLineItemsItem(LineItem lineItemsItem) |
Quote |
addValidationErrorsItem(ValidationError validationErrorsItem) |
Quote |
brandingThemeID(UUID brandingThemeID) |
Quote |
contact(Contact contact) |
Quote |
currencyCode(CurrencyCode currencyCode) |
Quote |
currencyRate(Double currencyRate) |
Quote |
date(String date) |
Quote |
dateString(String dateString) |
boolean |
equals(Object o) |
Quote |
expiryDate(String expiryDate) |
Quote |
expiryDateString(String expiryDateString) |
UUID |
getBrandingThemeID()
See BrandingThemes
|
Contact |
getContact()
Get contact
|
CurrencyCode |
getCurrencyCode()
Get currencyCode
|
Double |
getCurrencyRate()
The currency rate for a multicurrency quote
|
String |
getDate()
Date quote was issued – YYYY-MM-DD.
|
org.threeten.bp.LocalDate |
getDateAsDate() |
String |
getDateString()
Date the quote was issued (YYYY-MM-DD)
|
String |
getExpiryDate()
Date the quote expires – YYYY-MM-DD.
|
org.threeten.bp.LocalDate |
getExpiryDateAsDate() |
String |
getExpiryDateString()
Date the quote expires – YYYY-MM-DD.
|
QuoteLineAmountTypes |
getLineAmountTypes()
Get lineAmountTypes
|
List<LineItem> |
getLineItems()
See LineItems
|
UUID |
getQuoteID()
QuoteID GUID is automatically generated and is returned after create or GET.
|
String |
getQuoteNumber()
Unique alpha numeric code identifying a quote (Max Length = 255)
|
String |
getReference()
Additional reference number
|
QuoteStatusCodes |
getStatus()
Get status
|
String |
getStatusAttributeString()
A string to indicate if a invoice status
|
Double |
getSubTotal()
Total of quote excluding taxes.
|
String |
getSummary()
Summary text for the quote
|
String |
getTerms()
Terms of the quote
|
String |
getTitle()
Title text for the quote
|
Double |
getTotal()
Total of Quote tax inclusive (i.e.
|
Double |
getTotalDiscount()
Total of discounts applied on the quote line items
|
Double |
getTotalTax()
Total tax on quote
|
String |
getUpdatedDateUTC()
Last modified date UTC format
|
org.threeten.bp.OffsetDateTime |
getUpdatedDateUTCAsDate() |
List<ValidationError> |
getValidationErrors()
Displays array of validation error messages from the API
|
int |
hashCode() |
Quote |
lineAmountTypes(QuoteLineAmountTypes lineAmountTypes) |
Quote |
lineItems(List<LineItem> lineItems) |
Quote |
quoteID(UUID quoteID) |
Quote |
quoteNumber(String quoteNumber) |
Quote |
reference(String reference) |
void |
setBrandingThemeID(UUID brandingThemeID) |
void |
setContact(Contact contact) |
void |
setCurrencyCode(CurrencyCode currencyCode) |
void |
setCurrencyRate(Double currencyRate) |
void |
setDate(org.threeten.bp.LocalDate date) |
void |
setDate(String date) |
void |
setDateString(String dateString) |
void |
setExpiryDate(org.threeten.bp.LocalDate expiryDate) |
void |
setExpiryDate(String expiryDate) |
void |
setExpiryDateString(String expiryDateString) |
void |
setLineAmountTypes(QuoteLineAmountTypes lineAmountTypes) |
void |
setLineItems(List<LineItem> lineItems) |
void |
setQuoteID(UUID quoteID) |
void |
setQuoteNumber(String quoteNumber) |
void |
setReference(String reference) |
void |
setStatus(QuoteStatusCodes status) |
void |
setStatusAttributeString(String statusAttributeString) |
void |
setSummary(String summary) |
void |
setTerms(String terms) |
void |
setTitle(String title) |
void |
setValidationErrors(List<ValidationError> validationErrors) |
Quote |
status(QuoteStatusCodes status) |
Quote |
statusAttributeString(String statusAttributeString) |
Quote |
summary(String summary) |
Quote |
terms(String terms) |
Quote |
title(String title) |
String |
toString() |
Quote |
validationErrors(List<ValidationError> validationErrors) |
public UUID getQuoteID()
public void setQuoteID(UUID quoteID)
public String getQuoteNumber()
public void setQuoteNumber(String quoteNumber)
public String getReference()
public void setReference(String reference)
public String getTerms()
public void setTerms(String terms)
public Contact getContact()
public void setContact(Contact contact)
public String getDate()
public org.threeten.bp.LocalDate getDateAsDate()
public void setDate(String date)
public void setDate(org.threeten.bp.LocalDate date)
public String getDateString()
public void setDateString(String dateString)
public String getExpiryDate()
public org.threeten.bp.LocalDate getExpiryDateAsDate()
public void setExpiryDate(String expiryDate)
public void setExpiryDate(org.threeten.bp.LocalDate expiryDate)
public String getExpiryDateString()
public void setExpiryDateString(String expiryDateString)
public Quote status(QuoteStatusCodes status)
public QuoteStatusCodes getStatus()
public void setStatus(QuoteStatusCodes status)
public Quote currencyCode(CurrencyCode currencyCode)
public CurrencyCode getCurrencyCode()
public void setCurrencyCode(CurrencyCode currencyCode)
public Double getCurrencyRate()
public void setCurrencyRate(Double currencyRate)
public Double getSubTotal()
public Double getTotalTax()
public Double getTotal()
public Double getTotalDiscount()
public String getTitle()
public void setTitle(String title)
public String getSummary()
public void setSummary(String summary)
public UUID getBrandingThemeID()
public void setBrandingThemeID(UUID brandingThemeID)
public String getUpdatedDateUTC()
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
public Quote lineAmountTypes(QuoteLineAmountTypes lineAmountTypes)
public QuoteLineAmountTypes getLineAmountTypes()
public void setLineAmountTypes(QuoteLineAmountTypes lineAmountTypes)
public String getStatusAttributeString()
public void setStatusAttributeString(String statusAttributeString)
public Quote validationErrors(List<ValidationError> validationErrors)
public Quote addValidationErrorsItem(ValidationError validationErrorsItem)
public List<ValidationError> getValidationErrors()
public void setValidationErrors(List<ValidationError> validationErrors)
Copyright © 2020. All rights reserved.