Package com.xero.models.accounting
Class Overpayment
java.lang.Object
com.xero.models.accounting.Overpayment
public class Overpayment extends Object
Overpayment
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOverpayment.StatusEnumSee Overpayment Status Codesstatic classOverpayment.TypeEnumSee Overpayment Types -
Constructor Summary
Constructors Constructor Description Overpayment() -
Method Summary
-
Constructor Details
-
Overpayment
public Overpayment()
-
-
Method Details
-
type
-
getType
See Overpayment Types- Returns:
- type
-
setType
-
contact
-
getContact
Get contact- Returns:
- contact
-
setContact
-
date
-
getDate
The date the overpayment is created YYYY-MM-DD- Returns:
- date
-
getDateAsDate
public org.threeten.bp.LocalDate getDateAsDate() -
setDate
-
setDate
public void setDate(org.threeten.bp.LocalDate date) -
status
-
getStatus
See Overpayment Status Codes- Returns:
- status
-
setStatus
-
lineAmountTypes
-
getLineAmountTypes
Get lineAmountTypes- Returns:
- lineAmountTypes
-
setLineAmountTypes
-
lineItems
-
addLineItemsItem
-
getLineItems
See Overpayment Line Items- Returns:
- lineItems
-
setLineItems
-
subTotal
-
getSubTotal
The subtotal of the overpayment excluding taxes- Returns:
- subTotal
-
setSubTotal
-
totalTax
-
getTotalTax
The total tax on the overpayment- Returns:
- totalTax
-
setTotalTax
-
total
-
getTotal
The total of the overpayment (subtotal + total tax)- Returns:
- total
-
setTotal
-
getUpdatedDateUTC
UTC timestamp of last update to the overpayment- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
currencyCode
-
getCurrencyCode
Get currencyCode- Returns:
- currencyCode
-
setCurrencyCode
-
overpaymentID
-
getOverpaymentID
Xero generated unique identifier- Returns:
- overpaymentID
-
setOverpaymentID
-
currencyRate
-
getCurrencyRate
The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used- Returns:
- currencyRate
-
setCurrencyRate
-
remainingCredit
-
getRemainingCredit
The remaining credit balance on the overpayment- Returns:
- remainingCredit
-
setRemainingCredit
-
allocations
-
addAllocationsItem
-
getAllocations
See Allocations- Returns:
- allocations
-
setAllocations
-
appliedAmount
-
getAppliedAmount
The amount of applied to an invoice- Returns:
- appliedAmount
-
setAppliedAmount
-
payments
-
addPaymentsItem
-
getPayments
See Payments- Returns:
- payments
-
setPayments
-
getHasAttachments
boolean to indicate if a overpayment has an attachment- Returns:
- hasAttachments
-
attachments
-
addAttachmentsItem
-
getAttachments
See Attachments- Returns:
- attachments
-
setAttachments
-
equals
-
hashCode
public int hashCode() -
toString
-