2574 lines
79 KiB
Go
2574 lines
79 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package derivativesecuritylist
|
|
|
|
import (
|
|
"github.com/shopspring/decimal"
|
|
|
|
"quantex.com/qfixpt/quickfix"
|
|
"quantex.com/qfixpt/quickfix/gen/enum"
|
|
"quantex.com/qfixpt/quickfix/gen/field"
|
|
"quantex.com/qfixpt/quickfix/gen/fix43"
|
|
"quantex.com/qfixpt/quickfix/gen/tag"
|
|
)
|
|
|
|
// DerivativeSecurityList is the fix43 DerivativeSecurityList type, MsgType = AA.
|
|
type DerivativeSecurityList struct {
|
|
fix43.Header
|
|
*quickfix.Body
|
|
fix43.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a DerivativeSecurityList from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) DerivativeSecurityList {
|
|
return DerivativeSecurityList{
|
|
Header: fix43.Header{Header: &m.Header},
|
|
Body: &m.Body,
|
|
Trailer: fix43.Trailer{Trailer: &m.Trailer},
|
|
Message: m,
|
|
}
|
|
}
|
|
|
|
// ToMessage returns a quickfix.Message instance.
|
|
func (m DerivativeSecurityList) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a DerivativeSecurityList initialized with the required fields for DerivativeSecurityList.
|
|
func New(securityreqid field.SecurityReqIDField, securityresponseid field.SecurityResponseIDField, securityrequestresult field.SecurityRequestResultField) (m DerivativeSecurityList) {
|
|
m.Message = quickfix.NewMessage()
|
|
m.Header = fix43.NewHeader(&m.Message.Header)
|
|
m.Body = &m.Message.Body
|
|
m.Trailer.Trailer = &m.Message.Trailer
|
|
|
|
m.Header.Set(field.NewMsgType("AA"))
|
|
m.Set(securityreqid)
|
|
m.Set(securityresponseid)
|
|
m.Set(securityrequestresult)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg DerivativeSecurityList, sessionID quickfix.SessionID) quickfix.MessageRejectError
|
|
|
|
// Route returns the beginstring, message type, and MessageRoute for this Message type.
|
|
func Route(router RouteOut) (string, string, quickfix.MessageRoute) {
|
|
r := func(msg *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError {
|
|
return router(FromMessage(msg), sessionID)
|
|
}
|
|
return "FIX.4.3", "AA", r
|
|
}
|
|
|
|
// SetNoRelatedSym sets NoRelatedSym, Tag 146.
|
|
func (m DerivativeSecurityList) SetNoRelatedSym(f NoRelatedSymRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetUnderlyingCouponPaymentDate sets UnderlyingCouponPaymentDate, Tag 241.
|
|
func (m DerivativeSecurityList) SetUnderlyingCouponPaymentDate(v string) {
|
|
m.Set(field.NewUnderlyingCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetUnderlyingIssueDate sets UnderlyingIssueDate, Tag 242.
|
|
func (m DerivativeSecurityList) SetUnderlyingIssueDate(v string) {
|
|
m.Set(field.NewUnderlyingIssueDate(v))
|
|
}
|
|
|
|
// SetUnderlyingRepoCollateralSecurityType sets UnderlyingRepoCollateralSecurityType, Tag 243.
|
|
func (m DerivativeSecurityList) SetUnderlyingRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewUnderlyingRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetUnderlyingRepurchaseTerm sets UnderlyingRepurchaseTerm, Tag 244.
|
|
func (m DerivativeSecurityList) SetUnderlyingRepurchaseTerm(v int) {
|
|
m.Set(field.NewUnderlyingRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetUnderlyingRepurchaseRate sets UnderlyingRepurchaseRate, Tag 245.
|
|
func (m DerivativeSecurityList) SetUnderlyingRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingFactor sets UnderlyingFactor, Tag 246.
|
|
func (m DerivativeSecurityList) SetUnderlyingFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingFactor(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingRedemptionDate sets UnderlyingRedemptionDate, Tag 247.
|
|
func (m DerivativeSecurityList) SetUnderlyingRedemptionDate(v string) {
|
|
m.Set(field.NewUnderlyingRedemptionDate(v))
|
|
}
|
|
|
|
// SetUnderlyingCreditRating sets UnderlyingCreditRating, Tag 256.
|
|
func (m DerivativeSecurityList) SetUnderlyingCreditRating(v string) {
|
|
m.Set(field.NewUnderlyingCreditRating(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityIDSource sets UnderlyingSecurityIDSource, Tag 305.
|
|
func (m DerivativeSecurityList) SetUnderlyingSecurityIDSource(v string) {
|
|
m.Set(field.NewUnderlyingSecurityIDSource(v))
|
|
}
|
|
|
|
// SetUnderlyingIssuer sets UnderlyingIssuer, Tag 306.
|
|
func (m DerivativeSecurityList) SetUnderlyingIssuer(v string) {
|
|
m.Set(field.NewUnderlyingIssuer(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityDesc sets UnderlyingSecurityDesc, Tag 307.
|
|
func (m DerivativeSecurityList) SetUnderlyingSecurityDesc(v string) {
|
|
m.Set(field.NewUnderlyingSecurityDesc(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityExchange sets UnderlyingSecurityExchange, Tag 308.
|
|
func (m DerivativeSecurityList) SetUnderlyingSecurityExchange(v string) {
|
|
m.Set(field.NewUnderlyingSecurityExchange(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityID sets UnderlyingSecurityID, Tag 309.
|
|
func (m DerivativeSecurityList) SetUnderlyingSecurityID(v string) {
|
|
m.Set(field.NewUnderlyingSecurityID(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityType sets UnderlyingSecurityType, Tag 310.
|
|
func (m DerivativeSecurityList) SetUnderlyingSecurityType(v string) {
|
|
m.Set(field.NewUnderlyingSecurityType(v))
|
|
}
|
|
|
|
// SetUnderlyingSymbol sets UnderlyingSymbol, Tag 311.
|
|
func (m DerivativeSecurityList) SetUnderlyingSymbol(v string) {
|
|
m.Set(field.NewUnderlyingSymbol(v))
|
|
}
|
|
|
|
// SetUnderlyingSymbolSfx sets UnderlyingSymbolSfx, Tag 312.
|
|
func (m DerivativeSecurityList) SetUnderlyingSymbolSfx(v string) {
|
|
m.Set(field.NewUnderlyingSymbolSfx(v))
|
|
}
|
|
|
|
// SetUnderlyingMaturityMonthYear sets UnderlyingMaturityMonthYear, Tag 313.
|
|
func (m DerivativeSecurityList) SetUnderlyingMaturityMonthYear(v string) {
|
|
m.Set(field.NewUnderlyingMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetUnderlyingStrikePrice sets UnderlyingStrikePrice, Tag 316.
|
|
func (m DerivativeSecurityList) SetUnderlyingStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingOptAttribute sets UnderlyingOptAttribute, Tag 317.
|
|
func (m DerivativeSecurityList) SetUnderlyingOptAttribute(v string) {
|
|
m.Set(field.NewUnderlyingOptAttribute(v))
|
|
}
|
|
|
|
// SetSecurityReqID sets SecurityReqID, Tag 320.
|
|
func (m DerivativeSecurityList) SetSecurityReqID(v string) {
|
|
m.Set(field.NewSecurityReqID(v))
|
|
}
|
|
|
|
// SetSecurityResponseID sets SecurityResponseID, Tag 322.
|
|
func (m DerivativeSecurityList) SetSecurityResponseID(v string) {
|
|
m.Set(field.NewSecurityResponseID(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingIssuerLen sets EncodedUnderlyingIssuerLen, Tag 362.
|
|
func (m DerivativeSecurityList) SetEncodedUnderlyingIssuerLen(v int) {
|
|
m.Set(field.NewEncodedUnderlyingIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingIssuer sets EncodedUnderlyingIssuer, Tag 363.
|
|
func (m DerivativeSecurityList) SetEncodedUnderlyingIssuer(v string) {
|
|
m.Set(field.NewEncodedUnderlyingIssuer(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingSecurityDescLen sets EncodedUnderlyingSecurityDescLen, Tag 364.
|
|
func (m DerivativeSecurityList) SetEncodedUnderlyingSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedUnderlyingSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingSecurityDesc sets EncodedUnderlyingSecurityDesc, Tag 365.
|
|
func (m DerivativeSecurityList) SetEncodedUnderlyingSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedUnderlyingSecurityDesc(v))
|
|
}
|
|
|
|
// SetTotalNumSecurities sets TotalNumSecurities, Tag 393.
|
|
func (m DerivativeSecurityList) SetTotalNumSecurities(v int) {
|
|
m.Set(field.NewTotalNumSecurities(v))
|
|
}
|
|
|
|
// SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435.
|
|
func (m DerivativeSecurityList) SetUnderlyingCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingCouponRate(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingContractMultiplier sets UnderlyingContractMultiplier, Tag 436.
|
|
func (m DerivativeSecurityList) SetUnderlyingContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetNoUnderlyingSecurityAltID sets NoUnderlyingSecurityAltID, Tag 457.
|
|
func (m DerivativeSecurityList) SetNoUnderlyingSecurityAltID(f NoUnderlyingSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetUnderlyingProduct sets UnderlyingProduct, Tag 462.
|
|
func (m DerivativeSecurityList) SetUnderlyingProduct(v int) {
|
|
m.Set(field.NewUnderlyingProduct(v))
|
|
}
|
|
|
|
// SetUnderlyingCFICode sets UnderlyingCFICode, Tag 463.
|
|
func (m DerivativeSecurityList) SetUnderlyingCFICode(v string) {
|
|
m.Set(field.NewUnderlyingCFICode(v))
|
|
}
|
|
|
|
// SetUnderlyingMaturityDate sets UnderlyingMaturityDate, Tag 542.
|
|
func (m DerivativeSecurityList) SetUnderlyingMaturityDate(v string) {
|
|
m.Set(field.NewUnderlyingMaturityDate(v))
|
|
}
|
|
|
|
// SetSecurityRequestResult sets SecurityRequestResult, Tag 560.
|
|
func (m DerivativeSecurityList) SetSecurityRequestResult(v enum.SecurityRequestResult) {
|
|
m.Set(field.NewSecurityRequestResult(v))
|
|
}
|
|
|
|
// SetUnderlyingCountryOfIssue sets UnderlyingCountryOfIssue, Tag 592.
|
|
func (m DerivativeSecurityList) SetUnderlyingCountryOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingCountryOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingStateOrProvinceOfIssue sets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
|
func (m DerivativeSecurityList) SetUnderlyingStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingLocaleOfIssue sets UnderlyingLocaleOfIssue, Tag 594.
|
|
func (m DerivativeSecurityList) SetUnderlyingLocaleOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingInstrRegistry sets UnderlyingInstrRegistry, Tag 595.
|
|
func (m DerivativeSecurityList) SetUnderlyingInstrRegistry(v string) {
|
|
m.Set(field.NewUnderlyingInstrRegistry(v))
|
|
}
|
|
|
|
// GetNoRelatedSym gets NoRelatedSym, Tag 146.
|
|
func (m DerivativeSecurityList) GetNoRelatedSym() (NoRelatedSymRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoRelatedSymRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241.
|
|
func (m DerivativeSecurityList) GetUnderlyingCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingIssueDate gets UnderlyingIssueDate, Tag 242.
|
|
func (m DerivativeSecurityList) GetUnderlyingIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingIssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepoCollateralSecurityType gets UnderlyingRepoCollateralSecurityType, Tag 243.
|
|
func (m DerivativeSecurityList) GetUnderlyingRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepurchaseTerm gets UnderlyingRepurchaseTerm, Tag 244.
|
|
func (m DerivativeSecurityList) GetUnderlyingRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepurchaseRate gets UnderlyingRepurchaseRate, Tag 245.
|
|
func (m DerivativeSecurityList) GetUnderlyingRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingFactor gets UnderlyingFactor, Tag 246.
|
|
func (m DerivativeSecurityList) GetUnderlyingFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingFactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247.
|
|
func (m DerivativeSecurityList) GetUnderlyingRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256.
|
|
func (m DerivativeSecurityList) GetUnderlyingCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305.
|
|
func (m DerivativeSecurityList) GetUnderlyingSecurityIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306.
|
|
func (m DerivativeSecurityList) GetUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307.
|
|
func (m DerivativeSecurityList) GetUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308.
|
|
func (m DerivativeSecurityList) GetUnderlyingSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309.
|
|
func (m DerivativeSecurityList) GetUnderlyingSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310.
|
|
func (m DerivativeSecurityList) GetUnderlyingSecurityType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311.
|
|
func (m DerivativeSecurityList) GetUnderlyingSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSymbolSfx gets UnderlyingSymbolSfx, Tag 312.
|
|
func (m DerivativeSecurityList) GetUnderlyingSymbolSfx() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313.
|
|
func (m DerivativeSecurityList) GetUnderlyingMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingMaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316.
|
|
func (m DerivativeSecurityList) GetUnderlyingStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317.
|
|
func (m DerivativeSecurityList) GetUnderlyingOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingOptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityReqID gets SecurityReqID, Tag 320.
|
|
func (m DerivativeSecurityList) GetSecurityReqID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityReqIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityResponseID gets SecurityResponseID, Tag 322.
|
|
func (m DerivativeSecurityList) GetSecurityResponseID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityResponseIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362.
|
|
func (m DerivativeSecurityList) GetEncodedUnderlyingIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingIssuer gets EncodedUnderlyingIssuer, Tag 363.
|
|
func (m DerivativeSecurityList) GetEncodedUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364.
|
|
func (m DerivativeSecurityList) GetEncodedUnderlyingSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingSecurityDesc gets EncodedUnderlyingSecurityDesc, Tag 365.
|
|
func (m DerivativeSecurityList) GetEncodedUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTotalNumSecurities gets TotalNumSecurities, Tag 393.
|
|
func (m DerivativeSecurityList) GetTotalNumSecurities() (v int, err quickfix.MessageRejectError) {
|
|
var f field.TotalNumSecuritiesField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435.
|
|
func (m DerivativeSecurityList) GetUnderlyingCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436.
|
|
func (m DerivativeSecurityList) GetUnderlyingContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoUnderlyingSecurityAltID gets NoUnderlyingSecurityAltID, Tag 457.
|
|
func (m DerivativeSecurityList) GetNoUnderlyingSecurityAltID() (NoUnderlyingSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetUnderlyingProduct gets UnderlyingProduct, Tag 462.
|
|
func (m DerivativeSecurityList) GetUnderlyingProduct() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCFICode gets UnderlyingCFICode, Tag 463.
|
|
func (m DerivativeSecurityList) GetUnderlyingCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542.
|
|
func (m DerivativeSecurityList) GetUnderlyingMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingMaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityRequestResult gets SecurityRequestResult, Tag 560.
|
|
func (m DerivativeSecurityList) GetSecurityRequestResult() (v enum.SecurityRequestResult, err quickfix.MessageRejectError) {
|
|
var f field.SecurityRequestResultField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592.
|
|
func (m DerivativeSecurityList) GetUnderlyingCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStateOrProvinceOfIssue gets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
|
func (m DerivativeSecurityList) GetUnderlyingStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingLocaleOfIssue gets UnderlyingLocaleOfIssue, Tag 594.
|
|
func (m DerivativeSecurityList) GetUnderlyingLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingLocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595.
|
|
func (m DerivativeSecurityList) GetUnderlyingInstrRegistry() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingInstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasNoRelatedSym returns true if NoRelatedSym is present, Tag 146.
|
|
func (m DerivativeSecurityList) HasNoRelatedSym() bool {
|
|
return m.Has(tag.NoRelatedSym)
|
|
}
|
|
|
|
// HasUnderlyingCouponPaymentDate returns true if UnderlyingCouponPaymentDate is present, Tag 241.
|
|
func (m DerivativeSecurityList) HasUnderlyingCouponPaymentDate() bool {
|
|
return m.Has(tag.UnderlyingCouponPaymentDate)
|
|
}
|
|
|
|
// HasUnderlyingIssueDate returns true if UnderlyingIssueDate is present, Tag 242.
|
|
func (m DerivativeSecurityList) HasUnderlyingIssueDate() bool {
|
|
return m.Has(tag.UnderlyingIssueDate)
|
|
}
|
|
|
|
// HasUnderlyingRepoCollateralSecurityType returns true if UnderlyingRepoCollateralSecurityType is present, Tag 243.
|
|
func (m DerivativeSecurityList) HasUnderlyingRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.UnderlyingRepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasUnderlyingRepurchaseTerm returns true if UnderlyingRepurchaseTerm is present, Tag 244.
|
|
func (m DerivativeSecurityList) HasUnderlyingRepurchaseTerm() bool {
|
|
return m.Has(tag.UnderlyingRepurchaseTerm)
|
|
}
|
|
|
|
// HasUnderlyingRepurchaseRate returns true if UnderlyingRepurchaseRate is present, Tag 245.
|
|
func (m DerivativeSecurityList) HasUnderlyingRepurchaseRate() bool {
|
|
return m.Has(tag.UnderlyingRepurchaseRate)
|
|
}
|
|
|
|
// HasUnderlyingFactor returns true if UnderlyingFactor is present, Tag 246.
|
|
func (m DerivativeSecurityList) HasUnderlyingFactor() bool {
|
|
return m.Has(tag.UnderlyingFactor)
|
|
}
|
|
|
|
// HasUnderlyingRedemptionDate returns true if UnderlyingRedemptionDate is present, Tag 247.
|
|
func (m DerivativeSecurityList) HasUnderlyingRedemptionDate() bool {
|
|
return m.Has(tag.UnderlyingRedemptionDate)
|
|
}
|
|
|
|
// HasUnderlyingCreditRating returns true if UnderlyingCreditRating is present, Tag 256.
|
|
func (m DerivativeSecurityList) HasUnderlyingCreditRating() bool {
|
|
return m.Has(tag.UnderlyingCreditRating)
|
|
}
|
|
|
|
// HasUnderlyingSecurityIDSource returns true if UnderlyingSecurityIDSource is present, Tag 305.
|
|
func (m DerivativeSecurityList) HasUnderlyingSecurityIDSource() bool {
|
|
return m.Has(tag.UnderlyingSecurityIDSource)
|
|
}
|
|
|
|
// HasUnderlyingIssuer returns true if UnderlyingIssuer is present, Tag 306.
|
|
func (m DerivativeSecurityList) HasUnderlyingIssuer() bool {
|
|
return m.Has(tag.UnderlyingIssuer)
|
|
}
|
|
|
|
// HasUnderlyingSecurityDesc returns true if UnderlyingSecurityDesc is present, Tag 307.
|
|
func (m DerivativeSecurityList) HasUnderlyingSecurityDesc() bool {
|
|
return m.Has(tag.UnderlyingSecurityDesc)
|
|
}
|
|
|
|
// HasUnderlyingSecurityExchange returns true if UnderlyingSecurityExchange is present, Tag 308.
|
|
func (m DerivativeSecurityList) HasUnderlyingSecurityExchange() bool {
|
|
return m.Has(tag.UnderlyingSecurityExchange)
|
|
}
|
|
|
|
// HasUnderlyingSecurityID returns true if UnderlyingSecurityID is present, Tag 309.
|
|
func (m DerivativeSecurityList) HasUnderlyingSecurityID() bool {
|
|
return m.Has(tag.UnderlyingSecurityID)
|
|
}
|
|
|
|
// HasUnderlyingSecurityType returns true if UnderlyingSecurityType is present, Tag 310.
|
|
func (m DerivativeSecurityList) HasUnderlyingSecurityType() bool {
|
|
return m.Has(tag.UnderlyingSecurityType)
|
|
}
|
|
|
|
// HasUnderlyingSymbol returns true if UnderlyingSymbol is present, Tag 311.
|
|
func (m DerivativeSecurityList) HasUnderlyingSymbol() bool {
|
|
return m.Has(tag.UnderlyingSymbol)
|
|
}
|
|
|
|
// HasUnderlyingSymbolSfx returns true if UnderlyingSymbolSfx is present, Tag 312.
|
|
func (m DerivativeSecurityList) HasUnderlyingSymbolSfx() bool {
|
|
return m.Has(tag.UnderlyingSymbolSfx)
|
|
}
|
|
|
|
// HasUnderlyingMaturityMonthYear returns true if UnderlyingMaturityMonthYear is present, Tag 313.
|
|
func (m DerivativeSecurityList) HasUnderlyingMaturityMonthYear() bool {
|
|
return m.Has(tag.UnderlyingMaturityMonthYear)
|
|
}
|
|
|
|
// HasUnderlyingStrikePrice returns true if UnderlyingStrikePrice is present, Tag 316.
|
|
func (m DerivativeSecurityList) HasUnderlyingStrikePrice() bool {
|
|
return m.Has(tag.UnderlyingStrikePrice)
|
|
}
|
|
|
|
// HasUnderlyingOptAttribute returns true if UnderlyingOptAttribute is present, Tag 317.
|
|
func (m DerivativeSecurityList) HasUnderlyingOptAttribute() bool {
|
|
return m.Has(tag.UnderlyingOptAttribute)
|
|
}
|
|
|
|
// HasSecurityReqID returns true if SecurityReqID is present, Tag 320.
|
|
func (m DerivativeSecurityList) HasSecurityReqID() bool {
|
|
return m.Has(tag.SecurityReqID)
|
|
}
|
|
|
|
// HasSecurityResponseID returns true if SecurityResponseID is present, Tag 322.
|
|
func (m DerivativeSecurityList) HasSecurityResponseID() bool {
|
|
return m.Has(tag.SecurityResponseID)
|
|
}
|
|
|
|
// HasEncodedUnderlyingIssuerLen returns true if EncodedUnderlyingIssuerLen is present, Tag 362.
|
|
func (m DerivativeSecurityList) HasEncodedUnderlyingIssuerLen() bool {
|
|
return m.Has(tag.EncodedUnderlyingIssuerLen)
|
|
}
|
|
|
|
// HasEncodedUnderlyingIssuer returns true if EncodedUnderlyingIssuer is present, Tag 363.
|
|
func (m DerivativeSecurityList) HasEncodedUnderlyingIssuer() bool {
|
|
return m.Has(tag.EncodedUnderlyingIssuer)
|
|
}
|
|
|
|
// HasEncodedUnderlyingSecurityDescLen returns true if EncodedUnderlyingSecurityDescLen is present, Tag 364.
|
|
func (m DerivativeSecurityList) HasEncodedUnderlyingSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedUnderlyingSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedUnderlyingSecurityDesc returns true if EncodedUnderlyingSecurityDesc is present, Tag 365.
|
|
func (m DerivativeSecurityList) HasEncodedUnderlyingSecurityDesc() bool {
|
|
return m.Has(tag.EncodedUnderlyingSecurityDesc)
|
|
}
|
|
|
|
// HasTotalNumSecurities returns true if TotalNumSecurities is present, Tag 393.
|
|
func (m DerivativeSecurityList) HasTotalNumSecurities() bool {
|
|
return m.Has(tag.TotalNumSecurities)
|
|
}
|
|
|
|
// HasUnderlyingCouponRate returns true if UnderlyingCouponRate is present, Tag 435.
|
|
func (m DerivativeSecurityList) HasUnderlyingCouponRate() bool {
|
|
return m.Has(tag.UnderlyingCouponRate)
|
|
}
|
|
|
|
// HasUnderlyingContractMultiplier returns true if UnderlyingContractMultiplier is present, Tag 436.
|
|
func (m DerivativeSecurityList) HasUnderlyingContractMultiplier() bool {
|
|
return m.Has(tag.UnderlyingContractMultiplier)
|
|
}
|
|
|
|
// HasNoUnderlyingSecurityAltID returns true if NoUnderlyingSecurityAltID is present, Tag 457.
|
|
func (m DerivativeSecurityList) HasNoUnderlyingSecurityAltID() bool {
|
|
return m.Has(tag.NoUnderlyingSecurityAltID)
|
|
}
|
|
|
|
// HasUnderlyingProduct returns true if UnderlyingProduct is present, Tag 462.
|
|
func (m DerivativeSecurityList) HasUnderlyingProduct() bool {
|
|
return m.Has(tag.UnderlyingProduct)
|
|
}
|
|
|
|
// HasUnderlyingCFICode returns true if UnderlyingCFICode is present, Tag 463.
|
|
func (m DerivativeSecurityList) HasUnderlyingCFICode() bool {
|
|
return m.Has(tag.UnderlyingCFICode)
|
|
}
|
|
|
|
// HasUnderlyingMaturityDate returns true if UnderlyingMaturityDate is present, Tag 542.
|
|
func (m DerivativeSecurityList) HasUnderlyingMaturityDate() bool {
|
|
return m.Has(tag.UnderlyingMaturityDate)
|
|
}
|
|
|
|
// HasSecurityRequestResult returns true if SecurityRequestResult is present, Tag 560.
|
|
func (m DerivativeSecurityList) HasSecurityRequestResult() bool {
|
|
return m.Has(tag.SecurityRequestResult)
|
|
}
|
|
|
|
// HasUnderlyingCountryOfIssue returns true if UnderlyingCountryOfIssue is present, Tag 592.
|
|
func (m DerivativeSecurityList) HasUnderlyingCountryOfIssue() bool {
|
|
return m.Has(tag.UnderlyingCountryOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingStateOrProvinceOfIssue returns true if UnderlyingStateOrProvinceOfIssue is present, Tag 593.
|
|
func (m DerivativeSecurityList) HasUnderlyingStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.UnderlyingStateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingLocaleOfIssue returns true if UnderlyingLocaleOfIssue is present, Tag 594.
|
|
func (m DerivativeSecurityList) HasUnderlyingLocaleOfIssue() bool {
|
|
return m.Has(tag.UnderlyingLocaleOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingInstrRegistry returns true if UnderlyingInstrRegistry is present, Tag 595.
|
|
func (m DerivativeSecurityList) HasUnderlyingInstrRegistry() bool {
|
|
return m.Has(tag.UnderlyingInstrRegistry)
|
|
}
|
|
|
|
// NoRelatedSym is a repeating group element, Tag 146.
|
|
type NoRelatedSym struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m NoRelatedSym) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m NoRelatedSym) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m NoRelatedSym) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
|
func (m NoRelatedSym) SetSecurityIDSource(v enum.SecurityIDSource) {
|
|
m.Set(field.NewSecurityIDSource(v))
|
|
}
|
|
|
|
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
|
func (m NoRelatedSym) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProduct sets Product, Tag 460.
|
|
func (m NoRelatedSym) SetProduct(v enum.Product) {
|
|
m.Set(field.NewProduct(v))
|
|
}
|
|
|
|
// SetCFICode sets CFICode, Tag 461.
|
|
func (m NoRelatedSym) SetCFICode(v string) {
|
|
m.Set(field.NewCFICode(v))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m NoRelatedSym) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m NoRelatedSym) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetMaturityDate sets MaturityDate, Tag 541.
|
|
func (m NoRelatedSym) SetMaturityDate(v string) {
|
|
m.Set(field.NewMaturityDate(v))
|
|
}
|
|
|
|
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
|
func (m NoRelatedSym) SetCouponPaymentDate(v string) {
|
|
m.Set(field.NewCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetIssueDate sets IssueDate, Tag 225.
|
|
func (m NoRelatedSym) SetIssueDate(v string) {
|
|
m.Set(field.NewIssueDate(v))
|
|
}
|
|
|
|
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
|
func (m NoRelatedSym) SetRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
|
func (m NoRelatedSym) SetRepurchaseTerm(v int) {
|
|
m.Set(field.NewRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
|
func (m NoRelatedSym) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetFactor sets Factor, Tag 228.
|
|
func (m NoRelatedSym) SetFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewFactor(value, scale))
|
|
}
|
|
|
|
// SetCreditRating sets CreditRating, Tag 255.
|
|
func (m NoRelatedSym) SetCreditRating(v string) {
|
|
m.Set(field.NewCreditRating(v))
|
|
}
|
|
|
|
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
|
func (m NoRelatedSym) SetInstrRegistry(v enum.InstrRegistry) {
|
|
m.Set(field.NewInstrRegistry(v))
|
|
}
|
|
|
|
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
|
func (m NoRelatedSym) SetCountryOfIssue(v string) {
|
|
m.Set(field.NewCountryOfIssue(v))
|
|
}
|
|
|
|
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
|
func (m NoRelatedSym) SetStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
|
func (m NoRelatedSym) SetLocaleOfIssue(v string) {
|
|
m.Set(field.NewLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
|
func (m NoRelatedSym) SetRedemptionDate(v string) {
|
|
m.Set(field.NewRedemptionDate(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m NoRelatedSym) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m NoRelatedSym) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m NoRelatedSym) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m NoRelatedSym) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m NoRelatedSym) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m NoRelatedSym) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m NoRelatedSym) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m NoRelatedSym) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m NoRelatedSym) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m NoRelatedSym) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m NoRelatedSym) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetCurrency sets Currency, Tag 15.
|
|
func (m NoRelatedSym) SetCurrency(v string) {
|
|
m.Set(field.NewCurrency(v))
|
|
}
|
|
|
|
// SetNoLegs sets NoLegs, Tag 555.
|
|
func (m NoRelatedSym) SetNoLegs(f NoLegsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
|
func (m NoRelatedSym) SetTradingSessionID(v enum.TradingSessionID) {
|
|
m.Set(field.NewTradingSessionID(v))
|
|
}
|
|
|
|
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
|
func (m NoRelatedSym) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
|
m.Set(field.NewTradingSessionSubID(v))
|
|
}
|
|
|
|
// SetText sets Text, Tag 58.
|
|
func (m NoRelatedSym) SetText(v string) {
|
|
m.Set(field.NewText(v))
|
|
}
|
|
|
|
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
|
func (m NoRelatedSym) SetEncodedTextLen(v int) {
|
|
m.Set(field.NewEncodedTextLen(v))
|
|
}
|
|
|
|
// SetEncodedText sets EncodedText, Tag 355.
|
|
func (m NoRelatedSym) SetEncodedText(v string) {
|
|
m.Set(field.NewEncodedText(v))
|
|
}
|
|
|
|
// GetSymbol gets Symbol, Tag 55.
|
|
func (m NoRelatedSym) GetSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbolSfx gets SymbolSfx, Tag 65.
|
|
func (m NoRelatedSym) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityID gets SecurityID, Tag 48.
|
|
func (m NoRelatedSym) GetSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
|
|
func (m NoRelatedSym) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
|
|
func (m NoRelatedSym) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProduct gets Product, Tag 460.
|
|
func (m NoRelatedSym) GetProduct() (v enum.Product, err quickfix.MessageRejectError) {
|
|
var f field.ProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCFICode gets CFICode, Tag 461.
|
|
func (m NoRelatedSym) GetCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m NoRelatedSym) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
|
|
var f field.SecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
|
|
func (m NoRelatedSym) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDate gets MaturityDate, Tag 541.
|
|
func (m NoRelatedSym) GetMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponPaymentDate gets CouponPaymentDate, Tag 224.
|
|
func (m NoRelatedSym) GetCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssueDate gets IssueDate, Tag 225.
|
|
func (m NoRelatedSym) GetIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239.
|
|
func (m NoRelatedSym) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.RepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepurchaseTerm gets RepurchaseTerm, Tag 226.
|
|
func (m NoRelatedSym) GetRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.RepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepurchaseRate gets RepurchaseRate, Tag 227.
|
|
func (m NoRelatedSym) GetRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.RepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetFactor gets Factor, Tag 228.
|
|
func (m NoRelatedSym) GetFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.FactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCreditRating gets CreditRating, Tag 255.
|
|
func (m NoRelatedSym) GetCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetInstrRegistry gets InstrRegistry, Tag 543.
|
|
func (m NoRelatedSym) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
|
|
var f field.InstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCountryOfIssue gets CountryOfIssue, Tag 470.
|
|
func (m NoRelatedSym) GetCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStateOrProvinceOfIssue gets StateOrProvinceOfIssue, Tag 471.
|
|
func (m NoRelatedSym) GetStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.StateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLocaleOfIssue gets LocaleOfIssue, Tag 472.
|
|
func (m NoRelatedSym) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRedemptionDate gets RedemptionDate, Tag 240.
|
|
func (m NoRelatedSym) GetRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.RedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikePrice gets StrikePrice, Tag 202.
|
|
func (m NoRelatedSym) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOptAttribute gets OptAttribute, Tag 206.
|
|
func (m NoRelatedSym) GetOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.OptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetContractMultiplier gets ContractMultiplier, Tag 231.
|
|
func (m NoRelatedSym) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.ContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponRate gets CouponRate, Tag 223.
|
|
func (m NoRelatedSym) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityExchange gets SecurityExchange, Tag 207.
|
|
func (m NoRelatedSym) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m NoRelatedSym) GetIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m NoRelatedSym) GetEncodedIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuer gets EncodedIssuer, Tag 349.
|
|
func (m NoRelatedSym) GetEncodedIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityDesc gets SecurityDesc, Tag 107.
|
|
func (m NoRelatedSym) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350.
|
|
func (m NoRelatedSym) GetEncodedSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351.
|
|
func (m NoRelatedSym) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCurrency gets Currency, Tag 15.
|
|
func (m NoRelatedSym) GetCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoLegs gets NoLegs, Tag 555.
|
|
func (m NoRelatedSym) GetNoLegs() (NoLegsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
|
func (m NoRelatedSym) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
|
func (m NoRelatedSym) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionSubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetText gets Text, Tag 58.
|
|
func (m NoRelatedSym) GetText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
|
func (m NoRelatedSym) GetEncodedTextLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedText gets EncodedText, Tag 355.
|
|
func (m NoRelatedSym) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m NoRelatedSym) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m NoRelatedSym) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m NoRelatedSym) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
|
func (m NoRelatedSym) HasSecurityIDSource() bool {
|
|
return m.Has(tag.SecurityIDSource)
|
|
}
|
|
|
|
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
|
func (m NoRelatedSym) HasNoSecurityAltID() bool {
|
|
return m.Has(tag.NoSecurityAltID)
|
|
}
|
|
|
|
// HasProduct returns true if Product is present, Tag 460.
|
|
func (m NoRelatedSym) HasProduct() bool {
|
|
return m.Has(tag.Product)
|
|
}
|
|
|
|
// HasCFICode returns true if CFICode is present, Tag 461.
|
|
func (m NoRelatedSym) HasCFICode() bool {
|
|
return m.Has(tag.CFICode)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m NoRelatedSym) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m NoRelatedSym) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
|
func (m NoRelatedSym) HasMaturityDate() bool {
|
|
return m.Has(tag.MaturityDate)
|
|
}
|
|
|
|
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
|
func (m NoRelatedSym) HasCouponPaymentDate() bool {
|
|
return m.Has(tag.CouponPaymentDate)
|
|
}
|
|
|
|
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
|
func (m NoRelatedSym) HasIssueDate() bool {
|
|
return m.Has(tag.IssueDate)
|
|
}
|
|
|
|
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
|
func (m NoRelatedSym) HasRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.RepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
|
func (m NoRelatedSym) HasRepurchaseTerm() bool {
|
|
return m.Has(tag.RepurchaseTerm)
|
|
}
|
|
|
|
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
|
func (m NoRelatedSym) HasRepurchaseRate() bool {
|
|
return m.Has(tag.RepurchaseRate)
|
|
}
|
|
|
|
// HasFactor returns true if Factor is present, Tag 228.
|
|
func (m NoRelatedSym) HasFactor() bool {
|
|
return m.Has(tag.Factor)
|
|
}
|
|
|
|
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
|
func (m NoRelatedSym) HasCreditRating() bool {
|
|
return m.Has(tag.CreditRating)
|
|
}
|
|
|
|
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
|
func (m NoRelatedSym) HasInstrRegistry() bool {
|
|
return m.Has(tag.InstrRegistry)
|
|
}
|
|
|
|
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
|
func (m NoRelatedSym) HasCountryOfIssue() bool {
|
|
return m.Has(tag.CountryOfIssue)
|
|
}
|
|
|
|
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
|
func (m NoRelatedSym) HasStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.StateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
|
func (m NoRelatedSym) HasLocaleOfIssue() bool {
|
|
return m.Has(tag.LocaleOfIssue)
|
|
}
|
|
|
|
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
|
func (m NoRelatedSym) HasRedemptionDate() bool {
|
|
return m.Has(tag.RedemptionDate)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m NoRelatedSym) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m NoRelatedSym) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m NoRelatedSym) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m NoRelatedSym) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m NoRelatedSym) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m NoRelatedSym) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m NoRelatedSym) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m NoRelatedSym) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m NoRelatedSym) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m NoRelatedSym) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m NoRelatedSym) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasCurrency returns true if Currency is present, Tag 15.
|
|
func (m NoRelatedSym) HasCurrency() bool {
|
|
return m.Has(tag.Currency)
|
|
}
|
|
|
|
// HasNoLegs returns true if NoLegs is present, Tag 555.
|
|
func (m NoRelatedSym) HasNoLegs() bool {
|
|
return m.Has(tag.NoLegs)
|
|
}
|
|
|
|
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
|
func (m NoRelatedSym) HasTradingSessionID() bool {
|
|
return m.Has(tag.TradingSessionID)
|
|
}
|
|
|
|
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
|
func (m NoRelatedSym) HasTradingSessionSubID() bool {
|
|
return m.Has(tag.TradingSessionSubID)
|
|
}
|
|
|
|
// HasText returns true if Text is present, Tag 58.
|
|
func (m NoRelatedSym) HasText() bool {
|
|
return m.Has(tag.Text)
|
|
}
|
|
|
|
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
|
func (m NoRelatedSym) HasEncodedTextLen() bool {
|
|
return m.Has(tag.EncodedTextLen)
|
|
}
|
|
|
|
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
|
func (m NoRelatedSym) HasEncodedText() bool {
|
|
return m.Has(tag.EncodedText)
|
|
}
|
|
|
|
// NoSecurityAltID is a repeating group element, Tag 454.
|
|
type NoSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetSecurityAltID sets SecurityAltID, Tag 455.
|
|
func (m NoSecurityAltID) SetSecurityAltID(v string) {
|
|
m.Set(field.NewSecurityAltID(v))
|
|
}
|
|
|
|
// SetSecurityAltIDSource sets SecurityAltIDSource, Tag 456.
|
|
func (m NoSecurityAltID) SetSecurityAltIDSource(v string) {
|
|
m.Set(field.NewSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetSecurityAltID gets SecurityAltID, Tag 455.
|
|
func (m NoSecurityAltID) GetSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityAltIDSource gets SecurityAltIDSource, Tag 456.
|
|
func (m NoSecurityAltID) GetSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasSecurityAltID returns true if SecurityAltID is present, Tag 455.
|
|
func (m NoSecurityAltID) HasSecurityAltID() bool {
|
|
return m.Has(tag.SecurityAltID)
|
|
}
|
|
|
|
// HasSecurityAltIDSource returns true if SecurityAltIDSource is present, Tag 456.
|
|
func (m NoSecurityAltID) HasSecurityAltIDSource() bool {
|
|
return m.Has(tag.SecurityAltIDSource)
|
|
}
|
|
|
|
// NoSecurityAltIDRepeatingGroup is a repeating group, Tag 454.
|
|
type NoSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoSecurityAltIDRepeatingGroup returns an initialized, NoSecurityAltIDRepeatingGroup.
|
|
func NewNoSecurityAltIDRepeatingGroup() NoSecurityAltIDRepeatingGroup {
|
|
return NoSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.SecurityAltID),
|
|
quickfix.GroupElement(tag.SecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoSecurityAltID to this group.
|
|
func (m NoSecurityAltIDRepeatingGroup) Add() NoSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoSecurityAltID in the NoSecurityAltIDRepeatinGroup.
|
|
func (m NoSecurityAltIDRepeatingGroup) Get(i int) NoSecurityAltID {
|
|
return NoSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoLegs is a repeating group element, Tag 555.
|
|
type NoLegs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetLegSymbol sets LegSymbol, Tag 600.
|
|
func (m NoLegs) SetLegSymbol(v string) {
|
|
m.Set(field.NewLegSymbol(v))
|
|
}
|
|
|
|
// SetLegSymbolSfx sets LegSymbolSfx, Tag 601.
|
|
func (m NoLegs) SetLegSymbolSfx(v string) {
|
|
m.Set(field.NewLegSymbolSfx(v))
|
|
}
|
|
|
|
// SetLegSecurityID sets LegSecurityID, Tag 602.
|
|
func (m NoLegs) SetLegSecurityID(v string) {
|
|
m.Set(field.NewLegSecurityID(v))
|
|
}
|
|
|
|
// SetLegSecurityIDSource sets LegSecurityIDSource, Tag 603.
|
|
func (m NoLegs) SetLegSecurityIDSource(v string) {
|
|
m.Set(field.NewLegSecurityIDSource(v))
|
|
}
|
|
|
|
// SetNoLegSecurityAltID sets NoLegSecurityAltID, Tag 604.
|
|
func (m NoLegs) SetNoLegSecurityAltID(f NoLegSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetLegProduct sets LegProduct, Tag 607.
|
|
func (m NoLegs) SetLegProduct(v int) {
|
|
m.Set(field.NewLegProduct(v))
|
|
}
|
|
|
|
// SetLegCFICode sets LegCFICode, Tag 608.
|
|
func (m NoLegs) SetLegCFICode(v string) {
|
|
m.Set(field.NewLegCFICode(v))
|
|
}
|
|
|
|
// SetLegSecurityType sets LegSecurityType, Tag 609.
|
|
func (m NoLegs) SetLegSecurityType(v string) {
|
|
m.Set(field.NewLegSecurityType(v))
|
|
}
|
|
|
|
// SetLegMaturityMonthYear sets LegMaturityMonthYear, Tag 610.
|
|
func (m NoLegs) SetLegMaturityMonthYear(v string) {
|
|
m.Set(field.NewLegMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetLegMaturityDate sets LegMaturityDate, Tag 611.
|
|
func (m NoLegs) SetLegMaturityDate(v string) {
|
|
m.Set(field.NewLegMaturityDate(v))
|
|
}
|
|
|
|
// SetLegCouponPaymentDate sets LegCouponPaymentDate, Tag 248.
|
|
func (m NoLegs) SetLegCouponPaymentDate(v string) {
|
|
m.Set(field.NewLegCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetLegIssueDate sets LegIssueDate, Tag 249.
|
|
func (m NoLegs) SetLegIssueDate(v string) {
|
|
m.Set(field.NewLegIssueDate(v))
|
|
}
|
|
|
|
// SetLegRepoCollateralSecurityType sets LegRepoCollateralSecurityType, Tag 250.
|
|
func (m NoLegs) SetLegRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewLegRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetLegRepurchaseTerm sets LegRepurchaseTerm, Tag 251.
|
|
func (m NoLegs) SetLegRepurchaseTerm(v int) {
|
|
m.Set(field.NewLegRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetLegRepurchaseRate sets LegRepurchaseRate, Tag 252.
|
|
func (m NoLegs) SetLegRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetLegFactor sets LegFactor, Tag 253.
|
|
func (m NoLegs) SetLegFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegFactor(value, scale))
|
|
}
|
|
|
|
// SetLegCreditRating sets LegCreditRating, Tag 257.
|
|
func (m NoLegs) SetLegCreditRating(v string) {
|
|
m.Set(field.NewLegCreditRating(v))
|
|
}
|
|
|
|
// SetLegInstrRegistry sets LegInstrRegistry, Tag 599.
|
|
func (m NoLegs) SetLegInstrRegistry(v string) {
|
|
m.Set(field.NewLegInstrRegistry(v))
|
|
}
|
|
|
|
// SetLegCountryOfIssue sets LegCountryOfIssue, Tag 596.
|
|
func (m NoLegs) SetLegCountryOfIssue(v string) {
|
|
m.Set(field.NewLegCountryOfIssue(v))
|
|
}
|
|
|
|
// SetLegStateOrProvinceOfIssue sets LegStateOrProvinceOfIssue, Tag 597.
|
|
func (m NoLegs) SetLegStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewLegStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLegLocaleOfIssue sets LegLocaleOfIssue, Tag 598.
|
|
func (m NoLegs) SetLegLocaleOfIssue(v string) {
|
|
m.Set(field.NewLegLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetLegRedemptionDate sets LegRedemptionDate, Tag 254.
|
|
func (m NoLegs) SetLegRedemptionDate(v string) {
|
|
m.Set(field.NewLegRedemptionDate(v))
|
|
}
|
|
|
|
// SetLegStrikePrice sets LegStrikePrice, Tag 612.
|
|
func (m NoLegs) SetLegStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetLegOptAttribute sets LegOptAttribute, Tag 613.
|
|
func (m NoLegs) SetLegOptAttribute(v string) {
|
|
m.Set(field.NewLegOptAttribute(v))
|
|
}
|
|
|
|
// SetLegContractMultiplier sets LegContractMultiplier, Tag 614.
|
|
func (m NoLegs) SetLegContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetLegCouponRate sets LegCouponRate, Tag 615.
|
|
func (m NoLegs) SetLegCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegCouponRate(value, scale))
|
|
}
|
|
|
|
// SetLegSecurityExchange sets LegSecurityExchange, Tag 616.
|
|
func (m NoLegs) SetLegSecurityExchange(v string) {
|
|
m.Set(field.NewLegSecurityExchange(v))
|
|
}
|
|
|
|
// SetLegIssuer sets LegIssuer, Tag 617.
|
|
func (m NoLegs) SetLegIssuer(v string) {
|
|
m.Set(field.NewLegIssuer(v))
|
|
}
|
|
|
|
// SetEncodedLegIssuerLen sets EncodedLegIssuerLen, Tag 618.
|
|
func (m NoLegs) SetEncodedLegIssuerLen(v int) {
|
|
m.Set(field.NewEncodedLegIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedLegIssuer sets EncodedLegIssuer, Tag 619.
|
|
func (m NoLegs) SetEncodedLegIssuer(v string) {
|
|
m.Set(field.NewEncodedLegIssuer(v))
|
|
}
|
|
|
|
// SetLegSecurityDesc sets LegSecurityDesc, Tag 620.
|
|
func (m NoLegs) SetLegSecurityDesc(v string) {
|
|
m.Set(field.NewLegSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedLegSecurityDescLen sets EncodedLegSecurityDescLen, Tag 621.
|
|
func (m NoLegs) SetEncodedLegSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedLegSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedLegSecurityDesc sets EncodedLegSecurityDesc, Tag 622.
|
|
func (m NoLegs) SetEncodedLegSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedLegSecurityDesc(v))
|
|
}
|
|
|
|
// SetLegRatioQty sets LegRatioQty, Tag 623.
|
|
func (m NoLegs) SetLegRatioQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegRatioQty(value, scale))
|
|
}
|
|
|
|
// SetLegSide sets LegSide, Tag 624.
|
|
func (m NoLegs) SetLegSide(v string) {
|
|
m.Set(field.NewLegSide(v))
|
|
}
|
|
|
|
// SetLegCurrency sets LegCurrency, Tag 556.
|
|
func (m NoLegs) SetLegCurrency(v string) {
|
|
m.Set(field.NewLegCurrency(v))
|
|
}
|
|
|
|
// GetLegSymbol gets LegSymbol, Tag 600.
|
|
func (m NoLegs) GetLegSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSymbolSfx gets LegSymbolSfx, Tag 601.
|
|
func (m NoLegs) GetLegSymbolSfx() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityID gets LegSecurityID, Tag 602.
|
|
func (m NoLegs) GetLegSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityIDSource gets LegSecurityIDSource, Tag 603.
|
|
func (m NoLegs) GetLegSecurityIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoLegSecurityAltID gets NoLegSecurityAltID, Tag 604.
|
|
func (m NoLegs) GetNoLegSecurityAltID() (NoLegSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetLegProduct gets LegProduct, Tag 607.
|
|
func (m NoLegs) GetLegProduct() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCFICode gets LegCFICode, Tag 608.
|
|
func (m NoLegs) GetLegCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityType gets LegSecurityType, Tag 609.
|
|
func (m NoLegs) GetLegSecurityType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegMaturityMonthYear gets LegMaturityMonthYear, Tag 610.
|
|
func (m NoLegs) GetLegMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegMaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegMaturityDate gets LegMaturityDate, Tag 611.
|
|
func (m NoLegs) GetLegMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegMaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCouponPaymentDate gets LegCouponPaymentDate, Tag 248.
|
|
func (m NoLegs) GetLegCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegIssueDate gets LegIssueDate, Tag 249.
|
|
func (m NoLegs) GetLegIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegIssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRepoCollateralSecurityType gets LegRepoCollateralSecurityType, Tag 250.
|
|
func (m NoLegs) GetLegRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegRepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRepurchaseTerm gets LegRepurchaseTerm, Tag 251.
|
|
func (m NoLegs) GetLegRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegRepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRepurchaseRate gets LegRepurchaseRate, Tag 252.
|
|
func (m NoLegs) GetLegRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegRepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegFactor gets LegFactor, Tag 253.
|
|
func (m NoLegs) GetLegFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegFactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCreditRating gets LegCreditRating, Tag 257.
|
|
func (m NoLegs) GetLegCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegInstrRegistry gets LegInstrRegistry, Tag 599.
|
|
func (m NoLegs) GetLegInstrRegistry() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegInstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCountryOfIssue gets LegCountryOfIssue, Tag 596.
|
|
func (m NoLegs) GetLegCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegStateOrProvinceOfIssue gets LegStateOrProvinceOfIssue, Tag 597.
|
|
func (m NoLegs) GetLegStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegStateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegLocaleOfIssue gets LegLocaleOfIssue, Tag 598.
|
|
func (m NoLegs) GetLegLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegLocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRedemptionDate gets LegRedemptionDate, Tag 254.
|
|
func (m NoLegs) GetLegRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegRedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegStrikePrice gets LegStrikePrice, Tag 612.
|
|
func (m NoLegs) GetLegStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegStrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegOptAttribute gets LegOptAttribute, Tag 613.
|
|
func (m NoLegs) GetLegOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegOptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegContractMultiplier gets LegContractMultiplier, Tag 614.
|
|
func (m NoLegs) GetLegContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCouponRate gets LegCouponRate, Tag 615.
|
|
func (m NoLegs) GetLegCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegCouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityExchange gets LegSecurityExchange, Tag 616.
|
|
func (m NoLegs) GetLegSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegIssuer gets LegIssuer, Tag 617.
|
|
func (m NoLegs) GetLegIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegIssuerLen gets EncodedLegIssuerLen, Tag 618.
|
|
func (m NoLegs) GetEncodedLegIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegIssuer gets EncodedLegIssuer, Tag 619.
|
|
func (m NoLegs) GetEncodedLegIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityDesc gets LegSecurityDesc, Tag 620.
|
|
func (m NoLegs) GetLegSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegSecurityDescLen gets EncodedLegSecurityDescLen, Tag 621.
|
|
func (m NoLegs) GetEncodedLegSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegSecurityDesc gets EncodedLegSecurityDesc, Tag 622.
|
|
func (m NoLegs) GetEncodedLegSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRatioQty gets LegRatioQty, Tag 623.
|
|
func (m NoLegs) GetLegRatioQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegRatioQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSide gets LegSide, Tag 624.
|
|
func (m NoLegs) GetLegSide() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSideField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCurrency gets LegCurrency, Tag 556.
|
|
func (m NoLegs) GetLegCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasLegSymbol returns true if LegSymbol is present, Tag 600.
|
|
func (m NoLegs) HasLegSymbol() bool {
|
|
return m.Has(tag.LegSymbol)
|
|
}
|
|
|
|
// HasLegSymbolSfx returns true if LegSymbolSfx is present, Tag 601.
|
|
func (m NoLegs) HasLegSymbolSfx() bool {
|
|
return m.Has(tag.LegSymbolSfx)
|
|
}
|
|
|
|
// HasLegSecurityID returns true if LegSecurityID is present, Tag 602.
|
|
func (m NoLegs) HasLegSecurityID() bool {
|
|
return m.Has(tag.LegSecurityID)
|
|
}
|
|
|
|
// HasLegSecurityIDSource returns true if LegSecurityIDSource is present, Tag 603.
|
|
func (m NoLegs) HasLegSecurityIDSource() bool {
|
|
return m.Has(tag.LegSecurityIDSource)
|
|
}
|
|
|
|
// HasNoLegSecurityAltID returns true if NoLegSecurityAltID is present, Tag 604.
|
|
func (m NoLegs) HasNoLegSecurityAltID() bool {
|
|
return m.Has(tag.NoLegSecurityAltID)
|
|
}
|
|
|
|
// HasLegProduct returns true if LegProduct is present, Tag 607.
|
|
func (m NoLegs) HasLegProduct() bool {
|
|
return m.Has(tag.LegProduct)
|
|
}
|
|
|
|
// HasLegCFICode returns true if LegCFICode is present, Tag 608.
|
|
func (m NoLegs) HasLegCFICode() bool {
|
|
return m.Has(tag.LegCFICode)
|
|
}
|
|
|
|
// HasLegSecurityType returns true if LegSecurityType is present, Tag 609.
|
|
func (m NoLegs) HasLegSecurityType() bool {
|
|
return m.Has(tag.LegSecurityType)
|
|
}
|
|
|
|
// HasLegMaturityMonthYear returns true if LegMaturityMonthYear is present, Tag 610.
|
|
func (m NoLegs) HasLegMaturityMonthYear() bool {
|
|
return m.Has(tag.LegMaturityMonthYear)
|
|
}
|
|
|
|
// HasLegMaturityDate returns true if LegMaturityDate is present, Tag 611.
|
|
func (m NoLegs) HasLegMaturityDate() bool {
|
|
return m.Has(tag.LegMaturityDate)
|
|
}
|
|
|
|
// HasLegCouponPaymentDate returns true if LegCouponPaymentDate is present, Tag 248.
|
|
func (m NoLegs) HasLegCouponPaymentDate() bool {
|
|
return m.Has(tag.LegCouponPaymentDate)
|
|
}
|
|
|
|
// HasLegIssueDate returns true if LegIssueDate is present, Tag 249.
|
|
func (m NoLegs) HasLegIssueDate() bool {
|
|
return m.Has(tag.LegIssueDate)
|
|
}
|
|
|
|
// HasLegRepoCollateralSecurityType returns true if LegRepoCollateralSecurityType is present, Tag 250.
|
|
func (m NoLegs) HasLegRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.LegRepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasLegRepurchaseTerm returns true if LegRepurchaseTerm is present, Tag 251.
|
|
func (m NoLegs) HasLegRepurchaseTerm() bool {
|
|
return m.Has(tag.LegRepurchaseTerm)
|
|
}
|
|
|
|
// HasLegRepurchaseRate returns true if LegRepurchaseRate is present, Tag 252.
|
|
func (m NoLegs) HasLegRepurchaseRate() bool {
|
|
return m.Has(tag.LegRepurchaseRate)
|
|
}
|
|
|
|
// HasLegFactor returns true if LegFactor is present, Tag 253.
|
|
func (m NoLegs) HasLegFactor() bool {
|
|
return m.Has(tag.LegFactor)
|
|
}
|
|
|
|
// HasLegCreditRating returns true if LegCreditRating is present, Tag 257.
|
|
func (m NoLegs) HasLegCreditRating() bool {
|
|
return m.Has(tag.LegCreditRating)
|
|
}
|
|
|
|
// HasLegInstrRegistry returns true if LegInstrRegistry is present, Tag 599.
|
|
func (m NoLegs) HasLegInstrRegistry() bool {
|
|
return m.Has(tag.LegInstrRegistry)
|
|
}
|
|
|
|
// HasLegCountryOfIssue returns true if LegCountryOfIssue is present, Tag 596.
|
|
func (m NoLegs) HasLegCountryOfIssue() bool {
|
|
return m.Has(tag.LegCountryOfIssue)
|
|
}
|
|
|
|
// HasLegStateOrProvinceOfIssue returns true if LegStateOrProvinceOfIssue is present, Tag 597.
|
|
func (m NoLegs) HasLegStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.LegStateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLegLocaleOfIssue returns true if LegLocaleOfIssue is present, Tag 598.
|
|
func (m NoLegs) HasLegLocaleOfIssue() bool {
|
|
return m.Has(tag.LegLocaleOfIssue)
|
|
}
|
|
|
|
// HasLegRedemptionDate returns true if LegRedemptionDate is present, Tag 254.
|
|
func (m NoLegs) HasLegRedemptionDate() bool {
|
|
return m.Has(tag.LegRedemptionDate)
|
|
}
|
|
|
|
// HasLegStrikePrice returns true if LegStrikePrice is present, Tag 612.
|
|
func (m NoLegs) HasLegStrikePrice() bool {
|
|
return m.Has(tag.LegStrikePrice)
|
|
}
|
|
|
|
// HasLegOptAttribute returns true if LegOptAttribute is present, Tag 613.
|
|
func (m NoLegs) HasLegOptAttribute() bool {
|
|
return m.Has(tag.LegOptAttribute)
|
|
}
|
|
|
|
// HasLegContractMultiplier returns true if LegContractMultiplier is present, Tag 614.
|
|
func (m NoLegs) HasLegContractMultiplier() bool {
|
|
return m.Has(tag.LegContractMultiplier)
|
|
}
|
|
|
|
// HasLegCouponRate returns true if LegCouponRate is present, Tag 615.
|
|
func (m NoLegs) HasLegCouponRate() bool {
|
|
return m.Has(tag.LegCouponRate)
|
|
}
|
|
|
|
// HasLegSecurityExchange returns true if LegSecurityExchange is present, Tag 616.
|
|
func (m NoLegs) HasLegSecurityExchange() bool {
|
|
return m.Has(tag.LegSecurityExchange)
|
|
}
|
|
|
|
// HasLegIssuer returns true if LegIssuer is present, Tag 617.
|
|
func (m NoLegs) HasLegIssuer() bool {
|
|
return m.Has(tag.LegIssuer)
|
|
}
|
|
|
|
// HasEncodedLegIssuerLen returns true if EncodedLegIssuerLen is present, Tag 618.
|
|
func (m NoLegs) HasEncodedLegIssuerLen() bool {
|
|
return m.Has(tag.EncodedLegIssuerLen)
|
|
}
|
|
|
|
// HasEncodedLegIssuer returns true if EncodedLegIssuer is present, Tag 619.
|
|
func (m NoLegs) HasEncodedLegIssuer() bool {
|
|
return m.Has(tag.EncodedLegIssuer)
|
|
}
|
|
|
|
// HasLegSecurityDesc returns true if LegSecurityDesc is present, Tag 620.
|
|
func (m NoLegs) HasLegSecurityDesc() bool {
|
|
return m.Has(tag.LegSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedLegSecurityDescLen returns true if EncodedLegSecurityDescLen is present, Tag 621.
|
|
func (m NoLegs) HasEncodedLegSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedLegSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedLegSecurityDesc returns true if EncodedLegSecurityDesc is present, Tag 622.
|
|
func (m NoLegs) HasEncodedLegSecurityDesc() bool {
|
|
return m.Has(tag.EncodedLegSecurityDesc)
|
|
}
|
|
|
|
// HasLegRatioQty returns true if LegRatioQty is present, Tag 623.
|
|
func (m NoLegs) HasLegRatioQty() bool {
|
|
return m.Has(tag.LegRatioQty)
|
|
}
|
|
|
|
// HasLegSide returns true if LegSide is present, Tag 624.
|
|
func (m NoLegs) HasLegSide() bool {
|
|
return m.Has(tag.LegSide)
|
|
}
|
|
|
|
// HasLegCurrency returns true if LegCurrency is present, Tag 556.
|
|
func (m NoLegs) HasLegCurrency() bool {
|
|
return m.Has(tag.LegCurrency)
|
|
}
|
|
|
|
// NoLegSecurityAltID is a repeating group element, Tag 604.
|
|
type NoLegSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetLegSecurityAltID sets LegSecurityAltID, Tag 605.
|
|
func (m NoLegSecurityAltID) SetLegSecurityAltID(v string) {
|
|
m.Set(field.NewLegSecurityAltID(v))
|
|
}
|
|
|
|
// SetLegSecurityAltIDSource sets LegSecurityAltIDSource, Tag 606.
|
|
func (m NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) {
|
|
m.Set(field.NewLegSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetLegSecurityAltID gets LegSecurityAltID, Tag 605.
|
|
func (m NoLegSecurityAltID) GetLegSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityAltIDSource gets LegSecurityAltIDSource, Tag 606.
|
|
func (m NoLegSecurityAltID) GetLegSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasLegSecurityAltID returns true if LegSecurityAltID is present, Tag 605.
|
|
func (m NoLegSecurityAltID) HasLegSecurityAltID() bool {
|
|
return m.Has(tag.LegSecurityAltID)
|
|
}
|
|
|
|
// HasLegSecurityAltIDSource returns true if LegSecurityAltIDSource is present, Tag 606.
|
|
func (m NoLegSecurityAltID) HasLegSecurityAltIDSource() bool {
|
|
return m.Has(tag.LegSecurityAltIDSource)
|
|
}
|
|
|
|
// NoLegSecurityAltIDRepeatingGroup is a repeating group, Tag 604.
|
|
type NoLegSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegSecurityAltIDRepeatingGroup returns an initialized, NoLegSecurityAltIDRepeatingGroup.
|
|
func NewNoLegSecurityAltIDRepeatingGroup() NoLegSecurityAltIDRepeatingGroup {
|
|
return NoLegSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegSecurityAltID),
|
|
quickfix.GroupElement(tag.LegSecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoLegSecurityAltID to this group.
|
|
func (m NoLegSecurityAltIDRepeatingGroup) Add() NoLegSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoLegSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoLegSecurityAltID in the NoLegSecurityAltIDRepeatinGroup.
|
|
func (m NoLegSecurityAltIDRepeatingGroup) Get(i int) NoLegSecurityAltID {
|
|
return NoLegSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoLegsRepeatingGroup is a repeating group, Tag 555.
|
|
type NoLegsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegsRepeatingGroup returns an initialized, NoLegsRepeatingGroup.
|
|
func NewNoLegsRepeatingGroup() NoLegsRepeatingGroup {
|
|
return NoLegsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegSymbol),
|
|
quickfix.GroupElement(tag.LegSymbolSfx),
|
|
quickfix.GroupElement(tag.LegSecurityID),
|
|
quickfix.GroupElement(tag.LegSecurityIDSource),
|
|
NewNoLegSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.LegProduct),
|
|
quickfix.GroupElement(tag.LegCFICode),
|
|
quickfix.GroupElement(tag.LegSecurityType),
|
|
quickfix.GroupElement(tag.LegMaturityMonthYear),
|
|
quickfix.GroupElement(tag.LegMaturityDate),
|
|
quickfix.GroupElement(tag.LegCouponPaymentDate),
|
|
quickfix.GroupElement(tag.LegIssueDate),
|
|
quickfix.GroupElement(tag.LegRepoCollateralSecurityType),
|
|
quickfix.GroupElement(tag.LegRepurchaseTerm),
|
|
quickfix.GroupElement(tag.LegRepurchaseRate),
|
|
quickfix.GroupElement(tag.LegFactor),
|
|
quickfix.GroupElement(tag.LegCreditRating),
|
|
quickfix.GroupElement(tag.LegInstrRegistry),
|
|
quickfix.GroupElement(tag.LegCountryOfIssue),
|
|
quickfix.GroupElement(tag.LegStateOrProvinceOfIssue),
|
|
quickfix.GroupElement(tag.LegLocaleOfIssue),
|
|
quickfix.GroupElement(tag.LegRedemptionDate),
|
|
quickfix.GroupElement(tag.LegStrikePrice),
|
|
quickfix.GroupElement(tag.LegOptAttribute),
|
|
quickfix.GroupElement(tag.LegContractMultiplier),
|
|
quickfix.GroupElement(tag.LegCouponRate),
|
|
quickfix.GroupElement(tag.LegSecurityExchange),
|
|
quickfix.GroupElement(tag.LegIssuer),
|
|
quickfix.GroupElement(tag.EncodedLegIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedLegIssuer),
|
|
quickfix.GroupElement(tag.LegSecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedLegSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedLegSecurityDesc),
|
|
quickfix.GroupElement(tag.LegRatioQty),
|
|
quickfix.GroupElement(tag.LegSide),
|
|
quickfix.GroupElement(tag.LegCurrency),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoLegs to this group.
|
|
func (m NoLegsRepeatingGroup) Add() NoLegs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoLegs{g}
|
|
}
|
|
|
|
// Get returns the ith NoLegs in the NoLegsRepeatinGroup.
|
|
func (m NoLegsRepeatingGroup) Get(i int) NoLegs {
|
|
return NoLegs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoRelatedSymRepeatingGroup is a repeating group, Tag 146.
|
|
type NoRelatedSymRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoRelatedSymRepeatingGroup returns an initialized, NoRelatedSymRepeatingGroup.
|
|
func NewNoRelatedSymRepeatingGroup() NoRelatedSymRepeatingGroup {
|
|
return NoRelatedSymRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoRelatedSym,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.Symbol),
|
|
quickfix.GroupElement(tag.SymbolSfx),
|
|
quickfix.GroupElement(tag.SecurityID),
|
|
quickfix.GroupElement(tag.SecurityIDSource),
|
|
NewNoSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.Product),
|
|
quickfix.GroupElement(tag.CFICode),
|
|
quickfix.GroupElement(tag.SecurityType),
|
|
quickfix.GroupElement(tag.MaturityMonthYear),
|
|
quickfix.GroupElement(tag.MaturityDate),
|
|
quickfix.GroupElement(tag.CouponPaymentDate),
|
|
quickfix.GroupElement(tag.IssueDate),
|
|
quickfix.GroupElement(tag.RepoCollateralSecurityType),
|
|
quickfix.GroupElement(tag.RepurchaseTerm),
|
|
quickfix.GroupElement(tag.RepurchaseRate),
|
|
quickfix.GroupElement(tag.Factor),
|
|
quickfix.GroupElement(tag.CreditRating),
|
|
quickfix.GroupElement(tag.InstrRegistry),
|
|
quickfix.GroupElement(tag.CountryOfIssue),
|
|
quickfix.GroupElement(tag.StateOrProvinceOfIssue),
|
|
quickfix.GroupElement(tag.LocaleOfIssue),
|
|
quickfix.GroupElement(tag.RedemptionDate),
|
|
quickfix.GroupElement(tag.StrikePrice),
|
|
quickfix.GroupElement(tag.OptAttribute),
|
|
quickfix.GroupElement(tag.ContractMultiplier),
|
|
quickfix.GroupElement(tag.CouponRate),
|
|
quickfix.GroupElement(tag.SecurityExchange),
|
|
quickfix.GroupElement(tag.Issuer),
|
|
quickfix.GroupElement(tag.EncodedIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedIssuer),
|
|
quickfix.GroupElement(tag.SecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedSecurityDesc),
|
|
quickfix.GroupElement(tag.Currency),
|
|
NewNoLegsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.TradingSessionID),
|
|
quickfix.GroupElement(tag.TradingSessionSubID),
|
|
quickfix.GroupElement(tag.Text),
|
|
quickfix.GroupElement(tag.EncodedTextLen),
|
|
quickfix.GroupElement(tag.EncodedText),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoRelatedSym to this group.
|
|
func (m NoRelatedSymRepeatingGroup) Add() NoRelatedSym {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoRelatedSym{g}
|
|
}
|
|
|
|
// Get returns the ith NoRelatedSym in the NoRelatedSymRepeatinGroup.
|
|
func (m NoRelatedSymRepeatingGroup) Get(i int) NoRelatedSym {
|
|
return NoRelatedSym{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyingSecurityAltID is a repeating group element, Tag 457.
|
|
type NoUnderlyingSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingSecurityAltID sets UnderlyingSecurityAltID, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) {
|
|
m.Set(field.NewUnderlyingSecurityAltID(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityAltIDSource sets UnderlyingSecurityAltIDSource, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltIDSource(v string) {
|
|
m.Set(field.NewUnderlyingSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetUnderlyingSecurityAltID gets UnderlyingSecurityAltID, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) GetUnderlyingSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityAltIDSource gets UnderlyingSecurityAltIDSource, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) GetUnderlyingSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasUnderlyingSecurityAltID returns true if UnderlyingSecurityAltID is present, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) HasUnderlyingSecurityAltID() bool {
|
|
return m.Has(tag.UnderlyingSecurityAltID)
|
|
}
|
|
|
|
// HasUnderlyingSecurityAltIDSource returns true if UnderlyingSecurityAltIDSource is present, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) HasUnderlyingSecurityAltIDSource() bool {
|
|
return m.Has(tag.UnderlyingSecurityAltIDSource)
|
|
}
|
|
|
|
// NoUnderlyingSecurityAltIDRepeatingGroup is a repeating group, Tag 457.
|
|
type NoUnderlyingSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingSecurityAltIDRepeatingGroup returns an initialized, NoUnderlyingSecurityAltIDRepeatingGroup.
|
|
func NewNoUnderlyingSecurityAltIDRepeatingGroup() NoUnderlyingSecurityAltIDRepeatingGroup {
|
|
return NoUnderlyingSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyingSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingSecurityAltID),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyingSecurityAltID to this group.
|
|
func (m NoUnderlyingSecurityAltIDRepeatingGroup) Add() NoUnderlyingSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyingSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyingSecurityAltID in the NoUnderlyingSecurityAltIDRepeatinGroup.
|
|
func (m NoUnderlyingSecurityAltIDRepeatingGroup) Get(i int) NoUnderlyingSecurityAltID {
|
|
return NoUnderlyingSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|