allocationack

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 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 {
	fix40.Header
	*quickfix.Body
	fix40.Trailer
	Message *quickfix.Message
}

AllocationACK is the fix40 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) GetClientID

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

GetClientID gets ClientID, Tag 109.

func (AllocationACK) GetExecBroker

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

GetExecBroker gets ExecBroker, Tag 76.

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) HasClientID

func (m AllocationACK) HasClientID() bool

HasClientID returns true if ClientID is present, Tag 109.

func (AllocationACK) HasExecBroker

func (m AllocationACK) HasExecBroker() bool

HasExecBroker returns true if ExecBroker is present, Tag 76.

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) SetClientID

func (m AllocationACK) SetClientID(v string)

SetClientID sets ClientID, Tag 109.

func (AllocationACK) SetExecBroker

func (m AllocationACK) SetExecBroker(v string)

SetExecBroker sets ExecBroker, Tag 76.

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