camt_017_001_04

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 ActiveOrHistoricCurrencyCode

type ActiveOrHistoricCurrencyCode string

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

type CurrencyExchange7

type CurrencyExchange7 struct {
	XchgRate float64                      `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 XchgRate"`
	QtdCcy   ActiveOrHistoricCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 QtdCcy"`
	QtnDt    ISODateTime                  `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 QtnDt"`
}

type CurrencyExchangeReport3

type CurrencyExchangeReport3 struct {
	CcyRef       CurrencySourceTarget1            `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 CcyRef"`
	CcyXchgOrErr ExchangeRateReportOrError2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 CcyXchgOrErr"`
}

type CurrencySourceTarget1

type CurrencySourceTarget1 struct {
	SrcCcy  ActiveOrHistoricCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 SrcCcy"`
	TrgtCcy ActiveOrHistoricCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 TrgtCcy"`
}

type Document

type Document struct {
	RtrCcyXchgRate ReturnCurrencyExchangeRateV04 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 RtrCcyXchgRate"`
}

type ErrorHandling1Choice

type ErrorHandling1Choice struct {
	Cd    ErrorHandling1Code   `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Cd"`
	Prtry Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Prtry"`
}

type ErrorHandling1Code

type ErrorHandling1Code string

May be one of X020, X030, X050

type ErrorHandling3

type ErrorHandling3 struct {
	Err  ErrorHandling1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Err"`
	Desc Max140Text           `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Desc,omitempty"`
}

type ExchangeRateReportOrError1Choice

type ExchangeRateReportOrError1Choice struct {
	CcyXchgRpt []CurrencyExchangeReport3 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 CcyXchgRpt"`
	OprlErr    []ErrorHandling3          `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 OprlErr"`
}

type ExchangeRateReportOrError2Choice

type ExchangeRateReportOrError2Choice struct {
	BizErr  []ErrorHandling3  `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 BizErr"`
	CcyXchg CurrencyExchange7 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 CcyXchg"`
}

type ExternalEnquiryRequestType1Code

type ExternalEnquiryRequestType1Code string

Must be at least 1 items long

type ExternalPaymentControlRequestType1Code

type ExternalPaymentControlRequestType1Code string

Must be at least 1 items long

type GenericIdentification1

type GenericIdentification1 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Id"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 SchmeNm,omitempty"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Issr,omitempty"`
}

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 Max140Text

type Max140Text string

Must be at least 1 items long

type Max350Text

type Max350Text string

Must be at least 1 items long

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max4AlphaNumericText

type Max4AlphaNumericText string

Must match the pattern [a-zA-Z0-9]{1,4}

type MessageHeader7

type MessageHeader7 struct {
	MsgId       Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 MsgId"`
	CreDtTm     ISODateTime            `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 CreDtTm,omitempty"`
	ReqTp       RequestType4Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 ReqTp,omitempty"`
	OrgnlBizQry OriginalBusinessQuery1 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 OrgnlBizQry,omitempty"`
	QryNm       Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 QryNm,omitempty"`
}

type OriginalBusinessQuery1

type OriginalBusinessQuery1 struct {
	MsgId   Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 MsgId"`
	MsgNmId Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 MsgNmId,omitempty"`
	CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 CreDtTm,omitempty"`
}

type RequestType4Choice

type RequestType4Choice struct {
	PmtCtrl ExternalPaymentControlRequestType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 PmtCtrl"`
	Enqry   ExternalEnquiryRequestType1Code        `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Enqry"`
	Prtry   GenericIdentification1                 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Prtry"`
}

type ReturnCurrencyExchangeRateV04

type ReturnCurrencyExchangeRateV04 struct {
	MsgHdr      MessageHeader7                   `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 MsgHdr"`
	RptOrErr    ExchangeRateReportOrError1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 RptOrErr"`
	SplmtryData []SupplementaryData1             `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 SplmtryData,omitempty"`
}

type SupplementaryData1

type SupplementaryData1 struct {
	PlcAndNm Max350Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 PlcAndNm,omitempty"`
	Envlp    SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:camt.017.001.04 Envlp"`
}

type SupplementaryDataEnvelope1

type SupplementaryDataEnvelope1 struct {
	Item string `xml:",any"`
}

Jump to

Keyboard shortcuts

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