public class HeartlandBatchCloseResponse extends HeartlandResponse
Constructor and Description |
---|
HeartlandBatchCloseResponse(HeartlandResponseHeader header)
Constructor of Heartland BatchClose response - when declined, only return header
|
HeartlandBatchCloseResponse(HeartlandResponseHeader header,
Integer batchID,
Integer transactionCount,
String totalAmount,
Integer batchSequenceNumber)
Constructor of Heartland BatchClose response - when succeeded
|
Modifier and Type | Method and Description |
---|---|
Integer |
getBatchID() |
Integer |
getBatchSequenceNumber() |
HeartlandResponseHeader |
getHeader() |
String |
getTotalAmount() |
Integer |
getTransactionCount() |
void |
setBatchID(Integer batchID) |
void |
setBatchSequenceNumber(Integer batchSequenceNumber) |
void |
setHeader(HeartlandResponseHeader header) |
void |
setTotalAmount(String totalAmount) |
void |
setTransactionCount(Integer transactionCount) |
public HeartlandBatchCloseResponse(HeartlandResponseHeader header)
header
- Header of responsepublic HeartlandBatchCloseResponse(HeartlandResponseHeader header, Integer batchID, Integer transactionCount, String totalAmount, Integer batchSequenceNumber)
header
- Header of responsebatchID
- Batch identifier assigned by the Portico GatewaytransactionCount
- Number of transactions in the batchtotalAmount
- Total transaction amount in the batchbatchSequenceNumber
- Servicing site batch sequence numberpublic HeartlandResponseHeader getHeader()
getHeader
in class HeartlandResponse
public void setHeader(HeartlandResponseHeader header)
setHeader
in class HeartlandResponse
public Integer getBatchID()
public void setBatchID(Integer batchID)
public Integer getTransactionCount()
public void setTransactionCount(Integer transactionCount)
public Integer getBatchSequenceNumber()
public void setBatchSequenceNumber(Integer batchSequenceNumber)
public String getTotalAmount()
public void setTotalAmount(String totalAmount)
Copyright © 2021. All rights reserved.