Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeDelData
- java.lang.Object
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeDelData
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPFeeDelData extends EPPFeeTransformResult
Fee Delete Result Extension that enables a server to pass the resulting credits for the delete command.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPFeeDelData
.static java.lang.String
ELM_NAME
XML root tag forEPPFeeDelData
.
-
Constructor Summary
Constructors Constructor Description EPPFeeDelData()
Default constructor forEPPFeeDelData
.EPPFeeDelData(java.lang.String aCurrency, EPPFeeCredit aCredit)
Constructor forEPPFeeDelData
that takes the required currency parameter along with a single credit.EPPFeeDelData(java.lang.String aCurrency, java.util.List<EPPFeeCredit> aCredits, java.math.BigDecimal aBalance, java.math.BigDecimal aCreditLimit)
Constructor forEPPFeeDelData
that takes all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getLocalName()
Returns the local name "delData" for the delete data.java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.protected void
validateAttributes()
Validate the set of attributes onencode
.-
Methods inherited from class com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
addCredit, addFee, clone, decode, encode, equals, getBalance, getCreditLimit, getCredits, getCurrency, getFees, getPeriod, hasBalance, hasCreditLimit, hasCredits, hasCurrency, hasFees, hasPeriod, setBalance, setCreditLimit, setCredits, setCurrency, setFees, setPeriod, toString
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPFeeDelData
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPFeeDelData
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPFeeDelData
public EPPFeeDelData()
Default constructor forEPPFeeDelData
.
-
EPPFeeDelData
public EPPFeeDelData(java.lang.String aCurrency, EPPFeeCredit aCredit)
Constructor forEPPFeeDelData
that takes the required currency parameter along with a single credit.- Parameters:
aCurrency
- Currency of the creditaCredit
- A single credit value
-
EPPFeeDelData
public EPPFeeDelData(java.lang.String aCurrency, java.util.List<EPPFeeCredit> aCredits, java.math.BigDecimal aBalance, java.math.BigDecimal aCreditLimit)
Constructor forEPPFeeDelData
that takes all attributes.- Parameters:
aCurrency
- Currency of the creditsaCredits
- List of creditsaBalance
- Available balance for clientaCreditLimit
- Maximum credit for client.
-
-
Method Detail
-
getLocalName
protected java.lang.String getLocalName()
Returns the local name "delData" for the delete data.- Specified by:
getLocalName
in classEPPFeeTransformResult
- Returns:
- Local name "delData" for the delete data.
-
validateAttributes
protected void validateAttributes() throws EPPEncodeException
Validate the set of attributes onencode
.- Specified by:
validateAttributes
in classEPPFeeTransformResult
- Throws:
EPPEncodeException
- When an attribute is incorrect set or not set.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-