public class BatchPayment extends Object
| Constructor and Description |
|---|
BatchPayment() |
| Modifier and Type | Method and Description |
|---|---|
BatchPayment |
account(Account account) |
BatchPayment |
addPaymentsItem(Payment paymentsItem) |
BatchPayment |
amount(Float amount) |
BatchPayment |
code(String code) |
BatchPayment |
date(org.threeten.bp.LocalDate date) |
BatchPayment |
dateString(String dateString) |
BatchPayment |
details(String details) |
boolean |
equals(Object o) |
Account |
getAccount()
Get account
|
Float |
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.
|
org.threeten.bp.LocalDate |
getDate()
Date the payment is being made (YYYY-MM-DD) e.g.
|
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.
|
String |
getStatus()
AUTHORISED or DELETED (read-only).
|
String |
getTotalAmount()
The total of the payments that make up the batch (read-only)
|
String |
getType()
PAYBATCH for bill payments or RECBATCH for sales invoice payments (read-only)
|
org.threeten.bp.OffsetDateTime |
getUpdatedDateUTC()
UTC timestamp of last update to the payment
|
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(Float amount) |
void |
setCode(String code) |
void |
setDate(org.threeten.bp.LocalDate 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(org.threeten.bp.LocalDate date)
public org.threeten.bp.LocalDate getDate()
public void setDate(org.threeten.bp.LocalDate date)
public BatchPayment amount(Float amount)
public Float getAmount()
public void setAmount(Float amount)
public BatchPayment payments(List<Payment> payments)
public BatchPayment addPaymentsItem(Payment paymentsItem)
public String getType()
public String getStatus()
public String getTotalAmount()
public org.threeten.bp.OffsetDateTime getUpdatedDateUTC()
public String getIsReconciled()
Copyright © 2018. All rights reserved.