Package com.xero.models.accounting
Class RepeatingInvoice
java.lang.Object
com.xero.models.accounting.RepeatingInvoice
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOne of the following - DRAFT or AUTHORISED – See Invoice Status Codesstatic enumSee Invoice Types -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachmentsItem(Attachment attachmentsItem) Displays array of attachments from the APIaddLineItemsItem(LineItem lineItemsItem) See LineItemsapprovedForSending(Boolean approvedForSending) Boolean to indicate whether the invoice has been approved for sendingattachments(List<Attachment> attachments) Displays array of attachments from the APIbrandingThemeID(UUID brandingThemeID) See BrandingThemescontactcurrencyCode(CurrencyCode currencyCode) currencyCodebooleanBoolean to indicate whether the invoice has been approved for sendingDisplays array of attachments from the APISee BrandingThemesGet contactGet currencyCodeBoolean to indicate if an invoice has an attachmentgetID()Xero generated unique identifier for repeating invoice templateBoolean to indicate whether to include PDF attachmentGet lineAmountTypesSee LineItemsBoolean to indicate whether the invoice in the Xero app displays as \"sent\"ACCREC only – additional reference numberXero generated unique identifier for repeating invoice templateGet scheduleBoolean to indicate whether a copy is sent to sender's emailOne of the following - DRAFT or AUTHORISED – See Invoice Status CodesTotal of invoice excluding taxesgetTotal()Total of Invoice tax inclusive (i.e.Total tax on invoicegetType()See Invoice TypesinthashCode()Xero generated unique identifier for repeating invoice templateincludePDF(Boolean includePDF) Boolean to indicate whether to include PDF attachmentlineAmountTypes(LineAmountTypes lineAmountTypes) lineAmountTypesSee LineItemsmarkAsSent(Boolean markAsSent) Boolean to indicate whether the invoice in the Xero app displays as \"sent\"ACCREC only – additional reference numberrepeatingInvoiceID(UUID repeatingInvoiceID) Xero generated unique identifier for repeating invoice templatescheduleBoolean to indicate whether a copy is sent to sender's emailvoidsetApprovedForSending(Boolean approvedForSending) Boolean to indicate whether the invoice has been approved for sendingvoidsetAttachments(List<Attachment> attachments) Displays array of attachments from the APIvoidsetBrandingThemeID(UUID brandingThemeID) See BrandingThemesvoidsetContact(Contact contact) contactvoidsetCurrencyCode(CurrencyCode currencyCode) currencyCodevoidXero generated unique identifier for repeating invoice templatevoidsetIncludePDF(Boolean includePDF) Boolean to indicate whether to include PDF attachmentvoidsetLineAmountTypes(LineAmountTypes lineAmountTypes) lineAmountTypesvoidsetLineItems(List<LineItem> lineItems) See LineItemsvoidsetMarkAsSent(Boolean markAsSent) Boolean to indicate whether the invoice in the Xero app displays as \"sent\"voidsetReference(String reference) ACCREC only – additional reference numbervoidsetRepeatingInvoiceID(UUID repeatingInvoiceID) Xero generated unique identifier for repeating invoice templatevoidsetSchedule(Schedule schedule) schedulevoidsetSendCopy(Boolean sendCopy) Boolean to indicate whether a copy is sent to sender's emailvoidsetStatus(RepeatingInvoice.StatusEnum status) One of the following - DRAFT or AUTHORISED – See Invoice Status CodesvoidsetSubTotal(Double subTotal) Total of invoice excluding taxesvoidTotal of Invoice tax inclusive (i.e.voidsetTotalTax(Double totalTax) Total tax on invoicevoidSee Invoice Typesstatus(RepeatingInvoice.StatusEnum status) One of the following - DRAFT or AUTHORISED – See Invoice Status CodesTotal of invoice excluding taxestoString()Total of Invoice tax inclusive (i.e.Total tax on invoiceSee Invoice Types
-
Constructor Details
-
RepeatingInvoice
public RepeatingInvoice()
-
-
Method Details
-
type
See Invoice Types- Parameters:
type- TypeEnum- Returns:
- RepeatingInvoice
-
getType
-
setType
-
contact
contact- Parameters:
contact- Contact- Returns:
- RepeatingInvoice
-
getContact
-
setContact
-
schedule
schedule- Parameters:
schedule- Schedule- Returns:
- RepeatingInvoice
-
getSchedule
-
setSchedule
-
lineItems
See LineItems- Parameters:
lineItems- List<LineItem>- Returns:
- RepeatingInvoice
-
addLineItemsItem
See LineItems- Parameters:
lineItemsItem- LineItem- Returns:
- RepeatingInvoice
-
getLineItems
-
setLineItems
-
lineAmountTypes
lineAmountTypes- Parameters:
lineAmountTypes- LineAmountTypes- Returns:
- RepeatingInvoice
-
getLineAmountTypes
-
setLineAmountTypes
lineAmountTypes- Parameters:
lineAmountTypes- LineAmountTypes
-
reference
ACCREC only – additional reference number- Parameters:
reference- String- Returns:
- RepeatingInvoice
-
getReference
-
setReference
ACCREC only – additional reference number- Parameters:
reference- String
-
brandingThemeID
See BrandingThemes- Parameters:
brandingThemeID- UUID- Returns:
- RepeatingInvoice
-
getBrandingThemeID
-
setBrandingThemeID
See BrandingThemes- Parameters:
brandingThemeID- UUID
-
currencyCode
currencyCode- Parameters:
currencyCode- CurrencyCode- Returns:
- RepeatingInvoice
-
getCurrencyCode
-
setCurrencyCode
currencyCode- Parameters:
currencyCode- CurrencyCode
-
status
One of the following - DRAFT or AUTHORISED – See Invoice Status Codes- Parameters:
status- StatusEnum- Returns:
- RepeatingInvoice
-
getStatus
One of the following - DRAFT or AUTHORISED – See Invoice Status Codes- Returns:
- status
-
setStatus
One of the following - DRAFT or AUTHORISED – See Invoice Status Codes- Parameters:
status- StatusEnum
-
subTotal
Total of invoice excluding taxes- Parameters:
subTotal- Double- Returns:
- RepeatingInvoice
-
getSubTotal
-
setSubTotal
Total of invoice excluding taxes- Parameters:
subTotal- Double
-
totalTax
Total tax on invoice- Parameters:
totalTax- Double- Returns:
- RepeatingInvoice
-
getTotalTax
-
setTotalTax
-
total
Total of Invoice tax inclusive (i.e. SubTotal + TotalTax)- Parameters:
total- Double- Returns:
- RepeatingInvoice
-
getTotal
-
setTotal
Total of Invoice tax inclusive (i.e. SubTotal + TotalTax)- Parameters:
total- Double
-
repeatingInvoiceID
Xero generated unique identifier for repeating invoice template- Parameters:
repeatingInvoiceID- UUID- Returns:
- RepeatingInvoice
-
getRepeatingInvoiceID
Xero generated unique identifier for repeating invoice template- Returns:
- repeatingInvoiceID
-
setRepeatingInvoiceID
Xero generated unique identifier for repeating invoice template- Parameters:
repeatingInvoiceID- UUID
-
ID
Xero generated unique identifier for repeating invoice template- Parameters:
ID- UUID- Returns:
- RepeatingInvoice
-
getID
-
setID
Xero generated unique identifier for repeating invoice template- Parameters:
ID- UUID
-
getHasAttachments
Boolean to indicate if an invoice has an attachment- Returns:
- hasAttachments
-
attachments
Displays array of attachments from the API- Parameters:
attachments- List<Attachment>- Returns:
- RepeatingInvoice
-
addAttachmentsItem
Displays array of attachments from the API- Parameters:
attachmentsItem- Attachment- Returns:
- RepeatingInvoice
-
getAttachments
Displays array of attachments from the API- Returns:
- attachments
-
setAttachments
Displays array of attachments from the API- Parameters:
attachments- List<Attachment>
-
approvedForSending
Boolean to indicate whether the invoice has been approved for sending- Parameters:
approvedForSending- Boolean- Returns:
- RepeatingInvoice
-
getApprovedForSending
Boolean to indicate whether the invoice has been approved for sending- Returns:
- approvedForSending
-
setApprovedForSending
Boolean to indicate whether the invoice has been approved for sending- Parameters:
approvedForSending- Boolean
-
sendCopy
Boolean to indicate whether a copy is sent to sender's email- Parameters:
sendCopy- Boolean- Returns:
- RepeatingInvoice
-
getSendCopy
Boolean to indicate whether a copy is sent to sender's email- Returns:
- sendCopy
-
setSendCopy
Boolean to indicate whether a copy is sent to sender's email- Parameters:
sendCopy- Boolean
-
markAsSent
Boolean to indicate whether the invoice in the Xero app displays as \"sent\"- Parameters:
markAsSent- Boolean- Returns:
- RepeatingInvoice
-
getMarkAsSent
Boolean to indicate whether the invoice in the Xero app displays as \"sent\"- Returns:
- markAsSent
-
setMarkAsSent
Boolean to indicate whether the invoice in the Xero app displays as \"sent\"- Parameters:
markAsSent- Boolean
-
includePDF
Boolean to indicate whether to include PDF attachment- Parameters:
includePDF- Boolean- Returns:
- RepeatingInvoice
-
getIncludePDF
Boolean to indicate whether to include PDF attachment- Returns:
- includePDF
-
setIncludePDF
Boolean to indicate whether to include PDF attachment- Parameters:
includePDF- Boolean
-
equals
-
hashCode
-
toString
-