public class DomainCreatePriceCommandExtension extends java.lang.Object implements CommandExtension
Extension for the EPP Domain Create command, representing the Create Premium Domain aspect of the Domain Name Price Extension.
Use this to acknowledge the price associated with this domain name as part of an EPP Domain Create command compliant with RFC5730 and RFC5731. The "price" and "renewal price" values are optional, but if they are supplied, should match the fees that are set for the domain name for the requested period. The response expected from a server should be handled by a Domain Create Response.
CREATE, RENEW, TRANSFER, UPDATE
Constructor and Description |
---|
DomainCreatePriceCommandExtension() |
Modifier and Type | Method and Description |
---|---|
void |
addToCommand(Command command) |
void |
setPrice(java.math.BigDecimal price) |
void |
setRenewalPrice(java.math.BigDecimal renewalPrice) |
public void addToCommand(Command command)
addToCommand
in interface CommandExtension
public void setPrice(java.math.BigDecimal price)
public void setRenewalPrice(java.math.BigDecimal renewalPrice)