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 Details

    • BatchPaymentDetails

      public BatchPaymentDetails()
  • Method Details

    • bankAccountNumber

      public BatchPaymentDetails bankAccountNumber​(String bankAccountNumber)
    • getBankAccountNumber

      public String getBankAccountNumber()
      Bank account number for use with Batch Payments
      Returns:
      bankAccountNumber
    • setBankAccountNumber

      public void setBankAccountNumber​(String bankAccountNumber)
    • bankAccountName

      public BatchPaymentDetails bankAccountName​(String bankAccountName)
    • getBankAccountName

      public String getBankAccountName()
      Name of bank for use with Batch Payments
      Returns:
      bankAccountName
    • setBankAccountName

      public void setBankAccountName​(String bankAccountName)
    • details

      public BatchPaymentDetails details​(String details)
    • getDetails

      public String 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

      public void setDetails​(String details)
    • code

      public BatchPaymentDetails code​(String code)
    • getCode

      public String 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

      public void setCode​(String code)
    • reference

      public BatchPaymentDetails reference​(String reference)
    • getReference

      public String 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

      public void setReference​(String reference)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object