iso20022_colr_014_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.014.001.04 AgrmtDtls"`
	AgrmtId    Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 AgrmtId,omitempty"`
	AgrmtDt    ISODate                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 AgrmtDt"`
	BaseCcy    ActiveCurrencyCode        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 BaseCcy"`
	AgrmtFrmwk AgreementFramework1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 AgrmtFrmwk,omitempty"`
}

type AgreementFramework1Choice

type AgreementFramework1Choice struct {
	AgrmtFrmwk AgreementFramework1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 AgrmtFrmwk,omitempty"`
	PrtryId    GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.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 CalculationMethod1Code

type CalculationMethod1Code string

May be one of SIMP, COMP

type CollateralAccount2

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

type CollateralAccountIdentificationType2Choice

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

type CollateralAccountType1Code

type CollateralAccountType1Code string

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

type CollateralBalance1

type CollateralBalance1 struct {
	HeldByPtyA ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 HeldByPtyA"`
	HeldByPtyB ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 HeldByPtyB"`
}

type CollateralPurpose1Choice

type CollateralPurpose1Choice struct {
	Cd    CollateralPurpose1Code  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Prtry,omitempty"`
}

type CollateralPurpose1Code

type CollateralPurpose1Code string

May be one of VAMA, SINA

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.014.001.04 Dt,omitempty"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 DtTm,omitempty"`
}

type DatePeriodDetails

type DatePeriodDetails struct {
	FrDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 FrDt"`
	ToDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 ToDt"`
}

type Document

type Document struct {
	IntrstPmtRspn InterestPaymentResponseV04 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstPmtRspn"`
}

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 Frequency1Code

type Frequency1Code string

May be one of YEAR, MNTH, QURT, MIAN, WEEK, DAIL, ADHO, INDA

type GenericIdentification30

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

type GenericIdentification36

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

type InterestAmount2 struct {
	AcrdIntrstAmt  ActiveCurrencyAndAmount        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 AcrdIntrstAmt"`
	ValDt          DateAndDateTimeChoice          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 ValDt"`
	IntrstMtd      InterestMethod1Code            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstMtd"`
	IntrstPrd      DatePeriodDetails              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstPrd"`
	IntrstRate     InterestRate1Choice            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstRate,omitempty"`
	DayCntBsis     InterestComputationMethod2Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 DayCntBsis,omitempty"`
	ApldWhldgTax   bool                           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 ApldWhldgTax,omitempty"`
	ClctnMtd       CalculationMethod1Code         `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 ClctnMtd,omitempty"`
	ClctnFrqcy     Frequency1Code                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 ClctnFrqcy,omitempty"`
	CollPurp       CollateralPurpose1Choice       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 CollPurp"`
	OpngCollBal    CollateralBalance1             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 OpngCollBal,omitempty"`
	ClsgCollBal    CollateralBalance1             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 ClsgCollBal"`
	StdSttlmInstrs Max140Text                     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 StdSttlmInstrs,omitempty"`
	AddtlInf       Max210Text                     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 AddtlInf,omitempty"`
}

type InterestComputationMethod2Code

type InterestComputationMethod2Code string

May be one of A001, A002, A003, A004, A005, A006, A007, A008, A009, A010, A011, A012, A013, A014, NARR

type InterestMethod1Code

type InterestMethod1Code string

May be one of PHYS, ROLL

type InterestPaymentResponseV04

type InterestPaymentResponseV04 struct {
	TxId         Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 TxId"`
	Oblgtn       Obligation4          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Oblgtn"`
	Agrmt        Agreement4           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Agrmt"`
	IntrstDueToA InterestAmount2      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstDueToA,omitempty"`
	IntrstDueToB InterestAmount2      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstDueToB,omitempty"`
	IntrstRspn   InterestResponse1    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstRspn"`
	SplmtryData  []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 SplmtryData,omitempty"`
}

type InterestRate1Choice

type InterestRate1Choice struct {
	FxdIntrstRate   float64               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 FxdIntrstRate,omitempty"`
	VarblIntrstRate VariableInterest1Rate `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 VarblIntrstRate,omitempty"`
}

type InterestRejectionReason1Code

type InterestRejectionReason1Code string

May be one of VADA, DIAM

type InterestResponse1

type InterestResponse1 struct {
	RspnTp         Status4Code                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 RspnTp"`
	RjctnRsn       RejectionReason21FormatChoice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 RjctnRsn,omitempty"`
	RjctnRsnInf    Max140Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 RjctnRsnInf,omitempty"`
	IntrstPmtReqId Max35Text                     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 IntrstPmtReqId"`
}

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 Max210Text

type Max210Text string

May be no more than 210 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.014.001.04 Nm"`
	Adr PostalAddress2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Adr"`
}

type Obligation4

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

type PartyIdentification100Choice

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

type PostalAddress2

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

type RejectionReason21FormatChoice

type RejectionReason21FormatChoice struct {
	Cd    InterestRejectionReason1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Cd,omitempty"`
	Prtry GenericIdentification30      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Prtry,omitempty"`
}

type Status4Code

type Status4Code string

May be one of REJT, PACK

type SupplementaryData1

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

type SupplementaryDataEnvelope1

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

type VariableInterest1Rate

type VariableInterest1Rate struct {
	Indx       Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 Indx"`
	BsisPtSprd float64   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.014.001.04 BsisPtSprd,omitempty"`
}

Jump to

Keyboard shortcuts

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