public class GetMerchantsResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
GetMerchantsResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addMerchant(MerchantProfileResponse value)
Adds a merchants in the current page of results.
|
String |
getError()
Gets the error, if an error occurred.
|
int |
getMaxResults()
Gets max to be returned in a single page.
|
Collection<MerchantProfileResponse> |
getMerchants()
Gets merchants in the current page of results.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
int |
getResultCount()
Gets total number of results accessible through paging.
|
int |
getStartIndex()
Gets starting index for paged results.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets whether or not these results are for test or live merchants.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setMaxResults(int value)
Sets max to be returned in a single page.
|
void |
setMerchants(Collection<MerchantProfileResponse> value)
Sets merchants in the current page of results.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setResultCount(int value)
Sets total number of results accessible through paging.
|
void |
setStartIndex(int value)
Sets starting index for paged results.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTest(boolean value)
Sets whether or not these results are for test or live merchants.
|
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 setTest(boolean value)
value
- whether or not these results are for test or live merchants.public boolean isTest()
public void setMaxResults(int value)
value
- max to be returned in a single page. Defaults to the system max of 250.public int getMaxResults()
public void setStartIndex(int value)
value
- starting index for paged results. Defaults to zero.public int getStartIndex()
public void setResultCount(int value)
value
- total number of results accessible through paging.public int getResultCount()
public void setMerchants(Collection<MerchantProfileResponse> value)
value
- merchants in the current page of results.public Collection<MerchantProfileResponse> getMerchants()
public void addMerchant(MerchantProfileResponse value)
value
- merchants in the current page of results.Copyright © 2022 BlockChyp, Inc.. All rights reserved.