public void ToString(StringBuilder builder) { builder.Append(ItemRecordTypes.CashLetterHeaderRecord); builder.Append(CashLetterId.PadRight(8)); builder.Append(CashLetterStatus.PadRight(25)); builder.Append(TotalCount.ToString("D8")); builder.Append(TotalAmount.ToString("D14")); builder.Append(Reserved.PadRight(23)); builder.AppendLine(); }
public void ToString(StringBuilder builder) { builder.Append(ReceiptRecordTypes.FileDetailRecord); builder.Append(FileRejectReasonCategory.PadRight(57)); builder.Append(Addendums.Count.ToString("D5")); builder.Append(CashLetterId.PadRight(8)); builder.Append(BundleId.PadRight(10)); builder.AppendLine(); Addendums.ForEach(a => a.ToString(builder)); }