3555 lines
104 KiB
Go
3555 lines
104 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package tradecapturereportack
|
|
|
|
import (
|
|
"time"
|
|
|
|
"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/fix44"
|
|
"quantex.com/qfixpt/quickfix/gen/tag"
|
|
)
|
|
|
|
// TradeCaptureReportAck is the fix44 TradeCaptureReportAck type, MsgType = AR.
|
|
type TradeCaptureReportAck struct {
|
|
fix44.Header
|
|
*quickfix.Body
|
|
fix44.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a TradeCaptureReportAck from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) TradeCaptureReportAck {
|
|
return TradeCaptureReportAck{
|
|
Header: fix44.Header{Header: &m.Header},
|
|
Body: &m.Body,
|
|
Trailer: fix44.Trailer{Trailer: &m.Trailer},
|
|
Message: m,
|
|
}
|
|
}
|
|
|
|
// ToMessage returns a quickfix.Message instance.
|
|
func (m TradeCaptureReportAck) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a TradeCaptureReportAck initialized with the required fields for TradeCaptureReportAck.
|
|
func New(tradereportid field.TradeReportIDField, exectype field.ExecTypeField) (m TradeCaptureReportAck) {
|
|
m.Message = quickfix.NewMessage()
|
|
m.Header = fix44.NewHeader(&m.Message.Header)
|
|
m.Body = &m.Message.Body
|
|
m.Trailer.Trailer = &m.Message.Trailer
|
|
|
|
m.Header.Set(field.NewMsgType("AR"))
|
|
m.Set(tradereportid)
|
|
m.Set(exectype)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg TradeCaptureReportAck, 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.4", "AR", r
|
|
}
|
|
|
|
// SetAccount sets Account, Tag 1.
|
|
func (m TradeCaptureReportAck) SetAccount(v string) {
|
|
m.Set(field.NewAccount(v))
|
|
}
|
|
|
|
// SetExecID sets ExecID, Tag 17.
|
|
func (m TradeCaptureReportAck) SetExecID(v string) {
|
|
m.Set(field.NewExecID(v))
|
|
}
|
|
|
|
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
|
func (m TradeCaptureReportAck) SetSecurityIDSource(v enum.SecurityIDSource) {
|
|
m.Set(field.NewSecurityIDSource(v))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m TradeCaptureReportAck) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m TradeCaptureReportAck) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetText sets Text, Tag 58.
|
|
func (m TradeCaptureReportAck) SetText(v string) {
|
|
m.Set(field.NewText(v))
|
|
}
|
|
|
|
// SetTransactTime sets TransactTime, Tag 60.
|
|
func (m TradeCaptureReportAck) SetTransactTime(v time.Time) {
|
|
m.Set(field.NewTransactTime(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m TradeCaptureReportAck) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetPositionEffect sets PositionEffect, Tag 77.
|
|
func (m TradeCaptureReportAck) SetPositionEffect(v enum.PositionEffect) {
|
|
m.Set(field.NewPositionEffect(v))
|
|
}
|
|
|
|
// SetNoAllocs sets NoAllocs, Tag 78.
|
|
func (m TradeCaptureReportAck) SetNoAllocs(f NoAllocsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m TradeCaptureReportAck) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m TradeCaptureReportAck) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetExecType sets ExecType, Tag 150.
|
|
func (m TradeCaptureReportAck) SetExecType(v enum.ExecType) {
|
|
m.Set(field.NewExecType(v))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m TradeCaptureReportAck) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m TradeCaptureReportAck) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m TradeCaptureReportAck) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m TradeCaptureReportAck) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m TradeCaptureReportAck) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m TradeCaptureReportAck) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
|
func (m TradeCaptureReportAck) SetCouponPaymentDate(v string) {
|
|
m.Set(field.NewCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetIssueDate sets IssueDate, Tag 225.
|
|
func (m TradeCaptureReportAck) SetIssueDate(v string) {
|
|
m.Set(field.NewIssueDate(v))
|
|
}
|
|
|
|
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
|
func (m TradeCaptureReportAck) SetRepurchaseTerm(v int) {
|
|
m.Set(field.NewRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
|
func (m TradeCaptureReportAck) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetFactor sets Factor, Tag 228.
|
|
func (m TradeCaptureReportAck) SetFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewFactor(value, scale))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m TradeCaptureReportAck) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
|
func (m TradeCaptureReportAck) SetRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
|
func (m TradeCaptureReportAck) SetRedemptionDate(v string) {
|
|
m.Set(field.NewRedemptionDate(v))
|
|
}
|
|
|
|
// SetCreditRating sets CreditRating, Tag 255.
|
|
func (m TradeCaptureReportAck) SetCreditRating(v string) {
|
|
m.Set(field.NewCreditRating(v))
|
|
}
|
|
|
|
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
|
func (m TradeCaptureReportAck) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
|
m.Set(field.NewSubscriptionRequestType(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m TradeCaptureReportAck) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m TradeCaptureReportAck) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m TradeCaptureReportAck) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m TradeCaptureReportAck) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
|
func (m TradeCaptureReportAck) SetEncodedTextLen(v int) {
|
|
m.Set(field.NewEncodedTextLen(v))
|
|
}
|
|
|
|
// SetEncodedText sets EncodedText, Tag 355.
|
|
func (m TradeCaptureReportAck) SetEncodedText(v string) {
|
|
m.Set(field.NewEncodedText(v))
|
|
}
|
|
|
|
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
|
func (m TradeCaptureReportAck) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProduct sets Product, Tag 460.
|
|
func (m TradeCaptureReportAck) SetProduct(v enum.Product) {
|
|
m.Set(field.NewProduct(v))
|
|
}
|
|
|
|
// SetCFICode sets CFICode, Tag 461.
|
|
func (m TradeCaptureReportAck) SetCFICode(v string) {
|
|
m.Set(field.NewCFICode(v))
|
|
}
|
|
|
|
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
|
func (m TradeCaptureReportAck) SetCountryOfIssue(v string) {
|
|
m.Set(field.NewCountryOfIssue(v))
|
|
}
|
|
|
|
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
|
func (m TradeCaptureReportAck) SetStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
|
func (m TradeCaptureReportAck) SetLocaleOfIssue(v string) {
|
|
m.Set(field.NewLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetTradeReportTransType sets TradeReportTransType, Tag 487.
|
|
func (m TradeCaptureReportAck) SetTradeReportTransType(v enum.TradeReportTransType) {
|
|
m.Set(field.NewTradeReportTransType(v))
|
|
}
|
|
|
|
// SetSecondaryExecID sets SecondaryExecID, Tag 527.
|
|
func (m TradeCaptureReportAck) SetSecondaryExecID(v string) {
|
|
m.Set(field.NewSecondaryExecID(v))
|
|
}
|
|
|
|
// SetOrderCapacity sets OrderCapacity, Tag 528.
|
|
func (m TradeCaptureReportAck) SetOrderCapacity(v enum.OrderCapacity) {
|
|
m.Set(field.NewOrderCapacity(v))
|
|
}
|
|
|
|
// SetOrderRestrictions sets OrderRestrictions, Tag 529.
|
|
func (m TradeCaptureReportAck) SetOrderRestrictions(v enum.OrderRestrictions) {
|
|
m.Set(field.NewOrderRestrictions(v))
|
|
}
|
|
|
|
// SetMaturityDate sets MaturityDate, Tag 541.
|
|
func (m TradeCaptureReportAck) SetMaturityDate(v string) {
|
|
m.Set(field.NewMaturityDate(v))
|
|
}
|
|
|
|
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
|
func (m TradeCaptureReportAck) SetInstrRegistry(v enum.InstrRegistry) {
|
|
m.Set(field.NewInstrRegistry(v))
|
|
}
|
|
|
|
// SetNoLegs sets NoLegs, Tag 555.
|
|
func (m TradeCaptureReportAck) SetNoLegs(f NoLegsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetTradeReportID sets TradeReportID, Tag 571.
|
|
func (m TradeCaptureReportAck) SetTradeReportID(v string) {
|
|
m.Set(field.NewTradeReportID(v))
|
|
}
|
|
|
|
// SetTradeReportRefID sets TradeReportRefID, Tag 572.
|
|
func (m TradeCaptureReportAck) SetTradeReportRefID(v string) {
|
|
m.Set(field.NewTradeReportRefID(v))
|
|
}
|
|
|
|
// SetAccountType sets AccountType, Tag 581.
|
|
func (m TradeCaptureReportAck) SetAccountType(v enum.AccountType) {
|
|
m.Set(field.NewAccountType(v))
|
|
}
|
|
|
|
// SetCustOrderCapacity sets CustOrderCapacity, Tag 582.
|
|
func (m TradeCaptureReportAck) SetCustOrderCapacity(v enum.CustOrderCapacity) {
|
|
m.Set(field.NewCustOrderCapacity(v))
|
|
}
|
|
|
|
// SetPreallocMethod sets PreallocMethod, Tag 591.
|
|
func (m TradeCaptureReportAck) SetPreallocMethod(v enum.PreallocMethod) {
|
|
m.Set(field.NewPreallocMethod(v))
|
|
}
|
|
|
|
// SetClearingFeeIndicator sets ClearingFeeIndicator, Tag 635.
|
|
func (m TradeCaptureReportAck) SetClearingFeeIndicator(v enum.ClearingFeeIndicator) {
|
|
m.Set(field.NewClearingFeeIndicator(v))
|
|
}
|
|
|
|
// SetAcctIDSource sets AcctIDSource, Tag 660.
|
|
func (m TradeCaptureReportAck) SetAcctIDSource(v enum.AcctIDSource) {
|
|
m.Set(field.NewAcctIDSource(v))
|
|
}
|
|
|
|
// SetContractSettlMonth sets ContractSettlMonth, Tag 667.
|
|
func (m TradeCaptureReportAck) SetContractSettlMonth(v string) {
|
|
m.Set(field.NewContractSettlMonth(v))
|
|
}
|
|
|
|
// SetPool sets Pool, Tag 691.
|
|
func (m TradeCaptureReportAck) SetPool(v string) {
|
|
m.Set(field.NewPool(v))
|
|
}
|
|
|
|
// SetResponseTransportType sets ResponseTransportType, Tag 725.
|
|
func (m TradeCaptureReportAck) SetResponseTransportType(v enum.ResponseTransportType) {
|
|
m.Set(field.NewResponseTransportType(v))
|
|
}
|
|
|
|
// SetResponseDestination sets ResponseDestination, Tag 726.
|
|
func (m TradeCaptureReportAck) SetResponseDestination(v string) {
|
|
m.Set(field.NewResponseDestination(v))
|
|
}
|
|
|
|
// SetTradeReportRejectReason sets TradeReportRejectReason, Tag 751.
|
|
func (m TradeCaptureReportAck) SetTradeReportRejectReason(v enum.TradeReportRejectReason) {
|
|
m.Set(field.NewTradeReportRejectReason(v))
|
|
}
|
|
|
|
// SetSecuritySubType sets SecuritySubType, Tag 762.
|
|
func (m TradeCaptureReportAck) SetSecuritySubType(v string) {
|
|
m.Set(field.NewSecuritySubType(v))
|
|
}
|
|
|
|
// SetNoTrdRegTimestamps sets NoTrdRegTimestamps, Tag 768.
|
|
func (m TradeCaptureReportAck) SetNoTrdRegTimestamps(f NoTrdRegTimestampsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetSecondaryTradeReportID sets SecondaryTradeReportID, Tag 818.
|
|
func (m TradeCaptureReportAck) SetSecondaryTradeReportID(v string) {
|
|
m.Set(field.NewSecondaryTradeReportID(v))
|
|
}
|
|
|
|
// SetTradeLinkID sets TradeLinkID, Tag 820.
|
|
func (m TradeCaptureReportAck) SetTradeLinkID(v string) {
|
|
m.Set(field.NewTradeLinkID(v))
|
|
}
|
|
|
|
// SetTrdType sets TrdType, Tag 828.
|
|
func (m TradeCaptureReportAck) SetTrdType(v enum.TrdType) {
|
|
m.Set(field.NewTrdType(v))
|
|
}
|
|
|
|
// SetTrdSubType sets TrdSubType, Tag 829.
|
|
func (m TradeCaptureReportAck) SetTrdSubType(v enum.TrdSubType) {
|
|
m.Set(field.NewTrdSubType(v))
|
|
}
|
|
|
|
// SetTransferReason sets TransferReason, Tag 830.
|
|
func (m TradeCaptureReportAck) SetTransferReason(v string) {
|
|
m.Set(field.NewTransferReason(v))
|
|
}
|
|
|
|
// SetSecondaryTrdType sets SecondaryTrdType, Tag 855.
|
|
func (m TradeCaptureReportAck) SetSecondaryTrdType(v int) {
|
|
m.Set(field.NewSecondaryTrdType(v))
|
|
}
|
|
|
|
// SetTradeReportType sets TradeReportType, Tag 856.
|
|
func (m TradeCaptureReportAck) SetTradeReportType(v enum.TradeReportType) {
|
|
m.Set(field.NewTradeReportType(v))
|
|
}
|
|
|
|
// SetNoEvents sets NoEvents, Tag 864.
|
|
func (m TradeCaptureReportAck) SetNoEvents(f NoEventsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetDatedDate sets DatedDate, Tag 873.
|
|
func (m TradeCaptureReportAck) SetDatedDate(v string) {
|
|
m.Set(field.NewDatedDate(v))
|
|
}
|
|
|
|
// SetInterestAccrualDate sets InterestAccrualDate, Tag 874.
|
|
func (m TradeCaptureReportAck) SetInterestAccrualDate(v string) {
|
|
m.Set(field.NewInterestAccrualDate(v))
|
|
}
|
|
|
|
// SetCPProgram sets CPProgram, Tag 875.
|
|
func (m TradeCaptureReportAck) SetCPProgram(v enum.CPProgram) {
|
|
m.Set(field.NewCPProgram(v))
|
|
}
|
|
|
|
// SetCPRegType sets CPRegType, Tag 876.
|
|
func (m TradeCaptureReportAck) SetCPRegType(v string) {
|
|
m.Set(field.NewCPRegType(v))
|
|
}
|
|
|
|
// SetTrdMatchID sets TrdMatchID, Tag 880.
|
|
func (m TradeCaptureReportAck) SetTrdMatchID(v string) {
|
|
m.Set(field.NewTrdMatchID(v))
|
|
}
|
|
|
|
// SetSecondaryTradeReportRefID sets SecondaryTradeReportRefID, Tag 881.
|
|
func (m TradeCaptureReportAck) SetSecondaryTradeReportRefID(v string) {
|
|
m.Set(field.NewSecondaryTradeReportRefID(v))
|
|
}
|
|
|
|
// SetTrdRptStatus sets TrdRptStatus, Tag 939.
|
|
func (m TradeCaptureReportAck) SetTrdRptStatus(v enum.TrdRptStatus) {
|
|
m.Set(field.NewTrdRptStatus(v))
|
|
}
|
|
|
|
// SetStrikeCurrency sets StrikeCurrency, Tag 947.
|
|
func (m TradeCaptureReportAck) SetStrikeCurrency(v string) {
|
|
m.Set(field.NewStrikeCurrency(v))
|
|
}
|
|
|
|
// GetAccount gets Account, Tag 1.
|
|
func (m TradeCaptureReportAck) GetAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExecID gets ExecID, Tag 17.
|
|
func (m TradeCaptureReportAck) GetExecID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ExecIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) GetText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTransactTime gets TransactTime, Tag 60.
|
|
func (m TradeCaptureReportAck) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.TransactTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbolSfx gets SymbolSfx, Tag 65.
|
|
func (m TradeCaptureReportAck) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPositionEffect gets PositionEffect, Tag 77.
|
|
func (m TradeCaptureReportAck) GetPositionEffect() (v enum.PositionEffect, err quickfix.MessageRejectError) {
|
|
var f field.PositionEffectField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoAllocs gets NoAllocs, Tag 78.
|
|
func (m TradeCaptureReportAck) GetNoAllocs() (NoAllocsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoAllocsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExecType gets ExecType, Tag 150.
|
|
func (m TradeCaptureReportAck) GetExecType() (v enum.ExecType, err quickfix.MessageRejectError) {
|
|
var f field.ExecTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) GetCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSubscriptionRequestType gets SubscriptionRequestType, Tag 263.
|
|
func (m TradeCaptureReportAck) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
|
var f field.SubscriptionRequestTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProduct gets Product, Tag 460.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradeReportTransType gets TradeReportTransType, Tag 487.
|
|
func (m TradeCaptureReportAck) GetTradeReportTransType() (v enum.TradeReportTransType, err quickfix.MessageRejectError) {
|
|
var f field.TradeReportTransTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecondaryExecID gets SecondaryExecID, Tag 527.
|
|
func (m TradeCaptureReportAck) GetSecondaryExecID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecondaryExecIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderCapacity gets OrderCapacity, Tag 528.
|
|
func (m TradeCaptureReportAck) GetOrderCapacity() (v enum.OrderCapacity, err quickfix.MessageRejectError) {
|
|
var f field.OrderCapacityField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderRestrictions gets OrderRestrictions, Tag 529.
|
|
func (m TradeCaptureReportAck) GetOrderRestrictions() (v enum.OrderRestrictions, err quickfix.MessageRejectError) {
|
|
var f field.OrderRestrictionsField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDate gets MaturityDate, Tag 541.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) GetNoLegs() (NoLegsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetTradeReportID gets TradeReportID, Tag 571.
|
|
func (m TradeCaptureReportAck) GetTradeReportID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TradeReportIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradeReportRefID gets TradeReportRefID, Tag 572.
|
|
func (m TradeCaptureReportAck) GetTradeReportRefID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TradeReportRefIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAccountType gets AccountType, Tag 581.
|
|
func (m TradeCaptureReportAck) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
|
|
var f field.AccountTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCustOrderCapacity gets CustOrderCapacity, Tag 582.
|
|
func (m TradeCaptureReportAck) GetCustOrderCapacity() (v enum.CustOrderCapacity, err quickfix.MessageRejectError) {
|
|
var f field.CustOrderCapacityField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPreallocMethod gets PreallocMethod, Tag 591.
|
|
func (m TradeCaptureReportAck) GetPreallocMethod() (v enum.PreallocMethod, err quickfix.MessageRejectError) {
|
|
var f field.PreallocMethodField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClearingFeeIndicator gets ClearingFeeIndicator, Tag 635.
|
|
func (m TradeCaptureReportAck) GetClearingFeeIndicator() (v enum.ClearingFeeIndicator, err quickfix.MessageRejectError) {
|
|
var f field.ClearingFeeIndicatorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAcctIDSource gets AcctIDSource, Tag 660.
|
|
func (m TradeCaptureReportAck) GetAcctIDSource() (v enum.AcctIDSource, err quickfix.MessageRejectError) {
|
|
var f field.AcctIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetContractSettlMonth gets ContractSettlMonth, Tag 667.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) GetPool() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PoolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetResponseTransportType gets ResponseTransportType, Tag 725.
|
|
func (m TradeCaptureReportAck) GetResponseTransportType() (v enum.ResponseTransportType, err quickfix.MessageRejectError) {
|
|
var f field.ResponseTransportTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetResponseDestination gets ResponseDestination, Tag 726.
|
|
func (m TradeCaptureReportAck) GetResponseDestination() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ResponseDestinationField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradeReportRejectReason gets TradeReportRejectReason, Tag 751.
|
|
func (m TradeCaptureReportAck) GetTradeReportRejectReason() (v enum.TradeReportRejectReason, err quickfix.MessageRejectError) {
|
|
var f field.TradeReportRejectReasonField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecuritySubType gets SecuritySubType, Tag 762.
|
|
func (m TradeCaptureReportAck) GetSecuritySubType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecuritySubTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoTrdRegTimestamps gets NoTrdRegTimestamps, Tag 768.
|
|
func (m TradeCaptureReportAck) GetNoTrdRegTimestamps() (NoTrdRegTimestampsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoTrdRegTimestampsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetSecondaryTradeReportID gets SecondaryTradeReportID, Tag 818.
|
|
func (m TradeCaptureReportAck) GetSecondaryTradeReportID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecondaryTradeReportIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradeLinkID gets TradeLinkID, Tag 820.
|
|
func (m TradeCaptureReportAck) GetTradeLinkID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TradeLinkIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTrdType gets TrdType, Tag 828.
|
|
func (m TradeCaptureReportAck) GetTrdType() (v enum.TrdType, err quickfix.MessageRejectError) {
|
|
var f field.TrdTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTrdSubType gets TrdSubType, Tag 829.
|
|
func (m TradeCaptureReportAck) GetTrdSubType() (v enum.TrdSubType, err quickfix.MessageRejectError) {
|
|
var f field.TrdSubTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTransferReason gets TransferReason, Tag 830.
|
|
func (m TradeCaptureReportAck) GetTransferReason() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TransferReasonField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecondaryTrdType gets SecondaryTrdType, Tag 855.
|
|
func (m TradeCaptureReportAck) GetSecondaryTrdType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.SecondaryTrdTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradeReportType gets TradeReportType, Tag 856.
|
|
func (m TradeCaptureReportAck) GetTradeReportType() (v enum.TradeReportType, err quickfix.MessageRejectError) {
|
|
var f field.TradeReportTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoEvents gets NoEvents, Tag 864.
|
|
func (m TradeCaptureReportAck) GetNoEvents() (NoEventsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoEventsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetDatedDate gets DatedDate, Tag 873.
|
|
func (m TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) 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 TradeCaptureReportAck) GetCPRegType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CPRegTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTrdMatchID gets TrdMatchID, Tag 880.
|
|
func (m TradeCaptureReportAck) GetTrdMatchID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TrdMatchIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecondaryTradeReportRefID gets SecondaryTradeReportRefID, Tag 881.
|
|
func (m TradeCaptureReportAck) GetSecondaryTradeReportRefID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecondaryTradeReportRefIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTrdRptStatus gets TrdRptStatus, Tag 939.
|
|
func (m TradeCaptureReportAck) GetTrdRptStatus() (v enum.TrdRptStatus, err quickfix.MessageRejectError) {
|
|
var f field.TrdRptStatusField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikeCurrency gets StrikeCurrency, Tag 947.
|
|
func (m TradeCaptureReportAck) GetStrikeCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.StrikeCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasAccount returns true if Account is present, Tag 1.
|
|
func (m TradeCaptureReportAck) HasAccount() bool {
|
|
return m.Has(tag.Account)
|
|
}
|
|
|
|
// HasExecID returns true if ExecID is present, Tag 17.
|
|
func (m TradeCaptureReportAck) HasExecID() bool {
|
|
return m.Has(tag.ExecID)
|
|
}
|
|
|
|
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
|
func (m TradeCaptureReportAck) HasSecurityIDSource() bool {
|
|
return m.Has(tag.SecurityIDSource)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m TradeCaptureReportAck) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m TradeCaptureReportAck) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasText returns true if Text is present, Tag 58.
|
|
func (m TradeCaptureReportAck) HasText() bool {
|
|
return m.Has(tag.Text)
|
|
}
|
|
|
|
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
|
func (m TradeCaptureReportAck) HasTransactTime() bool {
|
|
return m.Has(tag.TransactTime)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m TradeCaptureReportAck) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasPositionEffect returns true if PositionEffect is present, Tag 77.
|
|
func (m TradeCaptureReportAck) HasPositionEffect() bool {
|
|
return m.Has(tag.PositionEffect)
|
|
}
|
|
|
|
// HasNoAllocs returns true if NoAllocs is present, Tag 78.
|
|
func (m TradeCaptureReportAck) HasNoAllocs() bool {
|
|
return m.Has(tag.NoAllocs)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m TradeCaptureReportAck) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m TradeCaptureReportAck) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasExecType returns true if ExecType is present, Tag 150.
|
|
func (m TradeCaptureReportAck) HasExecType() bool {
|
|
return m.Has(tag.ExecType)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m TradeCaptureReportAck) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m TradeCaptureReportAck) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m TradeCaptureReportAck) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m TradeCaptureReportAck) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m TradeCaptureReportAck) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m TradeCaptureReportAck) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
|
func (m TradeCaptureReportAck) HasCouponPaymentDate() bool {
|
|
return m.Has(tag.CouponPaymentDate)
|
|
}
|
|
|
|
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
|
func (m TradeCaptureReportAck) HasIssueDate() bool {
|
|
return m.Has(tag.IssueDate)
|
|
}
|
|
|
|
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
|
func (m TradeCaptureReportAck) HasRepurchaseTerm() bool {
|
|
return m.Has(tag.RepurchaseTerm)
|
|
}
|
|
|
|
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
|
func (m TradeCaptureReportAck) HasRepurchaseRate() bool {
|
|
return m.Has(tag.RepurchaseRate)
|
|
}
|
|
|
|
// HasFactor returns true if Factor is present, Tag 228.
|
|
func (m TradeCaptureReportAck) HasFactor() bool {
|
|
return m.Has(tag.Factor)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m TradeCaptureReportAck) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
|
func (m TradeCaptureReportAck) HasRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.RepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
|
func (m TradeCaptureReportAck) HasRedemptionDate() bool {
|
|
return m.Has(tag.RedemptionDate)
|
|
}
|
|
|
|
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
|
func (m TradeCaptureReportAck) HasCreditRating() bool {
|
|
return m.Has(tag.CreditRating)
|
|
}
|
|
|
|
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
|
func (m TradeCaptureReportAck) HasSubscriptionRequestType() bool {
|
|
return m.Has(tag.SubscriptionRequestType)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m TradeCaptureReportAck) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m TradeCaptureReportAck) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m TradeCaptureReportAck) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m TradeCaptureReportAck) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
|
func (m TradeCaptureReportAck) HasEncodedTextLen() bool {
|
|
return m.Has(tag.EncodedTextLen)
|
|
}
|
|
|
|
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
|
func (m TradeCaptureReportAck) HasEncodedText() bool {
|
|
return m.Has(tag.EncodedText)
|
|
}
|
|
|
|
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
|
func (m TradeCaptureReportAck) HasNoSecurityAltID() bool {
|
|
return m.Has(tag.NoSecurityAltID)
|
|
}
|
|
|
|
// HasProduct returns true if Product is present, Tag 460.
|
|
func (m TradeCaptureReportAck) HasProduct() bool {
|
|
return m.Has(tag.Product)
|
|
}
|
|
|
|
// HasCFICode returns true if CFICode is present, Tag 461.
|
|
func (m TradeCaptureReportAck) HasCFICode() bool {
|
|
return m.Has(tag.CFICode)
|
|
}
|
|
|
|
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
|
func (m TradeCaptureReportAck) HasCountryOfIssue() bool {
|
|
return m.Has(tag.CountryOfIssue)
|
|
}
|
|
|
|
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
|
func (m TradeCaptureReportAck) HasStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.StateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
|
func (m TradeCaptureReportAck) HasLocaleOfIssue() bool {
|
|
return m.Has(tag.LocaleOfIssue)
|
|
}
|
|
|
|
// HasTradeReportTransType returns true if TradeReportTransType is present, Tag 487.
|
|
func (m TradeCaptureReportAck) HasTradeReportTransType() bool {
|
|
return m.Has(tag.TradeReportTransType)
|
|
}
|
|
|
|
// HasSecondaryExecID returns true if SecondaryExecID is present, Tag 527.
|
|
func (m TradeCaptureReportAck) HasSecondaryExecID() bool {
|
|
return m.Has(tag.SecondaryExecID)
|
|
}
|
|
|
|
// HasOrderCapacity returns true if OrderCapacity is present, Tag 528.
|
|
func (m TradeCaptureReportAck) HasOrderCapacity() bool {
|
|
return m.Has(tag.OrderCapacity)
|
|
}
|
|
|
|
// HasOrderRestrictions returns true if OrderRestrictions is present, Tag 529.
|
|
func (m TradeCaptureReportAck) HasOrderRestrictions() bool {
|
|
return m.Has(tag.OrderRestrictions)
|
|
}
|
|
|
|
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
|
func (m TradeCaptureReportAck) HasMaturityDate() bool {
|
|
return m.Has(tag.MaturityDate)
|
|
}
|
|
|
|
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
|
func (m TradeCaptureReportAck) HasInstrRegistry() bool {
|
|
return m.Has(tag.InstrRegistry)
|
|
}
|
|
|
|
// HasNoLegs returns true if NoLegs is present, Tag 555.
|
|
func (m TradeCaptureReportAck) HasNoLegs() bool {
|
|
return m.Has(tag.NoLegs)
|
|
}
|
|
|
|
// HasTradeReportID returns true if TradeReportID is present, Tag 571.
|
|
func (m TradeCaptureReportAck) HasTradeReportID() bool {
|
|
return m.Has(tag.TradeReportID)
|
|
}
|
|
|
|
// HasTradeReportRefID returns true if TradeReportRefID is present, Tag 572.
|
|
func (m TradeCaptureReportAck) HasTradeReportRefID() bool {
|
|
return m.Has(tag.TradeReportRefID)
|
|
}
|
|
|
|
// HasAccountType returns true if AccountType is present, Tag 581.
|
|
func (m TradeCaptureReportAck) HasAccountType() bool {
|
|
return m.Has(tag.AccountType)
|
|
}
|
|
|
|
// HasCustOrderCapacity returns true if CustOrderCapacity is present, Tag 582.
|
|
func (m TradeCaptureReportAck) HasCustOrderCapacity() bool {
|
|
return m.Has(tag.CustOrderCapacity)
|
|
}
|
|
|
|
// HasPreallocMethod returns true if PreallocMethod is present, Tag 591.
|
|
func (m TradeCaptureReportAck) HasPreallocMethod() bool {
|
|
return m.Has(tag.PreallocMethod)
|
|
}
|
|
|
|
// HasClearingFeeIndicator returns true if ClearingFeeIndicator is present, Tag 635.
|
|
func (m TradeCaptureReportAck) HasClearingFeeIndicator() bool {
|
|
return m.Has(tag.ClearingFeeIndicator)
|
|
}
|
|
|
|
// HasAcctIDSource returns true if AcctIDSource is present, Tag 660.
|
|
func (m TradeCaptureReportAck) HasAcctIDSource() bool {
|
|
return m.Has(tag.AcctIDSource)
|
|
}
|
|
|
|
// HasContractSettlMonth returns true if ContractSettlMonth is present, Tag 667.
|
|
func (m TradeCaptureReportAck) HasContractSettlMonth() bool {
|
|
return m.Has(tag.ContractSettlMonth)
|
|
}
|
|
|
|
// HasPool returns true if Pool is present, Tag 691.
|
|
func (m TradeCaptureReportAck) HasPool() bool {
|
|
return m.Has(tag.Pool)
|
|
}
|
|
|
|
// HasResponseTransportType returns true if ResponseTransportType is present, Tag 725.
|
|
func (m TradeCaptureReportAck) HasResponseTransportType() bool {
|
|
return m.Has(tag.ResponseTransportType)
|
|
}
|
|
|
|
// HasResponseDestination returns true if ResponseDestination is present, Tag 726.
|
|
func (m TradeCaptureReportAck) HasResponseDestination() bool {
|
|
return m.Has(tag.ResponseDestination)
|
|
}
|
|
|
|
// HasTradeReportRejectReason returns true if TradeReportRejectReason is present, Tag 751.
|
|
func (m TradeCaptureReportAck) HasTradeReportRejectReason() bool {
|
|
return m.Has(tag.TradeReportRejectReason)
|
|
}
|
|
|
|
// HasSecuritySubType returns true if SecuritySubType is present, Tag 762.
|
|
func (m TradeCaptureReportAck) HasSecuritySubType() bool {
|
|
return m.Has(tag.SecuritySubType)
|
|
}
|
|
|
|
// HasNoTrdRegTimestamps returns true if NoTrdRegTimestamps is present, Tag 768.
|
|
func (m TradeCaptureReportAck) HasNoTrdRegTimestamps() bool {
|
|
return m.Has(tag.NoTrdRegTimestamps)
|
|
}
|
|
|
|
// HasSecondaryTradeReportID returns true if SecondaryTradeReportID is present, Tag 818.
|
|
func (m TradeCaptureReportAck) HasSecondaryTradeReportID() bool {
|
|
return m.Has(tag.SecondaryTradeReportID)
|
|
}
|
|
|
|
// HasTradeLinkID returns true if TradeLinkID is present, Tag 820.
|
|
func (m TradeCaptureReportAck) HasTradeLinkID() bool {
|
|
return m.Has(tag.TradeLinkID)
|
|
}
|
|
|
|
// HasTrdType returns true if TrdType is present, Tag 828.
|
|
func (m TradeCaptureReportAck) HasTrdType() bool {
|
|
return m.Has(tag.TrdType)
|
|
}
|
|
|
|
// HasTrdSubType returns true if TrdSubType is present, Tag 829.
|
|
func (m TradeCaptureReportAck) HasTrdSubType() bool {
|
|
return m.Has(tag.TrdSubType)
|
|
}
|
|
|
|
// HasTransferReason returns true if TransferReason is present, Tag 830.
|
|
func (m TradeCaptureReportAck) HasTransferReason() bool {
|
|
return m.Has(tag.TransferReason)
|
|
}
|
|
|
|
// HasSecondaryTrdType returns true if SecondaryTrdType is present, Tag 855.
|
|
func (m TradeCaptureReportAck) HasSecondaryTrdType() bool {
|
|
return m.Has(tag.SecondaryTrdType)
|
|
}
|
|
|
|
// HasTradeReportType returns true if TradeReportType is present, Tag 856.
|
|
func (m TradeCaptureReportAck) HasTradeReportType() bool {
|
|
return m.Has(tag.TradeReportType)
|
|
}
|
|
|
|
// HasNoEvents returns true if NoEvents is present, Tag 864.
|
|
func (m TradeCaptureReportAck) HasNoEvents() bool {
|
|
return m.Has(tag.NoEvents)
|
|
}
|
|
|
|
// HasDatedDate returns true if DatedDate is present, Tag 873.
|
|
func (m TradeCaptureReportAck) HasDatedDate() bool {
|
|
return m.Has(tag.DatedDate)
|
|
}
|
|
|
|
// HasInterestAccrualDate returns true if InterestAccrualDate is present, Tag 874.
|
|
func (m TradeCaptureReportAck) HasInterestAccrualDate() bool {
|
|
return m.Has(tag.InterestAccrualDate)
|
|
}
|
|
|
|
// HasCPProgram returns true if CPProgram is present, Tag 875.
|
|
func (m TradeCaptureReportAck) HasCPProgram() bool {
|
|
return m.Has(tag.CPProgram)
|
|
}
|
|
|
|
// HasCPRegType returns true if CPRegType is present, Tag 876.
|
|
func (m TradeCaptureReportAck) HasCPRegType() bool {
|
|
return m.Has(tag.CPRegType)
|
|
}
|
|
|
|
// HasTrdMatchID returns true if TrdMatchID is present, Tag 880.
|
|
func (m TradeCaptureReportAck) HasTrdMatchID() bool {
|
|
return m.Has(tag.TrdMatchID)
|
|
}
|
|
|
|
// HasSecondaryTradeReportRefID returns true if SecondaryTradeReportRefID is present, Tag 881.
|
|
func (m TradeCaptureReportAck) HasSecondaryTradeReportRefID() bool {
|
|
return m.Has(tag.SecondaryTradeReportRefID)
|
|
}
|
|
|
|
// HasTrdRptStatus returns true if TrdRptStatus is present, Tag 939.
|
|
func (m TradeCaptureReportAck) HasTrdRptStatus() bool {
|
|
return m.Has(tag.TrdRptStatus)
|
|
}
|
|
|
|
// HasStrikeCurrency returns true if StrikeCurrency is present, Tag 947.
|
|
func (m TradeCaptureReportAck) HasStrikeCurrency() bool {
|
|
return m.Has(tag.StrikeCurrency)
|
|
}
|
|
|
|
// NoAllocs is a repeating group element, Tag 78.
|
|
type NoAllocs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetAllocAccount sets AllocAccount, Tag 79.
|
|
func (m NoAllocs) SetAllocAccount(v string) {
|
|
m.Set(field.NewAllocAccount(v))
|
|
}
|
|
|
|
// SetAllocAcctIDSource sets AllocAcctIDSource, Tag 661.
|
|
func (m NoAllocs) SetAllocAcctIDSource(v int) {
|
|
m.Set(field.NewAllocAcctIDSource(v))
|
|
}
|
|
|
|
// SetAllocSettlCurrency sets AllocSettlCurrency, Tag 736.
|
|
func (m NoAllocs) SetAllocSettlCurrency(v string) {
|
|
m.Set(field.NewAllocSettlCurrency(v))
|
|
}
|
|
|
|
// SetIndividualAllocID sets IndividualAllocID, Tag 467.
|
|
func (m NoAllocs) SetIndividualAllocID(v string) {
|
|
m.Set(field.NewIndividualAllocID(v))
|
|
}
|
|
|
|
// SetNoNested2PartyIDs sets NoNested2PartyIDs, Tag 756.
|
|
func (m NoAllocs) SetNoNested2PartyIDs(f NoNested2PartyIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetAllocQty sets AllocQty, Tag 80.
|
|
func (m NoAllocs) SetAllocQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewAllocQty(value, scale))
|
|
}
|
|
|
|
// GetAllocAccount gets AllocAccount, Tag 79.
|
|
func (m NoAllocs) GetAllocAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AllocAccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAllocAcctIDSource gets AllocAcctIDSource, Tag 661.
|
|
func (m NoAllocs) GetAllocAcctIDSource() (v int, err quickfix.MessageRejectError) {
|
|
var f field.AllocAcctIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAllocSettlCurrency gets AllocSettlCurrency, Tag 736.
|
|
func (m NoAllocs) GetAllocSettlCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AllocSettlCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIndividualAllocID gets IndividualAllocID, Tag 467.
|
|
func (m NoAllocs) GetIndividualAllocID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IndividualAllocIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoNested2PartyIDs gets NoNested2PartyIDs, Tag 756.
|
|
func (m NoAllocs) GetNoNested2PartyIDs() (NoNested2PartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoNested2PartyIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetAllocQty gets AllocQty, Tag 80.
|
|
func (m NoAllocs) GetAllocQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.AllocQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasAllocAccount returns true if AllocAccount is present, Tag 79.
|
|
func (m NoAllocs) HasAllocAccount() bool {
|
|
return m.Has(tag.AllocAccount)
|
|
}
|
|
|
|
// HasAllocAcctIDSource returns true if AllocAcctIDSource is present, Tag 661.
|
|
func (m NoAllocs) HasAllocAcctIDSource() bool {
|
|
return m.Has(tag.AllocAcctIDSource)
|
|
}
|
|
|
|
// HasAllocSettlCurrency returns true if AllocSettlCurrency is present, Tag 736.
|
|
func (m NoAllocs) HasAllocSettlCurrency() bool {
|
|
return m.Has(tag.AllocSettlCurrency)
|
|
}
|
|
|
|
// HasIndividualAllocID returns true if IndividualAllocID is present, Tag 467.
|
|
func (m NoAllocs) HasIndividualAllocID() bool {
|
|
return m.Has(tag.IndividualAllocID)
|
|
}
|
|
|
|
// HasNoNested2PartyIDs returns true if NoNested2PartyIDs is present, Tag 756.
|
|
func (m NoAllocs) HasNoNested2PartyIDs() bool {
|
|
return m.Has(tag.NoNested2PartyIDs)
|
|
}
|
|
|
|
// HasAllocQty returns true if AllocQty is present, Tag 80.
|
|
func (m NoAllocs) HasAllocQty() bool {
|
|
return m.Has(tag.AllocQty)
|
|
}
|
|
|
|
// NoNested2PartyIDs is a repeating group element, Tag 756.
|
|
type NoNested2PartyIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetNested2PartyID sets Nested2PartyID, Tag 757.
|
|
func (m NoNested2PartyIDs) SetNested2PartyID(v string) {
|
|
m.Set(field.NewNested2PartyID(v))
|
|
}
|
|
|
|
// SetNested2PartyIDSource sets Nested2PartyIDSource, Tag 758.
|
|
func (m NoNested2PartyIDs) SetNested2PartyIDSource(v string) {
|
|
m.Set(field.NewNested2PartyIDSource(v))
|
|
}
|
|
|
|
// SetNested2PartyRole sets Nested2PartyRole, Tag 759.
|
|
func (m NoNested2PartyIDs) SetNested2PartyRole(v int) {
|
|
m.Set(field.NewNested2PartyRole(v))
|
|
}
|
|
|
|
// SetNoNested2PartySubIDs sets NoNested2PartySubIDs, Tag 806.
|
|
func (m NoNested2PartyIDs) SetNoNested2PartySubIDs(f NoNested2PartySubIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// GetNested2PartyID gets Nested2PartyID, Tag 757.
|
|
func (m NoNested2PartyIDs) GetNested2PartyID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.Nested2PartyIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNested2PartyIDSource gets Nested2PartyIDSource, Tag 758.
|
|
func (m NoNested2PartyIDs) GetNested2PartyIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.Nested2PartyIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNested2PartyRole gets Nested2PartyRole, Tag 759.
|
|
func (m NoNested2PartyIDs) GetNested2PartyRole() (v int, err quickfix.MessageRejectError) {
|
|
var f field.Nested2PartyRoleField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoNested2PartySubIDs gets NoNested2PartySubIDs, Tag 806.
|
|
func (m NoNested2PartyIDs) GetNoNested2PartySubIDs() (NoNested2PartySubIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoNested2PartySubIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// HasNested2PartyID returns true if Nested2PartyID is present, Tag 757.
|
|
func (m NoNested2PartyIDs) HasNested2PartyID() bool {
|
|
return m.Has(tag.Nested2PartyID)
|
|
}
|
|
|
|
// HasNested2PartyIDSource returns true if Nested2PartyIDSource is present, Tag 758.
|
|
func (m NoNested2PartyIDs) HasNested2PartyIDSource() bool {
|
|
return m.Has(tag.Nested2PartyIDSource)
|
|
}
|
|
|
|
// HasNested2PartyRole returns true if Nested2PartyRole is present, Tag 759.
|
|
func (m NoNested2PartyIDs) HasNested2PartyRole() bool {
|
|
return m.Has(tag.Nested2PartyRole)
|
|
}
|
|
|
|
// HasNoNested2PartySubIDs returns true if NoNested2PartySubIDs is present, Tag 806.
|
|
func (m NoNested2PartyIDs) HasNoNested2PartySubIDs() bool {
|
|
return m.Has(tag.NoNested2PartySubIDs)
|
|
}
|
|
|
|
// NoNested2PartySubIDs is a repeating group element, Tag 806.
|
|
type NoNested2PartySubIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetNested2PartySubID sets Nested2PartySubID, Tag 760.
|
|
func (m NoNested2PartySubIDs) SetNested2PartySubID(v string) {
|
|
m.Set(field.NewNested2PartySubID(v))
|
|
}
|
|
|
|
// SetNested2PartySubIDType sets Nested2PartySubIDType, Tag 807.
|
|
func (m NoNested2PartySubIDs) SetNested2PartySubIDType(v int) {
|
|
m.Set(field.NewNested2PartySubIDType(v))
|
|
}
|
|
|
|
// GetNested2PartySubID gets Nested2PartySubID, Tag 760.
|
|
func (m NoNested2PartySubIDs) GetNested2PartySubID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.Nested2PartySubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNested2PartySubIDType gets Nested2PartySubIDType, Tag 807.
|
|
func (m NoNested2PartySubIDs) GetNested2PartySubIDType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.Nested2PartySubIDTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasNested2PartySubID returns true if Nested2PartySubID is present, Tag 760.
|
|
func (m NoNested2PartySubIDs) HasNested2PartySubID() bool {
|
|
return m.Has(tag.Nested2PartySubID)
|
|
}
|
|
|
|
// HasNested2PartySubIDType returns true if Nested2PartySubIDType is present, Tag 807.
|
|
func (m NoNested2PartySubIDs) HasNested2PartySubIDType() bool {
|
|
return m.Has(tag.Nested2PartySubIDType)
|
|
}
|
|
|
|
// NoNested2PartySubIDsRepeatingGroup is a repeating group, Tag 806.
|
|
type NoNested2PartySubIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoNested2PartySubIDsRepeatingGroup returns an initialized, NoNested2PartySubIDsRepeatingGroup.
|
|
func NewNoNested2PartySubIDsRepeatingGroup() NoNested2PartySubIDsRepeatingGroup {
|
|
return NoNested2PartySubIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoNested2PartySubIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.Nested2PartySubID),
|
|
quickfix.GroupElement(tag.Nested2PartySubIDType),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoNested2PartySubIDs to this group.
|
|
func (m NoNested2PartySubIDsRepeatingGroup) Add() NoNested2PartySubIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoNested2PartySubIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoNested2PartySubIDs in the NoNested2PartySubIDsRepeatinGroup.
|
|
func (m NoNested2PartySubIDsRepeatingGroup) Get(i int) NoNested2PartySubIDs {
|
|
return NoNested2PartySubIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoNested2PartyIDsRepeatingGroup is a repeating group, Tag 756.
|
|
type NoNested2PartyIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoNested2PartyIDsRepeatingGroup returns an initialized, NoNested2PartyIDsRepeatingGroup.
|
|
func NewNoNested2PartyIDsRepeatingGroup() NoNested2PartyIDsRepeatingGroup {
|
|
return NoNested2PartyIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoNested2PartyIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.Nested2PartyID),
|
|
quickfix.GroupElement(tag.Nested2PartyIDSource),
|
|
quickfix.GroupElement(tag.Nested2PartyRole),
|
|
NewNoNested2PartySubIDsRepeatingGroup(),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoNested2PartyIDs to this group.
|
|
func (m NoNested2PartyIDsRepeatingGroup) Add() NoNested2PartyIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoNested2PartyIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoNested2PartyIDs in the NoNested2PartyIDsRepeatinGroup.
|
|
func (m NoNested2PartyIDsRepeatingGroup) Get(i int) NoNested2PartyIDs {
|
|
return NoNested2PartyIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoAllocsRepeatingGroup is a repeating group, Tag 78.
|
|
type NoAllocsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoAllocsRepeatingGroup returns an initialized, NoAllocsRepeatingGroup.
|
|
func NewNoAllocsRepeatingGroup() NoAllocsRepeatingGroup {
|
|
return NoAllocsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoAllocs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.AllocAccount),
|
|
quickfix.GroupElement(tag.AllocAcctIDSource),
|
|
quickfix.GroupElement(tag.AllocSettlCurrency),
|
|
quickfix.GroupElement(tag.IndividualAllocID),
|
|
NewNoNested2PartyIDsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.AllocQty),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoAllocs to this group.
|
|
func (m NoAllocsRepeatingGroup) Add() NoAllocs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoAllocs{g}
|
|
}
|
|
|
|
// Get returns the ith NoAllocs in the NoAllocsRepeatinGroup.
|
|
func (m NoAllocsRepeatingGroup) Get(i int) NoAllocs {
|
|
return NoAllocs{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)}
|
|
}
|
|
|
|
// 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))
|
|
}
|
|
|
|
// SetLegSecuritySubType sets LegSecuritySubType, Tag 764.
|
|
func (m NoLegs) SetLegSecuritySubType(v string) {
|
|
m.Set(field.NewLegSecuritySubType(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))
|
|
}
|
|
|
|
// SetLegStrikeCurrency sets LegStrikeCurrency, Tag 942.
|
|
func (m NoLegs) SetLegStrikeCurrency(v string) {
|
|
m.Set(field.NewLegStrikeCurrency(v))
|
|
}
|
|
|
|
// 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))
|
|
}
|
|
|
|
// SetLegPool sets LegPool, Tag 740.
|
|
func (m NoLegs) SetLegPool(v string) {
|
|
m.Set(field.NewLegPool(v))
|
|
}
|
|
|
|
// SetLegDatedDate sets LegDatedDate, Tag 739.
|
|
func (m NoLegs) SetLegDatedDate(v string) {
|
|
m.Set(field.NewLegDatedDate(v))
|
|
}
|
|
|
|
// SetLegContractSettlMonth sets LegContractSettlMonth, Tag 955.
|
|
func (m NoLegs) SetLegContractSettlMonth(v string) {
|
|
m.Set(field.NewLegContractSettlMonth(v))
|
|
}
|
|
|
|
// SetLegInterestAccrualDate sets LegInterestAccrualDate, Tag 956.
|
|
func (m NoLegs) SetLegInterestAccrualDate(v string) {
|
|
m.Set(field.NewLegInterestAccrualDate(v))
|
|
}
|
|
|
|
// SetLegQty sets LegQty, Tag 687.
|
|
func (m NoLegs) SetLegQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegQty(value, scale))
|
|
}
|
|
|
|
// SetLegSwapType sets LegSwapType, Tag 690.
|
|
func (m NoLegs) SetLegSwapType(v enum.LegSwapType) {
|
|
m.Set(field.NewLegSwapType(v))
|
|
}
|
|
|
|
// SetNoLegStipulations sets NoLegStipulations, Tag 683.
|
|
func (m NoLegs) SetNoLegStipulations(f NoLegStipulationsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetLegPositionEffect sets LegPositionEffect, Tag 564.
|
|
func (m NoLegs) SetLegPositionEffect(v string) {
|
|
m.Set(field.NewLegPositionEffect(v))
|
|
}
|
|
|
|
// SetLegCoveredOrUncovered sets LegCoveredOrUncovered, Tag 565.
|
|
func (m NoLegs) SetLegCoveredOrUncovered(v int) {
|
|
m.Set(field.NewLegCoveredOrUncovered(v))
|
|
}
|
|
|
|
// SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539.
|
|
func (m NoLegs) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetLegRefID sets LegRefID, Tag 654.
|
|
func (m NoLegs) SetLegRefID(v string) {
|
|
m.Set(field.NewLegRefID(v))
|
|
}
|
|
|
|
// SetLegPrice sets LegPrice, Tag 566.
|
|
func (m NoLegs) SetLegPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegPrice(value, scale))
|
|
}
|
|
|
|
// SetLegSettlType sets LegSettlType, Tag 587.
|
|
func (m NoLegs) SetLegSettlType(v string) {
|
|
m.Set(field.NewLegSettlType(v))
|
|
}
|
|
|
|
// SetLegSettlDate sets LegSettlDate, Tag 588.
|
|
func (m NoLegs) SetLegSettlDate(v string) {
|
|
m.Set(field.NewLegSettlDate(v))
|
|
}
|
|
|
|
// SetLegLastPx sets LegLastPx, Tag 637.
|
|
func (m NoLegs) SetLegLastPx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegLastPx(value, scale))
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// GetLegSecuritySubType gets LegSecuritySubType, Tag 764.
|
|
func (m NoLegs) GetLegSecuritySubType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecuritySubTypeField
|
|
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
|
|
}
|
|
|
|
// GetLegStrikeCurrency gets LegStrikeCurrency, Tag 942.
|
|
func (m NoLegs) GetLegStrikeCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegStrikeCurrencyField
|
|
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
|
|
}
|
|
|
|
// GetLegPool gets LegPool, Tag 740.
|
|
func (m NoLegs) GetLegPool() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegPoolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegDatedDate gets LegDatedDate, Tag 739.
|
|
func (m NoLegs) GetLegDatedDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegDatedDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegContractSettlMonth gets LegContractSettlMonth, Tag 955.
|
|
func (m NoLegs) GetLegContractSettlMonth() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegContractSettlMonthField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegInterestAccrualDate gets LegInterestAccrualDate, Tag 956.
|
|
func (m NoLegs) GetLegInterestAccrualDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegInterestAccrualDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegQty gets LegQty, Tag 687.
|
|
func (m NoLegs) GetLegQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSwapType gets LegSwapType, Tag 690.
|
|
func (m NoLegs) GetLegSwapType() (v enum.LegSwapType, err quickfix.MessageRejectError) {
|
|
var f field.LegSwapTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoLegStipulations gets NoLegStipulations, Tag 683.
|
|
func (m NoLegs) GetNoLegStipulations() (NoLegStipulationsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegStipulationsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetLegPositionEffect gets LegPositionEffect, Tag 564.
|
|
func (m NoLegs) GetLegPositionEffect() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegPositionEffectField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCoveredOrUncovered gets LegCoveredOrUncovered, Tag 565.
|
|
func (m NoLegs) GetLegCoveredOrUncovered() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegCoveredOrUncoveredField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539.
|
|
func (m NoLegs) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoNestedPartyIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetLegRefID gets LegRefID, Tag 654.
|
|
func (m NoLegs) GetLegRefID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegRefIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegPrice gets LegPrice, Tag 566.
|
|
func (m NoLegs) GetLegPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegPriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSettlType gets LegSettlType, Tag 587.
|
|
func (m NoLegs) GetLegSettlType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSettlTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSettlDate gets LegSettlDate, Tag 588.
|
|
func (m NoLegs) GetLegSettlDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSettlDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegLastPx gets LegLastPx, Tag 637.
|
|
func (m NoLegs) GetLegLastPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegLastPxField
|
|
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)
|
|
}
|
|
|
|
// HasLegSecuritySubType returns true if LegSecuritySubType is present, Tag 764.
|
|
func (m NoLegs) HasLegSecuritySubType() bool {
|
|
return m.Has(tag.LegSecuritySubType)
|
|
}
|
|
|
|
// 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)
|
|
}
|
|
|
|
// HasLegStrikeCurrency returns true if LegStrikeCurrency is present, Tag 942.
|
|
func (m NoLegs) HasLegStrikeCurrency() bool {
|
|
return m.Has(tag.LegStrikeCurrency)
|
|
}
|
|
|
|
// 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)
|
|
}
|
|
|
|
// HasLegPool returns true if LegPool is present, Tag 740.
|
|
func (m NoLegs) HasLegPool() bool {
|
|
return m.Has(tag.LegPool)
|
|
}
|
|
|
|
// HasLegDatedDate returns true if LegDatedDate is present, Tag 739.
|
|
func (m NoLegs) HasLegDatedDate() bool {
|
|
return m.Has(tag.LegDatedDate)
|
|
}
|
|
|
|
// HasLegContractSettlMonth returns true if LegContractSettlMonth is present, Tag 955.
|
|
func (m NoLegs) HasLegContractSettlMonth() bool {
|
|
return m.Has(tag.LegContractSettlMonth)
|
|
}
|
|
|
|
// HasLegInterestAccrualDate returns true if LegInterestAccrualDate is present, Tag 956.
|
|
func (m NoLegs) HasLegInterestAccrualDate() bool {
|
|
return m.Has(tag.LegInterestAccrualDate)
|
|
}
|
|
|
|
// HasLegQty returns true if LegQty is present, Tag 687.
|
|
func (m NoLegs) HasLegQty() bool {
|
|
return m.Has(tag.LegQty)
|
|
}
|
|
|
|
// HasLegSwapType returns true if LegSwapType is present, Tag 690.
|
|
func (m NoLegs) HasLegSwapType() bool {
|
|
return m.Has(tag.LegSwapType)
|
|
}
|
|
|
|
// HasNoLegStipulations returns true if NoLegStipulations is present, Tag 683.
|
|
func (m NoLegs) HasNoLegStipulations() bool {
|
|
return m.Has(tag.NoLegStipulations)
|
|
}
|
|
|
|
// HasLegPositionEffect returns true if LegPositionEffect is present, Tag 564.
|
|
func (m NoLegs) HasLegPositionEffect() bool {
|
|
return m.Has(tag.LegPositionEffect)
|
|
}
|
|
|
|
// HasLegCoveredOrUncovered returns true if LegCoveredOrUncovered is present, Tag 565.
|
|
func (m NoLegs) HasLegCoveredOrUncovered() bool {
|
|
return m.Has(tag.LegCoveredOrUncovered)
|
|
}
|
|
|
|
// HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539.
|
|
func (m NoLegs) HasNoNestedPartyIDs() bool {
|
|
return m.Has(tag.NoNestedPartyIDs)
|
|
}
|
|
|
|
// HasLegRefID returns true if LegRefID is present, Tag 654.
|
|
func (m NoLegs) HasLegRefID() bool {
|
|
return m.Has(tag.LegRefID)
|
|
}
|
|
|
|
// HasLegPrice returns true if LegPrice is present, Tag 566.
|
|
func (m NoLegs) HasLegPrice() bool {
|
|
return m.Has(tag.LegPrice)
|
|
}
|
|
|
|
// HasLegSettlType returns true if LegSettlType is present, Tag 587.
|
|
func (m NoLegs) HasLegSettlType() bool {
|
|
return m.Has(tag.LegSettlType)
|
|
}
|
|
|
|
// HasLegSettlDate returns true if LegSettlDate is present, Tag 588.
|
|
func (m NoLegs) HasLegSettlDate() bool {
|
|
return m.Has(tag.LegSettlDate)
|
|
}
|
|
|
|
// HasLegLastPx returns true if LegLastPx is present, Tag 637.
|
|
func (m NoLegs) HasLegLastPx() bool {
|
|
return m.Has(tag.LegLastPx)
|
|
}
|
|
|
|
// 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)}
|
|
}
|
|
|
|
// NoLegStipulations is a repeating group element, Tag 683.
|
|
type NoLegStipulations struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetLegStipulationType sets LegStipulationType, Tag 688.
|
|
func (m NoLegStipulations) SetLegStipulationType(v string) {
|
|
m.Set(field.NewLegStipulationType(v))
|
|
}
|
|
|
|
// SetLegStipulationValue sets LegStipulationValue, Tag 689.
|
|
func (m NoLegStipulations) SetLegStipulationValue(v string) {
|
|
m.Set(field.NewLegStipulationValue(v))
|
|
}
|
|
|
|
// GetLegStipulationType gets LegStipulationType, Tag 688.
|
|
func (m NoLegStipulations) GetLegStipulationType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegStipulationTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegStipulationValue gets LegStipulationValue, Tag 689.
|
|
func (m NoLegStipulations) GetLegStipulationValue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegStipulationValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasLegStipulationType returns true if LegStipulationType is present, Tag 688.
|
|
func (m NoLegStipulations) HasLegStipulationType() bool {
|
|
return m.Has(tag.LegStipulationType)
|
|
}
|
|
|
|
// HasLegStipulationValue returns true if LegStipulationValue is present, Tag 689.
|
|
func (m NoLegStipulations) HasLegStipulationValue() bool {
|
|
return m.Has(tag.LegStipulationValue)
|
|
}
|
|
|
|
// NoLegStipulationsRepeatingGroup is a repeating group, Tag 683.
|
|
type NoLegStipulationsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegStipulationsRepeatingGroup returns an initialized, NoLegStipulationsRepeatingGroup.
|
|
func NewNoLegStipulationsRepeatingGroup() NoLegStipulationsRepeatingGroup {
|
|
return NoLegStipulationsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegStipulations,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegStipulationType),
|
|
quickfix.GroupElement(tag.LegStipulationValue),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoLegStipulations to this group.
|
|
func (m NoLegStipulationsRepeatingGroup) Add() NoLegStipulations {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoLegStipulations{g}
|
|
}
|
|
|
|
// Get returns the ith NoLegStipulations in the NoLegStipulationsRepeatinGroup.
|
|
func (m NoLegStipulationsRepeatingGroup) Get(i int) NoLegStipulations {
|
|
return NoLegStipulations{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// 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)}
|
|
}
|
|
|
|
// 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.LegSecuritySubType),
|
|
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.LegStrikeCurrency),
|
|
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),
|
|
quickfix.GroupElement(tag.LegPool),
|
|
quickfix.GroupElement(tag.LegDatedDate),
|
|
quickfix.GroupElement(tag.LegContractSettlMonth),
|
|
quickfix.GroupElement(tag.LegInterestAccrualDate),
|
|
quickfix.GroupElement(tag.LegQty),
|
|
quickfix.GroupElement(tag.LegSwapType),
|
|
NewNoLegStipulationsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.LegPositionEffect),
|
|
quickfix.GroupElement(tag.LegCoveredOrUncovered),
|
|
NewNoNestedPartyIDsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.LegRefID),
|
|
quickfix.GroupElement(tag.LegPrice),
|
|
quickfix.GroupElement(tag.LegSettlType),
|
|
quickfix.GroupElement(tag.LegSettlDate),
|
|
quickfix.GroupElement(tag.LegLastPx),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// 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)}
|
|
}
|
|
|
|
// NoTrdRegTimestamps is a repeating group element, Tag 768.
|
|
type NoTrdRegTimestamps struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetTrdRegTimestamp sets TrdRegTimestamp, Tag 769.
|
|
func (m NoTrdRegTimestamps) SetTrdRegTimestamp(v time.Time) {
|
|
m.Set(field.NewTrdRegTimestamp(v))
|
|
}
|
|
|
|
// SetTrdRegTimestampType sets TrdRegTimestampType, Tag 770.
|
|
func (m NoTrdRegTimestamps) SetTrdRegTimestampType(v enum.TrdRegTimestampType) {
|
|
m.Set(field.NewTrdRegTimestampType(v))
|
|
}
|
|
|
|
// SetTrdRegTimestampOrigin sets TrdRegTimestampOrigin, Tag 771.
|
|
func (m NoTrdRegTimestamps) SetTrdRegTimestampOrigin(v string) {
|
|
m.Set(field.NewTrdRegTimestampOrigin(v))
|
|
}
|
|
|
|
// GetTrdRegTimestamp gets TrdRegTimestamp, Tag 769.
|
|
func (m NoTrdRegTimestamps) GetTrdRegTimestamp() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.TrdRegTimestampField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTrdRegTimestampType gets TrdRegTimestampType, Tag 770.
|
|
func (m NoTrdRegTimestamps) GetTrdRegTimestampType() (v enum.TrdRegTimestampType, err quickfix.MessageRejectError) {
|
|
var f field.TrdRegTimestampTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTrdRegTimestampOrigin gets TrdRegTimestampOrigin, Tag 771.
|
|
func (m NoTrdRegTimestamps) GetTrdRegTimestampOrigin() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TrdRegTimestampOriginField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasTrdRegTimestamp returns true if TrdRegTimestamp is present, Tag 769.
|
|
func (m NoTrdRegTimestamps) HasTrdRegTimestamp() bool {
|
|
return m.Has(tag.TrdRegTimestamp)
|
|
}
|
|
|
|
// HasTrdRegTimestampType returns true if TrdRegTimestampType is present, Tag 770.
|
|
func (m NoTrdRegTimestamps) HasTrdRegTimestampType() bool {
|
|
return m.Has(tag.TrdRegTimestampType)
|
|
}
|
|
|
|
// HasTrdRegTimestampOrigin returns true if TrdRegTimestampOrigin is present, Tag 771.
|
|
func (m NoTrdRegTimestamps) HasTrdRegTimestampOrigin() bool {
|
|
return m.Has(tag.TrdRegTimestampOrigin)
|
|
}
|
|
|
|
// NoTrdRegTimestampsRepeatingGroup is a repeating group, Tag 768.
|
|
type NoTrdRegTimestampsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoTrdRegTimestampsRepeatingGroup returns an initialized, NoTrdRegTimestampsRepeatingGroup.
|
|
func NewNoTrdRegTimestampsRepeatingGroup() NoTrdRegTimestampsRepeatingGroup {
|
|
return NoTrdRegTimestampsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoTrdRegTimestamps,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.TrdRegTimestamp),
|
|
quickfix.GroupElement(tag.TrdRegTimestampType),
|
|
quickfix.GroupElement(tag.TrdRegTimestampOrigin),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoTrdRegTimestamps to this group.
|
|
func (m NoTrdRegTimestampsRepeatingGroup) Add() NoTrdRegTimestamps {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoTrdRegTimestamps{g}
|
|
}
|
|
|
|
// Get returns the ith NoTrdRegTimestamps in the NoTrdRegTimestampsRepeatinGroup.
|
|
func (m NoTrdRegTimestampsRepeatingGroup) Get(i int) NoTrdRegTimestamps {
|
|
return NoTrdRegTimestamps{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)}
|
|
}
|