sese_020_001_05

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.05 Amt"`
	CdtDbtInd           CreditDebitCode                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 CdtDbtInd"`
	OrgnlCcyAndOrdrdAmt ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 OrgnlCcyAndOrdrdAmt,omitempty"`
}

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 CancellationReason13

type CancellationReason13 struct {
	Cd            CancellationReason19Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Cd"`
	CorpActnEvtId Max35Text                  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 CorpActnEvtId,omitempty"`
}

type CancellationReason19Choice

type CancellationReason19Choice struct {
	Cd    CancelledStatusReason13Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Cd"`
	Prtry GenericIdentification30     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Prtry"`
}

type CancelledStatusReason13Code

type CancelledStatusReason13Code string

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

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 DateAndDateTimeChoice

type DateAndDateTimeChoice struct {
	Dt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Dt"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 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 SecuritiesTransactionCancellationRequestV05 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SctiesTxCxlReq"`
}

type DocumentNumber5Choice

type DocumentNumber5Choice struct {
	ShrtNb  Exact3NumericText                 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 ShrtNb"`
	LngNb   ISO20022MessageIdentificationText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 LngNb"`
	PrtryNb GenericIdentification36           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 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.05 Ind"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Prtry"`
}

type FinancialInstrumentQuantity1Choice

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

type GenericDocumentIdentification4

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

type GenericIdentification30

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

type GenericIdentification36

type GenericIdentification36 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Id"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Issr"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 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.05 Cd"`
	Prtry Max35Text                                          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 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.05 Nm"`
	Adr PostalAddress1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Adr,omitempty"`
}

type OriginalAndCurrentQuantities1

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

type OtherIdentification1

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

type PartyIdentification44Choice

type PartyIdentification44Choice struct {
	AnyBIC   AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AnyBIC"`
	NmAndAdr NameAndAddress5  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 NmAndAdr"`
	Ctry     CountryCode      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Ctry"`
}

type PartyIdentification71Choice

type PartyIdentification71Choice struct {
	AnyBIC   AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AnyBIC"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 PrtryId"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 NmAndAdr"`
}

type PartyIdentification91

type PartyIdentification91 struct {
	Id     PartyIdentification44Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Id"`
	LEI    LEIIdentifier               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 LEI,omitempty"`
	PrcgId Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 PrcgId,omitempty"`
}

type PartyIdentification92Choice

type PartyIdentification92Choice struct {
	AnyBIC  AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AnyBIC"`
	PrtryId GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 PrtryId"`
}

type PartyIdentification93Choice

type PartyIdentification93Choice struct {
	AnyBIC   AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AnyBIC"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 PrtryId"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 NmAndAdr"`
	Ctry     CountryCode             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Ctry"`
}

type PartyIdentification98

type PartyIdentification98 struct {
	Id  PartyIdentification92Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Id"`
	LEI LEIIdentifier               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 LEI,omitempty"`
}

type PartyIdentification99

type PartyIdentification99 struct {
	Id  PartyIdentification93Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Id"`
	LEI LEIIdentifier               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 LEI,omitempty"`
}

type PartyIdentificationAndAccount117

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

type PostalAddress1

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

type Quantity6Choice

type Quantity6Choice struct {
	Qty             FinancialInstrumentQuantity1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Qty"`
	OrgnlAndCurFace OriginalAndCurrentQuantities1      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 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.05 SctiesSttlmTxId"`
	SctiesFincgTxId SettlementTypeAndIdentification18 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SctiesFincgTxId"`
	IntraPosMvmntId Max35Text                         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 IntraPosMvmntId"`
	OthrTxId        GenericDocumentIdentification4    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 OthrTxId"`
}

type SecuritiesAccount19

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

type SecuritiesTransactionCancellationRequestV05

type SecuritiesTransactionCancellationRequestV05 struct {
	AcctOwnrTxId      References45Choice    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AcctOwnrTxId"`
	AcctSvcrTxId      Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AcctSvcrTxId,omitempty"`
	MktInfrstrctrTxId Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 MktInfrstrctrTxId,omitempty"`
	PrcrTxId          Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 PrcrTxId,omitempty"`
	AcctOwnr          PartyIdentification98 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 AcctOwnr,omitempty"`
	SfkpgAcct         SecuritiesAccount19   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SfkpgAcct"`
	TxDtls            TransactionDetails74  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 TxDtls,omitempty"`
	CxlRsn            CancellationReason13  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 CxlRsn,omitempty"`
	FxCxl             FXCancellation3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 FxCxl,omitempty"`
	SplmtryData       []SupplementaryData1  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SplmtryData,omitempty"`
}

type SecurityIdentification19

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

type SettlementDate4Code

type SettlementDate4Code string

May be one of WISS

type SettlementDate9Choice

type SettlementDate9Choice struct {
	Dt   DateAndDateTimeChoice     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Dt"`
	DtCd SettlementDateCode7Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 DtCd"`
}

type SettlementDateCode7Choice

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

type SettlementParties40

type SettlementParties40 struct {
	Dpstry PartyIdentification91            `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Dpstry,omitempty"`
	Pty1   PartyIdentificationAndAccount117 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Pty1,omitempty"`
	Pty2   PartyIdentificationAndAccount117 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Pty2,omitempty"`
	Pty3   PartyIdentificationAndAccount117 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Pty3,omitempty"`
	Pty4   PartyIdentificationAndAccount117 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Pty4,omitempty"`
	Pty5   PartyIdentificationAndAccount117 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Pty5,omitempty"`
}

type SettlementTypeAndIdentification18

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

type SupplementaryData1

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

type SupplementaryDataEnvelope1

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

type TradeDate5Choice

type TradeDate5Choice struct {
	Dt   DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Dt"`
	DtCd TradeDateCode3Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 DtCd"`
}

type TradeDateCode3Choice

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

type TransactionDetails74

type TransactionDetails74 struct {
	FinInstrmId     SecurityIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 FinInstrmId"`
	TradDt          TradeDate5Choice         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 TradDt,omitempty"`
	SttlmDt         SettlementDate9Choice    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SttlmDt"`
	SttlmQty        Quantity6Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SttlmQty"`
	SttlmAmt        AmountAndDirection51     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 SttlmAmt,omitempty"`
	DlvrgSttlmPties SettlementParties40      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 DlvrgSttlmPties,omitempty"`
	RcvgSttlmPties  SettlementParties40      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 RcvgSttlmPties,omitempty"`
	Invstr          PartyIdentification99    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.05 Invstr,omitempty"`
}

Jump to

Keyboard shortcuts

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