Documentation ¶
Index ¶
- Constants
- func Boolean(val bool) *bool
- func Integer(val int) *int
- func String(str string) *string
- type Address
- type AuthMode
- type Certificate
- type Client
- func (cli *Client) CreateDocument(partnerId string, document *Document) (*string, error)
- func (cli *Client) CreateDocumentFlow(flow *DocumentFlow) (*string, error)
- func (cli *Client) CreateEndpoint(endpoint Endpoint) (*string, error)
- func (cli *Client) CreateMapping(docFlowId string, mapping *Mapping) error
- func (cli *Client) CreatePartner(partner *Partner) (*string, error)
- func (cli *Client) CreatePartnerCertificate(partnerId, certContent, certificateName, certificateType string) (*string, error)
- func (cli *Client) CreatePartnerIdentifier(partnerId string, identifier *Identifier) error
- func (cli *Client) CreatePartnerX12Configuration(partnerId string, x12 *X12) error
- func (cli *Client) DeleteDocument(partnerId string, document *Document) error
- func (cli *Client) DeleteDocumentById(partnerId, documentId string) error
- func (cli *Client) DeleteDocumentFlow(id string) error
- func (cli *Client) DeleteEndpoint(id string) error
- func (cli *Client) DeletePartner(partner *Partner) error
- func (cli *Client) DeletePartnerAddress(partnerId string) error
- func (cli *Client) DeletePartnerById(id *string) error
- func (cli *Client) DeletePartnerCertificate(partnerId, certificateId string) error
- func (cli *Client) DeletePartnerContact(partnerId, contactId string) error
- func (cli *Client) DeletePartnerIdentifier(partnerId, identifierId string) error
- func (cli *Client) Do(req *http.Request, v interface{}) (*http.Response, error)
- func (cli *Client) GetDocumentById(partnerId, documentId string) (*Document, error)
- func (cli *Client) GetDocumentByName(partnerId, name string) (*Document, error)
- func (cli *Client) GetDocumentFlowById(flowId string) (*DocumentFlow, error)
- func (cli *Client) GetDocumentFlowByName(name string) (*DocumentFlow, error)
- func (cli *Client) GetEdiDocumentTypeById(formatType, formatVersionId, id string) (*EdiDocumentType, error)
- func (cli *Client) GetEdiDocumentTypeByLabel(formatType, formatVersionId, label string) (*EdiDocumentType, error)
- func (cli *Client) GetEdiDocumentTypeByName(formatType, formatVersionId, name string) (*EdiDocumentType, error)
- func (cli *Client) GetEdiFormatByFormat(format string) (*EdiFormat, error)
- func (cli *Client) GetEdiFormatById(id string) (*EdiFormat, error)
- func (cli *Client) GetEdiFormatByLabel(label string) (*EdiFormat, error)
- func (cli *Client) GetEdiFormatVersionById(formatType, id string) (*EdiFormatVersion, error)
- func (cli *Client) GetEdiFormatVersionByLabel(formatType, label string) (*EdiFormatVersion, error)
- func (cli *Client) GetEdiFormatVersionByVersion(formatType, version string) (*EdiFormatVersion, error)
- func (cli *Client) GetEndpoint(id string) (*Endpoint, error)
- func (cli *Client) GetEndpointsForPartner(partnerId string) (*[]Endpoint, error)
- func (cli *Client) GetEnvironmentById(id string) (*Environment, error)
- func (cli *Client) GetEnvironmentByName(name string) (*Environment, error)
- func (cli *Client) GetHostDetails() error
- func (cli *Client) GetHostPartner() (*Partner, error)
- func (cli *Client) GetIdentifierTypesById(id string) ([]*IdentifierType, error)
- func (cli *Client) GetIdentifierTypesByLabel(label string) ([]*IdentifierType, error)
- func (cli *Client) GetIdentifierTypesByName(name string) ([]*IdentifierType, error)
- func (cli *Client) GetMappingById(docFlowId, mappingId string) (*Mapping, error)
- func (cli *Client) GetPartner(id string) (*Partner, error)
- func (cli *Client) GetPartnerAddress(partnerId string) (*Address, error)
- func (cli *Client) GetPartnerByName(name string) (*Partner, error)
- func (cli *Client) GetPartnerCertificate(partnerId, certificateId string) (*Certificate, error)
- func (cli *Client) GetPartnerContactById(partnerId, contactId string) (*Contact, error)
- func (cli *Client) GetPartnerContacts(partnerId string) ([]*Contact, error)
- func (cli *Client) GetPartnerIdentifierById(partnerId, identifierId string) (*Identifier, error)
- func (cli *Client) GetPartnerIdentifierByQualifierIdAndValue(partnerId, identifierTypeQualifierId, value string) (*Identifier, error)
- func (cli *Client) GetPartnerIdentifiersByValue(partnerId, value string) ([]*Identifier, error)
- func (cli *Client) GetPartnerInboundX12Configuration(partnerId string) (*X12, error)
- func (cli *Client) GetPartnerOutboundX12Configuration(partnerId string) (*X12, error)
- func (cli *Client) GetPartnerProfile(partnerId string) (*PartnerProfile, error)
- func (cli *Client) GetPartnerX12ConfigurationById(partnerId, configId string) (*X12, error)
- func (cli *Client) ListDocumentFlows() (*[]DocumentFlow, error)
- func (cli *Client) ListDocuments(partnerId string) (*[]Document, error)
- func (cli *Client) ListEdiDocumentTypes(formatType, formatVersionId string) (*[]EdiDocumentType, error)
- func (cli *Client) ListEdiFormatVersions(formatType string) (*[]EdiFormatVersion, error)
- func (cli *Client) ListEdiFormats() (*[]EdiFormat, error)
- func (cli *Client) ListEndpoints() (*[]Endpoint, error)
- func (cli *Client) ListEnvironments() (*[]Environment, error)
- func (cli *Client) ListEnvironmentsByType(envType string) (*[]Environment, error)
- func (cli *Client) ListIdentifierTypes() ([]*IdentifierType, error)
- func (cli *Client) ListMappings(docFlowId string) (*[]Mapping, error)
- func (cli *Client) ListPartnerCertificates(partnerId string) ([]*Certificate, error)
- func (cli *Client) ListPartnerIdentifiers(partnerId string) ([]*Identifier, error)
- func (cli *Client) ListPartnerX12Configurations(partnerId string) ([]X12, error)
- func (cli *Client) ListPartners() (*[]Partner, error)
- func (cli *Client) ListProductionEnvironments() (*[]Environment, error)
- func (cli *Client) Login(username, password string) error
- func (cli *Client) NewRequest(method, urlStr string, body interface{}) (*http.Request, error)
- func (cli *Client) SetEnvironment(id string)
- func (cli *Client) UpdateDocument(partnerId string, document *Document) error
- func (cli *Client) UpdateDocumentFlow(flow *DocumentFlow) (*DocumentFlow, error)
- func (cli *Client) UpdateEndpoint(endpoint Endpoint) error
- func (cli *Client) UpdateMapping(docFlowId string, mapping *Mapping) error
- func (cli *Client) UpdatePartner(partner *Partner) error
- func (cli *Client) UpdatePartnerAddress(partnerId string, address *Address) error
- func (cli *Client) UpdatePartnerContacts(partnerId string, contacts []*Contact) error
- func (cli *Client) UpdatePartnerProfile(partner *PartnerProfile) error
- func (cli *Client) UpdatePartnerX12Configuration(partnerId string, x12 *X12) error
- type Contact
- type ContactType
- type Document
- type DocumentFlow
- type DocumentFlowConfiguration
- type EdiDocumentType
- type EdiFormat
- type EdiFormatVersion
- type Endpoint
- type EndpointConfig
- type Environment
- type Identifier
- type IdentifierType
- func (identifier *IdentifierType) GetIdentifierTypeQualifiersByCode(code string) ([]*IdentifierTypeQualifier, error)
- func (identifier *IdentifierType) GetIdentifierTypeQualifiersById(id string) ([]*IdentifierTypeQualifier, error)
- func (identifier *IdentifierType) GetIdentifierTypeQualifiersByLabel(label string) ([]*IdentifierTypeQualifier, error)
- type IdentifierTypeQualifier
- type Mapping
- type Partner
- type PartnerProfile
- type Status
- type TlsContext
- type User
- type X12
- type X12CharacterSetAndEncoding
- type X12ControlNumberSettings
- type X12EnvelopeHeaders
- type X12ParserSettings
- type X12TerminatorDelimiter
Constants ¶
const (
MappingContentPrefix = "data:application/octet-stream;base64,"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
type AuthMode ¶
type AuthMode struct { AuthType *string `json:"authType"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` HttpHeaderName *string `json:"httpHeaderName,omitempty"` ApiKey *string `json:"apiKey,omitempty"` ClientId *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` ClientIdHeader *string `json:"clientIdHeader,omitempty"` ClientSecretHeader *string `json:"clientSecretHeader,omitempty"` TokenUrl *string `json:"tokenUrl,omitempty"` }
AuthMode Types
NONE BASIC (+username, +password) API_KEY (+apiKey, +httpHeaderName) CLIENT_CREDENTIALS (+clientId, +clientSecret, +clientIdHeader, +clientSecretHeader) OAUTH_TOKEN (+tokenUrl, +clientId, +clientSecret)
type Certificate ¶
type Client ¶
type Client struct { BaseURL *url.URL PartnerBaseURL *url.URL // contains filtered or unexported fields }
func (*Client) CreateDocument ¶
func (*Client) CreateDocumentFlow ¶
func (cli *Client) CreateDocumentFlow(flow *DocumentFlow) (*string, error)
func (*Client) CreateEndpoint ¶
func (*Client) CreateMapping ¶
func (*Client) CreatePartner ¶
Create a Partner
func (*Client) CreatePartnerCertificate ¶
func (*Client) CreatePartnerIdentifier ¶
func (cli *Client) CreatePartnerIdentifier(partnerId string, identifier *Identifier) error
func (*Client) CreatePartnerX12Configuration ¶
func (*Client) DeleteDocument ¶
func (*Client) DeleteDocumentById ¶
func (*Client) DeleteDocumentFlow ¶
func (*Client) DeleteEndpoint ¶
func (*Client) DeletePartner ¶
Delete a partner given a Partner containing at least Id
func (*Client) DeletePartnerAddress ¶
func (*Client) DeletePartnerById ¶
Delete a partner using its ID
func (*Client) DeletePartnerCertificate ¶
func (*Client) DeletePartnerContact ¶
func (*Client) DeletePartnerIdentifier ¶
func (*Client) GetDocumentById ¶
func (*Client) GetDocumentByName ¶
func (*Client) GetDocumentFlowById ¶
func (cli *Client) GetDocumentFlowById(flowId string) (*DocumentFlow, error)
func (*Client) GetDocumentFlowByName ¶
func (cli *Client) GetDocumentFlowByName(name string) (*DocumentFlow, error)
func (*Client) GetEdiDocumentTypeById ¶
func (cli *Client) GetEdiDocumentTypeById(formatType, formatVersionId, id string) (*EdiDocumentType, error)
func (*Client) GetEdiDocumentTypeByLabel ¶
func (cli *Client) GetEdiDocumentTypeByLabel(formatType, formatVersionId, label string) (*EdiDocumentType, error)
func (*Client) GetEdiDocumentTypeByName ¶
func (cli *Client) GetEdiDocumentTypeByName(formatType, formatVersionId, name string) (*EdiDocumentType, error)
func (*Client) GetEdiFormatByFormat ¶
func (*Client) GetEdiFormatById ¶
func (*Client) GetEdiFormatByLabel ¶
func (*Client) GetEdiFormatVersionById ¶
func (cli *Client) GetEdiFormatVersionById(formatType, id string) (*EdiFormatVersion, error)
func (*Client) GetEdiFormatVersionByLabel ¶
func (cli *Client) GetEdiFormatVersionByLabel(formatType, label string) (*EdiFormatVersion, error)
func (*Client) GetEdiFormatVersionByVersion ¶
func (cli *Client) GetEdiFormatVersionByVersion(formatType, version string) (*EdiFormatVersion, error)
func (*Client) GetEndpointsForPartner ¶
func (*Client) GetEnvironmentById ¶
func (cli *Client) GetEnvironmentById(id string) (*Environment, error)
func (*Client) GetEnvironmentByName ¶
func (cli *Client) GetEnvironmentByName(name string) (*Environment, error)
func (*Client) GetHostDetails ¶
func (*Client) GetHostPartner ¶
TODO: Change this once the bug for hostFlag is fixed
func (*Client) GetIdentifierTypesById ¶
func (cli *Client) GetIdentifierTypesById(id string) ([]*IdentifierType, error)
func (*Client) GetIdentifierTypesByLabel ¶
func (cli *Client) GetIdentifierTypesByLabel(label string) ([]*IdentifierType, error)
func (*Client) GetIdentifierTypesByName ¶
func (cli *Client) GetIdentifierTypesByName(name string) ([]*IdentifierType, error)
func (*Client) GetMappingById ¶
func (*Client) GetPartner ¶
Retrieve a Partner using its ID
func (*Client) GetPartnerAddress ¶
TODO: This needs to be updated after the Public API is updated to make Addresses available
func (*Client) GetPartnerByName ¶
func (*Client) GetPartnerCertificate ¶
func (cli *Client) GetPartnerCertificate(partnerId, certificateId string) (*Certificate, error)
func (*Client) GetPartnerContactById ¶
func (*Client) GetPartnerContacts ¶
TODO: This needs to be updated once Partner Contacts are available in the Public API
func (*Client) GetPartnerIdentifierById ¶
func (cli *Client) GetPartnerIdentifierById(partnerId, identifierId string) (*Identifier, error)
func (*Client) GetPartnerIdentifierByQualifierIdAndValue ¶
func (cli *Client) GetPartnerIdentifierByQualifierIdAndValue(partnerId, identifierTypeQualifierId, value string) (*Identifier, error)
func (*Client) GetPartnerIdentifiersByValue ¶
func (cli *Client) GetPartnerIdentifiersByValue(partnerId, value string) ([]*Identifier, error)
func (*Client) GetPartnerInboundX12Configuration ¶
func (*Client) GetPartnerOutboundX12Configuration ¶
func (*Client) GetPartnerProfile ¶
func (cli *Client) GetPartnerProfile(partnerId string) (*PartnerProfile, error)
func (*Client) GetPartnerX12ConfigurationById ¶
* TODO: Change this implementation after the API is implemented
func (*Client) ListDocumentFlows ¶
func (cli *Client) ListDocumentFlows() (*[]DocumentFlow, error)
func (*Client) ListDocuments ¶
func (*Client) ListEdiDocumentTypes ¶
func (cli *Client) ListEdiDocumentTypes(formatType, formatVersionId string) (*[]EdiDocumentType, error)
func (*Client) ListEdiFormatVersions ¶
func (cli *Client) ListEdiFormatVersions(formatType string) (*[]EdiFormatVersion, error)
func (*Client) ListEdiFormats ¶
func (*Client) ListEndpoints ¶
func (*Client) ListEnvironments ¶
func (cli *Client) ListEnvironments() (*[]Environment, error)
func (*Client) ListEnvironmentsByType ¶
func (cli *Client) ListEnvironmentsByType(envType string) (*[]Environment, error)
func (*Client) ListIdentifierTypes ¶
func (cli *Client) ListIdentifierTypes() ([]*IdentifierType, error)
func (*Client) ListPartnerCertificates ¶
func (cli *Client) ListPartnerCertificates(partnerId string) ([]*Certificate, error)
func (*Client) ListPartnerIdentifiers ¶
func (cli *Client) ListPartnerIdentifiers(partnerId string) ([]*Identifier, error)
func (*Client) ListPartnerX12Configurations ¶
List the X12 Configurations for a partner
func (*Client) ListPartners ¶
func (*Client) ListProductionEnvironments ¶
func (cli *Client) ListProductionEnvironments() (*[]Environment, error)
func (*Client) NewRequest ¶
func (*Client) SetEnvironment ¶
func (*Client) UpdateDocument ¶
func (*Client) UpdateDocumentFlow ¶
func (cli *Client) UpdateDocumentFlow(flow *DocumentFlow) (*DocumentFlow, error)
func (*Client) UpdateEndpoint ¶
func (*Client) UpdateMapping ¶
func (*Client) UpdatePartner ¶
Update a Partner
func (*Client) UpdatePartnerAddress ¶
func (*Client) UpdatePartnerContacts ¶
func (*Client) UpdatePartnerProfile ¶
func (cli *Client) UpdatePartnerProfile(partner *PartnerProfile) error
type Contact ¶
type ContactType ¶
type ContactType struct { Id *string `json:"id"` Name *string `json:"name"` Description *string `json:"description"` Label *string `json:"label"` }
func GetBusinessContactType ¶
func GetBusinessContactType() *ContactType
The Contact Types endpoint isn't available yet
func GetOtherContactType ¶
func GetOtherContactType() *ContactType
func GetTechnicalContactType ¶
func GetTechnicalContactType() *ContactType
type Document ¶
type Document struct { Id *string `json:"id"` Name *string `json:"name"` Standard *bool `json:"isStandard"` EdiDocumentTypeId *string `json:"ediDocumentTypeId"` SchemaType *string `json:"schemaType,omitempty"` SchemaContent *string `json:"schemaContent,omitempty"` CustomSchemaId *string `json:"customSchemaId,omitempty"` }
type DocumentFlow ¶
type DocumentFlow struct { Id *string `json:"id,omitempty"` Name *string `json:"name"` Direction *string `json:"direction,omitempty"` PartnerFromId *string `json:"partnerFromId,omitempty"` PartnerToId *string `json:"partnerToId,omitempty"` Configurations []*DocumentFlowConfiguration `json:"configurations,omitempty"` }
func (DocumentFlow) String ¶
func (docFlow DocumentFlow) String() string
type DocumentFlowConfiguration ¶
type DocumentFlowConfiguration struct { Id *string `json:"id,omitempty"` DocumentFlowId *string `json:"documentFlowId,omitempty"` EnvironmentId *string `json:"environmentId"` Status *string `json:"status"` Version *int `json:"version"` PreProcessingEndpointId *string `json:"preProcessingEndpointId"` ReceivingEndpointId *string `json:"receivingEndpointId"` ReceivingAckEndpointId *string `json:"receivingAckEndpointId"` TargetEndpointId *string `json:"targetEndpointId"` SourceDocTypeId *string `json:"sourceDocTypeId"` TargetDocTypeId *string `json:"targetDocTypeId"` ReceivingAckConfig *string `json:"receivingAckConfig"` DocumentMapping []*Mapping `json:"documentMapping,omitempty"` }
type EdiDocumentType ¶
type EdiFormatVersion ¶
type Endpoint ¶
type Endpoint struct { ID *string `json:"id,omitempty"` Name *string `json:"name"` Description *string `json:"description"` EnvironmentID *string `json:"environmentId"` EndpointTypeID *string `json:"endpointTypeId"` PartnerID *string `json:"partnerId"` HostCertificateID *string `json:"hostCertificateId,omitempty"` PartnerCertificateID *string `json:"partnerCertificateId,omitempty"` UsedInDeployments *int64 `json:"usedInDeployments,omitempty"` FlowDependencyCount *int64 `json:"flowDependencyCount,omitempty"` UsedInConfigurations *int64 `json:"usedInConfigurations,omitempty"` Deployment *interface{} `json:"deployment,omitempty"` EndpointRole *string `json:"endpointRole"` // SEND, STORAGE_API, RECEIVE_ACK, RECEIVE EndpointType *string `json:"endpointType"` Config *EndpointConfig `json:"config"` CreatedAt *string `json:"createdAt,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` IsComplete *bool `json:"isComplete,omitempty"` DependenciesInfo *[]interface{} `json:"dependenciesInfo,omitempty"` HostCertificate *interface{} `json:"hostCertificate,omitempty"` PartnerCertificate *interface{} `json:"partnerCertificate,omitempty"` }
type EndpointConfig ¶
type EndpointConfig struct { FileAge *int64 `json:"fileAge,omitempty"` MovedPath *string `json:"movedPath,omitempty"` SizeCheckWaitTime *int `json:"sizeCheckWaitTime,omitempty"` PollingFrequency *int `json:"pollingFrequency,omitempty"` Path *string `json:"path,omitempty"` ServerAddress *string `json:"serverAddress,omitempty"` ServerPort *int `json:"serverPort,omitempty"` ConfigName *string `json:"configName"` AuthMode *AuthMode `json:"authMode,omitempty"` Protocol *string `json:"protocol,omitempty"` AllowedMethods *string `json:"allowedMethods,omitempty"` PersistentConnections *bool `json:"persistentConnections,omitempty"` ConnectionIdleTimeout *int `json:"connectionIdleTimeout,omitempty"` ResponseTimeout *int `json:"responseTimeout,omitempty"` AllowStorageApiUIConnection *bool `json:"allowStorageApiUIConnection,omitempty"` TlsContext *TlsContext `json:"tlsContext,omitempty"` }
type Environment ¶
type Identifier ¶
type Identifier struct { Id *string `json:"id,omitempty"` IdentifierTypeQualifierId *string `json:"identifierTypeQualifierId"` Status *string `json:"status,omitempty"` Value *string `json:"value"` }
* QualifierLabel, TypeLabel, and Code are all identified by IdentifierTypeQualifierId, and thus, not necessary
func (*Identifier) QualifierIdAndValueEqual ¶
func (i *Identifier) QualifierIdAndValueEqual(o *Identifier) bool
func (*Identifier) String ¶
func (i *Identifier) String() string
type IdentifierType ¶
type IdentifierType struct { Id *string `json:"id"` Name *string `json:"name"` Label *string `json:"label"` Description *string `json:"description"` Readonly *bool `json:"readonly"` EnvironmentId *string `json:"environment_id"` Qualifiers []*IdentifierTypeQualifier `json:"qualifiers"` }
func (*IdentifierType) GetIdentifierTypeQualifiersByCode ¶
func (identifier *IdentifierType) GetIdentifierTypeQualifiersByCode(code string) ([]*IdentifierTypeQualifier, error)
func (*IdentifierType) GetIdentifierTypeQualifiersById ¶
func (identifier *IdentifierType) GetIdentifierTypeQualifiersById(id string) ([]*IdentifierTypeQualifier, error)
func (*IdentifierType) GetIdentifierTypeQualifiersByLabel ¶
func (identifier *IdentifierType) GetIdentifierTypeQualifiersByLabel(label string) ([]*IdentifierTypeQualifier, error)
type IdentifierTypeQualifier ¶
type IdentifierTypeQualifier struct { Id *string `json:"id"` IdentifierTypeId *string `json:"identifierTypeId"` Code *string `json:"code"` Label *string `json:"label"` SegmentIdentifier *string `json:"segmentIdentifier"` Description *string `json:"descritpion"` EnvironmentId *string `json:"environmentId"` }
type Partner ¶
type Partner struct { Id *string `json:"id,omitempty"` Name *string `json:"name"` Description *string `json:"description,omitempty"` WebsiteUrl *string `json:"websiteUrl,omitempty"` Status *Status `json:"status,omitempty"` EnvironmentId *string `json:"environmentId"` HostFlag *bool `json:"hostFlag,omitempty"` }
type PartnerProfile ¶
type PartnerProfile struct { Id *string `json:"id"` Name *string `json:"name"` Description *string `json:"description"` WebsiteUrl *string `json:"websiteUrl"` Logo *string `json:"logo"` Addresses []*Address `json:"addresses"` Contacts []*Contact `json:"contacts"` }
TODO: This is only needed until Address and Contact are available in the Public API
type TlsContext ¶
type X12 ¶
type X12 struct { Id *string `json:"id,omitempty"` ConfigType *string `json:"configType"` FormatType *string `json:"formatType"` FormatTypeId *string `json:"formatTypeId"` PartnerId *string `json:"partnerId"` IsTemplate *bool `json:"isTemplate,omitempty"` EnvelopeHeaders *X12EnvelopeHeaders `json:"envelopeHeaders"` ParserSettings *X12ParserSettings `json:"parserSettings,omitempty"` CharacterSetAndEncoding *X12CharacterSetAndEncoding `json:"characterSetAndEncoding,omitempty"` ControlNumberSettings *X12ControlNumberSettings `json:"controlNumberSettings,omitempty"` TerminatorDelimiter *X12TerminatorDelimiter `json:"terminatorDelimiter,omitempty"` }
type X12ControlNumberSettings ¶
type X12ControlNumberSettings struct { InitialInterchangeControlNumber *string `json:"initialInterchangeControlNumber,omitempty"` InitialGSControlNumber *string `json:"initialGSControlNumber,omitempty"` InitialTransactionSetControlNumber *string `json:"initialTransactionSetControlNumber"` RequireUniqueGSControlNumbers *bool `json:"requireUniqueGSControlNumbers"` RequireUniqueTransactionSetControlNumber *bool `json:"requireUniqueTransactionSetControlNumber"` RequireUniqueISAcontrolNumbersISA13 *bool `json:"requireUniqueISAcontrolNumbersISA13"` RequireUniqueGSControlNumbersGS06 *bool `json:"requireUniqueGSControlNumbersGS06"` RequireUniqueTransactionSetControlNumbersST02 *bool `json:"requireUniqueTransactionSetControlNumbersST02"` }
type X12EnvelopeHeaders ¶
type X12EnvelopeHeaders struct { AuthInfoQualifierISA01 *string `json:"authInfoQualifierISA01,omitempty"` AuthInfoISA02 *string `json:"authInfoISA02,omitempty"` SecurityInfoQualifierISA03 *string `json:"securityInfoQualifierISA03,omitempty"` SecurityInfoISA04 *string `json:"securityInfoISA04,omitempty"` InterchangeReceiverIdQualifierISA07 *string `json:"interchangeReceiverIdQualifierISA07,omitempty"` InterchangeReceiverIdISA07 *string `json:"interchangeReceiverIdISA07,omitempty"` RepetitionSeparatorCharacterISA11 *string `json:"repetitionSeparatorCharacterISA11,omitempty"` RepetitionInterchangeAcknowledmentsISA14 *string `json:"repetitionInterchangeAcknowledmentsISA14,omitempty"` DefaultInterchangeUsageIndicatorISA15 *string `json:"defaultInterchangeUsageIndicatorISA15,omitempty"` ComponentElementSeparator *string `json:"componentElementSeparator,omitempty"` }
type X12ParserSettings ¶
type X12ParserSettings struct { FailDocumentWhenValueLengthOutsideAllowedRange *bool `json:"failDocumentWhenValueLengthOutsideAllowedRange,omitempty"` FailDocumentWhenInvalidCharacterInValue *bool `json:"failDocumentWhenInvalidCharacterInValue,omitempty"` FailDocumentIfValueIsRepeatedTooManyTimes *bool `json:"failDocumentIfValueIsRepeatedTooManyTimes,omitempty"` FailDocumentIfUnknownSegmentsAreUsed *bool `json:"failDocumentIfUnknownSegmentsAreUsed,omitempty"` FailDocumentWhenSegmentsAreOutOfOrder *bool `json:"failDocumentWhenSegmentsAreOutOfOrder,omitempty"` FailDocumentWhenTooManyRepeatsOfSegment *bool `json:"failDocumentWhenTooManyRepeatsOfSegment,omitempty"` FailDocumentWhenUnusedSegmentsAreIncluded *bool `json:"failDocumentWhenUnusedSegmentsAreIncluded,omitempty"` Require997 *bool `json:"require997,omitempty"` Generate999 *bool `json:"generate999,omitempty"` GenerateTA1 *bool `json:"generateTA1,omitempty"` CheckDuplicateDays *int `json:"checkDuplicateDays,omitempty"` AckEndpointId *string `json:"ackEndpointId"` }