public class BatchHistoryRequest extends Object implements ICoreRequest
| Constructor and Description |
|---|
BatchHistoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
Date |
getEndDate()
Gets optional end date filter for batch history.
|
int |
getMaxResults()
Gets max results to be returned by this request.
|
String |
getOrderRef()
Gets an identifier from an external point of sale system.
|
Date |
getStartDate()
Gets optional start date filter for batch history.
|
int |
getStartIndex()
Gets starting index for results to be returned.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
String |
getTransactionRef()
Gets the transaction reference string assigned to the transaction request.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setEndDate(Date value)
Sets optional end date filter for batch history.
|
void |
setMaxResults(int value)
Sets max results to be returned by this request.
|
void |
setOrderRef(String value)
Sets an identifier from an external point of sale system.
|
void |
setStartDate(Date value)
Sets optional start date filter for batch history.
|
void |
setStartIndex(int value)
Sets starting index for results to be returned.
|
void |
setTest(boolean value)
Sets whether or not to route transaction to the test gateway.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
void |
setTransactionRef(String value)
Sets the transaction reference string assigned to the transaction request.
|
public void setTransactionRef(String value)
value - the transaction reference string assigned to the transaction
request. If no transaction ref was assiged on the request, then the gateway will
randomly generate one.public String getTransactionRef()
getTransactionRef in interface ICoreRequestpublic void setOrderRef(String value)
value - an identifier from an external point of sale system.public String getOrderRef()
getOrderRef in interface ICoreRequestpublic void setDestinationAccount(String value)
value - the settlement account for merchants with split settlements.public String getDestinationAccount()
getDestinationAccount in interface ICoreRequestpublic void setTest(boolean value)
value - whether or not to route transaction to the test gateway.public boolean isTest()
isTest in interface ICoreRequestpublic void setTimeout(int value)
value - the request timeout in seconds.public int getTimeout()
getTimeout in interface ICoreRequestpublic void setStartDate(Date value)
value - optional start date filter for batch history.public Date getStartDate()
public void setEndDate(Date value)
value - optional end date filter for batch history.public Date getEndDate()
public void setMaxResults(int value)
value - max results to be returned by this request. Defaults to the system max
of 250.public int getMaxResults()
public void setStartIndex(int value)
value - starting index for results to be returned.public int getStartIndex()
Copyright © 2020 BlockChyp, Inc.. All rights reserved.