public class BatchPayment extends Object
| Constructor and Description |
|---|
BatchPayment() |
| Modifier and Type | Method and Description |
|---|---|
BatchPayment |
account(Object account) |
BatchPayment |
addPaymentsItem(Payment paymentsItem) |
BatchPayment |
amount(Float amount) |
BatchPayment |
code(String code) |
BatchPayment |
date(String date) |
BatchPayment |
dateString(org.threeten.bp.LocalDate dateString) |
BatchPayment |
details(String details) |
boolean |
equals(Object o) |
Object |
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.
|
String |
getDate()
Date the payment is being made (YYYY-MM-DD) e.g.
|
org.threeten.bp.LocalDate |
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)
|
String |
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(Object account) |
void |
setAmount(Float amount) |
void |
setCode(String code) |
void |
setDate(String date) |
void |
setDateString(org.threeten.bp.LocalDate 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(Object account)
public Object getAccount()
public void setAccount(Object 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(org.threeten.bp.LocalDate dateString)
public org.threeten.bp.LocalDate getDateString()
public void setDateString(org.threeten.bp.LocalDate dateString)
public BatchPayment date(String date)
public String getDate()
public void setDate(String 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 String getUpdatedDateUTC()
public String getIsReconciled()
Copyright © 2018. All rights reserved.