iso20022_fxtr_030_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 AddressType2Code

type AddressType2Code string

May be one of ADDR, PBOX, HOME, BIZZ, MLTO, DLVY

type AllocationIndicator1Code

type AllocationIndicator1Code string

May be one of POST, PREA, UNAL

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 ClearingBrokerIdentification1

type ClearingBrokerIdentification1 struct {
	SdInd     SideIndicator1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 SdInd"`
	ClrBrkrId Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrBrkrId"`
}

type ClearingSystemIdentification2Choice

type ClearingSystemIdentification2Choice struct {
	Cd    ExternalClearingSystemIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Cd,omitempty"`
	Prtry Max35Text                                 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Prtry,omitempty"`
}

type CollateralisationIndicator1Code

type CollateralisationIndicator1Code string

May be one of FULL, ONEW, PART, UNCO

type CorporateSectorIdentifier1Code

type CorporateSectorIdentifier1Code string

May be one of L, A, C, I, F, O, R, U

type CounterpartySideTransactionReporting1

type CounterpartySideTransactionReporting1 struct {
	RptgJursdctn     Max35Text                      `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 RptgJursdctn,omitempty"`
	RptgPty          PartyIdentification73Choice    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 RptgPty,omitempty"`
	CtrPtySdUnqTxIdr []UniqueTransactionIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CtrPtySdUnqTxIdr,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:fxtr.030.001.04 Dt,omitempty"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 DtTm,omitempty"`
}

type Document

type Document struct {
	FXTradBlkStsNtfctn ForeignExchangeTradeBulkStatusNotificationV04 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 FXTradBlkStsNtfctn"`
}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

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

type ExternalClearingSystemIdentification1Code

type ExternalClearingSystemIdentification1Code string

May be no more than 5 items long

type ForeignExchangeTradeBulkStatusNotificationV04

type ForeignExchangeTradeBulkStatusNotificationV04 struct {
	StsDtls     TradeData12          `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 StsDtls"`
	TradData    []TradeData11        `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 TradData"`
	MsgPgntn    Pagination           `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 MsgPgntn,omitempty"`
	SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 SplmtryData,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 LEIIdentifier

type LEIIdentifier string

Must match the pattern [A-Z0-9]{18,18}[0-9]{2,2}

type Max105Text

type Max105Text string

May be no more than 105 items long

type Max10Text

type Max10Text string

May be no more than 10 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 Max34Text

type Max34Text string

May be no more than 34 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 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 NameAndAddress8

type NameAndAddress8 struct {
	Nm         Max350Text     `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Nm"`
	Adr        PostalAddress1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Adr,omitempty"`
	AltrntvIdr []Max35Text    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AltrntvIdr,omitempty"`
}

type Pagination

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

type PartyIdentification44

type PartyIdentification44 struct {
	AnyBIC     AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AnyBIC"`
	AltrntvIdr []Max35Text      `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AltrntvIdr,omitempty"`
}

type PartyIdentification59

type PartyIdentification59 struct {
	PtyNm      Max34Text                           `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PtyNm,omitempty"`
	AnyBIC     PartyIdentification44               `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AnyBIC,omitempty"`
	AcctNb     Max34Text                           `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AcctNb,omitempty"`
	Adr        Max105Text                          `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Adr,omitempty"`
	ClrSysId   ClearingSystemIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrSysId,omitempty"`
	LglNttyIdr LEIIdentifier                       `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 LglNttyIdr,omitempty"`
}

type PartyIdentification73Choice

type PartyIdentification73Choice struct {
	NmAndAdr NameAndAddress8       `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 NmAndAdr,omitempty"`
	AnyBIC   PartyIdentification44 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AnyBIC,omitempty"`
	PtyId    PartyIdentification59 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PtyId,omitempty"`
}

type PostalAddress1

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

type RegulatoryReporting4

type RegulatoryReporting4 struct {
	TradgSdTxRptg          []TradingSideTransactionReporting1      `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 TradgSdTxRptg,omitempty"`
	CtrPtySdTxRptg         []CounterpartySideTransactionReporting1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CtrPtySdTxRptg,omitempty"`
	CntrlCtrPtyClrHs       PartyIdentification73Choice             `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CntrlCtrPtyClrHs,omitempty"`
	ClrBrkr                PartyIdentification73Choice             `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrBrkr,omitempty"`
	ClrXcptnPty            PartyIdentification73Choice             `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrXcptnPty,omitempty"`
	ClrBrkrId              ClearingBrokerIdentification1           `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrBrkrId,omitempty"`
	ClrThrshldInd          bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrThrshldInd,omitempty"`
	ClrdPdctId             Max35Text                               `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ClrdPdctId,omitempty"`
	UndrlygPdctIdr         UnderlyingProductIdentifier1Code        `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 UndrlygPdctIdr,omitempty"`
	AllcnInd               AllocationIndicator1Code                `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AllcnInd,omitempty"`
	CollstnInd             CollateralisationIndicator1Code         `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CollstnInd,omitempty"`
	ExctnVn                Max35Text                               `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ExctnVn,omitempty"`
	ExctnTmstmp            DateAndDateTimeChoice                   `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ExctnTmstmp,omitempty"`
	NonStdFlg              bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 NonStdFlg,omitempty"`
	LkSwpId                string                                  `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 LkSwpId,omitempty"`
	FinNtrOfTheCtrPtyInd   bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 FinNtrOfTheCtrPtyInd,omitempty"`
	CollPrtflInd           bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CollPrtflInd,omitempty"`
	CollPrtflCd            Max10Text                               `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CollPrtflCd,omitempty"`
	PrtflCmprssnInd        bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PrtflCmprssnInd,omitempty"`
	CorpSctrInd            CorporateSectorIdentifier1Code          `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CorpSctrInd,omitempty"`
	TradWthNonEEACtrPtyInd bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 TradWthNonEEACtrPtyInd,omitempty"`
	NtrgrpTradInd          bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 NtrgrpTradInd,omitempty"`
	ComrclOrTrsrFincgInd   bool                                    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 ComrclOrTrsrFincgInd,omitempty"`
	AddtlRptgInf           Max210Text                              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 AddtlRptgInf,omitempty"`
}

type SideIndicator1Code

type SideIndicator1Code string

May be one of CCPL, CLNT

type Status27Choice

type Status27Choice struct {
	Cd    TradeStatus6Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Cd,omitempty"`
	Prtry Max35Text        `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Prtry,omitempty"`
}

type Status28Choice

type Status28Choice struct {
	Cd    TradeStatus7Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Cd,omitempty"`
	Prtry Max35Text        `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 Prtry,omitempty"`
}

type StatusAndSubStatus2

type StatusAndSubStatus2 struct {
	StsCd    Status27Choice         `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 StsCd"`
	SubStsCd Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 SubStsCd,omitempty"`
}

type StatusSubType2Code

type StatusSubType2Code string

May be one of SMDY

type SupplementaryData1

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

type SupplementaryDataEnvelope1

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

type TradeData11

type TradeData11 struct {
	OrgtrRef           Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 OrgtrRef,omitempty"`
	MtchgSysUnqRef     Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 MtchgSysUnqRef"`
	MtchgSysMtchgRef   Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 MtchgSysMtchgRef,omitempty"`
	MtchgSysMtchdSdRef Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 MtchgSysMtchdSdRef,omitempty"`
	CurSttlmDt         ISODate                `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CurSttlmDt,omitempty"`
	NewSttlmDt         ISODate                `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 NewSttlmDt,omitempty"`
	CurStsDtTm         ISODateTime            `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CurStsDtTm,omitempty"`
	PdctTp             Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PdctTp,omitempty"`
	SttlmSsnIdr        Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 SttlmSsnIdr,omitempty"`
	RgltryRptg         RegulatoryReporting4   `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 RgltryRptg,omitempty"`
}

type TradeData12

type TradeData12 struct {
	MsgId        Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 MsgId"`
	StsOrgtr     Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 StsOrgtr,omitempty"`
	CurSts       StatusAndSubStatus2    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CurSts"`
	CurStsSubTp  StatusSubType2Code     `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CurStsSubTp,omitempty"`
	CurStsDtTm   ISODateTime            `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 CurStsDtTm"`
	PrvsSts      Status28Choice         `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PrvsSts,omitempty"`
	PrvsStsSubTp StatusSubType2Code     `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PrvsStsSubTp,omitempty"`
	PdctTp       Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PdctTp,omitempty"`
	SttlmSsnIdr  Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 SttlmSsnIdr,omitempty"`
	LkdRptId     Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 LkdRptId,omitempty"`
}

type TradeStatus6Code

type TradeStatus6Code string

May be one of INVA, FMTC, SMAP, RJCT, RSCD, STLD, SPLI, UMTC, SMAT, FUMT, NETT, PFIX, OMTC

type TradeStatus7Code

type TradeStatus7Code string

May be one of INVA, UMTC, FMTC, SMAT, SUSP, SMAP, PFIX, FUMT

type TradingSideTransactionReporting1

type TradingSideTransactionReporting1 struct {
	RptgJursdctn    Max35Text                      `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 RptgJursdctn,omitempty"`
	RptgPty         PartyIdentification73Choice    `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 RptgPty,omitempty"`
	TradgSdUnqTxIdr []UniqueTransactionIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 TradgSdUnqTxIdr,omitempty"`
}

type UnderlyingProductIdentifier1Code

type UnderlyingProductIdentifier1Code string

May be one of FORW, NDFO, SPOT, SWAP

type UniqueTransactionIdentifier2

type UniqueTransactionIdentifier2 struct {
	UnqTxIdr    Max52Text   `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 UnqTxIdr"`
	PrrUnqTxIdr []Max52Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.030.001.04 PrrUnqTxIdr,omitempty"`
}

Jump to

Keyboard shortcuts

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