jssdk

package
v3.2.23 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*jssdk.Client
}

func NewClient

func NewClient(app *kernel2.ApplicationInterface) (*Client, error)

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) AppConfig

func (comp *Client) AppConfig(prepayID string) (*object.StringMap, error)

func (*Client) BridgeConfig

func (comp *Client) BridgeConfig(prepayID string, isJson bool) (interface{}, error)

JSAPI调起支付API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml

func (*Client) BridgeConfigForPartner added in v3.0.40

func (comp *Client) BridgeConfigForPartner(ctx context.Context, prepayID string, isJson bool) (interface{}, error)

func (*Client) ContractConfig

func (comp *Client) ContractConfig(params *object.StringMap) (*object.StringMap, error)

func (*Client) SDKConfig

func (comp *Client) SDKConfig(prepayID string) (*object.StringMap, error)

func (*Client) ShareAddressConfig

func (comp *Client) ShareAddressConfig(request *http.Request, accessToken string, isJson bool) (interface{}, error)

Jump to

Keyboard shortcuts

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