Documentation ¶
Index ¶
- type AdditionalData1
- type AdditionalFee1
- type AdditionalInformation20
- type Algorithm13Code
- type Algorithm20Code
- type Algorithm23Code
- type Algorithm5Code
- type Algorithm7Code
- type Algorithm8Code
- type AlgorithmIdentification25
- type AlgorithmIdentification26
- type AlgorithmIdentification27
- type AlgorithmIdentification28
- type Amount4
- type Amount5
- type AttributeType1Code
- type BatchManagementInformation1
- type BytePadding1Code
- type CardData5
- type CardProgrammeMode1
- type CertificateIssuer1
- type ChargeBackResponse1
- type ChargeBackResponseV01
- type ContentInformationType20
- type ContentType2Code
- type ContentType3Code
- type Context9
- type DetailAmount1Code
- type DetailedAmount19
- type DisputeData1
- type DisputeIdentification1
- type DisputeReference1
- type Document
- type EncryptedContent5
- type EncryptedData1
- type EncryptedData1Choice
- type EncryptedDataElement1
- type EncryptedDataFormat1Code
- type EncryptionFormat3Code
- type EnvelopedData6
- type Environment14
- type Exact12Text
- type Exact15Text
- type Exact1HexBinaryText
- type Exact1NumericText
- type Exact2AlphaNumericText
- type Exact2NumericText
- type Exact4NumericText
- type ExternalEncryptedElementIdentification1Code
- type FeeAmount2
- type GenericIdentification172
- type Header40
- type ISO3NumericCountryCode
- type ISO3NumericCurrencyCode
- type ISODate
- type ISODateTime
- type ISOTime
- type IssuerAndSerialNumber1
- type KEK6
- type KEKIdentifier2
- type KEKIdentifier6
- type KeyTransport6
- type MACData1
- type Max1000Text
- type Max100KBinary
- type Max11NumericText
- type Max12NumericText
- type Max140Binary
- type Max140Text
- type Max15NumericText
- type Max16Text
- type Max19NumericText
- type Max2048Text
- type Max20KText
- type Max23NumericText
- type Max2NumericText
- type Max32HexBinaryText
- type Max350Text
- type Max35Binary
- type Max35Text
- type Max3NumericText
- type Max4NumericText
- type Max5000Binary
- type Max500Binary
- type Max5NumericText
- type Max70Text
- type Max8HexBinaryText
- type Max8NumericText
- type Max99Text
- type MessageFunction20Code
- type Min2Max3AlphaText
- type Min2Max3NumericText
- type Min5Max16Binary
- type OriginalTransactionAmount1
- type OutputFormat4Code
- type Parameter13
- type Parameter14
- type Parameter7
- type PartyIdentification197
- type PartyType17Code
- type PartyType18Code
- type PartyType22Code
- type PartyType32Code
- type Priority3Code
- type ProcessingResult7
- type ProtectedData1
- type Recipient5Choice
- type Recipient7Choice
- type Reconciliation3
- type RelativeDistinguishedName1
- type Response8Code
- type ResultData1
- type SettlementReportingEntity1
- type SettlementService2
- type SettlementServiceDate1
- type SettlementServiceMode1
- type SupplementaryData1
- type SupplementaryDataEnvelope1
- type Terminal2
- type TerminalIdentification1
- type Token1
- type Traceability7
- type Transaction97
- type TransactionAmount1
- type TransactionAmounts1
- type TransactionContext3
- type TransactionIdentification10
- type TransactionInitiator1Code
- type TransactionLifeCycleIdentification1
- type TypeOfAmount10Code
- type TypeOfAmount11Code
- type UserInterface6Code
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalData1 ¶
type AdditionalData1 struct { Tp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tp,omitempty"` Val Max2048Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Val,omitempty"` }
type AdditionalFee1 ¶
type AdditionalFee1 struct { Tp TypeOfAmount10Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tp"` OthrTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrTp,omitempty"` FeePrgm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 FeePrgm,omitempty"` FeeDscrptr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 FeeDscrptr,omitempty"` Amt FeeAmount2 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Amt"` Labl Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Labl,omitempty"` }
type AdditionalInformation20 ¶
type AdditionalInformation20 struct { Rcpt PartyType22Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Rcpt,omitempty"` OthrRcpt Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrRcpt,omitempty"` Trgt []UserInterface6Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Trgt,omitempty"` OthrTrgt Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrTrgt,omitempty"` Frmt OutputFormat4Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Frmt,omitempty"` OthrFrmt Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrFrmt,omitempty"` Tp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tp,omitempty"` Val Max20KText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Val"` }
type Algorithm13Code ¶
type Algorithm13Code string
May be one of EA2C, E3DC, DKP9, UKPT, UKA1, EA9C, EA5C
type Algorithm23Code ¶
type Algorithm23Code string
May be one of EA2C, E3DC, EA9C, EA5C, EA2R, EA9R, EA5R, E3DR, E36C, E36R, SD5C
type AlgorithmIdentification25 ¶
type AlgorithmIdentification25 struct { Algo Algorithm23Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Algo"` Param Parameter7 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Param,omitempty"` }
type AlgorithmIdentification26 ¶
type AlgorithmIdentification26 struct { Algo Algorithm8Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Algo"` Param Algorithm5Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Param,omitempty"` }
type AlgorithmIdentification27 ¶
type AlgorithmIdentification27 struct { Algo Algorithm7Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Algo"` Param Parameter13 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Param,omitempty"` }
type AlgorithmIdentification28 ¶
type AlgorithmIdentification28 struct { Algo Algorithm13Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Algo"` Param Parameter14 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Param,omitempty"` }
type Amount4 ¶
type Amount4 struct { Amt float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Amt"` Ccy ISO3NumericCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ccy,omitempty"` XchgRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 XchgRate,omitempty"` QtnDt ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 QtnDt,omitempty"` }
type BatchManagementInformation1 ¶
type BatchManagementInformation1 struct { ColltnId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ColltnId,omitempty"` BtchId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 BtchId"` MsgSeqNb Max15NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MsgSeqNb,omitempty"` MsgChcksmInptVal Max140Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MsgChcksmInptVal,omitempty"` }
type CardData5 ¶
type CardData5 struct { PAN Max19NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PAN,omitempty"` PrtctdPANInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PrtctdPANInd,omitempty"` CardSeqNb Min2Max3NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CardSeqNb,omitempty"` PmtAcctRef Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PmtAcctRef,omitempty"` PANAcctRg Max19NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PANAcctRg,omitempty"` CardPrtflIdr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CardPrtflIdr,omitempty"` AddtlCardData Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlCardData,omitempty"` }
type CardProgrammeMode1 ¶
type CertificateIssuer1 ¶
type CertificateIssuer1 struct {
RltvDstngshdNm []RelativeDistinguishedName1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RltvDstngshdNm"`
}
type ChargeBackResponse1 ¶
type ChargeBackResponse1 struct { Envt Environment14 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Envt"` Cntxt Context9 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Cntxt"` Tx Transaction97 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tx"` PrcgRslt ProcessingResult7 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PrcgRslt"` PrtctdData []ProtectedData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PrtctdData,omitempty"` SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SplmtryData,omitempty"` }
type ChargeBackResponseV01 ¶
type ChargeBackResponseV01 struct { Hdr Header40 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Hdr"` Body ChargeBackResponse1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Body"` SctyTrlr ContentInformationType20 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SctyTrlr,omitempty"` }
type ContentInformationType20 ¶
type ContentInformationType20 struct { MACData MACData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MACData"` MAC Max8HexBinaryText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MAC"` }
type Context9 ¶
type Context9 struct {
TxCntxt TransactionContext3 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxCntxt,omitempty"`
}
type DetailAmount1Code ¶
type DetailAmount1Code string
May be one of CSHB, DONN, DCCF, EXTR, FORX, GRTY, OTHN, OTHP, SRCH, TAXT
type DetailedAmount19 ¶
type DetailedAmount19 struct { Tp DetailAmount1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tp"` OthrTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrTp,omitempty"` Amt Amount5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Amt"` CrdhldrBllgAmt Amount5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CrdhldrBllgAmt,omitempty"` RcncltnAmt Amount5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RcncltnAmt,omitempty"` Labl Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Labl,omitempty"` }
type DisputeData1 ¶
type DisputeData1 struct { PresntmntCycl Exact1NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PresntmntCycl,omitempty"` DsptCond Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DsptCond,omitempty"` DsptSts Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DsptSts,omitempty"` PrtlDspt bool `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PrtlDspt,omitempty"` DsptRef []DisputeReference1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DsptRef,omitempty"` DcmnttnSts Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DcmnttnSts,omitempty"` AddtlDsptData Max1000Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlDsptData,omitempty"` DsptRjctRsn []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DsptRjctRsn,omitempty"` ChrgbckElgblty Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ChrgbckElgblty,omitempty"` }
type DisputeIdentification1 ¶
type DisputeReference1 ¶
type DisputeReference1 struct { AssgnrNtty PartyType32Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AssgnrNtty,omitempty"` OthrAssgnrNtty Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrAssgnrNtty,omitempty"` DsptId []DisputeIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DsptId"` }
type Document ¶
type Document struct {
ChrgBckRspn ChargeBackResponseV01 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ChrgBckRspn"`
}
type EncryptedContent5 ¶
type EncryptedContent5 struct { CnttTp ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CnttTp"` CnttNcrptnAlgo AlgorithmIdentification25 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CnttNcrptnAlgo"` NcrptdDataElmt []EncryptedDataElement1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdDataElmt"` }
type EncryptedData1 ¶
type EncryptedData1 struct { Ctrl Exact1HexBinaryText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ctrl,omitempty"` KeySetIdr Max8NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeySetIdr,omitempty"` DrvdInf Max32HexBinaryText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DrvdInf,omitempty"` Algo Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Algo,omitempty"` KeyLngth Max4NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyLngth,omitempty"` KeyPrtcn Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyPrtcn,omitempty"` KeyIndx Max5NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyIndx,omitempty"` PddgMtd Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PddgMtd,omitempty"` NcrptdDataFrmt Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdDataFrmt,omitempty"` NcrptdDataElmt []EncryptedDataElement1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdDataElmt"` }
type EncryptedData1Choice ¶
type EncryptedData1Choice struct { BinryData Max100KBinary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 BinryData"` HexBinryVal string `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 HexBinryVal"` }
type EncryptedDataElement1 ¶
type EncryptedDataElement1 struct { Id ExternalEncryptedElementIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Id,omitempty"` OthrId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrId,omitempty"` NcrptdData EncryptedData1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdData"` ClearTxtDataFrmt EncryptedDataFormat1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ClearTxtDataFrmt,omitempty"` OthrClearTxtDataFrmt Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrClearTxtDataFrmt,omitempty"` }
type EncryptedDataFormat1Code ¶
type EncryptedDataFormat1Code string
May be one of ASCI, BINF, EBCD, HEXF, OTHN, OTHP
type EnvelopedData6 ¶
type EnvelopedData6 struct { Vrsn float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Vrsn,omitempty"` Rcpt []Recipient7Choice `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Rcpt"` NcrptdCntt EncryptedContent5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdCntt,omitempty"` }
type Environment14 ¶
type Environment14 struct { Acqrr PartyIdentification197 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Acqrr"` Sndr PartyIdentification197 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Sndr,omitempty"` Rcvr PartyIdentification197 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Rcvr,omitempty"` Accptr PartyIdentification197 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Accptr,omitempty"` Termnl Terminal2 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Termnl,omitempty"` Card CardData5 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Card"` Tkn Token1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tkn,omitempty"` }
type Exact1HexBinaryText ¶
type Exact1HexBinaryText string
Must match the pattern ([0-9A-F][0-9A-F]){1}
type Exact2AlphaNumericText ¶
type Exact2AlphaNumericText string
Must match the pattern [a-zA-Z0-9]{2}
type ExternalEncryptedElementIdentification1Code ¶
type ExternalEncryptedElementIdentification1Code string
Must match the pattern ([0-9A-F][0-9A-F]){1,3}
type FeeAmount2 ¶
type FeeAmount2 struct { Amt float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Amt"` Ccy ISO3NumericCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ccy,omitempty"` XchgRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 XchgRate,omitempty"` QtnDt ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 QtnDt,omitempty"` Sgn bool `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Sgn,omitempty"` }
type GenericIdentification172 ¶
type GenericIdentification172 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Id"` Tp PartyType17Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tp,omitempty"` OthrTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrTp,omitempty"` Assgnr PartyType18Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Assgnr,omitempty"` Ctry Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ctry,omitempty"` ShrtNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ShrtNm,omitempty"` }
type Header40 ¶
type Header40 struct { MsgFctn MessageFunction20Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MsgFctn"` PrtcolVrsn Max2048Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PrtcolVrsn"` XchgId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 XchgId,omitempty"` ReTrnsmssnCntr Max3NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ReTrnsmssnCntr,omitempty"` CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CreDtTm"` BtchMgmtInf BatchManagementInformation1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 BtchMgmtInf,omitempty"` InitgPty GenericIdentification172 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 InitgPty"` RcptPty GenericIdentification172 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RcptPty,omitempty"` TracData []AdditionalData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TracData,omitempty"` Tracblt []Traceability7 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tracblt,omitempty"` }
type ISO3NumericCurrencyCode ¶
type ISO3NumericCurrencyCode string
Must match the pattern [0-9]{3,3}
type ISODateTime ¶
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.028.001.01 Issr"` SrlNb Max35Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SrlNb"` }
type KEK6 ¶
type KEK6 struct { Vrsn float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Vrsn,omitempty"` KEKId KEKIdentifier6 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KEKId"` KeyNcrptnAlgo AlgorithmIdentification28 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyNcrptnAlgo"` NcrptdKey Max500Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdKey,omitempty"` }
type KEKIdentifier2 ¶
type KEKIdentifier2 struct { KeyId Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyId"` KeyVrsn Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyVrsn"` SeqNb float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SeqNb,omitempty"` DerivtnId Min5Max16Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DerivtnId,omitempty"` }
type KEKIdentifier6 ¶
type KEKIdentifier6 struct { KeyId Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyId"` KeyVrsn Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyVrsn,omitempty"` SeqNb float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SeqNb,omitempty"` DerivtnId Min5Max16Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DerivtnId,omitempty"` }
type KeyTransport6 ¶
type KeyTransport6 struct { Vrsn float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Vrsn,omitempty"` RcptId Recipient5Choice `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RcptId"` KeyNcrptnAlgo AlgorithmIdentification27 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyNcrptnAlgo"` NcrptdKey Max5000Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdKey"` }
type MACData1 ¶
type MACData1 struct { Ctrl Exact1HexBinaryText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ctrl"` KeySetIdr Max8NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeySetIdr"` DrvdInf Max32HexBinaryText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DrvdInf,omitempty"` Algo Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Algo"` KeyLngth Max4NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyLngth,omitempty"` KeyPrtcn Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyPrtcn,omitempty"` KeyIndx Max5NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyIndx,omitempty"` PddgMtd Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PddgMtd,omitempty"` InitlstnVctr Max32HexBinaryText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 InitlstnVctr,omitempty"` }
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 Max32HexBinaryText ¶
type Max32HexBinaryText string
Must match the pattern ([0-9A-F][0-9A-F]){1,32}
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 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 Max8HexBinaryText ¶
type Max8HexBinaryText string
Must match the pattern ([0-9A-F][0-9A-F]){1,8}
type MessageFunction20Code ¶
type MessageFunction20Code string
May be one of ADVC, NOTI, REQU, RVRA, RVNO, STAD, STNO
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 OriginalTransactionAmount1 ¶
type OriginalTransactionAmount1 struct { AmtQlfr TypeOfAmount11Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AmtQlfr,omitempty"` TxAmt TransactionAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxAmt"` CrdhldrBllgAmt Amount4 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CrdhldrBllgAmt,omitempty"` RcncltnAmt Amount4 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RcncltnAmt,omitempty"` }
type OutputFormat4Code ¶
type OutputFormat4Code string
May be one of FLNM, MREF, OTHN, OTHP, SMSI, TEXT, URLI, HTML
type Parameter13 ¶
type Parameter13 struct { DgstAlgo Algorithm20Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DgstAlgo,omitempty"` MskGnrtrAlgo AlgorithmIdentification26 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MskGnrtrAlgo,omitempty"` }
type Parameter14 ¶
type Parameter14 struct { NcrptnFrmt EncryptionFormat3Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptnFrmt,omitempty"` InitlstnVctr Max500Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 InitlstnVctr,omitempty"` BPddg BytePadding1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 BPddg,omitempty"` }
type Parameter7 ¶
type Parameter7 struct { InitlstnVctr Max500Binary `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 InitlstnVctr,omitempty"` BPddg BytePadding1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 BPddg,omitempty"` }
type PartyIdentification197 ¶
type PartyIdentification197 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Id"` Assgnr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Assgnr,omitempty"` Ctry ISO3NumericCountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ctry,omitempty"` ShrtNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ShrtNm,omitempty"` AddtlId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlId,omitempty"` }
type PartyType17Code ¶
type PartyType17Code string
May be one of OTHN, OTHP, ACQR, ACQP, CISS, CISP, AGNT
type ProcessingResult7 ¶
type ProcessingResult7 struct { RsltData ResultData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RsltData,omitempty"` OrgnlRsltData ResultData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OrgnlRsltData,omitempty"` AddtlInf []AdditionalInformation20 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlInf,omitempty"` }
type ProtectedData1 ¶
type ProtectedData1 struct { CnttTp ContentType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CnttTp"` EnvlpdData EnvelopedData6 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 EnvlpdData,omitempty"` NcrptdData EncryptedData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 NcrptdData,omitempty"` }
type Recipient5Choice ¶
type Recipient5Choice struct { IssrAndSrlNb IssuerAndSerialNumber1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 IssrAndSrlNb"` KeyIdr KEKIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyIdr"` }
type Recipient7Choice ¶
type Recipient7Choice struct { KeyTrnsprt KeyTransport6 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyTrnsprt"` KEK KEK6 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KEK"` KeyIdr KEKIdentifier6 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 KeyIdr"` }
type Reconciliation3 ¶
type RelativeDistinguishedName1 ¶
type RelativeDistinguishedName1 struct { AttrTp AttributeType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AttrTp"` AttrVal Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AttrVal"` }
type Response8Code ¶
type Response8Code string
May be one of PRCS, UNPR, UNRV, REJT, TECH, OTHN, OTHP
type ResultData1 ¶
type ResultData1 struct { Rslt Response8Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Rslt,omitempty"` OthrRslt Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrRslt,omitempty"` RsltDtls Exact2AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RsltDtls"` OthrRsltDtls Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OthrRsltDtls,omitempty"` AddtlRsltInf []AdditionalData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlRsltInf,omitempty"` }
type SettlementService2 ¶
type SettlementService2 struct { SttlmSvcApld SettlementServiceMode1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmSvcApld,omitempty"` SttlmSvcDts SettlementServiceDate1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmSvcDts,omitempty"` SttlmRptgNtty SettlementReportingEntity1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmRptgNtty,omitempty"` }
type SettlementServiceDate1 ¶
type SettlementServiceDate1 struct { ReqdSttlmDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ReqdSttlmDt,omitempty"` SttlmDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmDt,omitempty"` SttlmTm ISOTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmTm,omitempty"` SttlmPrd Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmPrd,omitempty"` SttlmCutOffTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmCutOffTm,omitempty"` }
type SettlementServiceMode1 ¶
type SettlementServiceMode1 struct { Tp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Tp,omitempty"` Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Id,omitempty"` ShrtNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ShrtNm,omitempty"` SttlmPrty Priority3Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmPrty,omitempty"` }
type SupplementaryData1 ¶
type SupplementaryData1 struct { PlcAndNm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PlcAndNm,omitempty"` Envlp SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Envlp"` }
type SupplementaryDataEnvelope1 ¶
type SupplementaryDataEnvelope1 struct {
Item string `xml:",any"`
}
type Terminal2 ¶
type Terminal2 struct {
TermnlId TerminalIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TermnlId"`
}
type TerminalIdentification1 ¶
type TerminalIdentification1 struct { Id Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Id"` Assgnr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Assgnr,omitempty"` Ctry Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ctry,omitempty"` ShrtNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 ShrtNm,omitempty"` }
type Token1 ¶
type Token1 struct { PmtTkn Max19NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PmtTkn,omitempty"` TknXpryDt Exact4NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TknXpryDt,omitempty"` TknRqstrId Max11NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TknRqstrId,omitempty"` TknAssrncData Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TknAssrncData,omitempty"` TknAssrncMtd Max2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TknAssrncMtd,omitempty"` TknInittdInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TknInittdInd,omitempty"` }
type Traceability7 ¶
type Traceability7 struct { RlayId GenericIdentification172 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RlayId"` TracDtTmIn ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TracDtTmIn,omitempty"` TracDtTmOut ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TracDtTmOut,omitempty"` }
type Transaction97 ¶
type Transaction97 struct { MsgRsn []Exact4NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MsgRsn,omitempty"` AltrnMsgRsn []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AltrnMsgRsn,omitempty"` TxId TransactionIdentification10 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxId"` TxAmts TransactionAmounts1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxAmts"` DsptData DisputeData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DsptData"` AddtlFees []AdditionalFee1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlFees,omitempty"` AddtlInf AdditionalInformation20 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlInf,omitempty"` AddtlData []AdditionalData1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AddtlData,omitempty"` }
type TransactionAmount1 ¶
type TransactionAmount1 struct { Amt float64 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Amt"` Ccy ISO3NumericCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Ccy"` }
type TransactionAmounts1 ¶
type TransactionAmounts1 struct { AmtQlfr TypeOfAmount11Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AmtQlfr,omitempty"` TxAmt TransactionAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxAmt,omitempty"` CrdhldrBllgAmt Amount4 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CrdhldrBllgAmt,omitempty"` RcncltnAmt Amount4 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RcncltnAmt,omitempty"` DtldAmt []DetailedAmount19 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 DtldAmt,omitempty"` OrgnlTxAmts OriginalTransactionAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 OrgnlTxAmts,omitempty"` }
type TransactionContext3 ¶
type TransactionContext3 struct { MrchntCtgyCd Exact4NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 MrchntCtgyCd,omitempty"` TxInitr TransactionInitiator1Code `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxInitr,omitempty"` CardPrgrmmApld CardProgrammeMode1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CardPrgrmmApld,omitempty"` SttlmSvc SettlementService2 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SttlmSvc,omitempty"` Rcncltn Reconciliation3 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Rcncltn,omitempty"` }
type TransactionIdentification10 ¶
type TransactionIdentification10 struct { LclDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 LclDtTm"` TmZone Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TmZone,omitempty"` TxRef Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TxRef,omitempty"` TrnsmssnDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 TrnsmssnDtTm,omitempty"` SysTracAudtNb Max12NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 SysTracAudtNb"` RtrvlRefNb Exact12Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 RtrvlRefNb"` LifeCyclSpprtInd Exact2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 LifeCyclSpprtInd,omitempty"` LifeCyclTracIdData TransactionLifeCycleIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 LifeCyclTracIdData,omitempty"` LifeCyclTracIdMssng Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 LifeCyclTracIdMssng,omitempty"` AcqrrRefData Max99Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AcqrrRefData,omitempty"` AcqrrRefNb Max23NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AcqrrRefNb,omitempty"` CardIssrRefData Max1000Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 CardIssrRefData,omitempty"` }
type TransactionLifeCycleIdentification1 ¶
type TransactionLifeCycleIdentification1 struct { Id Exact15Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 Id"` AuthstnSeqNb Exact2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AuthstnSeqNb,omitempty"` PresntmntSeqNb Exact2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PresntmntSeqNb,omitempty"` PresntmntSeqCnt Exact2NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 PresntmntSeqCnt,omitempty"` AuthntcnTkn Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:cain.028.001.01 AuthntcnTkn,omitempty"` }
type TypeOfAmount11Code ¶
type TypeOfAmount11Code string
May be one of ACTL, DFLT, ESTM, MAXI, RESD, PRXY, DPST
type UserInterface6Code ¶
type UserInterface6Code string
May be one of CDSP, CRCP, MDSP, MRCP, CRDO, FILE, CHAP, MRAP, MRIN