/
model_bundle_header.go
40 lines (37 loc) · 2.5 KB
/
model_bundle_header.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* ImageCashLetter API
*
* Moov Image Cash Letter (ICL) implements an HTTP API for creating, parsing, and validating ImageCashLetter files.
*
* API version: v1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
import (
"time"
)
// BundleHeader struct for BundleHeader
type BundleHeader struct {
// BundleHeader ID
ID string `json:"ID,omitempty"`
// A code that identifies the type of bundle. It is the same value as the CollectionTypeIndicator in the CashLetterHeader within which the bundle is contained, unless the CollectionTypeIndicator in the CashLetterHeader is 99. * `00` - Preliminary Forward Information * `01` - Forward Presentment * `02` - Forward Presentment - Same-Day Settlement * `03` - Return * `04` - Return Notification * `05` - Preliminary Return Notification * `06` - Final Return Notification
CollectionTypeIndicator string `json:"collectionTypeIndicator,omitempty"`
// DestinationRoutingNumber contains the routing and transit number of the institution that receives and processes the cash letter or the bundle.
DestinationRoutingNumber string `json:"destinationRoutingNumber,omitempty"`
// ECEInstitutionRoutingNumber contains the routing and transit number of the institution that that creates the bundle header.
EceInstitutionRoutingNumber string `json:"eceInstitutionRoutingNumber,omitempty"`
// BundleBusinessDate is the business date of the bundle.
BundleBusinessDate time.Time `json:"bundleBusinessDate,omitempty"`
// BundleCreationDate is the date that the bundle is created.
BundleCreationDate time.Time `json:"bundleCreationDate,omitempty"`
// BundleID is a number that identifies the bundle, assigned by the institution that creates the bundle.
BundleID string `json:"bundleID,omitempty"`
// BundleSequenceNumber is a number assigned by the institution that creates the bundle. Usually denotes the relative position of the bundle within the cash letter.
BundleSequenceNumber string `json:"bundleSequenceNumber,omitempty"`
// CycleNumber is a code assigned by the institution that creates the bundle. Denotes the cycle under which the bundle is created.
CycleNumber string `json:"cycleNumber,omitempty"`
// ReturnLocationRoutingNumber is a bank routing number used by some processors. This will be blank in the resulting file if it is empty.
ReturnLocationRoutingNumber string `json:"returnLocationRoutingNumber,omitempty"`
// UserField identifies a field used at the discretion of users of the standard.
UserField string `json:"userField,omitempty"`
}