pain_v08

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 ActiveCurrencyAndAmount

type ActiveCurrencyAndAmount struct {
	Value float64                   `xml:",chardata"`
	Ccy   common.ActiveCurrencyCode `xml:"Ccy,attr"`
}

func (ActiveCurrencyAndAmount) Validate

func (r ActiveCurrencyAndAmount) Validate() error

type ActiveOrHistoricCurrencyAndAmount

type ActiveOrHistoricCurrencyAndAmount struct {
	Value float64                             `xml:",chardata"`
	Ccy   common.ActiveOrHistoricCurrencyCode `xml:"Ccy,attr"`
}

func (ActiveOrHistoricCurrencyAndAmount) Validate

type AddressType3Choice

type AddressType3Choice struct {
	Cd    common.AddressType2Code `xml:"Cd"`
	Prtry GenericIdentification30 `xml:"Prtry"`
}

func (AddressType3Choice) Validate

func (r AddressType3Choice) Validate() error

type AdviceType1

type AdviceType1 struct {
	CdtAdvc *AdviceType1Choice `xml:"CdtAdvc,omitempty" json:",omitempty"`
	DbtAdvc *AdviceType1Choice `xml:"DbtAdvc,omitempty" json:",omitempty"`
}

func (AdviceType1) Validate

func (r AdviceType1) Validate() error

type AdviceType1Choice

type AdviceType1Choice struct {
	Cd    AdviceType1Code  `xml:"Cd"`
	Prtry common.Max35Text `xml:"Prtry"`
}

func (AdviceType1Choice) Validate

func (r AdviceType1Choice) Validate() error

type AdviceType1Code

type AdviceType1Code string

May be one of ADWD, ADWD

func (AdviceType1Code) Validate

func (r AdviceType1Code) Validate() error

type AmountOrRate1Choice

type AmountOrRate1Choice struct {
	Amt  ActiveCurrencyAndAmount `xml:"Amt"`
	Rate float64                 `xml:"Rate"`
}

func (AmountOrRate1Choice) Validate

func (r AmountOrRate1Choice) Validate() error

type AmountType4Choice

type AmountType4Choice struct {
	InstdAmt ActiveOrHistoricCurrencyAndAmount `xml:"InstdAmt"`
	EqvtAmt  EquivalentAmount2                 `xml:"EqvtAmt"`
}

func (AmountType4Choice) Validate

func (r AmountType4Choice) Validate() error

type BranchAndFinancialInstitutionIdentification6

type BranchAndFinancialInstitutionIdentification6 struct {
	FinInstnId FinancialInstitutionIdentification18 `xml:"FinInstnId"`
	BrnchId    *BranchData3                         `xml:"BrnchId,omitempty" json:",omitempty"`
}

func (BranchAndFinancialInstitutionIdentification6) Validate

type BranchData3

type BranchData3 struct {
	Id      *common.Max35Text     `xml:"Id,omitempty" json:",omitempty"`
	LEI     *common.LEIIdentifier `xml:"LEI,omitempty" json:",omitempty"`
	Nm      *common.Max140Text    `xml:"Nm,omitempty" json:",omitempty"`
	PstlAdr *PostalAddress24      `xml:"PstlAdr,omitempty" json:",omitempty"`
}

func (BranchData3) Validate

func (r BranchData3) Validate() error

type CashAccount38

type CashAccount38 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"`
	Prxy *ProxyAccountIdentification1         `xml:"Prxy,omitempty" json:",omitempty"`
}

func (CashAccount38) Validate

func (r CashAccount38) 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 CategoryPurpose1Choice

type CategoryPurpose1Choice struct {
	Cd    ExternalCategoryPurpose1Code `xml:"Cd"`
	Prtry common.Max35Text             `xml:"Prtry"`
}

func (CategoryPurpose1Choice) Validate

func (r CategoryPurpose1Choice) Validate() error

type ChargeBearerType1Code

type ChargeBearerType1Code string

May be one of DEBT, CRED, SHAR, SLEV

func (ChargeBearerType1Code) Validate

func (r ChargeBearerType1Code) Validate() error

type Charges7

type Charges7 struct {
	Amt ActiveOrHistoricCurrencyAndAmount            `xml:"Amt"`
	Agt BranchAndFinancialInstitutionIdentification6 `xml:"Agt"`
}

func (Charges7) Validate

func (r Charges7) Validate() error

type Cheque11

type Cheque11 struct {
	ChqTp       *ChequeType2Code             `xml:"ChqTp,omitempty" json:",omitempty"`
	ChqNb       *common.Max35Text            `xml:"ChqNb,omitempty" json:",omitempty"`
	ChqFr       *NameAndAddress16            `xml:"ChqFr,omitempty" json:",omitempty"`
	DlvryMtd    *ChequeDeliveryMethod1Choice `xml:"DlvryMtd,omitempty" json:",omitempty"`
	DlvrTo      *NameAndAddress16            `xml:"DlvrTo,omitempty" json:",omitempty"`
	InstrPrty   *Priority2Code               `xml:"InstrPrty,omitempty" json:",omitempty"`
	ChqMtrtyDt  *common.ISODate              `xml:"ChqMtrtyDt,omitempty" json:",omitempty"`
	FrmsCd      *common.Max35Text            `xml:"FrmsCd,omitempty" json:",omitempty"`
	MemoFld     []common.Max35Text           `xml:"MemoFld,omitempty" json:",omitempty"`
	RgnlClrZone *common.Max35Text            `xml:"RgnlClrZone,omitempty" json:",omitempty"`
	PrtLctn     *common.Max35Text            `xml:"PrtLctn,omitempty" json:",omitempty"`
	Sgntr       []common.Max70Text           `xml:"Sgntr,omitempty" json:",omitempty"`
}

func (Cheque11) Validate

func (r Cheque11) Validate() error

type ChequeDelivery1Code

type ChequeDelivery1Code string

May be one of MLDB, MLCD, MLFA, CRDB, CRCD, CRFA, PUDB, PUCD, PUFA, RGDB, RGCD, RGFA

func (ChequeDelivery1Code) Validate

func (r ChequeDelivery1Code) Validate() error

type ChequeDeliveryMethod1Choice

type ChequeDeliveryMethod1Choice struct {
	Cd    ChequeDelivery1Code `xml:"Cd"`
	Prtry common.Max35Text    `xml:"Prtry"`
}

func (ChequeDeliveryMethod1Choice) Validate

func (r ChequeDeliveryMethod1Choice) Validate() error

type ChequeType2Code

type ChequeType2Code string

May be one of CCHQ, CCCH, BCHQ, DRFT, ELDR

func (ChequeType2Code) Validate

func (r ChequeType2Code) 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 Contact4

type Contact4 struct {
	NmPrfx    *common.NamePrefix2Code      `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"`
	EmailPurp *common.Max35Text            `xml:"EmailPurp,omitempty" json:",omitempty"`
	JobTitl   *common.Max35Text            `xml:"JobTitl,omitempty" json:",omitempty"`
	Rspnsblty *common.Max35Text            `xml:"Rspnsblty,omitempty" json:",omitempty"`
	Dept      *common.Max70Text            `xml:"Dept,omitempty" json:",omitempty"`
	Othr      []OtherContact1              `xml:"Othr,omitempty" json:",omitempty"`
	PrefrdMtd *PreferredContactMethod1Code `xml:"PrefrdMtd,omitempty" json:",omitempty"`
}

func (Contact4) Validate

func (r Contact4) Validate() error

type CreditTransferMandateData1

type CreditTransferMandateData1 struct {
	MndtId       *common.Max35Text          `xml:"MndtId,omitempty" json:",omitempty"`
	Tp           *MandateTypeInformation2   `xml:"Tp,omitempty" json:",omitempty"`
	DtOfSgntr    *common.ISODate            `xml:"DtOfSgntr,omitempty" json:",omitempty"`
	DtOfVrfctn   *common.ISODateTime        `xml:"DtOfVrfctn,omitempty" json:",omitempty"`
	ElctrncSgntr *common.Max10KBinary       `xml:"ElctrncSgntr,omitempty" json:",omitempty"`
	FrstPmtDt    *common.ISODate            `xml:"FrstPmtDt,omitempty" json:",omitempty"`
	FnlPmtDt     *common.ISODate            `xml:"FnlPmtDt,omitempty" json:",omitempty"`
	Frqcy        *Frequency36Choice         `xml:"Frqcy,omitempty" json:",omitempty"`
	Rsn          *MandateSetupReason1Choice `xml:"Rsn,omitempty" json:",omitempty"`
}

func (CreditTransferMandateData1) Validate

func (r CreditTransferMandateData1) Validate() error

type CreditTransferTransaction42

type CreditTransferTransaction42 struct {
	PmtId           PaymentIdentification6                        `xml:"PmtId"`
	PmtTpInf        *PaymentTypeInformation26                     `xml:"PmtTpInf,omitempty" json:",omitempty"`
	PmtCond         *PaymentCondition1                            `xml:"PmtCond,omitempty" json:",omitempty"`
	Amt             AmountType4Choice                             `xml:"Amt"`
	ChrgBr          ChargeBearerType1Code                         `xml:"ChrgBr"`
	MndtRltdInf     *CreditTransferMandateData1                   `xml:"MndtRltdInf,omitempty" json:",omitempty"`
	ChqInstr        *Cheque11                                     `xml:"ChqInstr,omitempty" json:",omitempty"`
	UltmtDbtr       *PartyIdentification135                       `xml:"UltmtDbtr,omitempty" json:",omitempty"`
	IntrmyAgt1      *BranchAndFinancialInstitutionIdentification6 `xml:"IntrmyAgt1,omitempty" json:",omitempty"`
	IntrmyAgt2      *BranchAndFinancialInstitutionIdentification6 `xml:"IntrmyAgt2,omitempty" json:",omitempty"`
	IntrmyAgt3      *BranchAndFinancialInstitutionIdentification6 `xml:"IntrmyAgt3,omitempty" json:",omitempty"`
	CdtrAgt         BranchAndFinancialInstitutionIdentification6  `xml:"CdtrAgt"`
	Cdtr            PartyIdentification135                        `xml:"Cdtr"`
	CdtrAcct        *CashAccount38                                `xml:"CdtrAcct,omitempty" json:",omitempty"`
	UltmtCdtr       *PartyIdentification135                       `xml:"UltmtCdtr,omitempty" json:",omitempty"`
	InstrForCdtrAgt []InstructionForCreditorAgent3                `xml:"InstrForCdtrAgt,omitempty" json:",omitempty"`
	Purp            *Purpose2Choice                               `xml:"Purp,omitempty" json:",omitempty"`
	RgltryRptg      []RegulatoryReporting3                        `xml:"RgltryRptg,omitempty" json:",omitempty"`
	Tax             *TaxInformation8                              `xml:"Tax,omitempty" json:",omitempty"`
	RltdRmtInf      []RemittanceLocation7                         `xml:"RltdRmtInf,omitempty" json:",omitempty"`
	RmtInf          *RemittanceInformation16                      `xml:"RmtInf,omitempty" json:",omitempty"`
	NclsdFile       []Document12                                  `xml:"NclsdFile,omitempty" json:",omitempty"`
	SplmtryData     []SupplementaryData1                          `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreditTransferTransaction42) Validate

func (r CreditTransferTransaction42) Validate() error

type CreditorPaymentActivationRequestStatusReportV08

type CreditorPaymentActivationRequestStatusReportV08 struct {
	XMLName           xml.Name                       `xml:"CdtrPmtActvtnReqStsRpt"`
	GrpHdr            GroupHeader87                  `xml:"GrpHdr"`
	OrgnlGrpInfAndSts OriginalGroupInformation30     `xml:"OrgnlGrpInfAndSts"`
	OrgnlPmtInfAndSts []OriginalPaymentInstruction39 `xml:"OrgnlPmtInfAndSts,omitempty" json:",omitempty"`
	SplmtryData       []SupplementaryData1           `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreditorPaymentActivationRequestStatusReportV08) Validate

type CreditorPaymentActivationRequestV08

type CreditorPaymentActivationRequestV08 struct {
	XMLName     xml.Name               `xml:"CdtrPmtActvtnReq"`
	GrpHdr      GroupHeader78          `xml:"GrpHdr"`
	PmtInf      []PaymentInstruction35 `xml:"PmtInf" json:",omitempty"`
	SplmtryData []SupplementaryData1   `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreditorPaymentActivationRequestV08) Validate

type CreditorReferenceInformation2

type CreditorReferenceInformation2 struct {
	Tp  *CreditorReferenceType2 `xml:"Tp,omitempty" json:",omitempty"`
	Ref *common.Max35Text       `xml:"Ref,omitempty" json:",omitempty"`
}

func (CreditorReferenceInformation2) Validate

func (r CreditorReferenceInformation2) Validate() error

type CreditorReferenceType1Choice

type CreditorReferenceType1Choice struct {
	Cd    DocumentType3Code `xml:"Cd"`
	Prtry common.Max35Text  `xml:"Prtry"`
}

func (CreditorReferenceType1Choice) Validate

func (r CreditorReferenceType1Choice) Validate() error

type CreditorReferenceType2

type CreditorReferenceType2 struct {
	CdOrPrtry CreditorReferenceType1Choice `xml:"CdOrPrtry"`
	Issr      *common.Max35Text            `xml:"Issr,omitempty" json:",omitempty"`
}

func (CreditorReferenceType2) Validate

func (r CreditorReferenceType2) Validate() error

type DateAndDateTime2Choice

type DateAndDateTime2Choice struct {
	Dt   common.ISODate     `xml:"Dt"`
	DtTm common.ISODateTime `xml:"DtTm"`
}

func (DateAndDateTime2Choice) Validate

func (r DateAndDateTime2Choice) Validate() error

type DateAndPlaceOfBirth1

type DateAndPlaceOfBirth1 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 (DateAndPlaceOfBirth1) Validate

func (r DateAndPlaceOfBirth1) Validate() error

type DatePeriod2

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

func (DatePeriod2) Validate

func (r DatePeriod2) Validate() error

type DiscountAmountAndType1

type DiscountAmountAndType1 struct {
	Tp  *DiscountAmountType1Choice        `xml:"Tp,omitempty" json:",omitempty"`
	Amt ActiveOrHistoricCurrencyAndAmount `xml:"Amt"`
}

func (DiscountAmountAndType1) Validate

func (r DiscountAmountAndType1) Validate() error

type DiscountAmountType1Choice

type DiscountAmountType1Choice struct {
	Cd    *ExternalDiscountAmountType1Code `xml:"Cd,omitempty" json:",omitempty"`
	Prtry common.Max35Text                 `xml:"Prtry"`
}

func (DiscountAmountType1Choice) Validate

func (r DiscountAmountType1Choice) Validate() error

type Document12

type Document12 struct {
	Tp        DocumentType1Choice    `xml:"Tp"`
	Id        common.Max35Text       `xml:"Id"`
	IsseDt    DateAndDateTime2Choice `xml:"IsseDt"`
	Nm        *common.Max140Text     `xml:"Nm,omitempty" json:",omitempty"`
	LangCd    string                 `xml:"LangCd,omitempty" json:",omitempty"`
	Frmt      DocumentFormat1Choice  `xml:"Frmt"`
	FileNm    *common.Max140Text     `xml:"FileNm,omitempty" json:",omitempty"`
	DgtlSgntr *PartyAndSignature3    `xml:"DgtlSgntr,omitempty" json:",omitempty"`
	Nclsr     common.Max10MbBinary   `xml:"Nclsr"`
}

func (Document12) Validate

func (r Document12) Validate() error

type DocumentAdjustment1

type DocumentAdjustment1 struct {
	Amt       ActiveOrHistoricCurrencyAndAmount `xml:"Amt"`
	CdtDbtInd *common.CreditDebitCode           `xml:"CdtDbtInd,omitempty" json:",omitempty"`
	Rsn       *common.Max4Text                  `xml:"Rsn,omitempty" json:",omitempty"`
	AddtlInf  *common.Max140Text                `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (DocumentAdjustment1) Validate

func (r DocumentAdjustment1) Validate() error

type DocumentFormat1Choice

type DocumentFormat1Choice struct {
	Cd    ExternalDocumentFormat1Code `xml:"Cd"`
	Prtry GenericIdentification1      `xml:"Prtry"`
}

func (DocumentFormat1Choice) Validate

func (r DocumentFormat1Choice) Validate() error

type DocumentLineIdentification1

type DocumentLineIdentification1 struct {
	Tp     *DocumentLineType1 `xml:"Tp,omitempty" json:",omitempty"`
	Nb     *common.Max35Text  `xml:"Nb,omitempty" json:",omitempty"`
	RltdDt *common.ISODate    `xml:"RltdDt,omitempty" json:",omitempty"`
}

func (DocumentLineIdentification1) Validate

func (r DocumentLineIdentification1) Validate() error

type DocumentLineInformation1

type DocumentLineInformation1 struct {
	Id   []DocumentLineIdentification1 `xml:"Id" json:",omitempty"`
	Desc *common.Max2048Text           `xml:"Desc,omitempty" json:",omitempty"`
	Amt  *RemittanceAmount3            `xml:"Amt,omitempty" json:",omitempty"`
}

func (DocumentLineInformation1) Validate

func (r DocumentLineInformation1) Validate() error

type DocumentLineType1

type DocumentLineType1 struct {
	CdOrPrtry DocumentLineType1Choice `xml:"CdOrPrtry"`
	Issr      *common.Max35Text       `xml:"Issr,omitempty" json:",omitempty"`
}

func (DocumentLineType1) Validate

func (r DocumentLineType1) Validate() error

type DocumentLineType1Choice

type DocumentLineType1Choice struct {
	Cd    ExternalDocumentLineType1Code `xml:"Cd"`
	Prtry common.Max35Text              `xml:"Prtry"`
}

func (DocumentLineType1Choice) Validate

func (r DocumentLineType1Choice) Validate() error

type DocumentType1Choice

type DocumentType1Choice struct {
	Cd    ExternalDocumentType1Code `xml:"Cd"`
	Prtry GenericIdentification1    `xml:"Prtry"`
}

func (DocumentType1Choice) Validate

func (r DocumentType1Choice) Validate() error

type DocumentType3Code

type DocumentType3Code string

May be one of RADM, RPIN, FXDR, DISP, PUOR, SCOR

func (DocumentType3Code) Validate

func (r DocumentType3Code) Validate() error

type DocumentType6Code

type DocumentType6Code string

May be one of MSIN, CNFA, DNFA, CINV, CREN, DEBN, HIRI, SBIN, CMCN, SOAC, DISP, BOLD, VCHR, AROI, TSUT, PUOR

func (DocumentType6Code) Validate

func (r DocumentType6Code) Validate() error

type EquivalentAmount2

type EquivalentAmount2 struct {
	Amt      ActiveOrHistoricCurrencyAndAmount   `xml:"Amt"`
	CcyOfTrf common.ActiveOrHistoricCurrencyCode `xml:"CcyOfTrf"`
}

func (EquivalentAmount2) Validate

func (r EquivalentAmount2) 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 ExternalCategoryPurpose1Code

type ExternalCategoryPurpose1Code string

Must be at least 1 items long

func (ExternalCategoryPurpose1Code) Validate

func (r ExternalCategoryPurpose1Code) Validate() error

type ExternalClearingSystemIdentification1Code

type ExternalClearingSystemIdentification1Code string

Must be at least 1 items long

func (ExternalClearingSystemIdentification1Code) Validate

type ExternalCreditorAgentInstruction1Code

type ExternalCreditorAgentInstruction1Code string

Must be at least 1 items long

func (ExternalCreditorAgentInstruction1Code) Validate

type ExternalDiscountAmountType1Code

type ExternalDiscountAmountType1Code string

Must be at least 1 items long

func (ExternalDiscountAmountType1Code) Validate

type ExternalDocumentFormat1Code

type ExternalDocumentFormat1Code string

Must be at least 1 items long

func (ExternalDocumentFormat1Code) Validate

func (r ExternalDocumentFormat1Code) Validate() error

type ExternalDocumentLineType1Code

type ExternalDocumentLineType1Code string

Must be at least 1 items long

func (ExternalDocumentLineType1Code) Validate

func (r ExternalDocumentLineType1Code) Validate() error

type ExternalDocumentType1Code

type ExternalDocumentType1Code string

Must be at least 1 items long

func (ExternalDocumentType1Code) Validate

func (r ExternalDocumentType1Code) Validate() error

type ExternalFinancialInstitutionIdentification1Code

type ExternalFinancialInstitutionIdentification1Code string

Must be at least 1 items long

func (ExternalFinancialInstitutionIdentification1Code) Validate

type ExternalGarnishmentType1Code

type ExternalGarnishmentType1Code string

Must be at least 1 items long

func (ExternalGarnishmentType1Code) Validate

func (r ExternalGarnishmentType1Code) Validate() error

type ExternalLocalInstrument1Code

type ExternalLocalInstrument1Code string

Must be at least 1 items long

func (ExternalLocalInstrument1Code) Validate

func (r ExternalLocalInstrument1Code) Validate() error

type ExternalMandateSetupReason1Code

type ExternalMandateSetupReason1Code string

Must be at least 1 items long

func (ExternalMandateSetupReason1Code) Validate

type ExternalOrganisationIdentification1Code

type ExternalOrganisationIdentification1Code string

Must be at least 1 items long

func (ExternalOrganisationIdentification1Code) Validate

type ExternalPaymentGroupStatus1Code

type ExternalPaymentGroupStatus1Code string

Must be at least 1 items long

func (ExternalPaymentGroupStatus1Code) Validate

type ExternalPaymentTransactionStatus1Code

type ExternalPaymentTransactionStatus1Code string

Must be at least 1 items long

func (ExternalPaymentTransactionStatus1Code) Validate

type ExternalPersonIdentification1Code

type ExternalPersonIdentification1Code string

Must be at least 1 items long

func (ExternalPersonIdentification1Code) Validate

type ExternalProxyAccountType1Code

type ExternalProxyAccountType1Code string

Must be at least 1 items long

func (ExternalProxyAccountType1Code) Validate

func (r ExternalProxyAccountType1Code) Validate() error

type ExternalPurpose1Code

type ExternalPurpose1Code string

Must be at least 1 items long

func (ExternalPurpose1Code) Validate

func (r ExternalPurpose1Code) Validate() error

type ExternalServiceLevel1Code

type ExternalServiceLevel1Code string

Must be at least 1 items long

func (ExternalServiceLevel1Code) Validate

func (r ExternalServiceLevel1Code) Validate() error

type ExternalStatusReason1Code

type ExternalStatusReason1Code string

Must be at least 1 items long

func (ExternalStatusReason1Code) Validate

func (r ExternalStatusReason1Code) Validate() error

type ExternalTaxAmountType1Code

type ExternalTaxAmountType1Code string

Must be at least 1 items long

func (ExternalTaxAmountType1Code) Validate

func (r ExternalTaxAmountType1Code) Validate() error

type FinancialIdentificationSchemeName1Choice

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

func (FinancialIdentificationSchemeName1Choice) Validate

type FinancialInstitutionIdentification18

type FinancialInstitutionIdentification18 struct {
	BICFI       *common.BICFIDec2014Identifier       `xml:"BICFI,omitempty" json:",omitempty"`
	ClrSysMmbId *ClearingSystemMemberIdentification2 `xml:"ClrSysMmbId,omitempty" json:",omitempty"`
	LEI         *common.LEIIdentifier                `xml:"LEI,omitempty" json:",omitempty"`
	Nm          *common.Max140Text                   `xml:"Nm,omitempty" json:",omitempty"`
	PstlAdr     *PostalAddress24                     `xml:"PstlAdr,omitempty" json:",omitempty"`
	Othr        *GenericFinancialIdentification1     `xml:"Othr,omitempty" json:",omitempty"`
}

func (FinancialInstitutionIdentification18) Validate

type Frequency36Choice

type Frequency36Choice struct {
	Tp     Frequency6Code      `xml:"Tp"`
	Prd    FrequencyPeriod1    `xml:"Prd"`
	PtInTm FrequencyAndMoment1 `xml:"PtInTm"`
}

func (Frequency36Choice) Validate

func (r Frequency36Choice) Validate() error

type Frequency6Code

type Frequency6Code string

May be one of YEAR, MNTH, QURT, MIAN, WEEK, DAIL, ADHO, INDA, FRTN

func (Frequency6Code) Validate

func (r Frequency6Code) Validate() error

type FrequencyAndMoment1

type FrequencyAndMoment1 struct {
	Tp     Frequency6Code           `xml:"Tp"`
	PtInTm common.Exact2NumericText `xml:"PtInTm"`
}

func (FrequencyAndMoment1) Validate

func (r FrequencyAndMoment1) Validate() error

type FrequencyPeriod1

type FrequencyPeriod1 struct {
	Tp        Frequency6Code `xml:"Tp"`
	CntPerPrd float64        `xml:"CntPerPrd"`
}

func (FrequencyPeriod1) Validate

func (r FrequencyPeriod1) Validate() error

type Garnishment3

type Garnishment3 struct {
	Tp                GarnishmentType1                   `xml:"Tp"`
	Grnshee           *PartyIdentification135            `xml:"Grnshee,omitempty" json:",omitempty"`
	GrnshmtAdmstr     *PartyIdentification135            `xml:"GrnshmtAdmstr,omitempty" json:",omitempty"`
	RefNb             *common.Max140Text                 `xml:"RefNb,omitempty" json:",omitempty"`
	Dt                *common.ISODate                    `xml:"Dt,omitempty" json:",omitempty"`
	RmtdAmt           *ActiveOrHistoricCurrencyAndAmount `xml:"RmtdAmt,omitempty" json:",omitempty"`
	FmlyMdclInsrncInd bool                               `xml:"FmlyMdclInsrncInd,omitempty" json:",omitempty"`
	MplyeeTermntnInd  bool                               `xml:"MplyeeTermntnInd,omitempty" json:",omitempty"`
}

func (Garnishment3) Validate

func (r Garnishment3) Validate() error

type GarnishmentType1

type GarnishmentType1 struct {
	CdOrPrtry GarnishmentType1Choice `xml:"CdOrPrtry"`
	Issr      *common.Max35Text      `xml:"Issr,omitempty" json:",omitempty"`
}

func (GarnishmentType1) Validate

func (r GarnishmentType1) Validate() error

type GarnishmentType1Choice

type GarnishmentType1Choice struct {
	Cd    ExternalGarnishmentType1Code `xml:"Cd"`
	Prtry common.Max35Text             `xml:"Prtry"`
}

func (GarnishmentType1Choice) Validate

func (r GarnishmentType1Choice) Validate() error

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 GenericIdentification1

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

func (GenericIdentification1) Validate

func (r GenericIdentification1) Validate() error

type GenericIdentification30

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

func (GenericIdentification30) Validate

func (r GenericIdentification30) Validate() error

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 GroupHeader78

type GroupHeader78 struct {
	MsgId    common.Max35Text        `xml:"MsgId"`
	CreDtTm  common.ISODateTime      `xml:"CreDtTm"`
	NbOfTxs  common.Max15NumericText `xml:"NbOfTxs"`
	CtrlSum  float64                 `xml:"CtrlSum,omitempty" json:",omitempty"`
	InitgPty PartyIdentification135  `xml:"InitgPty"`
}

func (GroupHeader78) Validate

func (r GroupHeader78) Validate() error

type GroupHeader87

type GroupHeader87 struct {
	MsgId    common.Max35Text                             `xml:"MsgId"`
	CreDtTm  common.ISODateTime                           `xml:"CreDtTm"`
	InitgPty PartyIdentification135                       `xml:"InitgPty"`
	DbtrAgt  BranchAndFinancialInstitutionIdentification6 `xml:"DbtrAgt,omitempty" json:",omitempty"`
	CdtrAgt  BranchAndFinancialInstitutionIdentification6 `xml:"CdtrAgt,omitempty" json:",omitempty"`
}

func (GroupHeader87) Validate

func (r GroupHeader87) Validate() error

type InstructionForCreditorAgent3

type InstructionForCreditorAgent3 struct {
	Cd       *ExternalCreditorAgentInstruction1Code `xml:"Cd,omitempty" json:",omitempty"`
	InstrInf *common.Max140Text                     `xml:"InstrInf,omitempty" json:",omitempty"`
}

func (InstructionForCreditorAgent3) Validate

func (r InstructionForCreditorAgent3) Validate() error

type LocalInstrument2Choice

type LocalInstrument2Choice struct {
	Cd    ExternalLocalInstrument1Code `xml:"Cd"`
	Prtry common.Max35Text             `xml:"Prtry"`
}

func (LocalInstrument2Choice) Validate

func (r LocalInstrument2Choice) Validate() error

type MandateClassification1Choice

type MandateClassification1Choice struct {
	Cd    common.MandateClassification1Code `xml:"Cd"`
	Prtry common.Max35Text                  `xml:"Prtry"`
}

func (MandateClassification1Choice) Validate

func (r MandateClassification1Choice) Validate() error

type MandateSetupReason1Choice

type MandateSetupReason1Choice struct {
	Cd    ExternalMandateSetupReason1Code `xml:"Cd"`
	Prtry common.Max70Text                `xml:"Prtry"`
}

func (MandateSetupReason1Choice) Validate

func (r MandateSetupReason1Choice) Validate() error

type MandateTypeInformation2

type MandateTypeInformation2 struct {
	SvcLvl    *ServiceLevel8Choice          `xml:"SvcLvl,omitempty" json:",omitempty"`
	LclInstrm *LocalInstrument2Choice       `xml:"LclInstrm,omitempty" json:",omitempty"`
	CtgyPurp  *CategoryPurpose1Choice       `xml:"CtgyPurp,omitempty" json:",omitempty"`
	Clssfctn  *MandateClassification1Choice `xml:"Clssfctn,omitempty" json:",omitempty"`
}

func (MandateTypeInformation2) Validate

func (r MandateTypeInformation2) Validate() error

type NameAndAddress16

type NameAndAddress16 struct {
	Nm  common.Max140Text `xml:"Nm"`
	Adr PostalAddress24   `xml:"Adr"`
}

func (NameAndAddress16) Validate

func (r NameAndAddress16) Validate() error

type NumberOfTransactionsPerStatus5

type NumberOfTransactionsPerStatus5 struct {
	DtldNbOfTxs common.Max15NumericText               `xml:"DtldNbOfTxs"`
	DtldSts     ExternalPaymentTransactionStatus1Code `xml:"DtldSts"`
	DtldCtrlSum float64                               `xml:"DtldCtrlSum,omitempty" json:",omitempty"`
}

func (NumberOfTransactionsPerStatus5) Validate

type OrganisationIdentification29

type OrganisationIdentification29 struct {
	AnyBIC *common.AnyBICDec2014Identifier      `xml:"AnyBIC,omitempty" json:",omitempty"`
	LEI    *common.LEIIdentifier                `xml:"LEI,omitempty" json:",omitempty"`
	Othr   []GenericOrganisationIdentification1 `xml:"Othr,omitempty" json:",omitempty"`
}

func (OrganisationIdentification29) Validate

func (r OrganisationIdentification29) Validate() error

type OrganisationIdentificationSchemeName1Choice

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

func (OrganisationIdentificationSchemeName1Choice) Validate

type OriginalGroupInformation30

type OriginalGroupInformation30 struct {
	OrgnlMsgId    common.Max35Text                 `xml:"OrgnlMsgId"`
	OrgnlMsgNmId  common.Max35Text                 `xml:"OrgnlMsgNmId"`
	OrgnlCreDtTm  common.ISODateTime               `xml:"OrgnlCreDtTm,omitempty" json:",omitempty"`
	OrgnlNbOfTxs  common.Max15NumericText          `xml:"OrgnlNbOfTxs,omitempty" json:",omitempty"`
	OrgnlCtrlSum  float64                          `xml:"OrgnlCtrlSum,omitempty" json:",omitempty"`
	GrpSts        ExternalPaymentGroupStatus1Code  `xml:"GrpSts,omitempty" json:",omitempty"`
	StsRsnInf     []StatusReasonInformation12      `xml:"StsRsnInf,omitempty" json:",omitempty"`
	NbOfTxsPerSts []NumberOfTransactionsPerStatus5 `xml:"NbOfTxsPerSts,omitempty" json:",omitempty"`
}

func (OriginalGroupInformation30) Validate

func (r OriginalGroupInformation30) Validate() error

type OriginalPaymentInstruction39

type OriginalPaymentInstruction39 struct {
	OrgnlPmtInfId common.Max35Text                 `xml:"OrgnlPmtInfId"`
	OrgnlNbOfTxs  common.Max15NumericText          `xml:"OrgnlNbOfTxs,omitempty" json:",omitempty"`
	OrgnlCtrlSum  float64                          `xml:"OrgnlCtrlSum,omitempty" json:",omitempty"`
	PmtInfSts     ExternalPaymentGroupStatus1Code  `xml:"PmtInfSts,omitempty" json:",omitempty"`
	StsRsnInf     []StatusReasonInformation12      `xml:"StsRsnInf,omitempty" json:",omitempty"`
	NbOfTxsPerSts []NumberOfTransactionsPerStatus5 `xml:"NbOfTxsPerSts,omitempty" json:",omitempty"`
	TxInfAndSts   []PaymentTransaction128          `xml:"TxInfAndSts,omitempty" json:",omitempty"`
}

func (OriginalPaymentInstruction39) Validate

func (r OriginalPaymentInstruction39) Validate() error

type OriginalTransactionReference33

type OriginalTransactionReference33 struct {
	Amt         AmountType4Choice                            `xml:"Amt,omitempty" json:",omitempty"`
	ReqdExctnDt DateAndDateTime2Choice                       `xml:"ReqdExctnDt,omitempty" json:",omitempty"`
	XpryDt      DateAndDateTime2Choice                       `xml:"XpryDt,omitempty" json:",omitempty"`
	PmtCond     PaymentCondition1                            `xml:"PmtCond,omitempty" json:",omitempty"`
	PmtTpInf    PaymentTypeInformation26                     `xml:"PmtTpInf,omitempty" json:",omitempty"`
	PmtMtd      PaymentMethod4Code                           `xml:"PmtMtd,omitempty" json:",omitempty"`
	MndtRltdInf CreditTransferMandateData1                   `xml:"MndtRltdInf,omitempty" json:",omitempty"`
	RmtInf      RemittanceInformation16                      `xml:"RmtInf,omitempty" json:",omitempty"`
	NclsdFile   []Document12                                 `xml:"NclsdFile,omitempty" json:",omitempty"`
	UltmtDbtr   PartyIdentification135                       `xml:"UltmtDbtr,omitempty" json:",omitempty"`
	Dbtr        PartyIdentification135                       `xml:"Dbtr,omitempty" json:",omitempty"`
	DbtrAcct    CashAccount38                                `xml:"DbtrAcct,omitempty" json:",omitempty"`
	DbtrAgt     BranchAndFinancialInstitutionIdentification6 `xml:"DbtrAgt,omitempty" json:",omitempty"`
	CdtrAgt     BranchAndFinancialInstitutionIdentification6 `xml:"CdtrAgt"`
	Cdtr        PartyIdentification135                       `xml:"Cdtr"`
	CdtrAcct    CashAccount38                                `xml:"CdtrAcct,omitempty" json:",omitempty"`
	UltmtCdtr   PartyIdentification135                       `xml:"UltmtCdtr,omitempty" json:",omitempty"`
}

func (OriginalTransactionReference33) Validate

type OtherContact1

type OtherContact1 struct {
	ChanlTp common.Max4Text    `xml:"ChanlTp"`
	Id      *common.Max128Text `xml:"Id,omitempty" json:",omitempty"`
}

func (OtherContact1) Validate

func (r OtherContact1) Validate() error

type Party38Choice

type Party38Choice struct {
	OrgId  OrganisationIdentification29 `xml:"OrgId"`
	PrvtId PersonIdentification13       `xml:"PrvtId"`
}

func (Party38Choice) Validate

func (r Party38Choice) Validate() error

type PartyAndSignature3

type PartyAndSignature3 struct {
	Pty   PartyIdentification135 `xml:"Pty"`
	Sgntr SkipPayload            `xml:"Sgntr"`
}

func (PartyAndSignature3) Validate

func (r PartyAndSignature3) Validate() error

type PartyIdentification135

type PartyIdentification135 struct {
	Nm        *common.Max140Text  `xml:"Nm,omitempty" json:",omitempty"`
	PstlAdr   *PostalAddress24    `xml:"PstlAdr,omitempty" json:",omitempty"`
	Id        *Party38Choice      `xml:"Id,omitempty" json:",omitempty"`
	CtryOfRes *common.CountryCode `xml:"CtryOfRes,omitempty" json:",omitempty"`
	CtctDtls  *Contact4           `xml:"CtctDtls,omitempty" json:",omitempty"`
}

func (PartyIdentification135) Validate

func (r PartyIdentification135) Validate() error

type PaymentCondition1

type PaymentCondition1 struct {
	AmtModAllwd   bool                 `xml:"AmtModAllwd"`
	EarlyPmtAllwd bool                 `xml:"EarlyPmtAllwd"`
	DelyPnlty     *common.Max140Text   `xml:"DelyPnlty,omitempty" json:",omitempty"`
	ImdtPmtRbt    *AmountOrRate1Choice `xml:"ImdtPmtRbt,omitempty" json:",omitempty"`
	GrntedPmtReqd bool                 `xml:"GrntedPmtReqd"`
}

func (PaymentCondition1) Validate

func (r PaymentCondition1) Validate() error

type PaymentConditionStatus1

type PaymentConditionStatus1 struct {
	AccptdAmt ActiveCurrencyAndAmount `xml:"AccptdAmt,omitempty" json:",omitempty"`
	GrntedPmt bool                    `xml:"GrntedPmt"`
	EarlyPmt  bool                    `xml:"EarlyPmt"`
}

func (PaymentConditionStatus1) Validate

func (r PaymentConditionStatus1) Validate() error

type PaymentIdentification6

type PaymentIdentification6 struct {
	InstrId    *common.Max35Text        `xml:"InstrId,omitempty" json:",omitempty"`
	EndToEndId common.Max35Text         `xml:"EndToEndId"`
	UETR       *common.UUIDv4Identifier `xml:"UETR,omitempty" json:",omitempty"`
}

func (PaymentIdentification6) Validate

func (r PaymentIdentification6) Validate() error

type PaymentInstruction35

type PaymentInstruction35 struct {
	PmtInfId    *common.Max35Text                            `xml:"PmtInfId,omitempty" json:",omitempty"`
	PmtMtd      PaymentMethod7Code                           `xml:"PmtMtd"`
	ReqdAdvcTp  *AdviceType1                                 `xml:"ReqdAdvcTp,omitempty" json:",omitempty"`
	PmtTpInf    *PaymentTypeInformation26                    `xml:"PmtTpInf,omitempty" json:",omitempty"`
	ReqdExctnDt DateAndDateTime2Choice                       `xml:"ReqdExctnDt"`
	XpryDt      *DateAndDateTime2Choice                      `xml:"XpryDt,omitempty" json:",omitempty"`
	PmtCond     *PaymentCondition1                           `xml:"PmtCond,omitempty" json:",omitempty"`
	Dbtr        PartyIdentification135                       `xml:"Dbtr"`
	DbtrAcct    *CashAccount38                               `xml:"DbtrAcct,omitempty" json:",omitempty"`
	DbtrAgt     BranchAndFinancialInstitutionIdentification6 `xml:"DbtrAgt"`
	UltmtDbtr   *PartyIdentification135                      `xml:"UltmtDbtr,omitempty" json:",omitempty"`
	ChrgBr      *ChargeBearerType1Code                       `xml:"ChrgBr,omitempty" json:",omitempty"`
	CdtTrfTx    []CreditTransferTransaction42                `xml:"CdtTrfTx" json:",omitempty"`
}

func (PaymentInstruction35) Validate

func (r PaymentInstruction35) Validate() error

type PaymentMethod4Code

type PaymentMethod4Code string

May be one of CHK, TRF, DD, TRA

func (PaymentMethod4Code) Validate

func (r PaymentMethod4Code) Validate() error

type PaymentMethod7Code

type PaymentMethod7Code string

May be one of CHK, TRF

func (PaymentMethod7Code) Validate

func (r PaymentMethod7Code) Validate() error

type PaymentTransaction128

type PaymentTransaction128 struct {
	StsId           common.Max35Text                      `xml:"StsId,omitempty" json:",omitempty"`
	OrgnlInstrId    common.Max35Text                      `xml:"OrgnlInstrId,omitempty" json:",omitempty"`
	OrgnlEndToEndId common.Max35Text                      `xml:"OrgnlEndToEndId,omitempty" json:",omitempty"`
	OrgnlUETR       common.UUIDv4Identifier               `xml:"OrgnlUETR,omitempty" json:",omitempty"`
	TxSts           ExternalPaymentTransactionStatus1Code `xml:"TxSts,omitempty" json:",omitempty"`
	StsRsnInf       []StatusReasonInformation12           `xml:"StsRsnInf,omitempty" json:",omitempty"`
	PmtCondSts      PaymentConditionStatus1               `xml:"PmtCondSts,omitempty" json:",omitempty"`
	ChrgsInf        []Charges7                            `xml:"ChrgsInf,omitempty" json:",omitempty"`
	DbtrDcsnDtTm    common.ISODateTime                    `xml:"DbtrDcsnDtTm,omitempty" json:",omitempty"`
	AccptncDtTm     common.ISODateTime                    `xml:"AccptncDtTm,omitempty" json:",omitempty"`
	AcctSvcrRef     common.Max35Text                      `xml:"AcctSvcrRef,omitempty" json:",omitempty"`
	ClrSysRef       common.Max35Text                      `xml:"ClrSysRef,omitempty" json:",omitempty"`
	OrgnlTxRef      OriginalTransactionReference33        `xml:"OrgnlTxRef,omitempty" json:",omitempty"`
	NclsdFile       []Document12                          `xml:"NclsdFile,omitempty" json:",omitempty"`
	SplmtryData     []SupplementaryData1                  `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (PaymentTransaction128) Validate

func (r PaymentTransaction128) Validate() error

type PaymentTypeInformation26

type PaymentTypeInformation26 struct {
	InstrPrty *Priority2Code          `xml:"InstrPrty,omitempty" json:",omitempty"`
	SvcLvl    []ServiceLevel8Choice   `xml:"SvcLvl,omitempty" json:",omitempty"`
	LclInstrm *LocalInstrument2Choice `xml:"LclInstrm,omitempty" json:",omitempty"`
	CtgyPurp  *CategoryPurpose1Choice `xml:"CtgyPurp,omitempty" json:",omitempty"`
}

func (PaymentTypeInformation26) Validate

func (r PaymentTypeInformation26) Validate() error

type PersonIdentification13

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

func (PersonIdentification13) Validate

func (r PersonIdentification13) Validate() error

type PersonIdentificationSchemeName1Choice

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

func (PersonIdentificationSchemeName1Choice) Validate

type PostalAddress24

type PostalAddress24 struct {
	AdrTp       *AddressType3Choice `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"`
	BldgNm      *common.Max35Text   `xml:"BldgNm,omitempty" json:",omitempty"`
	Flr         *common.Max70Text   `xml:"Flr,omitempty" json:",omitempty"`
	PstBx       *common.Max16Text   `xml:"PstBx,omitempty" json:",omitempty"`
	Room        *common.Max70Text   `xml:"Room,omitempty" json:",omitempty"`
	PstCd       *common.Max16Text   `xml:"PstCd,omitempty" json:",omitempty"`
	TwnNm       *common.Max35Text   `xml:"TwnNm,omitempty" json:",omitempty"`
	TwnLctnNm   *common.Max35Text   `xml:"TwnLctnNm,omitempty" json:",omitempty"`
	DstrctNm    *common.Max35Text   `xml:"DstrctNm,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 (PostalAddress24) Validate

func (r PostalAddress24) Validate() error

type PreferredContactMethod1Code

type PreferredContactMethod1Code string

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

func (PreferredContactMethod1Code) Validate

func (r PreferredContactMethod1Code) Validate() error

type Priority2Code

type Priority2Code string

May be one of HIGH, NORM

func (Priority2Code) Validate

func (r Priority2Code) Validate() error

type ProxyAccountIdentification1

type ProxyAccountIdentification1 struct {
	Tp *ProxyAccountType1Choice `xml:"Tp,omitempty" json:",omitempty"`
	Id common.Max2048Text       `xml:"Id"`
}

func (ProxyAccountIdentification1) Validate

func (r ProxyAccountIdentification1) Validate() error

type ProxyAccountType1Choice

type ProxyAccountType1Choice struct {
	Cd    ExternalProxyAccountType1Code `xml:"Cd"`
	Prtry common.Max35Text              `xml:"Prtry"`
}

func (ProxyAccountType1Choice) Validate

func (r ProxyAccountType1Choice) Validate() error

type Purpose2Choice

type Purpose2Choice struct {
	Cd    ExternalPurpose1Code `xml:"Cd"`
	Prtry common.Max35Text     `xml:"Prtry"`
}

func (Purpose2Choice) Validate

func (r Purpose2Choice) Validate() error

type ReferredDocumentInformation7

type ReferredDocumentInformation7 struct {
	Tp       *ReferredDocumentType4     `xml:"Tp,omitempty" json:",omitempty"`
	Nb       *common.Max35Text          `xml:"Nb,omitempty" json:",omitempty"`
	RltdDt   *common.ISODate            `xml:"RltdDt,omitempty" json:",omitempty"`
	LineDtls []DocumentLineInformation1 `xml:"LineDtls,omitempty" json:",omitempty"`
}

func (ReferredDocumentInformation7) Validate

func (r ReferredDocumentInformation7) Validate() error

type ReferredDocumentType3Choice

type ReferredDocumentType3Choice struct {
	Cd    DocumentType6Code `xml:"Cd"`
	Prtry common.Max35Text  `xml:"Prtry"`
}

func (ReferredDocumentType3Choice) Validate

func (r ReferredDocumentType3Choice) Validate() error

type ReferredDocumentType4

type ReferredDocumentType4 struct {
	CdOrPrtry ReferredDocumentType3Choice `xml:"CdOrPrtry"`
	Issr      *common.Max35Text           `xml:"Issr,omitempty" json:",omitempty"`
}

func (ReferredDocumentType4) Validate

func (r ReferredDocumentType4) Validate() error

type RegulatoryAuthority2

type RegulatoryAuthority2 struct {
	Nm   *common.Max140Text  `xml:"Nm,omitempty" json:",omitempty"`
	Ctry *common.CountryCode `xml:"Ctry,omitempty" json:",omitempty"`
}

func (RegulatoryAuthority2) Validate

func (r RegulatoryAuthority2) Validate() error

type RegulatoryReporting3

type RegulatoryReporting3 struct {
	DbtCdtRptgInd *RegulatoryReportingType1Code    `xml:"DbtCdtRptgInd,omitempty" json:",omitempty"`
	Authrty       *RegulatoryAuthority2            `xml:"Authrty,omitempty" json:",omitempty"`
	Dtls          []StructuredRegulatoryReporting3 `xml:"Dtls,omitempty" json:",omitempty"`
}

func (RegulatoryReporting3) Validate

func (r RegulatoryReporting3) Validate() error

type RegulatoryReportingType1Code

type RegulatoryReportingType1Code string

May be one of CRED, DEBT, BOTH

func (RegulatoryReportingType1Code) Validate

func (r RegulatoryReportingType1Code) Validate() error

type RemittanceAmount2

type RemittanceAmount2 struct {
	DuePyblAmt        *ActiveOrHistoricCurrencyAndAmount `xml:"DuePyblAmt,omitempty" json:",omitempty"`
	DscntApldAmt      []DiscountAmountAndType1           `xml:"DscntApldAmt,omitempty" json:",omitempty"`
	CdtNoteAmt        *ActiveOrHistoricCurrencyAndAmount `xml:"CdtNoteAmt,omitempty" json:",omitempty"`
	TaxAmt            []TaxAmountAndType1                `xml:"TaxAmt,omitempty" json:",omitempty"`
	AdjstmntAmtAndRsn []DocumentAdjustment1              `xml:"AdjstmntAmtAndRsn,omitempty" json:",omitempty"`
	RmtdAmt           *ActiveOrHistoricCurrencyAndAmount `xml:"RmtdAmt,omitempty" json:",omitempty"`
}

func (RemittanceAmount2) Validate

func (r RemittanceAmount2) Validate() error

type RemittanceAmount3

type RemittanceAmount3 struct {
	DuePyblAmt        *ActiveOrHistoricCurrencyAndAmount `xml:"DuePyblAmt,omitempty" json:",omitempty"`
	DscntApldAmt      []DiscountAmountAndType1           `xml:"DscntApldAmt,omitempty" json:",omitempty"`
	CdtNoteAmt        *ActiveOrHistoricCurrencyAndAmount `xml:"CdtNoteAmt,omitempty" json:",omitempty"`
	TaxAmt            []TaxAmountAndType1                `xml:"TaxAmt,omitempty" json:",omitempty"`
	AdjstmntAmtAndRsn []DocumentAdjustment1              `xml:"AdjstmntAmtAndRsn,omitempty" json:",omitempty"`
	RmtdAmt           *ActiveOrHistoricCurrencyAndAmount `xml:"RmtdAmt,omitempty" json:",omitempty"`
}

func (RemittanceAmount3) Validate

func (r RemittanceAmount3) Validate() error

type RemittanceInformation16

type RemittanceInformation16 struct {
	Ustrd []common.Max140Text                 `xml:"Ustrd,omitempty" json:",omitempty"`
	Strd  []StructuredRemittanceInformation16 `xml:"Strd,omitempty" json:",omitempty"`
}

func (RemittanceInformation16) Validate

func (r RemittanceInformation16) Validate() error

type RemittanceLocation7

type RemittanceLocation7 struct {
	RmtId       *common.Max35Text         `xml:"RmtId,omitempty" json:",omitempty"`
	RmtLctnDtls []RemittanceLocationData1 `xml:"RmtLctnDtls,omitempty" json:",omitempty"`
}

func (RemittanceLocation7) Validate

func (r RemittanceLocation7) Validate() error

type RemittanceLocationData1

type RemittanceLocationData1 struct {
	Mtd        RemittanceLocationMethod2Code `xml:"Mtd"`
	ElctrncAdr *common.Max2048Text           `xml:"ElctrncAdr,omitempty" json:",omitempty"`
	PstlAdr    *NameAndAddress16             `xml:"PstlAdr,omitempty" json:",omitempty"`
}

func (RemittanceLocationData1) Validate

func (r RemittanceLocationData1) Validate() error

type RemittanceLocationMethod2Code

type RemittanceLocationMethod2Code string

May be one of FAXI, EDIC, URID, EMAL, POST, SMSM

func (RemittanceLocationMethod2Code) Validate

func (r RemittanceLocationMethod2Code) Validate() error

type ServiceLevel8Choice

type ServiceLevel8Choice struct {
	Cd    ExternalServiceLevel1Code `xml:"Cd"`
	Prtry common.Max35Text          `xml:"Prtry"`
}

func (ServiceLevel8Choice) Validate

func (r ServiceLevel8Choice) Validate() error

type SkipPayload

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

func (SkipPayload) Validate

func (r SkipPayload) Validate() error

type StatusReason6Choice

type StatusReason6Choice struct {
	Cd    ExternalStatusReason1Code `xml:"Cd"`
	Prtry common.Max35Text          `xml:"Prtry"`
}

func (StatusReason6Choice) Validate

func (r StatusReason6Choice) Validate() error

type StatusReasonInformation12

type StatusReasonInformation12 struct {
	Orgtr    PartyIdentification135 `xml:"Orgtr,omitempty" json:",omitempty"`
	Rsn      StatusReason6Choice    `xml:"Rsn,omitempty" json:",omitempty"`
	AddtlInf []common.Max105Text    `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (StatusReasonInformation12) Validate

func (r StatusReasonInformation12) Validate() error

type StructuredRegulatoryReporting3

type StructuredRegulatoryReporting3 struct {
	Tp   *common.Max35Text                  `xml:"Tp,omitempty" json:",omitempty"`
	Dt   *common.ISODate                    `xml:"Dt,omitempty" json:",omitempty"`
	Ctry *common.CountryCode                `xml:"Ctry,omitempty" json:",omitempty"`
	Cd   *common.Max10Text                  `xml:"Cd,omitempty" json:",omitempty"`
	Amt  *ActiveOrHistoricCurrencyAndAmount `xml:"Amt,omitempty" json:",omitempty"`
	Inf  []common.Max35Text                 `xml:"Inf,omitempty" json:",omitempty"`
}

func (StructuredRegulatoryReporting3) Validate

type StructuredRemittanceInformation16

type StructuredRemittanceInformation16 struct {
	RfrdDocInf  []ReferredDocumentInformation7 `xml:"RfrdDocInf,omitempty" json:",omitempty"`
	RfrdDocAmt  *RemittanceAmount2             `xml:"RfrdDocAmt,omitempty" json:",omitempty"`
	CdtrRefInf  *CreditorReferenceInformation2 `xml:"CdtrRefInf,omitempty" json:",omitempty"`
	Invcr       *PartyIdentification135        `xml:"Invcr,omitempty" json:",omitempty"`
	Invcee      *PartyIdentification135        `xml:"Invcee,omitempty" json:",omitempty"`
	TaxRmt      *TaxInformation7               `xml:"TaxRmt,omitempty" json:",omitempty"`
	GrnshmtRmt  *Garnishment3                  `xml:"GrnshmtRmt,omitempty" json:",omitempty"`
	AddtlRmtInf []common.Max140Text            `xml:"AddtlRmtInf,omitempty" json:",omitempty"`
}

func (StructuredRemittanceInformation16) Validate

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 TaxAmount2

type TaxAmount2 struct {
	Rate         float64                            `xml:"Rate,omitempty" json:",omitempty"`
	TaxblBaseAmt *ActiveOrHistoricCurrencyAndAmount `xml:"TaxblBaseAmt,omitempty" json:",omitempty"`
	TtlAmt       *ActiveOrHistoricCurrencyAndAmount `xml:"TtlAmt,omitempty" json:",omitempty"`
	Dtls         []TaxRecordDetails2                `xml:"Dtls,omitempty" json:",omitempty"`
}

func (TaxAmount2) Validate

func (r TaxAmount2) Validate() error

type TaxAmountAndType1

type TaxAmountAndType1 struct {
	Tp  *TaxAmountType1Choice             `xml:"Tp,omitempty" json:",omitempty"`
	Amt ActiveOrHistoricCurrencyAndAmount `xml:"Amt"`
}

func (TaxAmountAndType1) Validate

func (r TaxAmountAndType1) Validate() error

type TaxAmountType1Choice

type TaxAmountType1Choice struct {
	Cd    ExternalTaxAmountType1Code `xml:"Cd"`
	Prtry common.Max35Text           `xml:"Prtry"`
}

func (TaxAmountType1Choice) Validate

func (r TaxAmountType1Choice) Validate() error

type TaxAuthorisation1

type TaxAuthorisation1 struct {
	Titl *common.Max35Text  `xml:"Titl,omitempty" json:",omitempty"`
	Nm   *common.Max140Text `xml:"Nm,omitempty" json:",omitempty"`
}

func (TaxAuthorisation1) Validate

func (r TaxAuthorisation1) Validate() error

type TaxInformation7

type TaxInformation7 struct {
	Cdtr            *TaxParty1                         `xml:"Cdtr,omitempty" json:",omitempty"`
	Dbtr            *TaxParty2                         `xml:"Dbtr,omitempty" json:",omitempty"`
	UltmtDbtr       *TaxParty2                         `xml:"UltmtDbtr,omitempty" json:",omitempty"`
	AdmstnZone      *common.Max35Text                  `xml:"AdmstnZone,omitempty" json:",omitempty"`
	RefNb           *common.Max140Text                 `xml:"RefNb,omitempty" json:",omitempty"`
	Mtd             *common.Max35Text                  `xml:"Mtd,omitempty" json:",omitempty"`
	TtlTaxblBaseAmt *ActiveOrHistoricCurrencyAndAmount `xml:"TtlTaxblBaseAmt,omitempty" json:",omitempty"`
	TtlTaxAmt       *ActiveOrHistoricCurrencyAndAmount `xml:"TtlTaxAmt,omitempty" json:",omitempty"`
	Dt              *common.ISODate                    `xml:"Dt,omitempty" json:",omitempty"`
	SeqNb           float64                            `xml:"SeqNb,omitempty" json:",omitempty"`
	Rcrd            []TaxRecord2                       `xml:"Rcrd,omitempty" json:",omitempty"`
}

func (TaxInformation7) Validate

func (r TaxInformation7) Validate() error

type TaxInformation8

type TaxInformation8 struct {
	Cdtr            *TaxParty1                         `xml:"Cdtr,omitempty" json:",omitempty"`
	Dbtr            *TaxParty2                         `xml:"Dbtr,omitempty" json:",omitempty"`
	AdmstnZone      *common.Max35Text                  `xml:"AdmstnZone,omitempty" json:",omitempty"`
	RefNb           *common.Max140Text                 `xml:"RefNb,omitempty" json:",omitempty"`
	Mtd             *common.Max35Text                  `xml:"Mtd,omitempty" json:",omitempty"`
	TtlTaxblBaseAmt *ActiveOrHistoricCurrencyAndAmount `xml:"TtlTaxblBaseAmt,omitempty" json:",omitempty"`
	TtlTaxAmt       *ActiveOrHistoricCurrencyAndAmount `xml:"TtlTaxAmt,omitempty" json:",omitempty"`
	Dt              *common.ISODate                    `xml:"Dt,omitempty" json:",omitempty"`
	SeqNb           float64                            `xml:"SeqNb,omitempty" json:",omitempty"`
	Rcrd            []TaxRecord2                       `xml:"Rcrd,omitempty" json:",omitempty"`
}

func (TaxInformation8) Validate

func (r TaxInformation8) Validate() error

type TaxParty1

type TaxParty1 struct {
	TaxId  *common.Max35Text `xml:"TaxId,omitempty" json:",omitempty"`
	RegnId *common.Max35Text `xml:"RegnId,omitempty" json:",omitempty"`
	TaxTp  *common.Max35Text `xml:"TaxTp,omitempty" json:",omitempty"`
}

func (TaxParty1) Validate

func (r TaxParty1) Validate() error

type TaxParty2

type TaxParty2 struct {
	TaxId   *common.Max35Text  `xml:"TaxId,omitempty" json:",omitempty"`
	RegnId  *common.Max35Text  `xml:"RegnId,omitempty" json:",omitempty"`
	TaxTp   *common.Max35Text  `xml:"TaxTp,omitempty" json:",omitempty"`
	Authstn *TaxAuthorisation1 `xml:"Authstn,omitempty" json:",omitempty"`
}

func (TaxParty2) Validate

func (r TaxParty2) Validate() error

type TaxPeriod2

type TaxPeriod2 struct {
	Yr     *common.ISODate       `xml:"Yr,omitempty" json:",omitempty"`
	Tp     *TaxRecordPeriod1Code `xml:"Tp,omitempty" json:",omitempty"`
	FrToDt *DatePeriod2          `xml:"FrToDt,omitempty" json:",omitempty"`
}

func (TaxPeriod2) Validate

func (r TaxPeriod2) Validate() error

type TaxRecord2

type TaxRecord2 struct {
	Tp       *common.Max35Text  `xml:"Tp,omitempty" json:",omitempty"`
	Ctgy     *common.Max35Text  `xml:"Ctgy,omitempty" json:",omitempty"`
	CtgyDtls *common.Max35Text  `xml:"CtgyDtls,omitempty" json:",omitempty"`
	DbtrSts  *common.Max35Text  `xml:"DbtrSts,omitempty" json:",omitempty"`
	CertId   *common.Max35Text  `xml:"CertId,omitempty" json:",omitempty"`
	FrmsCd   *common.Max35Text  `xml:"FrmsCd,omitempty" json:",omitempty"`
	Prd      *TaxPeriod2        `xml:"Prd,omitempty" json:",omitempty"`
	TaxAmt   *TaxAmount2        `xml:"TaxAmt,omitempty" json:",omitempty"`
	AddtlInf *common.Max140Text `xml:"AddtlInf,omitempty" json:",omitempty"`
}

func (TaxRecord2) Validate

func (r TaxRecord2) Validate() error

type TaxRecordDetails2

type TaxRecordDetails2 struct {
	Prd *TaxPeriod2                       `xml:"Prd,omitempty" json:",omitempty"`
	Amt ActiveOrHistoricCurrencyAndAmount `xml:"Amt"`
}

func (TaxRecordDetails2) Validate

func (r TaxRecordDetails2) Validate() error

type TaxRecordPeriod1Code

type TaxRecordPeriod1Code string

May be one of MM01, MM02, MM03, MM04, MM05, MM06, MM07, MM08, MM09, MM10, MM11, MM12, QTR1, QTR2, QTR3, QTR4, HLF1, HLF2

func (TaxRecordPeriod1Code) Validate

func (r TaxRecordPeriod1Code) Validate() error

Jump to

Keyboard shortcuts

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