email

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 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 Email

type Email struct {
	fix40.Header
	*quickfix.Body
	fix40.Trailer
	Message *quickfix.Message
}

Email is the fix40 Email type, MsgType = C.

func FromMessage

func FromMessage(m *quickfix.Message) Email

FromMessage creates a Email from a quickfix.Message instance.

func New

func New(emailtype field.EmailTypeField, linesoftext field.LinesOfTextField, text field.TextField) (m Email)

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

func (Email) GetClOrdID

func (m Email) GetClOrdID() (v string, err quickfix.MessageRejectError)

GetClOrdID gets ClOrdID, Tag 11.

func (Email) GetEmailType

func (m Email) GetEmailType() (v enum.EmailType, err quickfix.MessageRejectError)

GetEmailType gets EmailType, Tag 94.

func (Email) GetLinesOfText

func (m Email) GetLinesOfText() (v int, err quickfix.MessageRejectError)

GetLinesOfText gets LinesOfText, Tag 33.

func (Email) GetOrderID

func (m Email) GetOrderID() (v string, err quickfix.MessageRejectError)

GetOrderID gets OrderID, Tag 37.

func (Email) GetOrigTime

func (m Email) GetOrigTime() (v time.Time, err quickfix.MessageRejectError)

GetOrigTime gets OrigTime, Tag 42.

func (Email) GetRawData

func (m Email) GetRawData() (v string, err quickfix.MessageRejectError)

GetRawData gets RawData, Tag 96.

func (Email) GetRawDataLength

func (m Email) GetRawDataLength() (v int, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95.

func (Email) GetRelatdSym

func (m Email) GetRelatdSym() (v string, err quickfix.MessageRejectError)

GetRelatdSym gets RelatdSym, Tag 46.

func (Email) GetText

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

GetText gets Text, Tag 58.

func (Email) HasClOrdID

func (m Email) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11.

func (Email) HasEmailType

func (m Email) HasEmailType() bool

HasEmailType returns true if EmailType is present, Tag 94.

func (Email) HasLinesOfText

func (m Email) HasLinesOfText() bool

HasLinesOfText returns true if LinesOfText is present, Tag 33.

func (Email) HasOrderID

func (m Email) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37.

func (Email) HasOrigTime

func (m Email) HasOrigTime() bool

HasOrigTime returns true if OrigTime is present, Tag 42.

func (Email) HasRawData

func (m Email) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96.

func (Email) HasRawDataLength

func (m Email) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95.

func (Email) HasRelatdSym

func (m Email) HasRelatdSym() bool

HasRelatdSym returns true if RelatdSym is present, Tag 46.

func (Email) HasText

func (m Email) HasText() bool

HasText returns true if Text is present, Tag 58.

func (Email) SetClOrdID

func (m Email) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11.

func (Email) SetEmailType

func (m Email) SetEmailType(v enum.EmailType)

SetEmailType sets EmailType, Tag 94.

func (Email) SetLinesOfText

func (m Email) SetLinesOfText(v int)

SetLinesOfText sets LinesOfText, Tag 33.

func (Email) SetOrderID

func (m Email) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37.

func (Email) SetOrigTime

func (m Email) SetOrigTime(v time.Time)

SetOrigTime sets OrigTime, Tag 42.

func (Email) SetRawData

func (m Email) SetRawData(v string)

SetRawData sets RawData, Tag 96.

func (Email) SetRawDataLength

func (m Email) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95.

func (Email) SetRelatdSym

func (m Email) SetRelatdSym(v string)

SetRelatdSym sets RelatdSym, Tag 46.

func (Email) SetText

func (m Email) SetText(v string)

SetText sets Text, Tag 58.

func (Email) ToMessage

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

ToMessage returns a quickfix.Message instance.

type RouteOut

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