channels

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppSession

func NewAppSession() *appSession

func NewBrowserSession

func NewBrowserSession() *browserSession

func NewMerchantInitiatedSession added in v1.2.3

func NewMerchantInitiatedSession() *merchantInitiatedSession

Types

type Channel

type Channel interface {
	GetType() ChannelType
}

type ChannelData

type ChannelData struct {
	Channel ChannelType `json:"channel,omitempty"`
}

type ChannelType

type ChannelType string
const (
	App               ChannelType = "app"
	Browser           ChannelType = "browser"
	MerchantInitiated ChannelType = "merchant_initiated"
)

type RequestType added in v1.2.3

type RequestType string
const (
	AccountVerification     RequestType = "account_verification"
	AddCard                 RequestType = "add_card"
	InstallmentTransaction  RequestType = "installment_transaction"
	MailOrder               RequestType = "mail_order"
	MaintainCardInformation RequestType = "maintain_card_information"
	OtherPayment            RequestType = "other_payment"
	RecurringTransaction    RequestType = "recurring_transaction"
	SplitOrDelayedShipment  RequestType = "split_or_delayed_shipment"
	TelephoneOrder          RequestType = "telephone_order"
	TopUp                   RequestType = "top_up"
	WhitelistStatusCheck    RequestType = "whitelist_status_check"
)

type SdkEphemeralPublicKey

type SdkEphemeralPublicKey struct {
	Kty string `json:"kty,omitempty"`
	Crv string `json:"crv,omitempty"`
	X   string `json:"x,omitempty"`
	Y   string `json:"y,omitempty"`
}

type SdkInterfaceType

type SdkInterfaceType string
const (
	Both   SdkInterfaceType = "both"
	Html   SdkInterfaceType = "html"
	Native SdkInterfaceType = "native"
)

type UIElements

type UIElements string
const (
	HtmlOther    UIElements = "html_other"
	MultiSelect  UIElements = "multi_select"
	Oob          UIElements = "oob"
	SingleSelect UIElements = "single_select"
	Text         UIElements = "text"
)

Jump to

Keyboard shortcuts

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