public class DomainCheckFeeResponseExtension extends ResponseExtension
Extension for the EPP Domain Check response, representing the Fee extension.
Use this to check the price associated with this domain name as part of an EPP Domain Check command compliant with RFC5730 and RFC5731. The "name", "command", "phase", "unit", "period", "class", "currency" and "fee" values supplied, should match the fields that are requested for the domain name check for the requested period. The response expected from a server should be handled by a Domain Check Response.
CHK_DATA, CREATE, DATA, EXTENSION_EXPR, INFO, RENEW, TRANSFER, UPDATE
Constructor and Description |
---|
DomainCheckFeeResponseExtension() |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(XMLDocument xmlDoc)
Initialises the instance from the given XML document.
|
java.util.List<FeeCheckData> |
getFeeDomains() |
boolean |
isInitialised()
Indicates whether fromXML() completed successfully and the extension was
successfully initialised from the EPP response.
|
replaceResponseType
public void fromXML(XMLDocument xmlDoc) throws javax.xml.xpath.XPathExpressionException
ResponseExtension
fromXML
in class ResponseExtension
xmlDoc
- EPP Response XMLjavax.xml.xpath.XPathExpressionException
public boolean isInitialised()
ResponseExtension
isInitialised
in class ResponseExtension
public java.util.List<FeeCheckData> getFeeDomains()