checkoutservice

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlaceOrderRequest

type PlaceOrderRequest struct {
	weaver.AutoMarshal
	UserID       string
	UserCurrency string
	Address      shippingservice.Address
	Email        string
	CreditCard   paymentservice.CreditCardInfo
}

func (*PlaceOrderRequest) WeaverMarshal

func (x *PlaceOrderRequest) WeaverMarshal(enc *codegen.Encoder)

func (*PlaceOrderRequest) WeaverUnmarshal

func (x *PlaceOrderRequest) WeaverUnmarshal(dec *codegen.Decoder)

type T

type T interface {
	PlaceOrder(ctx context.Context, req PlaceOrderRequest) (types.Order, error)
}

Jump to

Keyboard shortcuts

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