payment

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSupportedPlatforms

func GetSupportedPlatforms() []dto.PlatformInfo

func ParseAmount added in v1.14.0

func ParseAmount(value string) (int64, error)

ParseAmount converts a non-negative decimal currency amount to its integer minor unit. Financial callback code must not compare parsed float64 values.

Types

type Platform

type Platform int
const (
	Stripe Platform = iota
	AlipayF2F
	EPay
	Balance
	CryptoSaaS
	UNSUPPORTED Platform = -1
)

func ParsePlatform

func ParsePlatform(s string) Platform

func (Platform) String

func (p Platform) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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