metadata

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardMetadataPayouts

type CardMetadataPayouts struct {
	DomesticNonMoneyTransfer    PayoutsTransactionsType `json:"domestic_non_money_transfer,omitempty"`
	CrossBorderNonMoneyTransfer PayoutsTransactionsType `json:"cross_border_non_money_transfer,omitempty"`
	DomesticGambling            PayoutsTransactionsType `json:"domestic_gambling,omitempty"`
	CrossBorderGambling         PayoutsTransactionsType `json:"cross_border_gambling,omitempty"`
	DomesticMoneyTransfer       PayoutsTransactionsType `json:"domestic_money_transfer,omitempty"`
	CrossBorderMoneyTransfer    PayoutsTransactionsType `json:"cross_border_money_transfer,omitempty"`
}

type CardMetadataRequest

type CardMetadataRequest struct {
	Source sources.SourceRequest `json:"source,omitempty"`
	Format Format                `json:"format,omitempty"`
}

type CardMetadataResponse

type CardMetadataResponse struct {
	HttpMetadata      common.HttpMetadata  `json:"http_metadata,omitempty"`
	Bin               string               `json:"bin,omitempty"`
	Scheme            string               `json:"scheme,omitempty"`
	SchemeLocal       SchemeLocalType      `json:"scheme_local,omitempty"`
	CardType          common.CardType      `json:"card_type,omitempty"`
	CardCategory      common.CardCategory  `json:"card_category,omitempty"`
	Issuer            string               `json:"issuer,omitempty"`
	IssuerCountry     common.Country       `json:"issuer_country,omitempty"`
	IssuerCountryName string               `json:"issuer_country_name,omitempty"`
	ProductId         string               `json:"product_id,omitempty"`
	ProductType       string               `json:"product_type,omitempty"`
	CardPayouts       *CardMetadataPayouts `json:"card-payouts,omitempty"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(configuration *configuration.Configuration, apiClient client.HttpClient) *Client

func (*Client) RequestCardMetadata

func (c *Client) RequestCardMetadata(request CardMetadataRequest) (*CardMetadataResponse, error)

type Format

type Format string
const (
	Basic       Format = "basic"
	CardPayouts Format = "card_payouts"
)

type PayoutsTransactionsType

type PayoutsTransactionsType string
const (
	NotSupported PayoutsTransactionsType = "not_supported"
	Standard     PayoutsTransactionsType = "standard"
	FastFounds   PayoutsTransactionsType = "fast_founds"
	Unknown      PayoutsTransactionsType = "unknown"
)

type SchemeLocalType

type SchemeLocalType string
const (
	CartesBancaires SchemeLocalType = "cartes_bancaires"
	Mada            SchemeLocalType = "mada"
	Omannet         SchemeLocalType = "Omannet"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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