|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.balance.EPPBalanceInfoResp
public class EPPBalanceInfoResp
A concrete EPPResponse that knows how to encode/decode Balance Info response from/to XML and object instance.
Title: EPP 1.0 Balance
Description: Balance Mapping for the EPP SDK
Copyright: Copyright (c) 2011
Company: VeriSign
Field Summary | |
---|---|
static java.lang.String |
ELM_AVAILABLE_CREDIT
The availableCredit XML tag name |
static java.lang.String |
ELM_BALANCE
The balance XML tag name |
static java.lang.String |
ELM_CREDIT_LIMIT
The creditLimit XML tag name |
static java.lang.String |
ELM_NAME
The poll data XML tag name |
Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
Constructor Summary | |
---|---|
EPPBalanceInfoResp()
Default constructor |
|
EPPBalanceInfoResp(EPPTransId aTransId,
java.math.BigDecimal aCreditLimit,
java.math.BigDecimal aBalance,
java.math.BigDecimal aAvailableCredit,
EPPCreditThreshold aCreditThreshold)
EPPBalanceInfoResp that takes all of the required attributes. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPLowBalancePollResponse . |
void |
doDecode(org.w3c.dom.Element aElement)
Populates the data of this instance from the given XML Element which is part of a DOM Document |
org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Put all data contained in this poll response into the given XML document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPBalanceInfoResp compare. |
java.math.BigDecimal |
getAvailableCredit()
Gets the available credit |
java.math.BigDecimal |
getBalance()
Gets the balance |
java.math.BigDecimal |
getCreditLimit()
Gets the credit limit |
EPPCreditThreshold |
getCreditThreshold()
Gets the credit threshold |
void |
setAvailableCredit(java.math.BigDecimal aAvailableCredit)
Sets the available credit |
void |
setBalance(java.math.BigDecimal aBalance)
Sets the balance |
void |
setCreditLimit(java.math.BigDecimal aCreditLimit)
Sets the credit Limit |
void |
setCreditThreshold(EPPCreditThreshold aCreditThreshold)
Sets the credit threshold |
Methods inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getNamespace, getQDate, getResult, getResults, getTransId, getType, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_NAME
public static final java.lang.String ELM_CREDIT_LIMIT
public static final java.lang.String ELM_BALANCE
public static final java.lang.String ELM_AVAILABLE_CREDIT
Constructor Detail |
---|
public EPPBalanceInfoResp()
public EPPBalanceInfoResp(EPPTransId aTransId, java.math.BigDecimal aCreditLimit, java.math.BigDecimal aBalance, java.math.BigDecimal aAvailableCredit, EPPCreditThreshold aCreditThreshold)
EPPBalanceInfoResp
that takes all of the required attributes.
aCreditLimit
- Credit limit to setaBalance
- Balance to setaAvailableCredit
- Available credit to setaCreditThreshold
- Credit threshold to setMethod Detail |
---|
public org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
doEncode
in class EPPResponse
aDocument
- the DOM Document to attach data to.
EPPEncodeException
- Thrown if any errors occur during the encode processpublic void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
doDecode
in class EPPResponse
aElement
- the element that is a parent of the poll data
EPPDecodeException
- thrown if any errors occur during the decode operationpublic boolean equals(java.lang.Object aObject)
EPPBalanceInfoResp
compare.
equals
in class EPPResponse
aObject
- EPPBalanceInfoResp
instance to compare with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLowBalancePollResponse
.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPLowBalancePollResponse
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.math.BigDecimal getCreditLimit()
null
otherwise.public void setCreditLimit(java.math.BigDecimal aCreditLimit)
aCreditLimit
- Credit limit to setpublic java.math.BigDecimal getBalance()
null
otherwise.public void setBalance(java.math.BigDecimal aBalance)
aBalance
- Balance to setpublic java.math.BigDecimal getAvailableCredit()
null
otherwise.public void setAvailableCredit(java.math.BigDecimal aAvailableCredit)
aAvailableCredit
- Available credit to setpublic EPPCreditThreshold getCreditThreshold()
null
otherwise.public void setCreditThreshold(EPPCreditThreshold aCreditThreshold)
aCreditThreshold
- Credit threshold to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |