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
Click to show internal directories.
Click to hide internal directories.