Discover Packages
github.com/deb-ict/cloudbm-community
pkg
module
customer
package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jun 25, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Address struct {
Id string `json:"id"`
TypeId string `json:"type_id"`
Address string `json:"address"`
PostalCode string `json:"postal"`
City string `json:"city"`
Country string `json:"country"`
}
type AddressType struct {
Id string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Primary bool `json:"primary"`
}
type Api interface {
RegisterRoutes(r *mux .Router )
}
type Company struct {
Id string `json:"id"`
Name string `json:"name"`
Emails []Email `json:"emails,omitempty"`
Phones []Phone `json:"phones,omitempty"`
Addresses []Address `json:"addresses,omitempty"`
}
type Contact struct {
Id string `json:"id"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Emails []Email `json:"emails,omitempty"`
Phones []Phone `json:"phones,omitempty"`
Addresses []Address `json:"addresses,omitempty"`
}
type Email struct {
Id string `json:"id"`
TypeId string `json:"type_id"`
Value string `json:"value"`
Description string `json:"description"`
Primary bool `json:"primary"`
}
type EmailType struct {
Id string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Primary bool `json:"primary"`
}
type Phone struct {
Id string `json:"id"`
TypeId string `json:"type_id"`
Value string `json:"value"`
Description string `json:"description"`
Primary bool `json:"primary"`
}
type PhoneType struct {
Id string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Primary bool `json:"primary"`
}
type Repository interface {
}
type Service interface {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.