Package com.xero.models.accounting
Class BatchPaymentDetails
java.lang.Object
com.xero.models.accounting.BatchPaymentDetails
public class BatchPaymentDetails extends Object
Bank details for use on a batch payment stored with each contact
-
Constructor Summary
Constructors Constructor Description BatchPaymentDetails() -
Method Summary
Modifier and Type Method Description BatchPaymentDetailsbankAccountName(String bankAccountName)BatchPaymentDetailsbankAccountNumber(String bankAccountNumber)BatchPaymentDetailscode(String code)BatchPaymentDetailsdetails(String details)booleanequals(Object o)StringgetBankAccountName()Name of bank for use with Batch PaymentsStringgetBankAccountNumber()Bank account number for use with Batch PaymentsStringgetCode()(NZ Only) Optional references for the batch payment transaction.StringgetDetails()(Non-NZ Only) These details are sent to the org’s bank as a reference for the batch payment transaction.StringgetReference()(NZ Only) Optional references for the batch payment transaction.inthashCode()BatchPaymentDetailsreference(String reference)voidsetBankAccountName(String bankAccountName)voidsetBankAccountNumber(String bankAccountNumber)voidsetCode(String code)voidsetDetails(String details)voidsetReference(String reference)StringtoString()
-
Constructor Details
-
BatchPaymentDetails
public BatchPaymentDetails()
-
-
Method Details
-
bankAccountNumber
-
getBankAccountNumber
Bank account number for use with Batch Payments- Returns:
- bankAccountNumber
-
setBankAccountNumber
-
bankAccountName
-
getBankAccountName
Name of bank for use with Batch Payments- Returns:
- bankAccountName
-
setBankAccountName
-
details
-
getDetails
(Non-NZ Only) These details are sent to the org’s bank as a reference for the batch payment transaction. They will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement imported into Xero. Maximum field length = 18- Returns:
- details
-
setDetails
-
code
-
getCode
(NZ Only) Optional references for the batch payment transaction. It will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement you import into Xero.- Returns:
- code
-
setCode
-
reference
-
getReference
(NZ Only) Optional references for the batch payment transaction. It will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement you import into Xero.- Returns:
- reference
-
setReference
-
equals
-
hashCode
public int hashCode() -
toString
-