forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PreAllocGrp.go
48 lines (41 loc) · 1.69 KB
/
PreAllocGrp.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
package preallocgrp
import (
"github.com/quickfixgo/quickfix/fix50/nestedparties"
)
//New returns an initialized PreAllocGrp instance
func New() *PreAllocGrp {
var m PreAllocGrp
return &m
}
//NoAllocs is a repeating group in PreAllocGrp
type NoAllocs struct {
//AllocAccount is a non-required field for NoAllocs.
AllocAccount *string `fix:"79"`
//AllocAcctIDSource is a non-required field for NoAllocs.
AllocAcctIDSource *int `fix:"661"`
//AllocSettlCurrency is a non-required field for NoAllocs.
AllocSettlCurrency *string `fix:"736"`
//IndividualAllocID is a non-required field for NoAllocs.
IndividualAllocID *string `fix:"467"`
//NestedParties is a non-required component for NoAllocs.
NestedParties *nestedparties.NestedParties
//AllocQty is a non-required field for NoAllocs.
AllocQty *float64 `fix:"80"`
}
//NewNoAllocs returns an initialized NoAllocs instance
func NewNoAllocs() *NoAllocs {
var m NoAllocs
return &m
}
func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v }
func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v }
func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v }
func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v }
func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v }
func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v }
//PreAllocGrp is a fix50 Component
type PreAllocGrp struct {
//NoAllocs is a non-required field for PreAllocGrp.
NoAllocs []NoAllocs `fix:"78,omitempty"`
}
func (m *PreAllocGrp) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v }