skus

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2015 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//StatusComplete - a status flag for complete tasks
	StatusComplete = "complete"
	//StatusFailed - a status for failed tasks
	StatusFailed = "failed"
	//StatusProcessing - a status for in process items
	StatusProcessing = "processing"
	//StatusOutsourced - this is to indicate the the task tracking has been outsourced
	StatusOutsourced = "outsourced"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Sku

type Sku interface {
	Procurement(meta map[string]interface{}) (status string, taskMeta map[string]interface{})
	ReStock(meta map[string]interface{}) (status string, taskMeta map[string]interface{})
}

Sku - interface for a sku object

type Sku2CSmall

type Sku2CSmall struct {
	Client      vcdClient
	TaskManager taskManager
}

Sku2CSmall - a object representing a 2csmall sku

func New2CSmallSku added in v0.0.58

func New2CSmallSku(client vcdClient, tm taskManager) *Sku2CSmall

func (*Sku2CSmall) Procurement

func (s *Sku2CSmall) Procurement(meta map[string]interface{}) (status string, taskMeta map[string]interface{})

Procurement - this method will walk the procurement flow for the 2csmall object

func (*Sku2CSmall) ReStock

func (s *Sku2CSmall) ReStock(meta map[string]interface{}) (status string, taskMeta map[string]interface{})

ReStock - this method will walk the restock flow for the 2csmall object

Jump to

Keyboard shortcuts

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