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
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) 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
Click to show internal directories.
Click to hide internal directories.