camt_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: 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 AddressType3Choice

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

func (AddressType3Choice) Validate

func (r AddressType3Choice) Validate() error

type Amount2Choice

type Amount2Choice struct {
	AmtWthtCcy float64                 `xml:"AmtWthtCcy"`
	AmtWthCcy  ActiveCurrencyAndAmount `xml:"AmtWthCcy"`
}

func (Amount2Choice) Validate

func (r Amount2Choice) 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 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 CommunicationAddress8

type CommunicationAddress8 struct {
	PstlAdr  LongPostalAddress1Choice `xml:"PstlAdr"`
	PhneNb   common.PhoneNumber       `xml:"PhneNb"`
	FaxNb    *common.PhoneNumber      `xml:"FaxNb,omitempty" json:",omitempty"`
	EmailAdr *common.Max256Text       `xml:"EmailAdr,omitempty" json:",omitempty"`
}

func (CommunicationAddress8) Validate

func (r CommunicationAddress8) Validate() error

type ContactIdentificationAndAddress1

type ContactIdentificationAndAddress1 struct {
	Nm     *common.Max35Text     `xml:"Nm,omitempty" json:",omitempty"`
	Role   PaymentRole1Code      `xml:"Role"`
	ComAdr CommunicationAddress8 `xml:"ComAdr"`
}

func (ContactIdentificationAndAddress1) Validate

type CreateLimitV01

type CreateLimitV01 struct {
	XMLName     xml.Name             `xml:"CretLmt"`
	MsgHdr      MessageHeader1       `xml:"MsgHdr"`
	LmtData     []LimitStructure4    `xml:"LmtData" json:",omitempty"`
	SplmtryData []SupplementaryData1 `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreateLimitV01) Validate

func (r CreateLimitV01) Validate() error

type CreateMemberV01

type CreateMemberV01 struct {
	XMLName     xml.Name                    `xml:"CretMmb"`
	MsgHdr      MessageHeader1              `xml:"MsgHdr"`
	MmbId       MemberIdentification3Choice `xml:"MmbId"`
	ValSet      Member6                     `xml:"ValSet"`
	SplmtryData []SupplementaryData1        `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreateMemberV01) Validate

func (r CreateMemberV01) Validate() error

type CreateReservationV01

type CreateReservationV01 struct {
	XMLName     xml.Name                   `xml:"CretRsvatn"`
	MsgHdr      MessageHeader1             `xml:"MsgHdr"`
	RsvatnId    ReservationIdentification2 `xml:"RsvatnId"`
	ValSet      Reservation4               `xml:"ValSet"`
	SplmtryData []SupplementaryData1       `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreateReservationV01) Validate

func (r CreateReservationV01) Validate() error

type CreateStandingOrderV01

type CreateStandingOrderV01 struct {
	XMLName     xml.Name                     `xml:"CretStgOrdr"`
	MsgHdr      MessageHeader1               `xml:"MsgHdr"`
	StgOrdrId   StandingOrderIdentification4 `xml:"StgOrdrId"`
	ValSet      StandingOrder7               `xml:"ValSet"`
	SplmtryData []SupplementaryData1         `xml:"SplmtryData,omitempty" json:",omitempty"`
}

func (CreateStandingOrderV01) Validate

func (r CreateStandingOrderV01) 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 DatePeriod2

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

func (DatePeriod2) Validate

func (r DatePeriod2) Validate() error

type DatePeriod2Choice

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

func (DatePeriod2Choice) Validate

func (r DatePeriod2Choice) Validate() error

type EventType1Choice

type EventType1Choice struct {
	Cd    ExternalSystemEventType1Code `xml:"Cd"`
	Prtry common.Max35Text             `xml:"Prtry"`
}

func (EventType1Choice) Validate

func (r EventType1Choice) Validate() error

type ExecutionType1Choice

type ExecutionType1Choice struct {
	Tm  common.ISOTime   `xml:"Tm"`
	Evt EventType1Choice `xml:"Evt"`
}

func (ExecutionType1Choice) Validate

func (r ExecutionType1Choice) 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 ExternalMarketInfrastructure1Code

type ExternalMarketInfrastructure1Code string

Must be at least 1 items long

func (ExternalMarketInfrastructure1Code) Validate

type ExternalProxyAccountType1Code

type ExternalProxyAccountType1Code string

Must be at least 1 items long

func (ExternalProxyAccountType1Code) Validate

func (r ExternalProxyAccountType1Code) Validate() error

type ExternalSystemEventType1Code

type ExternalSystemEventType1Code string

Must be at least 1 items long

func (ExternalSystemEventType1Code) Validate

func (r ExternalSystemEventType1Code) 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 Frequency2Code

type Frequency2Code string

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

func (Frequency2Code) Validate

func (r Frequency2Code) 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 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 LimitIdentification5

type LimitIdentification5 struct {
	SysId          *SystemIdentification2Choice                  `xml:"SysId,omitempty" json:",omitempty"`
	BilLmtCtrPtyId *BranchAndFinancialInstitutionIdentification6 `xml:"BilLmtCtrPtyId,omitempty" json:",omitempty"`
	Tp             LimitType1Choice                              `xml:"Tp"`
	AcctOwnr       *BranchAndFinancialInstitutionIdentification6 `xml:"AcctOwnr,omitempty" json:",omitempty"`
	AcctId         *AccountIdentification4Choice                 `xml:"AcctId,omitempty" json:",omitempty"`
}

func (LimitIdentification5) Validate

func (r LimitIdentification5) Validate() error

type LimitStructure4

type LimitStructure4 struct {
	LmtId     LimitIdentification5    `xml:"LmtId"`
	StartDtTm *DateAndDateTime2Choice `xml:"StartDtTm,omitempty" json:",omitempty"`
	Amt       Amount2Choice           `xml:"Amt"`
	CdtDbtInd *common.CreditDebitCode `xml:"CdtDbtInd,omitempty" json:",omitempty"`
}

func (LimitStructure4) Validate

func (r LimitStructure4) Validate() error

type LimitType1Choice

type LimitType1Choice struct {
	Cd    LimitType3Code   `xml:"Cd"`
	Prtry common.Max35Text `xml:"Prtry"`
}

func (LimitType1Choice) Validate

func (r LimitType1Choice) Validate() error

type LimitType3Code

type LimitType3Code string

May be one of MULT, BILI, MAND, DISC, NELI, INBI, GLBL, DIDB, SPLC, SPLF, TDLC, TDLF, UCDT, ACOL, EXGT

func (LimitType3Code) Validate

func (r LimitType3Code) Validate() error

type LongPostalAddress1Choice

type LongPostalAddress1Choice struct {
	Ustrd common.Max140Text            `xml:"Ustrd"`
	Strd  StructuredLongPostalAddress1 `xml:"Strd"`
}

func (LongPostalAddress1Choice) Validate

func (r LongPostalAddress1Choice) Validate() error

type MarketInfrastructureIdentification1Choice

type MarketInfrastructureIdentification1Choice struct {
	Cd    ExternalMarketInfrastructure1Code `xml:"Cd"`
	Prtry common.Max35Text                  `xml:"Prtry"`
}

func (MarketInfrastructureIdentification1Choice) Validate

type Member6

type Member6 struct {
	MmbRtrAdr []MemberIdentification3Choice      `xml:"MmbRtrAdr,omitempty" json:",omitempty"`
	CtctRef   []ContactIdentificationAndAddress1 `xml:"CtctRef,omitempty" json:",omitempty"`
	ComAdr    *CommunicationAddress8             `xml:"ComAdr,omitempty" json:",omitempty"`
}

func (Member6) Validate

func (r Member6) Validate() error

type MemberIdentification3Choice

type MemberIdentification3Choice struct {
	BICFI       common.BICFIDec2014Identifier       `xml:"BICFI"`
	ClrSysMmbId ClearingSystemMemberIdentification2 `xml:"ClrSysMmbId"`
	Othr        GenericFinancialIdentification1     `xml:"Othr"`
}

func (MemberIdentification3Choice) Validate

func (r MemberIdentification3Choice) Validate() error

type MessageHeader1

type MessageHeader1 struct {
	MsgId   common.Max35Text    `xml:"MsgId"`
	CreDtTm *common.ISODateTime `xml:"CreDtTm,omitempty" json:",omitempty"`
}

func (MessageHeader1) Validate

func (r MessageHeader1) Validate() error

type PaymentRole1Code

type PaymentRole1Code string

May be one of LQMG, LMMG, PYMG, REDR, BKMG, STMG

func (PaymentRole1Code) Validate

func (r PaymentRole1Code) Validate() error

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 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 Reservation4

type Reservation4 struct {
	StartDtTm *DateAndDateTime2Choice `xml:"StartDtTm,omitempty" json:",omitempty"`
	Amt       Amount2Choice           `xml:"Amt"`
}

func (Reservation4) Validate

func (r Reservation4) Validate() error

type ReservationIdentification2

type ReservationIdentification2 struct {
	RsvatnId *common.Max35Text                             `xml:"RsvatnId,omitempty" json:",omitempty"`
	SysId    *SystemIdentification2Choice                  `xml:"SysId,omitempty" json:",omitempty"`
	Tp       ReservationType1Choice                        `xml:"Tp"`
	AcctOwnr *BranchAndFinancialInstitutionIdentification6 `xml:"AcctOwnr,omitempty" json:",omitempty"`
	AcctId   *AccountIdentification4Choice                 `xml:"AcctId,omitempty" json:",omitempty"`
}

func (ReservationIdentification2) Validate

func (r ReservationIdentification2) Validate() error

type ReservationType1Choice

type ReservationType1Choice struct {
	Cd    ReservationType2Code `xml:"Cd"`
	Prtry common.Max35Text     `xml:"Prtry"`
}

func (ReservationType1Choice) Validate

func (r ReservationType1Choice) Validate() error

type ReservationType2Code

type ReservationType2Code string

May be one of CARE, UPAR, NSSR, HPAR, THRE, BLKD

func (ReservationType2Code) Validate

func (r ReservationType2Code) Validate() error

type StandingOrder7

type StandingOrder7 struct {
	Amt          *Amount2Choice                                `xml:"Amt,omitempty" json:",omitempty"`
	Cdtr         *BranchAndFinancialInstitutionIdentification6 `xml:"Cdtr,omitempty" json:",omitempty"`
	CdtrAcct     *CashAccount38                                `xml:"CdtrAcct,omitempty" json:",omitempty"`
	Dbtr         *BranchAndFinancialInstitutionIdentification6 `xml:"Dbtr,omitempty" json:",omitempty"`
	DbtrAcct     *CashAccount38                                `xml:"DbtrAcct,omitempty" json:",omitempty"`
	ExctnTp      *ExecutionType1Choice                         `xml:"ExctnTp,omitempty" json:",omitempty"`
	Frqcy        *Frequency2Code                               `xml:"Frqcy,omitempty" json:",omitempty"`
	VldtyPrd     *DatePeriod2Choice                            `xml:"VldtyPrd,omitempty" json:",omitempty"`
	ZeroSweepInd bool                                          `xml:"ZeroSweepInd,omitempty" json:",omitempty"`
}

func (StandingOrder7) Validate

func (r StandingOrder7) Validate() error

type StandingOrderIdentification4

type StandingOrderIdentification4 struct {
	Id       *common.Max35Text                             `xml:"Id,omitempty" json:",omitempty"`
	Acct     CashAccount38                                 `xml:"Acct"`
	AcctOwnr *BranchAndFinancialInstitutionIdentification6 `xml:"AcctOwnr,omitempty" json:",omitempty"`
}

func (StandingOrderIdentification4) Validate

func (r StandingOrderIdentification4) Validate() error

type StructuredLongPostalAddress1

type StructuredLongPostalAddress1 struct {
	BldgNm     *common.Max35Text  `xml:"BldgNm,omitempty" json:",omitempty"`
	StrtNm     *common.Max35Text  `xml:"StrtNm,omitempty" json:",omitempty"`
	StrtBldgId *common.Max35Text  `xml:"StrtBldgId,omitempty" json:",omitempty"`
	Flr        *common.Max16Text  `xml:"Flr,omitempty" json:",omitempty"`
	TwnNm      common.Max35Text   `xml:"TwnNm"`
	DstrctNm   *common.Max35Text  `xml:"DstrctNm,omitempty" json:",omitempty"`
	RgnId      *common.Max35Text  `xml:"RgnId,omitempty" json:",omitempty"`
	Stat       *common.Max35Text  `xml:"Stat,omitempty" json:",omitempty"`
	CtyId      *common.Max35Text  `xml:"CtyId,omitempty" json:",omitempty"`
	Ctry       common.CountryCode `xml:"Ctry"`
	PstCdId    common.Max16Text   `xml:"PstCdId"`
	POB        *common.Max16Text  `xml:"POB,omitempty" json:",omitempty"`
}

func (StructuredLongPostalAddress1) Validate

func (r StructuredLongPostalAddress1) 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 SystemIdentification2Choice

type SystemIdentification2Choice struct {
	MktInfrstrctrId MarketInfrastructureIdentification1Choice `xml:"MktInfrstrctrId"`
	Ctry            common.CountryCode                        `xml:"Ctry"`
}

func (SystemIdentification2Choice) Validate

func (r SystemIdentification2Choice) Validate() error

Jump to

Keyboard shortcuts

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