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

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

type AgreementFramework1Choice

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

type AgreementFramework1Code

type AgreementFramework1Code string

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

type AmountAndDirection20

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

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

type CollateralAccountIdentificationType2Choice

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

type CollateralAccountType1Code

type CollateralAccountType1Code string

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

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

type DatePeriodDetails

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

type Document

type Document struct {
	IntrstPmtStmt InterestPaymentStatementV04 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 IntrstPmtStmt"`
}

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

type GenericIdentification36

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

type InterestCalculation4 struct {
	ClctnDt        ISODate                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 ClctnDt"`
	CollAcctId     CollateralAccount2      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 CollAcctId,omitempty"`
	FctvPrncplAmt  AmountAndDirection20    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 FctvPrncplAmt"`
	PrncplAmt      AmountAndDirection20    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 PrncplAmt,omitempty"`
	MvmntAmt       AmountAndDirection20    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 MvmntAmt,omitempty"`
	NbOfDays       float64                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 NbOfDays,omitempty"`
	FctvRate       float64                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 FctvRate"`
	IntrstRate     float64                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 IntrstRate,omitempty"`
	Sprd           float64                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 Sprd,omitempty"`
	AcrdIntrstAmt  AmountAndDirection20    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 AcrdIntrstAmt"`
	AggtdIntrstAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 AggtdIntrstAmt,omitempty"`
}

type InterestPaymentStatementV04

type InterestPaymentStatementV04 struct {
	TxId        Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 TxId"`
	Agrmt       Agreement4           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 Agrmt,omitempty"`
	Oblgtn      Obligation4          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 Oblgtn"`
	StmtParams  Statement32          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 StmtParams"`
	Pgntn       Pagination           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 Pgntn,omitempty"`
	IntrstStmt  InterestStatement4   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 IntrstStmt"`
	SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 SplmtryData,omitempty"`
}

type InterestStatement4

type InterestStatement4 struct {
	IntrstPrd          DatePeriodDetails       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 IntrstPrd"`
	TtlIntrstAmtDueToA ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 TtlIntrstAmtDueToA,omitempty"`
	TtlIntrstAmtDueToB ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 TtlIntrstAmtDueToB,omitempty"`
	ValDt              ISODate                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 ValDt"`
	IntrstPmtReqId     Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 IntrstPmtReqId,omitempty"`
	IntrstClctn        []InterestCalculation4  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 IntrstClctn,omitempty"`
}

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 Max5NumericText

type Max5NumericText string

Must match the pattern [0-9]{1,5}

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

type Obligation4

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

type Pagination

type Pagination struct {
	PgNb      Max5NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 PgNb"`
	LastPgInd bool            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 LastPgInd"`
}

type PartyIdentification100Choice

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

type PostalAddress2

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

type Statement32

type Statement32 struct {
	StmtId    Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 StmtId"`
	ActvtyInd bool                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 ActvtyInd"`
	Frqcy     Frequency1Code        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 Frqcy"`
	StmtDtTm  DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.015.001.04 StmtDtTm"`
}

type SupplementaryData1

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