4202 lines
128 KiB
Go
4202 lines
128 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package positionmaintenancereport
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/shopspring/decimal"
|
|
|
|
"quantex.com/qfixdpl/quickfix"
|
|
"quantex.com/qfixdpl/quickfix/gen/enum"
|
|
"quantex.com/qfixdpl/quickfix/gen/field"
|
|
"quantex.com/qfixdpl/quickfix/gen/fix44"
|
|
"quantex.com/qfixdpl/quickfix/gen/tag"
|
|
)
|
|
|
|
// PositionMaintenanceReport is the fix44 PositionMaintenanceReport type, MsgType = AM.
|
|
type PositionMaintenanceReport struct {
|
|
fix44.Header
|
|
*quickfix.Body
|
|
fix44.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a PositionMaintenanceReport from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) PositionMaintenanceReport {
|
|
return PositionMaintenanceReport{
|
|
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 PositionMaintenanceReport) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a PositionMaintenanceReport initialized with the required fields for PositionMaintenanceReport.
|
|
func New(posmaintrptid field.PosMaintRptIDField, postranstype field.PosTransTypeField, posmaintaction field.PosMaintActionField, origposreqrefid field.OrigPosReqRefIDField, posmaintstatus field.PosMaintStatusField, clearingbusinessdate field.ClearingBusinessDateField, account field.AccountField, accounttype field.AccountTypeField, transacttime field.TransactTimeField) (m PositionMaintenanceReport) {
|
|
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("AM"))
|
|
m.Set(posmaintrptid)
|
|
m.Set(postranstype)
|
|
m.Set(posmaintaction)
|
|
m.Set(origposreqrefid)
|
|
m.Set(posmaintstatus)
|
|
m.Set(clearingbusinessdate)
|
|
m.Set(account)
|
|
m.Set(accounttype)
|
|
m.Set(transacttime)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg PositionMaintenanceReport, 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", "AM", r
|
|
}
|
|
|
|
// SetAccount sets Account, Tag 1.
|
|
func (m PositionMaintenanceReport) SetAccount(v string) {
|
|
m.Set(field.NewAccount(v))
|
|
}
|
|
|
|
// SetCurrency sets Currency, Tag 15.
|
|
func (m PositionMaintenanceReport) SetCurrency(v string) {
|
|
m.Set(field.NewCurrency(v))
|
|
}
|
|
|
|
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
|
func (m PositionMaintenanceReport) SetSecurityIDSource(v enum.SecurityIDSource) {
|
|
m.Set(field.NewSecurityIDSource(v))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m PositionMaintenanceReport) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m PositionMaintenanceReport) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetText sets Text, Tag 58.
|
|
func (m PositionMaintenanceReport) SetText(v string) {
|
|
m.Set(field.NewText(v))
|
|
}
|
|
|
|
// SetTransactTime sets TransactTime, Tag 60.
|
|
func (m PositionMaintenanceReport) SetTransactTime(v time.Time) {
|
|
m.Set(field.NewTransactTime(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m PositionMaintenanceReport) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m PositionMaintenanceReport) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m PositionMaintenanceReport) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m PositionMaintenanceReport) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m PositionMaintenanceReport) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m PositionMaintenanceReport) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m PositionMaintenanceReport) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m PositionMaintenanceReport) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m PositionMaintenanceReport) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
|
func (m PositionMaintenanceReport) SetCouponPaymentDate(v string) {
|
|
m.Set(field.NewCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetIssueDate sets IssueDate, Tag 225.
|
|
func (m PositionMaintenanceReport) SetIssueDate(v string) {
|
|
m.Set(field.NewIssueDate(v))
|
|
}
|
|
|
|
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
|
func (m PositionMaintenanceReport) SetRepurchaseTerm(v int) {
|
|
m.Set(field.NewRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
|
func (m PositionMaintenanceReport) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetFactor sets Factor, Tag 228.
|
|
func (m PositionMaintenanceReport) SetFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewFactor(value, scale))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m PositionMaintenanceReport) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
|
func (m PositionMaintenanceReport) SetRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
|
func (m PositionMaintenanceReport) SetRedemptionDate(v string) {
|
|
m.Set(field.NewRedemptionDate(v))
|
|
}
|
|
|
|
// SetCreditRating sets CreditRating, Tag 255.
|
|
func (m PositionMaintenanceReport) SetCreditRating(v string) {
|
|
m.Set(field.NewCreditRating(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m PositionMaintenanceReport) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m PositionMaintenanceReport) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m PositionMaintenanceReport) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m PositionMaintenanceReport) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
|
func (m PositionMaintenanceReport) SetEncodedTextLen(v int) {
|
|
m.Set(field.NewEncodedTextLen(v))
|
|
}
|
|
|
|
// SetEncodedText sets EncodedText, Tag 355.
|
|
func (m PositionMaintenanceReport) SetEncodedText(v string) {
|
|
m.Set(field.NewEncodedText(v))
|
|
}
|
|
|
|
// SetNoTradingSessions sets NoTradingSessions, Tag 386.
|
|
func (m PositionMaintenanceReport) SetNoTradingSessions(f NoTradingSessionsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
|
|
func (m PositionMaintenanceReport) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
|
func (m PositionMaintenanceReport) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProduct sets Product, Tag 460.
|
|
func (m PositionMaintenanceReport) SetProduct(v enum.Product) {
|
|
m.Set(field.NewProduct(v))
|
|
}
|
|
|
|
// SetCFICode sets CFICode, Tag 461.
|
|
func (m PositionMaintenanceReport) SetCFICode(v string) {
|
|
m.Set(field.NewCFICode(v))
|
|
}
|
|
|
|
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
|
func (m PositionMaintenanceReport) SetCountryOfIssue(v string) {
|
|
m.Set(field.NewCountryOfIssue(v))
|
|
}
|
|
|
|
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
|
func (m PositionMaintenanceReport) SetStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
|
func (m PositionMaintenanceReport) SetLocaleOfIssue(v string) {
|
|
m.Set(field.NewLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetMaturityDate sets MaturityDate, Tag 541.
|
|
func (m PositionMaintenanceReport) SetMaturityDate(v string) {
|
|
m.Set(field.NewMaturityDate(v))
|
|
}
|
|
|
|
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
|
func (m PositionMaintenanceReport) SetInstrRegistry(v enum.InstrRegistry) {
|
|
m.Set(field.NewInstrRegistry(v))
|
|
}
|
|
|
|
// SetNoLegs sets NoLegs, Tag 555.
|
|
func (m PositionMaintenanceReport) SetNoLegs(f NoLegsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetAccountType sets AccountType, Tag 581.
|
|
func (m PositionMaintenanceReport) SetAccountType(v enum.AccountType) {
|
|
m.Set(field.NewAccountType(v))
|
|
}
|
|
|
|
// SetAcctIDSource sets AcctIDSource, Tag 660.
|
|
func (m PositionMaintenanceReport) SetAcctIDSource(v enum.AcctIDSource) {
|
|
m.Set(field.NewAcctIDSource(v))
|
|
}
|
|
|
|
// SetContractSettlMonth sets ContractSettlMonth, Tag 667.
|
|
func (m PositionMaintenanceReport) SetContractSettlMonth(v string) {
|
|
m.Set(field.NewContractSettlMonth(v))
|
|
}
|
|
|
|
// SetPool sets Pool, Tag 691.
|
|
func (m PositionMaintenanceReport) SetPool(v string) {
|
|
m.Set(field.NewPool(v))
|
|
}
|
|
|
|
// SetNoPositions sets NoPositions, Tag 702.
|
|
func (m PositionMaintenanceReport) SetNoPositions(f NoPositionsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetPosTransType sets PosTransType, Tag 709.
|
|
func (m PositionMaintenanceReport) SetPosTransType(v enum.PosTransType) {
|
|
m.Set(field.NewPosTransType(v))
|
|
}
|
|
|
|
// SetPosReqID sets PosReqID, Tag 710.
|
|
func (m PositionMaintenanceReport) SetPosReqID(v string) {
|
|
m.Set(field.NewPosReqID(v))
|
|
}
|
|
|
|
// SetNoUnderlyings sets NoUnderlyings, Tag 711.
|
|
func (m PositionMaintenanceReport) SetNoUnderlyings(f NoUnderlyingsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetPosMaintAction sets PosMaintAction, Tag 712.
|
|
func (m PositionMaintenanceReport) SetPosMaintAction(v enum.PosMaintAction) {
|
|
m.Set(field.NewPosMaintAction(v))
|
|
}
|
|
|
|
// SetOrigPosReqRefID sets OrigPosReqRefID, Tag 713.
|
|
func (m PositionMaintenanceReport) SetOrigPosReqRefID(v string) {
|
|
m.Set(field.NewOrigPosReqRefID(v))
|
|
}
|
|
|
|
// SetClearingBusinessDate sets ClearingBusinessDate, Tag 715.
|
|
func (m PositionMaintenanceReport) SetClearingBusinessDate(v string) {
|
|
m.Set(field.NewClearingBusinessDate(v))
|
|
}
|
|
|
|
// SetSettlSessID sets SettlSessID, Tag 716.
|
|
func (m PositionMaintenanceReport) SetSettlSessID(v enum.SettlSessID) {
|
|
m.Set(field.NewSettlSessID(v))
|
|
}
|
|
|
|
// SetSettlSessSubID sets SettlSessSubID, Tag 717.
|
|
func (m PositionMaintenanceReport) SetSettlSessSubID(v string) {
|
|
m.Set(field.NewSettlSessSubID(v))
|
|
}
|
|
|
|
// SetAdjustmentType sets AdjustmentType, Tag 718.
|
|
func (m PositionMaintenanceReport) SetAdjustmentType(v enum.AdjustmentType) {
|
|
m.Set(field.NewAdjustmentType(v))
|
|
}
|
|
|
|
// SetPosMaintRptID sets PosMaintRptID, Tag 721.
|
|
func (m PositionMaintenanceReport) SetPosMaintRptID(v string) {
|
|
m.Set(field.NewPosMaintRptID(v))
|
|
}
|
|
|
|
// SetPosMaintStatus sets PosMaintStatus, Tag 722.
|
|
func (m PositionMaintenanceReport) SetPosMaintStatus(v enum.PosMaintStatus) {
|
|
m.Set(field.NewPosMaintStatus(v))
|
|
}
|
|
|
|
// SetPosMaintResult sets PosMaintResult, Tag 723.
|
|
func (m PositionMaintenanceReport) SetPosMaintResult(v enum.PosMaintResult) {
|
|
m.Set(field.NewPosMaintResult(v))
|
|
}
|
|
|
|
// SetNoPosAmt sets NoPosAmt, Tag 753.
|
|
func (m PositionMaintenanceReport) SetNoPosAmt(f NoPosAmtRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetSecuritySubType sets SecuritySubType, Tag 762.
|
|
func (m PositionMaintenanceReport) SetSecuritySubType(v string) {
|
|
m.Set(field.NewSecuritySubType(v))
|
|
}
|
|
|
|
// SetThresholdAmount sets ThresholdAmount, Tag 834.
|
|
func (m PositionMaintenanceReport) SetThresholdAmount(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewThresholdAmount(value, scale))
|
|
}
|
|
|
|
// SetNoEvents sets NoEvents, Tag 864.
|
|
func (m PositionMaintenanceReport) SetNoEvents(f NoEventsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetDatedDate sets DatedDate, Tag 873.
|
|
func (m PositionMaintenanceReport) SetDatedDate(v string) {
|
|
m.Set(field.NewDatedDate(v))
|
|
}
|
|
|
|
// SetInterestAccrualDate sets InterestAccrualDate, Tag 874.
|
|
func (m PositionMaintenanceReport) SetInterestAccrualDate(v string) {
|
|
m.Set(field.NewInterestAccrualDate(v))
|
|
}
|
|
|
|
// SetCPProgram sets CPProgram, Tag 875.
|
|
func (m PositionMaintenanceReport) SetCPProgram(v enum.CPProgram) {
|
|
m.Set(field.NewCPProgram(v))
|
|
}
|
|
|
|
// SetCPRegType sets CPRegType, Tag 876.
|
|
func (m PositionMaintenanceReport) SetCPRegType(v string) {
|
|
m.Set(field.NewCPRegType(v))
|
|
}
|
|
|
|
// SetStrikeCurrency sets StrikeCurrency, Tag 947.
|
|
func (m PositionMaintenanceReport) SetStrikeCurrency(v string) {
|
|
m.Set(field.NewStrikeCurrency(v))
|
|
}
|
|
|
|
// GetAccount gets Account, Tag 1.
|
|
func (m PositionMaintenanceReport) GetAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCurrency gets Currency, Tag 15.
|
|
func (m PositionMaintenanceReport) GetCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoTradingSessions gets NoTradingSessions, Tag 386.
|
|
func (m PositionMaintenanceReport) GetNoTradingSessions() (NoTradingSessionsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoTradingSessionsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
|
|
func (m PositionMaintenanceReport) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoPartyIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
|
|
func (m PositionMaintenanceReport) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProduct gets Product, Tag 460.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDate gets MaturityDate, Tag 541.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetNoLegs() (NoLegsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetAccountType gets AccountType, Tag 581.
|
|
func (m PositionMaintenanceReport) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
|
|
var f field.AccountTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAcctIDSource gets AcctIDSource, Tag 660.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetPool() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PoolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoPositions gets NoPositions, Tag 702.
|
|
func (m PositionMaintenanceReport) GetNoPositions() (NoPositionsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoPositionsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetPosTransType gets PosTransType, Tag 709.
|
|
func (m PositionMaintenanceReport) GetPosTransType() (v enum.PosTransType, err quickfix.MessageRejectError) {
|
|
var f field.PosTransTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPosReqID gets PosReqID, Tag 710.
|
|
func (m PositionMaintenanceReport) GetPosReqID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PosReqIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoUnderlyings gets NoUnderlyings, Tag 711.
|
|
func (m PositionMaintenanceReport) GetNoUnderlyings() (NoUnderlyingsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetPosMaintAction gets PosMaintAction, Tag 712.
|
|
func (m PositionMaintenanceReport) GetPosMaintAction() (v enum.PosMaintAction, err quickfix.MessageRejectError) {
|
|
var f field.PosMaintActionField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrigPosReqRefID gets OrigPosReqRefID, Tag 713.
|
|
func (m PositionMaintenanceReport) GetOrigPosReqRefID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.OrigPosReqRefIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClearingBusinessDate gets ClearingBusinessDate, Tag 715.
|
|
func (m PositionMaintenanceReport) GetClearingBusinessDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClearingBusinessDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSettlSessID gets SettlSessID, Tag 716.
|
|
func (m PositionMaintenanceReport) GetSettlSessID() (v enum.SettlSessID, err quickfix.MessageRejectError) {
|
|
var f field.SettlSessIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSettlSessSubID gets SettlSessSubID, Tag 717.
|
|
func (m PositionMaintenanceReport) GetSettlSessSubID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SettlSessSubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAdjustmentType gets AdjustmentType, Tag 718.
|
|
func (m PositionMaintenanceReport) GetAdjustmentType() (v enum.AdjustmentType, err quickfix.MessageRejectError) {
|
|
var f field.AdjustmentTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPosMaintRptID gets PosMaintRptID, Tag 721.
|
|
func (m PositionMaintenanceReport) GetPosMaintRptID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PosMaintRptIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPosMaintStatus gets PosMaintStatus, Tag 722.
|
|
func (m PositionMaintenanceReport) GetPosMaintStatus() (v enum.PosMaintStatus, err quickfix.MessageRejectError) {
|
|
var f field.PosMaintStatusField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPosMaintResult gets PosMaintResult, Tag 723.
|
|
func (m PositionMaintenanceReport) GetPosMaintResult() (v enum.PosMaintResult, err quickfix.MessageRejectError) {
|
|
var f field.PosMaintResultField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoPosAmt gets NoPosAmt, Tag 753.
|
|
func (m PositionMaintenanceReport) GetNoPosAmt() (NoPosAmtRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoPosAmtRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetSecuritySubType gets SecuritySubType, Tag 762.
|
|
func (m PositionMaintenanceReport) GetSecuritySubType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecuritySubTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetThresholdAmount gets ThresholdAmount, Tag 834.
|
|
func (m PositionMaintenanceReport) GetThresholdAmount() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.ThresholdAmountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoEvents gets NoEvents, Tag 864.
|
|
func (m PositionMaintenanceReport) GetNoEvents() (NoEventsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoEventsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetDatedDate gets DatedDate, Tag 873.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) 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 PositionMaintenanceReport) GetCPRegType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CPRegTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikeCurrency gets StrikeCurrency, Tag 947.
|
|
func (m PositionMaintenanceReport) 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 PositionMaintenanceReport) HasAccount() bool {
|
|
return m.Has(tag.Account)
|
|
}
|
|
|
|
// HasCurrency returns true if Currency is present, Tag 15.
|
|
func (m PositionMaintenanceReport) HasCurrency() bool {
|
|
return m.Has(tag.Currency)
|
|
}
|
|
|
|
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
|
func (m PositionMaintenanceReport) HasSecurityIDSource() bool {
|
|
return m.Has(tag.SecurityIDSource)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m PositionMaintenanceReport) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m PositionMaintenanceReport) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasText returns true if Text is present, Tag 58.
|
|
func (m PositionMaintenanceReport) HasText() bool {
|
|
return m.Has(tag.Text)
|
|
}
|
|
|
|
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
|
func (m PositionMaintenanceReport) HasTransactTime() bool {
|
|
return m.Has(tag.TransactTime)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m PositionMaintenanceReport) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m PositionMaintenanceReport) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m PositionMaintenanceReport) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m PositionMaintenanceReport) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m PositionMaintenanceReport) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m PositionMaintenanceReport) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m PositionMaintenanceReport) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m PositionMaintenanceReport) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m PositionMaintenanceReport) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
|
func (m PositionMaintenanceReport) HasCouponPaymentDate() bool {
|
|
return m.Has(tag.CouponPaymentDate)
|
|
}
|
|
|
|
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
|
func (m PositionMaintenanceReport) HasIssueDate() bool {
|
|
return m.Has(tag.IssueDate)
|
|
}
|
|
|
|
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
|
func (m PositionMaintenanceReport) HasRepurchaseTerm() bool {
|
|
return m.Has(tag.RepurchaseTerm)
|
|
}
|
|
|
|
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
|
func (m PositionMaintenanceReport) HasRepurchaseRate() bool {
|
|
return m.Has(tag.RepurchaseRate)
|
|
}
|
|
|
|
// HasFactor returns true if Factor is present, Tag 228.
|
|
func (m PositionMaintenanceReport) HasFactor() bool {
|
|
return m.Has(tag.Factor)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m PositionMaintenanceReport) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
|
func (m PositionMaintenanceReport) HasRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.RepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
|
func (m PositionMaintenanceReport) HasRedemptionDate() bool {
|
|
return m.Has(tag.RedemptionDate)
|
|
}
|
|
|
|
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
|
func (m PositionMaintenanceReport) HasCreditRating() bool {
|
|
return m.Has(tag.CreditRating)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m PositionMaintenanceReport) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m PositionMaintenanceReport) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m PositionMaintenanceReport) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m PositionMaintenanceReport) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
|
func (m PositionMaintenanceReport) HasEncodedTextLen() bool {
|
|
return m.Has(tag.EncodedTextLen)
|
|
}
|
|
|
|
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
|
func (m PositionMaintenanceReport) HasEncodedText() bool {
|
|
return m.Has(tag.EncodedText)
|
|
}
|
|
|
|
// HasNoTradingSessions returns true if NoTradingSessions is present, Tag 386.
|
|
func (m PositionMaintenanceReport) HasNoTradingSessions() bool {
|
|
return m.Has(tag.NoTradingSessions)
|
|
}
|
|
|
|
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
|
|
func (m PositionMaintenanceReport) HasNoPartyIDs() bool {
|
|
return m.Has(tag.NoPartyIDs)
|
|
}
|
|
|
|
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
|
func (m PositionMaintenanceReport) HasNoSecurityAltID() bool {
|
|
return m.Has(tag.NoSecurityAltID)
|
|
}
|
|
|
|
// HasProduct returns true if Product is present, Tag 460.
|
|
func (m PositionMaintenanceReport) HasProduct() bool {
|
|
return m.Has(tag.Product)
|
|
}
|
|
|
|
// HasCFICode returns true if CFICode is present, Tag 461.
|
|
func (m PositionMaintenanceReport) HasCFICode() bool {
|
|
return m.Has(tag.CFICode)
|
|
}
|
|
|
|
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
|
func (m PositionMaintenanceReport) HasCountryOfIssue() bool {
|
|
return m.Has(tag.CountryOfIssue)
|
|
}
|
|
|
|
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
|
func (m PositionMaintenanceReport) HasStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.StateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
|
func (m PositionMaintenanceReport) HasLocaleOfIssue() bool {
|
|
return m.Has(tag.LocaleOfIssue)
|
|
}
|
|
|
|
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
|
func (m PositionMaintenanceReport) HasMaturityDate() bool {
|
|
return m.Has(tag.MaturityDate)
|
|
}
|
|
|
|
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
|
func (m PositionMaintenanceReport) HasInstrRegistry() bool {
|
|
return m.Has(tag.InstrRegistry)
|
|
}
|
|
|
|
// HasNoLegs returns true if NoLegs is present, Tag 555.
|
|
func (m PositionMaintenanceReport) HasNoLegs() bool {
|
|
return m.Has(tag.NoLegs)
|
|
}
|
|
|
|
// HasAccountType returns true if AccountType is present, Tag 581.
|
|
func (m PositionMaintenanceReport) HasAccountType() bool {
|
|
return m.Has(tag.AccountType)
|
|
}
|
|
|
|
// HasAcctIDSource returns true if AcctIDSource is present, Tag 660.
|
|
func (m PositionMaintenanceReport) HasAcctIDSource() bool {
|
|
return m.Has(tag.AcctIDSource)
|
|
}
|
|
|
|
// HasContractSettlMonth returns true if ContractSettlMonth is present, Tag 667.
|
|
func (m PositionMaintenanceReport) HasContractSettlMonth() bool {
|
|
return m.Has(tag.ContractSettlMonth)
|
|
}
|
|
|
|
// HasPool returns true if Pool is present, Tag 691.
|
|
func (m PositionMaintenanceReport) HasPool() bool {
|
|
return m.Has(tag.Pool)
|
|
}
|
|
|
|
// HasNoPositions returns true if NoPositions is present, Tag 702.
|
|
func (m PositionMaintenanceReport) HasNoPositions() bool {
|
|
return m.Has(tag.NoPositions)
|
|
}
|
|
|
|
// HasPosTransType returns true if PosTransType is present, Tag 709.
|
|
func (m PositionMaintenanceReport) HasPosTransType() bool {
|
|
return m.Has(tag.PosTransType)
|
|
}
|
|
|
|
// HasPosReqID returns true if PosReqID is present, Tag 710.
|
|
func (m PositionMaintenanceReport) HasPosReqID() bool {
|
|
return m.Has(tag.PosReqID)
|
|
}
|
|
|
|
// HasNoUnderlyings returns true if NoUnderlyings is present, Tag 711.
|
|
func (m PositionMaintenanceReport) HasNoUnderlyings() bool {
|
|
return m.Has(tag.NoUnderlyings)
|
|
}
|
|
|
|
// HasPosMaintAction returns true if PosMaintAction is present, Tag 712.
|
|
func (m PositionMaintenanceReport) HasPosMaintAction() bool {
|
|
return m.Has(tag.PosMaintAction)
|
|
}
|
|
|
|
// HasOrigPosReqRefID returns true if OrigPosReqRefID is present, Tag 713.
|
|
func (m PositionMaintenanceReport) HasOrigPosReqRefID() bool {
|
|
return m.Has(tag.OrigPosReqRefID)
|
|
}
|
|
|
|
// HasClearingBusinessDate returns true if ClearingBusinessDate is present, Tag 715.
|
|
func (m PositionMaintenanceReport) HasClearingBusinessDate() bool {
|
|
return m.Has(tag.ClearingBusinessDate)
|
|
}
|
|
|
|
// HasSettlSessID returns true if SettlSessID is present, Tag 716.
|
|
func (m PositionMaintenanceReport) HasSettlSessID() bool {
|
|
return m.Has(tag.SettlSessID)
|
|
}
|
|
|
|
// HasSettlSessSubID returns true if SettlSessSubID is present, Tag 717.
|
|
func (m PositionMaintenanceReport) HasSettlSessSubID() bool {
|
|
return m.Has(tag.SettlSessSubID)
|
|
}
|
|
|
|
// HasAdjustmentType returns true if AdjustmentType is present, Tag 718.
|
|
func (m PositionMaintenanceReport) HasAdjustmentType() bool {
|
|
return m.Has(tag.AdjustmentType)
|
|
}
|
|
|
|
// HasPosMaintRptID returns true if PosMaintRptID is present, Tag 721.
|
|
func (m PositionMaintenanceReport) HasPosMaintRptID() bool {
|
|
return m.Has(tag.PosMaintRptID)
|
|
}
|
|
|
|
// HasPosMaintStatus returns true if PosMaintStatus is present, Tag 722.
|
|
func (m PositionMaintenanceReport) HasPosMaintStatus() bool {
|
|
return m.Has(tag.PosMaintStatus)
|
|
}
|
|
|
|
// HasPosMaintResult returns true if PosMaintResult is present, Tag 723.
|
|
func (m PositionMaintenanceReport) HasPosMaintResult() bool {
|
|
return m.Has(tag.PosMaintResult)
|
|
}
|
|
|
|
// HasNoPosAmt returns true if NoPosAmt is present, Tag 753.
|
|
func (m PositionMaintenanceReport) HasNoPosAmt() bool {
|
|
return m.Has(tag.NoPosAmt)
|
|
}
|
|
|
|
// HasSecuritySubType returns true if SecuritySubType is present, Tag 762.
|
|
func (m PositionMaintenanceReport) HasSecuritySubType() bool {
|
|
return m.Has(tag.SecuritySubType)
|
|
}
|
|
|
|
// HasThresholdAmount returns true if ThresholdAmount is present, Tag 834.
|
|
func (m PositionMaintenanceReport) HasThresholdAmount() bool {
|
|
return m.Has(tag.ThresholdAmount)
|
|
}
|
|
|
|
// HasNoEvents returns true if NoEvents is present, Tag 864.
|
|
func (m PositionMaintenanceReport) HasNoEvents() bool {
|
|
return m.Has(tag.NoEvents)
|
|
}
|
|
|
|
// HasDatedDate returns true if DatedDate is present, Tag 873.
|
|
func (m PositionMaintenanceReport) HasDatedDate() bool {
|
|
return m.Has(tag.DatedDate)
|
|
}
|
|
|
|
// HasInterestAccrualDate returns true if InterestAccrualDate is present, Tag 874.
|
|
func (m PositionMaintenanceReport) HasInterestAccrualDate() bool {
|
|
return m.Has(tag.InterestAccrualDate)
|
|
}
|
|
|
|
// HasCPProgram returns true if CPProgram is present, Tag 875.
|
|
func (m PositionMaintenanceReport) HasCPProgram() bool {
|
|
return m.Has(tag.CPProgram)
|
|
}
|
|
|
|
// HasCPRegType returns true if CPRegType is present, Tag 876.
|
|
func (m PositionMaintenanceReport) HasCPRegType() bool {
|
|
return m.Has(tag.CPRegType)
|
|
}
|
|
|
|
// HasStrikeCurrency returns true if StrikeCurrency is present, Tag 947.
|
|
func (m PositionMaintenanceReport) HasStrikeCurrency() bool {
|
|
return m.Has(tag.StrikeCurrency)
|
|
}
|
|
|
|
// NoTradingSessions is a repeating group element, Tag 386.
|
|
type NoTradingSessions struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
|
func (m NoTradingSessions) SetTradingSessionID(v enum.TradingSessionID) {
|
|
m.Set(field.NewTradingSessionID(v))
|
|
}
|
|
|
|
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
|
func (m NoTradingSessions) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
|
m.Set(field.NewTradingSessionSubID(v))
|
|
}
|
|
|
|
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
|
func (m NoTradingSessions) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
|
func (m NoTradingSessions) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionSubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
|
func (m NoTradingSessions) HasTradingSessionID() bool {
|
|
return m.Has(tag.TradingSessionID)
|
|
}
|
|
|
|
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
|
func (m NoTradingSessions) HasTradingSessionSubID() bool {
|
|
return m.Has(tag.TradingSessionSubID)
|
|
}
|
|
|
|
// NoTradingSessionsRepeatingGroup is a repeating group, Tag 386.
|
|
type NoTradingSessionsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoTradingSessionsRepeatingGroup returns an initialized, NoTradingSessionsRepeatingGroup.
|
|
func NewNoTradingSessionsRepeatingGroup() NoTradingSessionsRepeatingGroup {
|
|
return NoTradingSessionsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoTradingSessions,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.TradingSessionID),
|
|
quickfix.GroupElement(tag.TradingSessionSubID),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoTradingSessions to this group.
|
|
func (m NoTradingSessionsRepeatingGroup) Add() NoTradingSessions {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoTradingSessions{g}
|
|
}
|
|
|
|
// Get returns the ith NoTradingSessions in the NoTradingSessionsRepeatinGroup.
|
|
func (m NoTradingSessionsRepeatingGroup) Get(i int) NoTradingSessions {
|
|
return NoTradingSessions{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoPartyIDs is a repeating group element, Tag 453.
|
|
type NoPartyIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetPartyID sets PartyID, Tag 448.
|
|
func (m NoPartyIDs) SetPartyID(v string) {
|
|
m.Set(field.NewPartyID(v))
|
|
}
|
|
|
|
// SetPartyIDSource sets PartyIDSource, Tag 447.
|
|
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
|
|
m.Set(field.NewPartyIDSource(v))
|
|
}
|
|
|
|
// SetPartyRole sets PartyRole, Tag 452.
|
|
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
|
|
m.Set(field.NewPartyRole(v))
|
|
}
|
|
|
|
// SetNoPartySubIDs sets NoPartySubIDs, Tag 802.
|
|
func (m NoPartyIDs) SetNoPartySubIDs(f NoPartySubIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// GetPartyID gets PartyID, Tag 448.
|
|
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PartyIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPartyIDSource gets PartyIDSource, Tag 447.
|
|
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
|
|
var f field.PartyIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPartyRole gets PartyRole, Tag 452.
|
|
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
|
|
var f field.PartyRoleField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoPartySubIDs gets NoPartySubIDs, Tag 802.
|
|
func (m NoPartyIDs) GetNoPartySubIDs() (NoPartySubIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoPartySubIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// HasPartyID returns true if PartyID is present, Tag 448.
|
|
func (m NoPartyIDs) HasPartyID() bool {
|
|
return m.Has(tag.PartyID)
|
|
}
|
|
|
|
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
|
|
func (m NoPartyIDs) HasPartyIDSource() bool {
|
|
return m.Has(tag.PartyIDSource)
|
|
}
|
|
|
|
// HasPartyRole returns true if PartyRole is present, Tag 452.
|
|
func (m NoPartyIDs) HasPartyRole() bool {
|
|
return m.Has(tag.PartyRole)
|
|
}
|
|
|
|
// HasNoPartySubIDs returns true if NoPartySubIDs is present, Tag 802.
|
|
func (m NoPartyIDs) HasNoPartySubIDs() bool {
|
|
return m.Has(tag.NoPartySubIDs)
|
|
}
|
|
|
|
// NoPartySubIDs is a repeating group element, Tag 802.
|
|
type NoPartySubIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetPartySubID sets PartySubID, Tag 523.
|
|
func (m NoPartySubIDs) SetPartySubID(v string) {
|
|
m.Set(field.NewPartySubID(v))
|
|
}
|
|
|
|
// SetPartySubIDType sets PartySubIDType, Tag 803.
|
|
func (m NoPartySubIDs) SetPartySubIDType(v enum.PartySubIDType) {
|
|
m.Set(field.NewPartySubIDType(v))
|
|
}
|
|
|
|
// GetPartySubID gets PartySubID, Tag 523.
|
|
func (m NoPartySubIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PartySubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPartySubIDType gets PartySubIDType, Tag 803.
|
|
func (m NoPartySubIDs) GetPartySubIDType() (v enum.PartySubIDType, err quickfix.MessageRejectError) {
|
|
var f field.PartySubIDTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasPartySubID returns true if PartySubID is present, Tag 523.
|
|
func (m NoPartySubIDs) HasPartySubID() bool {
|
|
return m.Has(tag.PartySubID)
|
|
}
|
|
|
|
// HasPartySubIDType returns true if PartySubIDType is present, Tag 803.
|
|
func (m NoPartySubIDs) HasPartySubIDType() bool {
|
|
return m.Has(tag.PartySubIDType)
|
|
}
|
|
|
|
// NoPartySubIDsRepeatingGroup is a repeating group, Tag 802.
|
|
type NoPartySubIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoPartySubIDsRepeatingGroup returns an initialized, NoPartySubIDsRepeatingGroup.
|
|
func NewNoPartySubIDsRepeatingGroup() NoPartySubIDsRepeatingGroup {
|
|
return NoPartySubIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoPartySubIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.PartySubID),
|
|
quickfix.GroupElement(tag.PartySubIDType),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoPartySubIDs to this group.
|
|
func (m NoPartySubIDsRepeatingGroup) Add() NoPartySubIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoPartySubIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoPartySubIDs in the NoPartySubIDsRepeatinGroup.
|
|
func (m NoPartySubIDsRepeatingGroup) Get(i int) NoPartySubIDs {
|
|
return NoPartySubIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
|
|
type NoPartyIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
|
|
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
|
|
return NoPartyIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoPartyIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.PartyID),
|
|
quickfix.GroupElement(tag.PartyIDSource),
|
|
quickfix.GroupElement(tag.PartyRole),
|
|
NewNoPartySubIDsRepeatingGroup(),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoPartyIDs to this group.
|
|
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoPartyIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
|
|
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
|
|
return NoPartyIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoSecurityAltID is a repeating group element, Tag 454.
|
|
type NoSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetSecurityAltID sets SecurityAltID, Tag 455.
|
|
func (m NoSecurityAltID) SetSecurityAltID(v string) {
|
|
m.Set(field.NewSecurityAltID(v))
|
|
}
|
|
|
|
// SetSecurityAltIDSource sets SecurityAltIDSource, Tag 456.
|
|
func (m NoSecurityAltID) SetSecurityAltIDSource(v string) {
|
|
m.Set(field.NewSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetSecurityAltID gets SecurityAltID, Tag 455.
|
|
func (m NoSecurityAltID) GetSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityAltIDSource gets SecurityAltIDSource, Tag 456.
|
|
func (m NoSecurityAltID) GetSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasSecurityAltID returns true if SecurityAltID is present, Tag 455.
|
|
func (m NoSecurityAltID) HasSecurityAltID() bool {
|
|
return m.Has(tag.SecurityAltID)
|
|
}
|
|
|
|
// HasSecurityAltIDSource returns true if SecurityAltIDSource is present, Tag 456.
|
|
func (m NoSecurityAltID) HasSecurityAltIDSource() bool {
|
|
return m.Has(tag.SecurityAltIDSource)
|
|
}
|
|
|
|
// NoSecurityAltIDRepeatingGroup is a repeating group, Tag 454.
|
|
type NoSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoSecurityAltIDRepeatingGroup returns an initialized, NoSecurityAltIDRepeatingGroup.
|
|
func NewNoSecurityAltIDRepeatingGroup() NoSecurityAltIDRepeatingGroup {
|
|
return NoSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.SecurityAltID),
|
|
quickfix.GroupElement(tag.SecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoSecurityAltID to this group.
|
|
func (m NoSecurityAltIDRepeatingGroup) Add() NoSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoSecurityAltID in the NoSecurityAltIDRepeatinGroup.
|
|
func (m NoSecurityAltIDRepeatingGroup) Get(i int) NoSecurityAltID {
|
|
return NoSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// 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))
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// 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)
|
|
}
|
|
|
|
// NoLegSecurityAltID is a repeating group element, Tag 604.
|
|
type NoLegSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetLegSecurityAltID sets LegSecurityAltID, Tag 605.
|
|
func (m NoLegSecurityAltID) SetLegSecurityAltID(v string) {
|
|
m.Set(field.NewLegSecurityAltID(v))
|
|
}
|
|
|
|
// SetLegSecurityAltIDSource sets LegSecurityAltIDSource, Tag 606.
|
|
func (m NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) {
|
|
m.Set(field.NewLegSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetLegSecurityAltID gets LegSecurityAltID, Tag 605.
|
|
func (m NoLegSecurityAltID) GetLegSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityAltIDSource gets LegSecurityAltIDSource, Tag 606.
|
|
func (m NoLegSecurityAltID) GetLegSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasLegSecurityAltID returns true if LegSecurityAltID is present, Tag 605.
|
|
func (m NoLegSecurityAltID) HasLegSecurityAltID() bool {
|
|
return m.Has(tag.LegSecurityAltID)
|
|
}
|
|
|
|
// HasLegSecurityAltIDSource returns true if LegSecurityAltIDSource is present, Tag 606.
|
|
func (m NoLegSecurityAltID) HasLegSecurityAltIDSource() bool {
|
|
return m.Has(tag.LegSecurityAltIDSource)
|
|
}
|
|
|
|
// NoLegSecurityAltIDRepeatingGroup is a repeating group, Tag 604.
|
|
type NoLegSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegSecurityAltIDRepeatingGroup returns an initialized, NoLegSecurityAltIDRepeatingGroup.
|
|
func NewNoLegSecurityAltIDRepeatingGroup() NoLegSecurityAltIDRepeatingGroup {
|
|
return NoLegSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegSecurityAltID),
|
|
quickfix.GroupElement(tag.LegSecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoLegSecurityAltID to this group.
|
|
func (m NoLegSecurityAltIDRepeatingGroup) Add() NoLegSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoLegSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoLegSecurityAltID in the NoLegSecurityAltIDRepeatinGroup.
|
|
func (m NoLegSecurityAltIDRepeatingGroup) Get(i int) NoLegSecurityAltID {
|
|
return NoLegSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoLegsRepeatingGroup is a repeating group, Tag 555.
|
|
type NoLegsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegsRepeatingGroup returns an initialized, NoLegsRepeatingGroup.
|
|
func NewNoLegsRepeatingGroup() NoLegsRepeatingGroup {
|
|
return NoLegsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegSymbol),
|
|
quickfix.GroupElement(tag.LegSymbolSfx),
|
|
quickfix.GroupElement(tag.LegSecurityID),
|
|
quickfix.GroupElement(tag.LegSecurityIDSource),
|
|
NewNoLegSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.LegProduct),
|
|
quickfix.GroupElement(tag.LegCFICode),
|
|
quickfix.GroupElement(tag.LegSecurityType),
|
|
quickfix.GroupElement(tag.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),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// 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)}
|
|
}
|
|
|
|
// NoPositions is a repeating group element, Tag 702.
|
|
type NoPositions struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetPosType sets PosType, Tag 703.
|
|
func (m NoPositions) SetPosType(v enum.PosType) {
|
|
m.Set(field.NewPosType(v))
|
|
}
|
|
|
|
// SetLongQty sets LongQty, Tag 704.
|
|
func (m NoPositions) SetLongQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLongQty(value, scale))
|
|
}
|
|
|
|
// SetShortQty sets ShortQty, Tag 705.
|
|
func (m NoPositions) SetShortQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewShortQty(value, scale))
|
|
}
|
|
|
|
// SetPosQtyStatus sets PosQtyStatus, Tag 706.
|
|
func (m NoPositions) SetPosQtyStatus(v enum.PosQtyStatus) {
|
|
m.Set(field.NewPosQtyStatus(v))
|
|
}
|
|
|
|
// SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539.
|
|
func (m NoPositions) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// GetPosType gets PosType, Tag 703.
|
|
func (m NoPositions) GetPosType() (v enum.PosType, err quickfix.MessageRejectError) {
|
|
var f field.PosTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLongQty gets LongQty, Tag 704.
|
|
func (m NoPositions) GetLongQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LongQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetShortQty gets ShortQty, Tag 705.
|
|
func (m NoPositions) GetShortQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.ShortQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPosQtyStatus gets PosQtyStatus, Tag 706.
|
|
func (m NoPositions) GetPosQtyStatus() (v enum.PosQtyStatus, err quickfix.MessageRejectError) {
|
|
var f field.PosQtyStatusField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539.
|
|
func (m NoPositions) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoNestedPartyIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// HasPosType returns true if PosType is present, Tag 703.
|
|
func (m NoPositions) HasPosType() bool {
|
|
return m.Has(tag.PosType)
|
|
}
|
|
|
|
// HasLongQty returns true if LongQty is present, Tag 704.
|
|
func (m NoPositions) HasLongQty() bool {
|
|
return m.Has(tag.LongQty)
|
|
}
|
|
|
|
// HasShortQty returns true if ShortQty is present, Tag 705.
|
|
func (m NoPositions) HasShortQty() bool {
|
|
return m.Has(tag.ShortQty)
|
|
}
|
|
|
|
// HasPosQtyStatus returns true if PosQtyStatus is present, Tag 706.
|
|
func (m NoPositions) HasPosQtyStatus() bool {
|
|
return m.Has(tag.PosQtyStatus)
|
|
}
|
|
|
|
// HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539.
|
|
func (m NoPositions) HasNoNestedPartyIDs() bool {
|
|
return m.Has(tag.NoNestedPartyIDs)
|
|
}
|
|
|
|
// NoNestedPartyIDs is a repeating group element, Tag 539.
|
|
type NoNestedPartyIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetNestedPartyID sets NestedPartyID, Tag 524.
|
|
func (m NoNestedPartyIDs) SetNestedPartyID(v string) {
|
|
m.Set(field.NewNestedPartyID(v))
|
|
}
|
|
|
|
// SetNestedPartyIDSource sets NestedPartyIDSource, Tag 525.
|
|
func (m NoNestedPartyIDs) SetNestedPartyIDSource(v string) {
|
|
m.Set(field.NewNestedPartyIDSource(v))
|
|
}
|
|
|
|
// SetNestedPartyRole sets NestedPartyRole, Tag 538.
|
|
func (m NoNestedPartyIDs) SetNestedPartyRole(v int) {
|
|
m.Set(field.NewNestedPartyRole(v))
|
|
}
|
|
|
|
// SetNoNestedPartySubIDs sets NoNestedPartySubIDs, Tag 804.
|
|
func (m NoNestedPartyIDs) SetNoNestedPartySubIDs(f NoNestedPartySubIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// GetNestedPartyID gets NestedPartyID, Tag 524.
|
|
func (m NoNestedPartyIDs) GetNestedPartyID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartyIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNestedPartyIDSource gets NestedPartyIDSource, Tag 525.
|
|
func (m NoNestedPartyIDs) GetNestedPartyIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartyIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNestedPartyRole gets NestedPartyRole, Tag 538.
|
|
func (m NoNestedPartyIDs) GetNestedPartyRole() (v int, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartyRoleField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoNestedPartySubIDs gets NoNestedPartySubIDs, Tag 804.
|
|
func (m NoNestedPartyIDs) GetNoNestedPartySubIDs() (NoNestedPartySubIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoNestedPartySubIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// HasNestedPartyID returns true if NestedPartyID is present, Tag 524.
|
|
func (m NoNestedPartyIDs) HasNestedPartyID() bool {
|
|
return m.Has(tag.NestedPartyID)
|
|
}
|
|
|
|
// HasNestedPartyIDSource returns true if NestedPartyIDSource is present, Tag 525.
|
|
func (m NoNestedPartyIDs) HasNestedPartyIDSource() bool {
|
|
return m.Has(tag.NestedPartyIDSource)
|
|
}
|
|
|
|
// HasNestedPartyRole returns true if NestedPartyRole is present, Tag 538.
|
|
func (m NoNestedPartyIDs) HasNestedPartyRole() bool {
|
|
return m.Has(tag.NestedPartyRole)
|
|
}
|
|
|
|
// HasNoNestedPartySubIDs returns true if NoNestedPartySubIDs is present, Tag 804.
|
|
func (m NoNestedPartyIDs) HasNoNestedPartySubIDs() bool {
|
|
return m.Has(tag.NoNestedPartySubIDs)
|
|
}
|
|
|
|
// NoNestedPartySubIDs is a repeating group element, Tag 804.
|
|
type NoNestedPartySubIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetNestedPartySubID sets NestedPartySubID, Tag 545.
|
|
func (m NoNestedPartySubIDs) SetNestedPartySubID(v string) {
|
|
m.Set(field.NewNestedPartySubID(v))
|
|
}
|
|
|
|
// SetNestedPartySubIDType sets NestedPartySubIDType, Tag 805.
|
|
func (m NoNestedPartySubIDs) SetNestedPartySubIDType(v int) {
|
|
m.Set(field.NewNestedPartySubIDType(v))
|
|
}
|
|
|
|
// GetNestedPartySubID gets NestedPartySubID, Tag 545.
|
|
func (m NoNestedPartySubIDs) GetNestedPartySubID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartySubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNestedPartySubIDType gets NestedPartySubIDType, Tag 805.
|
|
func (m NoNestedPartySubIDs) GetNestedPartySubIDType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartySubIDTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasNestedPartySubID returns true if NestedPartySubID is present, Tag 545.
|
|
func (m NoNestedPartySubIDs) HasNestedPartySubID() bool {
|
|
return m.Has(tag.NestedPartySubID)
|
|
}
|
|
|
|
// HasNestedPartySubIDType returns true if NestedPartySubIDType is present, Tag 805.
|
|
func (m NoNestedPartySubIDs) HasNestedPartySubIDType() bool {
|
|
return m.Has(tag.NestedPartySubIDType)
|
|
}
|
|
|
|
// NoNestedPartySubIDsRepeatingGroup is a repeating group, Tag 804.
|
|
type NoNestedPartySubIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoNestedPartySubIDsRepeatingGroup returns an initialized, NoNestedPartySubIDsRepeatingGroup.
|
|
func NewNoNestedPartySubIDsRepeatingGroup() NoNestedPartySubIDsRepeatingGroup {
|
|
return NoNestedPartySubIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoNestedPartySubIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.NestedPartySubID),
|
|
quickfix.GroupElement(tag.NestedPartySubIDType),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoNestedPartySubIDs to this group.
|
|
func (m NoNestedPartySubIDsRepeatingGroup) Add() NoNestedPartySubIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoNestedPartySubIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoNestedPartySubIDs in the NoNestedPartySubIDsRepeatinGroup.
|
|
func (m NoNestedPartySubIDsRepeatingGroup) Get(i int) NoNestedPartySubIDs {
|
|
return NoNestedPartySubIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoNestedPartyIDsRepeatingGroup is a repeating group, Tag 539.
|
|
type NoNestedPartyIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoNestedPartyIDsRepeatingGroup returns an initialized, NoNestedPartyIDsRepeatingGroup.
|
|
func NewNoNestedPartyIDsRepeatingGroup() NoNestedPartyIDsRepeatingGroup {
|
|
return NoNestedPartyIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoNestedPartyIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.NestedPartyID),
|
|
quickfix.GroupElement(tag.NestedPartyIDSource),
|
|
quickfix.GroupElement(tag.NestedPartyRole),
|
|
NewNoNestedPartySubIDsRepeatingGroup(),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoNestedPartyIDs to this group.
|
|
func (m NoNestedPartyIDsRepeatingGroup) Add() NoNestedPartyIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoNestedPartyIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoNestedPartyIDs in the NoNestedPartyIDsRepeatinGroup.
|
|
func (m NoNestedPartyIDsRepeatingGroup) Get(i int) NoNestedPartyIDs {
|
|
return NoNestedPartyIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoPositionsRepeatingGroup is a repeating group, Tag 702.
|
|
type NoPositionsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoPositionsRepeatingGroup returns an initialized, NoPositionsRepeatingGroup.
|
|
func NewNoPositionsRepeatingGroup() NoPositionsRepeatingGroup {
|
|
return NoPositionsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoPositions,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.PosType),
|
|
quickfix.GroupElement(tag.LongQty),
|
|
quickfix.GroupElement(tag.ShortQty),
|
|
quickfix.GroupElement(tag.PosQtyStatus),
|
|
NewNoNestedPartyIDsRepeatingGroup(),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoPositions to this group.
|
|
func (m NoPositionsRepeatingGroup) Add() NoPositions {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoPositions{g}
|
|
}
|
|
|
|
// Get returns the ith NoPositions in the NoPositionsRepeatinGroup.
|
|
func (m NoPositionsRepeatingGroup) Get(i int) NoPositions {
|
|
return NoPositions{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyings is a repeating group element, Tag 711.
|
|
type NoUnderlyings struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingSymbol sets UnderlyingSymbol, Tag 311.
|
|
func (m NoUnderlyings) SetUnderlyingSymbol(v string) {
|
|
m.Set(field.NewUnderlyingSymbol(v))
|
|
}
|
|
|
|
// SetUnderlyingSymbolSfx sets UnderlyingSymbolSfx, Tag 312.
|
|
func (m NoUnderlyings) SetUnderlyingSymbolSfx(v string) {
|
|
m.Set(field.NewUnderlyingSymbolSfx(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityID sets UnderlyingSecurityID, Tag 309.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityID(v string) {
|
|
m.Set(field.NewUnderlyingSecurityID(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityIDSource sets UnderlyingSecurityIDSource, Tag 305.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityIDSource(v string) {
|
|
m.Set(field.NewUnderlyingSecurityIDSource(v))
|
|
}
|
|
|
|
// SetNoUnderlyingSecurityAltID sets NoUnderlyingSecurityAltID, Tag 457.
|
|
func (m NoUnderlyings) SetNoUnderlyingSecurityAltID(f NoUnderlyingSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetUnderlyingProduct sets UnderlyingProduct, Tag 462.
|
|
func (m NoUnderlyings) SetUnderlyingProduct(v int) {
|
|
m.Set(field.NewUnderlyingProduct(v))
|
|
}
|
|
|
|
// SetUnderlyingCFICode sets UnderlyingCFICode, Tag 463.
|
|
func (m NoUnderlyings) SetUnderlyingCFICode(v string) {
|
|
m.Set(field.NewUnderlyingCFICode(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityType sets UnderlyingSecurityType, Tag 310.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityType(v string) {
|
|
m.Set(field.NewUnderlyingSecurityType(v))
|
|
}
|
|
|
|
// SetUnderlyingSecuritySubType sets UnderlyingSecuritySubType, Tag 763.
|
|
func (m NoUnderlyings) SetUnderlyingSecuritySubType(v string) {
|
|
m.Set(field.NewUnderlyingSecuritySubType(v))
|
|
}
|
|
|
|
// SetUnderlyingMaturityMonthYear sets UnderlyingMaturityMonthYear, Tag 313.
|
|
func (m NoUnderlyings) SetUnderlyingMaturityMonthYear(v string) {
|
|
m.Set(field.NewUnderlyingMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetUnderlyingMaturityDate sets UnderlyingMaturityDate, Tag 542.
|
|
func (m NoUnderlyings) SetUnderlyingMaturityDate(v string) {
|
|
m.Set(field.NewUnderlyingMaturityDate(v))
|
|
}
|
|
|
|
// SetUnderlyingCouponPaymentDate sets UnderlyingCouponPaymentDate, Tag 241.
|
|
func (m NoUnderlyings) SetUnderlyingCouponPaymentDate(v string) {
|
|
m.Set(field.NewUnderlyingCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetUnderlyingIssueDate sets UnderlyingIssueDate, Tag 242.
|
|
func (m NoUnderlyings) SetUnderlyingIssueDate(v string) {
|
|
m.Set(field.NewUnderlyingIssueDate(v))
|
|
}
|
|
|
|
// SetUnderlyingRepoCollateralSecurityType sets UnderlyingRepoCollateralSecurityType, Tag 243.
|
|
func (m NoUnderlyings) SetUnderlyingRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewUnderlyingRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetUnderlyingRepurchaseTerm sets UnderlyingRepurchaseTerm, Tag 244.
|
|
func (m NoUnderlyings) SetUnderlyingRepurchaseTerm(v int) {
|
|
m.Set(field.NewUnderlyingRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetUnderlyingRepurchaseRate sets UnderlyingRepurchaseRate, Tag 245.
|
|
func (m NoUnderlyings) SetUnderlyingRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingFactor sets UnderlyingFactor, Tag 246.
|
|
func (m NoUnderlyings) SetUnderlyingFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingFactor(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingCreditRating sets UnderlyingCreditRating, Tag 256.
|
|
func (m NoUnderlyings) SetUnderlyingCreditRating(v string) {
|
|
m.Set(field.NewUnderlyingCreditRating(v))
|
|
}
|
|
|
|
// SetUnderlyingInstrRegistry sets UnderlyingInstrRegistry, Tag 595.
|
|
func (m NoUnderlyings) SetUnderlyingInstrRegistry(v string) {
|
|
m.Set(field.NewUnderlyingInstrRegistry(v))
|
|
}
|
|
|
|
// SetUnderlyingCountryOfIssue sets UnderlyingCountryOfIssue, Tag 592.
|
|
func (m NoUnderlyings) SetUnderlyingCountryOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingCountryOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingStateOrProvinceOfIssue sets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
|
func (m NoUnderlyings) SetUnderlyingStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingLocaleOfIssue sets UnderlyingLocaleOfIssue, Tag 594.
|
|
func (m NoUnderlyings) SetUnderlyingLocaleOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingRedemptionDate sets UnderlyingRedemptionDate, Tag 247.
|
|
func (m NoUnderlyings) SetUnderlyingRedemptionDate(v string) {
|
|
m.Set(field.NewUnderlyingRedemptionDate(v))
|
|
}
|
|
|
|
// SetUnderlyingStrikePrice sets UnderlyingStrikePrice, Tag 316.
|
|
func (m NoUnderlyings) SetUnderlyingStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingStrikeCurrency sets UnderlyingStrikeCurrency, Tag 941.
|
|
func (m NoUnderlyings) SetUnderlyingStrikeCurrency(v string) {
|
|
m.Set(field.NewUnderlyingStrikeCurrency(v))
|
|
}
|
|
|
|
// SetUnderlyingOptAttribute sets UnderlyingOptAttribute, Tag 317.
|
|
func (m NoUnderlyings) SetUnderlyingOptAttribute(v string) {
|
|
m.Set(field.NewUnderlyingOptAttribute(v))
|
|
}
|
|
|
|
// SetUnderlyingContractMultiplier sets UnderlyingContractMultiplier, Tag 436.
|
|
func (m NoUnderlyings) SetUnderlyingContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435.
|
|
func (m NoUnderlyings) SetUnderlyingCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingCouponRate(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingSecurityExchange sets UnderlyingSecurityExchange, Tag 308.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityExchange(v string) {
|
|
m.Set(field.NewUnderlyingSecurityExchange(v))
|
|
}
|
|
|
|
// SetUnderlyingIssuer sets UnderlyingIssuer, Tag 306.
|
|
func (m NoUnderlyings) SetUnderlyingIssuer(v string) {
|
|
m.Set(field.NewUnderlyingIssuer(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingIssuerLen sets EncodedUnderlyingIssuerLen, Tag 362.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingIssuerLen(v int) {
|
|
m.Set(field.NewEncodedUnderlyingIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingIssuer sets EncodedUnderlyingIssuer, Tag 363.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingIssuer(v string) {
|
|
m.Set(field.NewEncodedUnderlyingIssuer(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityDesc sets UnderlyingSecurityDesc, Tag 307.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityDesc(v string) {
|
|
m.Set(field.NewUnderlyingSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingSecurityDescLen sets EncodedUnderlyingSecurityDescLen, Tag 364.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedUnderlyingSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingSecurityDesc sets EncodedUnderlyingSecurityDesc, Tag 365.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedUnderlyingSecurityDesc(v))
|
|
}
|
|
|
|
// SetUnderlyingCPProgram sets UnderlyingCPProgram, Tag 877.
|
|
func (m NoUnderlyings) SetUnderlyingCPProgram(v string) {
|
|
m.Set(field.NewUnderlyingCPProgram(v))
|
|
}
|
|
|
|
// SetUnderlyingCPRegType sets UnderlyingCPRegType, Tag 878.
|
|
func (m NoUnderlyings) SetUnderlyingCPRegType(v string) {
|
|
m.Set(field.NewUnderlyingCPRegType(v))
|
|
}
|
|
|
|
// SetUnderlyingCurrency sets UnderlyingCurrency, Tag 318.
|
|
func (m NoUnderlyings) SetUnderlyingCurrency(v string) {
|
|
m.Set(field.NewUnderlyingCurrency(v))
|
|
}
|
|
|
|
// SetUnderlyingQty sets UnderlyingQty, Tag 879.
|
|
func (m NoUnderlyings) SetUnderlyingQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingQty(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingPx sets UnderlyingPx, Tag 810.
|
|
func (m NoUnderlyings) SetUnderlyingPx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingPx(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingDirtyPrice sets UnderlyingDirtyPrice, Tag 882.
|
|
func (m NoUnderlyings) SetUnderlyingDirtyPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingDirtyPrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingEndPrice sets UnderlyingEndPrice, Tag 883.
|
|
func (m NoUnderlyings) SetUnderlyingEndPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingEndPrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingStartValue sets UnderlyingStartValue, Tag 884.
|
|
func (m NoUnderlyings) SetUnderlyingStartValue(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingStartValue(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingCurrentValue sets UnderlyingCurrentValue, Tag 885.
|
|
func (m NoUnderlyings) SetUnderlyingCurrentValue(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingCurrentValue(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingEndValue sets UnderlyingEndValue, Tag 886.
|
|
func (m NoUnderlyings) SetUnderlyingEndValue(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingEndValue(value, scale))
|
|
}
|
|
|
|
// SetNoUnderlyingStips sets NoUnderlyingStips, Tag 887.
|
|
func (m NoUnderlyings) SetNoUnderlyingStips(f NoUnderlyingStipsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311.
|
|
func (m NoUnderlyings) GetUnderlyingSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSymbolSfx gets UnderlyingSymbolSfx, Tag 312.
|
|
func (m NoUnderlyings) GetUnderlyingSymbolSfx() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoUnderlyingSecurityAltID gets NoUnderlyingSecurityAltID, Tag 457.
|
|
func (m NoUnderlyings) GetNoUnderlyingSecurityAltID() (NoUnderlyingSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetUnderlyingProduct gets UnderlyingProduct, Tag 462.
|
|
func (m NoUnderlyings) GetUnderlyingProduct() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCFICode gets UnderlyingCFICode, Tag 463.
|
|
func (m NoUnderlyings) GetUnderlyingCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecuritySubType gets UnderlyingSecuritySubType, Tag 763.
|
|
func (m NoUnderlyings) GetUnderlyingSecuritySubType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecuritySubTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313.
|
|
func (m NoUnderlyings) GetUnderlyingMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingMaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542.
|
|
func (m NoUnderlyings) GetUnderlyingMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingMaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241.
|
|
func (m NoUnderlyings) GetUnderlyingCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingIssueDate gets UnderlyingIssueDate, Tag 242.
|
|
func (m NoUnderlyings) GetUnderlyingIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingIssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepoCollateralSecurityType gets UnderlyingRepoCollateralSecurityType, Tag 243.
|
|
func (m NoUnderlyings) GetUnderlyingRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepurchaseTerm gets UnderlyingRepurchaseTerm, Tag 244.
|
|
func (m NoUnderlyings) GetUnderlyingRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepurchaseRate gets UnderlyingRepurchaseRate, Tag 245.
|
|
func (m NoUnderlyings) GetUnderlyingRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingFactor gets UnderlyingFactor, Tag 246.
|
|
func (m NoUnderlyings) GetUnderlyingFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingFactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256.
|
|
func (m NoUnderlyings) GetUnderlyingCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595.
|
|
func (m NoUnderlyings) GetUnderlyingInstrRegistry() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingInstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592.
|
|
func (m NoUnderlyings) GetUnderlyingCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStateOrProvinceOfIssue gets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
|
func (m NoUnderlyings) GetUnderlyingStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingLocaleOfIssue gets UnderlyingLocaleOfIssue, Tag 594.
|
|
func (m NoUnderlyings) GetUnderlyingLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingLocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247.
|
|
func (m NoUnderlyings) GetUnderlyingRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316.
|
|
func (m NoUnderlyings) GetUnderlyingStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStrikeCurrency gets UnderlyingStrikeCurrency, Tag 941.
|
|
func (m NoUnderlyings) GetUnderlyingStrikeCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStrikeCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317.
|
|
func (m NoUnderlyings) GetUnderlyingOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingOptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436.
|
|
func (m NoUnderlyings) GetUnderlyingContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435.
|
|
func (m NoUnderlyings) GetUnderlyingCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306.
|
|
func (m NoUnderlyings) GetUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingIssuer gets EncodedUnderlyingIssuer, Tag 363.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingSecurityDesc gets EncodedUnderlyingSecurityDesc, Tag 365.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCPProgram gets UnderlyingCPProgram, Tag 877.
|
|
func (m NoUnderlyings) GetUnderlyingCPProgram() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCPProgramField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCPRegType gets UnderlyingCPRegType, Tag 878.
|
|
func (m NoUnderlyings) GetUnderlyingCPRegType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCPRegTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCurrency gets UnderlyingCurrency, Tag 318.
|
|
func (m NoUnderlyings) GetUnderlyingCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingQty gets UnderlyingQty, Tag 879.
|
|
func (m NoUnderlyings) GetUnderlyingQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingPx gets UnderlyingPx, Tag 810.
|
|
func (m NoUnderlyings) GetUnderlyingPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingPxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingDirtyPrice gets UnderlyingDirtyPrice, Tag 882.
|
|
func (m NoUnderlyings) GetUnderlyingDirtyPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingDirtyPriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingEndPrice gets UnderlyingEndPrice, Tag 883.
|
|
func (m NoUnderlyings) GetUnderlyingEndPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingEndPriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStartValue gets UnderlyingStartValue, Tag 884.
|
|
func (m NoUnderlyings) GetUnderlyingStartValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStartValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCurrentValue gets UnderlyingCurrentValue, Tag 885.
|
|
func (m NoUnderlyings) GetUnderlyingCurrentValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCurrentValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingEndValue gets UnderlyingEndValue, Tag 886.
|
|
func (m NoUnderlyings) GetUnderlyingEndValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingEndValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoUnderlyingStips gets NoUnderlyingStips, Tag 887.
|
|
func (m NoUnderlyings) GetNoUnderlyingStips() (NoUnderlyingStipsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingStipsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// HasUnderlyingSymbol returns true if UnderlyingSymbol is present, Tag 311.
|
|
func (m NoUnderlyings) HasUnderlyingSymbol() bool {
|
|
return m.Has(tag.UnderlyingSymbol)
|
|
}
|
|
|
|
// HasUnderlyingSymbolSfx returns true if UnderlyingSymbolSfx is present, Tag 312.
|
|
func (m NoUnderlyings) HasUnderlyingSymbolSfx() bool {
|
|
return m.Has(tag.UnderlyingSymbolSfx)
|
|
}
|
|
|
|
// HasUnderlyingSecurityID returns true if UnderlyingSecurityID is present, Tag 309.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityID() bool {
|
|
return m.Has(tag.UnderlyingSecurityID)
|
|
}
|
|
|
|
// HasUnderlyingSecurityIDSource returns true if UnderlyingSecurityIDSource is present, Tag 305.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityIDSource() bool {
|
|
return m.Has(tag.UnderlyingSecurityIDSource)
|
|
}
|
|
|
|
// HasNoUnderlyingSecurityAltID returns true if NoUnderlyingSecurityAltID is present, Tag 457.
|
|
func (m NoUnderlyings) HasNoUnderlyingSecurityAltID() bool {
|
|
return m.Has(tag.NoUnderlyingSecurityAltID)
|
|
}
|
|
|
|
// HasUnderlyingProduct returns true if UnderlyingProduct is present, Tag 462.
|
|
func (m NoUnderlyings) HasUnderlyingProduct() bool {
|
|
return m.Has(tag.UnderlyingProduct)
|
|
}
|
|
|
|
// HasUnderlyingCFICode returns true if UnderlyingCFICode is present, Tag 463.
|
|
func (m NoUnderlyings) HasUnderlyingCFICode() bool {
|
|
return m.Has(tag.UnderlyingCFICode)
|
|
}
|
|
|
|
// HasUnderlyingSecurityType returns true if UnderlyingSecurityType is present, Tag 310.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityType() bool {
|
|
return m.Has(tag.UnderlyingSecurityType)
|
|
}
|
|
|
|
// HasUnderlyingSecuritySubType returns true if UnderlyingSecuritySubType is present, Tag 763.
|
|
func (m NoUnderlyings) HasUnderlyingSecuritySubType() bool {
|
|
return m.Has(tag.UnderlyingSecuritySubType)
|
|
}
|
|
|
|
// HasUnderlyingMaturityMonthYear returns true if UnderlyingMaturityMonthYear is present, Tag 313.
|
|
func (m NoUnderlyings) HasUnderlyingMaturityMonthYear() bool {
|
|
return m.Has(tag.UnderlyingMaturityMonthYear)
|
|
}
|
|
|
|
// HasUnderlyingMaturityDate returns true if UnderlyingMaturityDate is present, Tag 542.
|
|
func (m NoUnderlyings) HasUnderlyingMaturityDate() bool {
|
|
return m.Has(tag.UnderlyingMaturityDate)
|
|
}
|
|
|
|
// HasUnderlyingCouponPaymentDate returns true if UnderlyingCouponPaymentDate is present, Tag 241.
|
|
func (m NoUnderlyings) HasUnderlyingCouponPaymentDate() bool {
|
|
return m.Has(tag.UnderlyingCouponPaymentDate)
|
|
}
|
|
|
|
// HasUnderlyingIssueDate returns true if UnderlyingIssueDate is present, Tag 242.
|
|
func (m NoUnderlyings) HasUnderlyingIssueDate() bool {
|
|
return m.Has(tag.UnderlyingIssueDate)
|
|
}
|
|
|
|
// HasUnderlyingRepoCollateralSecurityType returns true if UnderlyingRepoCollateralSecurityType is present, Tag 243.
|
|
func (m NoUnderlyings) HasUnderlyingRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.UnderlyingRepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasUnderlyingRepurchaseTerm returns true if UnderlyingRepurchaseTerm is present, Tag 244.
|
|
func (m NoUnderlyings) HasUnderlyingRepurchaseTerm() bool {
|
|
return m.Has(tag.UnderlyingRepurchaseTerm)
|
|
}
|
|
|
|
// HasUnderlyingRepurchaseRate returns true if UnderlyingRepurchaseRate is present, Tag 245.
|
|
func (m NoUnderlyings) HasUnderlyingRepurchaseRate() bool {
|
|
return m.Has(tag.UnderlyingRepurchaseRate)
|
|
}
|
|
|
|
// HasUnderlyingFactor returns true if UnderlyingFactor is present, Tag 246.
|
|
func (m NoUnderlyings) HasUnderlyingFactor() bool {
|
|
return m.Has(tag.UnderlyingFactor)
|
|
}
|
|
|
|
// HasUnderlyingCreditRating returns true if UnderlyingCreditRating is present, Tag 256.
|
|
func (m NoUnderlyings) HasUnderlyingCreditRating() bool {
|
|
return m.Has(tag.UnderlyingCreditRating)
|
|
}
|
|
|
|
// HasUnderlyingInstrRegistry returns true if UnderlyingInstrRegistry is present, Tag 595.
|
|
func (m NoUnderlyings) HasUnderlyingInstrRegistry() bool {
|
|
return m.Has(tag.UnderlyingInstrRegistry)
|
|
}
|
|
|
|
// HasUnderlyingCountryOfIssue returns true if UnderlyingCountryOfIssue is present, Tag 592.
|
|
func (m NoUnderlyings) HasUnderlyingCountryOfIssue() bool {
|
|
return m.Has(tag.UnderlyingCountryOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingStateOrProvinceOfIssue returns true if UnderlyingStateOrProvinceOfIssue is present, Tag 593.
|
|
func (m NoUnderlyings) HasUnderlyingStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.UnderlyingStateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingLocaleOfIssue returns true if UnderlyingLocaleOfIssue is present, Tag 594.
|
|
func (m NoUnderlyings) HasUnderlyingLocaleOfIssue() bool {
|
|
return m.Has(tag.UnderlyingLocaleOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingRedemptionDate returns true if UnderlyingRedemptionDate is present, Tag 247.
|
|
func (m NoUnderlyings) HasUnderlyingRedemptionDate() bool {
|
|
return m.Has(tag.UnderlyingRedemptionDate)
|
|
}
|
|
|
|
// HasUnderlyingStrikePrice returns true if UnderlyingStrikePrice is present, Tag 316.
|
|
func (m NoUnderlyings) HasUnderlyingStrikePrice() bool {
|
|
return m.Has(tag.UnderlyingStrikePrice)
|
|
}
|
|
|
|
// HasUnderlyingStrikeCurrency returns true if UnderlyingStrikeCurrency is present, Tag 941.
|
|
func (m NoUnderlyings) HasUnderlyingStrikeCurrency() bool {
|
|
return m.Has(tag.UnderlyingStrikeCurrency)
|
|
}
|
|
|
|
// HasUnderlyingOptAttribute returns true if UnderlyingOptAttribute is present, Tag 317.
|
|
func (m NoUnderlyings) HasUnderlyingOptAttribute() bool {
|
|
return m.Has(tag.UnderlyingOptAttribute)
|
|
}
|
|
|
|
// HasUnderlyingContractMultiplier returns true if UnderlyingContractMultiplier is present, Tag 436.
|
|
func (m NoUnderlyings) HasUnderlyingContractMultiplier() bool {
|
|
return m.Has(tag.UnderlyingContractMultiplier)
|
|
}
|
|
|
|
// HasUnderlyingCouponRate returns true if UnderlyingCouponRate is present, Tag 435.
|
|
func (m NoUnderlyings) HasUnderlyingCouponRate() bool {
|
|
return m.Has(tag.UnderlyingCouponRate)
|
|
}
|
|
|
|
// HasUnderlyingSecurityExchange returns true if UnderlyingSecurityExchange is present, Tag 308.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityExchange() bool {
|
|
return m.Has(tag.UnderlyingSecurityExchange)
|
|
}
|
|
|
|
// HasUnderlyingIssuer returns true if UnderlyingIssuer is present, Tag 306.
|
|
func (m NoUnderlyings) HasUnderlyingIssuer() bool {
|
|
return m.Has(tag.UnderlyingIssuer)
|
|
}
|
|
|
|
// HasEncodedUnderlyingIssuerLen returns true if EncodedUnderlyingIssuerLen is present, Tag 362.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingIssuerLen() bool {
|
|
return m.Has(tag.EncodedUnderlyingIssuerLen)
|
|
}
|
|
|
|
// HasEncodedUnderlyingIssuer returns true if EncodedUnderlyingIssuer is present, Tag 363.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingIssuer() bool {
|
|
return m.Has(tag.EncodedUnderlyingIssuer)
|
|
}
|
|
|
|
// HasUnderlyingSecurityDesc returns true if UnderlyingSecurityDesc is present, Tag 307.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityDesc() bool {
|
|
return m.Has(tag.UnderlyingSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedUnderlyingSecurityDescLen returns true if EncodedUnderlyingSecurityDescLen is present, Tag 364.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedUnderlyingSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedUnderlyingSecurityDesc returns true if EncodedUnderlyingSecurityDesc is present, Tag 365.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingSecurityDesc() bool {
|
|
return m.Has(tag.EncodedUnderlyingSecurityDesc)
|
|
}
|
|
|
|
// HasUnderlyingCPProgram returns true if UnderlyingCPProgram is present, Tag 877.
|
|
func (m NoUnderlyings) HasUnderlyingCPProgram() bool {
|
|
return m.Has(tag.UnderlyingCPProgram)
|
|
}
|
|
|
|
// HasUnderlyingCPRegType returns true if UnderlyingCPRegType is present, Tag 878.
|
|
func (m NoUnderlyings) HasUnderlyingCPRegType() bool {
|
|
return m.Has(tag.UnderlyingCPRegType)
|
|
}
|
|
|
|
// HasUnderlyingCurrency returns true if UnderlyingCurrency is present, Tag 318.
|
|
func (m NoUnderlyings) HasUnderlyingCurrency() bool {
|
|
return m.Has(tag.UnderlyingCurrency)
|
|
}
|
|
|
|
// HasUnderlyingQty returns true if UnderlyingQty is present, Tag 879.
|
|
func (m NoUnderlyings) HasUnderlyingQty() bool {
|
|
return m.Has(tag.UnderlyingQty)
|
|
}
|
|
|
|
// HasUnderlyingPx returns true if UnderlyingPx is present, Tag 810.
|
|
func (m NoUnderlyings) HasUnderlyingPx() bool {
|
|
return m.Has(tag.UnderlyingPx)
|
|
}
|
|
|
|
// HasUnderlyingDirtyPrice returns true if UnderlyingDirtyPrice is present, Tag 882.
|
|
func (m NoUnderlyings) HasUnderlyingDirtyPrice() bool {
|
|
return m.Has(tag.UnderlyingDirtyPrice)
|
|
}
|
|
|
|
// HasUnderlyingEndPrice returns true if UnderlyingEndPrice is present, Tag 883.
|
|
func (m NoUnderlyings) HasUnderlyingEndPrice() bool {
|
|
return m.Has(tag.UnderlyingEndPrice)
|
|
}
|
|
|
|
// HasUnderlyingStartValue returns true if UnderlyingStartValue is present, Tag 884.
|
|
func (m NoUnderlyings) HasUnderlyingStartValue() bool {
|
|
return m.Has(tag.UnderlyingStartValue)
|
|
}
|
|
|
|
// HasUnderlyingCurrentValue returns true if UnderlyingCurrentValue is present, Tag 885.
|
|
func (m NoUnderlyings) HasUnderlyingCurrentValue() bool {
|
|
return m.Has(tag.UnderlyingCurrentValue)
|
|
}
|
|
|
|
// HasUnderlyingEndValue returns true if UnderlyingEndValue is present, Tag 886.
|
|
func (m NoUnderlyings) HasUnderlyingEndValue() bool {
|
|
return m.Has(tag.UnderlyingEndValue)
|
|
}
|
|
|
|
// HasNoUnderlyingStips returns true if NoUnderlyingStips is present, Tag 887.
|
|
func (m NoUnderlyings) HasNoUnderlyingStips() bool {
|
|
return m.Has(tag.NoUnderlyingStips)
|
|
}
|
|
|
|
// NoUnderlyingSecurityAltID is a repeating group element, Tag 457.
|
|
type NoUnderlyingSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingSecurityAltID sets UnderlyingSecurityAltID, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) {
|
|
m.Set(field.NewUnderlyingSecurityAltID(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityAltIDSource sets UnderlyingSecurityAltIDSource, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltIDSource(v string) {
|
|
m.Set(field.NewUnderlyingSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetUnderlyingSecurityAltID gets UnderlyingSecurityAltID, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) GetUnderlyingSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityAltIDSource gets UnderlyingSecurityAltIDSource, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) GetUnderlyingSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasUnderlyingSecurityAltID returns true if UnderlyingSecurityAltID is present, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) HasUnderlyingSecurityAltID() bool {
|
|
return m.Has(tag.UnderlyingSecurityAltID)
|
|
}
|
|
|
|
// HasUnderlyingSecurityAltIDSource returns true if UnderlyingSecurityAltIDSource is present, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) HasUnderlyingSecurityAltIDSource() bool {
|
|
return m.Has(tag.UnderlyingSecurityAltIDSource)
|
|
}
|
|
|
|
// NoUnderlyingSecurityAltIDRepeatingGroup is a repeating group, Tag 457.
|
|
type NoUnderlyingSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingSecurityAltIDRepeatingGroup returns an initialized, NoUnderlyingSecurityAltIDRepeatingGroup.
|
|
func NewNoUnderlyingSecurityAltIDRepeatingGroup() NoUnderlyingSecurityAltIDRepeatingGroup {
|
|
return NoUnderlyingSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyingSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingSecurityAltID),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyingSecurityAltID to this group.
|
|
func (m NoUnderlyingSecurityAltIDRepeatingGroup) Add() NoUnderlyingSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyingSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyingSecurityAltID in the NoUnderlyingSecurityAltIDRepeatinGroup.
|
|
func (m NoUnderlyingSecurityAltIDRepeatingGroup) Get(i int) NoUnderlyingSecurityAltID {
|
|
return NoUnderlyingSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyingStips is a repeating group element, Tag 887.
|
|
type NoUnderlyingStips struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingStipType sets UnderlyingStipType, Tag 888.
|
|
func (m NoUnderlyingStips) SetUnderlyingStipType(v string) {
|
|
m.Set(field.NewUnderlyingStipType(v))
|
|
}
|
|
|
|
// SetUnderlyingStipValue sets UnderlyingStipValue, Tag 889.
|
|
func (m NoUnderlyingStips) SetUnderlyingStipValue(v string) {
|
|
m.Set(field.NewUnderlyingStipValue(v))
|
|
}
|
|
|
|
// GetUnderlyingStipType gets UnderlyingStipType, Tag 888.
|
|
func (m NoUnderlyingStips) GetUnderlyingStipType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStipTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStipValue gets UnderlyingStipValue, Tag 889.
|
|
func (m NoUnderlyingStips) GetUnderlyingStipValue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStipValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasUnderlyingStipType returns true if UnderlyingStipType is present, Tag 888.
|
|
func (m NoUnderlyingStips) HasUnderlyingStipType() bool {
|
|
return m.Has(tag.UnderlyingStipType)
|
|
}
|
|
|
|
// HasUnderlyingStipValue returns true if UnderlyingStipValue is present, Tag 889.
|
|
func (m NoUnderlyingStips) HasUnderlyingStipValue() bool {
|
|
return m.Has(tag.UnderlyingStipValue)
|
|
}
|
|
|
|
// NoUnderlyingStipsRepeatingGroup is a repeating group, Tag 887.
|
|
type NoUnderlyingStipsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingStipsRepeatingGroup returns an initialized, NoUnderlyingStipsRepeatingGroup.
|
|
func NewNoUnderlyingStipsRepeatingGroup() NoUnderlyingStipsRepeatingGroup {
|
|
return NoUnderlyingStipsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyingStips,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingStipType),
|
|
quickfix.GroupElement(tag.UnderlyingStipValue),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyingStips to this group.
|
|
func (m NoUnderlyingStipsRepeatingGroup) Add() NoUnderlyingStips {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyingStips{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyingStips in the NoUnderlyingStipsRepeatinGroup.
|
|
func (m NoUnderlyingStipsRepeatingGroup) Get(i int) NoUnderlyingStips {
|
|
return NoUnderlyingStips{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyingsRepeatingGroup is a repeating group, Tag 711.
|
|
type NoUnderlyingsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingsRepeatingGroup returns an initialized, NoUnderlyingsRepeatingGroup.
|
|
func NewNoUnderlyingsRepeatingGroup() NoUnderlyingsRepeatingGroup {
|
|
return NoUnderlyingsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyings,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingSymbol),
|
|
quickfix.GroupElement(tag.UnderlyingSymbolSfx),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityID),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityIDSource),
|
|
NewNoUnderlyingSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.UnderlyingProduct),
|
|
quickfix.GroupElement(tag.UnderlyingCFICode),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityType),
|
|
quickfix.GroupElement(tag.UnderlyingSecuritySubType),
|
|
quickfix.GroupElement(tag.UnderlyingMaturityMonthYear),
|
|
quickfix.GroupElement(tag.UnderlyingMaturityDate),
|
|
quickfix.GroupElement(tag.UnderlyingCouponPaymentDate),
|
|
quickfix.GroupElement(tag.UnderlyingIssueDate),
|
|
quickfix.GroupElement(tag.UnderlyingRepoCollateralSecurityType),
|
|
quickfix.GroupElement(tag.UnderlyingRepurchaseTerm),
|
|
quickfix.GroupElement(tag.UnderlyingRepurchaseRate),
|
|
quickfix.GroupElement(tag.UnderlyingFactor),
|
|
quickfix.GroupElement(tag.UnderlyingCreditRating),
|
|
quickfix.GroupElement(tag.UnderlyingInstrRegistry),
|
|
quickfix.GroupElement(tag.UnderlyingCountryOfIssue),
|
|
quickfix.GroupElement(tag.UnderlyingStateOrProvinceOfIssue),
|
|
quickfix.GroupElement(tag.UnderlyingLocaleOfIssue),
|
|
quickfix.GroupElement(tag.UnderlyingRedemptionDate),
|
|
quickfix.GroupElement(tag.UnderlyingStrikePrice),
|
|
quickfix.GroupElement(tag.UnderlyingStrikeCurrency),
|
|
quickfix.GroupElement(tag.UnderlyingOptAttribute),
|
|
quickfix.GroupElement(tag.UnderlyingContractMultiplier),
|
|
quickfix.GroupElement(tag.UnderlyingCouponRate),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityExchange),
|
|
quickfix.GroupElement(tag.UnderlyingIssuer),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingIssuer),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingSecurityDesc),
|
|
quickfix.GroupElement(tag.UnderlyingCPProgram),
|
|
quickfix.GroupElement(tag.UnderlyingCPRegType),
|
|
quickfix.GroupElement(tag.UnderlyingCurrency),
|
|
quickfix.GroupElement(tag.UnderlyingQty),
|
|
quickfix.GroupElement(tag.UnderlyingPx),
|
|
quickfix.GroupElement(tag.UnderlyingDirtyPrice),
|
|
quickfix.GroupElement(tag.UnderlyingEndPrice),
|
|
quickfix.GroupElement(tag.UnderlyingStartValue),
|
|
quickfix.GroupElement(tag.UnderlyingCurrentValue),
|
|
quickfix.GroupElement(tag.UnderlyingEndValue),
|
|
NewNoUnderlyingStipsRepeatingGroup(),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyings to this group.
|
|
func (m NoUnderlyingsRepeatingGroup) Add() NoUnderlyings {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyings{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyings in the NoUnderlyingsRepeatinGroup.
|
|
func (m NoUnderlyingsRepeatingGroup) Get(i int) NoUnderlyings {
|
|
return NoUnderlyings{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoPosAmt is a repeating group element, Tag 753.
|
|
type NoPosAmt struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetPosAmtType sets PosAmtType, Tag 707.
|
|
func (m NoPosAmt) SetPosAmtType(v enum.PosAmtType) {
|
|
m.Set(field.NewPosAmtType(v))
|
|
}
|
|
|
|
// SetPosAmt sets PosAmt, Tag 708.
|
|
func (m NoPosAmt) SetPosAmt(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPosAmt(value, scale))
|
|
}
|
|
|
|
// GetPosAmtType gets PosAmtType, Tag 707.
|
|
func (m NoPosAmt) GetPosAmtType() (v enum.PosAmtType, err quickfix.MessageRejectError) {
|
|
var f field.PosAmtTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPosAmt gets PosAmt, Tag 708.
|
|
func (m NoPosAmt) GetPosAmt() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PosAmtField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasPosAmtType returns true if PosAmtType is present, Tag 707.
|
|
func (m NoPosAmt) HasPosAmtType() bool {
|
|
return m.Has(tag.PosAmtType)
|
|
}
|
|
|
|
// HasPosAmt returns true if PosAmt is present, Tag 708.
|
|
func (m NoPosAmt) HasPosAmt() bool {
|
|
return m.Has(tag.PosAmt)
|
|
}
|
|
|
|
// NoPosAmtRepeatingGroup is a repeating group, Tag 753.
|
|
type NoPosAmtRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoPosAmtRepeatingGroup returns an initialized, NoPosAmtRepeatingGroup.
|
|
func NewNoPosAmtRepeatingGroup() NoPosAmtRepeatingGroup {
|
|
return NoPosAmtRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoPosAmt,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.PosAmtType),
|
|
quickfix.GroupElement(tag.PosAmt),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoPosAmt to this group.
|
|
func (m NoPosAmtRepeatingGroup) Add() NoPosAmt {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoPosAmt{g}
|
|
}
|
|
|
|
// Get returns the ith NoPosAmt in the NoPosAmtRepeatinGroup.
|
|
func (m NoPosAmtRepeatingGroup) Get(i int) NoPosAmt {
|
|
return NoPosAmt{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)}
|
|
}
|