Files
qfixdpl/quickfix/gen/fix43/securitydefinition/SecurityDefinition.generated.go
2026-03-09 15:35:32 -03:00

1807 lines
52 KiB
Go

// Code generated by quickfix. DO NOT EDIT.
package securitydefinition
import (
"github.com/shopspring/decimal"
"quantex.com/qfixdpl/quickfix"
"quantex.com/qfixdpl/quickfix/gen/enum"
"quantex.com/qfixdpl/quickfix/gen/field"
"quantex.com/qfixdpl/quickfix/gen/fix43"
"quantex.com/qfixdpl/quickfix/gen/tag"
)
// SecurityDefinition is the fix43 SecurityDefinition type, MsgType = d.
type SecurityDefinition struct {
fix43.Header
*quickfix.Body
fix43.Trailer
Message *quickfix.Message
}
// FromMessage creates a SecurityDefinition from a quickfix.Message instance.
func FromMessage(m *quickfix.Message) SecurityDefinition {
return SecurityDefinition{
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 SecurityDefinition) ToMessage() *quickfix.Message {
return m.Message
}
// New returns a SecurityDefinition initialized with the required fields for SecurityDefinition.
func New(securityreqid field.SecurityReqIDField, securityresponseid field.SecurityResponseIDField, securityresponsetype field.SecurityResponseTypeField) (m SecurityDefinition) {
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("d"))
m.Set(securityreqid)
m.Set(securityresponseid)
m.Set(securityresponsetype)
return
}
// A RouteOut is the callback type that should be implemented for routing Message.
type RouteOut func(msg SecurityDefinition, 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", "d", r
}
// SetCurrency sets Currency, Tag 15.
func (m SecurityDefinition) SetCurrency(v string) {
m.Set(field.NewCurrency(v))
}
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
func (m SecurityDefinition) SetSecurityIDSource(v enum.SecurityIDSource) {
m.Set(field.NewSecurityIDSource(v))
}
// SetSecurityID sets SecurityID, Tag 48.
func (m SecurityDefinition) SetSecurityID(v string) {
m.Set(field.NewSecurityID(v))
}
// SetSymbol sets Symbol, Tag 55.
func (m SecurityDefinition) SetSymbol(v string) {
m.Set(field.NewSymbol(v))
}
// SetText sets Text, Tag 58.
func (m SecurityDefinition) SetText(v string) {
m.Set(field.NewText(v))
}
// SetSymbolSfx sets SymbolSfx, Tag 65.
func (m SecurityDefinition) SetSymbolSfx(v enum.SymbolSfx) {
m.Set(field.NewSymbolSfx(v))
}
// SetIssuer sets Issuer, Tag 106.
func (m SecurityDefinition) SetIssuer(v string) {
m.Set(field.NewIssuer(v))
}
// SetSecurityDesc sets SecurityDesc, Tag 107.
func (m SecurityDefinition) SetSecurityDesc(v string) {
m.Set(field.NewSecurityDesc(v))
}
// SetSecurityType sets SecurityType, Tag 167.
func (m SecurityDefinition) SetSecurityType(v enum.SecurityType) {
m.Set(field.NewSecurityType(v))
}
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
func (m SecurityDefinition) SetMaturityMonthYear(v string) {
m.Set(field.NewMaturityMonthYear(v))
}
// SetStrikePrice sets StrikePrice, Tag 202.
func (m SecurityDefinition) SetStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikePrice(value, scale))
}
// SetOptAttribute sets OptAttribute, Tag 206.
func (m SecurityDefinition) SetOptAttribute(v string) {
m.Set(field.NewOptAttribute(v))
}
// SetSecurityExchange sets SecurityExchange, Tag 207.
func (m SecurityDefinition) SetSecurityExchange(v string) {
m.Set(field.NewSecurityExchange(v))
}
// SetCouponRate sets CouponRate, Tag 223.
func (m SecurityDefinition) SetCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewCouponRate(value, scale))
}
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
func (m SecurityDefinition) SetCouponPaymentDate(v string) {
m.Set(field.NewCouponPaymentDate(v))
}
// SetIssueDate sets IssueDate, Tag 225.
func (m SecurityDefinition) SetIssueDate(v string) {
m.Set(field.NewIssueDate(v))
}
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
func (m SecurityDefinition) SetRepurchaseTerm(v int) {
m.Set(field.NewRepurchaseTerm(v))
}
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
func (m SecurityDefinition) SetRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewRepurchaseRate(value, scale))
}
// SetFactor sets Factor, Tag 228.
func (m SecurityDefinition) SetFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewFactor(value, scale))
}
// SetContractMultiplier sets ContractMultiplier, Tag 231.
func (m SecurityDefinition) SetContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewContractMultiplier(value, scale))
}
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
func (m SecurityDefinition) SetRepoCollateralSecurityType(v int) {
m.Set(field.NewRepoCollateralSecurityType(v))
}
// SetRedemptionDate sets RedemptionDate, Tag 240.
func (m SecurityDefinition) SetRedemptionDate(v string) {
m.Set(field.NewRedemptionDate(v))
}
// SetCreditRating sets CreditRating, Tag 255.
func (m SecurityDefinition) SetCreditRating(v string) {
m.Set(field.NewCreditRating(v))
}
// SetSecurityReqID sets SecurityReqID, Tag 320.
func (m SecurityDefinition) SetSecurityReqID(v string) {
m.Set(field.NewSecurityReqID(v))
}
// SetSecurityResponseID sets SecurityResponseID, Tag 322.
func (m SecurityDefinition) SetSecurityResponseID(v string) {
m.Set(field.NewSecurityResponseID(v))
}
// SetSecurityResponseType sets SecurityResponseType, Tag 323.
func (m SecurityDefinition) SetSecurityResponseType(v enum.SecurityResponseType) {
m.Set(field.NewSecurityResponseType(v))
}
// SetTradingSessionID sets TradingSessionID, Tag 336.
func (m SecurityDefinition) SetTradingSessionID(v enum.TradingSessionID) {
m.Set(field.NewTradingSessionID(v))
}
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
func (m SecurityDefinition) SetEncodedIssuerLen(v int) {
m.Set(field.NewEncodedIssuerLen(v))
}
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
func (m SecurityDefinition) SetEncodedIssuer(v string) {
m.Set(field.NewEncodedIssuer(v))
}
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
func (m SecurityDefinition) SetEncodedSecurityDescLen(v int) {
m.Set(field.NewEncodedSecurityDescLen(v))
}
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
func (m SecurityDefinition) SetEncodedSecurityDesc(v string) {
m.Set(field.NewEncodedSecurityDesc(v))
}
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
func (m SecurityDefinition) SetEncodedTextLen(v int) {
m.Set(field.NewEncodedTextLen(v))
}
// SetEncodedText sets EncodedText, Tag 355.
func (m SecurityDefinition) SetEncodedText(v string) {
m.Set(field.NewEncodedText(v))
}
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
func (m SecurityDefinition) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
// SetProduct sets Product, Tag 460.
func (m SecurityDefinition) SetProduct(v enum.Product) {
m.Set(field.NewProduct(v))
}
// SetCFICode sets CFICode, Tag 461.
func (m SecurityDefinition) SetCFICode(v string) {
m.Set(field.NewCFICode(v))
}
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
func (m SecurityDefinition) SetCountryOfIssue(v string) {
m.Set(field.NewCountryOfIssue(v))
}
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
func (m SecurityDefinition) SetStateOrProvinceOfIssue(v string) {
m.Set(field.NewStateOrProvinceOfIssue(v))
}
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
func (m SecurityDefinition) SetLocaleOfIssue(v string) {
m.Set(field.NewLocaleOfIssue(v))
}
// SetMaturityDate sets MaturityDate, Tag 541.
func (m SecurityDefinition) SetMaturityDate(v string) {
m.Set(field.NewMaturityDate(v))
}
// SetInstrRegistry sets InstrRegistry, Tag 543.
func (m SecurityDefinition) SetInstrRegistry(v enum.InstrRegistry) {
m.Set(field.NewInstrRegistry(v))
}
// SetNoLegs sets NoLegs, Tag 555.
func (m SecurityDefinition) SetNoLegs(f NoLegsRepeatingGroup) {
m.SetGroup(f)
}
// SetRoundLot sets RoundLot, Tag 561.
func (m SecurityDefinition) SetRoundLot(value decimal.Decimal, scale int32) {
m.Set(field.NewRoundLot(value, scale))
}
// SetMinTradeVol sets MinTradeVol, Tag 562.
func (m SecurityDefinition) SetMinTradeVol(value decimal.Decimal, scale int32) {
m.Set(field.NewMinTradeVol(value, scale))
}
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
func (m SecurityDefinition) SetTradingSessionSubID(v enum.TradingSessionSubID) {
m.Set(field.NewTradingSessionSubID(v))
}
// GetCurrency gets Currency, Tag 15.
func (m SecurityDefinition) GetCurrency() (v string, err quickfix.MessageRejectError) {
var f field.CurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
func (m SecurityDefinition) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
var f field.SecurityIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityID gets SecurityID, Tag 48.
func (m SecurityDefinition) GetSecurityID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSymbol gets Symbol, Tag 55.
func (m SecurityDefinition) GetSymbol() (v string, err quickfix.MessageRejectError) {
var f field.SymbolField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetText gets Text, Tag 58.
func (m SecurityDefinition) GetText() (v string, err quickfix.MessageRejectError) {
var f field.TextField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSymbolSfx gets SymbolSfx, Tag 65.
func (m SecurityDefinition) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
var f field.SymbolSfxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetIssuer gets Issuer, Tag 106.
func (m SecurityDefinition) GetIssuer() (v string, err quickfix.MessageRejectError) {
var f field.IssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityDesc gets SecurityDesc, Tag 107.
func (m SecurityDefinition) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.SecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityType gets SecurityType, Tag 167.
func (m SecurityDefinition) 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 SecurityDefinition) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
var f field.MaturityMonthYearField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetStrikePrice gets StrikePrice, Tag 202.
func (m SecurityDefinition) 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 SecurityDefinition) GetOptAttribute() (v string, err quickfix.MessageRejectError) {
var f field.OptAttributeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityExchange gets SecurityExchange, Tag 207.
func (m SecurityDefinition) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
var f field.SecurityExchangeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCouponRate gets CouponRate, Tag 223.
func (m SecurityDefinition) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.CouponRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCouponPaymentDate gets CouponPaymentDate, Tag 224.
func (m SecurityDefinition) 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 SecurityDefinition) GetIssueDate() (v string, err quickfix.MessageRejectError) {
var f field.IssueDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRepurchaseTerm gets RepurchaseTerm, Tag 226.
func (m SecurityDefinition) 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 SecurityDefinition) 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 SecurityDefinition) GetFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.FactorField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetContractMultiplier gets ContractMultiplier, Tag 231.
func (m SecurityDefinition) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.ContractMultiplierField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239.
func (m SecurityDefinition) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
var f field.RepoCollateralSecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRedemptionDate gets RedemptionDate, Tag 240.
func (m SecurityDefinition) GetRedemptionDate() (v string, err quickfix.MessageRejectError) {
var f field.RedemptionDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCreditRating gets CreditRating, Tag 255.
func (m SecurityDefinition) GetCreditRating() (v string, err quickfix.MessageRejectError) {
var f field.CreditRatingField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityReqID gets SecurityReqID, Tag 320.
func (m SecurityDefinition) 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 SecurityDefinition) GetSecurityResponseID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityResponseIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityResponseType gets SecurityResponseType, Tag 323.
func (m SecurityDefinition) GetSecurityResponseType() (v enum.SecurityResponseType, err quickfix.MessageRejectError) {
var f field.SecurityResponseTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetTradingSessionID gets TradingSessionID, Tag 336.
func (m SecurityDefinition) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
var f field.TradingSessionIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
func (m SecurityDefinition) 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 SecurityDefinition) GetEncodedIssuer() (v string, err quickfix.MessageRejectError) {
var f field.EncodedIssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350.
func (m SecurityDefinition) 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 SecurityDefinition) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.EncodedSecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
func (m SecurityDefinition) 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 SecurityDefinition) GetEncodedText() (v string, err quickfix.MessageRejectError) {
var f field.EncodedTextField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
func (m SecurityDefinition) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoSecurityAltIDRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// GetProduct gets Product, Tag 460.
func (m SecurityDefinition) 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 SecurityDefinition) GetCFICode() (v string, err quickfix.MessageRejectError) {
var f field.CFICodeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCountryOfIssue gets CountryOfIssue, Tag 470.
func (m SecurityDefinition) 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 SecurityDefinition) 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 SecurityDefinition) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.LocaleOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetMaturityDate gets MaturityDate, Tag 541.
func (m SecurityDefinition) GetMaturityDate() (v string, err quickfix.MessageRejectError) {
var f field.MaturityDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetInstrRegistry gets InstrRegistry, Tag 543.
func (m SecurityDefinition) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
var f field.InstrRegistryField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoLegs gets NoLegs, Tag 555.
func (m SecurityDefinition) GetNoLegs() (NoLegsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoLegsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// GetRoundLot gets RoundLot, Tag 561.
func (m SecurityDefinition) GetRoundLot() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.RoundLotField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetMinTradeVol gets MinTradeVol, Tag 562.
func (m SecurityDefinition) GetMinTradeVol() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.MinTradeVolField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
func (m SecurityDefinition) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
var f field.TradingSessionSubIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// HasCurrency returns true if Currency is present, Tag 15.
func (m SecurityDefinition) HasCurrency() bool {
return m.Has(tag.Currency)
}
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
func (m SecurityDefinition) HasSecurityIDSource() bool {
return m.Has(tag.SecurityIDSource)
}
// HasSecurityID returns true if SecurityID is present, Tag 48.
func (m SecurityDefinition) HasSecurityID() bool {
return m.Has(tag.SecurityID)
}
// HasSymbol returns true if Symbol is present, Tag 55.
func (m SecurityDefinition) HasSymbol() bool {
return m.Has(tag.Symbol)
}
// HasText returns true if Text is present, Tag 58.
func (m SecurityDefinition) HasText() bool {
return m.Has(tag.Text)
}
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
func (m SecurityDefinition) HasSymbolSfx() bool {
return m.Has(tag.SymbolSfx)
}
// HasIssuer returns true if Issuer is present, Tag 106.
func (m SecurityDefinition) HasIssuer() bool {
return m.Has(tag.Issuer)
}
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
func (m SecurityDefinition) HasSecurityDesc() bool {
return m.Has(tag.SecurityDesc)
}
// HasSecurityType returns true if SecurityType is present, Tag 167.
func (m SecurityDefinition) HasSecurityType() bool {
return m.Has(tag.SecurityType)
}
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
func (m SecurityDefinition) HasMaturityMonthYear() bool {
return m.Has(tag.MaturityMonthYear)
}
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
func (m SecurityDefinition) HasStrikePrice() bool {
return m.Has(tag.StrikePrice)
}
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
func (m SecurityDefinition) HasOptAttribute() bool {
return m.Has(tag.OptAttribute)
}
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
func (m SecurityDefinition) HasSecurityExchange() bool {
return m.Has(tag.SecurityExchange)
}
// HasCouponRate returns true if CouponRate is present, Tag 223.
func (m SecurityDefinition) HasCouponRate() bool {
return m.Has(tag.CouponRate)
}
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
func (m SecurityDefinition) HasCouponPaymentDate() bool {
return m.Has(tag.CouponPaymentDate)
}
// HasIssueDate returns true if IssueDate is present, Tag 225.
func (m SecurityDefinition) HasIssueDate() bool {
return m.Has(tag.IssueDate)
}
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
func (m SecurityDefinition) HasRepurchaseTerm() bool {
return m.Has(tag.RepurchaseTerm)
}
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
func (m SecurityDefinition) HasRepurchaseRate() bool {
return m.Has(tag.RepurchaseRate)
}
// HasFactor returns true if Factor is present, Tag 228.
func (m SecurityDefinition) HasFactor() bool {
return m.Has(tag.Factor)
}
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
func (m SecurityDefinition) HasContractMultiplier() bool {
return m.Has(tag.ContractMultiplier)
}
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
func (m SecurityDefinition) HasRepoCollateralSecurityType() bool {
return m.Has(tag.RepoCollateralSecurityType)
}
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
func (m SecurityDefinition) HasRedemptionDate() bool {
return m.Has(tag.RedemptionDate)
}
// HasCreditRating returns true if CreditRating is present, Tag 255.
func (m SecurityDefinition) HasCreditRating() bool {
return m.Has(tag.CreditRating)
}
// HasSecurityReqID returns true if SecurityReqID is present, Tag 320.
func (m SecurityDefinition) HasSecurityReqID() bool {
return m.Has(tag.SecurityReqID)
}
// HasSecurityResponseID returns true if SecurityResponseID is present, Tag 322.
func (m SecurityDefinition) HasSecurityResponseID() bool {
return m.Has(tag.SecurityResponseID)
}
// HasSecurityResponseType returns true if SecurityResponseType is present, Tag 323.
func (m SecurityDefinition) HasSecurityResponseType() bool {
return m.Has(tag.SecurityResponseType)
}
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
func (m SecurityDefinition) HasTradingSessionID() bool {
return m.Has(tag.TradingSessionID)
}
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
func (m SecurityDefinition) HasEncodedIssuerLen() bool {
return m.Has(tag.EncodedIssuerLen)
}
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
func (m SecurityDefinition) HasEncodedIssuer() bool {
return m.Has(tag.EncodedIssuer)
}
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
func (m SecurityDefinition) HasEncodedSecurityDescLen() bool {
return m.Has(tag.EncodedSecurityDescLen)
}
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
func (m SecurityDefinition) HasEncodedSecurityDesc() bool {
return m.Has(tag.EncodedSecurityDesc)
}
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
func (m SecurityDefinition) HasEncodedTextLen() bool {
return m.Has(tag.EncodedTextLen)
}
// HasEncodedText returns true if EncodedText is present, Tag 355.
func (m SecurityDefinition) HasEncodedText() bool {
return m.Has(tag.EncodedText)
}
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
func (m SecurityDefinition) HasNoSecurityAltID() bool {
return m.Has(tag.NoSecurityAltID)
}
// HasProduct returns true if Product is present, Tag 460.
func (m SecurityDefinition) HasProduct() bool {
return m.Has(tag.Product)
}
// HasCFICode returns true if CFICode is present, Tag 461.
func (m SecurityDefinition) HasCFICode() bool {
return m.Has(tag.CFICode)
}
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
func (m SecurityDefinition) HasCountryOfIssue() bool {
return m.Has(tag.CountryOfIssue)
}
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
func (m SecurityDefinition) HasStateOrProvinceOfIssue() bool {
return m.Has(tag.StateOrProvinceOfIssue)
}
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
func (m SecurityDefinition) HasLocaleOfIssue() bool {
return m.Has(tag.LocaleOfIssue)
}
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
func (m SecurityDefinition) HasMaturityDate() bool {
return m.Has(tag.MaturityDate)
}
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
func (m SecurityDefinition) HasInstrRegistry() bool {
return m.Has(tag.InstrRegistry)
}
// HasNoLegs returns true if NoLegs is present, Tag 555.
func (m SecurityDefinition) HasNoLegs() bool {
return m.Has(tag.NoLegs)
}
// HasRoundLot returns true if RoundLot is present, Tag 561.
func (m SecurityDefinition) HasRoundLot() bool {
return m.Has(tag.RoundLot)
}
// HasMinTradeVol returns true if MinTradeVol is present, Tag 562.
func (m SecurityDefinition) HasMinTradeVol() bool {
return m.Has(tag.MinTradeVol)
}
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
func (m SecurityDefinition) HasTradingSessionSubID() bool {
return m.Has(tag.TradingSessionSubID)
}
// 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)}
}