// Code generated by quickfix. DO NOT EDIT. package adjustedpositionreport 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/fixt11" "quantex.com/qfixpt/quickfix/gen/tag" ) // AdjustedPositionReport is the fix50 AdjustedPositionReport type, MsgType = BL. type AdjustedPositionReport struct { fixt11.Header *quickfix.Body fixt11.Trailer Message *quickfix.Message } // FromMessage creates a AdjustedPositionReport from a quickfix.Message instance. func FromMessage(m *quickfix.Message) AdjustedPositionReport { return AdjustedPositionReport{ Header: fixt11.Header{Header: &m.Header}, Body: &m.Body, Trailer: fixt11.Trailer{Trailer: &m.Trailer}, Message: m, } } // ToMessage returns a quickfix.Message instance. func (m AdjustedPositionReport) ToMessage() *quickfix.Message { return m.Message } // New returns a AdjustedPositionReport initialized with the required fields for AdjustedPositionReport. func New(posmaintrptid field.PosMaintRptIDField, clearingbusinessdate field.ClearingBusinessDateField) (m AdjustedPositionReport) { m.Message = quickfix.NewMessage() m.Header = fixt11.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("BL")) m.Set(posmaintrptid) m.Set(clearingbusinessdate) return } // A RouteOut is the callback type that should be implemented for routing Message. type RouteOut func(msg AdjustedPositionReport, 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 "7", "BL", r } // SetSecurityIDSource sets SecurityIDSource, Tag 22. func (m AdjustedPositionReport) SetSecurityIDSource(v enum.SecurityIDSource) { m.Set(field.NewSecurityIDSource(v)) } // SetSecurityID sets SecurityID, Tag 48. func (m AdjustedPositionReport) SetSecurityID(v string) { m.Set(field.NewSecurityID(v)) } // SetSymbol sets Symbol, Tag 55. func (m AdjustedPositionReport) SetSymbol(v string) { m.Set(field.NewSymbol(v)) } // SetSymbolSfx sets SymbolSfx, Tag 65. func (m AdjustedPositionReport) SetSymbolSfx(v enum.SymbolSfx) { m.Set(field.NewSymbolSfx(v)) } // SetIssuer sets Issuer, Tag 106. func (m AdjustedPositionReport) SetIssuer(v string) { m.Set(field.NewIssuer(v)) } // SetSecurityDesc sets SecurityDesc, Tag 107. func (m AdjustedPositionReport) SetSecurityDesc(v string) { m.Set(field.NewSecurityDesc(v)) } // SetSecurityType sets SecurityType, Tag 167. func (m AdjustedPositionReport) SetSecurityType(v enum.SecurityType) { m.Set(field.NewSecurityType(v)) } // SetMaturityMonthYear sets MaturityMonthYear, Tag 200. func (m AdjustedPositionReport) SetMaturityMonthYear(v string) { m.Set(field.NewMaturityMonthYear(v)) } // SetStrikePrice sets StrikePrice, Tag 202. func (m AdjustedPositionReport) SetStrikePrice(value decimal.Decimal, scale int32) { m.Set(field.NewStrikePrice(value, scale)) } // SetOptAttribute sets OptAttribute, Tag 206. func (m AdjustedPositionReport) SetOptAttribute(v string) { m.Set(field.NewOptAttribute(v)) } // SetSecurityExchange sets SecurityExchange, Tag 207. func (m AdjustedPositionReport) SetSecurityExchange(v string) { m.Set(field.NewSecurityExchange(v)) } // SetCouponRate sets CouponRate, Tag 223. func (m AdjustedPositionReport) SetCouponRate(value decimal.Decimal, scale int32) { m.Set(field.NewCouponRate(value, scale)) } // SetCouponPaymentDate sets CouponPaymentDate, Tag 224. func (m AdjustedPositionReport) SetCouponPaymentDate(v string) { m.Set(field.NewCouponPaymentDate(v)) } // SetIssueDate sets IssueDate, Tag 225. func (m AdjustedPositionReport) SetIssueDate(v string) { m.Set(field.NewIssueDate(v)) } // SetRepurchaseTerm sets RepurchaseTerm, Tag 226. func (m AdjustedPositionReport) SetRepurchaseTerm(v int) { m.Set(field.NewRepurchaseTerm(v)) } // SetRepurchaseRate sets RepurchaseRate, Tag 227. func (m AdjustedPositionReport) SetRepurchaseRate(value decimal.Decimal, scale int32) { m.Set(field.NewRepurchaseRate(value, scale)) } // SetFactor sets Factor, Tag 228. func (m AdjustedPositionReport) SetFactor(value decimal.Decimal, scale int32) { m.Set(field.NewFactor(value, scale)) } // SetContractMultiplier sets ContractMultiplier, Tag 231. func (m AdjustedPositionReport) SetContractMultiplier(value decimal.Decimal, scale int32) { m.Set(field.NewContractMultiplier(value, scale)) } // SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239. func (m AdjustedPositionReport) SetRepoCollateralSecurityType(v int) { m.Set(field.NewRepoCollateralSecurityType(v)) } // SetRedemptionDate sets RedemptionDate, Tag 240. func (m AdjustedPositionReport) SetRedemptionDate(v string) { m.Set(field.NewRedemptionDate(v)) } // SetCreditRating sets CreditRating, Tag 255. func (m AdjustedPositionReport) SetCreditRating(v string) { m.Set(field.NewCreditRating(v)) } // SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348. func (m AdjustedPositionReport) SetEncodedIssuerLen(v int) { m.Set(field.NewEncodedIssuerLen(v)) } // SetEncodedIssuer sets EncodedIssuer, Tag 349. func (m AdjustedPositionReport) SetEncodedIssuer(v string) { m.Set(field.NewEncodedIssuer(v)) } // SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350. func (m AdjustedPositionReport) SetEncodedSecurityDescLen(v int) { m.Set(field.NewEncodedSecurityDescLen(v)) } // SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351. func (m AdjustedPositionReport) SetEncodedSecurityDesc(v string) { m.Set(field.NewEncodedSecurityDesc(v)) } // SetNoPartyIDs sets NoPartyIDs, Tag 453. func (m AdjustedPositionReport) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) { m.SetGroup(f) } // SetNoSecurityAltID sets NoSecurityAltID, Tag 454. func (m AdjustedPositionReport) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) { m.SetGroup(f) } // SetProduct sets Product, Tag 460. func (m AdjustedPositionReport) SetProduct(v enum.Product) { m.Set(field.NewProduct(v)) } // SetCFICode sets CFICode, Tag 461. func (m AdjustedPositionReport) SetCFICode(v string) { m.Set(field.NewCFICode(v)) } // SetCountryOfIssue sets CountryOfIssue, Tag 470. func (m AdjustedPositionReport) SetCountryOfIssue(v string) { m.Set(field.NewCountryOfIssue(v)) } // SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471. func (m AdjustedPositionReport) SetStateOrProvinceOfIssue(v string) { m.Set(field.NewStateOrProvinceOfIssue(v)) } // SetLocaleOfIssue sets LocaleOfIssue, Tag 472. func (m AdjustedPositionReport) SetLocaleOfIssue(v string) { m.Set(field.NewLocaleOfIssue(v)) } // SetMaturityDate sets MaturityDate, Tag 541. func (m AdjustedPositionReport) SetMaturityDate(v string) { m.Set(field.NewMaturityDate(v)) } // SetInstrRegistry sets InstrRegistry, Tag 543. func (m AdjustedPositionReport) SetInstrRegistry(v enum.InstrRegistry) { m.Set(field.NewInstrRegistry(v)) } // SetContractSettlMonth sets ContractSettlMonth, Tag 667. func (m AdjustedPositionReport) SetContractSettlMonth(v string) { m.Set(field.NewContractSettlMonth(v)) } // SetPool sets Pool, Tag 691. func (m AdjustedPositionReport) SetPool(v string) { m.Set(field.NewPool(v)) } // SetNoPositions sets NoPositions, Tag 702. func (m AdjustedPositionReport) SetNoPositions(f NoPositionsRepeatingGroup) { m.SetGroup(f) } // SetPosMaintRptRefID sets PosMaintRptRefID, Tag 714. func (m AdjustedPositionReport) SetPosMaintRptRefID(v string) { m.Set(field.NewPosMaintRptRefID(v)) } // SetClearingBusinessDate sets ClearingBusinessDate, Tag 715. func (m AdjustedPositionReport) SetClearingBusinessDate(v string) { m.Set(field.NewClearingBusinessDate(v)) } // SetSettlSessID sets SettlSessID, Tag 716. func (m AdjustedPositionReport) SetSettlSessID(v enum.SettlSessID) { m.Set(field.NewSettlSessID(v)) } // SetPosMaintRptID sets PosMaintRptID, Tag 721. func (m AdjustedPositionReport) SetPosMaintRptID(v string) { m.Set(field.NewPosMaintRptID(v)) } // SetPosReqType sets PosReqType, Tag 724. func (m AdjustedPositionReport) SetPosReqType(v enum.PosReqType) { m.Set(field.NewPosReqType(v)) } // SetSettlPrice sets SettlPrice, Tag 730. func (m AdjustedPositionReport) SetSettlPrice(value decimal.Decimal, scale int32) { m.Set(field.NewSettlPrice(value, scale)) } // SetPriorSettlPrice sets PriorSettlPrice, Tag 734. func (m AdjustedPositionReport) SetPriorSettlPrice(value decimal.Decimal, scale int32) { m.Set(field.NewPriorSettlPrice(value, scale)) } // SetSecuritySubType sets SecuritySubType, Tag 762. func (m AdjustedPositionReport) SetSecuritySubType(v string) { m.Set(field.NewSecuritySubType(v)) } // SetNoEvents sets NoEvents, Tag 864. func (m AdjustedPositionReport) SetNoEvents(f NoEventsRepeatingGroup) { m.SetGroup(f) } // SetDatedDate sets DatedDate, Tag 873. func (m AdjustedPositionReport) SetDatedDate(v string) { m.Set(field.NewDatedDate(v)) } // SetInterestAccrualDate sets InterestAccrualDate, Tag 874. func (m AdjustedPositionReport) SetInterestAccrualDate(v string) { m.Set(field.NewInterestAccrualDate(v)) } // SetCPProgram sets CPProgram, Tag 875. func (m AdjustedPositionReport) SetCPProgram(v enum.CPProgram) { m.Set(field.NewCPProgram(v)) } // SetCPRegType sets CPRegType, Tag 876. func (m AdjustedPositionReport) SetCPRegType(v string) { m.Set(field.NewCPRegType(v)) } // SetStrikeCurrency sets StrikeCurrency, Tag 947. func (m AdjustedPositionReport) SetStrikeCurrency(v string) { m.Set(field.NewStrikeCurrency(v)) } // SetSecurityStatus sets SecurityStatus, Tag 965. func (m AdjustedPositionReport) SetSecurityStatus(v enum.SecurityStatus) { m.Set(field.NewSecurityStatus(v)) } // SetSettleOnOpenFlag sets SettleOnOpenFlag, Tag 966. func (m AdjustedPositionReport) SetSettleOnOpenFlag(v string) { m.Set(field.NewSettleOnOpenFlag(v)) } // SetStrikeMultiplier sets StrikeMultiplier, Tag 967. func (m AdjustedPositionReport) SetStrikeMultiplier(value decimal.Decimal, scale int32) { m.Set(field.NewStrikeMultiplier(value, scale)) } // SetStrikeValue sets StrikeValue, Tag 968. func (m AdjustedPositionReport) SetStrikeValue(value decimal.Decimal, scale int32) { m.Set(field.NewStrikeValue(value, scale)) } // SetMinPriceIncrement sets MinPriceIncrement, Tag 969. func (m AdjustedPositionReport) SetMinPriceIncrement(value decimal.Decimal, scale int32) { m.Set(field.NewMinPriceIncrement(value, scale)) } // SetPositionLimit sets PositionLimit, Tag 970. func (m AdjustedPositionReport) SetPositionLimit(v int) { m.Set(field.NewPositionLimit(v)) } // SetNTPositionLimit sets NTPositionLimit, Tag 971. func (m AdjustedPositionReport) SetNTPositionLimit(v int) { m.Set(field.NewNTPositionLimit(v)) } // SetUnitOfMeasure sets UnitOfMeasure, Tag 996. func (m AdjustedPositionReport) SetUnitOfMeasure(v enum.UnitOfMeasure) { m.Set(field.NewUnitOfMeasure(v)) } // SetTimeUnit sets TimeUnit, Tag 997. func (m AdjustedPositionReport) SetTimeUnit(v enum.TimeUnit) { m.Set(field.NewTimeUnit(v)) } // SetNoInstrumentParties sets NoInstrumentParties, Tag 1018. func (m AdjustedPositionReport) SetNoInstrumentParties(f NoInstrumentPartiesRepeatingGroup) { m.SetGroup(f) } // SetInstrmtAssignmentMethod sets InstrmtAssignmentMethod, Tag 1049. func (m AdjustedPositionReport) SetInstrmtAssignmentMethod(v string) { m.Set(field.NewInstrmtAssignmentMethod(v)) } // SetMaturityTime sets MaturityTime, Tag 1079. func (m AdjustedPositionReport) SetMaturityTime(v string) { m.Set(field.NewMaturityTime(v)) } // GetSecurityIDSource gets SecurityIDSource, Tag 22. func (m AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) GetCreditRating() (v string, err quickfix.MessageRejectError) { var f field.CreditRatingField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348. func (m AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) { var f field.EncodedSecurityDescField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoPartyIDs gets NoPartyIDs, Tag 453. func (m AdjustedPositionReport) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoPartyIDsRepeatingGroup() err := m.GetGroup(f) return f, err } // GetNoSecurityAltID gets NoSecurityAltID, Tag 454. func (m AdjustedPositionReport) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) { f := NewNoSecurityAltIDRepeatingGroup() err := m.GetGroup(f) return f, err } // GetProduct gets Product, Tag 460. func (m AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) 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 AdjustedPositionReport) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) { var f field.InstrRegistryField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetContractSettlMonth gets ContractSettlMonth, Tag 667. func (m AdjustedPositionReport) GetContractSettlMonth() (v string, err quickfix.MessageRejectError) { var f field.ContractSettlMonthField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPool gets Pool, Tag 691. func (m AdjustedPositionReport) GetPool() (v string, err quickfix.MessageRejectError) { var f field.PoolField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoPositions gets NoPositions, Tag 702. func (m AdjustedPositionReport) GetNoPositions() (NoPositionsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoPositionsRepeatingGroup() err := m.GetGroup(f) return f, err } // GetPosMaintRptRefID gets PosMaintRptRefID, Tag 714. func (m AdjustedPositionReport) GetPosMaintRptRefID() (v string, err quickfix.MessageRejectError) { var f field.PosMaintRptRefIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetClearingBusinessDate gets ClearingBusinessDate, Tag 715. func (m AdjustedPositionReport) GetClearingBusinessDate() (v string, err quickfix.MessageRejectError) { var f field.ClearingBusinessDateField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetSettlSessID gets SettlSessID, Tag 716. func (m AdjustedPositionReport) GetSettlSessID() (v enum.SettlSessID, err quickfix.MessageRejectError) { var f field.SettlSessIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPosMaintRptID gets PosMaintRptID, Tag 721. func (m AdjustedPositionReport) GetPosMaintRptID() (v string, err quickfix.MessageRejectError) { var f field.PosMaintRptIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPosReqType gets PosReqType, Tag 724. func (m AdjustedPositionReport) GetPosReqType() (v enum.PosReqType, err quickfix.MessageRejectError) { var f field.PosReqTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetSettlPrice gets SettlPrice, Tag 730. func (m AdjustedPositionReport) GetSettlPrice() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.SettlPriceField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPriorSettlPrice gets PriorSettlPrice, Tag 734. func (m AdjustedPositionReport) GetPriorSettlPrice() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.PriorSettlPriceField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetSecuritySubType gets SecuritySubType, Tag 762. func (m AdjustedPositionReport) GetSecuritySubType() (v string, err quickfix.MessageRejectError) { var f field.SecuritySubTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoEvents gets NoEvents, Tag 864. func (m AdjustedPositionReport) GetNoEvents() (NoEventsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoEventsRepeatingGroup() err := m.GetGroup(f) return f, err } // GetDatedDate gets DatedDate, Tag 873. func (m AdjustedPositionReport) GetDatedDate() (v string, err quickfix.MessageRejectError) { var f field.DatedDateField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetInterestAccrualDate gets InterestAccrualDate, Tag 874. func (m AdjustedPositionReport) GetInterestAccrualDate() (v string, err quickfix.MessageRejectError) { var f field.InterestAccrualDateField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetCPProgram gets CPProgram, Tag 875. func (m AdjustedPositionReport) GetCPProgram() (v enum.CPProgram, err quickfix.MessageRejectError) { var f field.CPProgramField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetCPRegType gets CPRegType, Tag 876. func (m AdjustedPositionReport) GetCPRegType() (v string, err quickfix.MessageRejectError) { var f field.CPRegTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetStrikeCurrency gets StrikeCurrency, Tag 947. func (m AdjustedPositionReport) GetStrikeCurrency() (v string, err quickfix.MessageRejectError) { var f field.StrikeCurrencyField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetSecurityStatus gets SecurityStatus, Tag 965. func (m AdjustedPositionReport) GetSecurityStatus() (v enum.SecurityStatus, err quickfix.MessageRejectError) { var f field.SecurityStatusField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetSettleOnOpenFlag gets SettleOnOpenFlag, Tag 966. func (m AdjustedPositionReport) GetSettleOnOpenFlag() (v string, err quickfix.MessageRejectError) { var f field.SettleOnOpenFlagField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetStrikeMultiplier gets StrikeMultiplier, Tag 967. func (m AdjustedPositionReport) GetStrikeMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.StrikeMultiplierField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetStrikeValue gets StrikeValue, Tag 968. func (m AdjustedPositionReport) GetStrikeValue() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.StrikeValueField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetMinPriceIncrement gets MinPriceIncrement, Tag 969. func (m AdjustedPositionReport) GetMinPriceIncrement() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.MinPriceIncrementField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPositionLimit gets PositionLimit, Tag 970. func (m AdjustedPositionReport) GetPositionLimit() (v int, err quickfix.MessageRejectError) { var f field.PositionLimitField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNTPositionLimit gets NTPositionLimit, Tag 971. func (m AdjustedPositionReport) GetNTPositionLimit() (v int, err quickfix.MessageRejectError) { var f field.NTPositionLimitField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetUnitOfMeasure gets UnitOfMeasure, Tag 996. func (m AdjustedPositionReport) GetUnitOfMeasure() (v enum.UnitOfMeasure, err quickfix.MessageRejectError) { var f field.UnitOfMeasureField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetTimeUnit gets TimeUnit, Tag 997. func (m AdjustedPositionReport) GetTimeUnit() (v enum.TimeUnit, err quickfix.MessageRejectError) { var f field.TimeUnitField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoInstrumentParties gets NoInstrumentParties, Tag 1018. func (m AdjustedPositionReport) GetNoInstrumentParties() (NoInstrumentPartiesRepeatingGroup, quickfix.MessageRejectError) { f := NewNoInstrumentPartiesRepeatingGroup() err := m.GetGroup(f) return f, err } // GetInstrmtAssignmentMethod gets InstrmtAssignmentMethod, Tag 1049. func (m AdjustedPositionReport) GetInstrmtAssignmentMethod() (v string, err quickfix.MessageRejectError) { var f field.InstrmtAssignmentMethodField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetMaturityTime gets MaturityTime, Tag 1079. func (m AdjustedPositionReport) GetMaturityTime() (v string, err quickfix.MessageRejectError) { var f field.MaturityTimeField if err = m.Get(&f); err == nil { v = f.Value() } return } // HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22. func (m AdjustedPositionReport) HasSecurityIDSource() bool { return m.Has(tag.SecurityIDSource) } // HasSecurityID returns true if SecurityID is present, Tag 48. func (m AdjustedPositionReport) HasSecurityID() bool { return m.Has(tag.SecurityID) } // HasSymbol returns true if Symbol is present, Tag 55. func (m AdjustedPositionReport) HasSymbol() bool { return m.Has(tag.Symbol) } // HasSymbolSfx returns true if SymbolSfx is present, Tag 65. func (m AdjustedPositionReport) HasSymbolSfx() bool { return m.Has(tag.SymbolSfx) } // HasIssuer returns true if Issuer is present, Tag 106. func (m AdjustedPositionReport) HasIssuer() bool { return m.Has(tag.Issuer) } // HasSecurityDesc returns true if SecurityDesc is present, Tag 107. func (m AdjustedPositionReport) HasSecurityDesc() bool { return m.Has(tag.SecurityDesc) } // HasSecurityType returns true if SecurityType is present, Tag 167. func (m AdjustedPositionReport) HasSecurityType() bool { return m.Has(tag.SecurityType) } // HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200. func (m AdjustedPositionReport) HasMaturityMonthYear() bool { return m.Has(tag.MaturityMonthYear) } // HasStrikePrice returns true if StrikePrice is present, Tag 202. func (m AdjustedPositionReport) HasStrikePrice() bool { return m.Has(tag.StrikePrice) } // HasOptAttribute returns true if OptAttribute is present, Tag 206. func (m AdjustedPositionReport) HasOptAttribute() bool { return m.Has(tag.OptAttribute) } // HasSecurityExchange returns true if SecurityExchange is present, Tag 207. func (m AdjustedPositionReport) HasSecurityExchange() bool { return m.Has(tag.SecurityExchange) } // HasCouponRate returns true if CouponRate is present, Tag 223. func (m AdjustedPositionReport) HasCouponRate() bool { return m.Has(tag.CouponRate) } // HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224. func (m AdjustedPositionReport) HasCouponPaymentDate() bool { return m.Has(tag.CouponPaymentDate) } // HasIssueDate returns true if IssueDate is present, Tag 225. func (m AdjustedPositionReport) HasIssueDate() bool { return m.Has(tag.IssueDate) } // HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226. func (m AdjustedPositionReport) HasRepurchaseTerm() bool { return m.Has(tag.RepurchaseTerm) } // HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227. func (m AdjustedPositionReport) HasRepurchaseRate() bool { return m.Has(tag.RepurchaseRate) } // HasFactor returns true if Factor is present, Tag 228. func (m AdjustedPositionReport) HasFactor() bool { return m.Has(tag.Factor) } // HasContractMultiplier returns true if ContractMultiplier is present, Tag 231. func (m AdjustedPositionReport) HasContractMultiplier() bool { return m.Has(tag.ContractMultiplier) } // HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239. func (m AdjustedPositionReport) HasRepoCollateralSecurityType() bool { return m.Has(tag.RepoCollateralSecurityType) } // HasRedemptionDate returns true if RedemptionDate is present, Tag 240. func (m AdjustedPositionReport) HasRedemptionDate() bool { return m.Has(tag.RedemptionDate) } // HasCreditRating returns true if CreditRating is present, Tag 255. func (m AdjustedPositionReport) HasCreditRating() bool { return m.Has(tag.CreditRating) } // HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348. func (m AdjustedPositionReport) HasEncodedIssuerLen() bool { return m.Has(tag.EncodedIssuerLen) } // HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349. func (m AdjustedPositionReport) HasEncodedIssuer() bool { return m.Has(tag.EncodedIssuer) } // HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350. func (m AdjustedPositionReport) HasEncodedSecurityDescLen() bool { return m.Has(tag.EncodedSecurityDescLen) } // HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351. func (m AdjustedPositionReport) HasEncodedSecurityDesc() bool { return m.Has(tag.EncodedSecurityDesc) } // HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453. func (m AdjustedPositionReport) HasNoPartyIDs() bool { return m.Has(tag.NoPartyIDs) } // HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454. func (m AdjustedPositionReport) HasNoSecurityAltID() bool { return m.Has(tag.NoSecurityAltID) } // HasProduct returns true if Product is present, Tag 460. func (m AdjustedPositionReport) HasProduct() bool { return m.Has(tag.Product) } // HasCFICode returns true if CFICode is present, Tag 461. func (m AdjustedPositionReport) HasCFICode() bool { return m.Has(tag.CFICode) } // HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470. func (m AdjustedPositionReport) HasCountryOfIssue() bool { return m.Has(tag.CountryOfIssue) } // HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471. func (m AdjustedPositionReport) HasStateOrProvinceOfIssue() bool { return m.Has(tag.StateOrProvinceOfIssue) } // HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472. func (m AdjustedPositionReport) HasLocaleOfIssue() bool { return m.Has(tag.LocaleOfIssue) } // HasMaturityDate returns true if MaturityDate is present, Tag 541. func (m AdjustedPositionReport) HasMaturityDate() bool { return m.Has(tag.MaturityDate) } // HasInstrRegistry returns true if InstrRegistry is present, Tag 543. func (m AdjustedPositionReport) HasInstrRegistry() bool { return m.Has(tag.InstrRegistry) } // HasContractSettlMonth returns true if ContractSettlMonth is present, Tag 667. func (m AdjustedPositionReport) HasContractSettlMonth() bool { return m.Has(tag.ContractSettlMonth) } // HasPool returns true if Pool is present, Tag 691. func (m AdjustedPositionReport) HasPool() bool { return m.Has(tag.Pool) } // HasNoPositions returns true if NoPositions is present, Tag 702. func (m AdjustedPositionReport) HasNoPositions() bool { return m.Has(tag.NoPositions) } // HasPosMaintRptRefID returns true if PosMaintRptRefID is present, Tag 714. func (m AdjustedPositionReport) HasPosMaintRptRefID() bool { return m.Has(tag.PosMaintRptRefID) } // HasClearingBusinessDate returns true if ClearingBusinessDate is present, Tag 715. func (m AdjustedPositionReport) HasClearingBusinessDate() bool { return m.Has(tag.ClearingBusinessDate) } // HasSettlSessID returns true if SettlSessID is present, Tag 716. func (m AdjustedPositionReport) HasSettlSessID() bool { return m.Has(tag.SettlSessID) } // HasPosMaintRptID returns true if PosMaintRptID is present, Tag 721. func (m AdjustedPositionReport) HasPosMaintRptID() bool { return m.Has(tag.PosMaintRptID) } // HasPosReqType returns true if PosReqType is present, Tag 724. func (m AdjustedPositionReport) HasPosReqType() bool { return m.Has(tag.PosReqType) } // HasSettlPrice returns true if SettlPrice is present, Tag 730. func (m AdjustedPositionReport) HasSettlPrice() bool { return m.Has(tag.SettlPrice) } // HasPriorSettlPrice returns true if PriorSettlPrice is present, Tag 734. func (m AdjustedPositionReport) HasPriorSettlPrice() bool { return m.Has(tag.PriorSettlPrice) } // HasSecuritySubType returns true if SecuritySubType is present, Tag 762. func (m AdjustedPositionReport) HasSecuritySubType() bool { return m.Has(tag.SecuritySubType) } // HasNoEvents returns true if NoEvents is present, Tag 864. func (m AdjustedPositionReport) HasNoEvents() bool { return m.Has(tag.NoEvents) } // HasDatedDate returns true if DatedDate is present, Tag 873. func (m AdjustedPositionReport) HasDatedDate() bool { return m.Has(tag.DatedDate) } // HasInterestAccrualDate returns true if InterestAccrualDate is present, Tag 874. func (m AdjustedPositionReport) HasInterestAccrualDate() bool { return m.Has(tag.InterestAccrualDate) } // HasCPProgram returns true if CPProgram is present, Tag 875. func (m AdjustedPositionReport) HasCPProgram() bool { return m.Has(tag.CPProgram) } // HasCPRegType returns true if CPRegType is present, Tag 876. func (m AdjustedPositionReport) HasCPRegType() bool { return m.Has(tag.CPRegType) } // HasStrikeCurrency returns true if StrikeCurrency is present, Tag 947. func (m AdjustedPositionReport) HasStrikeCurrency() bool { return m.Has(tag.StrikeCurrency) } // HasSecurityStatus returns true if SecurityStatus is present, Tag 965. func (m AdjustedPositionReport) HasSecurityStatus() bool { return m.Has(tag.SecurityStatus) } // HasSettleOnOpenFlag returns true if SettleOnOpenFlag is present, Tag 966. func (m AdjustedPositionReport) HasSettleOnOpenFlag() bool { return m.Has(tag.SettleOnOpenFlag) } // HasStrikeMultiplier returns true if StrikeMultiplier is present, Tag 967. func (m AdjustedPositionReport) HasStrikeMultiplier() bool { return m.Has(tag.StrikeMultiplier) } // HasStrikeValue returns true if StrikeValue is present, Tag 968. func (m AdjustedPositionReport) HasStrikeValue() bool { return m.Has(tag.StrikeValue) } // HasMinPriceIncrement returns true if MinPriceIncrement is present, Tag 969. func (m AdjustedPositionReport) HasMinPriceIncrement() bool { return m.Has(tag.MinPriceIncrement) } // HasPositionLimit returns true if PositionLimit is present, Tag 970. func (m AdjustedPositionReport) HasPositionLimit() bool { return m.Has(tag.PositionLimit) } // HasNTPositionLimit returns true if NTPositionLimit is present, Tag 971. func (m AdjustedPositionReport) HasNTPositionLimit() bool { return m.Has(tag.NTPositionLimit) } // HasUnitOfMeasure returns true if UnitOfMeasure is present, Tag 996. func (m AdjustedPositionReport) HasUnitOfMeasure() bool { return m.Has(tag.UnitOfMeasure) } // HasTimeUnit returns true if TimeUnit is present, Tag 997. func (m AdjustedPositionReport) HasTimeUnit() bool { return m.Has(tag.TimeUnit) } // HasNoInstrumentParties returns true if NoInstrumentParties is present, Tag 1018. func (m AdjustedPositionReport) HasNoInstrumentParties() bool { return m.Has(tag.NoInstrumentParties) } // HasInstrmtAssignmentMethod returns true if InstrmtAssignmentMethod is present, Tag 1049. func (m AdjustedPositionReport) HasInstrmtAssignmentMethod() bool { return m.Has(tag.InstrmtAssignmentMethod) } // HasMaturityTime returns true if MaturityTime is present, Tag 1079. func (m AdjustedPositionReport) HasMaturityTime() bool { return m.Has(tag.MaturityTime) } // NoPartyIDs is a repeating group element, Tag 453. type NoPartyIDs struct { *quickfix.Group } // SetPartyID sets PartyID, Tag 448. func (m NoPartyIDs) SetPartyID(v string) { m.Set(field.NewPartyID(v)) } // SetPartyIDSource sets PartyIDSource, Tag 447. func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) { m.Set(field.NewPartyIDSource(v)) } // SetPartyRole sets PartyRole, Tag 452. func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) { m.Set(field.NewPartyRole(v)) } // SetNoPartySubIDs sets NoPartySubIDs, Tag 802. func (m NoPartyIDs) SetNoPartySubIDs(f NoPartySubIDsRepeatingGroup) { m.SetGroup(f) } // GetPartyID gets PartyID, Tag 448. func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) { var f field.PartyIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPartyIDSource gets PartyIDSource, Tag 447. func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) { var f field.PartyIDSourceField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPartyRole gets PartyRole, Tag 452. func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) { var f field.PartyRoleField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoPartySubIDs gets NoPartySubIDs, Tag 802. func (m NoPartyIDs) GetNoPartySubIDs() (NoPartySubIDsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoPartySubIDsRepeatingGroup() err := m.GetGroup(f) return f, err } // HasPartyID returns true if PartyID is present, Tag 448. func (m NoPartyIDs) HasPartyID() bool { return m.Has(tag.PartyID) } // HasPartyIDSource returns true if PartyIDSource is present, Tag 447. func (m NoPartyIDs) HasPartyIDSource() bool { return m.Has(tag.PartyIDSource) } // HasPartyRole returns true if PartyRole is present, Tag 452. func (m NoPartyIDs) HasPartyRole() bool { return m.Has(tag.PartyRole) } // HasNoPartySubIDs returns true if NoPartySubIDs is present, Tag 802. func (m NoPartyIDs) HasNoPartySubIDs() bool { return m.Has(tag.NoPartySubIDs) } // NoPartySubIDs is a repeating group element, Tag 802. type NoPartySubIDs struct { *quickfix.Group } // SetPartySubID sets PartySubID, Tag 523. func (m NoPartySubIDs) SetPartySubID(v string) { m.Set(field.NewPartySubID(v)) } // SetPartySubIDType sets PartySubIDType, Tag 803. func (m NoPartySubIDs) SetPartySubIDType(v enum.PartySubIDType) { m.Set(field.NewPartySubIDType(v)) } // GetPartySubID gets PartySubID, Tag 523. func (m NoPartySubIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) { var f field.PartySubIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPartySubIDType gets PartySubIDType, Tag 803. func (m NoPartySubIDs) GetPartySubIDType() (v enum.PartySubIDType, err quickfix.MessageRejectError) { var f field.PartySubIDTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // HasPartySubID returns true if PartySubID is present, Tag 523. func (m NoPartySubIDs) HasPartySubID() bool { return m.Has(tag.PartySubID) } // HasPartySubIDType returns true if PartySubIDType is present, Tag 803. func (m NoPartySubIDs) HasPartySubIDType() bool { return m.Has(tag.PartySubIDType) } // NoPartySubIDsRepeatingGroup is a repeating group, Tag 802. type NoPartySubIDsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoPartySubIDsRepeatingGroup returns an initialized, NoPartySubIDsRepeatingGroup. func NewNoPartySubIDsRepeatingGroup() NoPartySubIDsRepeatingGroup { return NoPartySubIDsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoPartySubIDs, quickfix.GroupTemplate{ quickfix.GroupElement(tag.PartySubID), quickfix.GroupElement(tag.PartySubIDType), }, ), } } // Add create and append a new NoPartySubIDs to this group. func (m NoPartySubIDsRepeatingGroup) Add() NoPartySubIDs { g := m.RepeatingGroup.Add() return NoPartySubIDs{g} } // Get returns the ith NoPartySubIDs in the NoPartySubIDsRepeatinGroup. func (m NoPartySubIDsRepeatingGroup) Get(i int) NoPartySubIDs { return NoPartySubIDs{m.RepeatingGroup.Get(i)} } // NoPartyIDsRepeatingGroup is a repeating group, Tag 453. type NoPartyIDsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup. func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup { return NoPartyIDsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoPartyIDs, quickfix.GroupTemplate{ quickfix.GroupElement(tag.PartyID), quickfix.GroupElement(tag.PartyIDSource), quickfix.GroupElement(tag.PartyRole), NewNoPartySubIDsRepeatingGroup(), }, ), } } // Add create and append a new NoPartyIDs to this group. func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs { g := m.RepeatingGroup.Add() return NoPartyIDs{g} } // Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup. func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs { return NoPartyIDs{m.RepeatingGroup.Get(i)} } // 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)} } // NoPositions is a repeating group element, Tag 702. type NoPositions struct { *quickfix.Group } // SetPosType sets PosType, Tag 703. func (m NoPositions) SetPosType(v enum.PosType) { m.Set(field.NewPosType(v)) } // SetLongQty sets LongQty, Tag 704. func (m NoPositions) SetLongQty(value decimal.Decimal, scale int32) { m.Set(field.NewLongQty(value, scale)) } // SetShortQty sets ShortQty, Tag 705. func (m NoPositions) SetShortQty(value decimal.Decimal, scale int32) { m.Set(field.NewShortQty(value, scale)) } // SetPosQtyStatus sets PosQtyStatus, Tag 706. func (m NoPositions) SetPosQtyStatus(v enum.PosQtyStatus) { m.Set(field.NewPosQtyStatus(v)) } // SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539. func (m NoPositions) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) { m.SetGroup(f) } // SetQuantityDate sets QuantityDate, Tag 976. func (m NoPositions) SetQuantityDate(v string) { m.Set(field.NewQuantityDate(v)) } // GetPosType gets PosType, Tag 703. func (m NoPositions) GetPosType() (v enum.PosType, err quickfix.MessageRejectError) { var f field.PosTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetLongQty gets LongQty, Tag 704. func (m NoPositions) GetLongQty() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.LongQtyField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetShortQty gets ShortQty, Tag 705. func (m NoPositions) GetShortQty() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.ShortQtyField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetPosQtyStatus gets PosQtyStatus, Tag 706. func (m NoPositions) GetPosQtyStatus() (v enum.PosQtyStatus, err quickfix.MessageRejectError) { var f field.PosQtyStatusField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539. func (m NoPositions) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoNestedPartyIDsRepeatingGroup() err := m.GetGroup(f) return f, err } // GetQuantityDate gets QuantityDate, Tag 976. func (m NoPositions) GetQuantityDate() (v string, err quickfix.MessageRejectError) { var f field.QuantityDateField if err = m.Get(&f); err == nil { v = f.Value() } return } // HasPosType returns true if PosType is present, Tag 703. func (m NoPositions) HasPosType() bool { return m.Has(tag.PosType) } // HasLongQty returns true if LongQty is present, Tag 704. func (m NoPositions) HasLongQty() bool { return m.Has(tag.LongQty) } // HasShortQty returns true if ShortQty is present, Tag 705. func (m NoPositions) HasShortQty() bool { return m.Has(tag.ShortQty) } // HasPosQtyStatus returns true if PosQtyStatus is present, Tag 706. func (m NoPositions) HasPosQtyStatus() bool { return m.Has(tag.PosQtyStatus) } // HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539. func (m NoPositions) HasNoNestedPartyIDs() bool { return m.Has(tag.NoNestedPartyIDs) } // HasQuantityDate returns true if QuantityDate is present, Tag 976. func (m NoPositions) HasQuantityDate() bool { return m.Has(tag.QuantityDate) } // NoNestedPartyIDs is a repeating group element, Tag 539. type NoNestedPartyIDs struct { *quickfix.Group } // SetNestedPartyID sets NestedPartyID, Tag 524. func (m NoNestedPartyIDs) SetNestedPartyID(v string) { m.Set(field.NewNestedPartyID(v)) } // SetNestedPartyIDSource sets NestedPartyIDSource, Tag 525. func (m NoNestedPartyIDs) SetNestedPartyIDSource(v string) { m.Set(field.NewNestedPartyIDSource(v)) } // SetNestedPartyRole sets NestedPartyRole, Tag 538. func (m NoNestedPartyIDs) SetNestedPartyRole(v int) { m.Set(field.NewNestedPartyRole(v)) } // SetNoNestedPartySubIDs sets NoNestedPartySubIDs, Tag 804. func (m NoNestedPartyIDs) SetNoNestedPartySubIDs(f NoNestedPartySubIDsRepeatingGroup) { m.SetGroup(f) } // GetNestedPartyID gets NestedPartyID, Tag 524. func (m NoNestedPartyIDs) GetNestedPartyID() (v string, err quickfix.MessageRejectError) { var f field.NestedPartyIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNestedPartyIDSource gets NestedPartyIDSource, Tag 525. func (m NoNestedPartyIDs) GetNestedPartyIDSource() (v string, err quickfix.MessageRejectError) { var f field.NestedPartyIDSourceField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNestedPartyRole gets NestedPartyRole, Tag 538. func (m NoNestedPartyIDs) GetNestedPartyRole() (v int, err quickfix.MessageRejectError) { var f field.NestedPartyRoleField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoNestedPartySubIDs gets NoNestedPartySubIDs, Tag 804. func (m NoNestedPartyIDs) GetNoNestedPartySubIDs() (NoNestedPartySubIDsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoNestedPartySubIDsRepeatingGroup() err := m.GetGroup(f) return f, err } // HasNestedPartyID returns true if NestedPartyID is present, Tag 524. func (m NoNestedPartyIDs) HasNestedPartyID() bool { return m.Has(tag.NestedPartyID) } // HasNestedPartyIDSource returns true if NestedPartyIDSource is present, Tag 525. func (m NoNestedPartyIDs) HasNestedPartyIDSource() bool { return m.Has(tag.NestedPartyIDSource) } // HasNestedPartyRole returns true if NestedPartyRole is present, Tag 538. func (m NoNestedPartyIDs) HasNestedPartyRole() bool { return m.Has(tag.NestedPartyRole) } // HasNoNestedPartySubIDs returns true if NoNestedPartySubIDs is present, Tag 804. func (m NoNestedPartyIDs) HasNoNestedPartySubIDs() bool { return m.Has(tag.NoNestedPartySubIDs) } // NoNestedPartySubIDs is a repeating group element, Tag 804. type NoNestedPartySubIDs struct { *quickfix.Group } // SetNestedPartySubID sets NestedPartySubID, Tag 545. func (m NoNestedPartySubIDs) SetNestedPartySubID(v string) { m.Set(field.NewNestedPartySubID(v)) } // SetNestedPartySubIDType sets NestedPartySubIDType, Tag 805. func (m NoNestedPartySubIDs) SetNestedPartySubIDType(v int) { m.Set(field.NewNestedPartySubIDType(v)) } // GetNestedPartySubID gets NestedPartySubID, Tag 545. func (m NoNestedPartySubIDs) GetNestedPartySubID() (v string, err quickfix.MessageRejectError) { var f field.NestedPartySubIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNestedPartySubIDType gets NestedPartySubIDType, Tag 805. func (m NoNestedPartySubIDs) GetNestedPartySubIDType() (v int, err quickfix.MessageRejectError) { var f field.NestedPartySubIDTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // HasNestedPartySubID returns true if NestedPartySubID is present, Tag 545. func (m NoNestedPartySubIDs) HasNestedPartySubID() bool { return m.Has(tag.NestedPartySubID) } // HasNestedPartySubIDType returns true if NestedPartySubIDType is present, Tag 805. func (m NoNestedPartySubIDs) HasNestedPartySubIDType() bool { return m.Has(tag.NestedPartySubIDType) } // NoNestedPartySubIDsRepeatingGroup is a repeating group, Tag 804. type NoNestedPartySubIDsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoNestedPartySubIDsRepeatingGroup returns an initialized, NoNestedPartySubIDsRepeatingGroup. func NewNoNestedPartySubIDsRepeatingGroup() NoNestedPartySubIDsRepeatingGroup { return NoNestedPartySubIDsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoNestedPartySubIDs, quickfix.GroupTemplate{ quickfix.GroupElement(tag.NestedPartySubID), quickfix.GroupElement(tag.NestedPartySubIDType), }, ), } } // Add create and append a new NoNestedPartySubIDs to this group. func (m NoNestedPartySubIDsRepeatingGroup) Add() NoNestedPartySubIDs { g := m.RepeatingGroup.Add() return NoNestedPartySubIDs{g} } // Get returns the ith NoNestedPartySubIDs in the NoNestedPartySubIDsRepeatinGroup. func (m NoNestedPartySubIDsRepeatingGroup) Get(i int) NoNestedPartySubIDs { return NoNestedPartySubIDs{m.RepeatingGroup.Get(i)} } // NoNestedPartyIDsRepeatingGroup is a repeating group, Tag 539. type NoNestedPartyIDsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoNestedPartyIDsRepeatingGroup returns an initialized, NoNestedPartyIDsRepeatingGroup. func NewNoNestedPartyIDsRepeatingGroup() NoNestedPartyIDsRepeatingGroup { return NoNestedPartyIDsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoNestedPartyIDs, quickfix.GroupTemplate{ quickfix.GroupElement(tag.NestedPartyID), quickfix.GroupElement(tag.NestedPartyIDSource), quickfix.GroupElement(tag.NestedPartyRole), NewNoNestedPartySubIDsRepeatingGroup(), }, ), } } // Add create and append a new NoNestedPartyIDs to this group. func (m NoNestedPartyIDsRepeatingGroup) Add() NoNestedPartyIDs { g := m.RepeatingGroup.Add() return NoNestedPartyIDs{g} } // Get returns the ith NoNestedPartyIDs in the NoNestedPartyIDsRepeatinGroup. func (m NoNestedPartyIDsRepeatingGroup) Get(i int) NoNestedPartyIDs { return NoNestedPartyIDs{m.RepeatingGroup.Get(i)} } // NoPositionsRepeatingGroup is a repeating group, Tag 702. type NoPositionsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoPositionsRepeatingGroup returns an initialized, NoPositionsRepeatingGroup. func NewNoPositionsRepeatingGroup() NoPositionsRepeatingGroup { return NoPositionsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoPositions, quickfix.GroupTemplate{ quickfix.GroupElement(tag.PosType), quickfix.GroupElement(tag.LongQty), quickfix.GroupElement(tag.ShortQty), quickfix.GroupElement(tag.PosQtyStatus), NewNoNestedPartyIDsRepeatingGroup(), quickfix.GroupElement(tag.QuantityDate), }, ), } } // Add create and append a new NoPositions to this group. func (m NoPositionsRepeatingGroup) Add() NoPositions { g := m.RepeatingGroup.Add() return NoPositions{g} } // Get returns the ith NoPositions in the NoPositionsRepeatinGroup. func (m NoPositionsRepeatingGroup) Get(i int) NoPositions { return NoPositions{m.RepeatingGroup.Get(i)} } // NoEvents is a repeating group element, Tag 864. type NoEvents struct { *quickfix.Group } // SetEventType sets EventType, Tag 865. func (m NoEvents) SetEventType(v enum.EventType) { m.Set(field.NewEventType(v)) } // SetEventDate sets EventDate, Tag 866. func (m NoEvents) SetEventDate(v string) { m.Set(field.NewEventDate(v)) } // SetEventPx sets EventPx, Tag 867. func (m NoEvents) SetEventPx(value decimal.Decimal, scale int32) { m.Set(field.NewEventPx(value, scale)) } // SetEventText sets EventText, Tag 868. func (m NoEvents) SetEventText(v string) { m.Set(field.NewEventText(v)) } // GetEventType gets EventType, Tag 865. func (m NoEvents) GetEventType() (v enum.EventType, err quickfix.MessageRejectError) { var f field.EventTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetEventDate gets EventDate, Tag 866. func (m NoEvents) GetEventDate() (v string, err quickfix.MessageRejectError) { var f field.EventDateField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetEventPx gets EventPx, Tag 867. func (m NoEvents) GetEventPx() (v decimal.Decimal, err quickfix.MessageRejectError) { var f field.EventPxField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetEventText gets EventText, Tag 868. func (m NoEvents) GetEventText() (v string, err quickfix.MessageRejectError) { var f field.EventTextField if err = m.Get(&f); err == nil { v = f.Value() } return } // HasEventType returns true if EventType is present, Tag 865. func (m NoEvents) HasEventType() bool { return m.Has(tag.EventType) } // HasEventDate returns true if EventDate is present, Tag 866. func (m NoEvents) HasEventDate() bool { return m.Has(tag.EventDate) } // HasEventPx returns true if EventPx is present, Tag 867. func (m NoEvents) HasEventPx() bool { return m.Has(tag.EventPx) } // HasEventText returns true if EventText is present, Tag 868. func (m NoEvents) HasEventText() bool { return m.Has(tag.EventText) } // NoEventsRepeatingGroup is a repeating group, Tag 864. type NoEventsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoEventsRepeatingGroup returns an initialized, NoEventsRepeatingGroup. func NewNoEventsRepeatingGroup() NoEventsRepeatingGroup { return NoEventsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoEvents, quickfix.GroupTemplate{ quickfix.GroupElement(tag.EventType), quickfix.GroupElement(tag.EventDate), quickfix.GroupElement(tag.EventPx), quickfix.GroupElement(tag.EventText), }, ), } } // Add create and append a new NoEvents to this group. func (m NoEventsRepeatingGroup) Add() NoEvents { g := m.RepeatingGroup.Add() return NoEvents{g} } // Get returns the ith NoEvents in the NoEventsRepeatinGroup. func (m NoEventsRepeatingGroup) Get(i int) NoEvents { return NoEvents{m.RepeatingGroup.Get(i)} } // NoInstrumentParties is a repeating group element, Tag 1018. type NoInstrumentParties struct { *quickfix.Group } // SetInstrumentPartyID sets InstrumentPartyID, Tag 1019. func (m NoInstrumentParties) SetInstrumentPartyID(v string) { m.Set(field.NewInstrumentPartyID(v)) } // SetInstrumentPartyIDSource sets InstrumentPartyIDSource, Tag 1050. func (m NoInstrumentParties) SetInstrumentPartyIDSource(v string) { m.Set(field.NewInstrumentPartyIDSource(v)) } // SetInstrumentPartyRole sets InstrumentPartyRole, Tag 1051. func (m NoInstrumentParties) SetInstrumentPartyRole(v int) { m.Set(field.NewInstrumentPartyRole(v)) } // SetNoInstrumentPartySubIDs sets NoInstrumentPartySubIDs, Tag 1052. func (m NoInstrumentParties) SetNoInstrumentPartySubIDs(f NoInstrumentPartySubIDsRepeatingGroup) { m.SetGroup(f) } // GetInstrumentPartyID gets InstrumentPartyID, Tag 1019. func (m NoInstrumentParties) GetInstrumentPartyID() (v string, err quickfix.MessageRejectError) { var f field.InstrumentPartyIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetInstrumentPartyIDSource gets InstrumentPartyIDSource, Tag 1050. func (m NoInstrumentParties) GetInstrumentPartyIDSource() (v string, err quickfix.MessageRejectError) { var f field.InstrumentPartyIDSourceField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetInstrumentPartyRole gets InstrumentPartyRole, Tag 1051. func (m NoInstrumentParties) GetInstrumentPartyRole() (v int, err quickfix.MessageRejectError) { var f field.InstrumentPartyRoleField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetNoInstrumentPartySubIDs gets NoInstrumentPartySubIDs, Tag 1052. func (m NoInstrumentParties) GetNoInstrumentPartySubIDs() (NoInstrumentPartySubIDsRepeatingGroup, quickfix.MessageRejectError) { f := NewNoInstrumentPartySubIDsRepeatingGroup() err := m.GetGroup(f) return f, err } // HasInstrumentPartyID returns true if InstrumentPartyID is present, Tag 1019. func (m NoInstrumentParties) HasInstrumentPartyID() bool { return m.Has(tag.InstrumentPartyID) } // HasInstrumentPartyIDSource returns true if InstrumentPartyIDSource is present, Tag 1050. func (m NoInstrumentParties) HasInstrumentPartyIDSource() bool { return m.Has(tag.InstrumentPartyIDSource) } // HasInstrumentPartyRole returns true if InstrumentPartyRole is present, Tag 1051. func (m NoInstrumentParties) HasInstrumentPartyRole() bool { return m.Has(tag.InstrumentPartyRole) } // HasNoInstrumentPartySubIDs returns true if NoInstrumentPartySubIDs is present, Tag 1052. func (m NoInstrumentParties) HasNoInstrumentPartySubIDs() bool { return m.Has(tag.NoInstrumentPartySubIDs) } // NoInstrumentPartySubIDs is a repeating group element, Tag 1052. type NoInstrumentPartySubIDs struct { *quickfix.Group } // SetInstrumentPartySubID sets InstrumentPartySubID, Tag 1053. func (m NoInstrumentPartySubIDs) SetInstrumentPartySubID(v string) { m.Set(field.NewInstrumentPartySubID(v)) } // SetInstrumentPartySubIDType sets InstrumentPartySubIDType, Tag 1054. func (m NoInstrumentPartySubIDs) SetInstrumentPartySubIDType(v int) { m.Set(field.NewInstrumentPartySubIDType(v)) } // GetInstrumentPartySubID gets InstrumentPartySubID, Tag 1053. func (m NoInstrumentPartySubIDs) GetInstrumentPartySubID() (v string, err quickfix.MessageRejectError) { var f field.InstrumentPartySubIDField if err = m.Get(&f); err == nil { v = f.Value() } return } // GetInstrumentPartySubIDType gets InstrumentPartySubIDType, Tag 1054. func (m NoInstrumentPartySubIDs) GetInstrumentPartySubIDType() (v int, err quickfix.MessageRejectError) { var f field.InstrumentPartySubIDTypeField if err = m.Get(&f); err == nil { v = f.Value() } return } // HasInstrumentPartySubID returns true if InstrumentPartySubID is present, Tag 1053. func (m NoInstrumentPartySubIDs) HasInstrumentPartySubID() bool { return m.Has(tag.InstrumentPartySubID) } // HasInstrumentPartySubIDType returns true if InstrumentPartySubIDType is present, Tag 1054. func (m NoInstrumentPartySubIDs) HasInstrumentPartySubIDType() bool { return m.Has(tag.InstrumentPartySubIDType) } // NoInstrumentPartySubIDsRepeatingGroup is a repeating group, Tag 1052. type NoInstrumentPartySubIDsRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoInstrumentPartySubIDsRepeatingGroup returns an initialized, NoInstrumentPartySubIDsRepeatingGroup. func NewNoInstrumentPartySubIDsRepeatingGroup() NoInstrumentPartySubIDsRepeatingGroup { return NoInstrumentPartySubIDsRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoInstrumentPartySubIDs, quickfix.GroupTemplate{ quickfix.GroupElement(tag.InstrumentPartySubID), quickfix.GroupElement(tag.InstrumentPartySubIDType), }, ), } } // Add create and append a new NoInstrumentPartySubIDs to this group. func (m NoInstrumentPartySubIDsRepeatingGroup) Add() NoInstrumentPartySubIDs { g := m.RepeatingGroup.Add() return NoInstrumentPartySubIDs{g} } // Get returns the ith NoInstrumentPartySubIDs in the NoInstrumentPartySubIDsRepeatinGroup. func (m NoInstrumentPartySubIDsRepeatingGroup) Get(i int) NoInstrumentPartySubIDs { return NoInstrumentPartySubIDs{m.RepeatingGroup.Get(i)} } // NoInstrumentPartiesRepeatingGroup is a repeating group, Tag 1018. type NoInstrumentPartiesRepeatingGroup struct { *quickfix.RepeatingGroup } // NewNoInstrumentPartiesRepeatingGroup returns an initialized, NoInstrumentPartiesRepeatingGroup. func NewNoInstrumentPartiesRepeatingGroup() NoInstrumentPartiesRepeatingGroup { return NoInstrumentPartiesRepeatingGroup{ quickfix.NewRepeatingGroup( tag.NoInstrumentParties, quickfix.GroupTemplate{ quickfix.GroupElement(tag.InstrumentPartyID), quickfix.GroupElement(tag.InstrumentPartyIDSource), quickfix.GroupElement(tag.InstrumentPartyRole), NewNoInstrumentPartySubIDsRepeatingGroup(), }, ), } } // Add create and append a new NoInstrumentParties to this group. func (m NoInstrumentPartiesRepeatingGroup) Add() NoInstrumentParties { g := m.RepeatingGroup.Add() return NoInstrumentParties{g} } // Get returns the ith NoInstrumentParties in the NoInstrumentPartiesRepeatinGroup. func (m NoInstrumentPartiesRepeatingGroup) Get(i int) NoInstrumentParties { return NoInstrumentParties{m.RepeatingGroup.Get(i)} }