com.verisign.epp.codec.fee.v07
Class EPPFeeUpdData

java.lang.Object
  extended by com.verisign.epp.codec.fee.v07.EPPFeeTransformResult
      extended by com.verisign.epp.codec.fee.v07.EPPFeeUpdData
All Implemented Interfaces:
EPPCodecComponent, java.io.Serializable, java.lang.Cloneable

public class EPPFeeUpdData
extends EPPFeeTransformResult

Fee Update Result Extension that enables a server to pass the resulting fee for the update command.

See Also:
Serialized Form

Field Summary
static java.lang.String ELM_LOCALNAME
          XML local name for EPPFeeUpdData.
static java.lang.String ELM_NAME
          XML root tag for EPPFeeUpdData.
 
Constructor Summary
EPPFeeUpdData()
          Default constructor for EPPFeeUpdData.
EPPFeeUpdData(java.lang.String aCurrency, EPPFeeValue aFee)
          Constructor for EPPFeeUpdData that takes the required currency parameter along with a single fee.
EPPFeeUpdData(java.lang.String aCurrency, java.util.List<EPPFeeValue> aFees, java.util.List<EPPFeeCredit> aCredits, java.math.BigDecimal aBalance, java.math.BigDecimal aCreditLimit)
          Constructor for EPPFeeUpdData that takes all attributes.
 
Method Summary
protected  java.lang.String getLocalName()
          Returns the local name "updData" for the update data.
protected  void validateAttributes()
          Validate the set of attributes on encode.
 
Methods inherited from class com.verisign.epp.codec.fee.v07.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 EPPFeeUpdData.

See Also:
Constant Field Values

ELM_NAME

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

See Also:
Constant Field Values
Constructor Detail

EPPFeeUpdData

public EPPFeeUpdData()
Default constructor for EPPFeeUpdData.


EPPFeeUpdData

public EPPFeeUpdData(java.lang.String aCurrency,
                     EPPFeeValue aFee)
Constructor for EPPFeeUpdData that takes the required currency parameter along with a single fee.

Parameters:
aCurrency - Currency of the fee
aFee - A single fee value

EPPFeeUpdData

public EPPFeeUpdData(java.lang.String aCurrency,
                     java.util.List<EPPFeeValue> aFees,
                     java.util.List<EPPFeeCredit> aCredits,
                     java.math.BigDecimal aBalance,
                     java.math.BigDecimal aCreditLimit)
Constructor for EPPFeeUpdData that takes all attributes.

Parameters:
aCurrency - Currency of the fee
aFees - List of fees
aCredits - OPTIONAL list of credits. Set to null to specify no credits.
aBalance - Available balance for client
aCreditLimit - Maximum credit for client.
Method Detail

getLocalName

protected java.lang.String getLocalName()
Returns the local name "updData" for the update data.

Specified by:
getLocalName in class EPPFeeTransformResult
Returns:
Local name "updData" for the update 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.