Class MerchantUsersResponse

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

public class MerchantUsersResponse extends Object implements IAbstractAcknowledgement
The results for a merchant users list.
  • 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:
      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.
    • 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

      public void setResults(Collection<MerchantUser> value)
      Sets users and pending invites associated with the merchant.
      Parameters:
      value - users and pending invites associated with the merchant.
    • getResults

      public Collection<MerchantUser> getResults()
      Gets users and pending invites associated with the merchant.
      Returns:
      users and pending invites associated with the merchant.
    • addResult

      public void addResult(MerchantUser value)
      Adds a users and pending invites associated with the merchant.
      Parameters:
      value - users and pending invites associated with the merchant.