// Code generated by quickfix. DO NOT EDIT.
package newordercross

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/fix43"
	"quantex.com/qfixdpl/quickfix/gen/tag"
)

// NewOrderCross is the fix43 NewOrderCross type, MsgType = s.
type NewOrderCross struct {
	fix43.Header
	*quickfix.Body
	fix43.Trailer
	Message *quickfix.Message
}

// FromMessage creates a NewOrderCross from a quickfix.Message instance.
func FromMessage(m *quickfix.Message) NewOrderCross {
	return NewOrderCross{
		Header:  fix43.Header{Header: &m.Header},
		Body:    &m.Body,
		Trailer: fix43.Trailer{Trailer: &m.Trailer},
		Message: m,
	}
}

// ToMessage returns a quickfix.Message instance.
func (m NewOrderCross) ToMessage() *quickfix.Message {
	return m.Message
}

// New returns a NewOrderCross initialized with the required fields for NewOrderCross.
func New(crossid field.CrossIDField, crosstype field.CrossTypeField, crossprioritization field.CrossPrioritizationField, handlinst field.HandlInstField, transacttime field.TransactTimeField, ordtype field.OrdTypeField) (m NewOrderCross) {
	m.Message = quickfix.NewMessage()
	m.Header = fix43.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("s"))
	m.Set(crossid)
	m.Set(crosstype)
	m.Set(crossprioritization)
	m.Set(handlinst)
	m.Set(transacttime)
	m.Set(ordtype)

	return
}

// A RouteOut is the callback type that should be implemented for routing Message.
type RouteOut func(msg NewOrderCross, sessionID quickfix.SessionID) quickfix.MessageRejectError

// Route returns the beginstring, message type, and MessageRoute for this Message type.
func Route(router RouteOut) (string, string, quickfix.MessageRoute) {
	r := func(msg *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError {
		return router(FromMessage(msg), sessionID)
	}
	return "FIX.4.3", "s", r
}

// SetCurrency sets Currency, Tag 15.
func (m NewOrderCross) SetCurrency(v string) {
	m.Set(field.NewCurrency(v))
}

// SetExecInst sets ExecInst, Tag 18.
func (m NewOrderCross) SetExecInst(v enum.ExecInst) {
	m.Set(field.NewExecInst(v))
}

// SetHandlInst sets HandlInst, Tag 21.
func (m NewOrderCross) SetHandlInst(v enum.HandlInst) {
	m.Set(field.NewHandlInst(v))
}

// SetSecurityIDSource sets SecurityIDSource, Tag 22.
func (m NewOrderCross) SetSecurityIDSource(v enum.SecurityIDSource) {
	m.Set(field.NewSecurityIDSource(v))
}

// SetIOIid sets IOIid, Tag 23.
func (m NewOrderCross) SetIOIid(v string) {
	m.Set(field.NewIOIid(v))
}

// SetOrdType sets OrdType, Tag 40.
func (m NewOrderCross) SetOrdType(v enum.OrdType) {
	m.Set(field.NewOrdType(v))
}

// SetPrice sets Price, Tag 44.
func (m NewOrderCross) SetPrice(value decimal.Decimal, scale int32) {
	m.Set(field.NewPrice(value, scale))
}

// SetSecurityID sets SecurityID, Tag 48.
func (m NewOrderCross) SetSecurityID(v string) {
	m.Set(field.NewSecurityID(v))
}

// SetSymbol sets Symbol, Tag 55.
func (m NewOrderCross) SetSymbol(v string) {
	m.Set(field.NewSymbol(v))
}

// SetTimeInForce sets TimeInForce, Tag 59.
func (m NewOrderCross) SetTimeInForce(v enum.TimeInForce) {
	m.Set(field.NewTimeInForce(v))
}

// SetTransactTime sets TransactTime, Tag 60.
func (m NewOrderCross) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}

// SetSettlmntTyp sets SettlmntTyp, Tag 63.
func (m NewOrderCross) SetSettlmntTyp(v enum.SettlmntTyp) {
	m.Set(field.NewSettlmntTyp(v))
}

// SetFutSettDate sets FutSettDate, Tag 64.
func (m NewOrderCross) SetFutSettDate(v string) {
	m.Set(field.NewFutSettDate(v))
}

// SetSymbolSfx sets SymbolSfx, Tag 65.
func (m NewOrderCross) SetSymbolSfx(v enum.SymbolSfx) {
	m.Set(field.NewSymbolSfx(v))
}

// SetProcessCode sets ProcessCode, Tag 81.
func (m NewOrderCross) SetProcessCode(v enum.ProcessCode) {
	m.Set(field.NewProcessCode(v))
}

// SetStopPx sets StopPx, Tag 99.
func (m NewOrderCross) SetStopPx(value decimal.Decimal, scale int32) {
	m.Set(field.NewStopPx(value, scale))
}

// SetExDestination sets ExDestination, Tag 100.
func (m NewOrderCross) SetExDestination(v enum.ExDestination) {
	m.Set(field.NewExDestination(v))
}

// SetIssuer sets Issuer, Tag 106.
func (m NewOrderCross) SetIssuer(v string) {
	m.Set(field.NewIssuer(v))
}

// SetSecurityDesc sets SecurityDesc, Tag 107.
func (m NewOrderCross) SetSecurityDesc(v string) {
	m.Set(field.NewSecurityDesc(v))
}

// SetMinQty sets MinQty, Tag 110.
func (m NewOrderCross) SetMinQty(value decimal.Decimal, scale int32) {
	m.Set(field.NewMinQty(value, scale))
}

// SetMaxFloor sets MaxFloor, Tag 111.
func (m NewOrderCross) SetMaxFloor(value decimal.Decimal, scale int32) {
	m.Set(field.NewMaxFloor(value, scale))
}

// SetLocateReqd sets LocateReqd, Tag 114.
func (m NewOrderCross) SetLocateReqd(v bool) {
	m.Set(field.NewLocateReqd(v))
}

// SetQuoteID sets QuoteID, Tag 117.
func (m NewOrderCross) SetQuoteID(v string) {
	m.Set(field.NewQuoteID(v))
}

// SetNetMoney sets NetMoney, Tag 118.
func (m NewOrderCross) SetNetMoney(value decimal.Decimal, scale int32) {
	m.Set(field.NewNetMoney(value, scale))
}

// SetExpireTime sets ExpireTime, Tag 126.
func (m NewOrderCross) SetExpireTime(v time.Time) {
	m.Set(field.NewExpireTime(v))
}

// SetPrevClosePx sets PrevClosePx, Tag 140.
func (m NewOrderCross) SetPrevClosePx(value decimal.Decimal, scale int32) {
	m.Set(field.NewPrevClosePx(value, scale))
}

// SetAccruedInterestRate sets AccruedInterestRate, Tag 158.
func (m NewOrderCross) SetAccruedInterestRate(value decimal.Decimal, scale int32) {
	m.Set(field.NewAccruedInterestRate(value, scale))
}

// SetAccruedInterestAmt sets AccruedInterestAmt, Tag 159.
func (m NewOrderCross) SetAccruedInterestAmt(value decimal.Decimal, scale int32) {
	m.Set(field.NewAccruedInterestAmt(value, scale))
}

// SetSecurityType sets SecurityType, Tag 167.
func (m NewOrderCross) SetSecurityType(v enum.SecurityType) {
	m.Set(field.NewSecurityType(v))
}

// SetEffectiveTime sets EffectiveTime, Tag 168.
func (m NewOrderCross) SetEffectiveTime(v time.Time) {
	m.Set(field.NewEffectiveTime(v))
}

// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
func (m NewOrderCross) SetMaturityMonthYear(v string) {
	m.Set(field.NewMaturityMonthYear(v))
}

// SetStrikePrice sets StrikePrice, Tag 202.
func (m NewOrderCross) SetStrikePrice(value decimal.Decimal, scale int32) {
	m.Set(field.NewStrikePrice(value, scale))
}

// SetOptAttribute sets OptAttribute, Tag 206.
func (m NewOrderCross) SetOptAttribute(v string) {
	m.Set(field.NewOptAttribute(v))
}

// SetSecurityExchange sets SecurityExchange, Tag 207.
func (m NewOrderCross) SetSecurityExchange(v string) {
	m.Set(field.NewSecurityExchange(v))
}

// SetMaxShow sets MaxShow, Tag 210.
func (m NewOrderCross) SetMaxShow(value decimal.Decimal, scale int32) {
	m.Set(field.NewMaxShow(value, scale))
}

// SetPegDifference sets PegDifference, Tag 211.
func (m NewOrderCross) SetPegDifference(value decimal.Decimal, scale int32) {
	m.Set(field.NewPegDifference(value, scale))
}

// SetSpread sets Spread, Tag 218.
func (m NewOrderCross) SetSpread(value decimal.Decimal, scale int32) {
	m.Set(field.NewSpread(value, scale))
}

// SetBenchmarkCurveCurrency sets BenchmarkCurveCurrency, Tag 220.
func (m NewOrderCross) SetBenchmarkCurveCurrency(v string) {
	m.Set(field.NewBenchmarkCurveCurrency(v))
}

// SetBenchmarkCurveName sets BenchmarkCurveName, Tag 221.
func (m NewOrderCross) SetBenchmarkCurveName(v enum.BenchmarkCurveName) {
	m.Set(field.NewBenchmarkCurveName(v))
}

// SetBenchmarkCurvePoint sets BenchmarkCurvePoint, Tag 222.
func (m NewOrderCross) SetBenchmarkCurvePoint(v string) {
	m.Set(field.NewBenchmarkCurvePoint(v))
}

// SetCouponRate sets CouponRate, Tag 223.
func (m NewOrderCross) SetCouponRate(value decimal.Decimal, scale int32) {
	m.Set(field.NewCouponRate(value, scale))
}

// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
func (m NewOrderCross) SetCouponPaymentDate(v string) {
	m.Set(field.NewCouponPaymentDate(v))
}

// SetIssueDate sets IssueDate, Tag 225.
func (m NewOrderCross) SetIssueDate(v string) {
	m.Set(field.NewIssueDate(v))
}

// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
func (m NewOrderCross) SetRepurchaseTerm(v int) {
	m.Set(field.NewRepurchaseTerm(v))
}

// SetRepurchaseRate sets RepurchaseRate, Tag 227.
func (m NewOrderCross) SetRepurchaseRate(value decimal.Decimal, scale int32) {
	m.Set(field.NewRepurchaseRate(value, scale))
}

// SetFactor sets Factor, Tag 228.
func (m NewOrderCross) SetFactor(value decimal.Decimal, scale int32) {
	m.Set(field.NewFactor(value, scale))
}

// SetContractMultiplier sets ContractMultiplier, Tag 231.
func (m NewOrderCross) SetContractMultiplier(value decimal.Decimal, scale int32) {
	m.Set(field.NewContractMultiplier(value, scale))
}

// SetNoStipulations sets NoStipulations, Tag 232.
func (m NewOrderCross) SetNoStipulations(f NoStipulationsRepeatingGroup) {
	m.SetGroup(f)
}

// SetYieldType sets YieldType, Tag 235.
func (m NewOrderCross) SetYieldType(v enum.YieldType) {
	m.Set(field.NewYieldType(v))
}

// SetYield sets Yield, Tag 236.
func (m NewOrderCross) SetYield(value decimal.Decimal, scale int32) {
	m.Set(field.NewYield(value, scale))
}

// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
func (m NewOrderCross) SetRepoCollateralSecurityType(v int) {
	m.Set(field.NewRepoCollateralSecurityType(v))
}

// SetRedemptionDate sets RedemptionDate, Tag 240.
func (m NewOrderCross) SetRedemptionDate(v string) {
	m.Set(field.NewRedemptionDate(v))
}

// SetCreditRating sets CreditRating, Tag 255.
func (m NewOrderCross) SetCreditRating(v string) {
	m.Set(field.NewCreditRating(v))
}

// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
func (m NewOrderCross) SetEncodedIssuerLen(v int) {
	m.Set(field.NewEncodedIssuerLen(v))
}

// SetEncodedIssuer sets EncodedIssuer, Tag 349.
func (m NewOrderCross) SetEncodedIssuer(v string) {
	m.Set(field.NewEncodedIssuer(v))
}

// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
func (m NewOrderCross) SetEncodedSecurityDescLen(v int) {
	m.Set(field.NewEncodedSecurityDescLen(v))
}

// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
func (m NewOrderCross) SetEncodedSecurityDesc(v string) {
	m.Set(field.NewEncodedSecurityDesc(v))
}

// SetComplianceID sets ComplianceID, Tag 376.
func (m NewOrderCross) SetComplianceID(v string) {
	m.Set(field.NewComplianceID(v))
}

// SetNoTradingSessions sets NoTradingSessions, Tag 386.
func (m NewOrderCross) SetNoTradingSessions(f NoTradingSessionsRepeatingGroup) {
	m.SetGroup(f)
}

// SetDiscretionInst sets DiscretionInst, Tag 388.
func (m NewOrderCross) SetDiscretionInst(v enum.DiscretionInst) {
	m.Set(field.NewDiscretionInst(v))
}

// SetDiscretionOffset sets DiscretionOffset, Tag 389.
func (m NewOrderCross) SetDiscretionOffset(value decimal.Decimal, scale int32) {
	m.Set(field.NewDiscretionOffset(value, scale))
}

// SetPriceType sets PriceType, Tag 423.
func (m NewOrderCross) SetPriceType(v enum.PriceType) {
	m.Set(field.NewPriceType(v))
}

// SetGTBookingInst sets GTBookingInst, Tag 427.
func (m NewOrderCross) SetGTBookingInst(v enum.GTBookingInst) {
	m.Set(field.NewGTBookingInst(v))
}

// SetExpireDate sets ExpireDate, Tag 432.
func (m NewOrderCross) SetExpireDate(v string) {
	m.Set(field.NewExpireDate(v))
}

// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
func (m NewOrderCross) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
	m.SetGroup(f)
}

// SetProduct sets Product, Tag 460.
func (m NewOrderCross) SetProduct(v enum.Product) {
	m.Set(field.NewProduct(v))
}

// SetCFICode sets CFICode, Tag 461.
func (m NewOrderCross) SetCFICode(v string) {
	m.Set(field.NewCFICode(v))
}

// SetCountryOfIssue sets CountryOfIssue, Tag 470.
func (m NewOrderCross) SetCountryOfIssue(v string) {
	m.Set(field.NewCountryOfIssue(v))
}

// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
func (m NewOrderCross) SetStateOrProvinceOfIssue(v string) {
	m.Set(field.NewStateOrProvinceOfIssue(v))
}

// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
func (m NewOrderCross) SetLocaleOfIssue(v string) {
	m.Set(field.NewLocaleOfIssue(v))
}

// SetCancellationRights sets CancellationRights, Tag 480.
func (m NewOrderCross) SetCancellationRights(v enum.CancellationRights) {
	m.Set(field.NewCancellationRights(v))
}

// SetMoneyLaunderingStatus sets MoneyLaunderingStatus, Tag 481.
func (m NewOrderCross) SetMoneyLaunderingStatus(v enum.MoneyLaunderingStatus) {
	m.Set(field.NewMoneyLaunderingStatus(v))
}

// SetDesignation sets Designation, Tag 494.
func (m NewOrderCross) SetDesignation(v string) {
	m.Set(field.NewDesignation(v))
}

// SetRegistID sets RegistID, Tag 513.
func (m NewOrderCross) SetRegistID(v string) {
	m.Set(field.NewRegistID(v))
}

// SetMaturityDate sets MaturityDate, Tag 541.
func (m NewOrderCross) SetMaturityDate(v string) {
	m.Set(field.NewMaturityDate(v))
}

// SetInstrRegistry sets InstrRegistry, Tag 543.
func (m NewOrderCross) SetInstrRegistry(v enum.InstrRegistry) {
	m.Set(field.NewInstrRegistry(v))
}

// SetCrossID sets CrossID, Tag 548.
func (m NewOrderCross) SetCrossID(v string) {
	m.Set(field.NewCrossID(v))
}

// SetCrossType sets CrossType, Tag 549.
func (m NewOrderCross) SetCrossType(v enum.CrossType) {
	m.Set(field.NewCrossType(v))
}

// SetCrossPrioritization sets CrossPrioritization, Tag 550.
func (m NewOrderCross) SetCrossPrioritization(v enum.CrossPrioritization) {
	m.Set(field.NewCrossPrioritization(v))
}

// SetNoSides sets NoSides, Tag 552.
func (m NewOrderCross) SetNoSides(f NoSidesRepeatingGroup) {
	m.SetGroup(f)
}

// GetCurrency gets Currency, Tag 15.
func (m NewOrderCross) GetCurrency() (v string, err quickfix.MessageRejectError) {
	var f field.CurrencyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetExecInst gets ExecInst, Tag 18.
func (m NewOrderCross) GetExecInst() (v enum.ExecInst, err quickfix.MessageRejectError) {
	var f field.ExecInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetHandlInst gets HandlInst, Tag 21.
func (m NewOrderCross) GetHandlInst() (v enum.HandlInst, err quickfix.MessageRejectError) {
	var f field.HandlInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSecurityIDSource gets SecurityIDSource, Tag 22.
func (m NewOrderCross) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
	var f field.SecurityIDSourceField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetIOIid gets IOIid, Tag 23.
func (m NewOrderCross) GetIOIid() (v string, err quickfix.MessageRejectError) {
	var f field.IOIidField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetOrdType gets OrdType, Tag 40.
func (m NewOrderCross) GetOrdType() (v enum.OrdType, err quickfix.MessageRejectError) {
	var f field.OrdTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetPrice gets Price, Tag 44.
func (m NewOrderCross) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.PriceField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSecurityID gets SecurityID, Tag 48.
func (m NewOrderCross) 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 NewOrderCross) GetSymbol() (v string, err quickfix.MessageRejectError) {
	var f field.SymbolField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetTimeInForce gets TimeInForce, Tag 59.
func (m NewOrderCross) GetTimeInForce() (v enum.TimeInForce, err quickfix.MessageRejectError) {
	var f field.TimeInForceField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetTransactTime gets TransactTime, Tag 60.
func (m NewOrderCross) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
	var f field.TransactTimeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSettlmntTyp gets SettlmntTyp, Tag 63.
func (m NewOrderCross) GetSettlmntTyp() (v enum.SettlmntTyp, err quickfix.MessageRejectError) {
	var f field.SettlmntTypField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetFutSettDate gets FutSettDate, Tag 64.
func (m NewOrderCross) GetFutSettDate() (v string, err quickfix.MessageRejectError) {
	var f field.FutSettDateField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSymbolSfx gets SymbolSfx, Tag 65.
func (m NewOrderCross) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
	var f field.SymbolSfxField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetProcessCode gets ProcessCode, Tag 81.
func (m NewOrderCross) GetProcessCode() (v enum.ProcessCode, err quickfix.MessageRejectError) {
	var f field.ProcessCodeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetStopPx gets StopPx, Tag 99.
func (m NewOrderCross) GetStopPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.StopPxField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetExDestination gets ExDestination, Tag 100.
func (m NewOrderCross) GetExDestination() (v enum.ExDestination, err quickfix.MessageRejectError) {
	var f field.ExDestinationField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetIssuer gets Issuer, Tag 106.
func (m NewOrderCross) 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 NewOrderCross) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
	var f field.SecurityDescField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetMinQty gets MinQty, Tag 110.
func (m NewOrderCross) GetMinQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.MinQtyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetMaxFloor gets MaxFloor, Tag 111.
func (m NewOrderCross) GetMaxFloor() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.MaxFloorField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetLocateReqd gets LocateReqd, Tag 114.
func (m NewOrderCross) GetLocateReqd() (v bool, err quickfix.MessageRejectError) {
	var f field.LocateReqdField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetQuoteID gets QuoteID, Tag 117.
func (m NewOrderCross) GetQuoteID() (v string, err quickfix.MessageRejectError) {
	var f field.QuoteIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNetMoney gets NetMoney, Tag 118.
func (m NewOrderCross) GetNetMoney() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.NetMoneyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetExpireTime gets ExpireTime, Tag 126.
func (m NewOrderCross) GetExpireTime() (v time.Time, err quickfix.MessageRejectError) {
	var f field.ExpireTimeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetPrevClosePx gets PrevClosePx, Tag 140.
func (m NewOrderCross) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.PrevClosePxField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetAccruedInterestRate gets AccruedInterestRate, Tag 158.
func (m NewOrderCross) GetAccruedInterestRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.AccruedInterestRateField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetAccruedInterestAmt gets AccruedInterestAmt, Tag 159.
func (m NewOrderCross) GetAccruedInterestAmt() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.AccruedInterestAmtField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSecurityType gets SecurityType, Tag 167.
func (m NewOrderCross) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
	var f field.SecurityTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetEffectiveTime gets EffectiveTime, Tag 168.
func (m NewOrderCross) GetEffectiveTime() (v time.Time, err quickfix.MessageRejectError) {
	var f field.EffectiveTimeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
func (m NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
	var f field.SecurityExchangeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetMaxShow gets MaxShow, Tag 210.
func (m NewOrderCross) GetMaxShow() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.MaxShowField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetPegDifference gets PegDifference, Tag 211.
func (m NewOrderCross) GetPegDifference() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.PegDifferenceField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSpread gets Spread, Tag 218.
func (m NewOrderCross) GetSpread() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.SpreadField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetBenchmarkCurveCurrency gets BenchmarkCurveCurrency, Tag 220.
func (m NewOrderCross) GetBenchmarkCurveCurrency() (v string, err quickfix.MessageRejectError) {
	var f field.BenchmarkCurveCurrencyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetBenchmarkCurveName gets BenchmarkCurveName, Tag 221.
func (m NewOrderCross) GetBenchmarkCurveName() (v enum.BenchmarkCurveName, err quickfix.MessageRejectError) {
	var f field.BenchmarkCurveNameField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetBenchmarkCurvePoint gets BenchmarkCurvePoint, Tag 222.
func (m NewOrderCross) GetBenchmarkCurvePoint() (v string, err quickfix.MessageRejectError) {
	var f field.BenchmarkCurvePointField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCouponRate gets CouponRate, Tag 223.
func (m NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.ContractMultiplierField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoStipulations gets NoStipulations, Tag 232.
func (m NewOrderCross) GetNoStipulations() (NoStipulationsRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoStipulationsRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// GetYieldType gets YieldType, Tag 235.
func (m NewOrderCross) GetYieldType() (v enum.YieldType, err quickfix.MessageRejectError) {
	var f field.YieldTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetYield gets Yield, Tag 236.
func (m NewOrderCross) GetYield() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.YieldField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239.
func (m NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
	var f field.EncodedSecurityDescField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetComplianceID gets ComplianceID, Tag 376.
func (m NewOrderCross) GetComplianceID() (v string, err quickfix.MessageRejectError) {
	var f field.ComplianceIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoTradingSessions gets NoTradingSessions, Tag 386.
func (m NewOrderCross) GetNoTradingSessions() (NoTradingSessionsRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoTradingSessionsRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// GetDiscretionInst gets DiscretionInst, Tag 388.
func (m NewOrderCross) GetDiscretionInst() (v enum.DiscretionInst, err quickfix.MessageRejectError) {
	var f field.DiscretionInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetDiscretionOffset gets DiscretionOffset, Tag 389.
func (m NewOrderCross) GetDiscretionOffset() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.DiscretionOffsetField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetPriceType gets PriceType, Tag 423.
func (m NewOrderCross) GetPriceType() (v enum.PriceType, err quickfix.MessageRejectError) {
	var f field.PriceTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetGTBookingInst gets GTBookingInst, Tag 427.
func (m NewOrderCross) GetGTBookingInst() (v enum.GTBookingInst, err quickfix.MessageRejectError) {
	var f field.GTBookingInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetExpireDate gets ExpireDate, Tag 432.
func (m NewOrderCross) GetExpireDate() (v string, err quickfix.MessageRejectError) {
	var f field.ExpireDateField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
func (m NewOrderCross) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoSecurityAltIDRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// GetProduct gets Product, Tag 460.
func (m NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) 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 NewOrderCross) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
	var f field.LocaleOfIssueField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCancellationRights gets CancellationRights, Tag 480.
func (m NewOrderCross) GetCancellationRights() (v enum.CancellationRights, err quickfix.MessageRejectError) {
	var f field.CancellationRightsField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetMoneyLaunderingStatus gets MoneyLaunderingStatus, Tag 481.
func (m NewOrderCross) GetMoneyLaunderingStatus() (v enum.MoneyLaunderingStatus, err quickfix.MessageRejectError) {
	var f field.MoneyLaunderingStatusField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetDesignation gets Designation, Tag 494.
func (m NewOrderCross) GetDesignation() (v string, err quickfix.MessageRejectError) {
	var f field.DesignationField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetRegistID gets RegistID, Tag 513.
func (m NewOrderCross) GetRegistID() (v string, err quickfix.MessageRejectError) {
	var f field.RegistIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetMaturityDate gets MaturityDate, Tag 541.
func (m NewOrderCross) 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 NewOrderCross) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
	var f field.InstrRegistryField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCrossID gets CrossID, Tag 548.
func (m NewOrderCross) GetCrossID() (v string, err quickfix.MessageRejectError) {
	var f field.CrossIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCrossType gets CrossType, Tag 549.
func (m NewOrderCross) GetCrossType() (v enum.CrossType, err quickfix.MessageRejectError) {
	var f field.CrossTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCrossPrioritization gets CrossPrioritization, Tag 550.
func (m NewOrderCross) GetCrossPrioritization() (v enum.CrossPrioritization, err quickfix.MessageRejectError) {
	var f field.CrossPrioritizationField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoSides gets NoSides, Tag 552.
func (m NewOrderCross) GetNoSides() (NoSidesRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoSidesRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// HasCurrency returns true if Currency is present, Tag 15.
func (m NewOrderCross) HasCurrency() bool {
	return m.Has(tag.Currency)
}

// HasExecInst returns true if ExecInst is present, Tag 18.
func (m NewOrderCross) HasExecInst() bool {
	return m.Has(tag.ExecInst)
}

// HasHandlInst returns true if HandlInst is present, Tag 21.
func (m NewOrderCross) HasHandlInst() bool {
	return m.Has(tag.HandlInst)
}

// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
func (m NewOrderCross) HasSecurityIDSource() bool {
	return m.Has(tag.SecurityIDSource)
}

// HasIOIid returns true if IOIid is present, Tag 23.
func (m NewOrderCross) HasIOIid() bool {
	return m.Has(tag.IOIid)
}

// HasOrdType returns true if OrdType is present, Tag 40.
func (m NewOrderCross) HasOrdType() bool {
	return m.Has(tag.OrdType)
}

// HasPrice returns true if Price is present, Tag 44.
func (m NewOrderCross) HasPrice() bool {
	return m.Has(tag.Price)
}

// HasSecurityID returns true if SecurityID is present, Tag 48.
func (m NewOrderCross) HasSecurityID() bool {
	return m.Has(tag.SecurityID)
}

// HasSymbol returns true if Symbol is present, Tag 55.
func (m NewOrderCross) HasSymbol() bool {
	return m.Has(tag.Symbol)
}

// HasTimeInForce returns true if TimeInForce is present, Tag 59.
func (m NewOrderCross) HasTimeInForce() bool {
	return m.Has(tag.TimeInForce)
}

// HasTransactTime returns true if TransactTime is present, Tag 60.
func (m NewOrderCross) HasTransactTime() bool {
	return m.Has(tag.TransactTime)
}

// HasSettlmntTyp returns true if SettlmntTyp is present, Tag 63.
func (m NewOrderCross) HasSettlmntTyp() bool {
	return m.Has(tag.SettlmntTyp)
}

// HasFutSettDate returns true if FutSettDate is present, Tag 64.
func (m NewOrderCross) HasFutSettDate() bool {
	return m.Has(tag.FutSettDate)
}

// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
func (m NewOrderCross) HasSymbolSfx() bool {
	return m.Has(tag.SymbolSfx)
}

// HasProcessCode returns true if ProcessCode is present, Tag 81.
func (m NewOrderCross) HasProcessCode() bool {
	return m.Has(tag.ProcessCode)
}

// HasStopPx returns true if StopPx is present, Tag 99.
func (m NewOrderCross) HasStopPx() bool {
	return m.Has(tag.StopPx)
}

// HasExDestination returns true if ExDestination is present, Tag 100.
func (m NewOrderCross) HasExDestination() bool {
	return m.Has(tag.ExDestination)
}

// HasIssuer returns true if Issuer is present, Tag 106.
func (m NewOrderCross) HasIssuer() bool {
	return m.Has(tag.Issuer)
}

// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
func (m NewOrderCross) HasSecurityDesc() bool {
	return m.Has(tag.SecurityDesc)
}

// HasMinQty returns true if MinQty is present, Tag 110.
func (m NewOrderCross) HasMinQty() bool {
	return m.Has(tag.MinQty)
}

// HasMaxFloor returns true if MaxFloor is present, Tag 111.
func (m NewOrderCross) HasMaxFloor() bool {
	return m.Has(tag.MaxFloor)
}

// HasLocateReqd returns true if LocateReqd is present, Tag 114.
func (m NewOrderCross) HasLocateReqd() bool {
	return m.Has(tag.LocateReqd)
}

// HasQuoteID returns true if QuoteID is present, Tag 117.
func (m NewOrderCross) HasQuoteID() bool {
	return m.Has(tag.QuoteID)
}

// HasNetMoney returns true if NetMoney is present, Tag 118.
func (m NewOrderCross) HasNetMoney() bool {
	return m.Has(tag.NetMoney)
}

// HasExpireTime returns true if ExpireTime is present, Tag 126.
func (m NewOrderCross) HasExpireTime() bool {
	return m.Has(tag.ExpireTime)
}

// HasPrevClosePx returns true if PrevClosePx is present, Tag 140.
func (m NewOrderCross) HasPrevClosePx() bool {
	return m.Has(tag.PrevClosePx)
}

// HasAccruedInterestRate returns true if AccruedInterestRate is present, Tag 158.
func (m NewOrderCross) HasAccruedInterestRate() bool {
	return m.Has(tag.AccruedInterestRate)
}

// HasAccruedInterestAmt returns true if AccruedInterestAmt is present, Tag 159.
func (m NewOrderCross) HasAccruedInterestAmt() bool {
	return m.Has(tag.AccruedInterestAmt)
}

// HasSecurityType returns true if SecurityType is present, Tag 167.
func (m NewOrderCross) HasSecurityType() bool {
	return m.Has(tag.SecurityType)
}

// HasEffectiveTime returns true if EffectiveTime is present, Tag 168.
func (m NewOrderCross) HasEffectiveTime() bool {
	return m.Has(tag.EffectiveTime)
}

// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
func (m NewOrderCross) HasMaturityMonthYear() bool {
	return m.Has(tag.MaturityMonthYear)
}

// HasStrikePrice returns true if StrikePrice is present, Tag 202.
func (m NewOrderCross) HasStrikePrice() bool {
	return m.Has(tag.StrikePrice)
}

// HasOptAttribute returns true if OptAttribute is present, Tag 206.
func (m NewOrderCross) HasOptAttribute() bool {
	return m.Has(tag.OptAttribute)
}

// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
func (m NewOrderCross) HasSecurityExchange() bool {
	return m.Has(tag.SecurityExchange)
}

// HasMaxShow returns true if MaxShow is present, Tag 210.
func (m NewOrderCross) HasMaxShow() bool {
	return m.Has(tag.MaxShow)
}

// HasPegDifference returns true if PegDifference is present, Tag 211.
func (m NewOrderCross) HasPegDifference() bool {
	return m.Has(tag.PegDifference)
}

// HasSpread returns true if Spread is present, Tag 218.
func (m NewOrderCross) HasSpread() bool {
	return m.Has(tag.Spread)
}

// HasBenchmarkCurveCurrency returns true if BenchmarkCurveCurrency is present, Tag 220.
func (m NewOrderCross) HasBenchmarkCurveCurrency() bool {
	return m.Has(tag.BenchmarkCurveCurrency)
}

// HasBenchmarkCurveName returns true if BenchmarkCurveName is present, Tag 221.
func (m NewOrderCross) HasBenchmarkCurveName() bool {
	return m.Has(tag.BenchmarkCurveName)
}

// HasBenchmarkCurvePoint returns true if BenchmarkCurvePoint is present, Tag 222.
func (m NewOrderCross) HasBenchmarkCurvePoint() bool {
	return m.Has(tag.BenchmarkCurvePoint)
}

// HasCouponRate returns true if CouponRate is present, Tag 223.
func (m NewOrderCross) HasCouponRate() bool {
	return m.Has(tag.CouponRate)
}

// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
func (m NewOrderCross) HasCouponPaymentDate() bool {
	return m.Has(tag.CouponPaymentDate)
}

// HasIssueDate returns true if IssueDate is present, Tag 225.
func (m NewOrderCross) HasIssueDate() bool {
	return m.Has(tag.IssueDate)
}

// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
func (m NewOrderCross) HasRepurchaseTerm() bool {
	return m.Has(tag.RepurchaseTerm)
}

// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
func (m NewOrderCross) HasRepurchaseRate() bool {
	return m.Has(tag.RepurchaseRate)
}

// HasFactor returns true if Factor is present, Tag 228.
func (m NewOrderCross) HasFactor() bool {
	return m.Has(tag.Factor)
}

// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
func (m NewOrderCross) HasContractMultiplier() bool {
	return m.Has(tag.ContractMultiplier)
}

// HasNoStipulations returns true if NoStipulations is present, Tag 232.
func (m NewOrderCross) HasNoStipulations() bool {
	return m.Has(tag.NoStipulations)
}

// HasYieldType returns true if YieldType is present, Tag 235.
func (m NewOrderCross) HasYieldType() bool {
	return m.Has(tag.YieldType)
}

// HasYield returns true if Yield is present, Tag 236.
func (m NewOrderCross) HasYield() bool {
	return m.Has(tag.Yield)
}

// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
func (m NewOrderCross) HasRepoCollateralSecurityType() bool {
	return m.Has(tag.RepoCollateralSecurityType)
}

// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
func (m NewOrderCross) HasRedemptionDate() bool {
	return m.Has(tag.RedemptionDate)
}

// HasCreditRating returns true if CreditRating is present, Tag 255.
func (m NewOrderCross) HasCreditRating() bool {
	return m.Has(tag.CreditRating)
}

// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
func (m NewOrderCross) HasEncodedIssuerLen() bool {
	return m.Has(tag.EncodedIssuerLen)
}

// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
func (m NewOrderCross) HasEncodedIssuer() bool {
	return m.Has(tag.EncodedIssuer)
}

// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
func (m NewOrderCross) HasEncodedSecurityDescLen() bool {
	return m.Has(tag.EncodedSecurityDescLen)
}

// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
func (m NewOrderCross) HasEncodedSecurityDesc() bool {
	return m.Has(tag.EncodedSecurityDesc)
}

// HasComplianceID returns true if ComplianceID is present, Tag 376.
func (m NewOrderCross) HasComplianceID() bool {
	return m.Has(tag.ComplianceID)
}

// HasNoTradingSessions returns true if NoTradingSessions is present, Tag 386.
func (m NewOrderCross) HasNoTradingSessions() bool {
	return m.Has(tag.NoTradingSessions)
}

// HasDiscretionInst returns true if DiscretionInst is present, Tag 388.
func (m NewOrderCross) HasDiscretionInst() bool {
	return m.Has(tag.DiscretionInst)
}

// HasDiscretionOffset returns true if DiscretionOffset is present, Tag 389.
func (m NewOrderCross) HasDiscretionOffset() bool {
	return m.Has(tag.DiscretionOffset)
}

// HasPriceType returns true if PriceType is present, Tag 423.
func (m NewOrderCross) HasPriceType() bool {
	return m.Has(tag.PriceType)
}

// HasGTBookingInst returns true if GTBookingInst is present, Tag 427.
func (m NewOrderCross) HasGTBookingInst() bool {
	return m.Has(tag.GTBookingInst)
}

// HasExpireDate returns true if ExpireDate is present, Tag 432.
func (m NewOrderCross) HasExpireDate() bool {
	return m.Has(tag.ExpireDate)
}

// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
func (m NewOrderCross) HasNoSecurityAltID() bool {
	return m.Has(tag.NoSecurityAltID)
}

// HasProduct returns true if Product is present, Tag 460.
func (m NewOrderCross) HasProduct() bool {
	return m.Has(tag.Product)
}

// HasCFICode returns true if CFICode is present, Tag 461.
func (m NewOrderCross) HasCFICode() bool {
	return m.Has(tag.CFICode)
}

// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
func (m NewOrderCross) HasCountryOfIssue() bool {
	return m.Has(tag.CountryOfIssue)
}

// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
func (m NewOrderCross) HasStateOrProvinceOfIssue() bool {
	return m.Has(tag.StateOrProvinceOfIssue)
}

// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
func (m NewOrderCross) HasLocaleOfIssue() bool {
	return m.Has(tag.LocaleOfIssue)
}

// HasCancellationRights returns true if CancellationRights is present, Tag 480.
func (m NewOrderCross) HasCancellationRights() bool {
	return m.Has(tag.CancellationRights)
}

// HasMoneyLaunderingStatus returns true if MoneyLaunderingStatus is present, Tag 481.
func (m NewOrderCross) HasMoneyLaunderingStatus() bool {
	return m.Has(tag.MoneyLaunderingStatus)
}

// HasDesignation returns true if Designation is present, Tag 494.
func (m NewOrderCross) HasDesignation() bool {
	return m.Has(tag.Designation)
}

// HasRegistID returns true if RegistID is present, Tag 513.
func (m NewOrderCross) HasRegistID() bool {
	return m.Has(tag.RegistID)
}

// HasMaturityDate returns true if MaturityDate is present, Tag 541.
func (m NewOrderCross) HasMaturityDate() bool {
	return m.Has(tag.MaturityDate)
}

// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
func (m NewOrderCross) HasInstrRegistry() bool {
	return m.Has(tag.InstrRegistry)
}

// HasCrossID returns true if CrossID is present, Tag 548.
func (m NewOrderCross) HasCrossID() bool {
	return m.Has(tag.CrossID)
}

// HasCrossType returns true if CrossType is present, Tag 549.
func (m NewOrderCross) HasCrossType() bool {
	return m.Has(tag.CrossType)
}

// HasCrossPrioritization returns true if CrossPrioritization is present, Tag 550.
func (m NewOrderCross) HasCrossPrioritization() bool {
	return m.Has(tag.CrossPrioritization)
}

// HasNoSides returns true if NoSides is present, Tag 552.
func (m NewOrderCross) HasNoSides() bool {
	return m.Has(tag.NoSides)
}

// NoStipulations is a repeating group element, Tag 232.
type NoStipulations struct {
	*quickfix.Group
}

// SetStipulationType sets StipulationType, Tag 233.
func (m NoStipulations) SetStipulationType(v enum.StipulationType) {
	m.Set(field.NewStipulationType(v))
}

// SetStipulationValue sets StipulationValue, Tag 234.
func (m NoStipulations) SetStipulationValue(v enum.StipulationValue) {
	m.Set(field.NewStipulationValue(v))
}

// GetStipulationType gets StipulationType, Tag 233.
func (m NoStipulations) GetStipulationType() (v enum.StipulationType, err quickfix.MessageRejectError) {
	var f field.StipulationTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetStipulationValue gets StipulationValue, Tag 234.
func (m NoStipulations) GetStipulationValue() (v enum.StipulationValue, err quickfix.MessageRejectError) {
	var f field.StipulationValueField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// HasStipulationType returns true if StipulationType is present, Tag 233.
func (m NoStipulations) HasStipulationType() bool {
	return m.Has(tag.StipulationType)
}

// HasStipulationValue returns true if StipulationValue is present, Tag 234.
func (m NoStipulations) HasStipulationValue() bool {
	return m.Has(tag.StipulationValue)
}

// NoStipulationsRepeatingGroup is a repeating group, Tag 232.
type NoStipulationsRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

// NewNoStipulationsRepeatingGroup returns an initialized, NoStipulationsRepeatingGroup.
func NewNoStipulationsRepeatingGroup() NoStipulationsRepeatingGroup {
	return NoStipulationsRepeatingGroup{
		quickfix.NewRepeatingGroup(
			tag.NoStipulations,
			quickfix.GroupTemplate{
				quickfix.GroupElement(tag.StipulationType),
				quickfix.GroupElement(tag.StipulationValue),
			},
		),
	}
}

// Add create and append a new NoStipulations to this group.
func (m NoStipulationsRepeatingGroup) Add() NoStipulations {
	g := m.RepeatingGroup.Add()
	return NoStipulations{g}
}

// Get returns the ith NoStipulations in the NoStipulationsRepeatinGroup.
func (m NoStipulationsRepeatingGroup) Get(i int) NoStipulations {
	return NoStipulations{m.RepeatingGroup.Get(i)}
}

// 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)}
}

// 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)}
}

// NoSides is a repeating group element, Tag 552.
type NoSides struct {
	*quickfix.Group
}

// SetSide sets Side, Tag 54.
func (m NoSides) SetSide(v enum.Side) {
	m.Set(field.NewSide(v))
}

// SetClOrdID sets ClOrdID, Tag 11.
func (m NoSides) SetClOrdID(v string) {
	m.Set(field.NewClOrdID(v))
}

// SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.
func (m NoSides) SetSecondaryClOrdID(v string) {
	m.Set(field.NewSecondaryClOrdID(v))
}

// SetClOrdLinkID sets ClOrdLinkID, Tag 583.
func (m NoSides) SetClOrdLinkID(v string) {
	m.Set(field.NewClOrdLinkID(v))
}

// SetNoPartyIDs sets NoPartyIDs, Tag 453.
func (m NoSides) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
	m.SetGroup(f)
}

// SetTradeOriginationDate sets TradeOriginationDate, Tag 229.
func (m NoSides) SetTradeOriginationDate(v string) {
	m.Set(field.NewTradeOriginationDate(v))
}

// SetAccount sets Account, Tag 1.
func (m NoSides) SetAccount(v string) {
	m.Set(field.NewAccount(v))
}

// SetAccountType sets AccountType, Tag 581.
func (m NoSides) SetAccountType(v enum.AccountType) {
	m.Set(field.NewAccountType(v))
}

// SetDayBookingInst sets DayBookingInst, Tag 589.
func (m NoSides) SetDayBookingInst(v enum.DayBookingInst) {
	m.Set(field.NewDayBookingInst(v))
}

// SetBookingUnit sets BookingUnit, Tag 590.
func (m NoSides) SetBookingUnit(v enum.BookingUnit) {
	m.Set(field.NewBookingUnit(v))
}

// SetPreallocMethod sets PreallocMethod, Tag 591.
func (m NoSides) SetPreallocMethod(v enum.PreallocMethod) {
	m.Set(field.NewPreallocMethod(v))
}

// SetNoAllocs sets NoAllocs, Tag 78.
func (m NoSides) SetNoAllocs(f NoAllocsRepeatingGroup) {
	m.SetGroup(f)
}

// SetQuantityType sets QuantityType, Tag 465.
func (m NoSides) SetQuantityType(v enum.QuantityType) {
	m.Set(field.NewQuantityType(v))
}

// SetOrderQty sets OrderQty, Tag 38.
func (m NoSides) SetOrderQty(value decimal.Decimal, scale int32) {
	m.Set(field.NewOrderQty(value, scale))
}

// SetCashOrderQty sets CashOrderQty, Tag 152.
func (m NoSides) SetCashOrderQty(value decimal.Decimal, scale int32) {
	m.Set(field.NewCashOrderQty(value, scale))
}

// SetOrderPercent sets OrderPercent, Tag 516.
func (m NoSides) SetOrderPercent(value decimal.Decimal, scale int32) {
	m.Set(field.NewOrderPercent(value, scale))
}

// SetRoundingDirection sets RoundingDirection, Tag 468.
func (m NoSides) SetRoundingDirection(v enum.RoundingDirection) {
	m.Set(field.NewRoundingDirection(v))
}

// SetRoundingModulus sets RoundingModulus, Tag 469.
func (m NoSides) SetRoundingModulus(value decimal.Decimal, scale int32) {
	m.Set(field.NewRoundingModulus(value, scale))
}

// SetCommission sets Commission, Tag 12.
func (m NoSides) SetCommission(value decimal.Decimal, scale int32) {
	m.Set(field.NewCommission(value, scale))
}

// SetCommType sets CommType, Tag 13.
func (m NoSides) SetCommType(v enum.CommType) {
	m.Set(field.NewCommType(v))
}

// SetCommCurrency sets CommCurrency, Tag 479.
func (m NoSides) SetCommCurrency(v string) {
	m.Set(field.NewCommCurrency(v))
}

// SetFundRenewWaiv sets FundRenewWaiv, Tag 497.
func (m NoSides) SetFundRenewWaiv(v enum.FundRenewWaiv) {
	m.Set(field.NewFundRenewWaiv(v))
}

// SetOrderCapacity sets OrderCapacity, Tag 528.
func (m NoSides) SetOrderCapacity(v enum.OrderCapacity) {
	m.Set(field.NewOrderCapacity(v))
}

// SetOrderRestrictions sets OrderRestrictions, Tag 529.
func (m NoSides) SetOrderRestrictions(v enum.OrderRestrictions) {
	m.Set(field.NewOrderRestrictions(v))
}

// SetCustOrderCapacity sets CustOrderCapacity, Tag 582.
func (m NoSides) SetCustOrderCapacity(v enum.CustOrderCapacity) {
	m.Set(field.NewCustOrderCapacity(v))
}

// SetForexReq sets ForexReq, Tag 121.
func (m NoSides) SetForexReq(v bool) {
	m.Set(field.NewForexReq(v))
}

// SetSettlCurrency sets SettlCurrency, Tag 120.
func (m NoSides) SetSettlCurrency(v string) {
	m.Set(field.NewSettlCurrency(v))
}

// SetText sets Text, Tag 58.
func (m NoSides) SetText(v string) {
	m.Set(field.NewText(v))
}

// SetEncodedTextLen sets EncodedTextLen, Tag 354.
func (m NoSides) SetEncodedTextLen(v int) {
	m.Set(field.NewEncodedTextLen(v))
}

// SetEncodedText sets EncodedText, Tag 355.
func (m NoSides) SetEncodedText(v string) {
	m.Set(field.NewEncodedText(v))
}

// SetPositionEffect sets PositionEffect, Tag 77.
func (m NoSides) SetPositionEffect(v enum.PositionEffect) {
	m.Set(field.NewPositionEffect(v))
}

// SetCoveredOrUncovered sets CoveredOrUncovered, Tag 203.
func (m NoSides) SetCoveredOrUncovered(v enum.CoveredOrUncovered) {
	m.Set(field.NewCoveredOrUncovered(v))
}

// SetCashMargin sets CashMargin, Tag 544.
func (m NoSides) SetCashMargin(v enum.CashMargin) {
	m.Set(field.NewCashMargin(v))
}

// SetClearingFeeIndicator sets ClearingFeeIndicator, Tag 635.
func (m NoSides) SetClearingFeeIndicator(v enum.ClearingFeeIndicator) {
	m.Set(field.NewClearingFeeIndicator(v))
}

// SetSolicitedFlag sets SolicitedFlag, Tag 377.
func (m NoSides) SetSolicitedFlag(v bool) {
	m.Set(field.NewSolicitedFlag(v))
}

// SetSideComplianceID sets SideComplianceID, Tag 659.
func (m NoSides) SetSideComplianceID(v string) {
	m.Set(field.NewSideComplianceID(v))
}

// GetSide gets Side, Tag 54.
func (m NoSides) GetSide() (v enum.Side, err quickfix.MessageRejectError) {
	var f field.SideField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetClOrdID gets ClOrdID, Tag 11.
func (m NoSides) GetClOrdID() (v string, err quickfix.MessageRejectError) {
	var f field.ClOrdIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.
func (m NoSides) GetSecondaryClOrdID() (v string, err quickfix.MessageRejectError) {
	var f field.SecondaryClOrdIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetClOrdLinkID gets ClOrdLinkID, Tag 583.
func (m NoSides) GetClOrdLinkID() (v string, err quickfix.MessageRejectError) {
	var f field.ClOrdLinkIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoPartyIDs gets NoPartyIDs, Tag 453.
func (m NoSides) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoPartyIDsRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// GetTradeOriginationDate gets TradeOriginationDate, Tag 229.
func (m NoSides) GetTradeOriginationDate() (v string, err quickfix.MessageRejectError) {
	var f field.TradeOriginationDateField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetAccount gets Account, Tag 1.
func (m NoSides) GetAccount() (v string, err quickfix.MessageRejectError) {
	var f field.AccountField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetAccountType gets AccountType, Tag 581.
func (m NoSides) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
	var f field.AccountTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetDayBookingInst gets DayBookingInst, Tag 589.
func (m NoSides) GetDayBookingInst() (v enum.DayBookingInst, err quickfix.MessageRejectError) {
	var f field.DayBookingInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetBookingUnit gets BookingUnit, Tag 590.
func (m NoSides) GetBookingUnit() (v enum.BookingUnit, err quickfix.MessageRejectError) {
	var f field.BookingUnitField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetPreallocMethod gets PreallocMethod, Tag 591.
func (m NoSides) GetPreallocMethod() (v enum.PreallocMethod, err quickfix.MessageRejectError) {
	var f field.PreallocMethodField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoAllocs gets NoAllocs, Tag 78.
func (m NoSides) GetNoAllocs() (NoAllocsRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoAllocsRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// GetQuantityType gets QuantityType, Tag 465.
func (m NoSides) GetQuantityType() (v enum.QuantityType, err quickfix.MessageRejectError) {
	var f field.QuantityTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetOrderQty gets OrderQty, Tag 38.
func (m NoSides) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.OrderQtyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCashOrderQty gets CashOrderQty, Tag 152.
func (m NoSides) GetCashOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.CashOrderQtyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetOrderPercent gets OrderPercent, Tag 516.
func (m NoSides) GetOrderPercent() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.OrderPercentField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetRoundingDirection gets RoundingDirection, Tag 468.
func (m NoSides) GetRoundingDirection() (v enum.RoundingDirection, err quickfix.MessageRejectError) {
	var f field.RoundingDirectionField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetRoundingModulus gets RoundingModulus, Tag 469.
func (m NoSides) GetRoundingModulus() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.RoundingModulusField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCommission gets Commission, Tag 12.
func (m NoSides) GetCommission() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.CommissionField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCommType gets CommType, Tag 13.
func (m NoSides) GetCommType() (v enum.CommType, err quickfix.MessageRejectError) {
	var f field.CommTypeField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCommCurrency gets CommCurrency, Tag 479.
func (m NoSides) GetCommCurrency() (v string, err quickfix.MessageRejectError) {
	var f field.CommCurrencyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetFundRenewWaiv gets FundRenewWaiv, Tag 497.
func (m NoSides) GetFundRenewWaiv() (v enum.FundRenewWaiv, err quickfix.MessageRejectError) {
	var f field.FundRenewWaivField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetOrderCapacity gets OrderCapacity, Tag 528.
func (m NoSides) GetOrderCapacity() (v enum.OrderCapacity, err quickfix.MessageRejectError) {
	var f field.OrderCapacityField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetOrderRestrictions gets OrderRestrictions, Tag 529.
func (m NoSides) GetOrderRestrictions() (v enum.OrderRestrictions, err quickfix.MessageRejectError) {
	var f field.OrderRestrictionsField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCustOrderCapacity gets CustOrderCapacity, Tag 582.
func (m NoSides) GetCustOrderCapacity() (v enum.CustOrderCapacity, err quickfix.MessageRejectError) {
	var f field.CustOrderCapacityField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetForexReq gets ForexReq, Tag 121.
func (m NoSides) GetForexReq() (v bool, err quickfix.MessageRejectError) {
	var f field.ForexReqField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSettlCurrency gets SettlCurrency, Tag 120.
func (m NoSides) GetSettlCurrency() (v string, err quickfix.MessageRejectError) {
	var f field.SettlCurrencyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetText gets Text, Tag 58.
func (m NoSides) GetText() (v string, err quickfix.MessageRejectError) {
	var f field.TextField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetEncodedTextLen gets EncodedTextLen, Tag 354.
func (m NoSides) 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 NoSides) GetEncodedText() (v string, err quickfix.MessageRejectError) {
	var f field.EncodedTextField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetPositionEffect gets PositionEffect, Tag 77.
func (m NoSides) GetPositionEffect() (v enum.PositionEffect, err quickfix.MessageRejectError) {
	var f field.PositionEffectField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCoveredOrUncovered gets CoveredOrUncovered, Tag 203.
func (m NoSides) GetCoveredOrUncovered() (v enum.CoveredOrUncovered, err quickfix.MessageRejectError) {
	var f field.CoveredOrUncoveredField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetCashMargin gets CashMargin, Tag 544.
func (m NoSides) GetCashMargin() (v enum.CashMargin, err quickfix.MessageRejectError) {
	var f field.CashMarginField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetClearingFeeIndicator gets ClearingFeeIndicator, Tag 635.
func (m NoSides) GetClearingFeeIndicator() (v enum.ClearingFeeIndicator, err quickfix.MessageRejectError) {
	var f field.ClearingFeeIndicatorField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSolicitedFlag gets SolicitedFlag, Tag 377.
func (m NoSides) GetSolicitedFlag() (v bool, err quickfix.MessageRejectError) {
	var f field.SolicitedFlagField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetSideComplianceID gets SideComplianceID, Tag 659.
func (m NoSides) GetSideComplianceID() (v string, err quickfix.MessageRejectError) {
	var f field.SideComplianceIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// HasSide returns true if Side is present, Tag 54.
func (m NoSides) HasSide() bool {
	return m.Has(tag.Side)
}

// HasClOrdID returns true if ClOrdID is present, Tag 11.
func (m NoSides) HasClOrdID() bool {
	return m.Has(tag.ClOrdID)
}

// HasSecondaryClOrdID returns true if SecondaryClOrdID is present, Tag 526.
func (m NoSides) HasSecondaryClOrdID() bool {
	return m.Has(tag.SecondaryClOrdID)
}

// HasClOrdLinkID returns true if ClOrdLinkID is present, Tag 583.
func (m NoSides) HasClOrdLinkID() bool {
	return m.Has(tag.ClOrdLinkID)
}

// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
func (m NoSides) HasNoPartyIDs() bool {
	return m.Has(tag.NoPartyIDs)
}

// HasTradeOriginationDate returns true if TradeOriginationDate is present, Tag 229.
func (m NoSides) HasTradeOriginationDate() bool {
	return m.Has(tag.TradeOriginationDate)
}

// HasAccount returns true if Account is present, Tag 1.
func (m NoSides) HasAccount() bool {
	return m.Has(tag.Account)
}

// HasAccountType returns true if AccountType is present, Tag 581.
func (m NoSides) HasAccountType() bool {
	return m.Has(tag.AccountType)
}

// HasDayBookingInst returns true if DayBookingInst is present, Tag 589.
func (m NoSides) HasDayBookingInst() bool {
	return m.Has(tag.DayBookingInst)
}

// HasBookingUnit returns true if BookingUnit is present, Tag 590.
func (m NoSides) HasBookingUnit() bool {
	return m.Has(tag.BookingUnit)
}

// HasPreallocMethod returns true if PreallocMethod is present, Tag 591.
func (m NoSides) HasPreallocMethod() bool {
	return m.Has(tag.PreallocMethod)
}

// HasNoAllocs returns true if NoAllocs is present, Tag 78.
func (m NoSides) HasNoAllocs() bool {
	return m.Has(tag.NoAllocs)
}

// HasQuantityType returns true if QuantityType is present, Tag 465.
func (m NoSides) HasQuantityType() bool {
	return m.Has(tag.QuantityType)
}

// HasOrderQty returns true if OrderQty is present, Tag 38.
func (m NoSides) HasOrderQty() bool {
	return m.Has(tag.OrderQty)
}

// HasCashOrderQty returns true if CashOrderQty is present, Tag 152.
func (m NoSides) HasCashOrderQty() bool {
	return m.Has(tag.CashOrderQty)
}

// HasOrderPercent returns true if OrderPercent is present, Tag 516.
func (m NoSides) HasOrderPercent() bool {
	return m.Has(tag.OrderPercent)
}

// HasRoundingDirection returns true if RoundingDirection is present, Tag 468.
func (m NoSides) HasRoundingDirection() bool {
	return m.Has(tag.RoundingDirection)
}

// HasRoundingModulus returns true if RoundingModulus is present, Tag 469.
func (m NoSides) HasRoundingModulus() bool {
	return m.Has(tag.RoundingModulus)
}

// HasCommission returns true if Commission is present, Tag 12.
func (m NoSides) HasCommission() bool {
	return m.Has(tag.Commission)
}

// HasCommType returns true if CommType is present, Tag 13.
func (m NoSides) HasCommType() bool {
	return m.Has(tag.CommType)
}

// HasCommCurrency returns true if CommCurrency is present, Tag 479.
func (m NoSides) HasCommCurrency() bool {
	return m.Has(tag.CommCurrency)
}

// HasFundRenewWaiv returns true if FundRenewWaiv is present, Tag 497.
func (m NoSides) HasFundRenewWaiv() bool {
	return m.Has(tag.FundRenewWaiv)
}

// HasOrderCapacity returns true if OrderCapacity is present, Tag 528.
func (m NoSides) HasOrderCapacity() bool {
	return m.Has(tag.OrderCapacity)
}

// HasOrderRestrictions returns true if OrderRestrictions is present, Tag 529.
func (m NoSides) HasOrderRestrictions() bool {
	return m.Has(tag.OrderRestrictions)
}

// HasCustOrderCapacity returns true if CustOrderCapacity is present, Tag 582.
func (m NoSides) HasCustOrderCapacity() bool {
	return m.Has(tag.CustOrderCapacity)
}

// HasForexReq returns true if ForexReq is present, Tag 121.
func (m NoSides) HasForexReq() bool {
	return m.Has(tag.ForexReq)
}

// HasSettlCurrency returns true if SettlCurrency is present, Tag 120.
func (m NoSides) HasSettlCurrency() bool {
	return m.Has(tag.SettlCurrency)
}

// HasText returns true if Text is present, Tag 58.
func (m NoSides) HasText() bool {
	return m.Has(tag.Text)
}

// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
func (m NoSides) HasEncodedTextLen() bool {
	return m.Has(tag.EncodedTextLen)
}

// HasEncodedText returns true if EncodedText is present, Tag 355.
func (m NoSides) HasEncodedText() bool {
	return m.Has(tag.EncodedText)
}

// HasPositionEffect returns true if PositionEffect is present, Tag 77.
func (m NoSides) HasPositionEffect() bool {
	return m.Has(tag.PositionEffect)
}

// HasCoveredOrUncovered returns true if CoveredOrUncovered is present, Tag 203.
func (m NoSides) HasCoveredOrUncovered() bool {
	return m.Has(tag.CoveredOrUncovered)
}

// HasCashMargin returns true if CashMargin is present, Tag 544.
func (m NoSides) HasCashMargin() bool {
	return m.Has(tag.CashMargin)
}

// HasClearingFeeIndicator returns true if ClearingFeeIndicator is present, Tag 635.
func (m NoSides) HasClearingFeeIndicator() bool {
	return m.Has(tag.ClearingFeeIndicator)
}

// HasSolicitedFlag returns true if SolicitedFlag is present, Tag 377.
func (m NoSides) HasSolicitedFlag() bool {
	return m.Has(tag.SolicitedFlag)
}

// HasSideComplianceID returns true if SideComplianceID is present, Tag 659.
func (m NoSides) HasSideComplianceID() bool {
	return m.Has(tag.SideComplianceID)
}

// 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))
}

// SetPartySubID sets PartySubID, Tag 523.
func (m NoPartyIDs) SetPartySubID(v string) {
	m.Set(field.NewPartySubID(v))
}

// 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
}

// GetPartySubID gets PartySubID, Tag 523.
func (m NoPartyIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
	var f field.PartySubIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// 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)
}

// HasPartySubID returns true if PartySubID is present, Tag 523.
func (m NoPartyIDs) HasPartySubID() bool {
	return m.Has(tag.PartySubID)
}

// 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),
				quickfix.GroupElement(tag.PartySubID),
			},
		),
	}
}

// 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)}
}

// NoAllocs is a repeating group element, Tag 78.
type NoAllocs struct {
	*quickfix.Group
}

// SetAllocAccount sets AllocAccount, Tag 79.
func (m NoAllocs) SetAllocAccount(v string) {
	m.Set(field.NewAllocAccount(v))
}

// SetIndividualAllocID sets IndividualAllocID, Tag 467.
func (m NoAllocs) SetIndividualAllocID(v string) {
	m.Set(field.NewIndividualAllocID(v))
}

// SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539.
func (m NoAllocs) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) {
	m.SetGroup(f)
}

// SetAllocQty sets AllocQty, Tag 80.
func (m NoAllocs) SetAllocQty(value decimal.Decimal, scale int32) {
	m.Set(field.NewAllocQty(value, scale))
}

// GetAllocAccount gets AllocAccount, Tag 79.
func (m NoAllocs) GetAllocAccount() (v string, err quickfix.MessageRejectError) {
	var f field.AllocAccountField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetIndividualAllocID gets IndividualAllocID, Tag 467.
func (m NoAllocs) GetIndividualAllocID() (v string, err quickfix.MessageRejectError) {
	var f field.IndividualAllocIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539.
func (m NoAllocs) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
	f := NewNoNestedPartyIDsRepeatingGroup()
	err := m.GetGroup(f)
	return f, err
}

// GetAllocQty gets AllocQty, Tag 80.
func (m NoAllocs) GetAllocQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.AllocQtyField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// HasAllocAccount returns true if AllocAccount is present, Tag 79.
func (m NoAllocs) HasAllocAccount() bool {
	return m.Has(tag.AllocAccount)
}

// HasIndividualAllocID returns true if IndividualAllocID is present, Tag 467.
func (m NoAllocs) HasIndividualAllocID() bool {
	return m.Has(tag.IndividualAllocID)
}

// HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539.
func (m NoAllocs) HasNoNestedPartyIDs() bool {
	return m.Has(tag.NoNestedPartyIDs)
}

// HasAllocQty returns true if AllocQty is present, Tag 80.
func (m NoAllocs) HasAllocQty() bool {
	return m.Has(tag.AllocQty)
}

// 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))
}

// SetNestedPartySubID sets NestedPartySubID, Tag 545.
func (m NoNestedPartyIDs) SetNestedPartySubID(v string) {
	m.Set(field.NewNestedPartySubID(v))
}

// 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
}

// GetNestedPartySubID gets NestedPartySubID, Tag 545.
func (m NoNestedPartyIDs) GetNestedPartySubID() (v string, err quickfix.MessageRejectError) {
	var f field.NestedPartySubIDField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}

// 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)
}

// HasNestedPartySubID returns true if NestedPartySubID is present, Tag 545.
func (m NoNestedPartyIDs) HasNestedPartySubID() bool {
	return m.Has(tag.NestedPartySubID)
}

// 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),
				quickfix.GroupElement(tag.NestedPartySubID),
			},
		),
	}
}

// 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)}
}

// NoAllocsRepeatingGroup is a repeating group, Tag 78.
type NoAllocsRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

// NewNoAllocsRepeatingGroup returns an initialized, NoAllocsRepeatingGroup.
func NewNoAllocsRepeatingGroup() NoAllocsRepeatingGroup {
	return NoAllocsRepeatingGroup{
		quickfix.NewRepeatingGroup(
			tag.NoAllocs,
			quickfix.GroupTemplate{
				quickfix.GroupElement(tag.AllocAccount),
				quickfix.GroupElement(tag.IndividualAllocID),
				NewNoNestedPartyIDsRepeatingGroup(),
				quickfix.GroupElement(tag.AllocQty),
			},
		),
	}
}

// Add create and append a new NoAllocs to this group.
func (m NoAllocsRepeatingGroup) Add() NoAllocs {
	g := m.RepeatingGroup.Add()
	return NoAllocs{g}
}

// Get returns the ith NoAllocs in the NoAllocsRepeatinGroup.
func (m NoAllocsRepeatingGroup) Get(i int) NoAllocs {
	return NoAllocs{m.RepeatingGroup.Get(i)}
}

// NoSidesRepeatingGroup is a repeating group, Tag 552.
type NoSidesRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

// NewNoSidesRepeatingGroup returns an initialized, NoSidesRepeatingGroup.
func NewNoSidesRepeatingGroup() NoSidesRepeatingGroup {
	return NoSidesRepeatingGroup{
		quickfix.NewRepeatingGroup(
			tag.NoSides,
			quickfix.GroupTemplate{
				quickfix.GroupElement(tag.Side),
				quickfix.GroupElement(tag.ClOrdID),
				quickfix.GroupElement(tag.SecondaryClOrdID),
				quickfix.GroupElement(tag.ClOrdLinkID),
				NewNoPartyIDsRepeatingGroup(),
				quickfix.GroupElement(tag.TradeOriginationDate),
				quickfix.GroupElement(tag.Account),
				quickfix.GroupElement(tag.AccountType),
				quickfix.GroupElement(tag.DayBookingInst),
				quickfix.GroupElement(tag.BookingUnit),
				quickfix.GroupElement(tag.PreallocMethod),
				NewNoAllocsRepeatingGroup(),
				quickfix.GroupElement(tag.QuantityType),
				quickfix.GroupElement(tag.OrderQty),
				quickfix.GroupElement(tag.CashOrderQty),
				quickfix.GroupElement(tag.OrderPercent),
				quickfix.GroupElement(tag.RoundingDirection),
				quickfix.GroupElement(tag.RoundingModulus),
				quickfix.GroupElement(tag.Commission),
				quickfix.GroupElement(tag.CommType),
				quickfix.GroupElement(tag.CommCurrency),
				quickfix.GroupElement(tag.FundRenewWaiv),
				quickfix.GroupElement(tag.OrderCapacity),
				quickfix.GroupElement(tag.OrderRestrictions),
				quickfix.GroupElement(tag.CustOrderCapacity),
				quickfix.GroupElement(tag.ForexReq),
				quickfix.GroupElement(tag.SettlCurrency),
				quickfix.GroupElement(tag.Text),
				quickfix.GroupElement(tag.EncodedTextLen),
				quickfix.GroupElement(tag.EncodedText),
				quickfix.GroupElement(tag.PositionEffect),
				quickfix.GroupElement(tag.CoveredOrUncovered),
				quickfix.GroupElement(tag.CashMargin),
				quickfix.GroupElement(tag.ClearingFeeIndicator),
				quickfix.GroupElement(tag.SolicitedFlag),
				quickfix.GroupElement(tag.SideComplianceID),
			},
		),
	}
}

// Add create and append a new NoSides to this group.
func (m NoSidesRepeatingGroup) Add() NoSides {
	g := m.RepeatingGroup.Add()
	return NoSides{g}
}

// Get returns the ith NoSides in the NoSidesRepeatinGroup.
func (m NoSidesRepeatingGroup) Get(i int) NoSides {
	return NoSides{m.RepeatingGroup.Get(i)}
}
