shippingservice

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	weaver.AutoMarshal
	StreetAddress string
	City          string
	State         string
	Country       string
	ZipCode       int32
}

func (*Address) WeaverMarshal

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

func (*Address) WeaverUnmarshal

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

type T

type T interface {
	GetQuote(ctx context.Context, addr Address, items []cartservice.CartItem) (money.T, error)
	ShipOrder(ctx context.Context, addr Address, items []cartservice.CartItem) (string, error)
}

Jump to

Keyboard shortcuts

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