dtocustomer

package
v0.0.0-...-bb92df6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: OSL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomerResult

type CustomerResult struct {
	ID                     string
	PersonalData           domain.PersonData
	Addresses              []domain.Address
	DefaultShippingAddress domain.Address
	DefaultBillingAddress  domain.Address
}

CustomerResult is a dto

func (*CustomerResult) GetAddress

func (cr *CustomerResult) GetAddress(ID string) (*domain.Address, error)

GetAddress returns address by id

type CustomerStatusResult

type CustomerStatusResult struct {
	IsLoggedIn bool
	UserID     string
}

CustomerStatusResult is a dto

Jump to

Keyboard shortcuts

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