Package com.verisign.epp.codec.balance
Class EPPBalanceInfoCmd
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPCommand
-
- com.verisign.epp.codec.gen.EPPInfoCmd
-
- com.verisign.epp.codec.balance.EPPBalanceInfoCmd
-
- All Implemented Interfaces:
EPPCodecComponent
,EPPMessage
,java.io.Serializable
,java.lang.Cloneable
public class EPPBalanceInfoCmd extends EPPInfoCmd
Represents an EPP Balance <info> command that is used to retrieve account balance and other finance information defined in theEPPBalanceInfoResp
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.verisign.epp.codec.gen.EPPCommand
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE
-
-
Constructor Summary
Constructors Constructor Description EPPBalanceInfoCmd()
Default constructorEPPBalanceInfoCmd(java.lang.String aTransId)
This constructor calls the superEPPInfoCmd(String)
method to set the transaction id for the command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPBalanceInfoCmd
.protected void
doDecode(org.w3c.dom.Element aElement)
Decode theEPPBalanceInfoCmd
attributes from the aElement DOM Element tree.protected org.w3c.dom.Element
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of theEPPBalanceInfoCmd
instance.boolean
equals(java.lang.Object o)
Compare an instance ofEPPBalanceInfoCmd
with this instance.java.lang.String
getNamespace()
Gets the EPP command Namespace associated withEPPBalanceInfoCmd
.java.lang.String
toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.-
Methods inherited from class com.verisign.epp.codec.gen.EPPInfoCmd
doGenDecode, doGenEncode, getType
-
Methods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
-
-
-
-
Constructor Detail
-
EPPBalanceInfoCmd
public EPPBalanceInfoCmd()
Default constructor
-
EPPBalanceInfoCmd
public EPPBalanceInfoCmd(java.lang.String aTransId)
This constructor calls the superEPPInfoCmd(String)
method to set the transaction id for the command.- Parameters:
aTransId
- Client Transaction Id associated with command.
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPBalanceInfoCmd
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classEPPCommand
- Returns:
- clone of
EPPBalanceInfoCmd
. - Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
equals
public boolean equals(java.lang.Object o)
Compare an instance ofEPPBalanceInfoCmd
with this instance.- Overrides:
equals
in classEPPInfoCmd
- Parameters:
o
- Object to compare with.- Returns:
true
if equal;false
otherwise.
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command Namespace associated withEPPBalanceInfoCmd
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Specified by:
getNamespace
in interfaceEPPMessage
- Specified by:
getNamespace
in classEPPCommand
- Returns:
EPPBalanceMapFactory.NS
-
toString
public java.lang.String toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classEPPCommand
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
doDecode
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPBalanceInfoCmd
attributes from the aElement DOM Element tree.- Specified by:
doDecode
in classEPPInfoCmd
- Parameters:
aElement
- Root DOM Element to decodeEPPBalanceInfoCmd
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPBalanceInfoCmd
instance.- Specified by:
doEncode
in classEPPInfoCmd
- Parameters:
aDocument
- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPBalanceInfoCmd
instance. - Throws:
EPPEncodeException
- Unable to encodeEPPBalanceInfoCmd
instance.
-
-