metadata

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 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 AccountFundingTransaction added in v1.2.7

type AccountFundingTransaction struct {
	AftIndicator *AftIndicator `json:"aft_indicator,omitempty"`
}

type AftIndicator added in v1.2.7

type AftIndicator struct {
	PullFunds *PullFunds `json:"pull_funds,omitempty"`
}

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"`
	// Deprecated: This property will be removed in the future, and should not be used. Use LocalSchemes instead.
	SchemeLocal               SchemeLocalType            `json:"scheme_local,omitempty"`
	LocalSchemes              []SchemeLocalType          `json:"local_schemes,omitempty"`
	CardType                  common.CardType            `json:"card_type,omitempty"`
	CardCategory              common.CardCategory        `json:"card_category,omitempty"`
	Currency                  common.Currency            `json:"currency,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"`
	SubproductId              string                     `json:"subproduct_id,omitempty"`
	RegulatedIndicator        bool                       `json:"regulated_indicator,omitempty"`
	RegulatedType             string                     `json:"regulated_type,omitempty"`
	CardPayouts               *CardMetadataPayouts       `json:"card_payouts,omitempty"`
	SchemeMetadata            *SchemeMetadata            `json:"scheme_metadata,omitempty"`
	AccountFundingTransaction *AccountFundingTransaction `json:"account_funding_transaction,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"
	FastFunds    PayoutsTransactionsType = "fast_funds"
	Unknown      PayoutsTransactionsType = "unknown"
)

type PinlessDebitSchemeMetadata added in v1.2.0

type PinlessDebitSchemeMetadata struct {
	NetworkId               string `json:"network_id,omitempty"`
	NetworkDescription      string `json:"network_description,omitempty"`
	BillPayIndicator        bool   `json:"bill_pay_indicator,omitempty"`
	EcommerceIndicator      bool   `json:"ecommerce_indicator,omitempty"`
	InterchangeFeeIndicator string `json:"interchange_fee_indicator,omitempty"`
	MoneyTransferIndicator  bool   `json:"money_transfer_indicator,omitempty"`
	TokenIndicator          bool   `json:"token_indicator,omitempty"`
}

type PullFunds added in v1.2.7

type PullFunds struct {
	CrossBorder bool `json:"cross_border,omitempty"`
	Domestic    bool `json:"domestic,omitempty"`
}

type SchemeLocalType

type SchemeLocalType string
const (
	Accel           SchemeLocalType = "accel"
	CartesBancaires SchemeLocalType = "cartes_bancaires"
	Mada            SchemeLocalType = "mada"
	Nyce            SchemeLocalType = "nyce"
	Omannet         SchemeLocalType = "omannet"
	Pulse           SchemeLocalType = "pulse"
	Star            SchemeLocalType = "star"
	Upi             SchemeLocalType = "upi"
)

type SchemeMetadata added in v1.2.0

type SchemeMetadata struct {
	Accel []PinlessDebitSchemeMetadata `json:"accel,omitempty"`
	Pulse []PinlessDebitSchemeMetadata `json:"pulse,omitempty"`
	Nyce  []PinlessDebitSchemeMetadata `json:"nyce,omitempty"`
	Star  []PinlessDebitSchemeMetadata `json:"star,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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