UPSClient

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	API_URL      = "https://onlinetools.ups.com"
	TEST_API_URL = "https://wwwcie.ups.com"
	API_VERSION  = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(username string, password string, accessKey string) (c *Client)

func (*Client) Debug

func (c *Client) Debug(debug ...bool) bool

func (*Client) Post

func (c *Client) Post(resource string, requestName string, request interface{}, requestOption string, queryArgs ...map[string]string) (response []byte, err error)

func (*Client) Testing

func (c *Client) Testing(testing ...bool) bool

func (*Client) Timeout

func (c *Client) Timeout(timeout ...int) int

Jump to

Keyboard shortcuts

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