public final class DomainRenewFeeResponseExtension extends ResponseExtension
Extension for the EPP Domain Renew response, representing the Fee extension.
Use this to acknowledge the price associated with this domain name as part of an EPP Domain Renew command compliant with RFC5730 and RFC5731. The "currency" and "fee" values 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 Renew Response.
CHK_DATA, CREATE, DATA, EXTENSION_EXPR, INFO, RENEW, TRANSFER, UPDATE| Constructor and Description |
|---|
DomainRenewFeeResponseExtension(java.lang.String responseType) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(XMLDocument xmlDoc)
Initialises the instance from the given XML document.
|
java.lang.String |
getCurrency() |
java.math.BigDecimal |
getFee() |
boolean |
isInitialised()
Indicates whether fromXML() completed successfully and the extension was
successfully initialised from the EPP response.
|
replaceResponseTypepublic DomainRenewFeeResponseExtension(java.lang.String responseType)
public void fromXML(XMLDocument xmlDoc) throws javax.xml.xpath.XPathExpressionException
ResponseExtensionfromXML in class ResponseExtensionxmlDoc - EPP Response XMLjavax.xml.xpath.XPathExpressionExceptionpublic boolean isInitialised()
ResponseExtensionisInitialised in class ResponseExtensionpublic java.lang.String getCurrency()
public java.math.BigDecimal getFee()