auth_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: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAndParties1

type AccountAndParties1 struct {
	Id            CashAccount25              `xml:"Id"`
	InvstgtdPties InvestigatedParties1Choice `xml:"InvstgtdPties"`
	AuthrtyReqTp  []AuthorityRequestType1    `xml:"AuthrtyReqTp" json:",omitempty"`
}

func (AccountAndParties1) Validate

func (r AccountAndParties1) Validate() error

type AccountIdentification4Choice

type AccountIdentification4Choice struct {
	IBAN common.IBAN2007Identifier     `xml:"IBAN"`
	Othr GenericAccountIdentification1 `xml:"Othr"`
}

func (AccountIdentification4Choice) Validate

func (r AccountIdentification4Choice) Validate() error

type AccountSchemeName1Choice

type AccountSchemeName1Choice struct {
	Cd    ExternalAccountIdentification1Code `xml:"Cd"`
	Prtry common.Max35Text                   `xml:"Prtry"`
}

func (AccountSchemeName1Choice) Validate

func (r AccountSchemeName1Choice) Validate() error

type AuthorityInvestigation2

type AuthorityInvestigation2 struct {
	Tp                 AuthorityRequestType1       `xml:"Tp"`
	InvstgtdRoles      InvestigatedParties1Choice  `xml:"InvstgtdRoles"`
	AddtlInvstgtdPties *InvestigatedParties1Choice `xml:"AddtlInvstgtdPties,omitempty" json:",omitempty"`
	AddtlInf           *common.Max500Text          `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (AuthorityInvestigation2) Validate

func (r AuthorityInvestigation2) Validate() error

type AuthorityRequestType1

type AuthorityRequestType1 struct {
	MsgNmId common.Max35Text   `xml:"MsgNmId"`
	MsgNm   *common.Max140Text `xml:"MsgNm,omitempty" json:",omitempty"`
}

func (AuthorityRequestType1) Validate

func (r AuthorityRequestType1) Validate() error

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 CashAccount25

type CashAccount25 struct {
	Id   AccountIdentification4Choice                  `xml:"Id"`
	Tp   *CashAccountType2Choice                       `xml:"Tp,omitempty" json:",omitempty"`
	Ccy  *common.ActiveOrHistoricCurrencyCode          `xml:"Ccy,omitempty" json:",omitempty"`
	Nm   *common.Max70Text                             `xml:"Nm,omitempty" json:",omitempty"`
	Ownr *PartyIdentification43                        `xml:"Ownr,omitempty" json:",omitempty"`
	Svcr *BranchAndFinancialInstitutionIdentification5 `xml:"Svcr,omitempty" json:",omitempty"`
}

func (CashAccount25) Validate

func (r CashAccount25) Validate() error

type CashAccountType2Choice

type CashAccountType2Choice struct {
	Cd    ExternalCashAccountType1Code `xml:"Cd"`
	Prtry common.Max35Text             `xml:"Prtry"`
}

func (CashAccountType2Choice) Validate

func (r CashAccountType2Choice) 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 CustomerIdentification1

type CustomerIdentification1 struct {
	Pty        PartyIdentification43     `xml:"Pty"`
	AuthrtyReq []AuthorityInvestigation2 `xml:"AuthrtyReq" json:",omitempty"`
}

func (CustomerIdentification1) Validate

func (r CustomerIdentification1) 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 DateOrDateTimePeriodChoice

type DateOrDateTimePeriodChoice struct {
	Dt   DatePeriodDetails     `xml:"Dt"`
	DtTm DateTimePeriodDetails `xml:"DtTm"`
}

func (DateOrDateTimePeriodChoice) Validate

func (r DateOrDateTimePeriodChoice) Validate() error

type DatePeriodDetails

type DatePeriodDetails struct {
	FrDt common.ISODate `xml:"FrDt"`
	ToDt common.ISODate `xml:"ToDt"`
}

func (DatePeriodDetails) Validate

func (r DatePeriodDetails) Validate() error

type DateTimePeriodDetails

type DateTimePeriodDetails struct {
	FrDtTm common.ISODateTime `xml:"FrDtTm"`
	ToDtTm common.ISODateTime `xml:"ToDtTm"`
}

func (DateTimePeriodDetails) Validate

func (r DateTimePeriodDetails) Validate() error

type DueDate1

type DueDate1 struct {
	DueDt    *common.ISODate    `xml:"DueDt,omitempty" json:",omitempty"`
	AddtlInf *common.Max140Text `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (DueDate1) Validate

func (r DueDate1) Validate() error

type ExternalAccountIdentification1Code

type ExternalAccountIdentification1Code string

Must be at least 1 items long

func (ExternalAccountIdentification1Code) Validate

type ExternalCashAccountType1Code

type ExternalCashAccountType1Code string

Must be at least 1 items long

func (ExternalCashAccountType1Code) Validate

func (r ExternalCashAccountType1Code) 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 GenericAccountIdentification1

type GenericAccountIdentification1 struct {
	Id      common.Max34Text          `xml:"Id"`
	SchmeNm *AccountSchemeName1Choice `xml:"SchmeNm,omitempty" json:",omitempty"`
	Issr    *common.Max35Text         `xml:"Issr,omitempty" json:",omitempty"`
}

func (GenericAccountIdentification1) Validate

func (r GenericAccountIdentification1) Validate() error

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 InformationRequestOpeningV01

type InformationRequestOpeningV01 struct {
	XMLName     xml.Name                   `xml:"InfReqOpng"`
	InvstgtnId  common.Max35Text           `xml:"InvstgtnId"`
	LglMndtBsis LegalMandate1              `xml:"LglMndtBsis"`
	CnfdtltySts bool                       `xml:"CnfdtltySts"`
	DueDt       *DueDate1                  `xml:"DueDt,omitempty" json:",omitempty"`
	InvstgtnPrd DateOrDateTimePeriodChoice `xml:"InvstgtnPrd"`
	SchCrit     SearchCriteria1Choice      `xml:"SchCrit"`
	SplmtryData []SupplementaryData1       `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (InformationRequestOpeningV01) Validate

func (r InformationRequestOpeningV01) Validate() error

type InformationRequestResponseV01

type InformationRequestResponseV01 struct {
	XMLName     xml.Name              `xml:"InfReqRspn"`
	RspnId      common.Max35Text      `xml:"RspnId"`
	InvstgtnId  common.Max35Text      `xml:"InvstgtnId"`
	RspnSts     StatusResponse1Code   `xml:"RspnSts"`
	SchCrit     SearchCriteria1Choice `xml:"SchCrit"`
	RtrInd      []ReturnIndicator1    `xml:"RtrInd" json:",omitempty"`
	SplmtryData []SupplementaryData1  `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (InformationRequestResponseV01) Validate

func (r InformationRequestResponseV01) Validate() error

type InformationRequestStatusChangeNotificationV01

type InformationRequestStatusChangeNotificationV01 struct {
	XMLName     xml.Name             `xml:"InfReqStsChngNtfctn"`
	OrgnlBizQry common.Max35Text     `xml:"OrgnlBizQry"`
	CnfdtltySts bool                 `xml:"CnfdtltySts"`
	SplmtryData []SupplementaryData1 `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (InformationRequestStatusChangeNotificationV01) Validate

type InvestigatedParties1Choice

type InvestigatedParties1Choice struct {
	Cd    InvestigatedParties1Code `xml:"Cd"`
	Prtry common.Max35Text         `xml:"Prtry"`
}

func (InvestigatedParties1Choice) Validate

func (r InvestigatedParties1Choice) Validate() error

type InvestigatedParties1Code

type InvestigatedParties1Code string

May be one of ALLP, OWNE

func (InvestigatedParties1Code) Validate

func (r InvestigatedParties1Code) Validate() error

type InvestigationResult1Choice

type InvestigationResult1Choice struct {
	Rslt        SupplementaryDataEnvelope1 `xml:"Rslt"`
	InvstgtnSts InvestigationStatus1Code   `xml:"InvstgtnSts"`
}

func (InvestigationResult1Choice) Validate

func (r InvestigationResult1Choice) Validate() error

type InvestigationStatus1Code

type InvestigationStatus1Code string

May be one of FOUN, NFOU, NOAP

func (InvestigationStatus1Code) Validate

func (r InvestigationStatus1Code) Validate() error

type LegalMandate1

type LegalMandate1 struct {
	Prgrph common.Max35Text   `xml:"Prgrph"`
	Dsclmr *common.Max350Text `xml:"Dsclmr,omitempty" json:",omitempty"`
}

func (LegalMandate1) Validate

func (r LegalMandate1) Validate() error

type Min8Max28NumericText

type Min8Max28NumericText string

Must match the pattern [0-9]{8,28}

func (Min8Max28NumericText) Validate

func (r Min8Max28NumericText) Validate() error

type OrganisationIdentification8

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

func (OrganisationIdentification8) Validate

func (r OrganisationIdentification8) Validate() error

type OrganisationIdentificationSchemeName1Choice

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

func (OrganisationIdentificationSchemeName1Choice) Validate

type Party11Choice

type Party11Choice struct {
	OrgId  OrganisationIdentification8 `xml:"OrgId"`
	PrvtId PersonIdentification5       `xml:"PrvtId"`
}

func (Party11Choice) Validate

func (r Party11Choice) Validate() error

type PartyIdentification43

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

func (PartyIdentification43) Validate

func (r PartyIdentification43) Validate() error

type PaymentInstrumentType1

type PaymentInstrumentType1 struct {
	CardNb       Min8Max28NumericText    `xml:"CardNb"`
	AuthrtyReqTp []AuthorityRequestType1 `xml:"AuthrtyReqTp" json:",omitempty"`
	AddtlInf     *common.Max500Text      `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (PaymentInstrumentType1) Validate

func (r PaymentInstrumentType1) 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 RequestType1

type RequestType1 struct {
	Nb       common.Max35Text              `xml:"Nb"`
	Tp       []TransactionRequestType1Code `xml:"Tp" json:",omitempty"`
	AddtlInf *common.Max500Text            `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (RequestType1) Validate

func (r RequestType1) Validate() error

type ReturnIndicator1

type ReturnIndicator1 struct {
	RspnPrd      *DateOrDateTimePeriodChoice `xml:"RspnPrd,omitempty" json:",omitempty"`
	AuthrtyReqTp *AuthorityRequestType1      `xml:"AuthrtyReqTp"`
	InvstgtnRslt InvestigationResult1Choice  `xml:"InvstgtnRslt"`
	AddtlInf     *common.Max500Text          `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (ReturnIndicator1) Validate

func (r ReturnIndicator1) Validate() error

type SearchCriteria1Choice

type SearchCriteria1Choice struct {
	Acct      AccountAndParties1      `xml:"Acct"`
	CstmrId   CustomerIdentification1 `xml:"CstmrId"`
	PmtInstrm PaymentInstrumentType1  `xml:"PmtInstrm"`
	OrgnlTxNb []RequestType1          `xml:"OrgnlTxNb" json:",omitempty"`
}

func (SearchCriteria1Choice) Validate

func (r SearchCriteria1Choice) Validate() error

type StatusResponse1Code

type StatusResponse1Code string

May be one of NRES, PART, COMP

func (StatusResponse1Code) Validate

func (r StatusResponse1Code) Validate() error

type SupplementaryData1

type SupplementaryData1 struct {
	PlcAndNm *common.Max350Text         `xml:"PlcAndNm,omitempty" json:",omitempty"`
	Envlp    SupplementaryDataEnvelope1 `xml:"Envlp"`
}

func (SupplementaryData1) Validate

func (r SupplementaryData1) Validate() error

type SupplementaryDataEnvelope1

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

func (SupplementaryDataEnvelope1) Validate

func (r SupplementaryDataEnvelope1) Validate() error

type TransactionRequestType1Code

type TransactionRequestType1Code string

May be one of DTTX, OREC

func (TransactionRequestType1Code) Validate

func (r TransactionRequestType1Code) Validate() error

Jump to

Keyboard shortcuts

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