Package com.dnsimple.request
Class RegistrationOptions
- java.lang.Object
-
- com.dnsimple.request.RegistrationOptions
-
public class RegistrationOptions extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistrationOptionsextendedAttribute(java.lang.String name, java.lang.String value)Set the extended attributes required for TLDs that require extended attributes.RegistrationOptionsnoAutoRenew()Disable the auto-renewal of the domain.static RegistrationOptionsof(java.lang.Number registrantId)RegistrationOptionspremiumPrice(java.lang.String premiumPrice)Required as confirmation of the price, only if the domain is premium.RegistrationOptionswhoisPrivacy()Enable the whois privacy as part of the transfer.
-
-
-
Method Detail
-
of
public static RegistrationOptions of(java.lang.Number registrantId)
- Parameters:
registrantId- The ID of an existing contact in your account.
-
whoisPrivacy
public RegistrationOptions whoisPrivacy()
Enable the whois privacy as part of the transfer. An extra cost may apply.
-
noAutoRenew
public RegistrationOptions noAutoRenew()
Disable the auto-renewal of the domain.
-
extendedAttribute
public RegistrationOptions extendedAttribute(java.lang.String name, java.lang.String value)
Set the extended attributes required for TLDs that require extended attributes. See: https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes
-
premiumPrice
public RegistrationOptions premiumPrice(java.lang.String premiumPrice)
Required as confirmation of the price, only if the domain is premium.
-
-