trade

package
v0.0.0-...-a5c2be1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 1 Imported by: 0

README

微信/支付宝/苹果都是第三方支付

微信:下单、对账 支付宝:下单、对账 苹果:下单、并无对账

因此要设计一种接口,提供所有方法,

对内下单为一接口,对账为一接口

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliPay

type AliPay struct {
}

type Apple

type Apple struct {
}

type Biller

type Biller interface {
	// contains filtered or unexported methods
}

type ITrader

type ITrader interface {
	Download()
	Order()
	// contains filtered or unexported methods
}

func NewITrader

func NewITrader(pay int) ITrader

type Payer

type Payer interface {
	// contains filtered or unexported methods
}

type Trade

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

func (*Trade) Download

func (t *Trade) Download()

func (*Trade) Order

func (t *Trade) Order()

type WeChat

type WeChat struct {
}

Jump to

Keyboard shortcuts

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