allocationack

package
v0.6.0 Latest Latest
Warning

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

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

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