Package com.blockchyp.client.dto
Class MerchantUsersResponse
java.lang.Object
com.blockchyp.client.dto.MerchantUsersResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
The results for a merchant users list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(MerchantUser value) Adds a users and pending invites associated with the merchant.getError()Gets the error, if an error occurred.Gets a narrative description of the transaction result.Gets users and pending invites associated with the merchant.booleanGets whether or not the request succeeded.booleanisTest()Gets whether or not these results are for test or live merchants.voidSets the error, if an error occurred.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetResults(Collection<MerchantUser> value) Sets users and pending invites associated with the merchant.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTest(boolean value) Sets whether or not these results are for test or live merchants.
-
Constructor Details
-
MerchantUsersResponse
public MerchantUsersResponse()
-
-
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.
-
setTest
public void setTest(boolean value) Sets whether or not these results are for test or live merchants.- Parameters:
value- whether or not these results are for test or live merchants.
-
isTest
public boolean isTest()Gets whether or not these results are for test or live merchants.- Returns:
- whether or not these results are for test or live merchants.
-
setResults
Sets users and pending invites associated with the merchant.- Parameters:
value- users and pending invites associated with the merchant.
-
getResults
Gets users and pending invites associated with the merchant.- Returns:
- users and pending invites associated with the merchant.
-
addResult
Adds a users and pending invites associated with the merchant.- Parameters:
value- users and pending invites associated with the merchant.
-