18F/e-QIP-prototype

View on GitHub
api/pdf.go

Summary

Maintainability
A
0 mins
Test Coverage
package api

// An ArchivalPdf represents a PDF (Portable Document Format) file that needs to be retained and submitted to e-QIP.
type ArchivalPdf struct {
    Name    string // document type name shown to users (e.g, Certification, Medical Release, etc.)
    Section string // eApp sub-section where signature information is stored
    DocType string // document type derived from e-QIP (e.g., CER, MEL, etc.)
}

// PdfService declares operations to create and query archival PDFs.
type PdfService interface {
    GenerateReleases(account Account, app Application) ([]Attachment, error)
}