lob

package
v0.0.0-...-fbd9dd6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client abstracts interacting with lob.com's api

func NewClient

func NewClient(apiKey string) *Client

NewClient lob.com api client abstraction

func (*Client) IsTest

func (c *Client) IsTest() bool

IsTest returns true if the client was configured with a test api key

func (*Client) SendPostcard

func (c *Client) SendPostcard(from, to models.Address, front, back string) error

func (*Client) VerifyAddress

func (c *Client) VerifyAddress(a models.Address) (models.Address, error)

Jump to

Keyboard shortcuts

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