public override string ToString() { var info = new StringBuilder(); info.Append(base.ToString()); info.Append("CurrencyName: ").AppendLine(CurrencyName); info.Append("TransactionsCount: ").AppendLine(TransactionsCount.ToString()); info.Append("BatchNumber: ").AppendLine(BatchNumber.ToString()); info.Append("TransactionTotalAmount: ").AppendLine(TransactionTotalAmount.ToString()); return(info.ToString()); }
public override string ToString() { var info = new StringBuilder(); info.Append("Terminal ID: ").AppendLine(TerminalId); info.Append("Merchant id: ").AppendLine(MerchantId); info.Append("Payment Datetime: ").AppendLine(PaymentDatetime); info.Append("CurrencyName: ").AppendLine(CurrencyName); info.Append("TransactionsCount: ").AppendLine(TransactionsCount.ToString()); info.Append("BatchNumber: ").AppendLine(BatchNumber.ToString()); info.Append("TransactionsTotalAmount: ").AppendLine(TransactionsTotalAmount.ToString()); return(info.ToString()); }