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

eft-generator addDebitTransaction funcion request parametre add #27

Open
ovesh786 opened this issue Jan 22, 2024 · 0 comments
Open

eft-generator addDebitTransaction funcion request parametre add #27

ovesh786 opened this issue Jan 22, 2024 · 0 comments

Comments

@ovesh786
Copy link

Hello, i want to add request parameter to this function,

const eftGenerator = new EFTGenerator({
  originatorId: '0123456789',
  originatorShortName: 'SSM',
  originatorLongName: 'The City of Sault Ste. Marie',
  fileCreationNumber: '0001'
})

eftGenerator.addDebitTransaction({
  bankInstitutionNumber: '111',
  bankTransitNumber: '22222',
  bankAccountNumber: '333333333',
  cpaCode: CPA_CODES.PropertyTaxes,
  amount: 1234.56,
  payeeName: 'Test Property Owner',
  **institutionId:"003000340"**,
  **AccountNo:'101001789261'**
})

i want set institutionId for retrun as position 194-202 and AccountNo for return 203-214 so can I use this 2 parameter like that and should I change in
`export interface EFTTransactionSegment {
cpaCode: number
/**

  • In dollars
    /
    amount: number
    /
    *
  • If not set, will use today.
    /
    paymentDate?: Date
    /
    *
  • Three digits
    /
    bankInstitutionNumber: string
    /
    *
  • Five digits
    /
    bankTransitNumber: string
    /
    *
  • Up to 12 digits
    */
    bankAccountNumber: string
    payeeName: string
    crossReferenceNumber?: string
    institutionId?: string
    AccountsNo?: string
    }
    `
    interface like that?
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

1 participant