head_v01

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchAndFinancialInstitutionIdentification5

type BranchAndFinancialInstitutionIdentification5 struct {
	FinInstnId FinancialInstitutionIdentification8 `xml:"FinInstnId"`
	BrnchId    *BranchData2                        `xml:"BrnchId,omitempty" json:",omitempty"`
}

func (BranchAndFinancialInstitutionIdentification5) Validate

type BranchData2

type BranchData2 struct {
	Id      *common.Max35Text  `xml:"Id,omitempty" json:",omitempty"`
	Nm      *common.Max140Text `xml:"Nm,omitempty" json:",omitempty"`
	PstlAdr *PostalAddress6    `xml:"PstlAdr,omitempty" json:",omitempty"`
}

func (BranchData2) Validate

func (r BranchData2) Validate() error

type BusinessApplicationHeader1

type BusinessApplicationHeader1 struct {
	CharSet    string                       `xml:"CharSet,omitempty" json:",omitempty"`
	Fr         Party9Choice                 `xml:"Fr"`
	To         Party9Choice                 `xml:"To"`
	BizMsgIdr  common.Max35Text             `xml:"BizMsgIdr"`
	MsgDefIdr  common.Max35Text             `xml:"MsgDefIdr"`
	BizSvc     *common.Max35Text            `xml:"BizSvc,omitempty" json:",omitempty"`
	CreDt      common.ISONormalisedDateTime `xml:"CreDt"`
	CpyDplct   *common.CopyDuplicate1Code   `xml:"CpyDplct,omitempty" json:",omitempty"`
	PssblDplct bool                         `xml:"PssblDplct,omitempty" json:",omitempty"`
	Prty       string                       `xml:"Prty,omitempty" json:",omitempty"`
	Sgntr      *SignatureEnvelope           `xml:"Sgntr,omitempty" json:",omitempty"`
}

func (BusinessApplicationHeader1) Validate

func (r BusinessApplicationHeader1) Validate() error

type BusinessApplicationHeaderV01

type BusinessApplicationHeaderV01 struct {
	XMLName    xml.Name                     `xml:"AppHdr"`
	CharSet    string                       `xml:"CharSet,omitempty" json:",omitempty"`
	Fr         Party9Choice                 `xml:"Fr"`
	To         Party9Choice                 `xml:"To"`
	BizMsgIdr  common.Max35Text             `xml:"BizMsgIdr"`
	MsgDefIdr  common.Max35Text             `xml:"MsgDefIdr"`
	BizSvc     *common.Max35Text            `xml:"BizSvc,omitempty" json:",omitempty"`
	CreDt      common.ISONormalisedDateTime `xml:"CreDt"`
	CpyDplct   *common.CopyDuplicate1Code   `xml:"CpyDplct,omitempty" json:",omitempty"`
	PssblDplct bool                         `xml:"PssblDplct,omitempty" json:",omitempty"`
	Prty       string                       `xml:"Prty,omitempty" json:",omitempty"`
	Sgntr      *SignatureEnvelope           `xml:"Sgntr,omitempty" json:",omitempty"`
	Rltd       *BusinessApplicationHeader1  `xml:"Rltd,omitempty" json:",omitempty"`
}

func (BusinessApplicationHeaderV01) Validate

func (r BusinessApplicationHeaderV01) Validate() error

type ClearingSystemIdentification2Choice

type ClearingSystemIdentification2Choice struct {
	Cd    ExternalClearingSystemIdentification1Code `xml:"Cd"`
	Prtry common.Max35Text                          `xml:"Prtry"`
}

func (ClearingSystemIdentification2Choice) Validate

type ClearingSystemMemberIdentification2

type ClearingSystemMemberIdentification2 struct {
	ClrSysId *ClearingSystemIdentification2Choice `xml:"ClrSysId,omitempty" json:",omitempty"`
	MmbId    common.Max35Text                     `xml:"MmbId"`
}

func (ClearingSystemMemberIdentification2) Validate

type ContactDetails2

type ContactDetails2 struct {
	NmPrfx   *common.NamePrefix1Code `xml:"NmPrfx,omitempty" json:",omitempty"`
	Nm       *common.Max140Text      `xml:"Nm,omitempty" json:",omitempty"`
	PhneNb   *common.PhoneNumber     `xml:"PhneNb,omitempty" json:",omitempty"`
	MobNb    *common.PhoneNumber     `xml:"MobNb,omitempty" json:",omitempty"`
	FaxNb    *common.PhoneNumber     `xml:"FaxNb,omitempty" json:",omitempty"`
	EmailAdr *common.Max2048Text     `xml:"EmailAdr,omitempty" json:",omitempty"`
	Othr     *common.Max35Text       `xml:"Othr,omitempty" json:",omitempty"`
}

func (ContactDetails2) Validate

func (r ContactDetails2) Validate() error

type DateAndPlaceOfBirth

type DateAndPlaceOfBirth struct {
	BirthDt     common.ISODate     `xml:"BirthDt"`
	PrvcOfBirth *common.Max35Text  `xml:"PrvcOfBirth,omitempty" json:",omitempty"`
	CityOfBirth common.Max35Text   `xml:"CityOfBirth"`
	CtryOfBirth common.CountryCode `xml:"CtryOfBirth"`
}

func (DateAndPlaceOfBirth) Validate

func (r DateAndPlaceOfBirth) Validate() error

type ExternalClearingSystemIdentification1Code

type ExternalClearingSystemIdentification1Code string

Must be at least 1 items long

func (ExternalClearingSystemIdentification1Code) Validate

type ExternalFinancialInstitutionIdentification1Code

type ExternalFinancialInstitutionIdentification1Code string

Must be at least 1 items long

func (ExternalFinancialInstitutionIdentification1Code) Validate

type ExternalOrganisationIdentification1Code

type ExternalOrganisationIdentification1Code string

Must be at least 1 items long

func (ExternalOrganisationIdentification1Code) Validate

type ExternalPersonIdentification1Code

type ExternalPersonIdentification1Code string

Must be at least 1 items long

func (ExternalPersonIdentification1Code) Validate

type FinancialIdentificationSchemeName1Choice

type FinancialIdentificationSchemeName1Choice struct {
	Cd    ExternalFinancialInstitutionIdentification1Code `xml:"Cd"`
	Prtry common.Max35Text                                `xml:"Prtry"`
}

func (FinancialIdentificationSchemeName1Choice) Validate

type FinancialInstitutionIdentification8

type FinancialInstitutionIdentification8 struct {
	BICFI       *common.BICFIIdentifier              `xml:"BICFI,omitempty" json:",omitempty"`
	ClrSysMmbId *ClearingSystemMemberIdentification2 `xml:"ClrSysMmbId,omitempty" json:",omitempty"`
	Nm          *common.Max140Text                   `xml:"Nm,omitempty" json:",omitempty"`
	PstlAdr     *PostalAddress6                      `xml:"PstlAdr,omitempty" json:",omitempty"`
	Othr        *GenericFinancialIdentification1     `xml:"Othr,omitempty" json:",omitempty"`
}

func (FinancialInstitutionIdentification8) Validate

type GenericFinancialIdentification1

type GenericFinancialIdentification1 struct {
	Id      common.Max35Text                          `xml:"Id"`
	SchmeNm *FinancialIdentificationSchemeName1Choice `xml:"SchmeNm,omitempty" json:",omitempty"`
	Issr    *common.Max35Text                         `xml:"Issr,omitempty" json:",omitempty"`
}

func (GenericFinancialIdentification1) Validate

type GenericOrganisationIdentification1

type GenericOrganisationIdentification1 struct {
	Id      common.Max35Text                             `xml:"Id"`
	SchmeNm *OrganisationIdentificationSchemeName1Choice `xml:"SchmeNm,omitempty" json:",omitempty"`
	Issr    *common.Max35Text                            `xml:"Issr,omitempty" json:",omitempty"`
}

func (GenericOrganisationIdentification1) Validate

type GenericPersonIdentification1

type GenericPersonIdentification1 struct {
	Id      common.Max35Text                       `xml:"Id"`
	SchmeNm *PersonIdentificationSchemeName1Choice `xml:"SchmeNm,omitempty" json:",omitempty"`
	Issr    *common.Max35Text                      `xml:"Issr,omitempty" json:",omitempty"`
}

func (GenericPersonIdentification1) Validate

func (r GenericPersonIdentification1) Validate() error

type OrganisationIdentification7

type OrganisationIdentification7 struct {
	AnyBIC *common.AnyBICIdentifier             `xml:"AnyBIC,omitempty" json:",omitempty"`
	Othr   []GenericOrganisationIdentification1 `xml:"Othr,omitempty" json:",omitempty"`
}

func (OrganisationIdentification7) Validate

func (r OrganisationIdentification7) Validate() error

type OrganisationIdentificationSchemeName1Choice

type OrganisationIdentificationSchemeName1Choice struct {
	Cd    ExternalOrganisationIdentification1Code `xml:"Cd"`
	Prtry common.Max35Text                        `xml:"Prtry"`
}

func (OrganisationIdentificationSchemeName1Choice) Validate

type Party10Choice

type Party10Choice struct {
	OrgId  OrganisationIdentification7 `xml:"OrgId"`
	PrvtId PersonIdentification5       `xml:"PrvtId"`
}

func (Party10Choice) Validate

func (r Party10Choice) Validate() error

type Party9Choice

type Party9Choice struct {
	OrgId *PartyIdentification42                       `xml:"OrgId,omitempty" json:",omitempty"`
	FIId  BranchAndFinancialInstitutionIdentification5 `xml:"FIId"`
}

func (Party9Choice) Validate

func (r Party9Choice) Validate() error

type PartyIdentification42

type PartyIdentification42 struct {
	Nm        *common.Max140Text  `xml:"Nm,omitempty" json:",omitempty"`
	PstlAdr   *PostalAddress6     `xml:"PstlAdr,omitempty" json:",omitempty"`
	Id        *Party10Choice      `xml:"Id,omitempty" json:",omitempty"`
	CtryOfRes *common.CountryCode `xml:"CtryOfRes,omitempty" json:",omitempty"`
	CtctDtls  *ContactDetails2    `xml:"CtctDtls,omitempty" json:",omitempty"`
}

func (PartyIdentification42) Validate

func (r PartyIdentification42) Validate() error

type PersonIdentification5

type PersonIdentification5 struct {
	DtAndPlcOfBirth *DateAndPlaceOfBirth           `xml:"DtAndPlcOfBirth,omitempty" json:",omitempty"`
	Othr            []GenericPersonIdentification1 `xml:"Othr,omitempty" json:",omitempty"`
}

func (PersonIdentification5) Validate

func (r PersonIdentification5) Validate() error

type PersonIdentificationSchemeName1Choice

type PersonIdentificationSchemeName1Choice struct {
	Cd    ExternalPersonIdentification1Code `xml:"Cd"`
	Prtry common.Max35Text                  `xml:"Prtry"`
}

func (PersonIdentificationSchemeName1Choice) Validate

type PostalAddress6

type PostalAddress6 struct {
	AdrTp       *common.AddressType2Code `xml:"AdrTp,omitempty" json:",omitempty"`
	Dept        *common.Max70Text        `xml:"Dept,omitempty" json:",omitempty"`
	SubDept     *common.Max70Text        `xml:"SubDept,omitempty" json:",omitempty"`
	StrtNm      *common.Max70Text        `xml:"StrtNm,omitempty" json:",omitempty"`
	BldgNb      *common.Max16Text        `xml:"BldgNb,omitempty" json:",omitempty"`
	PstCd       *common.Max16Text        `xml:"PstCd,omitempty" json:",omitempty"`
	TwnNm       *common.Max35Text        `xml:"TwnNm,omitempty" json:",omitempty"`
	CtrySubDvsn *common.Max35Text        `xml:"CtrySubDvsn,omitempty" json:",omitempty"`
	Ctry        *common.CountryCode      `xml:"Ctry,omitempty" json:",omitempty"`
	AdrLine     []common.Max70Text       `xml:"AdrLine,omitempty" json:",omitempty"`
}

func (PostalAddress6) Validate

func (r PostalAddress6) Validate() error

type SignatureEnvelope

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

func (SignatureEnvelope) Validate

func (r SignatureEnvelope) Validate() error

Jump to

Keyboard shortcuts

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