Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
ID int `json:"id,omitempty"`
Name string `json:"bigv_account_subscription,omitempty"`
Owner *Person `json:"owner,omitempty"`
TechnicalContact *Person `json:"tech,omitempty"`
OwnerID int `json:"owner_id,omitempty"`
CardReference string `json:"card_reference,omitempty"`
TechnicalContactID int `json:"tech_id,omitempty"`
}
Account represents the parts of an account that are discussed with bmbilling
type Person ¶
type Person struct {
ID int `json:"id,omitempty"`
// Username is the name this person uses to log in to our services.
Username string `json:"username"`
Email string `json:"email"`
BackupEmail string `json:"email_backup,omitempty"`
// only set in the creation request
Password string `json:"password"`
FirstName string `json:"firstname"`
LastName string `json:"surname"`
Address string `json:"address"`
City string `json:"city"`
StateCounty string `json:"statecounty,omitempty"`
Postcode string `json:"postcode"`
Country string `json:"country"`
Phone string `json:"phone"`
MobilePhone string `json:"phonemobile,omitempty"`
Organization string `json:"organization,omitempty"`
OrganizationDivision string `json:"division,omitempty"`
VATNumber string `json:"vatnumber,omitempty"`
}
Person represents a bmbilling person
Click to show internal directories.
Click to hide internal directories.