stores

package
v0.0.0-...-76fafce Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 7 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 interface {
	CreateStore(ctx context.Context, name, location string) (string, error)
	GetStores(ctx context.Context) ([]string, error)
	GetStoreName(ctx context.Context, storeID string) (string, error)
	RebrandStore(ctx context.Context, storeID, name string) error

	AddProduct(ctx context.Context, storeID string, name, description, sku string, price float64) (string, error)
	RebrandProduct(ctx context.Context, productID, name, description string) error
	GetProductDetails(ctx context.Context, productID string) (string, float64, error)
	GetCatalog(ctx context.Context, storeID string) ([]string, error)
}

func NewClient

func NewClient(transport runtime.ClientTransport) Client

Jump to

Keyboard shortcuts

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