forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LotTypeRules.go
32 lines (26 loc) · 956 Bytes
/
LotTypeRules.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
package lottyperules
//New returns an initialized LotTypeRules instance
func New() *LotTypeRules {
var m LotTypeRules
return &m
}
//NoLotTypeRules is a repeating group in LotTypeRules
type NoLotTypeRules struct {
//LotType is a non-required field for NoLotTypeRules.
LotType *string `fix:"1093"`
//MinLotSize is a non-required field for NoLotTypeRules.
MinLotSize *float64 `fix:"1231"`
}
//NewNoLotTypeRules returns an initialized NoLotTypeRules instance
func NewNoLotTypeRules() *NoLotTypeRules {
var m NoLotTypeRules
return &m
}
func (m *NoLotTypeRules) SetLotType(v string) { m.LotType = &v }
func (m *NoLotTypeRules) SetMinLotSize(v float64) { m.MinLotSize = &v }
//LotTypeRules is a fix50sp2 Component
type LotTypeRules struct {
//NoLotTypeRules is a non-required field for LotTypeRules.
NoLotTypeRules []NoLotTypeRules `fix:"1234,omitempty"`
}
func (m *LotTypeRules) SetNoLotTypeRules(v []NoLotTypeRules) { m.NoLotTypeRules = v }