Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated functions from EntryDetail #385

Closed
bkmoovio opened this issue Nov 28, 2018 · 1 comment
Closed

Remove deprecated functions from EntryDetail #385

bkmoovio opened this issue Nov 28, 2018 · 1 comment
Assignees

Comments

@bkmoovio
Copy link
Contributor

// ToDo: Deprecate and use SetCATXAddendaRecords

// SetCTXAddendaRecords setter for CTX AddendaRecords characters 1-4 of underlying IndividualName
func (ed *EntryDetail) SetCTXAddendaRecords(i int) {
ed.IndividualName = ed.numericField(i, 4)
}

// ToDo: Deprecate and use SetCATXReceivingCompany

// SetCTXReceivingCompany setter for CTX ReceivingCompany characters 5-20 underlying IndividualName
// Position 21-22 of underlying Individual Name are reserved blank space for CTX " "
func (ed *EntryDetail) SetCTXReceivingCompany(s string) {
ed.IndividualName = ed.IndividualName + ed.alphaField(s, 16) + " "
}

// ToDo: Deprecate and use CATXAddendaRecordsField

// CTXAddendaRecordsField is used in CTX files, characters 1-4 of underlying IndividualName field
func (ed *EntryDetail) CTXAddendaRecordsField() string {
return ed.parseStringField(ed.IndividualName[0:4])
}

// ToDo: Deprecate and use CATXReceivingCompanyField

// CTXReceivingCompanyField is used in CTX files, characters 5-20 of underlying IndividualName field
func (ed *EntryDetail) CTXReceivingCompanyField() string {
return ed.parseStringField(ed.IndividualName[4:20])
}

// ToDo: Deprecate and use CATXReservedField

// CTXReservedField is used in CTX files, characters 21-22 of underlying IndividualName field
func (ed *EntryDetail) CTXReservedField() string {
return ed.IndividualName[20:22]
}

@adamdecaf
Copy link
Member

Can we close this?

@bkmoovio bkmoovio closed this as completed Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants