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 |
addLineItemsItem(LineItem lineItemsItem) |
Overpayment |
addPaymentsItem(Payment paymentsItem) |
Overpayment |
allocations(List<Allocation> allocations) |
Overpayment |
contact(Contact contact) |
Overpayment |
currencyCode(CurrencyCode currencyCode) |
Overpayment |
currencyRate(Float currencyRate) |
Overpayment |
date(org.threeten.bp.LocalDate date) |
boolean |
equals(Object o) |
List<Allocation> |
getAllocations()
See Allocations
|
Contact |
getContact()
Get contact
|
CurrencyCode |
getCurrencyCode()
Get currencyCode
|
Float |
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
|
String |
getRemainingCredit()
The remaining credit balance on the overpayment
|
Overpayment.StatusEnum |
getStatus()
See Overpayment Status Codes
|
Float |
getSubTotal()
The subtotal of the overpayment excluding taxes
|
Float |
getTotal()
The total of the overpayment (subtotal + total tax)
|
Float |
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(String remainingCredit) |
void |
setAllocations(List<Allocation> allocations) |
void |
setContact(Contact contact) |
void |
setCurrencyCode(CurrencyCode currencyCode) |
void |
setCurrencyRate(Float 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(String remainingCredit) |
void |
setStatus(Overpayment.StatusEnum status) |
void |
setSubTotal(Float subTotal) |
void |
setTotal(Float total) |
void |
setTotalTax(Float totalTax) |
void |
setType(Overpayment.TypeEnum type) |
void |
setUpdatedDateUTC(org.threeten.bp.OffsetDateTime updatedDateUTC) |
Overpayment |
status(Overpayment.StatusEnum status) |
Overpayment |
subTotal(Float subTotal) |
String |
toString() |
Overpayment |
total(Float total) |
Overpayment |
totalTax(Float 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(Float subTotal)
public Float getSubTotal()
public void setSubTotal(Float subTotal)
public Overpayment totalTax(Float totalTax)
public Float getTotalTax()
public void setTotalTax(Float totalTax)
public Overpayment total(Float total)
public Float getTotal()
public void setTotal(Float 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(Float currencyRate)
public Float getCurrencyRate()
public void setCurrencyRate(Float currencyRate)
public Overpayment remainingCredit(String remainingCredit)
public String getRemainingCredit()
public void setRemainingCredit(String 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)
Copyright © 2018. All rights reserved.