Documentation ¶
Index ¶
- type ActiveCurrencyCode
- type ActiveOrHistoricCurrencyCode
- type AmountAndDirection67
- type AnyBICIdentifier
- type ConsentOrRejectionReason5Choice
- type ConsentReason5
- type ConsentStatus5Choice
- type CounterpartyResponseStatusReason1Code
- type CountryCode
- type CreditDebitCode
- type DateAndDateTimeChoice
- type DateType3Code
- type DateType4Code
- type DeliveryReceiptType2Code
- type Document
- type Exact4AlphaNumericText
- type ExternalFinancialInstrumentIdentificationType1Code
- type FinancialInstrumentQuantity15Choice
- type GenericIdentification47
- type GenericIdentification84
- type ISINOct2015Identifier
- type ISODate
- type ISODateTime
- type IdentificationSource4Choice
- type LEIIdentifier
- type Max16Text
- type Max350Text
- type Max4AlphaNumericText
- type Max70Text
- type NameAndAddress12
- type NoReasonCode
- type NoSpecifiedReason1
- type OriginalAndCurrentQuantities4
- type OtherIdentification2
- type PartyIdentification104Choice
- type PartyIdentification108
- type PartyIdentification110
- type PartyIdentification115Choice
- type PartyIdentification58Choice
- type PartyIdentificationAndAccount146
- type PendingStatus20Choice
- type Quantity10Choice
- type ReceiveDelivery1Code
- type RejectionReason40
- type RejectionStatus27Choice
- type ResponseStatus8Choice
- type RestrictedFINActiveCurrencyAndAmount
- type RestrictedFINActiveOrHistoricCurrencyAndAmount
- type RestrictedFINExact2Text
- type RestrictedFINXMax140Text
- type RestrictedFINXMax16Text
- type RestrictedFINXMax210Text
- type RestrictedFINXMax31Text
- type RestrictedFINXMax34Text
- type RestrictedFINXMax35Text
- type SecuritiesAccount30
- type SecuritiesSettlementTransactionCounterpartyResponse002V02
- type SecurityIdentification20
- type SettlementDate15Choice
- type SettlementDateCode11Choice
- type SettlementParties49
- type SupplementaryData1
- type SupplementaryDataEnvelope1
- type TradeDate6Choice
- type TradeDateCode4Choice
- type TransactionDetails92
- type TransactionIdentification7
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.040.002.02 Amt"` CdtDbtInd CreditDebitCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 CdtDbtInd"` OrgnlCcyAndOrdrdAmt RestrictedFINActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 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 ConsentOrRejectionReason5Choice ¶
type ConsentOrRejectionReason5Choice struct { Cd CounterpartyResponseStatusReason1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Cd"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Prtry"` }
type ConsentReason5 ¶
type ConsentReason5 struct { Cd ConsentOrRejectionReason5Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Cd"` AddtlRsnInf RestrictedFINXMax210Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AddtlRsnInf,omitempty"` }
type ConsentStatus5Choice ¶
type ConsentStatus5Choice struct { NoSpcfdRsn NoReasonCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 NoSpcfdRsn"` Rsn []ConsentReason5 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 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.002.02 Dt"` DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 DtTm"` }
type Document ¶
type Document struct {
SctiesSttlmTxCtrPtyRspn SecuritiesSettlementTransactionCounterpartyResponse002V02 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 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 GenericIdentification47 ¶
type GenericIdentification47 struct { Id Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Id"` Issr Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Issr"` SchmeNm Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SchmeNm,omitempty"` }
type GenericIdentification84 ¶
type GenericIdentification84 struct { Id RestrictedFINXMax34Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Id"` Issr Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Issr"` SchmeNm Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 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 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.040.002.02 Cd"` Prtry RestrictedFINExact2Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 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.040.002.02 Nm"`
}
type NoSpecifiedReason1 ¶
type NoSpecifiedReason1 struct {
NoSpcfdRsn NoReasonCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 NoSpcfdRsn"`
}
type OtherIdentification2 ¶
type OtherIdentification2 struct { Id RestrictedFINXMax31Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Id"` Sfx Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Sfx,omitempty"` Tp IdentificationSource4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Tp"` }
type PartyIdentification104Choice ¶
type PartyIdentification104Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AnyBIC"` PrtryId GenericIdentification84 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 PrtryId"` NmAndAdr NameAndAddress12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 NmAndAdr"` }
type PartyIdentification108 ¶
type PartyIdentification108 struct { Id PartyIdentification58Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 LEI,omitempty"` PrcgId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 PrcgId,omitempty"` }
type PartyIdentification110 ¶
type PartyIdentification110 struct { Id PartyIdentification115Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 LEI,omitempty"` }
type PartyIdentification115Choice ¶
type PartyIdentification115Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AnyBIC"` PrtryId GenericIdentification84 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 PrtryId"` NmAndAdr NameAndAddress12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 NmAndAdr"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Ctry"` }
type PartyIdentification58Choice ¶
type PartyIdentification58Choice struct { AnyBIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AnyBIC"` NmAndAdr NameAndAddress12 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 NmAndAdr"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Ctry"` }
type PartyIdentificationAndAccount146 ¶
type PartyIdentificationAndAccount146 struct { Id PartyIdentification104Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Id"` LEI LEIIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 LEI,omitempty"` SfkpgAcct SecuritiesAccount30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SfkpgAcct,omitempty"` PrcgId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 PrcgId,omitempty"` }
type PendingStatus20Choice ¶
type PendingStatus20Choice struct { Fwdd NoSpecifiedReason1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Fwdd"` UdrInvstgtn NoSpecifiedReason1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 UdrInvstgtn"` }
type Quantity10Choice ¶
type Quantity10Choice struct { Qty FinancialInstrumentQuantity15Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Qty"` OrgnlAndCurFace OriginalAndCurrentQuantities4 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 OrgnlAndCurFace"` }
type RejectionReason40 ¶
type RejectionReason40 struct { Cd ConsentOrRejectionReason5Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Cd"` AddtlRsnInf RestrictedFINXMax210Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AddtlRsnInf,omitempty"` }
type RejectionStatus27Choice ¶
type RejectionStatus27Choice struct { NoSpcfdRsn NoReasonCode `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 NoSpcfdRsn"` Rsn RejectionReason40 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Rsn"` }
type ResponseStatus8Choice ¶
type ResponseStatus8Choice struct { Cnsntd ConsentStatus5Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Cnsntd"` Rjctd RejectionStatus27Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Rjctd"` Pdg PendingStatus20Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pdg"` }
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 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 RestrictedFINXMax210Text ¶
type RestrictedFINXMax210Text string
Must match the pattern [0-9a-zA-Z/\-\?:\(\)\.\n\r,'\+ ]{1,210}
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.040.002.02 Id"` Tp GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Tp,omitempty"` Nm Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Nm,omitempty"` }
type SecuritiesSettlementTransactionCounterpartyResponse002V02 ¶
type SecuritiesSettlementTransactionCounterpartyResponse002V02 struct { TxId TransactionIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 TxId"` RspnSts ResponseStatus8Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 RspnSts"` TxDtls TransactionDetails92 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 TxDtls,omitempty"` SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SplmtryData,omitempty"` }
type SecurityIdentification20 ¶
type SecurityIdentification20 struct { ISIN ISINOct2015Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 ISIN,omitempty"` OthrId []OtherIdentification2 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 OthrId,omitempty"` Desc RestrictedFINXMax140Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Desc,omitempty"` }
type SettlementDate15Choice ¶
type SettlementDate15Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Dt"` DtCd SettlementDateCode11Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 DtCd"` }
type SettlementDateCode11Choice ¶
type SettlementDateCode11Choice struct { Cd DateType4Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Cd"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Prtry"` }
type SettlementParties49 ¶
type SettlementParties49 struct { Dpstry PartyIdentification108 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Dpstry,omitempty"` Pty1 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pty1,omitempty"` Pty2 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pty2,omitempty"` Pty3 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pty3,omitempty"` Pty4 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pty4,omitempty"` Pty5 PartyIdentificationAndAccount146 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pty5,omitempty"` }
type SupplementaryData1 ¶
type SupplementaryData1 struct { PlcAndNm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 PlcAndNm,omitempty"` Envlp SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 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.040.002.02 Dt"` DtCd TradeDateCode4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 DtCd"` }
type TradeDateCode4Choice ¶
type TradeDateCode4Choice struct { Cd DateType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Cd"` Prtry GenericIdentification47 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Prtry"` }
type TransactionDetails92 ¶
type TransactionDetails92 struct { FinInstrmId SecurityIdentification20 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 FinInstrmId"` SctiesMvmntTp ReceiveDelivery1Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SctiesMvmntTp"` Pmt DeliveryReceiptType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Pmt"` SttlmQty Quantity10Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SttlmQty"` SfkpgAcct SecuritiesAccount30 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SfkpgAcct"` SttlmAmt AmountAndDirection67 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SttlmAmt,omitempty"` SttlmDt SettlementDate15Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 SttlmDt"` TradDt TradeDate6Choice `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 TradDt,omitempty"` DlvrgSttlmPties SettlementParties49 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 DlvrgSttlmPties,omitempty"` RcvgSttlmPties SettlementParties49 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 RcvgSttlmPties,omitempty"` Invstr PartyIdentification110 `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 Invstr,omitempty"` }
type TransactionIdentification7 ¶
type TransactionIdentification7 struct { AcctOwnrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AcctOwnrTxId,omitempty"` AcctSvcrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 AcctSvcrTxId,omitempty"` MktInfrstrctrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 MktInfrstrctrTxId,omitempty"` PrcrTxId RestrictedFINXMax16Text `xml:"urn:iso:std:iso:20022:tech:xsd:sese.040.002.02 PrcrTxId,omitempty"` }