public class Overpayment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Overpayment.StatusEnum
See Overpayment Status Codes
|
static class |
Overpayment.TypeEnum
See Overpayment Types
|
| Constructor and Description |
|---|
Overpayment() |
| Modifier and Type | Method and Description |
|---|---|
Overpayment |
addAllocationsItem(Allocation allocationsItem) |
Overpayment |
addAttachmentsItem(Attachment attachmentsItem) |
Overpayment |
addLineItemsItem(LineItem lineItemsItem) |
Overpayment |
addPaymentsItem(Payment paymentsItem) |
Overpayment |
allocations(List<Allocation> allocations) |
Overpayment |
attachments(List<Attachment> attachments) |
Overpayment |
contact(Contact contact) |
Overpayment |
currencyCode(CurrencyCode currencyCode) |
Overpayment |
currencyRate(Double currencyRate) |
Overpayment |
date(org.threeten.bp.LocalDate date) |
boolean |
equals(Object o) |
List<Allocation> |
getAllocations()
See Allocations
|
List<Attachment> |
getAttachments()
See Attachments
|
Contact |
getContact()
Get contact
|
CurrencyCode |
getCurrencyCode()
Get currencyCode
|
Double |
getCurrencyRate()
The currency rate for a multicurrency overpayment.
|
org.threeten.bp.LocalDate |
getDate()
The date the overpayment is created YYYY-MM-DD
|
Boolean |
getHasAttachments()
boolean to indicate if a overpayment has an attachment
|
LineAmountTypes |
getLineAmountTypes()
Get lineAmountTypes
|
List<LineItem> |
getLineItems()
See Overpayment Line Items
|
UUID |
getOverpaymentID()
Xero generated unique identifier
|
List<Payment> |
getPayments()
See Payments
|
Double |
getRemainingCredit()
The remaining credit balance on the overpayment
|
Overpayment.StatusEnum |
getStatus()
See Overpayment Status Codes
|
Double |
getSubTotal()
The subtotal of the overpayment excluding taxes
|
Double |
getTotal()
The total of the overpayment (subtotal + total tax)
|
Double |
getTotalTax()
The total tax on the overpayment
|
Overpayment.TypeEnum |
getType()
See Overpayment Types
|
org.threeten.bp.OffsetDateTime |
getUpdatedDateUTC()
UTC timestamp of last update to the overpayment
|
Overpayment |
hasAttachments(Boolean hasAttachments) |
int |
hashCode() |
Overpayment |
lineAmountTypes(LineAmountTypes lineAmountTypes) |
Overpayment |
lineItems(List<LineItem> lineItems) |
Overpayment |
overpaymentID(UUID overpaymentID) |
Overpayment |
payments(List<Payment> payments) |
Overpayment |
remainingCredit(Double remainingCredit) |
void |
setAllocations(List<Allocation> allocations) |
void |
setAttachments(List<Attachment> attachments) |
void |
setContact(Contact contact) |
void |
setCurrencyCode(CurrencyCode currencyCode) |
void |
setCurrencyRate(Double currencyRate) |
void |
setDate(org.threeten.bp.LocalDate date) |
void |
setHasAttachments(Boolean hasAttachments) |
void |
setLineAmountTypes(LineAmountTypes lineAmountTypes) |
void |
setLineItems(List<LineItem> lineItems) |
void |
setOverpaymentID(UUID overpaymentID) |
void |
setPayments(List<Payment> payments) |
void |
setRemainingCredit(Double remainingCredit) |
void |
setStatus(Overpayment.StatusEnum status) |
void |
setSubTotal(Double subTotal) |
void |
setTotal(Double total) |
void |
setTotalTax(Double totalTax) |
void |
setType(Overpayment.TypeEnum type) |
void |
setUpdatedDateUTC(org.threeten.bp.OffsetDateTime updatedDateUTC) |
Overpayment |
status(Overpayment.StatusEnum status) |
Overpayment |
subTotal(Double subTotal) |
String |
toString() |
Overpayment |
total(Double total) |
Overpayment |
totalTax(Double totalTax) |
Overpayment |
type(Overpayment.TypeEnum type) |
Overpayment |
updatedDateUTC(org.threeten.bp.OffsetDateTime updatedDateUTC) |
public Overpayment type(Overpayment.TypeEnum type)
public Overpayment.TypeEnum getType()
public void setType(Overpayment.TypeEnum type)
public Overpayment contact(Contact contact)
public Contact getContact()
public void setContact(Contact contact)
public Overpayment date(org.threeten.bp.LocalDate date)
public org.threeten.bp.LocalDate getDate()
public void setDate(org.threeten.bp.LocalDate date)
public Overpayment status(Overpayment.StatusEnum status)
public Overpayment.StatusEnum getStatus()
public void setStatus(Overpayment.StatusEnum status)
public Overpayment lineAmountTypes(LineAmountTypes lineAmountTypes)
public LineAmountTypes getLineAmountTypes()
public void setLineAmountTypes(LineAmountTypes lineAmountTypes)
public Overpayment lineItems(List<LineItem> lineItems)
public Overpayment addLineItemsItem(LineItem lineItemsItem)
public Overpayment subTotal(Double subTotal)
public Double getSubTotal()
public void setSubTotal(Double subTotal)
public Overpayment totalTax(Double totalTax)
public Double getTotalTax()
public void setTotalTax(Double totalTax)
public Overpayment total(Double total)
public Double getTotal()
public void setTotal(Double total)
public Overpayment updatedDateUTC(org.threeten.bp.OffsetDateTime updatedDateUTC)
public org.threeten.bp.OffsetDateTime getUpdatedDateUTC()
public void setUpdatedDateUTC(org.threeten.bp.OffsetDateTime updatedDateUTC)
public Overpayment currencyCode(CurrencyCode currencyCode)
public CurrencyCode getCurrencyCode()
public void setCurrencyCode(CurrencyCode currencyCode)
public Overpayment overpaymentID(UUID overpaymentID)
public UUID getOverpaymentID()
public void setOverpaymentID(UUID overpaymentID)
public Overpayment currencyRate(Double currencyRate)
public Double getCurrencyRate()
public void setCurrencyRate(Double currencyRate)
public Overpayment remainingCredit(Double remainingCredit)
public Double getRemainingCredit()
public void setRemainingCredit(Double remainingCredit)
public Overpayment allocations(List<Allocation> allocations)
public Overpayment addAllocationsItem(Allocation allocationsItem)
public List<Allocation> getAllocations()
public void setAllocations(List<Allocation> allocations)
public Overpayment payments(List<Payment> payments)
public Overpayment addPaymentsItem(Payment paymentsItem)
public Overpayment hasAttachments(Boolean hasAttachments)
public Boolean getHasAttachments()
public void setHasAttachments(Boolean hasAttachments)
public Overpayment attachments(List<Attachment> attachments)
public Overpayment addAttachmentsItem(Attachment attachmentsItem)
public List<Attachment> getAttachments()
public void setAttachments(List<Attachment> attachments)
Copyright © 2020. All rights reserved.