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,Serializable,Cloneable
Fee Delete Result Extension that enables a server to pass the resulting
credits for the delete command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPFeeDelData.EPPFeeDelData(String aCurrency, EPPFeeCredit aCredit) Constructor forEPPFeeDelDatathat takes the required currency parameter along with a single credit.EPPFeeDelData(String aCurrency, List<EPPFeeCredit> aCredits, BigDecimal aBalance, BigDecimal aCreditLimit) Constructor forEPPFeeDelDatathat takes all attributes. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the local name "delData" for the delete data.Returns the XML namespace associated with theEPPCodecComponent.protected voidValidate 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 Details
-
ELM_LOCALNAME
XML local name forEPPFeeDelData.- See Also:
-
ELM_NAME
XML root tag forEPPFeeDelData.- See Also:
-
-
Constructor Details
-
EPPFeeDelData
public EPPFeeDelData()Default constructor forEPPFeeDelData. -
EPPFeeDelData
Constructor forEPPFeeDelDatathat takes the required currency parameter along with a single credit.- Parameters:
aCurrency- Currency of the creditaCredit- A single credit value
-
EPPFeeDelData
public EPPFeeDelData(String aCurrency, List<EPPFeeCredit> aCredits, BigDecimal aBalance, BigDecimal aCreditLimit) Constructor forEPPFeeDelDatathat takes all attributes.- Parameters:
aCurrency- Currency of the creditsaCredits- List of creditsaBalance- Available balance for clientaCreditLimit- Maximum credit for client.
-
-
Method Details
-
getLocalName
Returns the local name "delData" for the delete data.- Specified by:
getLocalNamein classEPPFeeTransformResult- Returns:
- Local name "delData" for the delete data.
-
validateAttributes
Validate the set of attributes onencode.- Specified by:
validateAttributesin classEPPFeeTransformResult- Throws:
EPPEncodeException- When an attribute is incorrect set or not set.
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-