Documentation ¶
Overview ¶
Package iin provides a common interface for Issuer Identification Number services. ref: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_.28IIN.29
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardMetadata ¶
type CardMetadata struct { Issuer string IssuerURL string IssuerPhone string IssuerCity string IssuerCountry string IssuerCountryCode string // alpha2 CardScheme string // visa/mastercard CardBrand string // Visa/Platinum CardType string // debit/credit CardIsPrepaid bool // false CardCurrency string // DKK // GeoMapping IssuerLatitude float32 IssuerLongitude float32 IssuerMap string }
type Service ¶
type Service interface { Lookup(s string) (*CardMetadata, error) State() connectivity.State }
Click to show internal directories.
Click to hide internal directories.