tsrv_012_001_01

package
v0.0.0-...-d341185 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 4 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 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 ContactDetails2

type ContactDetails2 struct {
	NmPrfx   NamePrefix1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 NmPrfx,omitempty"`
	Nm       Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Nm,omitempty"`
	PhneNb   PhoneNumber     `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 PhneNb,omitempty"`
	MobNb    PhoneNumber     `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 MobNb,omitempty"`
	FaxNb    PhoneNumber     `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 FaxNb,omitempty"`
	EmailAdr Max2048Text     `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 EmailAdr,omitempty"`
	Othr     Max35Text       `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Othr,omitempty"`
}

type CountryCode

type CountryCode string

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

type DateAndPlaceOfBirth

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

type Document

type Document struct {
	UdrtkgTermntnNtfctn UndertakingTerminationNotificationV01 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 UdrtkgTermntnNtfctn"`
}

type Document9

type Document9 struct {
	Tp        UndertakingDocumentType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Tp"`
	Id        Max35Text                      `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Id"`
	Frmt      DocumentFormat1Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Frmt,omitempty"`
	Nclsr     Max2MBBinary                   `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Nclsr"`
	DgtlSgntr PartyAndSignature2             `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 DgtlSgntr,omitempty"`
}

type DocumentFormat1Choice

type DocumentFormat1Choice struct {
	Cd    ExternalDocumentFormat1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Cd"`
	Prtry GenericIdentification1      `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Prtry"`
}

type ExternalDocumentFormat1Code

type ExternalDocumentFormat1Code string

Must be at least 1 items long

type ExternalOrganisationIdentification1Code

type ExternalOrganisationIdentification1Code string

Must be at least 1 items long

type ExternalPersonIdentification1Code

type ExternalPersonIdentification1Code string

Must be at least 1 items long

type ExternalUndertakingDocumentType1Code

type ExternalUndertakingDocumentType1Code string

Must be at least 1 items long

type GenericIdentification1

type GenericIdentification1 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Id"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 SchmeNm,omitempty"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Issr,omitempty"`
}

type GenericOrganisationIdentification1

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

type GenericPersonIdentification1

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

type Max140Text string

Must be at least 1 items long

type Max16Text

type Max16Text string

Must be at least 1 items long

type Max2000Text

type Max2000Text string

Must be at least 1 items long

type Max2048Text

type Max2048Text string

Must be at least 1 items long

type Max2MBBinary

type Max2MBBinary []byte

func (Max2MBBinary) MarshalText

func (t Max2MBBinary) MarshalText() ([]byte, error)

func (*Max2MBBinary) UnmarshalText

func (t *Max2MBBinary) UnmarshalText(text []byte) error

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max70Text

type Max70Text string

Must be at least 1 items long

type NamePrefix1Code

type NamePrefix1Code string

May be one of DOCT, MIST, MISS, MADM

type OrganisationIdentification8

type OrganisationIdentification8 struct {
	AnyBIC AnyBICIdentifier                     `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 AnyBIC,omitempty"`
	Othr   []GenericOrganisationIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Othr,omitempty"`
}

type OrganisationIdentificationSchemeName1Choice

type OrganisationIdentificationSchemeName1Choice struct {
	Cd    ExternalOrganisationIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Cd"`
	Prtry Max35Text                               `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Prtry"`
}

type Party11Choice

type Party11Choice struct {
	OrgId  OrganisationIdentification8 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 OrgId"`
	PrvtId PersonIdentification5       `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 PrvtId"`
}

type PartyAndSignature2

type PartyAndSignature2 struct {
	Pty   PartyIdentification43 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Pty"`
	Sgntr ProprietaryData3      `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Sgntr"`
}

type PartyIdentification43

type PartyIdentification43 struct {
	Nm        Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Nm,omitempty"`
	PstlAdr   PostalAddress6  `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 PstlAdr,omitempty"`
	Id        Party11Choice   `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Id,omitempty"`
	CtryOfRes CountryCode     `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 CtryOfRes,omitempty"`
	CtctDtls  ContactDetails2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 CtctDtls,omitempty"`
}

type PersonIdentification5

type PersonIdentification5 struct {
	DtAndPlcOfBirth DateAndPlaceOfBirth            `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 DtAndPlcOfBirth,omitempty"`
	Othr            []GenericPersonIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Othr,omitempty"`
}

type PersonIdentificationSchemeName1Choice

type PersonIdentificationSchemeName1Choice struct {
	Cd    ExternalPersonIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Cd"`
	Prtry Max35Text                         `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Prtry"`
}

type PhoneNumber

type PhoneNumber string

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

type PostalAddress6

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

type ProprietaryData3

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

type TerminationReason1Choice

type TerminationReason1Choice struct {
	Cd    TerminationReason1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Cd"`
	Prtry GenericIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Prtry"`
}

type TerminationReason1Code

type TerminationReason1Code string

May be one of REFU, NOAC, BUFI, WOEX

type Undertaking9

type Undertaking9 struct {
	Id           Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Id"`
	Issr         PartyIdentification43 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Issr"`
	ApplcntRefNb Max35Text             `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 ApplcntRefNb,omitempty"`
}

type UndertakingDocumentType1Choice

type UndertakingDocumentType1Choice struct {
	Cd    ExternalUndertakingDocumentType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Cd"`
	Prtry GenericIdentification1               `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Prtry"`
}

type UndertakingTermination3

type UndertakingTermination3 struct {
	FctvDt   ISODate                  `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 FctvDt"`
	Rsn      TerminationReason1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 Rsn,omitempty"`
	AddtlInf []Max2000Text            `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 AddtlInf,omitempty"`
}

type UndertakingTerminationNotice1

type UndertakingTerminationNotice1 struct {
	UdrtkgId    Undertaking9            `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 UdrtkgId"`
	TermntnDtls UndertakingTermination3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 TermntnDtls"`
	NclsdFile   []Document9             `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 NclsdFile,omitempty"`
	AddtlInf    []Max2000Text           `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 AddtlInf,omitempty"`
}

type UndertakingTerminationNotificationV01

type UndertakingTerminationNotificationV01 struct {
	UdrtkgTermntnNtfctnDtls UndertakingTerminationNotice1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 UdrtkgTermntnNtfctnDtls"`
	DgtlSgntr               PartyAndSignature2            `xml:"urn:iso:std:iso:20022:tech:xsd:tsrv.012.001.01 DgtlSgntr,omitempty"`
}

Jump to

Keyboard shortcuts

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