Package com.blockchyp.client.dto
Class BatchDetailsResponse
java.lang.Object
com.blockchyp.client.dto.BatchDetailsResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a response for details about a single batch.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a merchant's batch history in descending order.Gets batch identifier.Gets the new captured amount.Gets date and time the batch was closed.Gets merchant deposit account into which proceeds should be deposited.Gets entry method for the batch, if any.getError()Gets the error, if an error occurred.Gets the expected volume for this batch, usually captured volume less gift card volume.Gets the total volume of gift cards sold.Gets the total volume of gift cards transactions.Gets date and time of the first transaction for this batch.Gets preauths from this batch still open.Gets a narrative description of the transaction result.Gets the total volume from this batch.intGets the total number of transactions in this batch.Gets merchant's batch history in descending order.booleanisOpen()Gets flag indicating whether or not the batch is open.booleanGets whether or not the request succeeded.booleanisTest()Gets that the response came from the test gateway.voidsetBatchId(String value) Sets batch identifier.voidsetCapturedAmount(String value) Sets the new captured amount.voidsetCloseDate(Date value) Sets date and time the batch was closed.voidsetDestinationAccountId(String value) Sets merchant deposit account into which proceeds should be deposited.voidsetEntryMethod(String value) Sets entry method for the batch, if any.voidSets the error, if an error occurred.voidsetExpectedDeposit(String value) Sets the expected volume for this batch, usually captured volume less gift card volume.voidsetGiftCardsSold(String value) Sets the total volume of gift cards sold.voidsetGiftCardVolume(String value) Sets the total volume of gift cards transactions.voidsetOpen(boolean value) Sets flag indicating whether or not the batch is open.voidsetOpenDate(Date value) Sets date and time of the first transaction for this batch.voidsetOpenPreauths(String value) Sets preauths from this batch still open.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTest(boolean value) Sets that the response came from the test gateway.voidsetTotalVolume(String value) Sets the total volume from this batch.voidsetTransactionCount(int value) Sets the total number of transactions in this batch.voidSets merchant's batch history in descending order.
-
Constructor Details
-
BatchDetailsResponse
public BatchDetailsResponse()
-
-
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:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setTest
public void setTest(boolean value) Sets that the response came from the test gateway.- Parameters:
value- that the response came from the test gateway.
-
isTest
public boolean isTest()Gets that the response came from the test gateway.- Returns:
- that the response came from the test gateway.
-
setBatchId
Sets batch identifier.- Parameters:
value- batch identifier.
-
getBatchId
Gets batch identifier.- Returns:
- batch identifier.
-
setEntryMethod
Sets entry method for the batch, if any.- Parameters:
value- entry method for the batch, if any.
-
getEntryMethod
Gets entry method for the batch, if any.- Returns:
- entry method for the batch, if any.
-
setDestinationAccountId
Sets merchant deposit account into which proceeds should be deposited.- Parameters:
value- merchant deposit account into which proceeds should be deposited.
-
getDestinationAccountId
Gets merchant deposit account into which proceeds should be deposited.- Returns:
- merchant deposit account into which proceeds should be deposited.
-
setCapturedAmount
Sets the new captured amount.- Parameters:
value- the new captured amount.
-
getCapturedAmount
Gets the new captured amount.- Returns:
- the new captured amount.
-
setOpenPreauths
Sets preauths from this batch still open.- Parameters:
value- preauths from this batch still open.
-
getOpenPreauths
Gets preauths from this batch still open.- Returns:
- preauths from this batch still open.
-
setTotalVolume
Sets the total volume from this batch.- Parameters:
value- the total volume from this batch.
-
getTotalVolume
Gets the total volume from this batch.- Returns:
- the total volume from this batch.
-
setTransactionCount
public void setTransactionCount(int value) Sets the total number of transactions in this batch.- Parameters:
value- the total number of transactions in this batch.
-
getTransactionCount
public int getTransactionCount()Gets the total number of transactions in this batch.- Returns:
- the total number of transactions in this batch.
-
setGiftCardsSold
Sets the total volume of gift cards sold.- Parameters:
value- the total volume of gift cards sold.
-
getGiftCardsSold
Gets the total volume of gift cards sold.- Returns:
- the total volume of gift cards sold.
-
setGiftCardVolume
Sets the total volume of gift cards transactions.- Parameters:
value- the total volume of gift cards transactions.
-
getGiftCardVolume
Gets the total volume of gift cards transactions.- Returns:
- the total volume of gift cards transactions.
-
setExpectedDeposit
Sets the expected volume for this batch, usually captured volume less gift card volume.- Parameters:
value- the expected volume for this batch, usually captured volume less gift card volume.
-
getExpectedDeposit
Gets the expected volume for this batch, usually captured volume less gift card volume.- Returns:
- the expected volume for this batch, usually captured volume less gift card volume.
-
setOpen
public void setOpen(boolean value) Sets flag indicating whether or not the batch is open.- Parameters:
value- flag indicating whether or not the batch is open.
-
isOpen
public boolean isOpen()Gets flag indicating whether or not the batch is open.- Returns:
- flag indicating whether or not the batch is open.
-
setOpenDate
Sets date and time of the first transaction for this batch.- Parameters:
value- date and time of the first transaction for this batch.
-
getOpenDate
Gets date and time of the first transaction for this batch.- Returns:
- date and time of the first transaction for this batch.
-
setCloseDate
Sets date and time the batch was closed.- Parameters:
value- date and time the batch was closed.
-
getCloseDate
Gets date and time the batch was closed.- Returns:
- date and time the batch was closed.
-
setVolumeByTerminal
Sets merchant's batch history in descending order.- Parameters:
value- merchant's batch history in descending order.
-
getVolumeByTerminal
Gets merchant's batch history in descending order.- Returns:
- merchant's batch history in descending order.
-
addVolumeByTerminal
Adds a merchant's batch history in descending order.- Parameters:
value- merchant's batch history in descending order.
-