cain_005_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 Acquirer6

type Acquirer6 struct {
	Id     Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Id"`
	Issr   Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Issr,omitempty"`
	CtryCd ISO3NumericCountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CtryCd,omitempty"`
}

type AcquirerReversalInitiation

type AcquirerReversalInitiation struct {
	Hdr       Header18                    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Hdr"`
	RvslInitn AcquirerReversalInitiation1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 RvslInitn"`
	SctyTrlr  ContentInformationType15    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 SctyTrlr,omitempty"`
}

type AcquirerReversalInitiation1

type AcquirerReversalInitiation1 struct {
	Envt CardTransactionEnvironment3 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Envt"`
	Tx   CardTransaction7            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.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 Algorithm15Code

type Algorithm15Code string

May be one of EA2C, E3DC, 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.005.001.01 Algo"`
	Param Parameter4     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Param,omitempty"`
}

type AlgorithmIdentification12

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

type AlgorithmIdentification13

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

type AlgorithmIdentification14

type AlgorithmIdentification14 struct {
	Algo  Algorithm15Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Algo"`
	Param Parameter6      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Param,omitempty"`
}

type AlgorithmIdentification15

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

type AmountAndDirection41

type AmountAndDirection41 struct {
	Amt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Amt"`
	Sgn bool              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.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.005.001.01 Vrsn,omitempty"`
	Rcpt        []Recipient4Choice        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Rcpt"`
	MACAlgo     AlgorithmIdentification15 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 MACAlgo"`
	NcpsltdCntt EncapsulatedContent3      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 NcpsltdCntt"`
	MAC         Max140Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 MAC"`
}

type BytePadding1Code

type BytePadding1Code string

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

type CardPaymentServiceType7Code

type CardPaymentServiceType7Code string

May be one of BALC, CACT, CRDP, CAFT, CAFL, CAFH, CAVR, CSHW, CSHD, CHWD, DEFR, LOAD, ORCR, PINC, PINU, QUCH, RFND, RESA, UNLD, VALC, DADJ, CADJ

type CardPaymentToken4

type CardPaymentToken4 struct {
	Tkn           Min8Max28NumericText     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Tkn,omitempty"`
	CardSeqNb     Min2Max3NumericText      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CardSeqNb,omitempty"`
	TknXpryDt     Max10Text                `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TknXpryDt,omitempty"`
	TknChrtc      []Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TknChrtc,omitempty"`
	TknRqstr      PaymentTokenIdentifiers1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TknRqstr,omitempty"`
	TknAssrncLvl  float64                  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TknAssrncLvl,omitempty"`
	TknAssrncData Max500Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TknAssrncData,omitempty"`
}

type CardTransaction3

type CardTransaction3 struct {
	AccptrTxDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AccptrTxDtTm"`
	InitrTxId    Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 InitrTxId"`
	InitrId      Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 InitrId"`
}

type CardTransaction7

type CardTransaction7 struct {
	TxTp              CardPaymentServiceType7Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxTp"`
	Rcncltn           TransactionIdentifier2      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Rcncltn,omitempty"`
	AccptrTxDtTm      ISODateTime                 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AccptrTxDtTm"`
	AccptrTxId        Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AccptrTxId"`
	InitrTxId         Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 InitrTxId"`
	TxLifeCyclId      Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxLifeCyclId,omitempty"`
	TxLifeCyclSeqNb   float64                     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxLifeCyclSeqNb,omitempty"`
	TxLifeCyclSeqCntr float64                     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxLifeCyclSeqCntr,omitempty"`
	AcqrrTxRef        Max35NumericText            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AcqrrTxRef,omitempty"`
	CardIssrRefData   Max140Text                  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CardIssrRefData,omitempty"`
	OrgnlTx           CardTransaction3            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 OrgnlTx,omitempty"`
	TxDtls            CardTransactionDetail5      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxDtls"`
	TxRspn            ResponseType2               `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxRspn,omitempty"`
}

type CardTransactionAmount5

type CardTransactionAmount5 struct {
	TtlAmt           CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TtlAmt"`
	CrdhldrBllgTxAmt DetailedAmount8   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CrdhldrBllgTxAmt,omitempty"`
	RcncltnTxAmt     DetailedAmount8   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 RcncltnTxAmt,omitempty"`
}

type CardTransactionDetail5

type CardTransactionDetail5 struct {
	TxAmts      CardTransactionAmount5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxAmts"`
	TxFees      []DetailedAmount11     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TxFees,omitempty"`
	AddtlAmts   []DetailedAmount10     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AddtlAmts,omitempty"`
	MsgRsn      []MessageReason1Code   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 MsgRsn"`
	ICCRltdData Max10000Binary         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 ICCRltdData,omitempty"`
}

type CardTransactionEnvironment3

type CardTransactionEnvironment3 struct {
	Acqrr       Acquirer6               `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Acqrr"`
	CardSchmeId Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CardSchmeId,omitempty"`
	Accptr      Organisation19          `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Accptr"`
	TermnlId    GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TermnlId,omitempty"`
	Card        PaymentCard14           `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Card"`
	CstmrDvc    CustomerDevice1         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CstmrDvc,omitempty"`
	Wllt        CustomerDevice1         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Wllt,omitempty"`
	PmtTkn      CardPaymentToken4       `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 PmtTkn,omitempty"`
}

type CertificateIssuer1

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

type ContentInformationType10

type ContentInformationType10 struct {
	CnttTp     ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CnttTp"`
	EnvlpdData EnvelopedData4   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 EnvlpdData"`
}

type ContentInformationType15

type ContentInformationType15 struct {
	CnttTp       ContentType2Code   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CnttTp"`
	AuthntcdData AuthenticatedData4 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.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 CustomerDevice1

type CustomerDevice1 struct {
	Id    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Id,omitempty"`
	Tp    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Tp,omitempty"`
	Prvdr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Prvdr,omitempty"`
}

type DetailedAmount10

type DetailedAmount10 struct {
	Tp      TypeOfAmount6Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Tp"`
	AddtlTp Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AddtlTp,omitempty"`
	Amt     CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Amt"`
	Labl    Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Labl,omitempty"`
}

type DetailedAmount11

type DetailedAmount11 struct {
	Tp       TypeOfAmount7Code    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Tp"`
	AddtlTp  Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AddtlTp,omitempty"`
	Amt      AmountAndDirection41 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Amt"`
	OrgnlAmt AmountAndDirection41 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 OrgnlAmt,omitempty"`
}

type DetailedAmount8

type DetailedAmount8 struct {
	Amt      float64     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Amt"`
	XchgRate float64     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 XchgRate"`
	QtnDt    ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 QtnDt,omitempty"`
	Labl     Max140Text  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Labl,omitempty"`
}

type Document

type Document struct {
	AcqrrRvslInitn AcquirerReversalInitiation `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AcqrrRvslInitn"`
}

type EncapsulatedContent3

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

type EncryptedContent3

type EncryptedContent3 struct {
	CnttTp         ContentType2Code          `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CnttTp"`
	CnttNcrptnAlgo AlgorithmIdentification14 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CnttNcrptnAlgo"`
	NcrptdData     Max100KBinary             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 NcrptdData"`
}

type EncryptionFormat1Code

type EncryptionFormat1Code string

May be one of TR31, TR34

type EnvelopedData4

type EnvelopedData4 struct {
	Vrsn       float64            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Vrsn,omitempty"`
	Rcpt       []Recipient4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Rcpt"`
	NcrptdCntt EncryptedContent3  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 NcrptdCntt,omitempty"`
}

type Exact3AlphaNumericText

type Exact3AlphaNumericText string

Must match the pattern [a-zA-Z0-9]{3}

type Exact3NumericText

type Exact3NumericText string

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

type GenericIdentification32

type GenericIdentification32 struct {
	Id     Max35Text      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Id"`
	Tp     PartyType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Tp,omitempty"`
	Issr   PartyType4Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Issr,omitempty"`
	ShrtNm Max35Text      `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 ShrtNm,omitempty"`
}

type GenericIdentification73

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

type GenericIdentification74

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

type Header18

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

type ISO3NumericCountryCode

type ISO3NumericCountryCode string

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

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.005.001.01 Issr"`
	SrlNb Max35Binary        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 SrlNb"`
}

type KEK4

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

type KEKIdentifier2

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

type KeyTransport4

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

type Max10000Binary

type Max10000Binary []byte

func (Max10000Binary) MarshalText

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

func (*Max10000Binary) UnmarshalText

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

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 Max10Text

type Max10Text string

Must be at least 1 items long

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 Max15NumericText

type Max15NumericText string

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

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 Max35NumericText

type Max35NumericText string

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

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 Max3Text

type Max3Text string

Must be at least 1 items long

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 Max70Text

type Max70Text 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 MessageReason1Code

type MessageReason1Code string

May be one of ASTD, AMNT, ASPC, CDCL, COFF, CRND, CRTN, CUNB, CCAN, KDAC, ERRP, FLRL, IDPS, KINV, ISGN, ISTD, ITIM, IUNV, ENDK, MLFC, FDCL, NDCL, FORC, KSYN, UDSP, USND, UCMP, LATE, TIMO, TUNB, TRND, TOFF, SUSP, KSEC, RUNV, RTIM, RSTD, RSGN, PART

type Min2Max3AlphaText

type Min2Max3AlphaText string

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

type Min2Max3NumericText

type Min2Max3NumericText string

Must match the pattern [0-9]{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 Min8Max28NumericText

type Min8Max28NumericText string

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

type Organisation19

type Organisation19 struct {
	Id         GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Id"`
	CmonNm     Max70Text               `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CmonNm"`
	SelctdLang string                  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 SelctdLang,omitempty"`
	SchmeData  Max140Text              `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 SchmeData,omitempty"`
}

type Parameter4

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

type Parameter5

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

type Parameter6

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

type Parameter7

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

type PartyType10Code

type PartyType10Code string

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

type PartyType3Code

type PartyType3Code string

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

type PartyType4Code

type PartyType4Code string

May be one of MERC, ACCP, ITAG, ACQR, CISS, TAXH

type PartyType9Code

type PartyType9Code string

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

type PaymentCard14

type PaymentCard14 struct {
	PrtctdCardData ContentInformationType10 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 PrtctdCardData,omitempty"`
	PlainCardData  PlainCardData11          `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 PlainCardData,omitempty"`
	IssrBIN        Max15NumericText         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 IssrBIN,omitempty"`
	CardCtryCd     Max3Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CardCtryCd,omitempty"`
	CardCcyCd      Exact3AlphaNumericText   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CardCcyCd,omitempty"`
}

type PaymentTokenIdentifiers1

type PaymentTokenIdentifiers1 struct {
	PrvdrId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 PrvdrId"`
	RqstrId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 RqstrId"`
}

type PlainCardData11

type PlainCardData11 struct {
	PAN       Min8Max28NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 PAN"`
	CardSeqNb Min2Max3NumericText  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 CardSeqNb,omitempty"`
	FctvDt    Max10Text            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 FctvDt,omitempty"`
	XpryDt    Max10Text            `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 XpryDt,omitempty"`
	SvcCd     Exact3NumericText    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 SvcCd,omitempty"`
}

type Recipient4Choice

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

type Recipient5Choice

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

type RelativeDistinguishedName1

type RelativeDistinguishedName1 struct {
	AttrTp  AttributeType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 AttrTp"`
	AttrVal Max140Text         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.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.005.001.01 Rslt"`
	RsltDtls     ResultDetail1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 RsltDtls,omitempty"`
	AddtlRsltInf Max140Text        `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.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.005.001.01 RlayId"`
	TracDtTmIn  ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TracDtTmIn"`
	TracDtTmOut ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 TracDtTmOut"`
}

type TransactionIdentifier2

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

type TypeOfAmount6Code

type TypeOfAmount6Code string

May be one of ATMF, AMTH, CRDB, DCNT, FEES, AMTX, AMTN, AMTQ, SRCH, VATX, COMI, FEEI

type TypeOfAmount7Code

type TypeOfAmount7Code string

May be one of FEES, FEEI, FEEH, FEEP, FEEA

Jump to

Keyboard shortcuts

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