Skip to content

Commit

Permalink
Remove premium_price field from response
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Dec 28, 2017
1 parent 9641549 commit 1002f08
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions dnsimple/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ type DomainRegistration struct {
State string `json:"state"`
AutoRenew bool `json:"auto_renew"`
WhoisPrivacy bool `json:"whois_privacy"`
PremiumPrice string `json:"premium_price"`
CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
Expand Down Expand Up @@ -150,7 +149,6 @@ type DomainTransfer struct {
State string `json:"state"`
AutoRenew bool `json:"auto_renew"`
WhoisPrivacy bool `json:"whois_privacy"`
PremiumPrice string `json:"premium_price"`
CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
Expand Down Expand Up @@ -219,13 +217,12 @@ func (s *RegistrarService) TransferDomainOut(accountID string, domainName string

// DomainRenewal represents the result of a domain renewal call.
type DomainRenewal struct {
ID int `json:"id"`
DomainID int `json:"domain_id"`
Period int `json:"period"`
State string `json:"state"`
PremiumPrice string `json:"premium_price"`
CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
ID int `json:"id"`
DomainID int `json:"domain_id"`
Period int `json:"period"`
State string `json:"state"`
CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}

// domainRenewalResponse represents a response from an API method that returns a domain renewal.
Expand Down

0 comments on commit 1002f08

Please sign in to comment.