auth_008_001_02

package
v0.0.0-...-d341185 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveCurrencyAndAmount

type ActiveCurrencyAndAmount struct {
	Value float64            `xml:",chardata"`
	Ccy   ActiveCurrencyCode `xml:"Ccy,attr"`
}

type ActiveCurrencyCode

type ActiveCurrencyCode string

Must match the pattern [A-Z]{3,3}

type ActiveOrHistoricCurrencyAnd13DecimalAmount

type ActiveOrHistoricCurrencyAnd13DecimalAmount struct {
	Value float64                      `xml:",chardata"`
	Ccy   ActiveOrHistoricCurrencyCode `xml:"Ccy,attr"`
}

type ActiveOrHistoricCurrencyCode

type ActiveOrHistoricCurrencyCode string

Must match the pattern [A-Z]{3,3}

type AddressType2Code

type AddressType2Code string

May be one of ADDR, PBOX, HOME, BIZZ, MLTO, DLVY

type AlternateSecurityIdentification1

type AlternateSecurityIdentification1 struct {
	Id         Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Id"`
	DmstIdSrc  CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 DmstIdSrc"`
	PrtryIdSrc Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PrtryIdSrc"`
}

type AnyBICIdentifier

type AnyBICIdentifier string

Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}

type CFIIdentifier

type CFIIdentifier string

Must match the pattern [A-Z]{1,6}

type CountryCode

type CountryCode string

Must match the pattern [A-Z]{2,2}

type CurrencyAndAmount

type CurrencyAndAmount struct {
	Value float64      `xml:",chardata"`
	Ccy   CurrencyCode `xml:"Ccy,attr"`
}

type CurrencyCode

type CurrencyCode string

Must match the pattern [A-Z]{3,3}

type Document

type Document struct {
	RgltryTxRpt RegulatoryTransactionReportV02 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 RgltryTxRpt"`
}

type DocumentIdentification8

type DocumentIdentification8 struct {
	Id      Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Id"`
	CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 CreDtTm,omitempty"`
}

type Extension1

type Extension1 struct {
	PlcAndNm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PlcAndNm"`
	Txt      Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Txt"`
}

type FinancialInstrument15

type FinancialInstrument15 struct {
	Id              SecurityIdentification6Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Id"`
	InstrmDesc      SecurityInstrumentDescription2 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 InstrmDesc,omitempty"`
	UndrlygInstrmId SecurityIdentification6Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 UndrlygInstrmId,omitempty"`
}

type GenericIdentification1

type GenericIdentification1 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Id"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 SchmeNm,omitempty"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Issr,omitempty"`
}

type GenericIdentification3

type GenericIdentification3 struct {
	Id   Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Id"`
	Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Issr,omitempty"`
}

type ISINIdentifier

type ISINIdentifier string

Must match the pattern [A-Z0-9]{12,12}

type ISODate

type ISODate time.Time

func (ISODate) MarshalText

func (t ISODate) MarshalText() ([]byte, error)

func (*ISODate) UnmarshalText

func (t *ISODate) UnmarshalText(text []byte) error

type ISODateTime

type ISODateTime time.Time

func (ISODateTime) MarshalText

func (t ISODateTime) MarshalText() ([]byte, error)

func (*ISODateTime) UnmarshalText

func (t *ISODateTime) UnmarshalText(text []byte) error

type MICIdentifier

type MICIdentifier string

Must match the pattern [A-Z0-9]{4,4}

type Max16Text

type Max16Text string

Must be at least 1 items long

type Max350Text

type Max350Text string

Must be at least 1 items long

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max70Text

type Max70Text string

Must be at least 1 items long

type NameAndAddress5

type NameAndAddress5 struct {
	Nm  Max350Text     `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Nm"`
	Adr PostalAddress1 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Adr,omitempty"`
}

type OffMarket1Choice

type OffMarket1Choice struct {
	OffMktInd    OffMarket1Code   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 OffMktInd"`
	SystmtcIntlr AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 SystmtcIntlr"`
}

type OffMarket1Code

type OffMarket1Code string

May be one of XOFF, XXXX

type OptionTypeCode

type OptionTypeCode string

May be one of CALL, PUTO

type OrderDriverCode

type OrderDriverCode string

May be one of BUYI, SELL

type PartyIdentification11Choice

type PartyIdentification11Choice struct {
	BICOrBEI    AnyBICIdentifier       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 BICOrBEI"`
	CntrlCtrPty MICIdentifier          `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 CntrlCtrPty"`
	PrtryId     GenericIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PrtryId"`
}

type PartyIdentification23

type PartyIdentification23 struct {
	BICOrBEI AnyBICIdentifier       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 BICOrBEI"`
	PrtryId  GenericIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PrtryId"`
	NmAndAdr NameAndAddress5        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 NmAndAdr,omitempty"`
}

type PartyIdentification23Choice

type PartyIdentification23Choice struct {
	BICOrBEI AnyBICIdentifier       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 BICOrBEI"`
	PrtryId  GenericIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PrtryId"`
}

type PartyIdentification24Choice

type PartyIdentification24Choice struct {
	BICOrBEI AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 BICOrBEI"`
	MIC      MICIdentifier    `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 MIC"`
}

type PartyIdentification2Choice

type PartyIdentification2Choice struct {
	BICOrBEI AnyBICIdentifier       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 BICOrBEI"`
	PrtryId  GenericIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PrtryId"`
	NmAndAdr NameAndAddress5        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 NmAndAdr"`
}

type PlaceOfTradeIdentification2Choice

type PlaceOfTradeIdentification2Choice struct {
	MktId  MICIdentifier    `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 MktId"`
	OffMkt OffMarket1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 OffMkt"`
}

type PostalAddress1

type PostalAddress1 struct {
	AdrTp       AddressType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 AdrTp,omitempty"`
	AdrLine     []Max70Text      `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 AdrLine,omitempty"`
	StrtNm      Max70Text        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 StrtNm,omitempty"`
	BldgNb      Max16Text        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 BldgNb,omitempty"`
	PstCd       Max16Text        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PstCd,omitempty"`
	TwnNm       Max35Text        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 TwnNm,omitempty"`
	CtrySubDvsn Max35Text        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 CtrySubDvsn,omitempty"`
	Ctry        CountryCode      `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Ctry"`
}

type PriceRateOrAmountChoice

type PriceRateOrAmountChoice struct {
	Rate float64                                    `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Rate"`
	Amt  ActiveOrHistoricCurrencyAnd13DecimalAmount `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Amt"`
}

type RegulatoryTransactionReportV02

type RegulatoryTransactionReportV02 struct {
	Id        DocumentIdentification8     `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Id"`
	TxDtls    []TransactionDetails3       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 TxDtls"`
	RptgInstn PartyIdentification23Choice `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 RptgInstn"`
	RptgAgt   PartyIdentification24Choice `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 RptgAgt,omitempty"`
	Xtnsn     []Extension1                `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Xtnsn,omitempty"`
}

type SecurityClassificationType1Choice

type SecurityClassificationType1Choice struct {
	CFI           CFIIdentifier          `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 CFI"`
	AltrnClssfctn GenericIdentification3 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 AltrnClssfctn"`
}

type SecurityIdentification6Choice

type SecurityIdentification6Choice struct {
	ISIN       ISINIdentifier                   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 ISIN"`
	OthrId     AlternateSecurityIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 OthrId"`
	InstrmDesc SecurityInstrumentDescription2   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 InstrmDesc"`
}

type SecurityInstrumentDescription2

type SecurityInstrumentDescription2 struct {
	Desc       Max350Text                        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Desc,omitempty"`
	ClssfctnTp SecurityClassificationType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 ClssfctnTp,omitempty"`
	PlcOfListg MICIdentifier                     `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PlcOfListg,omitempty"`
	ExrcDt     ISODate                           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 ExrcDt,omitempty"`
	MtrtyDt    ISODate                           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 MtrtyDt,omitempty"`
	OptnTp     OptionTypeCode                    `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 OptnTp,omitempty"`
	StrkPric   PriceRateOrAmountChoice           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 StrkPric,omitempty"`
	Mltplr     float64                           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Mltplr,omitempty"`
}

type TradingCapacity3Code

type TradingCapacity3Code string

May be one of PRIN, CPRN, RISP, PROP, AGEN, CAGN, OAGN, PRAG

type TransactionDetails3

type TransactionDetails3 struct {
	TradRef        Max70Text                         `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 TradRef"`
	AssoctdTradRef []Max70Text                       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 AssoctdTradRef,omitempty"`
	PlcOfTrad      PlaceOfTradeIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PlcOfTrad"`
	TradDtTm       ISODateTime                       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 TradDtTm"`
	FinInstrmDtls  FinancialInstrument15             `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 FinInstrmDtls"`
	Sd             OrderDriverCode                   `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Sd"`
	TxRptMrkr      []PartyIdentification24Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 TxRptMrkr,omitempty"`
	CtrPty         PartyIdentification11Choice       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 CtrPty"`
	Clnt           PartyIdentification23             `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Clnt,omitempty"`
	Cpcty          TradingCapacity3Code              `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Cpcty"`
	ExctdTradPric  PriceRateOrAmountChoice           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 ExctdTradPric"`
	ExctdTradQty   UnitOrFaceAmountChoice            `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 ExctdTradQty"`
	SttlmAmt       ActiveCurrencyAndAmount           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 SttlmAmt,omitempty"`
	SttlmDt        ISODateTime                       `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 SttlmDt,omitempty"`
	PrxyHldr       PartyIdentification2Choice        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 PrxyHldr,omitempty"`
	AddtlInf       Max350Text                        `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 AddtlInf,omitempty"`
}

type UnitOrFaceAmountChoice

type UnitOrFaceAmountChoice struct {
	Unit    float64           `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 Unit"`
	FaceAmt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:auth.008.001.02 FaceAmt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL