Skip to content

Commit

Permalink
#209 TraceNumber
Browse files Browse the repository at this point in the history
#209 TraceNumber
  • Loading branch information
bkmoovio committed Jun 19, 2018
1 parent 0d3b5e9 commit 47dee39
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions BatchARC_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func mockARCEntryDetail() *EntryDetail {
entry.Amount = 25000
entry.SetCheckSerialNumber("123456789")
entry.SetReceivingCompany("ABC Company")
entry.SetTraceNumber(mockBatchARCHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchARCHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down Expand Up @@ -63,7 +63,7 @@ func mockARCEntryDetailCredit() *EntryDetail {
entry.Amount = 25000
entry.SetCheckSerialNumber("123456789")
entry.SetReceivingCompany("ABC Company")
entry.SetTraceNumber(mockBatchARCHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchARCHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down
4 changes: 2 additions & 2 deletions batchBOC_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func mockBOCEntryDetail() *EntryDetail {
entry.Amount = 25000
entry.SetCheckSerialNumber("123456789")
entry.SetReceivingCompany("ABC Company")
entry.SetTraceNumber(mockBatchBOCHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchBOCHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down Expand Up @@ -63,7 +63,7 @@ func mockBOCEntryDetailCredit() *EntryDetail {
entry.Amount = 25000
entry.SetCheckSerialNumber("123456789")
entry.SetReceivingCompany("ABC Company")
entry.SetTraceNumber(mockBatchBOCHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchBOCHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down
2 changes: 1 addition & 1 deletion batchPOP_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func mockPOPEntryDetail() *EntryDetail {
entry.SetPOPTerminalCity("PHIL")
entry.SetPOPTerminalState("PA")
entry.SetReceivingCompany("ABC Company")
entry.SetTraceNumber(mockBatchPOPHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchPOPHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down
2 changes: 1 addition & 1 deletion batchPOS_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func mockPOSEntryDetail() *EntryDetail {
entry.IdentificationNumber = "45689033"
entry.IndividualName = "Wade Arnold"
//entry.SetReceivingCompany("ABC Company")
entry.SetTraceNumber(mockBatchPOSHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchPOSHeader().ODFIIdentification, 1)
entry.DiscretionaryData = "01"
entry.Category = CategoryForward
return entry
Expand Down
4 changes: 2 additions & 2 deletions batchRCK_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func mockRCKEntryDetail() *EntryDetail {
entry.Amount = 2400
entry.SetCheckSerialNumber("123456789")
entry.IndividualName = "Wade Arnold"
entry.SetTraceNumber(mockBatchRCKHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchRCKHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down Expand Up @@ -63,7 +63,7 @@ func mockRCKEntryDetailCredit() *EntryDetail {
entry.Amount = 2400
entry.SetCheckSerialNumber("123456789")
entry.IndividualName = "Wade Arnold"
entry.SetTraceNumber(mockBatchRCKHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchRCKHeader().ODFIIdentification, 1)
entry.Category = CategoryForward
return entry
}
Expand Down
2 changes: 1 addition & 1 deletion batchSHR_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func mockSHREntryDetail() *EntryDetail {
entry.SetSHRCardExpirationDate("0722")
entry.SetSHRDocumentReferenceNumber("12345678910")
entry.SetSHRIndividualCardAccountNumber("1234567891123456789")
entry.SetTraceNumber(mockBatchSHRHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchSHRHeader().ODFIIdentification, 1)
entry.DiscretionaryData = "01"
entry.Category = CategoryForward
return entry
Expand Down
2 changes: 1 addition & 1 deletion batchTEL_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func mockTELEntryDetail() *EntryDetail {
entry.Amount = 5000000
entry.IdentificationNumber = "Phone 333-2222"
entry.IndividualName = "Wade Arnold"
entry.SetTraceNumber(mockBatchTELHeader().ODFIIdentification, 123)
entry.SetTraceNumber(mockBatchTELHeader().ODFIIdentification, 1)
entry.SetPaymentType("S")
return entry
}
Expand Down

0 comments on commit 47dee39

Please sign in to comment.