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
Click to show internal directories.
Click to hide internal directories.