public class CustomerSearchResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
CustomerSearchResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addCustomer(Customer value)
Adds a the customer results matching the search query.
|
Collection<Customer> |
getCustomers()
Gets the customer results matching the search query.
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
void |
setCustomers(Collection<Customer> value)
Sets the customer results matching the search query.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
public void setSuccess(boolean value)
value
- whether or not the request succeeded.public boolean isSuccess()
isSuccess
in interface IAbstractAcknowledgement
public void setError(String value)
value
- the error, if an error occurred.public String getError()
getError
in interface IAbstractAcknowledgement
public void setResponseDescription(String value)
value
- a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription
in interface IAbstractAcknowledgement
public void setCustomers(Collection<Customer> value)
value
- the customer results matching the search query.public Collection<Customer> getCustomers()
public void addCustomer(Customer value)
value
- the customer results matching the search query.Copyright © 2022 BlockChyp, Inc.. All rights reserved.