products

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Created

type Created struct {
	Id         string       `json:"id"`
	Sku        string       `json:"sku"`
	Name       string       `json:"name"`
	Stock      int          `json:"stock"`
	Price      shared.Money `json:"price"`
	FinalPrice shared.Money `json:"finalPrice"`
	CategoryId int          `json:"categoryId"`
	ddd.IBaseEvent
}

func (*Created) ExchangeName

func (s *Created) ExchangeName() string

type StockDecreased

type StockDecreased struct {
	Id    string `json:"id"`
	Stock int    `json:"Stock"`
}

func (*StockDecreased) ExchangeName

func (s *StockDecreased) ExchangeName() string

type StockIncreased

type StockIncreased struct {
	Id    string `json:"id"`
	Stock int    `json:"Stock"`
}

func (*StockIncreased) ExchangeName

func (s *StockIncreased) ExchangeName() string

Jump to

Keyboard shortcuts

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