diff --git a/src/GlobalPayments.Api/Entities/Transaction.cs b/src/GlobalPayments.Api/Entities/Transaction.cs index eb629934..579ccf9f 100644 --- a/src/GlobalPayments.Api/Entities/Transaction.cs +++ b/src/GlobalPayments.Api/Entities/Transaction.cs @@ -302,6 +302,17 @@ public string ProcessingCode { } } + public string BatchNumber + { + get => TransactionReference?.BatchNumber; + set + { + if (TransactionReference == null) + TransactionReference = new TransactionReference(); + TransactionReference.BatchNumber = value; + } + } + /// /// The payment token returned in the transaction. ///