Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) CheckProductStockQuantities(ctx context.Context, orderItems []*domain.OrderItem) ([]*domain.ProductStock, error)
- func (a *Adapter) CloseConnection()
- func (a *Adapter) GetProductPrices(ctx context.Context, productCodes []string) ([]*domain.ProductPrice, error)
- func (a *Adapter) ReduceProductStockQuantities(ctx context.Context, orderItems []*domain.OrderItem) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) CheckProductStockQuantities ¶
func (*Adapter) CloseConnection ¶
func (a *Adapter) CloseConnection()
func (*Adapter) GetProductPrices ¶
Click to show internal directories.
Click to hide internal directories.