product

package
v0.0.0-...-2c15619 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateProductCommand

type CreateProductCommand struct {
	Sku          string       `json:"sku"`
	Name         string       `json:"name"`
	InitialStock int          `json:"initialStock"`
	CategoryID   int          `json:"categoryID"`
	Price        shared.Money `json:"price"`
}

type DecreaseProductStockCommand

type DecreaseProductStockCommand struct {
	Stock int `json:"stock"`
}

type IncreaseProductStockCommand

type IncreaseProductStockCommand struct {
	Stock int `json:"stock"`
}

Jump to

Keyboard shortcuts

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