Closed phpfs closed 6 years ago
As described by Namecheap, a domain check may return special pricing for premium domains. https://www.namecheap.com/support/api/methods/domains/check.aspx
To implement this, we could add DomainCheckResult.IsPremiumName,.PremiumRegistrationPrice,.PremiumRenewalPrice,.PremiumRestorePrice,. PremiumTransferPrice,.IcannFee as returned by the API. (They are all just null for normal domains!)
type DomainCheckResult struct { Domain string Available bool IsPremiumName bool PremiumRegistrationPrice float32 PremiumRenewalPrice float32 PremiumRestorePrice float32 PremiumTransferPrice float32 IcannFee float32 }
I will take a look at implementing this when I have time :)
@billputer Thank you for go-namecheap!
Solved with PR #9
As described by Namecheap, a domain check may return special pricing for premium domains. https://www.namecheap.com/support/api/methods/domains/check.aspx
To implement this, we could add DomainCheckResult.IsPremiumName,.PremiumRegistrationPrice,.PremiumRenewalPrice,.PremiumRestorePrice,. PremiumTransferPrice,.IcannFee as returned by the API. (They are all just null for normal domains!)
I will take a look at implementing this when I have time :)
@billputer Thank you for go-namecheap!