dtocustomer

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 2 Imported by: 3

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 added in v3.4.0

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