tsmt_045_001_02

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountIdentification4Choice

type AccountIdentification4Choice struct {
	IBAN IBAN2007Identifier            `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 IBAN"`
	Othr GenericAccountIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Othr"`
}

type AccountSchemeName1Choice

type AccountSchemeName1Choice struct {
	Cd    ExternalAccountIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Cd"`
	Prtry Max35Text                          `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Prtry"`
}

type Action2Code

type Action2Code string

May be one of SBTW, RSTW, RSBS, ARDM, ARCS, ARES, WAIT, UPDT, SBDS, ARBA, ARRO, CINR

type ActiveOrHistoricCurrencyCode

type ActiveOrHistoricCurrencyCode string

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

type Adjustment6

type Adjustment6 struct {
	Tp    AdjustmentType1Choice    `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Tp"`
	Drctn AdjustmentDirection1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Drctn"`
	Amt   CurrencyAndAmount        `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Amt"`
}

type AdjustmentDirection1Code

type AdjustmentDirection1Code string

May be one of ADDD, SUBS

type AdjustmentType1Choice

type AdjustmentType1Choice struct {
	Tp             AdjustmentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Tp"`
	OthrAdjstmntTp Max35Text           `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 OthrAdjstmntTp"`
}

type AdjustmentType2Code

type AdjustmentType2Code string

May be one of REBA, DISC, CREN, SURC

type BICIdentification1

type BICIdentification1 struct {
	BIC BICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 BIC"`
}

type BICIdentifier

type BICIdentifier string

Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}

type BaselineStatus3Code

type BaselineStatus3Code string

May be one of PROP, CLSD, PMTC, ESTD, ACTV, COMP, AMRQ, RARQ, CLRQ, SCRQ, SERQ, DARQ

type BreakDown1Choice

type BreakDown1Choice struct {
	ByPurchsOrdr ReportLine5 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 ByPurchsOrdr"`
	ByComrclInvc ReportLine6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 ByComrclInvc"`
}

type CashAccount24

type CashAccount24 struct {
	Id  AccountIdentification4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
	Tp  CashAccountType2Choice       `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Tp,omitempty"`
	Ccy ActiveOrHistoricCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Ccy,omitempty"`
	Nm  Max70Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Nm,omitempty"`
}

type CashAccountType2Choice

type CashAccountType2Choice struct {
	Cd    ExternalCashAccountType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Cd"`
	Prtry Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Prtry"`
}

type CountryCode

type CountryCode string

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

type CurrencyAndAmount

type CurrencyAndAmount struct {
	Value float64      `xml:",chardata"`
	Ccy   CurrencyCode `xml:"Ccy,attr"`
}

type CurrencyCode

type CurrencyCode string

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

type Document

type Document struct {
	FwdInttToPayNtfctn ForwardIntentToPayNotificationV02 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 FwdInttToPayNtfctn"`
}

type DocumentIdentification3

type DocumentIdentification3 struct {
	Id   Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
	Vrsn float64   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Vrsn"`
}

type DocumentIdentification5

type DocumentIdentification5 struct {
	Id     Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
	IdIssr BICIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 IdIssr"`
}

type DocumentIdentification7

type DocumentIdentification7 struct {
	Id       Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
	DtOfIsse ISODate   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 DtOfIsse"`
}

type ExternalAccountIdentification1Code

type ExternalAccountIdentification1Code string

Must be at least 1 items long

type ExternalCashAccountType1Code

type ExternalCashAccountType1Code string

Must be at least 1 items long

type FinancialInstitutionIdentification4Choice

type FinancialInstitutionIdentification4Choice struct {
	BIC      BICIdentifier   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 BIC"`
	NmAndAdr NameAndAddress6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 NmAndAdr"`
}

type ForwardIntentToPayNotificationV02

type ForwardIntentToPayNotificationV02 struct {
	NtfctnId          MessageIdentification1          `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 NtfctnId"`
	TxId              SimpleIdentificationInformation `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 TxId"`
	EstblishdBaselnId DocumentIdentification3         `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 EstblishdBaselnId"`
	TxSts             TransactionStatus4              `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 TxSts"`
	UsrTxRef          []DocumentIdentification5       `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 UsrTxRef,omitempty"`
	BuyrBk            BICIdentification1              `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 BuyrBk"`
	SellrBk           BICIdentification1              `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 SellrBk"`
	InttToPay         IntentToPay2                    `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 InttToPay"`
	ReqForActn        PendingActivity2                `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 ReqForActn,omitempty"`
}

type GenericAccountIdentification1

type GenericAccountIdentification1 struct {
	Id      Max34Text                `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
	SchmeNm AccountSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 SchmeNm,omitempty"`
	Issr    Max35Text                `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Issr,omitempty"`
}

type IBAN2007Identifier

type IBAN2007Identifier string

Must match the pattern [A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}

type ISODate

type ISODate time.Time

func (ISODate) MarshalText

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

func (*ISODate) UnmarshalText

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

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 IntentToPay2

type IntentToPay2 struct {
	Brkdwn     BreakDown1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Brkdwn"`
	XpctdPmtDt ISODate          `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 XpctdPmtDt"`
	SttlmTerms SettlementTerms3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 SttlmTerms,omitempty"`
}

type InvoiceIdentification1

type InvoiceIdentification1 struct {
	InvcNb Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 InvcNb"`
	IsseDt ISODate   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 IsseDt"`
}

type Max140Text

type Max140Text string

Must be at least 1 items long

type Max16Text

type Max16Text string

Must be at least 1 items long

type Max34Text

type Max34Text string

Must be at least 1 items long

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max70Text

type Max70Text string

Must be at least 1 items long

type MessageIdentification1

type MessageIdentification1 struct {
	Id      Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
	CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 CreDtTm"`
}

type NameAndAddress6

type NameAndAddress6 struct {
	Nm  Max70Text      `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Nm"`
	Adr PostalAddress2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Adr"`
}

type PendingActivity2

type PendingActivity2 struct {
	Tp   Action2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Tp"`
	Desc Max140Text  `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Desc,omitempty"`
}

type PostalAddress2

type PostalAddress2 struct {
	StrtNm      Max70Text   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 StrtNm,omitempty"`
	PstCdId     Max16Text   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 PstCdId"`
	TwnNm       Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 TwnNm"`
	CtrySubDvsn Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 CtrySubDvsn,omitempty"`
	Ctry        CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Ctry"`
}

type ReportLine5

type ReportLine5 struct {
	PurchsOrdrRef DocumentIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 PurchsOrdrRef"`
	Adjstmnt      []Adjustment6           `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Adjstmnt,omitempty"`
	NetAmt        CurrencyAndAmount       `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 NetAmt"`
}

type ReportLine6

type ReportLine6 struct {
	ComrclDocRef       InvoiceIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 ComrclDocRef"`
	Adjstmnt           []Adjustment6          `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Adjstmnt,omitempty"`
	NetAmt             CurrencyAndAmount      `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 NetAmt"`
	BrkdwnByPurchsOrdr []ReportLine7          `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 BrkdwnByPurchsOrdr"`
}

type ReportLine7

type ReportLine7 struct {
	TxId          Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 TxId"`
	PurchsOrdrRef DocumentIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 PurchsOrdrRef"`
	Adjstmnt      []Adjustment6           `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Adjstmnt,omitempty"`
	NetAmt        CurrencyAndAmount       `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 NetAmt"`
}

type SettlementTerms3

type SettlementTerms3 struct {
	CdtrAgt  FinancialInstitutionIdentification4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 CdtrAgt,omitempty"`
	CdtrAcct CashAccount24                             `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 CdtrAcct"`
}

type SimpleIdentificationInformation

type SimpleIdentificationInformation struct {
	Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Id"`
}

type TransactionStatus4

type TransactionStatus4 struct {
	Sts BaselineStatus3Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.045.001.02 Sts"`
}

Jump to

Keyboard shortcuts

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