ports

package
v0.0.0-...-7756f97 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 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 CheckoutRepository

type CheckoutRepository interface {
	PlaceOrder(context.Context, int64) error
	GetShippingCost(ctx context.Context) (float64, error)
	ChargeCard(context.Context, float64) error
	ShipOrder(context.Context) error
	SendConfirmation(context.Context, *models.Cart) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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