service

package
v0.0.0-...-3ab84a5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckoutService

type CheckoutService struct {
	// contains filtered or unexported fields

} // NewCheckoutService new CheckoutService

func NewCheckoutService

func NewCheckoutService(ctx context.Context) *CheckoutService

func (*CheckoutService) Run

func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checkout.CheckoutResp, err error)
Run

1. get cart 2. calculate cart 3. create order 4. empty cart 5. pay 6. change order result 7. finish

Jump to

Keyboard shortcuts

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