Package com.xero.models.accounting
Class ExpenseClaim
java.lang.Object
com.xero.models.accounting.ExpenseClaim
public class ExpenseClaim extends Object
ExpenseClaim
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpenseClaim.StatusEnumCurrent status of an expense claim – see status types -
Constructor Summary
Constructors Constructor Description ExpenseClaim() -
Method Summary
Modifier and Type Method Description ExpenseClaimaddPaymentsItem(Payment paymentsItem)ExpenseClaimaddReceiptsItem(Receipt receiptsItem)booleanequals(Object o)ExpenseClaimexpenseClaimID(UUID expenseClaimID)DoublegetAmountDue()The amount due to be paid for an expense claimDoublegetAmountPaid()The amount still to pay for an expense claimUUIDgetExpenseClaimID()Xero generated unique identifier for an expense claimStringgetPaymentDueDate()The date when the expense claim is due to be paid YYYY-MM-DDorg.threeten.bp.LocalDategetPaymentDueDateAsDate()List<Payment>getPayments()See PaymentsUUIDgetReceiptID()The Xero identifier for the Receipt e.g.List<Receipt>getReceipts()Get receiptsStringgetReportingDate()The date the expense claim will be reported in Xero YYYY-MM-DDorg.threeten.bp.LocalDategetReportingDateAsDate()ExpenseClaim.StatusEnumgetStatus()Current status of an expense claim – see status typesDoublegetTotal()The total of an expense claim being paidStringgetUpdatedDateUTC()Last modified date UTC formatorg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()UsergetUser()Get userinthashCode()ExpenseClaimpayments(List<Payment> payments)ExpenseClaimreceiptID(UUID receiptID)ExpenseClaimreceipts(List<Receipt> receipts)voidsetExpenseClaimID(UUID expenseClaimID)voidsetPayments(List<Payment> payments)voidsetReceiptID(UUID receiptID)voidsetReceipts(List<Receipt> receipts)voidsetStatus(ExpenseClaim.StatusEnum status)voidsetUser(User user)ExpenseClaimstatus(ExpenseClaim.StatusEnum status)StringtoString()ExpenseClaimuser(User user)
-
Constructor Details
-
ExpenseClaim
public ExpenseClaim()
-
-
Method Details
-
expenseClaimID
-
getExpenseClaimID
Xero generated unique identifier for an expense claim- Returns:
- expenseClaimID
-
setExpenseClaimID
-
status
-
getStatus
Current status of an expense claim – see status types- Returns:
- status
-
setStatus
-
payments
-
addPaymentsItem
-
getPayments
See Payments- Returns:
- payments
-
setPayments
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
receipts
-
addReceiptsItem
-
getReceipts
Get receipts- Returns:
- receipts
-
setReceipts
-
getUpdatedDateUTC
Last modified date UTC format- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
getTotal
The total of an expense claim being paid- Returns:
- total
-
getAmountDue
The amount due to be paid for an expense claim- Returns:
- amountDue
-
getAmountPaid
The amount still to pay for an expense claim- Returns:
- amountPaid
-
getPaymentDueDate
The date when the expense claim is due to be paid YYYY-MM-DD- Returns:
- paymentDueDate
-
getPaymentDueDateAsDate
public org.threeten.bp.LocalDate getPaymentDueDateAsDate() -
getReportingDate
The date the expense claim will be reported in Xero YYYY-MM-DD- Returns:
- reportingDate
-
getReportingDateAsDate
public org.threeten.bp.LocalDate getReportingDateAsDate() -
receiptID
-
getReceiptID
The Xero identifier for the Receipt e.g. e59a2c7f-1306-4078-a0f3-73537afcbba9- Returns:
- receiptID
-
setReceiptID
-
equals
-
hashCode
public int hashCode() -
toString
-