public class BatchReportResponse
extends ReportResponse
The message to receive an X or Z Report for the transactions in the current batch.
public BatchReportResponse(@NotNull Paypoint paypoint, long batchNumber, @NotNull java.lang.String currencyCode, long saleCount, long refundCount, long saleTotalAmount, long refundTotalAmount, @NotNull BatchReport batchReport)
The message to receive an X or Z Report for the transactions in the current batch.
paypoint
- The paypoint that the payment device is connected to.batchNumber
- The current batch number.currencyCode
- The 3-letter ISO 4217 currency code which amounts are specified in.saleCount
- The total number of sales in the batch.refundCount
- The total number of refunds in the batch.saleTotalAmount
- The total value of all sales in the batch in minor currency units.refundTotalAmount
- The total value of all refunds in the batch in minor currency units.batchReport
- A report for the current batch.@NotNull public Paypoint getPaypoint()
The paypoint that the payment device is connected to.
public long getBatchNumber()
The current batch number.
@NotNull public java.lang.String getCurrencyCode()
The 3-letter ISO 4217 currency code which amounts are specified in.
public long getSaleCount()
The total number of sales in the batch.
public long getRefundCount()
The total number of refunds in the batch.
public long getSaleTotalAmount()
The total value of all sales in the batch in minor currency units.
public long getRefundTotalAmount()
The total value of all refunds in the batch in minor currency units.
@NotNull public BatchReport getBatchReport()
A report for the current batch.
@NotNull public Paypoint component1()
The paypoint that the payment device is connected to.
public long component2()
The current batch number.
@NotNull public java.lang.String component3()
The 3-letter ISO 4217 currency code which amounts are specified in.
public long component4()
The total number of sales in the batch.
public long component5()
The total number of refunds in the batch.
public long component6()
The total value of all sales in the batch in minor currency units.
public long component7()
The total value of all refunds in the batch in minor currency units.
@NotNull public BatchReport component8()
A report for the current batch.
@NotNull public BatchReportResponse copy(@NotNull Paypoint paypoint, long batchNumber, @NotNull java.lang.String currencyCode, long saleCount, long refundCount, long saleTotalAmount, long refundTotalAmount, @NotNull BatchReport batchReport)
The message to receive an X or Z Report for the transactions in the current batch.
@NotNull public java.lang.String toString()
The message to receive an X or Z Report for the transactions in the current batch.
public int hashCode()
The message to receive an X or Z Report for the transactions in the current batch.
public boolean equals(@Nullable java.lang.Object p)
The message to receive an X or Z Report for the transactions in the current batch.