public class GetMerchantsRequest extends Object implements ITimeoutRequest
Constructor and Description |
---|
GetMerchantsRequest() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxResults()
Gets max to be returned in a single page.
|
int |
getStartIndex()
Gets starting index for paged results.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
boolean |
isTest()
Gets whether or not to return test or live merchants.
|
void |
setMaxResults(int value)
Sets max to be returned in a single page.
|
void |
setStartIndex(int value)
Sets starting index for paged results.
|
void |
setTest(boolean value)
Sets whether or not to return test or live merchants.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
public void setTimeout(int value)
value
- the request timeout in seconds.public int getTimeout()
getTimeout
in interface ITimeoutRequest
public void setTest(boolean value)
value
- whether or not to return test or live merchants.public boolean isTest()
isTest
in interface ITimeoutRequest
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()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.