file

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionalGroup

type FunctionalGroup struct {
	GS              segments.GS `json:"GS" xml:"GS"`
	TransactionSets []TransactionSet
	GE              *segments.GE `json:"GE,omitempty" xml:"GE,omitempty"`
	// contains filtered or unexported fields
}

func NewGroup

func NewGroup(rule *rules.GroupRule) *FunctionalGroup

func (*FunctionalGroup) Parse

func (r *FunctionalGroup) Parse(data string, args ...string) (int, error)

func (FunctionalGroup) String

func (r FunctionalGroup) String(args ...string) string

func (*FunctionalGroup) Validate

func (r *FunctionalGroup) Validate(groupRule *rules.GroupRule) error

type Interchange

type Interchange struct {
	ISA              segments.ISA `json:"ISA" xml:"ISA"`
	FunctionalGroups []FunctionalGroup
	IEA              *segments.IEA `json:"IEA,omitempty" xml:"IEA,omitempty"`
	// contains filtered or unexported fields
}

func NewInterchange

func NewInterchange(rule *rules.InterChangeRule) *Interchange

func (*Interchange) Parse

func (r *Interchange) Parse(data string, args ...string) (int, error)

func (Interchange) String

func (r Interchange) String(args ...string) string

func (*Interchange) Validate

func (r *Interchange) Validate(changeRule *rules.InterChangeRule) error

type TransactionSet

type TransactionSet struct {
	ST    segments.ST           `json:"ST" xml:"ST"`
	BHT   *segments.BHT         `json:"BHT,omitempty" xml:"BHT,omitempty"`
	Loops []loops.CompositeLoop `json:"loops" xml:"loops"`
	SE    *segments.SE          `json:"SE,omitempty" xml:"SE,omitempty"`
	// contains filtered or unexported fields
}

func NewTransactionSet

func NewTransactionSet(rule *rules.TransactionRule) *TransactionSet

func (*TransactionSet) Parse

func (r *TransactionSet) Parse(data string, args ...string) (int, error)

func (TransactionSet) String

func (r TransactionSet) String(args ...string) string

func (*TransactionSet) Validate

func (r *TransactionSet) Validate(transRule *rules.TransactionRule) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL