public class BatchPayment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchPayment.StatusEnum
AUTHORISED or DELETED (read-only).
|
static class |
BatchPayment.TypeEnum
PAYBATCH for bill payments or RECBATCH for sales invoice payments (read-only)
|
| Constructor and Description |
|---|
BatchPayment() |
| Modifier and Type | Method and Description |
|---|---|
BatchPayment |
account(Account account) |
BatchPayment |
addPaymentsItem(Payment paymentsItem) |
BatchPayment |
amount(Double amount) |
BatchPayment |
code(String code) |
BatchPayment |
date(String date) |
BatchPayment |
dateString(String dateString) |
BatchPayment |
details(String details) |
boolean |
equals(Object o) |
Account |
getAccount()
Get account
|
Double |
getAmount()
The amount of the payment.
|
UUID |
getBatchPaymentID()
The Xero generated unique identifier for the bank transaction (read-only)
|
String |
getCode()
(NZ Only) Optional references for the batch payment transaction.
|
String |
getDate()
Date the payment is being made (YYYY-MM-DD) e.g.
|
org.threeten.bp.LocalDate |
getDateAsDate() |
String |
getDateString()
Date the payment is being made (YYYY-MM-DD) e.g.
|
String |
getDetails()
(Non-NZ Only) These details are sent to the org’s bank as a reference for the batch payment transaction.
|
String |
getIsReconciled()
Booelan that tells you if the batch payment has been reconciled (read-only)
|
String |
getNarrative()
(UK Only) Only shows on the statement line in Xero.
|
String |
getParticulars()
(NZ Only) Optional references for the batch payment transaction.
|
List<Payment> |
getPayments()
Get payments
|
String |
getReference()
(NZ Only) Optional references for the batch payment transaction.
|
BatchPayment.StatusEnum |
getStatus()
AUTHORISED or DELETED (read-only).
|
String |
getTotalAmount()
The total of the payments that make up the batch (read-only)
|
BatchPayment.TypeEnum |
getType()
PAYBATCH for bill payments or RECBATCH for sales invoice payments (read-only)
|
String |
getUpdatedDateUTC()
UTC timestamp of last update to the payment
|
org.threeten.bp.OffsetDateTime |
getUpdatedDateUTCAsDate() |
int |
hashCode() |
BatchPayment |
narrative(String narrative) |
BatchPayment |
particulars(String particulars) |
BatchPayment |
payments(List<Payment> payments) |
BatchPayment |
reference(String reference) |
void |
setAccount(Account account) |
void |
setAmount(Double amount) |
void |
setCode(String code) |
void |
setDate(org.threeten.bp.LocalDate date) |
void |
setDate(String date) |
void |
setDateString(String dateString) |
void |
setDetails(String details) |
void |
setNarrative(String narrative) |
void |
setParticulars(String particulars) |
void |
setPayments(List<Payment> payments) |
void |
setReference(String reference) |
String |
toString() |
public BatchPayment account(Account account)
public Account getAccount()
public void setAccount(Account account)
public BatchPayment reference(String reference)
public String getReference()
public void setReference(String reference)
public BatchPayment particulars(String particulars)
public String getParticulars()
public void setParticulars(String particulars)
public BatchPayment code(String code)
public String getCode()
public void setCode(String code)
public BatchPayment details(String details)
public String getDetails()
public void setDetails(String details)
public BatchPayment narrative(String narrative)
public String getNarrative()
public void setNarrative(String narrative)
public UUID getBatchPaymentID()
public BatchPayment dateString(String dateString)
public String getDateString()
public void setDateString(String dateString)
public BatchPayment date(String date)
public String getDate()
public org.threeten.bp.LocalDate getDateAsDate()
public void setDate(String date)
public void setDate(org.threeten.bp.LocalDate date)
public BatchPayment amount(Double amount)
public Double getAmount()
public void setAmount(Double amount)
public BatchPayment payments(List<Payment> payments)
public BatchPayment addPaymentsItem(Payment paymentsItem)
public BatchPayment.TypeEnum getType()
public BatchPayment.StatusEnum getStatus()
public String getTotalAmount()
public String getUpdatedDateUTC()
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
public String getIsReconciled()
Copyright © 2020. All rights reserved.