Documentation ¶
Index ¶
- type ActiveCurrencyCode
- type ActiveOrHistoricCurrencyCode
- type AmountAndDirection67
- type AnyBICIdentifier
- type CancellationReason19
- type CancellationReason24Choice
- type CancelledStatusReason13Code
- type CountryCode
- type CreditDebitCode
- type DateAndDateTimeChoice
- type DateType3Code
- type DeliveryReceiptType2Code
- type Document
- type DocumentNumber16Choice
- type Exact3NumericText
- type Exact4AlphaNumericText
- type ExternalFinancialInstrumentIdentificationType1Code
- type FXCancellation4Choice
- type FinancialInstrumentQuantity15Choice
- type GenericDocumentIdentification6
- type GenericIdentification163
- type GenericIdentification47
- type GenericIdentification84
- type ISINOct2015Identifier
- type ISO20022MessageIdentificationText
- type ISODate
- type ISODateTime
- type IdentificationSource4Choice
- type LEIIdentifier
- type Max16Text
- type Max350Text
- type Max35Text
- type Max4AlphaNumericText
- type Max70Text
- type NameAndAddress12
- type OriginalAndCurrentQuantities4
- type OtherIdentification2
- type PartyIdentification104Choice
- type PartyIdentification108
- type PartyIdentification109
- type PartyIdentification110
- type PartyIdentification114Choice
- type PartyIdentification115Choice
- type PartyIdentification58Choice
- type PartyIdentificationAndAccount146
- type Quantity10Choice
- type ReceiveDelivery1Code
- type References60Choice
- type RestrictedFINActiveCurrencyAndAmount
- type RestrictedFINActiveOrHistoricCurrencyAndAmount
- type RestrictedFINExact2Text
- type RestrictedFINMax16Text
- type RestrictedFINXMax140Text
- type RestrictedFINXMax16Text
- type RestrictedFINXMax31Text
- type RestrictedFINXMax34Text
- type RestrictedFINXMax35Text
- type SecuritiesAccount30
- type SecuritiesTransactionCancellationRequest002V05
- type SecurityIdentification20
- type SettlementDate12Choice
- type SettlementDate4Code
- type SettlementDateCode9Choice
- type SettlementParties49
- type SettlementTypeAndIdentification22
- type SupplementaryData1
- type SupplementaryDataEnvelope1
- type TradeDate6Choice
- type TradeDateCode4Choice
- type TransactionDetails83
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveOrHistoricCurrencyCode ¶
type ActiveOrHistoricCurrencyCode string
Must match the pattern [A-Z]{3,3}
type AmountAndDirection67 ¶
type AmountAndDirection67 struct { Amt RestrictedFINActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Amt"` CdtDbtInd CreditDebitCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 CdtDbtInd"` OrgnlCcyAndOrdrdAmt RestrictedFINActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 OrgnlCcyAndOrdrdAmt,omitempty"` }
type AnyBICIdentifier ¶
type AnyBICIdentifier string
Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}
type CancellationReason19 ¶
type CancellationReason19 struct { Cd CancellationReason24Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Cd"` CorpActnEvtId RestrictedFINMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 CorpActnEvtId,omitempty"` }
type CancellationReason24Choice ¶
type CancellationReason24Choice struct { Cd CancelledStatusReason13Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Cd"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Prtry"` }
type CancelledStatusReason13Code ¶
type CancelledStatusReason13Code string
May be one of CANI, CANS, CSUB, CXLR, CANT, CANZ, CORP, SCEX, OTHR, CTHP
type DateAndDateTimeChoice ¶
type DateAndDateTimeChoice struct { Dt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Dt"` DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 DtTm"` }
type Document ¶
type Document struct {
SctiesTxCxlReq SecuritiesTransactionCancellationRequest002V05 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SctiesTxCxlReq"`
}
type DocumentNumber16Choice ¶
type DocumentNumber16Choice struct { ShrtNb Exact3NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 ShrtNb"` LngNb ISO20022MessageIdentificationText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 LngNb"` PrtryNb GenericIdentification163 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrtryNb"` }
type Exact4AlphaNumericText ¶
type Exact4AlphaNumericText string
Must match the pattern [a-zA-Z0-9]{4}
type ExternalFinancialInstrumentIdentificationType1Code ¶
type ExternalFinancialInstrumentIdentificationType1Code string
Must be at least 1 items long
type FXCancellation4Choice ¶
type FXCancellation4Choice struct { Ind bool `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Ind"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Prtry"` }
type GenericDocumentIdentification6 ¶
type GenericDocumentIdentification6 struct { MsgNb DocumentNumber16Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 MsgNb,omitempty"` Id RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` }
type GenericIdentification163 ¶
type GenericIdentification163 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` Issr Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Issr"` SchmeNm Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SchmeNm,omitempty"` }
type GenericIdentification47 ¶
type GenericIdentification47 struct { Id Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` Issr Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Issr"` SchmeNm Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SchmeNm,omitempty"` }
type GenericIdentification84 ¶
type GenericIdentification84 struct { Id RestrictedFINXMax34Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` Issr Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Issr"` SchmeNm Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SchmeNm,omitempty"` }
type ISINOct2015Identifier ¶
type ISINOct2015Identifier string
Must match the pattern [A-Z]{2,2}[A-Z0-9]{9,9}[0-9]{1,1}
type ISO20022MessageIdentificationText ¶
type ISO20022MessageIdentificationText string
Must match the pattern [a-z]{4}\.[0-9]{3}\.[0-9]{3}\.[0-9]{2}
type ISODateTime ¶
func (ISODateTime) MarshalText ¶
func (t ISODateTime) MarshalText() ([]byte, error)
func (*ISODateTime) UnmarshalText ¶
func (t *ISODateTime) UnmarshalText(text []byte) error
type IdentificationSource4Choice ¶
type IdentificationSource4Choice struct { Cd ExternalFinancialInstrumentIdentificationType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Cd"` Prtry RestrictedFINExact2Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Prtry"` }
type Max4AlphaNumericText ¶
type Max4AlphaNumericText string
Must match the pattern [a-zA-Z0-9]{1,4}
type NameAndAddress12 ¶
type NameAndAddress12 struct {
Nm RestrictedFINXMax140Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Nm"`
}
type OtherIdentification2 ¶
type OtherIdentification2 struct { Id RestrictedFINXMax31Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` Sfx Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Sfx,omitempty"` Tp IdentificationSource4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Tp"` }
type PartyIdentification104Choice ¶
type PartyIdentification104Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AnyBIC"` PrtryId GenericIdentification84 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrtryId"` NmAndAdr NameAndAddress12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 NmAndAdr"` }
type PartyIdentification108 ¶
type PartyIdentification108 struct { Id PartyIdentification58Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 LEI,omitempty"` PrcgId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrcgId,omitempty"` }
type PartyIdentification109 ¶
type PartyIdentification109 struct { Id PartyIdentification114Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 LEI,omitempty"` }
type PartyIdentification110 ¶
type PartyIdentification110 struct { Id PartyIdentification115Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 LEI,omitempty"` }
type PartyIdentification114Choice ¶
type PartyIdentification114Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AnyBIC"` PrtryId GenericIdentification84 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrtryId"` }
type PartyIdentification115Choice ¶
type PartyIdentification115Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AnyBIC"` PrtryId GenericIdentification84 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrtryId"` NmAndAdr NameAndAddress12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 NmAndAdr"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Ctry"` }
type PartyIdentification58Choice ¶
type PartyIdentification58Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AnyBIC"` NmAndAdr NameAndAddress12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 NmAndAdr"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Ctry"` }
type PartyIdentificationAndAccount146 ¶
type PartyIdentificationAndAccount146 struct { Id PartyIdentification104Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 LEI,omitempty"` SfkpgAcct SecuritiesAccount30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SfkpgAcct,omitempty"` PrcgId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrcgId,omitempty"` }
type Quantity10Choice ¶
type Quantity10Choice struct { Qty FinancialInstrumentQuantity15Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Qty"` OrgnlAndCurFace OriginalAndCurrentQuantities4 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 OrgnlAndCurFace"` }
type References60Choice ¶
type References60Choice struct { SctiesSttlmTxId SettlementTypeAndIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SctiesSttlmTxId"` SctiesFincgTxId SettlementTypeAndIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SctiesFincgTxId"` IntraPosMvmntId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 IntraPosMvmntId"` OthrTxId GenericDocumentIdentification6 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 OthrTxId"` }
type RestrictedFINActiveCurrencyAndAmount ¶
type RestrictedFINActiveCurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy ActiveCurrencyCode `xml:"Ccy,attr"` }
type RestrictedFINActiveOrHistoricCurrencyAndAmount ¶
type RestrictedFINActiveOrHistoricCurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy ActiveOrHistoricCurrencyCode `xml:"Ccy,attr"` }
type RestrictedFINMax16Text ¶
type RestrictedFINMax16Text string
Must match the pattern ([^/]+/)+([^/]+)|([^/]*)
type RestrictedFINXMax140Text ¶
type RestrictedFINXMax140Text string
Must match the pattern [0-9a-zA-Z/\-\?:\(\)\.\n\r,'\+ ]{1,140}
type RestrictedFINXMax16Text ¶
type RestrictedFINXMax16Text string
Must match the pattern ([0-9a-zA-Z\-\?:\(\)\.,'\+ ]([0-9a-zA-Z\-\?:\(\)\.,'\+ ]*(/[0-9a-zA-Z\-\?:\(\)\.,'\+ ])?)*)
type RestrictedFINXMax31Text ¶
type RestrictedFINXMax31Text string
Must match the pattern [0-9a-zA-Z/\-\?:\(\)\.,'\+ ]{1,31}
type RestrictedFINXMax34Text ¶
type RestrictedFINXMax34Text string
Must match the pattern ([0-9a-zA-Z\-\?:\(\)\.,'\+ ]([0-9a-zA-Z\-\?:\(\)\.,'\+ ]*(/[0-9a-zA-Z\-\?:\(\)\.,'\+ ])?)*)
type RestrictedFINXMax35Text ¶
type RestrictedFINXMax35Text string
Must match the pattern [0-9a-zA-Z/\-\?:\(\)\.,'\+ ]{1,35}
type SecuritiesAccount30 ¶
type SecuritiesAccount30 struct { Id RestrictedFINXMax35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Id"` Tp GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Tp,omitempty"` Nm Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Nm,omitempty"` }
type SecuritiesTransactionCancellationRequest002V05 ¶
type SecuritiesTransactionCancellationRequest002V05 struct { AcctOwnrTxId References60Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AcctOwnrTxId"` AcctSvcrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AcctSvcrTxId,omitempty"` MktInfrstrctrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 MktInfrstrctrTxId,omitempty"` PrcrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PrcrTxId,omitempty"` AcctOwnr PartyIdentification109 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 AcctOwnr,omitempty"` SfkpgAcct SecuritiesAccount30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SfkpgAcct"` TxDtls TransactionDetails83 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 TxDtls,omitempty"` CxlRsn CancellationReason19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 CxlRsn,omitempty"` FxCxl FXCancellation4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 FxCxl,omitempty"` SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SplmtryData,omitempty"` }
type SecurityIdentification20 ¶
type SecurityIdentification20 struct { ISIN ISINOct2015Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 ISIN,omitempty"` OthrId []OtherIdentification2 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 OthrId,omitempty"` Desc RestrictedFINXMax140Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Desc,omitempty"` }
type SettlementDate12Choice ¶
type SettlementDate12Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Dt"` DtCd SettlementDateCode9Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 DtCd"` }
type SettlementDateCode9Choice ¶
type SettlementDateCode9Choice struct { Cd SettlementDate4Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Cd"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Prtry"` }
type SettlementParties49 ¶
type SettlementParties49 struct { Dpstry PartyIdentification108 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Dpstry,omitempty"` Pty1 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Pty1,omitempty"` Pty2 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Pty2,omitempty"` Pty3 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Pty3,omitempty"` Pty4 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Pty4,omitempty"` Pty5 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Pty5,omitempty"` }
type SettlementTypeAndIdentification22 ¶
type SettlementTypeAndIdentification22 struct { TxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 TxId"` SctiesMvmntTp ReceiveDelivery1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SctiesMvmntTp"` Pmt DeliveryReceiptType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Pmt"` }
type SupplementaryData1 ¶
type SupplementaryData1 struct { PlcAndNm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 PlcAndNm,omitempty"` Envlp SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Envlp"` }
type SupplementaryDataEnvelope1 ¶
type SupplementaryDataEnvelope1 struct {
Item string `xml:",any"`
}
type TradeDate6Choice ¶
type TradeDate6Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Dt"` DtCd TradeDateCode4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 DtCd"` }
type TradeDateCode4Choice ¶
type TradeDateCode4Choice struct { Cd DateType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Cd"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Prtry"` }
type TransactionDetails83 ¶
type TransactionDetails83 struct { FinInstrmId SecurityIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 FinInstrmId"` TradDt TradeDate6Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 TradDt,omitempty"` SttlmDt SettlementDate12Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SttlmDt"` SttlmQty Quantity10Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SttlmQty"` SttlmAmt AmountAndDirection67 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 SttlmAmt,omitempty"` DlvrgSttlmPties SettlementParties49 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 DlvrgSttlmPties,omitempty"` RcvgSttlmPties SettlementParties49 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 RcvgSttlmPties,omitempty"` Invstr PartyIdentification110 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.020.002.05 Invstr,omitempty"` }