Package com.dnsimple.request
Class TransferOptions
- java.lang.Object
-
- com.dnsimple.request.TransferOptions
-
public class TransferOptions extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferOptionsauthCode(java.lang.String authCode)Set the authCode required for TLDS that require authorization-based transfer (the vast majority of TLDs).TransferOptionsextendedAttribute(java.lang.String name, java.lang.String value)Set the extended attributes required for TLDs that require extended attributes.TransferOptionsnoAutoRenew()Disable the auto-renewal of the domain.static TransferOptionsof(java.lang.Number registrantId)TransferOptionspremiumPrice(java.lang.String premiumPrice)Required as confirmation of the price, only if the domain is premium.TransferOptionswhoisPrivacy()Enable the whois privacy as part of the transfer.
-
-
-
Method Detail
-
of
public static TransferOptions of(java.lang.Number registrantId)
- Parameters:
registrantId- The ID of an existing contact in your account.
-
authCode
public TransferOptions authCode(java.lang.String authCode)
Set the authCode required for TLDS that require authorization-based transfer (the vast majority of TLDs).
-
whoisPrivacy
public TransferOptions whoisPrivacy()
Enable the whois privacy as part of the transfer. An extra cost may apply.
-
noAutoRenew
public TransferOptions noAutoRenew()
Disable the auto-renewal of the domain.
-
extendedAttribute
public TransferOptions 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 TransferOptions premiumPrice(java.lang.String premiumPrice)
Required as confirmation of the price, only if the domain is premium.
-
-