Class CustomerSearchResponse

java.lang.Object
com.blockchyp.client.dto.CustomerSearchResponse
All Implemented Interfaces:
IAbstractAcknowledgement

public class CustomerSearchResponse extends Object implements IAbstractAcknowledgement
Models customer search results.
  • Constructor Details

    • CustomerSearchResponse

      public CustomerSearchResponse()
  • Method Details

    • setSuccess

      public void setSuccess(boolean value)
      Sets whether or not the request succeeded.
      Parameters:
      value - whether or not the request succeeded.
    • isSuccess

      public boolean isSuccess()
      Gets whether or not the request succeeded.
      Specified by:
      isSuccess in interface IAbstractAcknowledgement
      Returns:
      whether or not the request succeeded.
    • setError

      public void setError(String value)
      Sets the error, if an error occurred.
      Parameters:
      value - the error, if an error occurred.
    • getError

      public String getError()
      Gets the error, if an error occurred.
      Specified by:
      getError in interface IAbstractAcknowledgement
      Returns:
      the error, if an error occurred.
    • setResponseDescription

      public void setResponseDescription(String value)
      Sets a narrative description of the transaction result.
      Parameters:
      value - a narrative description of the transaction result.
    • getResponseDescription

      public String getResponseDescription()
      Gets a narrative description of the transaction result.
      Specified by:
      getResponseDescription in interface IAbstractAcknowledgement
      Returns:
      a narrative description of the transaction result.
    • setCustomers

      public void setCustomers(Collection<Customer> value)
      Sets the customer results matching the search query.
      Parameters:
      value - the customer results matching the search query.
    • getCustomers

      public Collection<Customer> getCustomers()
      Gets the customer results matching the search query.
      Returns:
      the customer results matching the search query.
    • addCustomer

      public void addCustomer(Customer value)
      Adds a the customer results matching the search query.
      Parameters:
      value - the customer results matching the search query.