cain_008_001_01

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

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquirerReconciliationResponse1

type AcquirerReconciliationResponse1 struct {
	Envt CardTransactionEnvironment5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Envt"`
	Tx   CardTransaction10           `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Tx"`
}

type Algorithm11Code

type Algorithm11Code string

May be one of HS25, HS38, HS51, HS01

type Algorithm12Code

type Algorithm12Code string

May be one of MACC, MCCS, CMA1, MCC1, CMA9, CMA5

type Algorithm13Code

type Algorithm13Code string

May be one of EA2C, E3DC, DKP9, UKPT, UKA1, EA9C, EA5C

type Algorithm7Code

type Algorithm7Code string

May be one of ERSA, RSAO

type Algorithm8Code

type Algorithm8Code string

May be one of MGF1

type AlgorithmIdentification11

type AlgorithmIdentification11 struct {
	Algo  Algorithm7Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Algo"`
	Param Parameter4     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification12

type AlgorithmIdentification12 struct {
	Algo  Algorithm8Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Algo"`
	Param Parameter5     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification13

type AlgorithmIdentification13 struct {
	Algo  Algorithm13Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Algo"`
	Param Parameter6      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification15

type AlgorithmIdentification15 struct {
	Algo  Algorithm12Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Algo"`
	Param Parameter7      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Param,omitempty"`
}

type AmountAndDirection41

type AmountAndDirection41 struct {
	Amt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Amt"`
	Sgn bool              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Sgn,omitempty"`
}

type AttributeType1Code

type AttributeType1Code string

May be one of CNAT, LATT, OATT, OUAT, CATT

type AuthenticatedData4

type AuthenticatedData4 struct {
	Vrsn        float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Vrsn,omitempty"`
	Rcpt        []Recipient4Choice        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Rcpt"`
	MACAlgo     AlgorithmIdentification15 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 MACAlgo"`
	NcpsltdCntt EncapsulatedContent3      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 NcpsltdCntt"`
	MAC         Max140Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 MAC"`
}

type BytePadding1Code

type BytePadding1Code string

May be one of LNGT, NUL8, NULG, NULL, RAND

type CardTransaction10

type CardTransaction10 struct {
	Rcncltn       TransactionIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Rcncltn,omitempty"`
	IntrBkSttlmDt ISODate                `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 IntrBkSttlmDt,omitempty"`
	InitrTxDtTm   ISODateTime            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 InitrTxDtTm"`
	InitrTxId     Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 InitrTxId"`
	TxLifeCyclId  Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TxLifeCyclId,omitempty"`
	RcncltnTtls   TransactionTotals4     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcncltnTtls,omitempty"`
	AmtNetRcncltn AmountAndDirection41   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 AmtNetRcncltn,omitempty"`
	TxRspn        ResponseType2          `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TxRspn"`
}

type CardTransactionEnvironment5

type CardTransactionEnvironment5 struct {
	SndgInstn  GenericIdentification73 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 SndgInstn"`
	RcvgInstn  GenericIdentification73 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcvgInstn"`
	SttlmInstn GenericIdentification73 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 SttlmInstn"`
}

type CertificateIssuer1

type CertificateIssuer1 struct {
	RltvDstngshdNm []RelativeDistinguishedName1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RltvDstngshdNm"`
}

type ContentInformationType15

type ContentInformationType15 struct {
	CnttTp       ContentType2Code   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 CnttTp"`
	AuthntcdData AuthenticatedData4 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 AuthntcdData"`
}

type ContentType2Code

type ContentType2Code string

May be one of DATA, SIGN, EVLP, DGST, AUTH

type CurrencyAndAmount

type CurrencyAndAmount struct {
	Value float64      `xml:",chardata"`
	Ccy   CurrencyCode `xml:"Ccy,attr"`
}

type CurrencyCode

type CurrencyCode string

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

type Document

type Document struct {
	RcncltnRspn ReconciliationResponse `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcncltnRspn"`
}

type EncapsulatedContent3

type EncapsulatedContent3 struct {
	CnttTp ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 CnttTp"`
	Cntt   Max100KBinary    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Cntt,omitempty"`
}

type EncryptionFormat1Code

type EncryptionFormat1Code string

May be one of TR31, TR34

type GenericIdentification73

type GenericIdentification73 struct {
	Id     Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Id"`
	Tp     PartyType9Code    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Tp,omitempty"`
	Issr   PartyType9Code    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Issr,omitempty"`
	Ctry   Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Ctry,omitempty"`
	ShrtNm Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 ShrtNm,omitempty"`
}

type GenericIdentification74

type GenericIdentification74 struct {
	Id     Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Id"`
	Tp     PartyType10Code   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Tp"`
	Issr   PartyType10Code   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Issr,omitempty"`
	Ctry   Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Ctry,omitempty"`
	ShrtNm Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 ShrtNm,omitempty"`
}

type Header17

type Header17 struct {
	MsgFctn        MessageFunction6Code    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 MsgFctn"`
	PrtcolVrsn     Max6Text                `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 PrtcolVrsn"`
	XchgId         Max3NumericText         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 XchgId"`
	ReTrnsmssnCntr Max3NumericText         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 ReTrnsmssnCntr,omitempty"`
	CreDtTm        ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 CreDtTm"`
	InitgPty       GenericIdentification73 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 InitgPty"`
	RcptPty        GenericIdentification73 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcptPty,omitempty"`
	Tracblt        []Traceability3         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Tracblt,omitempty"`
}

type ISODate

type ISODate time.Time

func (ISODate) MarshalText

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

func (*ISODate) UnmarshalText

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

type ISODateTime

type ISODateTime time.Time

func (ISODateTime) MarshalText

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

func (*ISODateTime) UnmarshalText

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

type IssuerAndSerialNumber1

type IssuerAndSerialNumber1 struct {
	Issr  CertificateIssuer1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Issr"`
	SrlNb Max35Binary        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 SrlNb"`
}

type KEK4

type KEK4 struct {
	Vrsn          float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Vrsn,omitempty"`
	KEKId         KEKIdentifier2            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KEKId"`
	KeyNcrptnAlgo AlgorithmIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyNcrptnAlgo"`
	NcrptdKey     Max500Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 NcrptdKey"`
}

type KEKIdentifier2

type KEKIdentifier2 struct {
	KeyId     Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyId"`
	KeyVrsn   Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyVrsn"`
	SeqNb     float64         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 SeqNb,omitempty"`
	DerivtnId Min5Max16Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 DerivtnId,omitempty"`
}

type KeyTransport4

type KeyTransport4 struct {
	Vrsn          float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Vrsn,omitempty"`
	RcptId        Recipient5Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcptId"`
	KeyNcrptnAlgo AlgorithmIdentification11 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyNcrptnAlgo"`
	NcrptdKey     Max5000Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 NcrptdKey"`
}

type Max100KBinary

type Max100KBinary []byte

func (Max100KBinary) MarshalText

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

func (*Max100KBinary) UnmarshalText

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

type Max140Binary

type Max140Binary []byte

func (Max140Binary) MarshalText

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

func (*Max140Binary) UnmarshalText

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

type Max140Text

type Max140Text string

Must be at least 1 items long

type Max35Binary

type Max35Binary []byte

func (Max35Binary) MarshalText

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

func (*Max35Binary) UnmarshalText

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

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max3NumericText

type Max3NumericText string

Must match the pattern [0-9]{1,3}

type Max5000Binary

type Max5000Binary []byte

func (Max5000Binary) MarshalText

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

func (*Max5000Binary) UnmarshalText

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

type Max500Binary

type Max500Binary []byte

func (Max500Binary) MarshalText

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

func (*Max500Binary) UnmarshalText

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

type Max6Text

type Max6Text string

Must be at least 1 items long

type MessageFunction6Code

type MessageFunction6Code string

May be one of RCAV, RCAN, RCAQ, REJA, REVV, REVN, REVQ, RCPV, RCPN, RCPQ, REJP, AUTV, AUTN, AUTQ, AUTP, FNCV, FNCN, FNCQ, RCIV, RCIN, RCIQ, REJI, KEYV, KEYQ, MGTV, MGTQ

type Min2Max3AlphaText

type Min2Max3AlphaText string

Must match the pattern [a-zA-Z]{2,3}

type Min5Max16Binary

type Min5Max16Binary []byte

func (Min5Max16Binary) MarshalText

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

func (*Min5Max16Binary) UnmarshalText

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

type Parameter4

type Parameter4 struct {
	NcrptnFrmt   EncryptionFormat1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 NcrptnFrmt,omitempty"`
	DgstAlgo     Algorithm11Code           `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 DgstAlgo,omitempty"`
	MskGnrtrAlgo AlgorithmIdentification12 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 MskGnrtrAlgo,omitempty"`
}

type Parameter5

type Parameter5 struct {
	DgstAlgo Algorithm11Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 DgstAlgo,omitempty"`
}

type Parameter6

type Parameter6 struct {
	NcrptnFrmt   EncryptionFormat1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 NcrptnFrmt,omitempty"`
	InitlstnVctr Max500Binary          `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 InitlstnVctr,omitempty"`
	BPddg        BytePadding1Code      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 BPddg,omitempty"`
}

type Parameter7

type Parameter7 struct {
	InitlstnVctr Max500Binary     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 InitlstnVctr,omitempty"`
	BPddg        BytePadding1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 BPddg,omitempty"`
}

type PartyType10Code

type PartyType10Code string

May be one of ACCP, ACQR, ATMG, CISS, DLIS, HSTG, ITAG, MERC, OATM, OPOI

type PartyType9Code

type PartyType9Code string

May be one of ACQR, ACQP, CISS, CISP, CSCH, SCHP

type Recipient4Choice

type Recipient4Choice struct {
	KeyTrnsprt KeyTransport4  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyTrnsprt"`
	KEK        KEK4           `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KEK"`
	KeyIdr     KEKIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyIdr"`
}

type Recipient5Choice

type Recipient5Choice struct {
	IssrAndSrlNb IssuerAndSerialNumber1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 IssrAndSrlNb"`
	KeyIdr       KEKIdentifier2         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 KeyIdr"`
}

type ReconciliationResponse

type ReconciliationResponse struct {
	Hdr         Header17                        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Hdr"`
	RcncltnRspn AcquirerReconciliationResponse1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcncltnRspn"`
	SctyTrlr    ContentInformationType15        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 SctyTrlr,omitempty"`
}

type RelativeDistinguishedName1

type RelativeDistinguishedName1 struct {
	AttrTp  AttributeType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 AttrTp"`
	AttrVal Max140Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 AttrVal"`
}

type Response3Code

type Response3Code string

May be one of APPR, DECL, FRTH, PART, PRCS, UNPR

type ResponseType2

type ResponseType2 struct {
	Rslt         Response3Code     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Rslt"`
	RsltDtls     ResultDetail1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RsltDtls,omitempty"`
	AddtlRsltInf Max140Text        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 AddtlRsltInf,omitempty"`
}

type ResultDetail1Code

type ResultDetail1Code string

May be one of ACTF, ACQS, AMLV, AMTA, BANK, CRDR, CRDF, CSHI, CSHE, ACTC, CTVG, DBER, FEES, TXNL, CRDX, FMTR, ACEF, TXNG, FNDI, ACPI, AMTI, CHDI, CRDI, CTFV, NPRA, PINA, LBLU, CRDA, PINN, MACK, MACR, CRDL, LBLA, ISSU, ISST, ISSO, ISSF, ISSP, DATI, TXNV, TKID, TKKO, CSCV, PINV, AMTO, NPRC, OFFL, ONLP, TXNM, OTHR, BALO, SEQO, AMTL, NMBL, PINC, PIND, PINE, PINS, PINX, QMAX, RECD, CRDT, SECV, SFWE, SPCC, CRDW, NMBW, AMTW, VNDF, VNDR, SVSU, CRDU, CMKY, UNBC, UNBP, UNBO, ORGF, TXND, TXNU, TTLV, ACTT, SYSM, SYSP, FRDS, CNTC, SRCH, CRDS, ACKO

type Traceability3

type Traceability3 struct {
	RlayId      GenericIdentification74 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RlayId"`
	TracDtTmIn  ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TracDtTmIn"`
	TracDtTmOut ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TracDtTmOut"`
}

type TransactionIdentifier2

type TransactionIdentifier2 struct {
	RcncltnDt ISODate   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcncltnDt"`
	RcncltnId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RcncltnId,omitempty"`
}

type TransactionTotals4

type TransactionTotals4 struct {
	TtlCdt TransactionTotals5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TtlCdt"`
	TtlDbt TransactionTotals5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TtlDbt"`
	TtlNb  TransactionTotals6 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TtlNb,omitempty"`
}

type TransactionTotals5

type TransactionTotals5 struct {
	Amt        float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Amt"`
	Nb         float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Nb"`
	ChrgBckAmt float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 ChrgBckAmt"`
	ChrgBckNb  float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 ChrgBckNb"`
	RvslAmt    float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RvslAmt"`
	RvslNb     float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 RvslNb"`
	FeeAmts    float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 FeeAmts,omitempty"`
}

type TransactionTotals6

type TransactionTotals6 struct {
	Authstn     float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Authstn,omitempty"`
	AuthstnRvsl float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 AuthstnRvsl,omitempty"`
	Nqry        float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Nqry,omitempty"`
	NqryRvsl    float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 NqryRvsl,omitempty"`
	Pmts        float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Pmts,omitempty"`
	PmtRvsl     float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 PmtRvsl,omitempty"`
	Trf         float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Trf,omitempty"`
	TrfRvsl     float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 TrfRvsl,omitempty"`
	FeeColltn   float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 FeeColltn,omitempty"`
}

Jump to

Keyboard shortcuts

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