Documentation ¶
Index ¶
- type ActiveCurrencyAndAmount
- type ActiveCurrencyCode
- type ActiveOrHistoricCurrencyAndAmount
- type ActiveOrHistoricCurrencyCode
- type AddressType2Code
- type AmountAndDirection8
- type AnyBICIdentifier
- type ConsentOrRejectionReason2Choice
- type ConsentReason2
- type ConsentStatus2Choice
- type CounterpartyResponseStatusReason1Code
- type CountryCode
- type CreditDebitCode
- type DateAndDateTimeChoice
- type DateType3Code
- type DateType4Code
- type DeliveryReceiptType2Code
- type Document
- type Exact4AlphaNumericText
- type ExternalFinancialInstrumentIdentificationType1Code
- type FinancialInstrumentQuantity1Choice
- type GenericIdentification19
- type GenericIdentification20
- type ISINIdentifier
- type ISODate
- type ISODateTime
- type IdentificationSource3Choice
- type Max140Text
- type Max16Text
- type Max210Text
- type Max350Text
- type Max35Text
- type Max70Text
- type NameAndAddress5
- type NoReasonCode
- type NoSpecifiedReason1
- type OriginalAndCurrentQuantities1
- type OtherIdentification1
- type PartyIdentification37Choice
- type PartyIdentification44Choice
- type PartyIdentification45Choice
- type PartyIdentification46
- type PartyIdentificationAndAccount44
- type PendingStatus20Choice
- type PostalAddress1
- type Quantity6Choice
- type ReceiveDelivery1Code
- type RejectionReason12
- type RejectionStatus7Choice
- type ResponseStatus3Choice
- type SecuritiesAccount13
- type SecuritiesSettlementTransactionCounterpartyResponseV01
- type SecurityIdentification14
- type SettlementDate2Choice
- type SettlementDateCode2Choice
- type SettlementParties13
- type SupplementaryData1
- type SupplementaryDataEnvelope1
- type TradeDate1Choice
- type TradeDateCode1Choice
- type TransactionDetails40
- type TransactionIdentification2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveCurrencyAndAmount ¶
type ActiveCurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy ActiveCurrencyCode `xml:"Ccy,attr"` }
type ActiveOrHistoricCurrencyAndAmount ¶
type ActiveOrHistoricCurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy ActiveOrHistoricCurrencyCode `xml:"Ccy,attr"` }
type ActiveOrHistoricCurrencyCode ¶
type ActiveOrHistoricCurrencyCode string
Must match the pattern [A-Z]{3,3}
type AddressType2Code ¶
type AddressType2Code string
May be one of ADDR, PBOX, HOME, BIZZ, MLTO, DLVY
type AmountAndDirection8 ¶
type AmountAndDirection8 struct { Amt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Amt"` CdtDbtInd CreditDebitCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 CdtDbtInd"` OrgnlCcyAndOrdrdAmt ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 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 ConsentOrRejectionReason2Choice ¶
type ConsentOrRejectionReason2Choice struct { Cd CounterpartyResponseStatusReason1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cd"` Prtry GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Prtry"` }
type ConsentReason2 ¶
type ConsentReason2 struct { Cd ConsentOrRejectionReason2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cd"` AddtlRsnInf Max210Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AddtlRsnInf,omitempty"` }
type ConsentStatus2Choice ¶
type ConsentStatus2Choice struct { NoSpcfdRsn NoReasonCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 NoSpcfdRsn"` Rsn []ConsentReason2 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Rsn"` }
type CounterpartyResponseStatusReason1Code ¶
type CounterpartyResponseStatusReason1Code string
May be one of CPTR, CPCX, CPMD
type DateAndDateTimeChoice ¶
type DateAndDateTimeChoice struct { Dt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Dt"` DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 DtTm"` }
type Document ¶
type Document struct {
SctiesSttlmTxCtrPtyRspn SecuritiesSettlementTransactionCounterpartyResponseV01 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SctiesSttlmTxCtrPtyRspn"`
}
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 GenericIdentification19 ¶
type GenericIdentification20 ¶
type GenericIdentification20 struct { Id Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Id"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Issr"` SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SchmeNm,omitempty"` }
type ISODateTime ¶
func (ISODateTime) MarshalText ¶
func (t ISODateTime) MarshalText() ([]byte, error)
func (*ISODateTime) UnmarshalText ¶
func (t *ISODateTime) UnmarshalText(text []byte) error
type IdentificationSource3Choice ¶
type IdentificationSource3Choice struct { Cd ExternalFinancialInstrumentIdentificationType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Prtry"` }
type NameAndAddress5 ¶
type NameAndAddress5 struct { Nm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Nm"` Adr PostalAddress1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Adr,omitempty"` }
type NoSpecifiedReason1 ¶
type NoSpecifiedReason1 struct {
NoSpcfdRsn NoReasonCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 NoSpcfdRsn"`
}
type OtherIdentification1 ¶
type OtherIdentification1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Id"` Sfx Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Sfx,omitempty"` Tp IdentificationSource3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Tp"` }
type PartyIdentification37Choice ¶
type PartyIdentification37Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AnyBIC"` PrtryId GenericIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PrtryId"` NmAndAdr NameAndAddress5 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 NmAndAdr"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Ctry"` }
type PartyIdentification44Choice ¶
type PartyIdentification44Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AnyBIC"` NmAndAdr NameAndAddress5 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 NmAndAdr"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Ctry"` }
type PartyIdentification45Choice ¶
type PartyIdentification45Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AnyBIC"` PrtryId GenericIdentification19 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PrtryId"` NmAndAdr NameAndAddress5 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 NmAndAdr"` }
type PartyIdentification46 ¶
type PartyIdentification46 struct { Id PartyIdentification44Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Id"` PrcgId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PrcgId,omitempty"` }
type PartyIdentificationAndAccount44 ¶
type PartyIdentificationAndAccount44 struct { Id PartyIdentification45Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Id"` SfkpgAcct SecuritiesAccount13 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SfkpgAcct,omitempty"` PrcgId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PrcgId,omitempty"` }
type PendingStatus20Choice ¶
type PendingStatus20Choice struct { Fwdd NoSpecifiedReason1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Fwdd"` UdrInvstgtn NoSpecifiedReason1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 UdrInvstgtn"` }
type PostalAddress1 ¶
type PostalAddress1 struct { AdrTp AddressType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AdrTp,omitempty"` AdrLine []Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AdrLine,omitempty"` StrtNm Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 StrtNm,omitempty"` BldgNb Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 BldgNb,omitempty"` PstCd Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PstCd,omitempty"` TwnNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 TwnNm,omitempty"` CtrySubDvsn Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 CtrySubDvsn,omitempty"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Ctry"` }
type Quantity6Choice ¶
type Quantity6Choice struct { Qty FinancialInstrumentQuantity1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Qty"` OrgnlAndCurFace OriginalAndCurrentQuantities1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 OrgnlAndCurFace"` }
type RejectionReason12 ¶
type RejectionReason12 struct { Cd ConsentOrRejectionReason2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cd"` AddtlRsnInf Max210Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AddtlRsnInf,omitempty"` }
type RejectionStatus7Choice ¶
type RejectionStatus7Choice struct { NoSpcfdRsn NoReasonCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 NoSpcfdRsn"` Rsn RejectionReason12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Rsn"` }
type ResponseStatus3Choice ¶
type ResponseStatus3Choice struct { Cnsntd ConsentStatus2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cnsntd"` Rjctd RejectionStatus7Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Rjctd"` Pdg PendingStatus20Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pdg"` }
type SecuritiesAccount13 ¶
type SecuritiesAccount13 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Id"` Tp GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Tp,omitempty"` Nm Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Nm,omitempty"` }
type SecuritiesSettlementTransactionCounterpartyResponseV01 ¶
type SecuritiesSettlementTransactionCounterpartyResponseV01 struct { TxId TransactionIdentification2 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 TxId"` RspnSts ResponseStatus3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 RspnSts"` TxDtls TransactionDetails40 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 TxDtls,omitempty"` SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SplmtryData,omitempty"` }
type SecurityIdentification14 ¶
type SecurityIdentification14 struct { ISIN ISINIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 ISIN,omitempty"` OthrId []OtherIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 OthrId,omitempty"` Desc Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Desc,omitempty"` }
type SettlementDate2Choice ¶
type SettlementDate2Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Dt"` DtCd SettlementDateCode2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 DtCd"` }
type SettlementDateCode2Choice ¶
type SettlementDateCode2Choice struct { Cd DateType4Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cd"` Prtry GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Prtry"` }
type SettlementParties13 ¶
type SettlementParties13 struct { Dpstry PartyIdentification46 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Dpstry,omitempty"` Pty1 PartyIdentificationAndAccount44 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pty1,omitempty"` Pty2 PartyIdentificationAndAccount44 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pty2,omitempty"` Pty3 PartyIdentificationAndAccount44 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pty3,omitempty"` Pty4 PartyIdentificationAndAccount44 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pty4,omitempty"` Pty5 PartyIdentificationAndAccount44 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pty5,omitempty"` }
type SupplementaryData1 ¶
type SupplementaryData1 struct { PlcAndNm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PlcAndNm,omitempty"` Envlp SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Envlp"` }
type SupplementaryDataEnvelope1 ¶
type SupplementaryDataEnvelope1 struct {
Item string `xml:",any"`
}
type TradeDate1Choice ¶
type TradeDate1Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Dt"` DtCd TradeDateCode1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 DtCd"` }
type TradeDateCode1Choice ¶
type TradeDateCode1Choice struct { Cd DateType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Cd"` Prtry GenericIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Prtry"` }
type TransactionDetails40 ¶
type TransactionDetails40 struct { FinInstrmId SecurityIdentification14 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 FinInstrmId"` SctiesMvmntTp ReceiveDelivery1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SctiesMvmntTp"` Pmt DeliveryReceiptType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Pmt"` SttlmQty Quantity6Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SttlmQty"` SfkpgAcct SecuritiesAccount13 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SfkpgAcct"` SttlmAmt AmountAndDirection8 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SttlmAmt,omitempty"` SttlmDt SettlementDate2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 SttlmDt"` TradDt TradeDate1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 TradDt,omitempty"` DlvrgSttlmPties SettlementParties13 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 DlvrgSttlmPties,omitempty"` RcvgSttlmPties SettlementParties13 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 RcvgSttlmPties,omitempty"` Invstr PartyIdentification37Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 Invstr,omitempty"` }
type TransactionIdentification2 ¶
type TransactionIdentification2 struct { AcctOwnrTxId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AcctOwnrTxId,omitempty"` AcctSvcrTxId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 AcctSvcrTxId,omitempty"` MktInfrstrctrTxId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 MktInfrstrctrTxId,omitempty"` PrcrTxId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.001.01 PrcrTxId,omitempty"` }
Click to show internal directories.
Click to hide internal directories.