internal

package
v0.0.0-...-888ce58 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDate

func ParseDate(date string) (time.Time, error)

ParseDate parses a date string in the format used by the enom API.

Types

type Administrator

type Administrator struct {
	OrganizationName string `xml:"AdminOrganizationName"`
	JobTitle         string `xml:"AdminJobTitle"`
	FirstName        string `xml:"AdminFirstName"`
	LastName         string `xml:"AdminLastName"`
	Address1         string `xml:"AdminAddress1"`
	Address2         string `xml:"AdminAddress2"`
	City             string `xml:"AdminCity"`
	Country          string `xml:"AdminCountry"`
	StateProvince    string `xml:"AdminStateProvince"`
	PostalCode       string `xml:"AdminPostalCode"`
	Email            string `xml:"AdminEmailAddress"`
	Phone            string `xml:"AdminPhone"`
	PhoneExtension   string `xml:"AdminPhoneExt"`
	Fax              string `xml:"AdminFax"`
}

type AuxiliarBilling

type AuxiliarBilling struct {
	OrganizationName string `xml:"AuxBillingOrganizationName"`
	JobTitle         string `xml:"AuxBillingJobTitle"`
	FirstName        string `xml:"AuxBillingFirstName"`
	LastName         string `xml:"AuxBillingLastName"`
	Address1         string `xml:"AuxBillingAddress1"`
	Address2         string `xml:"AuxBillingAddress2"`
	City             string `xml:"AuxBillingCity"`
	Country          string `xml:"AuxBillingCountry"`
	StateProvince    string `xml:"AuxBillingStateProvince"`
	PostalCode       string `xml:"AuxBillingPostalCode"`
	Email            string `xml:"AuxBillingEmailAddress"`
	Phone            string `xml:"AuxBillingPhone"`
	PhoneExtension   string `xml:"AuxBillingPhoneExt"`
	Fax              string `xml:"AuxBillingFax"`
}

type BaseResponse

type BaseResponse interface {
	Err() error
}

type Billing

type Billing struct {
	OrganizationName string `xml:"BillingOrganizationName"`
	JobTitle         string `xml:"BillingJobTitle"`
	FirstName        string `xml:"BillingFirstName"`
	LastName         string `xml:"BillingLastName"`
	Address1         string `xml:"BillingAddress1"`
	Address2         string `xml:"BillingAddress2"`
	City             string `xml:"BillingCity"`
	Country          string `xml:"BillingCountry"`
	StateProvince    string `xml:"BillingStateProvince"`
	PostalCode       string `xml:"BillingPostalCode"`
	Email            string `xml:"BillingEmailAddress"`
	Phone            string `xml:"BillingPhone"`
	PhoneExtension   string `xml:"BillingPhoneExt"`
	Fax              string `xml:"BillingFax"`
}

type CheckNSStatus

type CheckNSStatus struct {
	Response

	Name         string   `xml:"CheckNsStatus>name"`
	AttribId     string   `xml:"CheckNsStatus>attrib-id"`
	IpAddress    string   `xml:"CheckNsStatus>ipaddress"`
	AttribUpId   string   `xml:"CheckNsStatus>attrib-upid"`
	AttribClId   string   `xml:"CheckNsStatus>attrib-clid"`
	AttribCrId   string   `xml:"CheckNsStatus>attrib-crid"`
	Statuses     []string `xml:"CheckNsStatus>status>status"`
	AttribUpdate string   `xml:"CheckNsStatus>attrib-update"`
	AttribCrdate string   `xml:"CheckNsStatus>attrib-crdate"`
}

type Contact

type Contact struct {
	Type           string `xml:"ContactType,attr"`
	Organization   string `xml:"Organization"`
	FirstName      string `xml:"FName"`
	LastName       string `xml:"LName"`
	Address        string `xml:"Address1"`
	AddressNumber  string `xml:"Address2"`
	City           string `xml:"City"`
	State          string `xml:"StateProvince"`
	PostalCode     string `xml:"PostalCode"`
	Country        string `xml:"Country"`
	PhoneNumber    string `xml:"Phone"`
	PhoneExtension string `xml:"PhoneExt"`
	FaxNumber      string `xml:"Fax"`
	Email          string `xml:"EmailAddress"`
}

type Contacts

type Contacts struct {
	Response

	Registrant      Registrant      `xml:"GetContacts>Registrant"`
	AuxiliarBilling AuxiliarBilling `xml:"GetContacts>AuxBilling"`
	Technical       Technical       `xml:"GetContacts>Tech"`
	Administrator   Administrator   `xml:"GetContacts>Admin"`
	Billing         Billing         `xml:"GetContacts>Billing"`

	PendingVerification bool   `xml:"GetContacts>PendingVerification"`
	WPPSAllowed         int    `xml:"GetContacts>WPPSAllowed"`
	WPPSExists          int    `xml:"GetContacts>WPPSExists"`
	WPPSEnabled         int    `xml:"GetContacts>WPPSEnabled"`
	WPPSExpirationDate  string `xml:"GetContacts>WPPSExpDate"`
	WPPSAutoRenew       string `xml:"GetContacts>WPPSAutoRenew"`

	WPPSContactData WPPSContactData `xml:"GetContacts>WPPSContactData"`
}

type CreateTransferOrder

type CreateTransferOrder struct {
	Response

	TransferOrderID int     `xml:"transferorder>transferorderid"`
	OrderDate       string  `xml:"transferorder>orderdate"`
	OrderTypeID     int     `xml:"transferorder>ordertypeid"`
	OrderTypeDesc   string  `xml:"transferorder>ordertypedesc"`
	StatusID        int     `xml:"transferorder>statusid"`
	StatusDesc      string  `xml:"transferorder>statusdesc"`
	AuthAmount      float32 `xml:"transferorder>authamount"`
	Version         int     `xml:"transferorder>version"`

	TransferOrderDetail TPDetail `xml:"transferorder>transferorderdetail"`
}

type Decodable

type Decodable interface {
	XMLProxy() BaseResponse
}

type Delete

type Delete struct {
	Response

	DomainDeleted bool `xml:"deletedomain>domaindeleted"`
}

type DomainCheckPrices

type DomainCheckPrices struct {
	// TODO docs say: "Price currency. Default value is US dollars." - so when is it _not_ dollars?
	Currency     string  `xml:"Currency"`
	Registration float64 `xml:"Registration"`
	Renewal      float64 `xml:"Renewal"`
	Restore      float64 `xml:"Restore"`
	Transfer     float64 `xml:"Transfer"`
	// Docs say:
	// > The exact price for this domain to acknowledge this domain comes at a price higher
	// > than most registrations. This price is required to be passed to AddToCart or Purchase
	// > command if the domain is premium, platinum or EAP.
	// Seems to always match the transfer price.
	ExpectedPrice float64 `xml:"ExpectedCustomerSuppliedPrice"`
}

type DomainCheckResponse

type DomainCheckResponse struct {
	Response
	Name string `xml:"Domains>Domain>Name"`
	// Note that this is in addition to the RRPCode/RRPText common to every response
	RRPCode    int32             `xml:"Domains>Domain>RRPCode"`
	RRPText    string            `xml:"Domains>Domain>RRPText"`
	IsPremium  bool              `xml:"Domains>Domain>IsPremium"`
	IsPlatinum bool              `xml:"Domains>Domain>IsPlatinum"`
	IsEAP      bool              `xml:"Domains>Domain>IsEAP"`
	Prices     DomainCheckPrices `xml:"Domains>Domain>Prices"`
}

func (*DomainCheckResponse) Decode

type DomainHost

type DomainHost struct {
	XMLName xml.Name `xml:"host"`
	Name    string   `xml:"name"`
	Type    string   `xml:"type"`
	Address string   `xml:"address"`
	HostID  string   `xml:"hostid"`
}

type DomainHostDomainLimits

type DomainHostDomainLimits struct {
	HostsRecordLimit int `xml:"HostsRecordLimit"`
	MailForwardLimit int `xml:"MailForwardLimit"`
}

type DomainHostDomainServices

type DomainHostDomainServices struct {
	XMLName         xml.Name `xml:"DomainServices"`
	EmailForwarding bool     `xml:"EmailForwarding"`
	HostRecords     bool     `xml:"HostRecords"`
}

type DomainInfoResponse

type DomainInfoResponse struct {
	Response

	// TODO: it is unclear what this is. Judging by the MultiLang request param for https://api.enom.com/docs/get-domains#input-parameters,
	// this is about the domain name containing non-ASCII characters. Why the "y", though?? Also, according to
	// https://api.enom.com/docs/getdomaininfo it's a boolean, but the example shows an empty element. What's the value for true? "On", like
	// for the get-domains input parameter?
	MultyLangSLD string     `xml:"GetDomainInfo>multy-langSLD"`
	DomainName   DomainName `xml:"GetDomainInfo>domainname"`
	Status       Status     `xml:"GetDomainInfo>status"`
	Services     []Entry    `xml:"GetDomainInfo>services>entry"`

	ParkingEnabled bool `xml:"GetDomainInfo>ParkingEnabled"`
}

func (*DomainInfoResponse) Decode

func (r *DomainInfoResponse) Decode() (*response.DomainInfo, error)

func (DomainInfoResponse) ExpirationDate

func (r DomainInfoResponse) ExpirationDate() (time.Time, error)

type DomainName

type DomainName struct {
	Sld          string `xml:"sld,attr"`
	Tld          string `xml:"tld,attr"`
	DomainNameId int64  `xml:"domainnameid,attr"`
	DomainId     string `xml:",chardata"`
}

type DomainPurchase

type DomainPurchase struct {
	Response
	OrderID           string             `xml:"OrderID"`
	OrderDelayed      bool               `xml:"OrderDelayed"`
	OrderStatus       string             `xml:"OrderStatus"`
	OrderDescription  string             `xml:"OrderDescription"`
	DomainInfo        DomainPurchaseInfo `xml:"Info"`
	TotalCharged      float64            `xml:"TotalCharged"`
	RegistrantPartyID string             `xml:"RegistrantPartyID"`
	IsRealTimeTLD     bool               `xml:"IsRealTimeTLD"`
}

func (*DomainPurchase) Decode

func (d *DomainPurchase) Decode() (*response.DomainPurchase, error)

type DomainPurchaseInfo

type DomainPurchaseInfo struct {
	RegistryCreateDate string `xml:"RegistryCreateDate"`
	RegistryExpDate    string `xml:"RegistryExpDate"`
}

type EDomainInfo

type EDomainInfo struct {
	RegistryExpDate string `xml:"RegistryExpDate"`
}

type Entry

type Entry struct {
	Name string `xml:"name,attr"`
}

type Error

type Error struct {
	Error string `xml:",any"`
}

type Extend

type Extend struct {
	Response

	Extension  string `xml:"Extension"`
	DomainName string `xml:"DomainName"`
	OrderID    int    `xml:"OrderID"`

	DomainInfo EDomainInfo `xml:"Info"`
}

type GetDNS

type GetDNS struct {
	Response

	DNS            []string `xml:"dns"`
	UseDNS         string   `xml:"UseDNS"`
	HostsNumLimit  int      `xml:"HostNumLimit"`
	RegistrySynced string   `xml:"DNSRegistrySynced"`
}

type GetHosts

type GetHosts struct {
	Response

	Host            []DomainHost             `xml:"host"`
	DomainServices  DomainHostDomainServices `xml:"DomainServices"`
	DomainLimits    DomainHostDomainLimits   `xml:"DomainLimits"`
	HostRecordCount int                      `xml:"HostRecordCount"`
	MxRecordCount   int                      `xml:"MxRecordCount"`
}

type NameSpinner

type NameSpinner struct {
	SpinCount int    `xml:"spincount"`
	TLDList   string `xml:"TLDList"`
	//XMLName   xml.Name        `xml:"domain"`
	Domains []SpinnerDomain `xml:"domains>domain"`
}

type PasswordBit

type PasswordBit struct {
	Response

	DomainPassword string `xml:"DomainPassword"`
	PasswordSet    int    `xml:"password-set"`
}

type RRPInfo

type RRPInfo struct {
	Nameservers    []string `xml:"nameserver>nameserver"`
	UpdatedDate    string   `xml:"updated-date"`
	CreatedDate    string   `xml:"created-date"`
	ExpirationDate string   `xml:"registration-expiration-date"`
	Status         []string `xml:"status>status"`
}

type RegLock

type RegLock struct {
	Response
}

func (RegLock) Success

func (response RegLock) Success() bool

type RegisterNameserver

type RegisterNameserver struct {
	Response

	NsSuccess int `xml:"RegisterNameserver>NsSuccess"`
}

type Registrant

type Registrant struct {
	OrganizationName string `xml:"RegistrantOrganizationName"`
	JobTitle         string `xml:"RegistrantJobTitle"`
	FirstName        string `xml:"RegistrantFirstName"`
	LastName         string `xml:"RegistrantLastName"`
	Address1         string `xml:"RegistrantAddress1"`
	Address2         string `xml:"RegistrantAddress2"`
	City             string `xml:"RegistrantCity"`
	Country          string `xml:"RegistrantCountry"`
	StateProvince    string `xml:"RegistrantStateProvince"`
	PostalCode       string `xml:"RegistrantPostalCode"`
	Email            string `xml:"RegistrantEmailAddress"`
	Phone            string `xml:"RegistrantPhone"`
	PhoneExtension   string `xml:"RegistrantPhoneExt"`
	Fax              string `xml:"RegistrantFax"`
}

type Registry

type Registry struct {
	PartyId string `xml:"party-id,attr"`
	Name    string `xml:",chardata"`
}

type Response

type Response struct {
	// See https://api.enom.com/docs/rrp-return-codes
	ResponseCode int    `xml:"RRPCode"`
	ResponseText string `xml:"RRPText"`
	Command      string `xml:"Command"`
	Language     string `xml:"Language"`
	// Use [Response.Err] instead
	ErrCount int `xml:"ErrCount"`
	// Use [Response.Err] instead
	Errors []Error `xml:"errors"`
}

func (*Response) Err

func (r *Response) Err() error

Err returns an error if one occured at API level. This means a response was parsed successfully, but it contains an error message to be presented to the user.

type SetContact

type SetContact struct {
	Response

	PendingVerification bool `xml:"PendingVerification"`
}

type SpinnerDomain

type SpinnerDomain struct {
	//XMLName  xml.Name `xml:"domain"`
	Name     string `xml:"name,attr"`
	Com      string `xml:"com,attr"`
	ComScore string `xml:"comscore,attr"`
	Net      string `xml:"net,attr"`
	NetScore string `xml:"netscore,attr"`
	Tv       string `xml:"tv,attr"`
	TvScore  string `xml:"tvscore,attr"`
	Cc       string `xml:"cc,attr"`
	CcScore  string `xml:"ccscore,attr"`
}

type SpinnerResponse

type SpinnerResponse struct {
	Response

	NameSpinner NameSpinner `xml:"namespin"`
}

func (*SpinnerResponse) Decode

func (s *SpinnerResponse) Decode() *response.NameSpinner

type Status

type Status struct {
	Expiration            string `xml:"expiration"`
	DeleteByDate          string `xml:"deletebydate"`
	DeleteType            string `xml:"deletetype"`
	Restorable            bool   `xml:"restorable"`
	RenewBeforeExpiration string `xml:"renewbeforeexpiration"`
	Registrar             string `xml:"registrar"`
	// TODO: apparently there is "Registered" - what's the string for unregistered? And are there other states?
	RegistrationStatus string   `xml:"registrationstatus"`
	PurchaseStatus     string   `xml:"purchase-status"`
	Registry           Registry `xml:"belongs-to"`
	EscrowHold         string   `xml:"escrowhold"`
	EscrowLiftDate     string   `xml:"escrowliftdate"`
	AuctionHold        bool     `xml:"auctionhold"`
	AuctionLiftDate    string   `xml:"auctionliftdate"`
}

type TODContacts

type TODContacts struct {
	Registrant string `xml:"Registrant"`
	AuxBilling string `xml:"AuxBilling"`
	Tech       string `xml:"Tech"`
	Admin      string `xml:"Admin"`
	Billing    string `xml:"Billing"`
}

type TOStatus

type TOStatus struct {
	StatusDesc  string `xml:"statusdesc"`
	OrderTypeId int    `xml:"ordertypeid"`
	TOText      TOText `xml:"tot"`
}

type TOText

type TOText struct {
	OrderTypeDesc string `xml:"ordertypedesc"`
	Tod           string `xml:"tod"`
}

type TPDetail

type TPDetail struct {
	TransferOrderDetailID int     `xml:"transferorderdetailid"`
	Sld                   string  `xml:"sld"`
	Tld                   string  `xml:"tld"`
	StatusID              int     `xml:"statusid"`
	StatusDesc            string  `xml:"statusdesc"`
	Price                 float32 `xml:"price"`
	UseContacts           int     `xml:"usecontacts"`
	PremiumDomain         string  `xml:"premiumdomain"`
	CustomerSuppliedPrice string  `xml:"customersuppliedprice"`
}

type Technical

type Technical struct {
	OrganizationName string `xml:"TechOrganizationName"`
	JobTitle         string `xml:"TechJobTitle"`
	FirstName        string `xml:"TechFirstName"`
	LastName         string `xml:"TechLastName"`
	Address1         string `xml:"TechAddress1"`
	Address2         string `xml:"TechAddress2"`
	City             string `xml:"TechCity"`
	Country          string `xml:"TechCountry"`
	StateProvince    string `xml:"TechStateProvince"`
	PostalCode       string `xml:"TechPostalCode"`
	Email            string `xml:"TechEmailAddress"`
	Phone            string `xml:"TechPhone"`
	PhoneExtension   string `xml:"TechPhoneExt"`
	Fax              string `xml:"TechFax"`
}

type TldDetail

type TldDetail struct {
	Tld                     string `xml:"TLD"`
	AbleToLock              bool   `xml:"AbleToLock"`
	AllowWPPS               bool   `xml:"AllowWPPS"`
	AutoRenewOnly           bool   `xml:"AutoRenewOnly"`
	ExtAttributes           bool   `xml:"ExtAttributes"`
	AllowWBL                bool   `xml:"AllowWBL"`
	TransRequiresNewContact bool   `xml:"TransRequiresNewContact"`
	// Docs say: "Support Internationalized Domain Name (IDN)? If not empty, the TLD supports IDN"
	EncodingType string `xml:"EncodingType"`

	ClearPhoneNumber    bool                  `xml:"ClearPhoneNumber"`
	ClearFax            bool                  `xml:"ClearFax"`
	ValidateDNSHosting  bool                  `xml:"ValidateDNSHosting"`
	HasPremiumNames     bool                  `xml:"HasPremiumNames"`
	SupportsDnsSec      bool                  `xml:"SupportsDnsSec"`
	AllowWhoisPublicity bool                  `xml:"AllowWhoisPublicity"`
	Registration        TldDetailRegistration `xml:"Registration"`
	Renewal             TldDetailRenewal      `xml:"Renewal"`
	Transfer            TldDetailTransfer     `xml:"Transfer"`
	PremiumNames        TldDetailPremiumNames `xml:"PremiumNames"`
	NameServers         TldDetailNameServers  `xml:"NameServers"`
}

type TldDetailNameServers

type TldDetailNameServers struct {
	NameServers    bool `xml:"NameServers"`
	MinNameServers int  `xml:"MinNameServers"`
	MaxNameServers int  `xml:"MaxNameServers"`
}

type TldDetailPremiumNames

type TldDetailPremiumNames struct {
	HasPremiumNames    bool   `xml:"HasPremiumNames"`
	MaxPremiumRegYears int    `xml:"MaxPremiumRegYears"`
	TrademarkStartDate string `xml:"TrademarkStartDate"`
	TrademarkEndDate   string `xml:"TrademarkEndDate"`
}

type TldDetailRegistration

type TldDetailRegistration struct {
	Realtime                     bool   `xml:"Realtime"`
	Unit                         string `xml:"Unit"`
	Minimum                      int    `xml:"Minimum"`
	Maximum                      int    `xml:"Maximum"`
	HasPremiumNames              bool   `xml:"HasPremiumNames"`
	ExtAttributes                bool   `xml:"ExtAttributes"`
	ExtAttributesDomainLevel     bool   `xml:"ExtAttributesDomainLevel"`
	DNSRequired                  bool   `xml:"DNSRequired"`
	DNSMinimum                   int    `xml:"DNSMinimum"`
	DNSMaximum                   int    `xml:"DNSMaximum"`
	GeneralAvailabilityStartDate string `xml:"GeneralAvailabilityStartDate"`
}

type TldDetailRenewal

type TldDetailRenewal struct {
	AutoRenewOnly        bool `xml:"AutoRenewOnly"`
	AutoRenewed          bool `xml:"AutoRenewed"`
	RenewBeforeExpMonths int  `xml:"RenewBeforeExpMonths"`
	DeleteType           int  `xml:"DeleteType"`
	DeleteDay            int  `xml:"DeleteDay"`
	GracePeriod          int  `xml:"GracePeriod"`
	Reactivate           bool `xml:"Reactivate"`
	Restorable           bool `xml:"Restorable"`
	RGP                  bool `xml:"RGP"`
	RGPDays              int  `xml:"RGPDays"`
	ExtendedRGP          bool `xml:"ExtendedRGP"`
	TransferPeriod       int  `xml:"TransferPeriod"`
}

type TldDetailTransfer

type TldDetailTransfer struct {
	Transferable       bool `xml:"Transferable"`
	AuthInfo           bool `xml:"AuthInfo"`
	Realtime           bool `xml:"Realtime"`
	AutoVerification   bool `xml:"AutoVerification"`
	AutoFax            bool `xml:"AutoFax"`
	TransferByFOA      bool `xml:"TransferByFOA"`
	RequiresNewContact bool `xml:"RequiresNewContact"`
}

type TldDetailsResponse

type TldDetailsResponse struct {
	XMLName xml.Name `xml:"interface-response"`
	Response
	Tlds TldDetail `xml:"tlds>tld"`
}

func (*TldDetailsResponse) Decode

func (t *TldDetailsResponse) Decode() (*response.TldDetails, error)

type TldListResponse

type TldListResponse struct {
	XMLName xml.Name `xml:"interface-response"`
	Response
	TldList  []string `xml:"tldlist>tld>tld"`
	TldCount int32    `xml:"tldlist>tldcount"`
}

func (*TldListResponse) Decode

func (t *TldListResponse) Decode() response.TldList

type TransferOrder

type TransferOrder struct {
	Id        int      `xml:"transferorderid"`
	OrderDate string   `xml:"orderdate"`
	StatusId  int      `xml:"statusid"`
	TOStatus  TOStatus `xml:"tos"`
}

type TransferOrderDetail

type TransferOrderDetail struct {
	Response

	Id             int         `xml:"transferorderdetail>transferorderdetailid"`
	Sld            string      `xml:"transferorderdetail>sld"`
	Tld            string      `xml:"transferorderdetail>tld"`
	Lock           bool        `xml:"transferorderdetail>lock"`
	Renew          bool        `xml:"transferorderdetail>renew"`
	DomainPassword string      `xml:"transferorderdetail>domainpassword"`
	StatusId       int         `xml:"transferorderdetail>statusid"`
	StatusDesc     string      `xml:"transferorderdetail>statusdesc"`
	Price          float32     `xml:"transferorderdetail>price"`
	UseContacts    int         `xml:"transferorderdetail>usecontacts"`
	Contacts       TODContacts `xml:"transferorderdetail>contacts"`
}

type TransferOrderDetailed

type TransferOrderDetailed struct {
	DetailId          int     `xml:"transferorderdetailid"`
	Sld               string  `xml:"sld"`
	Tld               string  `xml:"tld"`
	Price             float32 `xml:"price"`
	AbleToLock        bool    `xml:"abletolock"`
	Lock              bool    `xml:"lock"`
	Renew             bool    `xml:"renew"`
	DomainPassword    string  `xml:"domainpassword"`
	UseContacts       int     `xml:"usecontacts"`
	RequestAuthInfo   bool    `xml:"reqauthinfo"`
	AuthInfo          string  `xml:"authinfo"`
	RRProcessor       string  `xml:"RRProcessor"`
	RegistrantPartyID string  `xml:"RegistrantPartyID"`
	RegistrantROID    string  `xml:"RegistrantROID"`
	PremiumDomain     bool    `xml:"PremiumDomain"`
}

type TransferOrderReview

type TransferOrderReview struct {
	Response

	TransferOrderDetailed TransferOrderDetailed `xml:"transferorderreview>transferorderdetail"`

	TransferOrderDetailCount   int     `xml:"transferorderdetailcount"`
	TransferOrderDetailEuCount int     `xml:"transferorderdetaileucount"`
	TransferOrderDetailCaCount int     `xml:"transferorderdetailcacount"`
	TransferOrderDetailDeCount int     `xml:"transferorderdetaildecount"`
	TransferOrderDetailBeCount int     `xml:"transferorderdetailbecount"`
	TransferTotalPrice         float32 `xml:"transfertotalprice"`
	AuthInfoStillRequired      string  `xml:"authinfostillrequired"`
	EuInfoStillRequired        string  `xml:"euinfostillrequired"`
	CaInfoStillRequired        string  `xml:"cainfostillrequired"`
	DeInfoStillRequired        string  `xml:"deinfostillrequired"`
	BeInfoStillRequired        string  `xml:"beinfostillrequired"`
}

type TransferOrderStatuses

type TransferOrderStatuses struct {
	Response

	Count         int             `xml:"TransferOrderCount"`
	TransferOrder []TransferOrder `xml:"transferorder"`

	AtLeastOnePendingOrder bool `xml:"FoundAtLeastOnePendingOrder"`
}

type TransferOrders

type TransferOrders struct {
	Response
}

type UpdateNameserver

type UpdateNameserver struct {
	Response

	NsSuccess int `xml:"RegisterNameserver>NsSuccess"`
}

type WPPSContactData

type WPPSContactData struct {
	ContactType      string `xml:"ContactType"`
	OrganizationName string `xml:"OrganizationName"`
	JobTitle         string `xml:"JobTitle"`
	FirstName        string `xml:"FirstName"`
	LastName         string `xml:"LastName"`
	Address1         string `xml:"Address1"`
	Address2         string `xml:"Address2"`
	City             string `xml:"City"`
	Country          string `xml:"Country"`
	StateProvince    string `xml:"StateProvince"`
	PostalCode       string `xml:"PostalCode"`
	Email            string `xml:"EmailAddress"`
	Phone            string `xml:"Phone"`
	PhoneExtension   string `xml:"PhoneExt"`
	Fax              string `xml:"Fax"`
	DateTimeChanged  string `xml:"DateTimeChanged"`
}

type WhoisContact

type WhoisContact struct {
	Response

	Contacts      []Contact `xml:"GetWhoisContacts>contacts>contact"`
	RRPInfo       RRPInfo   `xml:"GetWhoisContacts>rrp-info"`
	DomainExpired bool      `xml:"GetWhoisContacts>DomainExpired"`
}

Jump to

Keyboard shortcuts

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