public class Overpayment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Overpayment.StatusEnum
See Overpayment Status Codes
|
| 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(Object contact) |
Overpayment |
currencyCode(String currencyCode) |
Overpayment |
currencyRate(Float currencyRate) |
Overpayment |
date(String date) |
boolean |
equals(Object o) |
List<Allocation> |
getAllocations()
See Allocations
|
Object |
getContact()
Get contact
|
String |
getCurrencyCode()
Currency used for the overpayment
|
Float |
getCurrencyRate()
The currency rate for a multicurrency overpayment.
|
String |
getDate()
The date the overpayment is created YYYY-MM-DD
|
Boolean |
getHasAttachments()
boolean to indicate if a overpayment has an attachment
|
String |
getLineAmountTypes()
See Overpayment Line Amount Types
|
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
|
String |
getType()
See Overpayment Types
|
String |
getUpdatedDateUTC()
UTC timestamp of last update to the overpayment
|
Overpayment |
hasAttachments(Boolean hasAttachments) |
int |
hashCode() |
Overpayment |
lineAmountTypes(String 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(Object contact) |
void |
setCurrencyCode(String currencyCode) |
void |
setCurrencyRate(Float currencyRate) |
void |
setDate(String date) |
void |
setHasAttachments(Boolean hasAttachments) |
void |
setLineAmountTypes(String 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(String type) |
void |
setUpdatedDateUTC(String updatedDateUTC) |
Overpayment |
status(Overpayment.StatusEnum status) |
Overpayment |
subTotal(Float subTotal) |
String |
toString() |
Overpayment |
total(Float total) |
Overpayment |
totalTax(Float totalTax) |
Overpayment |
type(String type) |
Overpayment |
updatedDateUTC(String updatedDateUTC) |
public Overpayment type(String type)
public String getType()
public void setType(String type)
public Overpayment contact(Object contact)
public Object getContact()
public void setContact(Object contact)
public Overpayment date(String date)
public String getDate()
public void setDate(String date)
public Overpayment status(Overpayment.StatusEnum status)
public Overpayment.StatusEnum getStatus()
public void setStatus(Overpayment.StatusEnum status)
public Overpayment lineAmountTypes(String lineAmountTypes)
public String getLineAmountTypes()
public void setLineAmountTypes(String 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(String updatedDateUTC)
public String getUpdatedDateUTC()
public void setUpdatedDateUTC(String updatedDateUTC)
public Overpayment currencyCode(String currencyCode)
public String getCurrencyCode()
public void setCurrencyCode(String 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.