com.verisign.epp.codec.fee.v06
Class EPPFeeDelData

java.lang.Object
  extended by com.verisign.epp.codec.fee.v06.EPPFeeTransformResult
      extended by com.verisign.epp.codec.fee.v06.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
static java.lang.String ELM_LOCALNAME
          XML local name for EPPFeeDelData.
static java.lang.String ELM_NAME
          XML root tag for EPPFeeDelData.
 
Constructor Summary
EPPFeeDelData()
          Default constructor for EPPFeeDelData.
EPPFeeDelData(java.lang.String aCurrency, EPPFeeCredit aCredit)
          Constructor for EPPFeeDelData 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 for EPPFeeDelData that takes all attributes.
 
Method Summary
protected  java.lang.String getLocalName()
          Returns the local name "delData" for the delete data.
protected  void validateAttributes()
          Validate the set of attributes on encode.
 
Methods inherited from class com.verisign.epp.codec.fee.v06.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
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELM_LOCALNAME

public static final java.lang.String ELM_LOCALNAME
XML local name for EPPFeeDelData.

See Also:
Constant Field Values

ELM_NAME

public static final java.lang.String ELM_NAME
XML root tag for EPPFeeDelData.

See Also:
Constant Field Values
Constructor Detail

EPPFeeDelData

public EPPFeeDelData()
Default constructor for EPPFeeDelData.


EPPFeeDelData

public EPPFeeDelData(java.lang.String aCurrency,
                     EPPFeeCredit aCredit)
Constructor for EPPFeeDelData that takes the required currency parameter along with a single credit.

Parameters:
aCurrency - Currency of the credit
aCredit - 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 for EPPFeeDelData that takes all attributes.

Parameters:
aCurrency - Currency of the credits
aCredits - List of credits
aBalance - Available balance for client
aCreditLimit - 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 class EPPFeeTransformResult
Returns:
Local name "delData" for the delete data.

validateAttributes

protected void validateAttributes()
                           throws EPPEncodeException
Validate the set of attributes on encode.

Specified by:
validateAttributes in class EPPFeeTransformResult
Throws:
EPPEncodeException - When an attribute is incorrect set or not set.


Copyright © VeriSign Inc. All Rights Reserved.