registrationinstructions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-1.1 Imports: 5 Imported by: 0

Documentation

Overview

Package registrationinstructions msg type = o.

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 Message

type Message struct {
	FIXMsgType string `fix:"o"`
	fix44.Header
	//RegistID is a required field for RegistrationInstructions.
	RegistID string `fix:"513"`
	//RegistTransType is a required field for RegistrationInstructions.
	RegistTransType string `fix:"514"`
	//RegistRefID is a required field for RegistrationInstructions.
	RegistRefID string `fix:"508"`
	//ClOrdID is a non-required field for RegistrationInstructions.
	ClOrdID *string `fix:"11"`
	//Parties is a non-required component for RegistrationInstructions.
	Parties *parties.Parties
	//Account is a non-required field for RegistrationInstructions.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for RegistrationInstructions.
	AcctIDSource *int `fix:"660"`
	//RegistAcctType is a non-required field for RegistrationInstructions.
	RegistAcctType *string `fix:"493"`
	//TaxAdvantageType is a non-required field for RegistrationInstructions.
	TaxAdvantageType *int `fix:"495"`
	//OwnershipType is a non-required field for RegistrationInstructions.
	OwnershipType *string `fix:"517"`
	//NoRegistDtls is a non-required field for RegistrationInstructions.
	NoRegistDtls []NoRegistDtls `fix:"473,omitempty"`
	//NoDistribInsts is a non-required field for RegistrationInstructions.
	NoDistribInsts []NoDistribInsts `fix:"510,omitempty"`
	fix44.Trailer
}

Message is a RegistrationInstructions FIX Message

func New

func New(registid string, registtranstype string, registrefid string) *Message

New returns an initialized RegistrationInstructions instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount

func (m *Message) SetAccount(v string)

func (*Message) SetAcctIDSource

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetNoDistribInsts

func (m *Message) SetNoDistribInsts(v []NoDistribInsts)

func (*Message) SetNoRegistDtls

func (m *Message) SetNoRegistDtls(v []NoRegistDtls)

func (*Message) SetOwnershipType

func (m *Message) SetOwnershipType(v string)

func (*Message) SetParties

func (m *Message) SetParties(v parties.Parties)

func (*Message) SetRegistAcctType

func (m *Message) SetRegistAcctType(v string)

func (*Message) SetRegistID

func (m *Message) SetRegistID(v string)

func (*Message) SetRegistRefID

func (m *Message) SetRegistRefID(v string)

func (*Message) SetRegistTransType

func (m *Message) SetRegistTransType(v string)

func (*Message) SetTaxAdvantageType

func (m *Message) SetTaxAdvantageType(v int)

type NoDistribInsts

type NoDistribInsts struct {
	//DistribPaymentMethod is a non-required field for NoDistribInsts.
	DistribPaymentMethod *int `fix:"477"`
	//DistribPercentage is a non-required field for NoDistribInsts.
	DistribPercentage *float64 `fix:"512"`
	//CashDistribCurr is a non-required field for NoDistribInsts.
	CashDistribCurr *string `fix:"478"`
	//CashDistribAgentName is a non-required field for NoDistribInsts.
	CashDistribAgentName *string `fix:"498"`
	//CashDistribAgentCode is a non-required field for NoDistribInsts.
	CashDistribAgentCode *string `fix:"499"`
	//CashDistribAgentAcctNumber is a non-required field for NoDistribInsts.
	CashDistribAgentAcctNumber *string `fix:"500"`
	//CashDistribPayRef is a non-required field for NoDistribInsts.
	CashDistribPayRef *string `fix:"501"`
	//CashDistribAgentAcctName is a non-required field for NoDistribInsts.
	CashDistribAgentAcctName *string `fix:"502"`
}

NoDistribInsts is a repeating group in RegistrationInstructions

func NewNoDistribInsts

func NewNoDistribInsts() *NoDistribInsts

NewNoDistribInsts returns an initialized NoDistribInsts instance

func (*NoDistribInsts) SetCashDistribAgentAcctName

func (m *NoDistribInsts) SetCashDistribAgentAcctName(v string)

func (*NoDistribInsts) SetCashDistribAgentAcctNumber

func (m *NoDistribInsts) SetCashDistribAgentAcctNumber(v string)

func (*NoDistribInsts) SetCashDistribAgentCode

func (m *NoDistribInsts) SetCashDistribAgentCode(v string)

func (*NoDistribInsts) SetCashDistribAgentName

func (m *NoDistribInsts) SetCashDistribAgentName(v string)

func (*NoDistribInsts) SetCashDistribCurr

func (m *NoDistribInsts) SetCashDistribCurr(v string)

func (*NoDistribInsts) SetCashDistribPayRef

func (m *NoDistribInsts) SetCashDistribPayRef(v string)

func (*NoDistribInsts) SetDistribPaymentMethod

func (m *NoDistribInsts) SetDistribPaymentMethod(v int)

func (*NoDistribInsts) SetDistribPercentage

func (m *NoDistribInsts) SetDistribPercentage(v float64)

type NoRegistDtls

type NoRegistDtls struct {
	//RegistDtls is a non-required field for NoRegistDtls.
	RegistDtls *string `fix:"509"`
	//RegistEmail is a non-required field for NoRegistDtls.
	RegistEmail *string `fix:"511"`
	//MailingDtls is a non-required field for NoRegistDtls.
	MailingDtls *string `fix:"474"`
	//MailingInst is a non-required field for NoRegistDtls.
	MailingInst *string `fix:"482"`
	//NestedParties is a non-required component for NoRegistDtls.
	NestedParties *nestedparties.NestedParties
	//OwnerType is a non-required field for NoRegistDtls.
	OwnerType *int `fix:"522"`
	//DateOfBirth is a non-required field for NoRegistDtls.
	DateOfBirth *string `fix:"486"`
	//InvestorCountryOfResidence is a non-required field for NoRegistDtls.
	InvestorCountryOfResidence *string `fix:"475"`
}

NoRegistDtls is a repeating group in RegistrationInstructions

func NewNoRegistDtls

func NewNoRegistDtls() *NoRegistDtls

NewNoRegistDtls returns an initialized NoRegistDtls instance

func (*NoRegistDtls) SetDateOfBirth

func (m *NoRegistDtls) SetDateOfBirth(v string)

func (*NoRegistDtls) SetInvestorCountryOfResidence

func (m *NoRegistDtls) SetInvestorCountryOfResidence(v string)

func (*NoRegistDtls) SetMailingDtls

func (m *NoRegistDtls) SetMailingDtls(v string)

func (*NoRegistDtls) SetMailingInst

func (m *NoRegistDtls) SetMailingInst(v string)

func (*NoRegistDtls) SetNestedParties

func (m *NoRegistDtls) SetNestedParties(v nestedparties.NestedParties)

func (*NoRegistDtls) SetOwnerType

func (m *NoRegistDtls) SetOwnerType(v int)

func (*NoRegistDtls) SetRegistDtls

func (m *NoRegistDtls) SetRegistDtls(v string)

func (*NoRegistDtls) SetRegistEmail

func (m *NoRegistDtls) SetRegistEmail(v string)

type RouteOut

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