scaffold

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Code        string `xml:"Ccy,omitempty" json:"AlphanumericCode,omitempty"`
	MinorUnits  string `xml:"CcyMnrUnts,omitempty" json:"MinorUnits,omitempty"`
	Country     string `xml:"CtryNm,omitempty" json:"CountryName,omitempty"`
	Description string `xml:"CcyNm,omitempty" json:"CurrencyName,omitempty"`
}

Entry defines an entry in the ISO 4217 standard.

type ISO4217

type ISO4217 struct {
	AttrPublished string `xml:"Pblshd,attr" json:",omitempty"` // maxLength=10
	Table         *Table `xml:"CcyTbl,omitempty" json:"Table,omitempty"`
}

ISO4217 defines the top level xml response for the ISO 4217 standard.

type Table

type Table struct {
	Entries []*Entry `xml:"CcyNtry,omitempty" json:"Entries,omitempty"`
}

Table defines the table containing the ISO entries.

Jump to

Keyboard shortcuts

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