allocationack

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 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 added in v0.4.0

type AllocationACK struct {
	fix42.Header
	*quickfix.Body
	fix42.Trailer
	Message *quickfix.Message
}

AllocationACK is the fix42 AllocationACK type, MsgType = P.

func FromMessage added in v0.4.0

func FromMessage(m *quickfix.Message) AllocationACK

FromMessage creates a AllocationACK from a quickfix.Message instance.

func New added in v0.2.0

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 added in v0.4.0

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

GetAllocID gets AllocID, Tag 70.

func (AllocationACK) GetAllocRejCode added in v0.4.0

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

GetAllocRejCode gets AllocRejCode, Tag 88.

func (AllocationACK) GetAllocStatus added in v0.4.0

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

GetAllocStatus gets AllocStatus, Tag 87.

func (AllocationACK) GetClientID added in v0.4.0

func (m AllocationACK) GetClientID() (v string, err quickfix.MessageRejectError)

GetClientID gets ClientID, Tag 109.

func (AllocationACK) GetEncodedText added in v0.4.0

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

GetEncodedText gets EncodedText, Tag 355.

func (AllocationACK) GetEncodedTextLen added in v0.4.0

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

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (AllocationACK) GetExecBroker added in v0.4.0

func (m AllocationACK) GetExecBroker() (v string, err quickfix.MessageRejectError)

GetExecBroker gets ExecBroker, Tag 76.

func (AllocationACK) GetText added in v0.4.0

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

GetText gets Text, Tag 58.

func (AllocationACK) GetTradeDate added in v0.4.0

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

GetTradeDate gets TradeDate, Tag 75.

func (AllocationACK) GetTransactTime added in v0.4.0

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

GetTransactTime gets TransactTime, Tag 60.

func (AllocationACK) HasAllocID added in v0.4.0

func (m AllocationACK) HasAllocID() bool

HasAllocID returns true if AllocID is present, Tag 70.

func (AllocationACK) HasAllocRejCode added in v0.4.0

func (m AllocationACK) HasAllocRejCode() bool

HasAllocRejCode returns true if AllocRejCode is present, Tag 88.

func (AllocationACK) HasAllocStatus added in v0.4.0

func (m AllocationACK) HasAllocStatus() bool

HasAllocStatus returns true if AllocStatus is present, Tag 87.

func (AllocationACK) HasClientID added in v0.4.0

func (m AllocationACK) HasClientID() bool

HasClientID returns true if ClientID is present, Tag 109.

func (AllocationACK) HasEncodedText added in v0.4.0

func (m AllocationACK) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (AllocationACK) HasEncodedTextLen added in v0.4.0

func (m AllocationACK) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (AllocationACK) HasExecBroker added in v0.4.0

func (m AllocationACK) HasExecBroker() bool

HasExecBroker returns true if ExecBroker is present, Tag 76.

func (AllocationACK) HasText added in v0.4.0

func (m AllocationACK) HasText() bool

HasText returns true if Text is present, Tag 58.

func (AllocationACK) HasTradeDate added in v0.4.0

func (m AllocationACK) HasTradeDate() bool

HasTradeDate returns true if TradeDate is present, Tag 75.

func (AllocationACK) HasTransactTime added in v0.4.0

func (m AllocationACK) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60.

func (AllocationACK) SetAllocID added in v0.4.0

func (m AllocationACK) SetAllocID(v string)

SetAllocID sets AllocID, Tag 70.

func (AllocationACK) SetAllocRejCode added in v0.4.0

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

SetAllocRejCode sets AllocRejCode, Tag 88.

func (AllocationACK) SetAllocStatus added in v0.4.0

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

SetAllocStatus sets AllocStatus, Tag 87.

func (AllocationACK) SetClientID added in v0.4.0

func (m AllocationACK) SetClientID(v string)

SetClientID sets ClientID, Tag 109.

func (AllocationACK) SetEncodedText added in v0.4.0

func (m AllocationACK) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (AllocationACK) SetEncodedTextLen added in v0.4.0

func (m AllocationACK) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (AllocationACK) SetExecBroker added in v0.4.0

func (m AllocationACK) SetExecBroker(v string)

SetExecBroker sets ExecBroker, Tag 76.

func (AllocationACK) SetText added in v0.4.0

func (m AllocationACK) SetText(v string)

SetText sets Text, Tag 58.

func (AllocationACK) SetTradeDate added in v0.4.0

func (m AllocationACK) SetTradeDate(v string)

SetTradeDate sets TradeDate, Tag 75.

func (AllocationACK) SetTransactTime added in v0.4.0

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

SetTransactTime sets TransactTime, Tag 60.

func (AllocationACK) ToMessage added in v0.4.0

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

ToMessage returns a quickfix.Message instance.

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