sese_020_001_01

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 AlternateIdentification1

type AlternateIdentification1 struct {
	Id    Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	IdSrc IdentificationSource1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 IdSrc"`
}

type AmountAndDirection8

type AmountAndDirection8 struct {
	Amt                 ActiveCurrencyAndAmount           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Amt"`
	CdtDbtInd           CreditDebitCode                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 CdtDbtInd"`
	OrgnlCcyAndOrdrdAmt ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 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 CopyDuplicate1Code

type CopyDuplicate1Code string

May be one of CODU, COPY, DUPL

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.01 Dt"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 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 SecuritiesTransactionCancellationRequestV01 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SctiesTxCxlReq"`
}

type DocumentIdentification11

type DocumentIdentification11 struct {
	Id       Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	CreDtTm  DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 CreDtTm,omitempty"`
	CpyDplct CopyDuplicate1Code    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 CpyDplct,omitempty"`
}

type DocumentNumber1Choice

type DocumentNumber1Choice struct {
	ShrtNb  Exact3NumericText                 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 ShrtNb"`
	LngNb   ISO20022MessageIdentificationText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 LngNb"`
	PrtryNb GenericIdentification19           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 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 Extension2

type Extension2 struct {
	PlcAndNm   Max350Text         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 PlcAndNm,omitempty"`
	XtnsnEnvlp ExtensionEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 XtnsnEnvlp"`
}

type ExtensionEnvelope1

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

type FXCancellation1Choice

type FXCancellation1Choice struct {
	Ind   bool                    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Ind"`
	Prtry GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Prtry"`
}

type FinancialInstrumentQuantity1Choice

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

type GenericDocumentIdentification1

type GenericDocumentIdentification1 struct {
	MsgNb DocumentNumber1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 MsgNb,omitempty"`
	Id    Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
}

type GenericIdentification19

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

type GenericIdentification20

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

type ISINIdentifier

type ISINIdentifier string

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

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 IdentificationSource1Choice

type IdentificationSource1Choice struct {
	Dmst  CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Dmst"`
	Prtry Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Prtry"`
}

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

type OriginalAndCurrentQuantities1

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

type PartyIdentification10Choice

type PartyIdentification10Choice struct {
	BICOrBEI AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 BICOrBEI"`
	PrtryId  GenericIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 PrtryId"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 NmAndAdr"`
}

type PartyIdentification12Choice

type PartyIdentification12Choice struct {
	BICOrBEI AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 BICOrBEI"`
	NmAndAdr NameAndAddress5  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 NmAndAdr"`
	Ctry     CountryCode      `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Ctry"`
}

type PartyIdentification13Choice

type PartyIdentification13Choice struct {
	BICOrBEI AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 BICOrBEI"`
	PrtryId  GenericIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 PrtryId"`
}

type PartyIdentification14Choice

type PartyIdentification14Choice struct {
	BICOrBEI AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 BICOrBEI"`
	PrtryId  GenericIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 PrtryId"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 NmAndAdr"`
	Ctry     CountryCode             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Ctry"`
}

type PartyIdentification36

type PartyIdentification36 struct {
	Id     PartyIdentification12Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	PrcgId Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 PrcgId,omitempty"`
}

type PartyIdentificationAndAccount16

type PartyIdentificationAndAccount16 struct {
	Id        PartyIdentification10Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	SfkpgAcct SecuritiesAccount13         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SfkpgAcct,omitempty"`
	PrcgId    Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 PrcgId,omitempty"`
}

type PostalAddress1

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

type Quantity6Choice

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

type ReceiveDelivery1Code

type ReceiveDelivery1Code string

May be one of DELI, RECE

type References2Choice

type References2Choice struct {
	SctiesSttlmTxId SettlementTypeAndIdentification3 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SctiesSttlmTxId"`
	SctiesFincgTxId SettlementTypeAndIdentification3 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SctiesFincgTxId"`
	IntraPosMvmntId Max35Text                        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 IntraPosMvmntId"`
	OthrTxId        GenericDocumentIdentification1   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 OthrTxId"`
}

type SecuritiesAccount13

type SecuritiesAccount13 struct {
	Id Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	Tp GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Tp,omitempty"`
	Nm Max70Text               `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Nm,omitempty"`
}

type SecuritiesTransactionCancellationRequestV01

type SecuritiesTransactionCancellationRequestV01 struct {
	Id       DocumentIdentification11    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	Dtls     TransactionDetails11        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Dtls"`
	MsgOrgtr PartyIdentification10Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 MsgOrgtr,omitempty"`
	MsgRcpt  PartyIdentification10Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 MsgRcpt,omitempty"`
	Xtnsn    []Extension2                `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Xtnsn,omitempty"`
}

type SecurityIdentification11

type SecurityIdentification11 struct {
	Id   SecurityIdentification11Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Id"`
	Desc Max140Text                     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Desc,omitempty"`
}

type SecurityIdentification11Choice

type SecurityIdentification11Choice struct {
	ISIN   ISINIdentifier           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 ISIN"`
	OthrId AlternateIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 OthrId"`
}

type SettlementDate1Choice

type SettlementDate1Choice struct {
	Dt   DateAndDateTimeChoice     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Dt"`
	DtCd SettlementDateCode1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 DtCd"`
}

type SettlementDate4Code

type SettlementDate4Code string

May be one of WISS

type SettlementDateCode1Choice

type SettlementDateCode1Choice struct {
	Cd    SettlementDate4Code     `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Cd"`
	Prtry GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Prtry"`
}

type SettlementParties2

type SettlementParties2 struct {
	Dpstry PartyIdentification36           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Dpstry,omitempty"`
	Pty1   PartyIdentificationAndAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Pty1,omitempty"`
	Pty2   PartyIdentificationAndAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Pty2,omitempty"`
	Pty3   PartyIdentificationAndAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Pty3,omitempty"`
	Pty4   PartyIdentificationAndAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Pty4,omitempty"`
	Pty5   PartyIdentificationAndAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Pty5,omitempty"`
}

type SettlementTypeAndIdentification3

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

type TradeDate1Choice

type TradeDate1Choice struct {
	Dt   DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Dt"`
	DtCd TradeDateCode1Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 DtCd"`
}

type TradeDateCode1Choice

type TradeDateCode1Choice struct {
	Cd    DateType3Code           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Cd"`
	Prtry GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Prtry"`
}

type TransactionDetails10

type TransactionDetails10 struct {
	FinInstrmId     SecurityIdentification11    `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 FinInstrmId"`
	TradDt          TradeDate1Choice            `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 TradDt,omitempty"`
	SttlmDt         SettlementDate1Choice       `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SttlmDt"`
	SttlmQty        Quantity6Choice             `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SttlmQty"`
	SttlmAmt        AmountAndDirection8         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SttlmAmt,omitempty"`
	DlvrgSttlmPties SettlementParties2          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 DlvrgSttlmPties,omitempty"`
	RcvgSttlmPties  SettlementParties2          `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 RcvgSttlmPties,omitempty"`
	Invstr          PartyIdentification14Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 Invstr,omitempty"`
}

type TransactionDetails11

type TransactionDetails11 struct {
	AcctOwnrTxId      References2Choice           `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 AcctOwnrTxId"`
	AcctSvcrTxId      Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 AcctSvcrTxId,omitempty"`
	MktInfrstrctrTxId Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 MktInfrstrctrTxId,omitempty"`
	AcctOwnr          PartyIdentification13Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 AcctOwnr,omitempty"`
	SfkpgAcct         SecuritiesAccount13         `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 SfkpgAcct"`
	TxDtls            TransactionDetails10        `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 TxDtls,omitempty"`
	FxCxl             FXCancellation1Choice       `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.001.01 FxCxl,omitempty"`
}

Jump to

Keyboard shortcuts

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