iso20022_colr_005_001_05

package
v0.0.0-...-2e988c5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 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 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 AmountAndDirection20

type AmountAndDirection20 struct {
	Amt       ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Amt"`
	CdtDbtInd CreditDebitCode                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CdtDbtInd,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 ClosingDate4Choice

type ClosingDate4Choice struct {
	Dt DateAndDateTime2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Dt,omitempty"`
	Cd Date3Choice            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Cd,omitempty"`
}

type CollateralAccount3

type CollateralAccount3 struct {
	Id Max35Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Id"`
	Tp CollateralAccountIdentificationType3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Tp,omitempty"`
	Nm Max70Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Nm,omitempty"`
}

type CollateralAccountIdentificationType3Choice

type CollateralAccountIdentificationType3Choice struct {
	Tp    CollateralAccountType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Tp,omitempty"`
	Prtry GenericIdentification36    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Prtry,omitempty"`
}

type CollateralAccountType1Code

type CollateralAccountType1Code string

May be one of HOUS, CLIE, LIPR, MGIN, DFLT

type CollateralCancellationReason1

type CollateralCancellationReason1 struct {
	AddtlInf Max35Text                         `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 AddtlInf,omitempty"`
	CxlRsnCd CollateralCancellationType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CxlRsnCd"`
}

type CollateralCancellationType1Choice

type CollateralCancellationType1Choice struct {
	Cd    CollateralManagementCancellationReason1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Cd,omitempty"`
	Prtry GenericIdentification30                     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Prtry,omitempty"`
}

type CollateralManagementCancellationReason1Code

type CollateralManagementCancellationReason1Code string

May be one of PRER, PNSU

type CollateralManagementCancellationRequestV05

type CollateralManagementCancellationRequestV05 struct {
	Ref         Reference3Choice              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Ref"`
	Oblgtn      Obligation7                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Oblgtn"`
	CxlRsn      CollateralCancellationReason1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CxlRsn"`
	SplmtryData []SupplementaryData1          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 SplmtryData,omitempty"`
}

type CollateralRole1Code

type CollateralRole1Code string

May be one of GIVE, TAKE

type CollateralTransactionType1Choice

type CollateralTransactionType1Choice struct {
	Cd    CollateralTransactionType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Cd,omitempty"`
	Prtry GenericIdentification30        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Prtry,omitempty"`
}

type CollateralTransactionType1Code

type CollateralTransactionType1Code string

May be one of AADJ, CDTA, CADJ, DADJ, DBVT, INIT, MADJ, PADJ, RATA, TERM

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 Date3Choice

type Date3Choice struct {
	Cd    DateType2Code           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Prtry,omitempty"`
}

type DateAndDateTime2Choice

type DateAndDateTime2Choice struct {
	Dt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Dt,omitempty"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 DtTm,omitempty"`
}

type DateType2Code

type DateType2Code string

May be one of OPEN

type Document

type Document struct {
	CollMgmtCxlReq CollateralManagementCancellationRequestV05 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollMgmtCxlReq"`
}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

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

type ExposureType5Code

type ExposureType5Code string

May be one of BFWD, PAYM, CCPC, COMM, CRDS, CRTL, CRSP, CCIR, CRPR, EQUI, EQPT, EQUS, EXTD, EXPT, FIXI, FORX, FORW, FUTR, OPTN, LIQU, OTCD, REPO, RVPO, SLOA, SBSC, SCRP, SLEB, SHSL, SCIR, SCIE, SWPT, TBAS, TRBD, TRCP

type GenericIdentification30

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

type GenericIdentification36

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

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 Max16Text

type Max16Text string

May be no more than 16 items long

type Max350Text

type Max350Text string

May be no more than 350 items long

type Max35Text

type Max35Text string

May be no more than 35 items long

type Max52Text

type Max52Text string

May be no more than 52 items long

type Max70Text

type Max70Text string

May be no more than 70 items long

type NameAndAddress6

type NameAndAddress6 struct {
	Nm  Max70Text      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Nm"`
	Adr PostalAddress2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Adr"`
}

type Obligation7

type Obligation7 struct {
	PtyA        PartyIdentification178Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 PtyA"`
	SvcgPtyA    PartyIdentification178Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 SvcgPtyA,omitempty"`
	PtyB        PartyIdentification178Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 PtyB"`
	SvcgPtyB    PartyIdentification178Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 SvcgPtyB,omitempty"`
	CollAcctId  CollateralAccount3               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollAcctId,omitempty"`
	XpsrTp      ExposureType5Code                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 XpsrTp,omitempty"`
	CollTxTp    CollateralTransactionType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollTxTp,omitempty"`
	CollSd      CollateralRole1Code              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollSd,omitempty"`
	XpsrAmt     AmountAndDirection20             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 XpsrAmt,omitempty"`
	ValtnDt     DateAndDateTime2Choice           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 ValtnDt,omitempty"`
	ClsgDt      ClosingDate4Choice               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 ClsgDt,omitempty"`
	ReqdExctnDt DateAndDateTime2Choice           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 ReqdExctnDt,omitempty"`
}

type PartyIdentification178Choice

type PartyIdentification178Choice struct {
	AnyBIC   AnyBICDec2014Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 AnyBIC,omitempty"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 PrtryId,omitempty"`
	NmAndAdr NameAndAddress6         `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 NmAndAdr,omitempty"`
}

type PostalAddress2

type PostalAddress2 struct {
	StrtNm      Max70Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 StrtNm,omitempty"`
	PstCdId     Max16Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 PstCdId"`
	TwnNm       Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 TwnNm"`
	CtrySubDvsn Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CtrySubDvsn,omitempty"`
	Ctry        CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 Ctry"`
}

type Reference3Choice

type Reference3Choice struct {
	ClntCollInstrId             Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 ClntCollInstrId,omitempty"`
	ClntCollTxId                Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 ClntCollTxId,omitempty"`
	CollPrpslId                 Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollPrpslId,omitempty"`
	CollPrpslRspnId             Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollPrpslRspnId,omitempty"`
	CollSbstitnConfId           Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollSbstitnConfId,omitempty"`
	CollSbstitnReqId            Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollSbstitnReqId,omitempty"`
	CollSbstitnRspnId           Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CollSbstitnRspnId,omitempty"`
	CmonTxId                    Max52Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 CmonTxId,omitempty"`
	DsptNtfctnId                Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 DsptNtfctnId,omitempty"`
	IntrstPmtReqId              Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 IntrstPmtReqId,omitempty"`
	IntrstPmtRspnId             Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 IntrstPmtRspnId,omitempty"`
	IntrstPmtStmtId             Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 IntrstPmtStmtId,omitempty"`
	MrgnCallReqId               Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 MrgnCallReqId,omitempty"`
	MrgnCallRspnId              Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 MrgnCallRspnId,omitempty"`
	TrptyAgtSvcPrvdrCollInstrId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 TrptyAgtSvcPrvdrCollInstrId,omitempty"`
	TrptyAgtSvcPrvdrCollTxId    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.005.001.05 TrptyAgtSvcPrvdrCollTxId,omitempty"`
}

type SupplementaryData1

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

type SupplementaryDataEnvelope1

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

Jump to

Keyboard shortcuts

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