allocationack

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-1.1 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(router RouteOut) (string, string, quickfix.MessageRoute)

Route returns the beginstring, message type, and MessageRoute for this Message type.

Types

type AllocationAck

type AllocationAck struct {
	fix43.Header
	*quickfix.Body
	fix43.Trailer
	Message *quickfix.Message
}

AllocationAck is the fix43 AllocationAck type, MsgType = P.

func FromMessage

func FromMessage(m *quickfix.Message) AllocationAck

FromMessage creates a AllocationAck from a quickfix.Message instance.

func New

func New(allocid field.AllocIDField, tradedate field.TradeDateField, allocstatus field.AllocStatusField) (m AllocationAck)

New returns a AllocationAck initialized with the required fields for AllocationAck.

func (AllocationAck) GetAllocID

func (m AllocationAck) GetAllocID() (v string, err quickfix.MessageRejectError)

GetAllocID gets AllocID, Tag 70.

func (AllocationAck) GetAllocRejCode

func (m AllocationAck) GetAllocRejCode() (v enum.AllocRejCode, err quickfix.MessageRejectError)

GetAllocRejCode gets AllocRejCode, Tag 88.

func (AllocationAck) GetAllocStatus

func (m AllocationAck) GetAllocStatus() (v enum.AllocStatus, err quickfix.MessageRejectError)

GetAllocStatus gets AllocStatus, Tag 87.

func (AllocationAck) GetEncodedText

func (m AllocationAck) GetEncodedText() (v string, err quickfix.MessageRejectError)

GetEncodedText gets EncodedText, Tag 355.

func (AllocationAck) GetEncodedTextLen

func (m AllocationAck) GetEncodedTextLen() (v int, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (AllocationAck) GetLegalConfirm

func (m AllocationAck) GetLegalConfirm() (v bool, err quickfix.MessageRejectError)

GetLegalConfirm gets LegalConfirm, Tag 650.

func (AllocationAck) GetNoPartyIDs

GetNoPartyIDs gets NoPartyIDs, Tag 453.

func (AllocationAck) GetText

func (m AllocationAck) GetText() (v string, err quickfix.MessageRejectError)

GetText gets Text, Tag 58.

func (AllocationAck) GetTradeDate

func (m AllocationAck) GetTradeDate() (v string, err quickfix.MessageRejectError)

GetTradeDate gets TradeDate, Tag 75.

func (AllocationAck) GetTransactTime

func (m AllocationAck) GetTransactTime() (v time.Time, err quickfix.MessageRejectError)

GetTransactTime gets TransactTime, Tag 60.

func (AllocationAck) HasAllocID

func (m AllocationAck) HasAllocID() bool

HasAllocID returns true if AllocID is present, Tag 70.

func (AllocationAck) HasAllocRejCode

func (m AllocationAck) HasAllocRejCode() bool

HasAllocRejCode returns true if AllocRejCode is present, Tag 88.

func (AllocationAck) HasAllocStatus

func (m AllocationAck) HasAllocStatus() bool

HasAllocStatus returns true if AllocStatus is present, Tag 87.

func (AllocationAck) HasEncodedText

func (m AllocationAck) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (AllocationAck) HasEncodedTextLen

func (m AllocationAck) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (AllocationAck) HasLegalConfirm

func (m AllocationAck) HasLegalConfirm() bool

HasLegalConfirm returns true if LegalConfirm is present, Tag 650.

func (AllocationAck) HasNoPartyIDs

func (m AllocationAck) HasNoPartyIDs() bool

HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.

func (AllocationAck) HasText

func (m AllocationAck) HasText() bool

HasText returns true if Text is present, Tag 58.

func (AllocationAck) HasTradeDate

func (m AllocationAck) HasTradeDate() bool

HasTradeDate returns true if TradeDate is present, Tag 75.

func (AllocationAck) HasTransactTime

func (m AllocationAck) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60.

func (AllocationAck) SetAllocID

func (m AllocationAck) SetAllocID(v string)

SetAllocID sets AllocID, Tag 70.

func (AllocationAck) SetAllocRejCode

func (m AllocationAck) SetAllocRejCode(v enum.AllocRejCode)

SetAllocRejCode sets AllocRejCode, Tag 88.

func (AllocationAck) SetAllocStatus

func (m AllocationAck) SetAllocStatus(v enum.AllocStatus)

SetAllocStatus sets AllocStatus, Tag 87.

func (AllocationAck) SetEncodedText

func (m AllocationAck) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (AllocationAck) SetEncodedTextLen

func (m AllocationAck) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (AllocationAck) SetLegalConfirm

func (m AllocationAck) SetLegalConfirm(v bool)

SetLegalConfirm sets LegalConfirm, Tag 650.

func (AllocationAck) SetNoPartyIDs

func (m AllocationAck) SetNoPartyIDs(f NoPartyIDsRepeatingGroup)

SetNoPartyIDs sets NoPartyIDs, Tag 453.

func (AllocationAck) SetText

func (m AllocationAck) SetText(v string)

SetText sets Text, Tag 58.

func (AllocationAck) SetTradeDate

func (m AllocationAck) SetTradeDate(v string)

SetTradeDate sets TradeDate, Tag 75.

func (AllocationAck) SetTransactTime

func (m AllocationAck) SetTransactTime(v time.Time)

SetTransactTime sets TransactTime, Tag 60.

func (AllocationAck) ToMessage

func (m AllocationAck) ToMessage() *quickfix.Message

ToMessage returns a quickfix.Message instance.

type NoPartyIDs

type NoPartyIDs struct {
	*quickfix.Group
}

NoPartyIDs is a repeating group element, Tag 453.

func (NoPartyIDs) GetPartyID

func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError)

GetPartyID gets PartyID, Tag 448.

func (NoPartyIDs) GetPartyIDSource

func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError)

GetPartyIDSource gets PartyIDSource, Tag 447.

func (NoPartyIDs) GetPartyRole

func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError)

GetPartyRole gets PartyRole, Tag 452.

func (NoPartyIDs) GetPartySubID

func (m NoPartyIDs) GetPartySubID() (v string, err quickfix.MessageRejectError)

GetPartySubID gets PartySubID, Tag 523.

func (NoPartyIDs) HasPartyID

func (m NoPartyIDs) HasPartyID() bool

HasPartyID returns true if PartyID is present, Tag 448.

func (NoPartyIDs) HasPartyIDSource

func (m NoPartyIDs) HasPartyIDSource() bool

HasPartyIDSource returns true if PartyIDSource is present, Tag 447.

func (NoPartyIDs) HasPartyRole

func (m NoPartyIDs) HasPartyRole() bool

HasPartyRole returns true if PartyRole is present, Tag 452.

func (NoPartyIDs) HasPartySubID

func (m NoPartyIDs) HasPartySubID() bool

HasPartySubID returns true if PartySubID is present, Tag 523.

func (NoPartyIDs) SetPartyID

func (m NoPartyIDs) SetPartyID(v string)

SetPartyID sets PartyID, Tag 448.

func (NoPartyIDs) SetPartyIDSource

func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource)

SetPartyIDSource sets PartyIDSource, Tag 447.

func (NoPartyIDs) SetPartyRole

func (m NoPartyIDs) SetPartyRole(v enum.PartyRole)

SetPartyRole sets PartyRole, Tag 452.

func (NoPartyIDs) SetPartySubID

func (m NoPartyIDs) SetPartySubID(v string)

SetPartySubID sets PartySubID, Tag 523.

type NoPartyIDsRepeatingGroup

type NoPartyIDsRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoPartyIDsRepeatingGroup is a repeating group, Tag 453.

func NewNoPartyIDsRepeatingGroup

func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup

NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.

func (NoPartyIDsRepeatingGroup) Add

Add create and append a new NoPartyIDs to this group.

func (NoPartyIDsRepeatingGroup) Get

Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.

type RouteOut

type RouteOut func(msg AllocationAck, sessionID quickfix.SessionID) quickfix.MessageRejectError

A RouteOut is the callback type that should be implemented for routing Message.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL