public class TransactionHistoryResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
TransactionHistoryResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addTransaction(AuthorizationResponse value)
Adds a matching transaction history.
|
String |
getBatchId()
Gets batch identifier if filtered by batch.
|
Date |
getEndDate()
Gets end date if filtered by end date.
|
String |
getError()
Gets the error, if an error occurred.
|
int |
getMaxResults()
Gets max results from the original request echoed back.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
Date |
getStartDate()
Gets start date if filtered by start date.
|
int |
getStartIndex()
Gets starting index from the original request echoed back.
|
String |
getTerminalName()
Gets terminal name if filtered by terminal.
|
int |
getTotalResultCount()
Gets total number of results accessible through paging.
|
Collection<AuthorizationResponse> |
getTransactions()
Gets matching transaction history.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets that the response came from the test gateway.
|
void |
setBatchId(String value)
Sets batch identifier if filtered by batch.
|
void |
setEndDate(Date value)
Sets end date if filtered by end date.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setMaxResults(int value)
Sets max results from the original request echoed back.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setStartDate(Date value)
Sets start date if filtered by start date.
|
void |
setStartIndex(int value)
Sets starting index from the original request echoed back.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTerminalName(String value)
Sets terminal name if filtered by terminal.
|
void |
setTest(boolean value)
Sets that the response came from the test gateway.
|
void |
setTotalResultCount(int value)
Sets total number of results accessible through paging.
|
void |
setTransactions(Collection<AuthorizationResponse> value)
Sets matching transaction history.
|
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
- that the response came from the test gateway.public boolean isTest()
public void setBatchId(String value)
value
- batch identifier if filtered by batch.public String getBatchId()
public void setTerminalName(String value)
value
- terminal name if filtered by terminal.public String getTerminalName()
public void setStartDate(Date value)
value
- start date if filtered by start date.public Date getStartDate()
public void setEndDate(Date value)
value
- end date if filtered by end date.public Date getEndDate()
public void setMaxResults(int value)
value
- max results from the original request echoed back. Defaults to the
system max of 250.public int getMaxResults()
public void setStartIndex(int value)
value
- starting index from the original request echoed back.public int getStartIndex()
public void setTotalResultCount(int value)
value
- total number of results accessible through paging.public int getTotalResultCount()
public void setTransactions(Collection<AuthorizationResponse> value)
value
- matching transaction history.public Collection<AuthorizationResponse> getTransactions()
public void addTransaction(AuthorizationResponse value)
value
- matching transaction history.Copyright © 2022 BlockChyp, Inc.. All rights reserved.