iso20022_colr_011_001_04

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 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 Agreement4

type Agreement4 struct {
	AgrmtDtls  Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AgrmtDtls"`
	AgrmtId    Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AgrmtId,omitempty"`
	AgrmtDt    ISODate                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AgrmtDt"`
	BaseCcy    ActiveCurrencyCode        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 BaseCcy"`
	AgrmtFrmwk AgreementFramework1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AgrmtFrmwk,omitempty"`
}

type AgreementFramework1Choice

type AgreementFramework1Choice struct {
	AgrmtFrmwk AgreementFramework1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AgrmtFrmwk,omitempty"`
	PrtryId    GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 PrtryId,omitempty"`
}

type AgreementFramework1Code

type AgreementFramework1Code string

May be one of FBAA, BBAA, DERV, ISDA, NONR

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 CollateralAccount2

type CollateralAccount2 struct {
	Id Max35Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Id"`
	Tp CollateralAccountIdentificationType2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Tp,omitempty"`
	Nm Max70Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Nm,omitempty"`
}

type CollateralAccountIdentificationType2Choice

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

type CollateralAccountType1Code

type CollateralAccountType1Code string

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

type CollateralSubstitutionResponse1

type CollateralSubstitutionResponse1 struct {
	CollSbstitnReqId Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 CollSbstitnReqId"`
	AccptdAmt        ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AccptdAmt,omitempty"`
}

type CollateralSubstitutionResponse2

type CollateralSubstitutionResponse2 struct {
	CollSbstitnReqId Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 CollSbstitnReqId"`
	RjctdAmt         ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 RjctdAmt"`
	RjctnRsn         RejectionReasonV021Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 RjctnRsn"`
	RjctnRsnInf      Max140Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 RjctnRsnInf,omitempty"`
}

type CollateralSubstitutionResponseV04

type CollateralSubstitutionResponseV04 struct {
	TxId        Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 TxId"`
	Oblgtn      Obligation4           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Oblgtn"`
	Agrmt       Agreement4            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Agrmt,omitempty"`
	SbstitnRspn SubstitutionResponse1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 SbstitnRspn"`
	SplmtryData []SupplementaryData1  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 SplmtryData,omitempty"`
}

type CountryCode

type CountryCode string

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

type DateAndDateTimeChoice

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

type Document

type Document struct {
	CollSbstitnRspn CollateralSubstitutionResponseV04 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 CollSbstitnRspn"`
}

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.011.001.04 Id"`
	Issr    Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Issr"`
	SchmeNm Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 SchmeNm,omitempty"`
}

type GenericIdentification36

type GenericIdentification36 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Id"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Issr"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 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 Max140Text

type Max140Text string

May be no more than 140 items long

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 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.011.001.04 Nm"`
	Adr PostalAddress2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 Adr"`
}

type Obligation4

type Obligation4 struct {
	PtyA       PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 PtyA"`
	SvcgPtyA   PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 SvcgPtyA,omitempty"`
	PtyB       PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 PtyB"`
	SvcgPtyB   PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 SvcgPtyB,omitempty"`
	CollAcctId CollateralAccount2           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 CollAcctId,omitempty"`
	XpsrTp     ExposureType5Code            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 XpsrTp,omitempty"`
	ValtnDt    DateAndDateTimeChoice        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 ValtnDt"`
}

type PartyIdentification100Choice

type PartyIdentification100Choice struct {
	AnyBIC   AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 AnyBIC,omitempty"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 PrtryId,omitempty"`
	NmAndAdr NameAndAddress6         `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 NmAndAdr,omitempty"`
}

type PostalAddress2

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

type RejectionReasonV021Code

type RejectionReasonV021Code string

May be one of DSEC, EVNM, UKWN, ICOL, CONL, ELIG, INID, OTHR

type Status4Code

type Status4Code string

May be one of REJT, PACK

type SubstitutionResponse1

type SubstitutionResponse1 struct {
	RspnTp                 Status4Code                     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 RspnTp"`
	CollSbstitnAccptncDtls CollateralSubstitutionResponse1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 CollSbstitnAccptncDtls,omitempty"`
	CollSbstitnRjctnDtls   CollateralSubstitutionResponse2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 CollSbstitnRjctnDtls,omitempty"`
}

type SupplementaryData1

type SupplementaryData1 struct {
	PlcAndNm Max350Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 PlcAndNm,omitempty"`
	Envlp    SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.011.001.04 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