iso20022_head_001_001_02

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 AddressType3Choice

type AddressType3Choice struct {
	Cd    AddressType2Code        `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Prtry,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 BICFIDec2014Identifier

type BICFIDec2014Identifier 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 BranchAndFinancialInstitutionIdentification6

type BranchAndFinancialInstitutionIdentification6 struct {
	FinInstnId FinancialInstitutionIdentification18 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 FinInstnId"`
	BrnchId    BranchData3                          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BrnchId,omitempty"`
}

type BranchData3

type BranchData3 struct {
	Id      Max35Text       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id,omitempty"`
	LEI     LEIIdentifier   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 LEI,omitempty"`
	Nm      Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Nm,omitempty"`
	PstlAdr PostalAddress24 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PstlAdr,omitempty"`
}

type BusinessApplicationHeader5

type BusinessApplicationHeader5 struct {
	CharSet    string             `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CharSet,omitempty"`
	Fr         Party44Choice      `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Fr"`
	To         Party44Choice      `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 To"`
	BizMsgIdr  Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BizMsgIdr"`
	MsgDefIdr  Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 MsgDefIdr"`
	BizSvc     Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BizSvc,omitempty"`
	CreDt      ISODateTime        `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CreDt"`
	CpyDplct   CopyDuplicate1Code `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CpyDplct,omitempty"`
	PssblDplct bool               `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PssblDplct,omitempty"`
	Prty       string             `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Prty,omitempty"`
	Sgntr      SignatureEnvelope  `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Sgntr,omitempty"`
}

type BusinessApplicationHeaderV02

type BusinessApplicationHeaderV02 struct {
	CharSet    string                       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CharSet,omitempty"`
	Fr         Party44Choice                `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Fr"`
	To         Party44Choice                `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 To"`
	BizMsgIdr  Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BizMsgIdr"`
	MsgDefIdr  Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 MsgDefIdr"`
	BizSvc     Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BizSvc,omitempty"`
	MktPrctc   ImplementationSpecification1 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 MktPrctc,omitempty"`
	CreDt      ISODateTime                  `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CreDt"`
	BizPrcgDt  ISODateTime                  `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BizPrcgDt,omitempty"`
	CpyDplct   CopyDuplicate1Code           `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CpyDplct,omitempty"`
	PssblDplct bool                         `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PssblDplct,omitempty"`
	Prty       string                       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Prty,omitempty"`
	Sgntr      SignatureEnvelope            `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Sgntr,omitempty"`
	Rltd       []BusinessApplicationHeader5 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Rltd,omitempty"`
}

type ClearingSystemIdentification2Choice

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

type ClearingSystemMemberIdentification2

type ClearingSystemMemberIdentification2 struct {
	ClrSysId ClearingSystemIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 ClrSysId,omitempty"`
	MmbId    Max35Text                           `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 MmbId"`
}

type Contact4

type Contact4 struct {
	NmPrfx    NamePrefix2Code             `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 NmPrfx,omitempty"`
	Nm        Max140Text                  `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Nm,omitempty"`
	PhneNb    PhoneNumber                 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PhneNb,omitempty"`
	MobNb     PhoneNumber                 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 MobNb,omitempty"`
	FaxNb     PhoneNumber                 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 FaxNb,omitempty"`
	EmailAdr  Max2048Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 EmailAdr,omitempty"`
	EmailPurp Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 EmailPurp,omitempty"`
	JobTitl   Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 JobTitl,omitempty"`
	Rspnsblty Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Rspnsblty,omitempty"`
	Dept      Max70Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Dept,omitempty"`
	Othr      []OtherContact1             `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Othr,omitempty"`
	PrefrdMtd PreferredContactMethod1Code `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PrefrdMtd,omitempty"`
}

type CopyDuplicate1Code

type CopyDuplicate1Code string

May be one of CODU, COPY, DUPL

type CountryCode

type CountryCode string

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

type DateAndPlaceOfBirth1

type DateAndPlaceOfBirth1 struct {
	BirthDt     ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BirthDt"`
	PrvcOfBirth Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PrvcOfBirth,omitempty"`
	CityOfBirth Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CityOfBirth"`
	CtryOfBirth CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CtryOfBirth"`
}

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 ExternalFinancialInstitutionIdentification1Code

type ExternalFinancialInstitutionIdentification1Code string

May be no more than 4 items long

type ExternalOrganisationIdentification1Code

type ExternalOrganisationIdentification1Code string

May be no more than 4 items long

type ExternalPersonIdentification1Code

type ExternalPersonIdentification1Code string

May be no more than 4 items long

type FinancialIdentificationSchemeName1Choice

type FinancialIdentificationSchemeName1Choice struct {
	Cd    ExternalFinancialInstitutionIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Cd,omitempty"`
	Prtry Max35Text                                       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Prtry,omitempty"`
}

type FinancialInstitutionIdentification18

type FinancialInstitutionIdentification18 struct {
	BICFI       BICFIDec2014Identifier              `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BICFI,omitempty"`
	ClrSysMmbId ClearingSystemMemberIdentification2 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 ClrSysMmbId,omitempty"`
	LEI         LEIIdentifier                       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 LEI,omitempty"`
	Nm          Max140Text                          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Nm,omitempty"`
	PstlAdr     PostalAddress24                     `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PstlAdr,omitempty"`
	Othr        GenericFinancialIdentification1     `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Othr,omitempty"`
}

type GenericFinancialIdentification1

type GenericFinancialIdentification1 struct {
	Id      Max35Text                                `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id"`
	SchmeNm FinancialIdentificationSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 SchmeNm,omitempty"`
	Issr    Max35Text                                `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Issr,omitempty"`
}

type GenericIdentification30

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

type GenericOrganisationIdentification1

type GenericOrganisationIdentification1 struct {
	Id      Max35Text                                   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id"`
	SchmeNm OrganisationIdentificationSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 SchmeNm,omitempty"`
	Issr    Max35Text                                   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Issr,omitempty"`
}

type GenericPersonIdentification1

type GenericPersonIdentification1 struct {
	Id      Max35Text                             `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id"`
	SchmeNm PersonIdentificationSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 SchmeNm,omitempty"`
	Issr    Max35Text                             `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Issr,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 ImplementationSpecification1

type ImplementationSpecification1 struct {
	Regy Max350Text  `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Regy"`
	Id   Max2048Text `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id"`
}

type LEIIdentifier

type LEIIdentifier string

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

type Max128Text

type Max128Text string

May be no more than 128 items long

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 Max2048Text

type Max2048Text string

May be no more than 2048 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 Max4Text

type Max4Text string

May be no more than 4 items long

type Max70Text

type Max70Text string

May be no more than 70 items long

type NamePrefix2Code

type NamePrefix2Code string

May be one of DOCT, MADM, MISS, MIST, MIKS

type OrganisationIdentification29

type OrganisationIdentification29 struct {
	AnyBIC AnyBICDec2014Identifier              `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 AnyBIC,omitempty"`
	LEI    LEIIdentifier                        `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 LEI,omitempty"`
	Othr   []GenericOrganisationIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Othr,omitempty"`
}

type OrganisationIdentificationSchemeName1Choice

type OrganisationIdentificationSchemeName1Choice struct {
	Cd    ExternalOrganisationIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Cd,omitempty"`
	Prtry Max35Text                               `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Prtry,omitempty"`
}

type OtherContact1

type OtherContact1 struct {
	ChanlTp Max4Text   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 ChanlTp"`
	Id      Max128Text `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id,omitempty"`
}

type Party38Choice

type Party38Choice struct {
	OrgId  OrganisationIdentification29 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 OrgId,omitempty"`
	PrvtId PersonIdentification13       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PrvtId,omitempty"`
}

type Party44Choice

type Party44Choice struct {
	OrgId PartyIdentification135                       `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 OrgId,omitempty"`
	FIId  BranchAndFinancialInstitutionIdentification6 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 FIId,omitempty"`
}

type PartyIdentification135

type PartyIdentification135 struct {
	Nm        Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Nm,omitempty"`
	PstlAdr   PostalAddress24 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PstlAdr,omitempty"`
	Id        Party38Choice   `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Id,omitempty"`
	CtryOfRes CountryCode     `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CtryOfRes,omitempty"`
	CtctDtls  Contact4        `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CtctDtls,omitempty"`
}

type PersonIdentification13

type PersonIdentification13 struct {
	DtAndPlcOfBirth DateAndPlaceOfBirth1           `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 DtAndPlcOfBirth,omitempty"`
	Othr            []GenericPersonIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Othr,omitempty"`
}

type PersonIdentificationSchemeName1Choice

type PersonIdentificationSchemeName1Choice struct {
	Cd    ExternalPersonIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Cd,omitempty"`
	Prtry Max35Text                         `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Prtry,omitempty"`
}

type PhoneNumber

type PhoneNumber string

Must match the pattern \+[0-9]{1,3}-[0-9()+\-]{1,30}

type PostalAddress24

type PostalAddress24 struct {
	AdrTp       AddressType3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 AdrTp,omitempty"`
	Dept        Max70Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Dept,omitempty"`
	SubDept     Max70Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 SubDept,omitempty"`
	StrtNm      Max70Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 StrtNm,omitempty"`
	BldgNb      Max16Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BldgNb,omitempty"`
	BldgNm      Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 BldgNm,omitempty"`
	Flr         Max70Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Flr,omitempty"`
	PstBx       Max16Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PstBx,omitempty"`
	Room        Max70Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Room,omitempty"`
	PstCd       Max16Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 PstCd,omitempty"`
	TwnNm       Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 TwnNm,omitempty"`
	TwnLctnNm   Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 TwnLctnNm,omitempty"`
	DstrctNm    Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 DstrctNm,omitempty"`
	CtrySubDvsn Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 CtrySubDvsn,omitempty"`
	Ctry        CountryCode        `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 Ctry,omitempty"`
	AdrLine     []Max70Text        `xml:"urn:iso:std:iso:20022:tech:xsd:head.001.001.02 AdrLine,omitempty"`
}

type PreferredContactMethod1Code

type PreferredContactMethod1Code string

May be one of LETT, MAIL, PHON, FAXX, CELL

type SignatureEnvelope

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

Jump to

Keyboard shortcuts

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