Package com.blockchyp.client.dto
Class CustomerSearchResponse
java.lang.Object
com.blockchyp.client.dto.CustomerSearchResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models customer search results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomer(Customer value) Adds a the customer results matching the search query.Gets the customer results matching the search query.getError()Gets the error, if an error occurred.Gets a narrative description of the transaction result.booleanGets whether or not the request succeeded.voidsetCustomers(Collection<Customer> value) Sets the customer results matching the search query.voidSets the error, if an error occurred.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSuccess(boolean value) Sets whether or not the request succeeded.
-
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:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setCustomers
Sets the customer results matching the search query.- Parameters:
value- the customer results matching the search query.
-
getCustomers
Gets the customer results matching the search query.- Returns:
- the customer results matching the search query.
-
addCustomer
Adds a the customer results matching the search query.- Parameters:
value- the customer results matching the search query.
-