Versions in this module Expand all Collapse all v0 v0.0.3 Mar 13, 2024 Changes in this version + const GenderFemale + const GenderMale + const GenderOther + const GenderUnknown + var ErrCustomerNotFoundError = errors.New("Customer not found") + type Address struct + AdditionalAddressLines []string + City string + Company string + CountryCode string + DefaultBilling bool + DefaultShipping bool + Email string + Firstname string + ID string + Lastname string + PostCode string + Prefix string + RegionCode string + State string + Street string + StreetNr string + Telephone string + type Customer interface + GetAddresses func() []Address + GetDefaultBillingAddress func() *Address + GetDefaultShippingAddress func() *Address + GetID func() string + GetPersonalData func() PersonData + type CustomerIdentityService interface + GetByIdentity func(ctx context.Context, identity auth.Identity) (Customer, error) + type PersonData struct + Birthday time.Time + FirstName string + Gender string + LastName string + MainEmail string + MiddleName string + Nationality string + Prefix string