Documentation ¶
Index ¶
- Constants
- func NewClient(apiKey string, warehouseId string, timeout int, debug bool) (c *client)
- type Destination
- type Dimension
- type Item
- func (item *Item) AddDimensions(props ...map[string]interface{}) *Dimension
- func (item *Item) AddPackaging(props ...map[string]interface{}) *Packaging
- func (item *Item) AddPrepackage(props ...map[string]interface{}) *Prepackage
- func (item *Item) AddStack(props ...map[string]interface{}) *Stack
- func (item *Item) AddVoidDimensions(props ...map[string]interface{}) *Dimension
- type PackAndQuote
- type Packaging
- type Prepackage
- type SolvingMaze
- type Stack
Constants ¶
View Source
const (
API_BASE = "https://api.solvingmaze.com/"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Destination ¶
type Destination struct {
// contains filtered or unexported fields
}
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (*Item) AddDimensions ¶
func (*Item) AddPackaging ¶
func (*Item) AddPrepackage ¶
func (item *Item) AddPrepackage(props ...map[string]interface{}) *Prepackage
func (*Item) AddVoidDimensions ¶
type PackAndQuote ¶
type PackAndQuote struct {
// contains filtered or unexported fields
}
func (*PackAndQuote) AddItem ¶
func (pq *PackAndQuote) AddItem(props map[string]interface{}) (*Item, error)
func (*PackAndQuote) Calculate ¶
func (pq *PackAndQuote) Calculate() (*models.PackResponse, error)
func (*PackAndQuote) Destination ¶
func (pq *PackAndQuote) Destination(props map[string]interface{}) (*Destination, error)
type Prepackage ¶
type Prepackage struct {
// contains filtered or unexported fields
}
func (*Prepackage) Capacity ¶
func (p *Prepackage) Capacity(c int)
func (*Prepackage) DimensionUnit ¶
func (p *Prepackage) DimensionUnit(u string)
func (*Prepackage) Height ¶
func (p *Prepackage) Height(h float64)
func (*Prepackage) Length ¶
func (p *Prepackage) Length(l float64)
func (*Prepackage) Weight ¶
func (p *Prepackage) Weight(w float64)
func (*Prepackage) Width ¶
func (p *Prepackage) Width(w float64)
type SolvingMaze ¶
type SolvingMaze struct {
// contains filtered or unexported fields
}
func (*SolvingMaze) NewPackAndQuote ¶
func (sm *SolvingMaze) NewPackAndQuote() *PackAndQuote
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
func (*Stack) HeightIncrement ¶
func (*Stack) LengthIncrement ¶
func (*Stack) WidthIncrement ¶
Click to show internal directories.
Click to hide internal directories.