forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LegQuotStatGrp.go
56 lines (49 loc) · 2.17 KB
/
LegQuotStatGrp.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package legquotstatgrp
import (
"github.com/quickfixgo/quickfix/fix50sp2/instrumentleg"
"github.com/quickfixgo/quickfix/fix50sp2/legstipulations"
"github.com/quickfixgo/quickfix/fix50sp2/nestedparties"
)
//New returns an initialized LegQuotStatGrp instance
func New() *LegQuotStatGrp {
var m LegQuotStatGrp
return &m
}
//NoLegs is a repeating group in LegQuotStatGrp
type NoLegs struct {
//InstrumentLeg is a non-required component for NoLegs.
InstrumentLeg *instrumentleg.InstrumentLeg
//LegQty is a non-required field for NoLegs.
LegQty *float64 `fix:"687"`
//LegSwapType is a non-required field for NoLegs.
LegSwapType *int `fix:"690"`
//LegSettlType is a non-required field for NoLegs.
LegSettlType *string `fix:"587"`
//LegSettlDate is a non-required field for NoLegs.
LegSettlDate *string `fix:"588"`
//LegStipulations is a non-required component for NoLegs.
LegStipulations *legstipulations.LegStipulations
//NestedParties is a non-required component for NoLegs.
NestedParties *nestedparties.NestedParties
//LegOrderQty is a non-required field for NoLegs.
LegOrderQty *float64 `fix:"685"`
}
//NewNoLegs returns an initialized NoLegs instance
func NewNoLegs() *NoLegs {
var m NoLegs
return &m
}
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v }
func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v }
func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v }
func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v }
func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v }
func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v }
func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v }
func (m *NoLegs) SetLegOrderQty(v float64) { m.LegOrderQty = &v }
//LegQuotStatGrp is a fix50sp2 Component
type LegQuotStatGrp struct {
//NoLegs is a non-required field for LegQuotStatGrp.
NoLegs []NoLegs `fix:"555,omitempty"`
}
func (m *LegQuotStatGrp) SetNoLegs(v []NoLegs) { m.NoLegs = v }