Documentation ¶
Index ¶
- type Client
- func (comp *Client) BuildConfig(jsApiList *object.StringMap, debug bool, beta bool, isJson bool, ...) (interface{}, error)
- func (comp *Client) ConfigSignature(url string, nonce string, timestamp time.Time) *object.HashMap
- func (comp *Client) GetAppID() string
- func (comp *Client) GetConfigArray(apis *object.StringMap, debug bool, beta bool, openTagList *object.StringMap, ...) (string, error)
- func (comp *Client) GetTicket(refresh bool, ticketType string) (*object.HashMap, error)
- func (comp *Client) GetTicketSignature(ticket string, nonce string, timestamp time.Time, url string) string
- func (comp *Client) GetUrl() string
- func (comp *Client) SetUrl(url string) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *kernel.BaseClient *kernel.InteractsWithCache TicketEndpoint string // contains filtered or unexported fields }
func NewClient ¶
func NewClient(app *kernel.ApplicationInterface) *Client
func RegisterProvider ¶
func RegisterProvider(app *kernel.ApplicationPaymentInterface) *Client
func (*Client) BuildConfig ¶
func (*Client) ConfigSignature ¶
func (*Client) GetConfigArray ¶
func (*Client) GetTicketSignature ¶
Click to show internal directories.
Click to hide internal directories.