forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnderlyingAmount.go
40 lines (34 loc) · 1.6 KB
/
UnderlyingAmount.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
package underlyingamount
//New returns an initialized UnderlyingAmount instance
func New() *UnderlyingAmount {
var m UnderlyingAmount
return &m
}
//NoUnderlyingAmounts is a repeating group in UnderlyingAmount
type NoUnderlyingAmounts struct {
//UnderlyingPayAmount is a non-required field for NoUnderlyingAmounts.
UnderlyingPayAmount *float64 `fix:"985"`
//UnderlyingCollectAmount is a non-required field for NoUnderlyingAmounts.
UnderlyingCollectAmount *float64 `fix:"986"`
//UnderlyingSettlementDate is a non-required field for NoUnderlyingAmounts.
UnderlyingSettlementDate *string `fix:"987"`
//UnderlyingSettlementStatus is a non-required field for NoUnderlyingAmounts.
UnderlyingSettlementStatus *string `fix:"988"`
}
//NewNoUnderlyingAmounts returns an initialized NoUnderlyingAmounts instance
func NewNoUnderlyingAmounts() *NoUnderlyingAmounts {
var m NoUnderlyingAmounts
return &m
}
func (m *NoUnderlyingAmounts) SetUnderlyingPayAmount(v float64) { m.UnderlyingPayAmount = &v }
func (m *NoUnderlyingAmounts) SetUnderlyingCollectAmount(v float64) { m.UnderlyingCollectAmount = &v }
func (m *NoUnderlyingAmounts) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v }
func (m *NoUnderlyingAmounts) SetUnderlyingSettlementStatus(v string) {
m.UnderlyingSettlementStatus = &v
}
//UnderlyingAmount is a fix50sp2 Component
type UnderlyingAmount struct {
//NoUnderlyingAmounts is a non-required field for UnderlyingAmount.
NoUnderlyingAmounts []NoUnderlyingAmounts `fix:"984,omitempty"`
}
func (m *UnderlyingAmount) SetNoUnderlyingAmounts(v []NoUnderlyingAmounts) { m.NoUnderlyingAmounts = v }