caaa_012_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 AcceptorBatchTransferResponseV01

type AcceptorBatchTransferResponseV01 struct {
	Hdr      Header3                 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Hdr"`
	DataSet  []CardPaymentDataSet2   `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DataSet"`
	SctyTrlr ContentInformationType1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 SctyTrlr"`
}

type Acquirer1

type Acquirer1 struct {
	Id         GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Id,omitempty"`
	ParamsVrsn ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 ParamsVrsn"`
}

type Algorithm1Code

type Algorithm1Code string

May be one of MACC, MCCS, UKPT, DKPT, E3DC, HS25, ERS2, ERSA

type AlgorithmIdentification1

type AlgorithmIdentification1 struct {
	Algo  Algorithm1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Algo"`
	Param Parameter1     `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Param,omitempty"`
}

type AttributeType1Code

type AttributeType1Code string

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

type AuthenticatedData1

type AuthenticatedData1 struct {
	Vrsn        float64                  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	Rcpt        []Recipient1Choice       `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Rcpt"`
	MACAlgo     AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 MACAlgo"`
	NcpsltdCntt EncapsulatedContent1     `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcpsltdCntt"`
	MAC         Max35Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 MAC"`
}

type CardPaymentDataSet2

type CardPaymentDataSet2 struct {
	DataSetId    DataSetIdentification1  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DataSetId"`
	DataSetRslt  ResponseType1           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DataSetRslt"`
	RmvDataSet   bool                    `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 RmvDataSet"`
	DataSetInitr GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DataSetInitr,omitempty"`
	TxTtls       []TransactionTotals1    `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TxTtls"`
	RjctdTx      []CardPaymentDataSet3   `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 RjctdTx,omitempty"`
}

type CardPaymentDataSet3

type CardPaymentDataSet3 struct {
	TxSeqCntr Max9NumericText                       `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TxSeqCntr"`
	TxRspn    ResponseType1                         `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TxRspn"`
	Envt      CardPaymentEnvironment3               `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Envt"`
	Tx        CardPaymentTransactionAdviceResponse1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Tx"`
}

type CardPaymentEnvironment3

type CardPaymentEnvironment3 struct {
	Acqrr          Acquirer1               `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Acqrr,omitempty"`
	MrchntId       GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 MrchntId,omitempty"`
	POIId          GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 POIId"`
	PrtctdCardData ContentInformationType1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 PrtctdCardData,omitempty"`
	PlainCardData  PlainCardData3          `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 PlainCardData,omitempty"`
}

type CardPaymentTransactionAdviceResponse1

type CardPaymentTransactionAdviceResponse1 struct {
	TxId TransactionIdentifier1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TxId"`
	Rspn Response1Code          `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Rspn"`
}

type CertificateIdentifier1

type CertificateIdentifier1 struct {
	IssrAndSrlNb IssuerAndSerialNumber1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 IssrAndSrlNb"`
}

type CertificateIssuer1

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

type ContentInformationType1

type ContentInformationType1 struct {
	CnttTp           ContentType1Code       `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CnttTp"`
	EnvlpdData       EnvelopedData1         `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 EnvlpdData,omitempty"`
	AuthntcdData     AuthenticatedData1     `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 AuthntcdData,omitempty"`
	SgndData         SignedData1            `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 SgndData,omitempty"`
	DgstdData        DigestedData1          `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DgstdData,omitempty"`
	NmdKeyNcrptdData NamedKeyEncryptedData1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NmdKeyNcrptdData,omitempty"`
}

type ContentType1Code

type ContentType1Code string

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

type CurrencyCode

type CurrencyCode string

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

type DataSetCategory1Code

type DataSetCategory1Code string

May be one of SWPK, VDPR, AQPR, MRPR, TXCP, AKCP, STRP, DLGT, MGTP

type DataSetIdentification1

type DataSetIdentification1 struct {
	Nm      Max256Text           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Nm"`
	Tp      DataSetCategory1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Tp"`
	Vrsn    Max256Text           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	CreDtTm ISODateTime          `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CreDtTm"`
}

type DigestedData1

type DigestedData1 struct {
	Vrsn        float64                    `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	DgstAlgo    []AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DgstAlgo"`
	NcpsltdCntt EncapsulatedContent1       `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcpsltdCntt"`
	Dgst        Max140Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Dgst"`
}

type Document

type Document struct {
	AccptrBtchTrfRspn AcceptorBatchTransferResponseV01 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 AccptrBtchTrfRspn"`
}

type EncapsulatedContent1

type EncapsulatedContent1 struct {
	CnttTp ContentType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CnttTp"`
	Cntt   Max10000Binary   `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Cntt,omitempty"`
}

type EncryptedContent1

type EncryptedContent1 struct {
	CnttTp         ContentType1Code         `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CnttTp"`
	CnttNcrptnAlgo AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CnttNcrptnAlgo"`
	NcrptdData     Max10000Binary           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcrptdData"`
}

type EnvelopedData1

type EnvelopedData1 struct {
	Vrsn       float64            `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	Rcpt       []Recipient1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Rcpt"`
	NcrptdCntt EncryptedContent1  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcrptdCntt"`
}

type Exact10Text

type Exact10Text string

May be no more than 10 items long

type Exact4NumericText

type Exact4NumericText string

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

type GenericIdentification32

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

type Header3

type Header3 struct {
	DwnldTrf bool                    `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DwnldTrf"`
	FrmtVrsn Max6Text                `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 FrmtVrsn"`
	XchgId   Max3NumericText         `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 XchgId"`
	CreDtTm  ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CreDtTm"`
	InitgPty GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 InitgPty"`
	RcptPty  GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 RcptPty,omitempty"`
}

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 ISOYearMonth

type ISOYearMonth time.Time

func (ISOYearMonth) MarshalText

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

func (*ISOYearMonth) UnmarshalText

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

type IssuerAndSerialNumber1

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

type KEK1

type KEK1 struct {
	Vrsn          float64                  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	KEKId         KEKIdentifier1           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KEKId"`
	KeyNcrptnAlgo AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KeyNcrptnAlgo"`
	NcrptdKey     Max140Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcrptdKey"`
}

type KEKIdentifier1

type KEKIdentifier1 struct {
	KeyId     Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KeyId"`
	KeyVrsn   Exact10Text     `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KeyVrsn"`
	DerivtnId Min5Max16Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DerivtnId,omitempty"`
}

type KeyTransport1

type KeyTransport1 struct {
	Vrsn          float64                  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn"`
	RcptId        CertificateIdentifier1   `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 RcptId"`
	KeyNcrptnAlgo AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KeyNcrptnAlgo"`
	NcrptdKey     Max140Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.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 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 Max256Text

type Max256Text string

Must be at least 1 items long

type Max3000Binary

type Max3000Binary []byte

func (Max3000Binary) MarshalText

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

func (*Max3000Binary) UnmarshalText

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

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

type Max9NumericText string

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

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 NamedKeyEncryptedData1

type NamedKeyEncryptedData1 struct {
	Vrsn       float64           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	KeyNm      Max140Text        `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KeyNm,omitempty"`
	NcrptdCntt EncryptedContent1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcrptdCntt"`
}

type Parameter1

type Parameter1 struct {
	InitlstnVctr Max500Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 InitlstnVctr,omitempty"`
}

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 PlainCardData3

type PlainCardData3 struct {
	PAN       Min8Max28NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 PAN"`
	CardSeqNb Min2Max3NumericText  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CardSeqNb,omitempty"`
	FctvDt    ISOYearMonth         `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 FctvDt,omitempty"`
	XpryDt    ISOYearMonth         `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 XpryDt"`
}

type Recipient1Choice

type Recipient1Choice struct {
	KeyTrnsprt KeyTransport1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KeyTrnsprt,omitempty"`
	KEK        KEK1          `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 KEK,omitempty"`
}

type RelativeDistinguishedName1

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

type Response1Code

type Response1Code string

May be one of DECL, APPR, PART, TECH

type ResponseType1

type ResponseType1 struct {
	Rspn    Response1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Rspn"`
	RspnRsn Max35Text     `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 RspnRsn,omitempty"`
}

type SignedData1

type SignedData1 struct {
	Vrsn        float64                    `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	DgstAlgo    []AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DgstAlgo"`
	NcpsltdCntt EncapsulatedContent1       `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 NcpsltdCntt"`
	Cert        []Max3000Binary            `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Cert,omitempty"`
	Sgnr        []Signer1                  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Sgnr"`
}

type Signer1

type Signer1 struct {
	Vrsn      float64                  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Vrsn,omitempty"`
	SgnrId    CertificateIdentifier1   `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 SgnrId"`
	DgstAlgo  AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 DgstAlgo"`
	SgntrAlgo AlgorithmIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 SgntrAlgo"`
	Sgntr     Max500Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Sgntr"`
}

type TransactionIdentifier1

type TransactionIdentifier1 struct {
	TxDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TxDtTm"`
	TxRef  Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TxRef"`
}

type TransactionTotals1

type TransactionTotals1 struct {
	POIGrpId     Max35Text                  `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 POIGrpId,omitempty"`
	CardPdctPrfl Exact4NumericText          `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CardPdctPrfl,omitempty"`
	Ccy          CurrencyCode               `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Ccy,omitempty"`
	Tp           TypeTransactionTotals1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 Tp"`
	TtlNb        Max35NumericText           `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 TtlNb"`
	CmltvAmt     float64                    `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.012.001.01 CmltvAmt"`
}

type TypeTransactionTotals1Code

type TypeTransactionTotals1Code string

May be one of DEBT, DBTR, CRDT, CRDR

Jump to

Keyboard shortcuts

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