sese_020_001_06

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 ActiveOrHistoricCurrencyAndAmount

type ActiveOrHistoricCurrencyAndAmount 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 AmountAndDirection51

type AmountAndDirection51 struct {
	Amt                 ActiveCurrencyAndAmount           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Amt"`
	CdtDbtInd           CreditDebitCode                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 CdtDbtInd"`
	OrgnlCcyAndOrdrdAmt ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 OrgnlCcyAndOrdrdAmt,omitempty"`
}

type AnyBICDec2014Identifier

type AnyBICDec2014Identifier string

Must match the pattern [A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}

type CancellationReason23

type CancellationReason23 struct {
	Cd            CancellationReason36Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Cd"`
	CorpActnEvtId Max35Text                  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 CorpActnEvtId,omitempty"`
}

type CancellationReason36Choice

type CancellationReason36Choice struct {
	Cd    CancelledStatusReason16Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Cd"`
	Prtry GenericIdentification30     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Prtry"`
}

type CancelledStatusReason16Code

type CancelledStatusReason16Code string

May be one of SCEX, OTHR, CXLR, BYIY, CTHP, CANZ, CANT, CSUB, CANS, CANI, CORP

type CountryCode

type CountryCode string

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

type CreditDebitCode

type CreditDebitCode string

May be one of CRDT, DBIT

type DateAndDateTime2Choice

type DateAndDateTime2Choice struct {
	Dt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Dt"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 DtTm"`
}

type DateType3Code

type DateType3Code string

May be one of VARI

type DeliveryReceiptType2Code

type DeliveryReceiptType2Code string

May be one of FREE, APMT

type Document

type Document struct {
	SctiesTxCxlReq SecuritiesTransactionCancellationRequestV06 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SctiesTxCxlReq"`
}

type DocumentNumber5Choice

type DocumentNumber5Choice struct {
	ShrtNb  Exact3NumericText                 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 ShrtNb"`
	LngNb   ISO20022MessageIdentificationText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 LngNb"`
	PrtryNb GenericIdentification36           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrtryNb"`
}

type Exact3NumericText

type Exact3NumericText string

Must match the pattern [0-9]{3}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

Must match the pattern [a-zA-Z0-9]{4}

type ExternalFinancialInstrumentIdentificationType1Code

type ExternalFinancialInstrumentIdentificationType1Code string

Must be at least 1 items long

type FXCancellation3Choice

type FXCancellation3Choice struct {
	Ind   bool                    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Ind"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Prtry"`
}

type FinancialInstrumentQuantity1Choice

type FinancialInstrumentQuantity1Choice struct {
	Unit     float64 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Unit"`
	FaceAmt  float64 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 FaceAmt"`
	AmtsdVal float64 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AmtsdVal"`
}

type GenericDocumentIdentification4

type GenericDocumentIdentification4 struct {
	MsgNb DocumentNumber5Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 MsgNb,omitempty"`
	Id    Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
}

type GenericIdentification30

type GenericIdentification30 struct {
	Id      Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	Issr    Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Issr"`
	SchmeNm Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SchmeNm,omitempty"`
}

type GenericIdentification36

type GenericIdentification36 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Issr"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SchmeNm,omitempty"`
}

type ISINOct2015Identifier

type ISINOct2015Identifier string

Must match the pattern [A-Z]{2,2}[A-Z0-9]{9,9}[0-9]{1,1}

type ISO20022MessageIdentificationText

type ISO20022MessageIdentificationText string

Must match the pattern [a-z]{4}\.[0-9]{3}\.[0-9]{3}\.[0-9]{2}

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 IdentificationSource3Choice

type IdentificationSource3Choice struct {
	Cd    ExternalFinancialInstrumentIdentificationType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Cd"`
	Prtry Max35Text                                          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Prtry"`
}

type LEIIdentifier

type LEIIdentifier string

Must match the pattern [A-Z0-9]{18,18}[0-9]{2,2}

type Max140Text

type Max140Text string

Must be at least 1 items long

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:sese.020.001.06 Nm"`
	Adr PostalAddress1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Adr,omitempty"`
}

type OriginalAndCurrentQuantities1

type OriginalAndCurrentQuantities1 struct {
	FaceAmt  float64 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 FaceAmt"`
	AmtsdVal float64 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AmtsdVal"`
}

type OtherIdentification1

type OtherIdentification1 struct {
	Id  Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	Sfx Max16Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Sfx,omitempty"`
	Tp  IdentificationSource3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Tp"`
}

type PartyIdentification120Choice

type PartyIdentification120Choice struct {
	AnyBIC   AnyBICDec2014Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AnyBIC"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrtryId"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 NmAndAdr"`
}

type PartyIdentification122Choice

type PartyIdentification122Choice struct {
	AnyBIC   AnyBICDec2014Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AnyBIC"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 NmAndAdr"`
	Ctry     CountryCode             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Ctry"`
}

type PartyIdentification127Choice

type PartyIdentification127Choice struct {
	AnyBIC  AnyBICDec2014Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AnyBIC"`
	PrtryId GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrtryId"`
}

type PartyIdentification134Choice

type PartyIdentification134Choice struct {
	AnyBIC   AnyBICDec2014Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AnyBIC"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrtryId"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 NmAndAdr"`
	Ctry     CountryCode             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Ctry"`
}

type PartyIdentification144

type PartyIdentification144 struct {
	Id  PartyIdentification127Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	LEI LEIIdentifier                `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 LEI,omitempty"`
}

type PartyIdentification148

type PartyIdentification148 struct {
	Id     PartyIdentification122Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	LEI    LEIIdentifier                `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 LEI,omitempty"`
	PrcgId Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrcgId,omitempty"`
}

type PartyIdentification149

type PartyIdentification149 struct {
	Id  PartyIdentification134Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	LEI LEIIdentifier                `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 LEI,omitempty"`
}

type PartyIdentificationAndAccount170

type PartyIdentificationAndAccount170 struct {
	Id        PartyIdentification120Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	LEI       LEIIdentifier                `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 LEI,omitempty"`
	SfkpgAcct SecuritiesAccount19          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SfkpgAcct,omitempty"`
	PrcgId    Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrcgId,omitempty"`
}

type PostalAddress1

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

type Quantity6Choice

type Quantity6Choice struct {
	Qty             FinancialInstrumentQuantity1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Qty"`
	OrgnlAndCurFace OriginalAndCurrentQuantities1      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 OrgnlAndCurFace"`
}

type ReceiveDelivery1Code

type ReceiveDelivery1Code string

May be one of DELI, RECE

type References45Choice

type References45Choice struct {
	SctiesSttlmTxId SettlementTypeAndIdentification18 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SctiesSttlmTxId"`
	SctiesFincgTxId SettlementTypeAndIdentification18 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SctiesFincgTxId"`
	IntraPosMvmntId Max35Text                         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 IntraPosMvmntId"`
	OthrTxId        GenericDocumentIdentification4    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 OthrTxId"`
}

type SecuritiesAccount19

type SecuritiesAccount19 struct {
	Id Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Id"`
	Tp GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Tp,omitempty"`
	Nm Max70Text               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Nm,omitempty"`
}

type SecuritiesTransactionCancellationRequestV06

type SecuritiesTransactionCancellationRequestV06 struct {
	AcctOwnrTxId      References45Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AcctOwnrTxId"`
	AcctSvcrTxId      Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AcctSvcrTxId,omitempty"`
	MktInfrstrctrTxId Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 MktInfrstrctrTxId,omitempty"`
	PrcrTxId          Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PrcrTxId,omitempty"`
	AcctOwnr          PartyIdentification144 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 AcctOwnr,omitempty"`
	SfkpgAcct         SecuritiesAccount19    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SfkpgAcct"`
	TxDtls            TransactionDetails117  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 TxDtls,omitempty"`
	CxlRsn            CancellationReason23   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 CxlRsn,omitempty"`
	FxCxl             FXCancellation3Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 FxCxl,omitempty"`
	SplmtryData       []SupplementaryData1   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SplmtryData,omitempty"`
}

type SecurityIdentification19

type SecurityIdentification19 struct {
	ISIN   ISINOct2015Identifier  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 ISIN,omitempty"`
	OthrId []OtherIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 OthrId,omitempty"`
	Desc   Max140Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Desc,omitempty"`
}

type SettlementDate17Choice

type SettlementDate17Choice struct {
	Dt   DateAndDateTime2Choice    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Dt"`
	DtCd SettlementDateCode7Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 DtCd"`
}

type SettlementDate4Code

type SettlementDate4Code string

May be one of WISS

type SettlementDateCode7Choice

type SettlementDateCode7Choice struct {
	Cd    SettlementDate4Code     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Cd"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Prtry"`
}

type SettlementParties78

type SettlementParties78 struct {
	Dpstry PartyIdentification148           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Dpstry,omitempty"`
	Pty1   PartyIdentificationAndAccount170 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Pty1,omitempty"`
	Pty2   PartyIdentificationAndAccount170 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Pty2,omitempty"`
	Pty3   PartyIdentificationAndAccount170 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Pty3,omitempty"`
	Pty4   PartyIdentificationAndAccount170 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Pty4,omitempty"`
	Pty5   PartyIdentificationAndAccount170 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Pty5,omitempty"`
}

type SettlementTypeAndIdentification18

type SettlementTypeAndIdentification18 struct {
	TxId          Max35Text                `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 TxId"`
	SctiesMvmntTp ReceiveDelivery1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SctiesMvmntTp"`
	Pmt           DeliveryReceiptType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Pmt"`
}

type SupplementaryData1

type SupplementaryData1 struct {
	PlcAndNm Max350Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 PlcAndNm,omitempty"`
	Envlp    SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Envlp"`
}

type SupplementaryDataEnvelope1

type SupplementaryDataEnvelope1 struct {
	Item string `xml:",any"`
}

type TradeDate8Choice

type TradeDate8Choice struct {
	Dt   DateAndDateTime2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Dt"`
	DtCd TradeDateCode3Choice   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 DtCd"`
}

type TradeDateCode3Choice

type TradeDateCode3Choice struct {
	Cd    DateType3Code           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Cd"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Prtry"`
}

type TransactionDetails117

type TransactionDetails117 struct {
	FinInstrmId     SecurityIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 FinInstrmId"`
	TradDt          TradeDate8Choice         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 TradDt,omitempty"`
	SttlmDt         SettlementDate17Choice   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SttlmDt"`
	SttlmQty        Quantity6Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SttlmQty"`
	SttlmAmt        AmountAndDirection51     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 SttlmAmt,omitempty"`
	DlvrgSttlmPties SettlementParties78      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 DlvrgSttlmPties,omitempty"`
	RcvgSttlmPties  SettlementParties78      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 RcvgSttlmPties,omitempty"`
	Invstr          PartyIdentification149   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.06 Invstr,omitempty"`
}

Jump to

Keyboard shortcuts

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