11package it .gov .pagopa .idpay .transactions .dto .batch ;
22
33import lombok .Getter ;
4+ import lombok .ToString ;
45
56@ Getter
7+ @ ToString
68public class BatchCountersDTO {
79 private Long initialAmountCents ;
810 private Long numberOfTransactions ;
@@ -12,27 +14,15 @@ public class BatchCountersDTO {
1214 private Long trxElaborated ;
1315 private Long trxRejected ;
1416
15- @ Override
16- public String toString () {
17- return "BatchCountersDTO{" +
18- "initialAmountCents=" + initialAmountCents +
19- ", numberOfTransactions=" + numberOfTransactions +
20- ", suspendedAmountCents=" + suspendedAmountCents +
21- ", trxSuspended=" + trxSuspended +
22- ", approvedAmountCents=" + approvedAmountCents +
23- ", trxElaborated=" + trxElaborated +
24- ", trxRejected=" + trxRejected +
25- '}' ;
26- }
27-
28- private BatchCountersDTO () {
29- this .initialAmountCents = 0L ;
30- this .numberOfTransactions = 0L ;
31- this .approvedAmountCents = 0L ;
32- this .suspendedAmountCents = 0L ;
33- this .trxElaborated = 0L ;
34- this .trxSuspended = 0L ;
35- this .trxRejected = 0L ;
17+
18+ private BatchCountersDTO () {
19+ this .initialAmountCents = 0L ;
20+ this .numberOfTransactions = 0L ;
21+ this .approvedAmountCents = 0L ;
22+ this .suspendedAmountCents = 0L ;
23+ this .trxElaborated = 0L ;
24+ this .trxSuspended = 0L ;
25+ this .trxRejected = 0L ;
3626 }
3727
3828 public static BatchCountersDTO newBatch () {
0 commit comments