confirmationack

package
v1.1.1 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 ConfirmationAck

type ConfirmationAck struct {
	fixt11.Header
	*quickfix.Body
	fixt11.Trailer
	Message *quickfix.Message
}

ConfirmationAck is the fix50sp2 ConfirmationAck type, MsgType = AU.

func FromMessage

func FromMessage(m *quickfix.Message) ConfirmationAck

FromMessage creates a ConfirmationAck from a quickfix.Message instance.

func New

func New(confirmid field.ConfirmIDField, tradedate field.TradeDateField, transacttime field.TransactTimeField, affirmstatus field.AffirmStatusField) (m ConfirmationAck)

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

func (ConfirmationAck) GetAffirmStatus

func (m ConfirmationAck) GetAffirmStatus() (v enum.AffirmStatus, err quickfix.MessageRejectError)

GetAffirmStatus gets AffirmStatus, Tag 940.

func (ConfirmationAck) GetConfirmID

func (m ConfirmationAck) GetConfirmID() (v string, err quickfix.MessageRejectError)

GetConfirmID gets ConfirmID, Tag 664.

func (ConfirmationAck) GetConfirmRejReason

func (m ConfirmationAck) GetConfirmRejReason() (v enum.ConfirmRejReason, err quickfix.MessageRejectError)

GetConfirmRejReason gets ConfirmRejReason, Tag 774.

func (ConfirmationAck) GetEncodedText

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

GetEncodedText gets EncodedText, Tag 355.

func (ConfirmationAck) GetEncodedTextLen

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

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (ConfirmationAck) GetMatchStatus

func (m ConfirmationAck) GetMatchStatus() (v enum.MatchStatus, err quickfix.MessageRejectError)

GetMatchStatus gets MatchStatus, Tag 573.

func (ConfirmationAck) GetText

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

GetText gets Text, Tag 58.

func (ConfirmationAck) GetTradeDate

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

GetTradeDate gets TradeDate, Tag 75.

func (ConfirmationAck) GetTransactTime

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

GetTransactTime gets TransactTime, Tag 60.

func (ConfirmationAck) HasAffirmStatus

func (m ConfirmationAck) HasAffirmStatus() bool

HasAffirmStatus returns true if AffirmStatus is present, Tag 940.

func (ConfirmationAck) HasConfirmID

func (m ConfirmationAck) HasConfirmID() bool

HasConfirmID returns true if ConfirmID is present, Tag 664.

func (ConfirmationAck) HasConfirmRejReason

func (m ConfirmationAck) HasConfirmRejReason() bool

HasConfirmRejReason returns true if ConfirmRejReason is present, Tag 774.

func (ConfirmationAck) HasEncodedText

func (m ConfirmationAck) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (ConfirmationAck) HasEncodedTextLen

func (m ConfirmationAck) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (ConfirmationAck) HasMatchStatus

func (m ConfirmationAck) HasMatchStatus() bool

HasMatchStatus returns true if MatchStatus is present, Tag 573.

func (ConfirmationAck) HasText

func (m ConfirmationAck) HasText() bool

HasText returns true if Text is present, Tag 58.

func (ConfirmationAck) HasTradeDate

func (m ConfirmationAck) HasTradeDate() bool

HasTradeDate returns true if TradeDate is present, Tag 75.

func (ConfirmationAck) HasTransactTime

func (m ConfirmationAck) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60.

func (ConfirmationAck) SetAffirmStatus

func (m ConfirmationAck) SetAffirmStatus(v enum.AffirmStatus)

SetAffirmStatus sets AffirmStatus, Tag 940.

func (ConfirmationAck) SetConfirmID

func (m ConfirmationAck) SetConfirmID(v string)

SetConfirmID sets ConfirmID, Tag 664.

func (ConfirmationAck) SetConfirmRejReason

func (m ConfirmationAck) SetConfirmRejReason(v enum.ConfirmRejReason)

SetConfirmRejReason sets ConfirmRejReason, Tag 774.

func (ConfirmationAck) SetEncodedText

func (m ConfirmationAck) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (ConfirmationAck) SetEncodedTextLen

func (m ConfirmationAck) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (ConfirmationAck) SetMatchStatus

func (m ConfirmationAck) SetMatchStatus(v enum.MatchStatus)

SetMatchStatus sets MatchStatus, Tag 573.

func (ConfirmationAck) SetText

func (m ConfirmationAck) SetText(v string)

SetText sets Text, Tag 58.

func (ConfirmationAck) SetTradeDate

func (m ConfirmationAck) SetTradeDate(v string)

SetTradeDate sets TradeDate, Tag 75.

func (ConfirmationAck) SetTransactTime

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

SetTransactTime sets TransactTime, Tag 60.

func (ConfirmationAck) ToMessage

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

ToMessage returns a quickfix.Message instance.

type RouteOut

type RouteOut func(msg ConfirmationAck, 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